34 lines
1.0 MiB
34 lines
1.0 MiB
!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){!function(e,t){"use strict";function n(e,t,n){if(!e)throw le("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(V(e)&&(e=e.join(" ")),V(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=V(e)?e:e&&J(e)&&e.length?e.split(/\s+/):[],W(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof Q)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===N)return e;break;default:return Q(l(e))}if(e.nodeType===N)return Q(e)}function l(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===N)return n}}function c(e,t,n){W(t,function(t){e.addClass(t,n)})}function u(e,t,n){W(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(c(e,t,n.addClass),n.addClass=null),n.removeClass&&(u(e,t,n.removeClass),n.removeClass=null)}}function d(e){if(e=e||{},!e.$$prepared){var t=e.domOperation||ee;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=ee},e.$$prepared=!0}return e}function p(e,t){h(e,t),m(e,t)}function h(e,t){t.from&&(e.css(t.from),t.from=null)}function m(e,t){t.to&&(e.css(t.to),t.to=null)}function g(e,t,n){var r=t.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=v(e.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=$(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var l=r.domOperation!==ee?r.domOperation:null;return H(r,i),l&&(r.domOperation=l),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function v(e,t,n){function r(e){J(e)&&(e=e.split(" "));var t={};return W(e,function(e){e.length&&(t[e]=!0)}),t}var i={};e=r(e),t=r(t),W(t,function(e,t){i[t]=1}),n=r(n),W(n,function(e,t){i[t]=1===i[t]?null:-1});var o={addClass:"",removeClass:""};return W(i,function(t,n){var r,i;1===t?(r="addClass",i=!e[n]||e[n+q]):-1===t&&(r="removeClass",i=e[n]||e[n+I]),i&&(o[r].length&&(o[r]+=" "),o[r]+=n)}),o}function y(e){return e instanceof Q?e[0]:e}function _(e,t,n){var r="";t&&(r=o(t,z,!0)),n.addClass&&(r=$(r,o(n.addClass,I))),n.removeClass&&(r=$(r,o(n.removeClass,q))),r.length&&(n.preparationClasses=r,e.addClass(r))}function b(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}function x(e,t){var n=t?"-"+t+"s":"";return k(e,[ae,n]),[ae,n]}function w(e,t){var n=t?"paused":"",r=F+re;return k(e,[r,n]),[r,n]}function k(e,t){var n=t[0],r=t[1];e.style[n]=r}function $(e,t){return e?t?e+" "+t:e:t}function C(e){return[oe,e+"s"]}function S(e,t){return[t?ie:ae,e+"s"]}function E(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return W(n,function(e,t){var n=i[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=T(n)),0===n&&(n=null),r[t]=n}}),r}function T(e){var t=0,n=e.split(/\s*,\s*/);return W(n,function(e){"s"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function A(e){return 0===e||null!=e}function M(e,t){var n=O,r=e+"s";return t?n+=te:r+=" linear all",[n,r]}function D(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function L(e,t,n){W(n,function(n){e[n]=Y(e[n])?e[n]:t.style.getPropertyValue(n)})}var O,j,F,P,N=1,I="-add",q="-remove",z="ng-",R="ng-animate",U="$$ngAnimateChildren";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?("-webkit-",O="WebkitTransition",j="webkitTransitionEnd transitionend"):(O="transition",j="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?("-webkit-",F="WebkitAnimation",P="webkitAnimationEnd animationend"):(F="animation",P="animationend");var B,H,W,V,Y,G,Z,K,J,X,Q,ee,te="Duration",ne="TimingFunction",re="PlayState",ie=F+"Delay",oe=F+te,ae=O+"Delay",se=O+te,le=t.$$minErr("ng"),ce=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o<t.length;o++)t[o]();i||e(function(){i||n()})}}var r,i;return r=t.queue=[],t.waitUntilQuiet=function(t){i&&i(),i=e(function(){i=null,t(),n()})},t}],ue=["$interpolate",function(e){return{link:function(t,n,r){function i(e){e="on"===e||"true"===e,n.data(U,e)}var o=r.ngAnimateChildren;J(o)&&0===o.length?n.data(U,!0):(i(e(o)(t)),r.$observe("ngAnimateChildren",i))}}}],fe="$$animateCss",de=1e3,pe=3,he=1.5,me={transitionDuration:se,transitionDelay:ae,transitionProperty:O+"Property",animationDuration:oe,animationDelay:ie,animationIterationCount:F+"IterationCount"},ge={transitionDuration:se,transitionDelay:ae,animationDuration:oe,animationDelay:ie},ve=["$animateProvider",function(e){var t=D(),n=D();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(e,r,s,l,c,u,g,v){function _(e,t){var n="$$ngAnimateParentKey",r=e.parentNode;return(r[n]||(r[n]=++R))+"-"+e.getAttribute("class")+"-"+t}function b(n,r,i,o){var a=t.get(i);return a||(a=E(e,n,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1)),t.put(i,a),a}function $(i,a,s,l){var c;if(t.count(s)>0&&!(c=n.get(s))){var u=o(a,"-stagger");r.addClass(i,u),c=E(e,i,l),c.animationDuration=Math.max(c.animationDuration,0),c.transitionDuration=Math.max(c.transitionDuration,0),r.removeClass(i,u),n.put(s,c)}return c||{}}function T(e){U.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=c(),r=0;r<U.length;r++)U[r](e);U.length=0})}function D(e,t,n){var r=b(e,t,n,me),i=r.animationDelay,o=r.transitionDelay;return r.maxDelay=i&&o?Math.max(i,o):i||o,r.maxDuration=Math.max(r.animationDuration*r.animationIterationCount,r.transitionDuration),r}var N=f(r),R=0,U=[];return function(e,n){function c(){g()}function f(){g(!0)}function g(t){if(!(Z||J&&K)){Z=!0,K=!1,H.$$skipPreparationClasses||r.removeClass(e,be),r.removeClass(e,we),w(G,!1),x(G,!1),W(se,function(e){G.style[e[0]]=""}),N(e,H),p(e,H),Object.keys(Y).length&&W(Y,function(e,t){e?G.style.setProperty(t,e):G.style.removeProperty(t)}),H.onDone&&H.onDone(),ue&&ue.length&&e.off(ue.join(" "),R);var n=e.data(fe);n&&(l.cancel(n[0].timer),e.removeData(fe)),X&&X.complete(!t)}}function b(e){Fe.blockTransition&&x(G,e),Fe.blockKeyframeAnimation&&w(G,!!e)}function E(){return X=new s({end:c,cancel:f}),T(ee),g(),{$$willAnimate:!1,start:function(){return X},end:c}}function R(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(pe));Math.max(n-ae,0)>=re&&r>=ie&&(J=!0,g())}function U(){function t(){if(!Z){if(b(!1),W(se,function(e){var t=e[0],n=e[1];G.style[t]=n}),N(e,H),r.addClass(e,we),Fe.recalculateTimingStyles){if(xe=G.getAttribute("class")+" "+be,$e=_(G,xe),Oe=D(G,xe,$e),je=Oe.maxDelay,te=Math.max(je,0),0===(ie=Oe.maxDuration))return void g();Fe.hasTransitions=Oe.transitionDuration>0,Fe.hasAnimations=Oe.animationDuration>0}if(Fe.applyAnimationDelay&&(je="boolean"!=typeof H.delay&&A(H.delay)?parseFloat(H.delay):je,te=Math.max(je,0),Oe.animationDelay=je,Pe=S(je,!0),se.push(Pe),G.style[Pe[0]]=Pe[1]),re=te*de,oe=ie*de,H.easing){var t,i=H.easing;Fe.hasTransitions&&(t=O+ne,se.push([t,i]),G.style[t]=i),Fe.hasAnimations&&(t=F+ne,se.push([t,i]),G.style[t]=i)}Oe.transitionDuration&&ue.push(j),Oe.animationDuration&&ue.push(P),ae=Date.now();var o=re+he*oe,a=ae+o,s=e.data(fe)||[],c=!0;if(s.length){var u=s[0];c=a>u.expectedEndTime,c?l.cancel(u.timer):s.push(g)}if(c){var f=l(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data(fe,s)}ue.length&&e.on(ue.join(" "),R),H.to&&(H.cleanupStyles&&L(Y,G,Object.keys(H.to)),m(e,H))}}function n(){var t=e.data(fe);if(t){for(var n=1;n<t.length;n++)t[n]();e.removeData(fe)}}if(!Z){if(!G.parentNode)return void g();var i=function(e){if(J)K&&e&&(K=!1,g());else if(K=!e,Oe.animationDuration){var t=w(G,K);K?se.push(t):a(se,t)}},o=De>0&&(Oe.transitionDuration&&0===Ce.transitionDuration||Oe.animationDuration&&0===Ce.animationDuration)&&Math.max(Ce.animationDelay,Ce.transitionDelay);o?l(t,Math.floor(o*De*de),!1):t(),Q.resume=function(){i(!0)},Q.pause=function(){i(!1)}}}var H=n||{};H.$$prepared||(H=d(B(H)));var Y={},G=y(e);if(!G||!G.parentNode||!v.enabled())return E();var Z,K,J,X,Q,te,re,ie,oe,ae,se=[],le=e.attr("class"),ce=i(H),ue=[];if(0===H.duration||!u.animations&&!u.transitions)return E();var me=H.event&&V(H.event)?H.event.join(" "):H.event,ve=me&&H.structural,ye="",_e="";ve?ye=o(me,z,!0):me&&(ye=me),H.addClass&&(_e+=o(H.addClass,I)),H.removeClass&&(_e.length&&(_e+=" "),_e+=o(H.removeClass,q)),H.applyClassesEarly&&_e.length&&N(e,H);var be=[ye,_e].join(" ").trim(),xe=le+" "+be,we=o(be,"-active"),ke=ce.to&&Object.keys(ce.to).length>0;if(!((H.keyframeStyle||"").length>0||ke||be))return E();var $e,Ce;if(H.stagger>0){var Se=parseFloat(H.stagger);Ce={transitionDelay:Se,animationDelay:Se,transitionDuration:0,animationDuration:0}}else $e=_(G,xe),Ce=$(G,be,$e,ge);H.$$skipPreparationClasses||r.addClass(e,be);var Ee;if(H.transitionStyle){var Te=[O,H.transitionStyle];k(G,Te),se.push(Te)}if(H.duration>=0){Ee=G.style[O].length>0;var Ae=M(H.duration,Ee);k(G,Ae),se.push(Ae)}if(H.keyframeStyle){var Me=[F,H.keyframeStyle];k(G,Me),se.push(Me)}var De=Ce?H.staggerIndex>=0?H.staggerIndex:t.count($e):0,Le=0===De;Le&&!H.skipBlocking&&x(G,9999);var Oe=D(G,xe,$e),je=Oe.maxDelay;te=Math.max(je,0),ie=Oe.maxDuration;var Fe={};if(Fe.hasTransitions=Oe.transitionDuration>0,Fe.hasAnimations=Oe.animationDuration>0,Fe.hasTransitionAll=Fe.hasTransitions&&"all"===Oe.transitionProperty,Fe.applyTransitionDuration=ke&&(Fe.hasTransitions&&!Fe.hasTransitionAll||Fe.hasAnimations&&!Fe.hasTransitions),Fe.applyAnimationDuration=H.duration&&Fe.hasAnimations,Fe.applyTransitionDelay=A(H.delay)&&(Fe.applyTransitionDuration||Fe.hasTransitions),Fe.applyAnimationDelay=A(H.delay)&&Fe.hasAnimations,Fe.recalculateTimingStyles=_e.length>0,(Fe.applyTransitionDuration||Fe.applyAnimationDuration)&&(ie=H.duration?parseFloat(H.duration):ie,Fe.applyTransitionDuration&&(Fe.hasTransitions=!0,Oe.transitionDuration=ie,Ee=G.style[O+"Property"].length>0,se.push(M(ie,Ee))),Fe.applyAnimationDuration&&(Fe.hasAnimations=!0,Oe.animationDuration=ie,se.push(C(ie)))),0===ie&&!Fe.recalculateTimingStyles)return E();if(null!=H.delay){var Pe;"boolean"!=typeof H.delay&&(Pe=parseFloat(H.delay),te=Math.max(Pe,0)),Fe.applyTransitionDelay&&se.push(S(Pe)),Fe.applyAnimationDelay&&se.push(S(Pe,!0))}return null==H.duration&&Oe.transitionDuration>0&&(Fe.recalculateTimingStyles=Fe.recalculateTimingStyles||Le),re=te*de,oe=ie*de,H.skipBlocking||(Fe.blockTransition=Oe.transitionDuration>0,Fe.blockKeyframeAnimation=Oe.animationDuration>0&&Ce.animationDelay>0&&0===Ce.animationDuration),H.from&&(H.cleanupStyles&&L(Y,G,Object.keys(H.from)),h(e,H)),Fe.blockTransition||Fe.blockKeyframeAnimation?b(ie):H.skipBlocking||x(G,!1),{$$willAnimate:!0,end:c,start:function(){if(!Z)return Q={end:c,cancel:f,resume:null,pause:null},X=new s(Q),T(U),X}}}}]}],ye=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,i,o,a,s,l,c){function u(e){return e.replace(/\bng-\S+\b/g,"")}function f(e,t){return J(e)&&(e=e.split(" ")),J(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function d(t,i,a){function s(e){var t={},n=y(e).getBoundingClientRect();return W(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=m.scrollTop;break;case"left":r+=m.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function l(e){return e.attr("class")||""}function c(){var t=u(l(a)),n=f(t,h),i=f(h,t),o=e(p,{to:s(a),addClass:"ng-anchor-in "+n,removeClass:r+" "+i,delay:!0});return o.$$willAnimate?o:null}function d(){p.remove(),i.removeClass(n),a.removeClass(n)}var p=Q(y(i).cloneNode(!0)),h=u(l(p));i.addClass(n),a.addClass(n),p.addClass("ng-anchor"),v.append(p);var g,_=function(){var t=e(p,{addClass:r,delay:!0,from:s(i)});return t.$$willAnimate?t:null}();if(!_&&!(g=c()))return d();var b=_||g;return{start:function(){function e(){n&&n.end()}var t,n=b.start();return n.done(function(){if(n=null,!g&&(g=c()))return n=g.start(),n.done(function(){n=null,d(),t.complete()}),n;d(),t.complete()}),t=new o({end:e,cancel:e})}}}function p(e,t,n,r){var i=h(e),a=h(t),s=[];if(W(r,function(e){var t=e.out,r=e.in,i=d(n,t,r);i&&s.push(i)}),i||a||0!==s.length)return{start:function(){function e(){W(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),a&&t.push(a.start()),W(s,function(e){t.push(e.start())});var n=new o({end:e,cancel:e});return o.all(t,function(e){n.complete(e)}),n}}}function h(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=$(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!s.animations&&!s.transitions)return ee;var m=c[0].body,g=y(a),v=Q(t(g)||m.contains(g)?g:m);return function(e){return e.from&&e.to?p(e.from,e.to,e.classes,e.anchors):h(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=V(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!i[a]&&(r.push(t.get(s)),i[a]=!0)}return r}var o=f(r);return function(e,t,r,a){function s(){a.domOperation(),o(e,a)}function l(){h=!0,s(),p(e,a)}function c(e,t,r,i,o){var a;switch(r){case"animate":a=[t,i.from,i.to,o];break;case"setClass":a=[t,v,y,o];break;case"addClass":a=[t,v,o];break;case"removeClass":a=[t,y,o];break;default:a=[t,o]}a.push(i);var s=e.apply(e,a);if(s)if(Z(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(Z(s))return s;return ee}function u(e,t,r,i,o){var a=[];return W(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,l=function(e){a||(a=!0,(o||ee)(e),i.complete(!e))};return i=new n({end:function(){l()},cancel:function(){l(!0)}}),o=c(s,e,t,r,function(e){l(!1===e)}),i})}),a}function f(e,t,r,i,o){var a=u(e,t,r,i,o);if(0===a.length){var s,l;"beforeSetClass"===o?(s=u(e,"removeClass",r,i,"beforeRemoveClass"),l=u(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=u(e,"removeClass",r,i,"removeClass"),l=u(e,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),l&&(a=a.concat(l))}if(0!==a.length)return function(e){var t=[];return a.length&&W(a,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){W(t,function(t){e?t.cancel():t.end()})}}}var h=!1;3===arguments.length&&K(r)&&(a=r,r=null),a=d(a),r||(r=e.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var m,g,v=a.addClass,y=a.removeClass,_=i(r);if(_.length){var b,x;"leave"===t?(x="leave",b="afterLeave"):(x="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(m=f(e,t,a,_,x)),g=f(e,t,a,_,b)}if(m||g){var w;return{$$willAnimate:!0,end:function(){return w?w.end():(l(),w=new n,w.complete(!0)),w},start:function(){function e(e){l(e),w.complete(e)}function t(t){h||((r||ee)(t),e(t))}if(w)return w;w=new n;var r,i=[];return m&&i.push(function(e){r=m(e)}),i.length?i.push(function(e){s(),e(!0)}):s(),g&&i.push(function(e){r=g(e)}),w.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),w}}}}}]}],be=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){var n=t.element,r=t.event,i=t.options,o=t.classes;return e(n,r,o,i)}return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){function e(){return function(){W(o,function(e){e.end()})}}function n(e){a.complete(e)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),t.all(o,n);var a=new t({end:e(),cancel:e()});return a}}}return n(e)}}]}],xe="data-ng-animate",we="$ngAnimatePin",ke=["$animateProvider",function(t){function r(e){if(!e)return null;var t=e.split(h),n=Object.create(null);return W(t,function(e){n[e]=!0}),n}function i(e,t){if(e&&t){var n=r(t);return e.split(h).some(function(e){return n[e]})}}function o(e,t,n,r){return m[e].some(function(e){return e(t,n,r)})}function a(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,u=2,h=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===u&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===u&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(X(r)&&X(o)||X(a)&&X(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,h,m,v,x,w,k,$,C,S){function E(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function T(e,t){return g(e,t,{})}function A(e,t,n){var r=y(t),i=y(e),o=[],a=ee[n];return a&&W(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=l(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function D(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function L(e,t,n){function l(t,n,i,o){$(function(){var t=A(m,e,n);t.length?r(function(){W(t,function(t){t(e,i,o)}),D(i,e)}):D(i,e)}),t.progress(n,i,o)}function f(t){b(e,v),re(e,v),p(e,v),v.domOperation(),k.complete(!t)}var h,m,v=B(n);e=s(e),e&&(h=y(e),m=e.parent()),v=d(v);var k=new w,$=E();if(V(v.addClass)&&(v.addClass=v.addClass.join(" ")),v.addClass&&!J(v.addClass)&&(v.addClass=null),V(v.removeClass)&&(v.removeClass=v.removeClass.join(" ")),v.removeClass&&!J(v.removeClass)&&(v.removeClass=null),v.from&&!K(v.from)&&(v.from=null),v.to&&!K(v.to)&&(v.to=null),!h)return f(),k;var C=[h.getAttribute("class"),v.addClass,v.removeClass].join(" ");if(!ne(C))return f(),k;var M=["enter","move","leave"].indexOf(t)>=0,L=S(),F=!R||L||z.get(h),N=!F&&q.get(h)||{},U=!!N.state;if(F||U&&N.state===c||(F=!P(e,m,t)),F)return L&&l(k,t,"start"),f(),L&&l(k,t,"close"),k;M&&O(e);var H={structural:M,element:e,event:t,addClass:v.addClass,removeClass:v.removeClass,close:f,options:v,runner:k};if(U){if(o("skip",e,H,N))return N.state===u?(f(),k):(g(e,N,H),N.runner);if(o("cancel",e,H,N))if(N.state===u)N.runner.end();else{if(!N.structural)return g(e,N,H),N.runner;N.close()}else{if(o("join",e,H,N)){if(N.state!==u)return _(e,M?t:null,v),t=H.event=N.event,v=g(e,N,H),N.runner;T(e,H)}}}else T(e,H);var Y=H.structural;if(Y||(Y="animate"===H.event&&Object.keys(H.options.to||{}).length>0||a(H)),!Y)return f(),j(e),k;var G=(N.counter||0)+1;return H.counter=G,I(e,c,H),i.$$postDigest(function(){var n=q.get(h),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==G||!o)return r&&(re(e,v),p(e,v)),(r||M&&n.event!==t)&&(v.domOperation(),k.end()),void(o||j(e));t=!n.structural&&a(n,!0)?"setClass":n.event,I(e,u);var s=x(e,t,n.options);k.setHost(s),l(k,t,"start",{}),s.done(function(n){f(!n);var r=q.get(h);r&&r.counter===G&&j(y(e)),l(k,t,"close",{})})}),k}function O(e){var t=y(e),n=t.querySelectorAll("["+xe+"]");W(n,function(e){var t=parseInt(e.getAttribute(xe),10),n=q.get(e);if(n)switch(t){case u:n.runner.end();case c:q.remove(e)}})}function j(e){var t=y(e);t.removeAttribute(xe),q.remove(t)}function F(e,t){return y(e)===y(t)}function P(e,t,n){var r,i=Q(m[0].body),o=F(e,i)||"HTML"===e[0].nodeName,a=F(e,h),s=!1,l=z.get(y(e)),c=Q.data(e[0],we);for(c&&(t=c),t=y(t);t&&(a||(a=F(t,h)),t.nodeType===N);){var u=q.get(t)||{};if(!s){var f=z.get(t);if(!0===f&&!1!==l){l=!0;break}!1===f&&(l=!1),s=u.structural}if(X(r)||!0===r){var d=Q.data(t,U);Y(d)&&(r=d)}if(s&&!1===r)break;if(o||(o=F(t,i)),o&&a)break;t=a||!(c=Q.data(t,we))?t.parentNode:y(c)}return(!s||r)&&!0!==l&&a&&o}function I(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(xe,t);var i=q.get(r),o=i?H(i,n):n;q.put(r,o)}var q=new v,z=new v,R=null,Z=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(Z(),i.$$postDigest(function(){i.$$postDigest(function(){null===R&&(R=!0)})}))}),ee=Object.create(null),te=t.classNameFilter(),ne=te?function(e){return te.test(e)}:function(){return!0},re=f($),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=l(t);ee[e]=ee[e]||[],ee[e].push({node:r,callback:n}),Q(t).on("$destroy",function(){q.get(r)||oe.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||J(arguments[0])){var r=ee[e];r&&(ee[e]=1===arguments.length?null:M(r,t,n))}else{t=arguments[0];for(var i in ee)ee[i]=M(ee[i],t)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(we,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,L(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!R;else{if(G(e)){var r=y(e);1===n?t=!z.get(r):z.put(r,!t)}else t=R=!!e}return t}};return oe}]}],$e=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,l,c,u,h){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,o=n.parentNode;i.put(n,e);for(var a;o;){if(a=i.get(o)){a.processed||(a=t(a));break}o=o.parentNode}return(a||r).children.push(e),e}var n,r={children:[]},i=new u;for(n=0;n<e.length;n++){var o=e[n];i.put(o.domNode,e[n]={domNode:o.domNode,fn:o.fn,children:[]})}for(n=0;n<e.length;n++)t(e[n]);return function(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,o=0,a=[];for(t=0;t<r.length;t++){var s=r[t];i<=0&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}(r)}var g=[],v=f(e);return function(u,f,_){function b(e){var t="["+o+"]",n=e.hasAttribute(o)?[e]:e.querySelectorAll(t),r=[];return W(n,function(e){var t=e.getAttribute(o);t&&t.length&&r.push(e)}),r}function x(e){var t=[],n={};W(e,function(e,r){var i=e.element,a=y(i),s=e.event,l=["enter","move"].indexOf(s)>=0,c=e.structural?b(a):[];if(c.length){var u=l?"to":"from";W(c,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][u]={animationID:r,element:Q(e)}})}else t.push(e)});var r={},i={};return W(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var l=a?a.animationID:s.animationID,c=l.toString();return void(r[c]||(r[c]=!0,t.push(e[l])))}var u=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var p=i[d]={structural:!0,beforeStart:function(){u.beforeStart(),f.beforeStart()},close:function(){u.close(),f.close()},classes:w(u.classes,f.classes),from:u,to:f,anchors:[]};p.classes.length?t.push(p):(t.push(u),t.push(f))}i[d].anchors.push({out:a.element,in:s.element})}),t}function w(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var o=0;o<t.length;o++)if(i===t[o]){n.push(i);break}}return n.join(" ")}function k(e){for(var t=a.length-1;t>=0;t--){var n=a[t],r=l.get(n),i=r(e);if(i)return i}}function $(){u.addClass(R),D&&e.addClass(u,D),L&&(e.removeClass(u,L),L=null)}function C(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=i(u);!e||"leave"===f&&_.$$domOperationFired||e.end()}function E(t){u.off("$destroy",S),n(u),v(u,_),p(u,_),_.domOperation(),D&&e.removeClass(u,D),u.removeClass(R),A.complete(!t)}_=d(_);var T=["enter","move","leave"].indexOf(f)>=0,A=new c({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),A;t(u,A);var M=r(u.attr("class"),r(_.addClass,_.removeClass)),D=_.tempClasses;D&&(M+=" "+D,_.tempClasses=null);var L;return T&&(L="ng-"+f+"-prepare",e.addClass(u,L)),g.push({element:u,classes:M,event:f,structural:T,options:_,beforeStart:$,close:E}),u.on("$destroy",S),g.length>1?A:(s.$$postDigest(function(){var e=[];W(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=x(e),n=[];W(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close;if(i(e.anchors?e.from.element||e.to.element:e.element)){var r=k(e);r&&(t=r.start)}if(t){var o=t();o.done(function(e){n(!e)}),C(e,o)}else n()}})}),h(m(n))}),A)}}]}],Ce=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r.for,function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){ee=t.noop,B=t.copy,H=t.extend,Q=t.element,W=t.forEach,V=t.isArray,J=t.isString,K=t.isObject,X=t.isUndefined,Y=t.isDefined,Z=t.isFunction,G=t.isElement}).directive("ngAnimateSwap",Ce).directive("ngAnimateChildren",ue).factory("$$rAFScheduler",ce).provider("$$animateQueue",ke).provider("$$animation",$e).provider("$animateCss",ve).provider("$$animateCssDriver",ye).provider("$$animateJs",_e).provider("$$animateJsDriver",be)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a<s&&t.isDefined(e);a++){var l=i[a];e=null!==e?e[l]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(n,a,s,l){function c(t,n){this.template=t,this.defaults=p({},e.defaults,n),this.urlParams={}}function u(t,_,b,x){function w(e,t){var n={};return t=p({},_,t),d(t,function(t,i){v(t)&&(t=t(e)),n[i]=t&&t.charAt&&"@"===t.charAt(0)?r(e,t.substr(1)):t}),n}function k(e){return e.resource}function $(e){i(e||{},this)}var C=new c(t,x);return b=p({},e.defaults.actions,b),$.prototype.toJSON=function(){var e=p({},this);return delete e.$promise,delete e.$resolved,e},d(b,function(e,t){var r=/^(POST|PUT|PATCH)$/i.test(e.method),c=e.timeout,u=g(e.cancellable)?e.cancellable:C.defaults.cancellable;c&&!y(c)&&(a.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,c=null),$[t]=function(a,g,y,_){function b(e){I.catch(f),A.resolve(e)}var x,S,E,T={};switch(arguments.length){case 4:E=_,S=y;case 3:case 2:if(!v(g)){T=a,x=g,S=y;break}if(v(a)){S=a,E=g;break}S=g,E=y;case 1:v(a)?S=a:r?x=a:T=a;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var A,M,D=this instanceof $,L=D?x:e.isArray?[]:new $(x),O={},j=e.interceptor&&e.interceptor.response||k,F=e.interceptor&&e.interceptor.responseError||void 0,P=!!E,N=!!F;d(e,function(e,t){switch(t){default:O[t]=h(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!D&&u&&(A=s.defer(),O.timeout=A.promise,c&&(M=l(A.resolve,c))),r&&(O.data=x),C.setUrlParams(O,p({},w(x,e.params||{}),T),e.url);var I=n(O).then(function(n){var r=n.data;if(r){if(m(r)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",t,e.isArray?"array":"object",m(r)?"array":"object",O.method,O.url);if(e.isArray)L.length=0,d(r,function(e){"object"==typeof e?L.push(new $(e)):L.push(e)});else{var a=L.$promise;i(r,L),L.$promise=a}}return n.resource=L,n});return I=I.finally(function(){L.$resolved=!0,!D&&u&&(L.$cancelRequest=f,l.cancel(M),A=M=O.timeout=null)}),I=I.then(function(e){var t=j(e);return(S||f)(t,e.headers,e.status,e.statusText),t},P||N?function(e){return P&&E(e),N?F(e):s.reject(e)}:void 0),P&&!N&&I.catch(f),D?I:(L.$promise=I,L.$resolved=!1,u&&(L.$cancelRequest=b),L)},$.prototype["$"+t]=function(e,n,r){v(e)&&(r=n,n=e,e={});var i=$[t].call(this,e,this,n,r);return i.$promise||i}}),$.bind=function(e){var n=p({},_,e);return u(t,n,b,x)},$}var f=t.noop,d=t.forEach,p=t.extend,h=t.copy,m=t.isArray,g=t.isDefined,v=t.isFunction,y=t.isNumber,_=t.$$encodeUriQuery,b=t.$$encodeUriSegment;return c.prototype={setUrlParams:function(e,t,n){var r,i,a=this,s=n||a.template,l="",c=a.urlParams=Object.create(null);d(s.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(s)&&(c[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(s)})}),s=s.replace(/\\:/g,":"),s=s.replace(/^https?:\/\/\[[^\]]*][^\/]*/,function(e){return l=e,""}),t=t||{},d(a.urlParams,function(e,n){r=t.hasOwnProperty(n)?t[n]:a.defaults[n],g(r)&&null!==r?(i=e.isQueryParamValue?_(r,!0):b(r),s=s.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return i+t})):s=s.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"===n.charAt(0)?n:t+n})}),a.defaults.stripTrailingSlashes&&(s=s.replace(/\/+$/,"")||"/"),s=s.replace(/\/\.(?=\w+($|\?))/,"."),e.url=l+s.replace(/\/\\\./,"/."),d(t,function(t,n){a.urlParams[n]||(e.params=e.params||{},e.params[n]=t)})}},u}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){function n(e,t){var n,r={},i=e.split(",");for(n=0;n<i.length;n++)r[t?l(i[n]):i[n]]=!0;return r}function r(t,n){null===t||void 0===t?t="":"string"!=typeof t&&(t=""+t),y.innerHTML=t;var r=5;do{if(0===r)throw d("uinput","Failed to sanitize html because the input is unstable");r--,e.document.documentMode&&g(y),t=y.innerHTML,y.innerHTML=t}while(t!==y.innerHTML);for(var i=y.firstChild;i;){switch(i.nodeType){case 1:n.start(i.nodeName.toLowerCase(),p(i.attributes));break;case 3:n.chars(i.textContent)}var o;if(!((o=i.firstChild)||(1===i.nodeType&&n.end(i.nodeName.toLowerCase()),o=i.nextSibling)))for(;null==o&&(i=i.parentNode)!==y;)o=i.nextSibling,1===i.nodeType&&n.end(i.nodeName.toLowerCase());i=o}for(;i=y.firstChild;)y.removeChild(i)}function p(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function h(e){
|
||
return e.replace(/&/g,"&").replace(_,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(b,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=l(e),!n&&T[e]&&(n=e),n||!0!==A[e]||(r("<"),r(e),a(i,function(n,i){var o=l(i),a="img"===e&&"src"===o||"background"===o;!0!==O[o]||!0===M[o]&&!t(n,a)||(r(" "),r(i),r('="'),r(h(n)),r('"'))}),r(">"))},end:function(e){e=l(e),n||!0!==A[e]||!0===x[e]||(r("</"),r(e),r(">")),e==n&&(n=!1)},chars:function(e){n||r(h(e))}}}function g(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r<i;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&g(s),t=t.nextSibling}}var v=!1;this.$get=["$$sanitizeUri",function(e){return v&&o(A,E),function(t){var n=[];return u(t,f(n,function(t,n){return!/^unsafe:/.test(e(t,n))})),n.join("")}}],this.enableSvg=function(e){return s(e)?(v=e,this):v},i=t.bind,o=t.extend,a=t.forEach,s=t.isDefined,l=t.lowercase,c=t.noop,u=r,f=m;var y,_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/([^#-~ |!])/g,x=n("area,br,col,hr,img,wbr"),w=n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k=n("rp,rt"),$=o({},k,w),C=o({},w,n("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),S=o({},k,n("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),E=n("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),T=n("script,style"),A=o({},x,C,S,$),M=n("background,cite,href,longdesc,src,xlink:href"),D=n("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),L=n("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),O=o({},M,L,D);!function(e){var t;if(!e.document||!e.document.implementation)throw d("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)y=r[0];else{var i=t.createElement("html");y=t.createElement("body"),i.appendChild(y),t.appendChild(i)}}(e)}function r(e){var t=[];return f(t,c).chars(e),t.join("")}var i,o,a,s,l,c,u,f,d=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=t.$$minErr("linky"),i=t.isDefined,o=t.isFunction,a=t.isObject,s=t.isString;return function(t,l,c){function u(e){e&&g.push(r(e))}if(null==t||""===t)return t;if(!s(t))throw n("notstring","Expected string but received: {0}",t);for(var f,d,p,h=o(c)?c:a(c)?function(){return c}:function(){return{}},m=t,g=[];f=m.match(/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i);)d=f[0],f[2]||f[4]||(d=(f[3]?"http://":"mailto:")+d),p=f.index,u(m.substr(0,p)),function(e,t){var n,r=h(e);g.push("<a ");for(n in r)g.push(n+'="'+r[n]+'" ');!i(l)||"target"in r||g.push('target="',l,'" '),g.push('href="',e.replace(/"/g,"""),'">'),u(t),g.push("</a>")}(d,f[0].replace(/^mailto:/i,"")),m=m.substring(p+f[0].length);return u(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"=",create:"&uiSortableCreate",start:"&uiSortableStart",activate:"&uiSortableActivate",beforeStop:"&uiSortableBeforeStop",update:"&uiSortableUpdate",remove:"&uiSortableRemove",receive:"&uiSortableReceive",deactivate:"&uiSortableDeactivate",stop:"&uiSortableStop"},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function l(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function c(t,n){return C[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(C[t],n)):S[t]&&(n=S[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function u(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(C,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in $)return void(k[n]="ui-floating"===n?"auto":c(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=c(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){if(t in $)return"ui-floating"!==t||!1!==e&&!0!==e||!n||(n.floating=e),void(k[t]=c(t,e));e=c(t,e),i||(i={}),i[t]=e,k[t]=e}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,"");return e.find('[class="'+t.attr("class")+'"]:not('+n+")")}function p(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function h(e,t,n){var r=null;return p(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.element[0]===t[0])return r}}function v(e,t){t.item.sortable._destroy()}function y(e){return e.parent().find(k["ui-model-items"]).index(e)}function _(){r.$watchCollection("ngModel",function(){t(function(){l(i)&&i.sortable("refresh")},0,!1)}),C.start=function(e,t){if("auto"===k["ui-floating"]){var n=t.item.siblings();l(angular.element(e.target)).floating=m(n)}var r=y(t.item);t.item.sortable={model:a.$modelValue[r],index:r,source:i,sourceList:t.item.parent(),sourceModel:a.$modelValue,cancel:function(){t.item.sortable._isCanceled=!0},isCanceled:function(){return t.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!t.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:t.item.sortable._isCustomHelperUsed,_destroy:function(){angular.forEach(t.item.sortable,function(e,n){t.item.sortable[n]=void 0})},_connectedSortables:[],_getElementContext:function(e){return g(this._connectedSortables,e)}}},C.activate=function(e,t){var n=t.item.sortable.source===i,o=n?t.item.sortable.sourceList:i,a={element:i,scope:r,isSourceContext:n,savedNodesOrigin:o};t.item.sortable._connectedSortables.push(a),w=o.contents();var s=f(i);if(s&&s.length){var l=d(i,s);w=w.not(l)}},C.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=y(t.item);var n=t.item.closest("[ui-sortable], [data-ui-sortable], [x-ui-sortable]");t.item.sortable.droptarget=n,t.item.sortable.droptargetList=t.item.parent();var o=t.item.sortable._getElementContext(n);t.item.sortable.droptargetModel=o.scope.ngModel,i.sortable("cancel")}var s=!t.item.sortable.received&&h(i,t,w);s&&s.length&&(w=w.not(s));var l=t.item.sortable._getElementContext(i);w.appendTo(l.savedNodesOrigin),t.item.sortable.received&&(w=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&(r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)}),r.$emit("ui-sortable:moved",t))},C.stop=function(e,t){var n="dropindex"in t.item.sortable&&!t.item.sortable.isCanceled();if(n&&!t.item.sortable.received)r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,a.$modelValue.splice(t.item.sortable.index,1)[0])}),r.$emit("ui-sortable:moved",t);else if(!n&&!angular.equals(i.contents().toArray(),w.toArray())){var o=h(i,t,w);o&&o.length&&(w=w.not(o));var s=t.item.sortable._getElementContext(i);w.appendTo(s.savedNodesOrigin)}w=null},C.receive=function(e,t){t.item.sortable.received=!0},C.remove=function(e,t){"dropindex"in t.item.sortable||(i.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||r.$apply(function(){t.item.sortable.moved=a.$modelValue.splice(t.item.sortable.index,1)[0]})},angular.forEach(C,function(e,t){C[t]=s(C[t],function(){var e,n=r[t];"function"==typeof n&&("uiSortable"+t.substring(0,1).toUpperCase()+t.substring(1)).length&&"function"==typeof(e=n())&&e.apply(this,arguments)})}),S.helper=function(e){return e&&"function"==typeof e?function(t,n){var r=n.sortable,o=y(n);n.sortable={model:a.$modelValue[o],index:o,source:i,sourceList:n.parent(),sourceModel:a.$modelValue,_restore:function(){angular.forEach(n.sortable,function(e,t){n.sortable[t]=void 0}),n.sortable=r}};var s=e.apply(this,arguments);return n.sortable._restore(),n.sortable._isCustomHelperUsed=n!==s,s}:e},r.$watchCollection("uiSortable",function(e,t){var n=l(i);if(n){var r=u(e,t,n);r&&i.sortable("option",r)}},!0),u(k)}function b(){a?_():n.info("ui.sortable: ngModel not provided!",i),i.sortable(k)}function x(){return(!r.uiSortable||!r.uiSortable.disabled)&&(b(),x.cancelWatcher(),x.cancelWatcher=angular.noop,!0)}var w,k={},$={"ui-floating":void 0,"ui-model-items":e.items},C={create:null,start:null,activate:null,beforeStop:null,update:null,remove:null,receive:null,deactivate:null,stop:null},S={helper:null};if(angular.extend(k,$,e,r.uiSortable),!angular.element.fn||!angular.element.fn.jquery)return void n.error("ui.sortable: jQuery should be included before AngularJS!");x.cancelWatcher=angular.noop,x()||(x.cancelWatcher=r.$watch("uiSortable.disabled",x))}}}])},{}],8:[function(e,t,n){!function(e){"use strict";function t(e,t){return t=t||Error,function(){var n,r,i=arguments,o=i[0],a="["+(e?e+":":"")+o+"] ",s=i[1];for(a+=s.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+2;return n<i.length?_e(i[n]):e}),a+="\nhttp://errors.angularjs.org/1.6.1/"+(e?e+"/":"")+o,r=2,n="?";r<i.length;r++,n="&")a+=n+"p"+(r-2)+"="+encodeURIComponent(_e(i[r]));return new t(a)}}function n(e){if(null==e||S(e))return!1;if(oi(e)||x(e)||Yr&&e instanceof Yr)return!0;var t="length"in Object(e)&&e.length;return w(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if($(e))for(o in e)"prototype"!==o&&"length"!==o&&"name"!==o&&e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else if(oi(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o<a;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Rr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function o(e){return function(t,n){e(n,t)}}function a(){return++ri}function s(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function l(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(_(a)||$(a))for(var c=Object.keys(a),u=0,f=c.length;u<f;u++){var d=c[u],p=a[d];n&&_(p)?k(p)?e[d]=new Date(p.valueOf()):C(p)?e[d]=new RegExp(p):p.nodeName?e[d]=p.cloneNode(!0):F(p)?e[d]=p.clone():(_(e[d])||(e[d]=oi(p)?[]:{}),l(e[d],[p],!0)):e[d]=p}}return s(e,r),e}function c(e){return l(e,Kr.call(arguments,1),!1)}function u(e){return l(e,Kr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return c(Object.create(e),t)}function p(){}function h(e){return e}function m(e){return function(){return e}}function g(e){return $(e.toString)&&e.toString!==Qr}function v(e){return void 0===e}function y(e){return void 0!==e}function _(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!ei(e)}function x(e){return"string"==typeof e}function w(e){return"number"==typeof e}function k(e){return"[object Date]"===Qr.call(e)}function $(e){return"function"==typeof e}function C(e){return"[object RegExp]"===Qr.call(e)}function S(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function T(e){return"[object File]"===Qr.call(e)}function A(e){return"[object FormData]"===Qr.call(e)}function M(e){return"[object Blob]"===Qr.call(e)}function D(e){return"boolean"==typeof e}function L(e){return e&&$(e.then)}function O(e){return e&&w(e.length)&&ai.test(Qr.call(e))}function j(e){return"[object ArrayBuffer]"===Qr.call(e)}function F(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function N(e){return Ur(e.nodeName||e[0]&&e[0].nodeName)}function I(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function q(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function z(e,t){function n(e,t){var n,r=t.$$hashKey;if(oi(e))for(var o=0,a=e.length;o<a;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Rr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!_(e))return e;var t=a.indexOf(e);if(-1!==t)return l[t];if(S(e)||E(e))throw ti("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=oi(e)?[]:Object.create(ei(e)),r=!0),a.push(e),l.push(i),r?n(e,i):i}function o(e){switch(Qr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if($(e.cloneNode))return e.cloneNode(!0)}var a=[],l=[];if(t){if(O(t)||j(t))throw ti("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw ti("cpi","Can't copy! Source and destination are identical.");return oi(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),l.push(t),n(e,t)}return i(e)}function R(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o===a&&"object"===o){if(!oi(e)){if(k(e))return!!k(t)&&R(e.getTime(),t.getTime());if(C(e))return!!C(t)&&e.toString()===t.toString();if(E(e)||E(t)||S(e)||S(t)||oi(t)||k(t)||C(t))return!1;i=he();for(r in e)if("$"!==r.charAt(0)&&!$(e[r])){if(!R(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&y(t[r])&&!$(t[r]))return!1;return!0}if(!oi(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!R(e[r],t[r]))return!1;return!0}}return!1}function U(e,t,n){return e.concat(Kr.call(t,n))}function B(e,t){return Kr.call(e,t||0)}function H(e,t){var n=arguments.length>2?B(arguments,2):[];return!$(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,U(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function W(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function V(e,t){if(!v(e))return w(t)||(t=t?2:null),JSON.stringify(e,W,t)}function Y(e){return x(e)?JSON.parse(e):e}function G(e,t){e=e.replace(fi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return ii(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function K(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return Z(e,n*(G(t,r)-r))}function J(e){e=Yr(e).clone();try{e.empty()}catch(e){}var t=Yr("<div>").append(e).html();try{return e[0].nodeType===vi?Ur(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+Ur(t)})}catch(e){return Ur(t)}}function X(e){try{return decodeURIComponent(e)}catch(e){}}function Q(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),y(r)&&(i=!y(i)||X(i),Rr.call(t,r)?oi(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){oi(e)?r(e,function(e){t.push(ne(n,!0)+(!0===e?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(!0===e?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=di.length;for(r=0;r<i;++r)if(n=di[r]+t,x(n=e.getAttribute(n)))return n;return null}function ie(t,n){var i,o,a={};if(r(di,function(e){var n=e+"app";!i&&t.hasAttribute&&t.hasAttribute(n)&&(i=t,o=t.getAttribute(n))}),r(di,function(e){var n,r=e+"app";!i&&(n=t.querySelector("["+r.replace(":","\\:")+"]"))&&(i=n,o=n.getAttribute(r))}),i){if(!pi)return void e.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==re(i,"strict-di"),n(i,o?[o]:[],a)}}function oe(t,n,i){_(i)||(i={}),i=c({strictDi:!1},i);var o=function(){if(t=Yr(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw ti("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"<").replace(/>/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=at(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&a.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!s.test(e.name))return o();e.name=e.name.replace(s,""),ni.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),o()},$(ni.resumeDeferredBootstrap)&&ni.resumeDeferredBootstrap()}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=ni.element(e).injector();if(!t)throw ti("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace(hi,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(e,t,n){if(!e)throw ti("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ue(e,t,n){return n&&oi(e)&&(e=e[e.length-1]),ce($(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw ti("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&$(e)?H(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Yr(Kr.call(e,0,i))),t.push(n));return t||e}function he(){return Object.create(null)}function me(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!g(e)||oi(e)||k(e)?V(e):e.toString()}return e}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){return function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)}(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),u}}function n(e,n,r){return r||(r=i),function(i,o){return o&&$(o)&&(o.$$moduleName=t),r.push([e,n,arguments]),u}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],l=[],c=e("$injector","invoke","push",s),u={_invokeQueue:i,_configBlocks:s,_runBlocks:l,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator",s),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:c,run:function(e){return l.push(e),this}};return a&&c(a),u})}})}function ve(e,t){if(oi(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(_(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function ye(e){var t=[];return JSON.stringify(e,function(e,n){if(n=W(e,n),_(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function _e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ye(e):e}function be(){return++ki}function xe(e){return ke(e.replace(Ci,"ms-"))}function we(e,t){return t.toUpperCase()}function ke(e){return e.replace($i,we)}function $e(e){return!Ai.test(e)}function Ce(e){var t=e.nodeType;return t===gi||!t||t===_i}function Se(e){for(var t in wi[e.ng339])return!0;return!1}function Ee(e){for(var t=0,n=e.length;t<n;t++)Fe(e[t])}function Te(e,t){var n,i,o,a,s=t.createDocumentFragment(),l=[];if($e(e))l.push(t.createTextNode(e));else{for(n=s.appendChild(t.createElement("div")),i=(Mi.exec(e)||["",""])[1].toLowerCase(),o=Li[i]||Li._default,n.innerHTML=o[1]+e.replace(Di,"<$1></$2>")+o[2],a=o[0];a--;)n=n.lastChild;l=U(l,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(l,function(e){s.appendChild(e)}),s}function Ae(t,n){n=n||e.document;var r;return(r=Ti.exec(t))?[n.createElement(r[1])]:(r=Te(t,n))?r.childNodes:[]}function Me(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function De(e){if(e instanceof De)return e;var t;if(x(e)&&(e=si(e),t=!0),!(this instanceof De)){if(t&&"<"!==e.charAt(0))throw Ei("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new De(e)}t?Re(this,Ae(e)):$(e)?Ye(e):Re(this,e)}function Le(e){return e.cloneNode(!0)}function Oe(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)Fe(n[r])}function je(e,t,n,i){if(y(i))throw Ei("offargs","jqLite#off() does not support the `selector` argument");var o=Pe(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var l=function(t){var r=a[t];y(n)&&q(r||[],n),y(n)&&r&&r.length>0||(e.removeEventListener(t,s),delete a[t])};r(t.split(" "),function(e){l(e),Si[e]&&l(Si[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&wi[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),je(e)),delete wi[n],e.ng339=void 0}}function Pe(e,t){var n=e.ng339,r=n&&wi[n];return t&&!r&&(e.ng339=n=be(),r=wi[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(Ce(e)){var r,i=y(n),o=!i&&t&&!_(t),a=!t,s=Pe(e,!o),l=s&&s.data;if(i)l[ke(t)]=n;else{if(a)return l;if(o)return l&&l[ke(t)];for(r in t)l[ke(r)]=t[r]}}}function Ie(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function qe(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",si((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+si(t)+" "," ")))})}function ze(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=si(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",si(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Be(e,"$"+(t||"ngController")+"Controller")}function Be(e,t,n){e.nodeType===_i&&(e=e.documentElement);for(var r=oi(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(y(n=Yr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===bi&&e.host}}function He(e){for(Oe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function We(e,t){t||Oe(e);var n=e.parentNode;n&&n.removeChild(e)}function Ve(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Yr(n).on("load",t)}function Ye(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function Ge(e,t){var n=Fi[t.toLowerCase()];return n&&Pi[N(e)]&&n}function Ze(e){return Ni[e]}function Ke(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Je;o>1&&(i=ve(i));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||s(e,n,i[l])}};return n.elem=e,n}function Je(e,t,n){n.call(e,t)}function Xe(e,t,n){var r=t.relatedTarget;r&&(r===e||Oi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return c(De,{hasClass:function(e,t){return e.attr&&(e=e[0]),Ie(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),ze(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),qe(e,t)}})}}function et(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function tt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function nt(e){return Function.prototype.toString.call(e)+" "}function rt(e){var t=nt(e).replace(Bi,"");return t.match(qi)||t.match(zi)}function it(e){var t=rt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ot(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw x(n)&&n||(n=e.name||it(e)),Hi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=rt(e),r(o[1].split(Ri),function(e){e.replace(Ui,function(e,t,n){i.push(n)})})}e.$inject=i}}else oi(e)?(a=e.length-1,ue(e[a],"fn"),i=e.slice(0,a)):ue(e,"fn",!0);return i}function at(e,t){function n(e){return function(t,n){if(!_(t))return e(t,n);r(t,o(e))}}function i(e,t){if(fe(e,"service"),($(t)||oi(t))&&(t=k.instantiate(t)),!t.$get)throw Hi("pget","Provider '{0}' must define $get factory method.",e);return w[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Hi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:!1!==n?a(e,t):t})}function l(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return s(e,m(t),!1)}function u(e,t){fe(e,"constant"),w[e]=t,C[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||oi(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{x(e)?(t=Zr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):$(e)?n.push(k.invoke(e)):oi(e)?n.push(k.invoke(e)):ue(e,"module")}catch(t){throw oi(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),Hi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}}),n}function p(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===h)throw Hi("cdep","Circular dependency found: {0}",t+" <- "+y.join(" <- "));return e[t]}try{return y.unshift(t),e[t]=h,e[t]=n(t,r),e[t]}catch(n){throw e[t]===h&&delete e[t],n}finally{y.shift()}}function i(e,n,i){for(var o=[],a=at.$$annotate(e,t,i),s=0,l=a.length;s<l;s++){var c=a[s];if("string"!=typeof c)throw Hi("itkn","Incorrect injection token! Expected service name as string, got {0}",c);o.push(n&&n.hasOwnProperty(c)?n[c]:r(c,i))}return o}function o(e){if(Vr||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return D(t)||(t=e.$$ngIsClass=/^(?:class\b|constructor\()/.test(nt(e))),t}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return oi(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=oi(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:at.$$annotate,has:function(t){return w.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=!0===t;var h={},g="Provider",y=[],b=new tt([],!0),w={$provide:{provider:n(i),factory:n(s),service:n(l),value:n(c),constant:n(u),decorator:f}},k=w.$injector=p(w,function(e,t){throw ni.isString(t)&&y.push(t),Hi("unpr","Unknown provider: {0}",y.join(" <- "))}),C={},S=p(C,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=S;w["$injector"+g]={$get:m(S)};var T=d(e);return E=S.get("$injector"),E.strictDi=t,r(T,function(e){e&&E.invoke(e)}),E}function st(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===N(e))return t=e,!0}),t}function o(){var e=s.yOffset;if($(e))e=e();else if(F(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else w(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=x(e)?e:w(e)?e.toString():n.hash();var t
|
||
;e?(t=l.getElementById(e))?a(t):(t=i(l.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var l=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Ve(function(){r.$evalAsync(s)})}),s}]}function lt(e,t){return e||t?e?t?(oi(e)&&(e=e.join(" ")),oi(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ct(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Vi)return n}}function ut(e){x(e)&&(e=e.split(" "));var t=he();return r(e,function(e){e.length&&(t[e]=!0)}),t}function ft(e){return _(e)?e:{}}function dt(e,t,n,i){function o(e){try{e.apply(null,B(arguments,1))}finally{if(0===--y)for(;_.length;)try{_.pop()()}catch(e){n.error(e)}}}function a(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function s(){$=null,l(),c()}function l(){b=C(),b=v(b)?null:b,R(b,T)&&(b=T),T=b}function c(){w===u.url()&&x===b||(w=u.url(),x=b,r(S,function(e){e(u.url(),b)}))}var u=this,f=e.location,d=e.history,h=e.setTimeout,m=e.clearTimeout,g={};u.isMock=!1;var y=0,_=[];u.$$completeOutstandingRequest=o,u.$$incOutstandingRequestCount=function(){y++},u.notifyWhenNoOutstandingRequests=function(e){0===y?e():_.push(e)};var b,x,w=f.href,k=t.find("base"),$=null,C=i.history?function(){try{return d.state}catch(e){}}:p;l(),x=b,u.url=function(t,n,r){if(v(r)&&(r=null),f!==e.location&&(f=e.location),d!==e.history&&(d=e.history),t){var o=x===r;if(w===t&&(!i.history||o))return u;var s=w&&Yt(w)===Yt(t);return w=t,x=r,!i.history||s&&o?(s||($=t),n?f.replace(t):s?f.hash=a(t):f.href=t,f.href!==t&&($=t)):(d[n?"replaceState":"pushState"](r,"",t),l(),x=b),$&&($=t),u}return $||f.href.replace(/%27/g,"'")},u.state=function(){return b};var S=[],E=!1,T=null;u.onUrlChange=function(t){return E||(i.history&&Yr(e).on("popstate",s),Yr(e).on("hashchange",s),E=!0),S.push(t),t},u.$$applicationDestroyed=function(){Yr(e).off("hashchange popstate",s)},u.$$checkUrlChange=c,u.baseHref=function(){var e=k.attr("href");return e?e.replace(/^(https?:)?\/\/[^\/]*/,""):""},u.defer=function(e,t){var n;return y++,n=h(function(){delete g[n],o(e)},t||0),g[n]=!0,n},u.defer.cancel=function(e){return!!g[e]&&(delete g[e],m(e),o(p),!0)}}function pt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new dt(e,r,t,n)}]}function ht(){this.$get=function(){function e(e,r){function i(e){e!==d&&(p?p===e&&(p=e.n):p=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}if(e in n)throw t("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=c({},r,{id:e}),l=he(),u=r&&r.capacity||Number.MAX_VALUE,f=he(),d=null,p=null;return n[e]={put:function(e,t){if(!v(t)){if(u<Number.MAX_VALUE){i(f[e]||(f[e]={key:e}))}return e in l||a++,l[e]=t,a>u&&this.remove(p.key),t}},get:function(e){if(u<Number.MAX_VALUE){var t=f[e];if(!t)return;i(t)}return l[e]},remove:function(e){if(u<Number.MAX_VALUE){var t=f[e];if(!t)return;t===d&&(d=t.p),t===p&&(p=t.n),o(t.n,t.p),delete f[e]}e in l&&(delete l[e],a--)},removeAll:function(){l=he(),a=0,f=he(),d=p=null},destroy:function(){l=null,s=null,f=null,delete n[e]},info:function(){return c({},s,{size:a})}}}var n={};return e.info=function(){var e={};return r(n,function(t,n){e[n]=t.info()}),e},e.get=function(e){return n[e]},e}}function mt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function gt(){}function vt(t,n){function i(e,t,n){var i=he();return r(e,function(e,r){if(e in T)return void(i[r]=T[e]);var o=e.match(/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/);if(!o)throw Qi("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,r,e,n?"controller bindings definition":"isolate scope definition");i[r]={mode:o[1][0],collection:"*"===o[2],optional:"?"===o[3],attrName:o[4]||r},o[4]&&(T[e]=i[r])}),i}function a(e,t){var n={isolateScope:null,bindToController:null};if(_(e.scope)&&(!0===e.bindToController?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),_(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw Qi("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function s(e){var t=e.charAt(0);if(!t||t!==Ur(t))throw Qi("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Qi("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}function l(e){var t=e.require||e.controller&&e.name;return!oi(t)&&_(t)&&r(t,function(e,n){var r=e.match(C);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}function u(e,t){if(e&&(!x(e)||!/[EACM]/.test(e)))throw Qi("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}var f={},g="Directive",b=/^\s*directive:\s*([\w-]+)\s+(.*)$/,w=/(([\w-]+)(?::([^;]+))?;?)/,k=P("ngSrc,ngSrcset,src,srcset"),C=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,S=/^(on[a-z]+|formaction)$/,T=he();this.directive=function e(n,i){return ce(n,"name"),fe(n,"directive"),x(n)?(s(n),ce(i,"directiveFactory"),f.hasOwnProperty(n)||(f[n]=[],t.factory(n+g,["$injector","$exceptionHandler",function(e,t){var i=[];return r(f[n],function(r,o){try{var a=e.invoke(r);$(a)?a={compile:m(a)}:!a.compile&&a.link&&(a.compile=m(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=l(a),a.restrict=u(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(e){t(e)}}),i}])),f[n].push(i)):r(n,o(e)),this},this.component=function(e,t){function n(e){function n(t){return $(t)||oi(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var o=t.template||t.templateUrl?t.template:"",a={controller:i,controllerAs:wt(t.controller)||t.controllerAs||"$ctrl",template:n(o),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return r(t,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}var i=t.controller||function(){};return r(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,$(i)&&(i[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return y(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var A=!0;this.debugInfoEnabled=function(e){return y(e)?(A=e,this):A};var M=!1;this.preAssignBindingsEnabled=function(e){return y(e)?(M=e,this):M};var L=10;this.onChangesTtl=function(e){return arguments.length?(L=e,this):L};var O=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(O=e,this):O};var j=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(j=e,this):j},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,n,i,o,s,l,u,m,T,F){function P(){try{if(!--Ae)throw ke=void 0,Qi("infchng","{0} $onChanges() iterations reached. Aborting!\n",L);u.$apply(function(){for(var e=[],t=0,n=ke.length;t<n;++t)try{ke[t]()}catch(t){e.push(t)}if(ke=void 0,e.length)throw e})}finally{Ae++}}function I(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function z(e,t,n){Se.innerHTML="<span "+t+">";var r=Se.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function U(e,t){try{e.addClass(t)}catch(e){}}function W(e,t,n,r,i){e instanceof Yr||(e=Yr(e));var o=Y(e,t,e,n,r,i);W.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw Qi("multilink","This element has already been linked.");ce(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,l=r.transcludeControllers,c=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=V(c));var u;if(u="html"!==a?Yr(ge(a,Yr("<div>").append(e).html())):n?ji.clone.call(e):e,l)for(var f in l)u.data("$"+f+"Controller",l[f].instance);return W.$$addScopeInfo(u,t),n&&n(u,t),o&&o(t,u,u,s),n||(e=o=null),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==N(t)&&Qr.call(t).match(/SVG/)?"svg":"html"}function Y(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,l,c,u,f,d,m;if(p){var g=n.length;for(m=new Array(g),c=0;c<h.length;c+=3)f=h[c],m[f]=n[f]}else m=n;for(c=0,u=h.length;c<u;)s=m[h[c++]],o=h[c++],a=h[c++],o?(o.scope?(l=e.$new(),W.$$addScopeInfo(Yr(s),l)):l=e,d=o.transcludeOnThisElement?Z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?Z(e,t):null,o(a,l,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,l,c,u,f,d,p,h=[],m=oi(e)||e instanceof Yr,g=0;g<e.length;g++)s=new I,11===Vr&&G(e,g,m),l=K(e[g],[],s,0===g?r:void 0,i),c=l.length?ne(l,e[g],s,t,n,null,[],[],o):null,c&&c.scope&&W.$$addScopeClass(s.$$element),f=c&&c.terminal||!(u=e[g].childNodes)||!u.length?null:Y(u,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||f)&&(h.push(g,c,f),d=!0,p=p||c),o=null;return d?a:null}function G(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===vi)for(;;){if(!(r=o?i.nextSibling:e[t+1])||r.nodeType!==vi)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}}function Z(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=he();for(var o in t.$$slots)t.$$slots[o]?i[o]=Z(e,t.$$slots[o],n):i[o]=null;return r}function K(e,t,n,r,i){var o,a,s,l=e.nodeType,c=n.$attr;switch(l){case gi:a=N(e),ae(t,_t(a),"E",r,i);for(var u,f,d,p,h,m,g=e.attributes,v=0,y=g&&g.length;v<y;v++){var b=!1,k=!1;u=g[v],f=u.name,h=u.value,p=_t(f),m=je.test(p),m&&(f=f.replace(to,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var $=p.match(Fe);$&&se($[1])&&(b=f,k=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),d=_t(f.toLowerCase()),c[d]=f,!m&&n.hasOwnProperty(d)||(n[d]=h,Ge(e,d)&&(n[d]=!0)),ye(e,t,h,d,m),ae(t,d,"A",r,i,b,k)}if("input"===a&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Te)break;if(s=e.className,_(s)&&(s=s.animVal),x(s)&&""!==s)for(;o=w.exec(s);)d=_t(o[2]),ae(t,d,"C",r,i)&&(n[d]=si(o[3])),s=s.substr(o.index+o[0].length);break;case vi:me(t,e.nodeValue);break;case yi:if(!Ee)break;X(e,t,n,r,i)}return t.sort(de),t}function X(e,t,n,r,i){try{var o=b.exec(e.nodeValue);if(o){var a=_t(o[1]);ae(t,a,"M",r,i)&&(n[a]=si(o[2]))}}catch(e){}}function Q(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Qi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===gi&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return Yr(r)}function ee(e,t,n){return function(r,i,o,a,s){return i=Q(i[0],t,n),e(r,i,o,a,s)}}function te(e,t,n,r,i,o){var a;return e?W(t,n,r,i,o):function(){return a||(a=W(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ne(e,t,n,o,a,s,l,u,f){function d(e,t,n,r){e&&(n&&(e=ee(e,n,r)),e.require=h.require,e.directiveName=m,(C===h||h.$$isolateScope)&&(e=be(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=ee(t,n,r)),t.require=h.require,t.directiveName=m,(C===h||h.$$isolateScope)&&(t=be(t,{isolateScope:!0})),u.push(t))}function p(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),L&&(i=b),n||(n=L?T.parent():T),!r)return f(e,t,i,n,q);var o=f.$$slots[r];if(o)return o(e,t,i,n,q);if(v(o))throw Qi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(T))}var p,h,m,g,y,b,x,T,A,D;t===a?(A=n,T=n.$$element):(T=Yr(a),A=new I(T,n)),y=o,C?g=o.$new(!0):w&&(y=o.$parent),f&&(x=d,x.$$boundTransclude=f,x.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ie(T,A,x,k,g,o,C)),C&&(W.$$addScopeInfo(T,g,!0,!(S&&(S===C||S===C.$$originalDirective))),W.$$addScopeClass(T,!0),g.$$isolateBindings=C.$$isolateBindings,D=we(o,A,g,g.$$isolateBindings,C),D.removeWatches&&g.$on("$destroy",D.removeWatches));for(var O in b){var j=k[O],F=b[O],P=j.$$bindings.bindToController;if(M){F.bindingInfo=P?we(y,A,F.instance,P,j):{};var N=F();N!==F.instance&&(F.instance=N,T.data("$"+j.name+"Controller",N),F.bindingInfo.removeWatches&&F.bindingInfo.removeWatches(),F.bindingInfo=we(y,A,F.instance,P,j))}else F.instance=F(),T.data("$"+j.name+"Controller",F.instance),F.bindingInfo=we(y,A,F.instance,P,j)}for(r(k,function(e,t){var n=e.require;e.bindToController&&!oi(n)&&_(n)&&c(b[t].instance,re(t,n,T,b))}),r(b,function(e){var t=e.instance;if($(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){i(e)}if($(t.$onInit))try{t.$onInit()}catch(e){i(e)}$(t.$doCheck)&&(y.$watch(function(){t.$doCheck()}),t.$doCheck()),$(t.$onDestroy)&&y.$on("$destroy",function(){t.$onDestroy()})}),p=0,h=l.length;p<h;p++)m=l[p],xe(m,m.isolateScope?g:o,T,A,m.require&&re(m.directiveName,m.require,T,b),x);var q=o;for(C&&(C.template||null===C.templateUrl)&&(q=g),e&&e(q,a.childNodes,void 0,f),p=u.length-1;p>=0;p--)m=u[p],xe(m,m.isolateScope?g:o,T,A,m.require&&re(m.directiveName,m.require,T,b),x);r(b,function(e){var t=e.instance;$(t.$postLink)&&t.$postLink()})}f=f||{};for(var h,m,g,y,b,x=-Number.MAX_VALUE,w=f.newScopeDirective,k=f.controllerDirectives,C=f.newIsolateScopeDirective,S=f.templateDirective,T=f.nonTlbTranscludeDirective,A=!1,D=!1,L=f.hasElementTranscludeDirective,O=n.$$element=Yr(t),j=s,F=o,P=!1,q=!1,z=0,R=e.length;z<R;z++){h=e[z];var U=h.$$start,V=h.$$end;if(U&&(O=Q(t,U,V)),g=void 0,x>h.priority)break;if(b=h.scope,b&&(h.templateUrl||(_(b)?(pe("new/isolated scope",C||w,h,O),C=h):pe("new/isolated scope",C,h,O)),w=w||h),m=h.name,!P&&(h.replace&&(h.templateUrl||h.template)||h.transclude&&!h.$$tlb)){for(var Y,G=z+1;Y=e[G++];)if(Y.transclude&&!Y.$$tlb||Y.replace&&(Y.templateUrl||Y.template)){q=!0;break}P=!0}if(!h.templateUrl&&h.controller&&(k=k||he(),pe("'"+m+"' controller",k[m],h,O),k[m]=h),b=h.transclude)if(A=!0,h.$$tlb||(pe("transclusion",T,h,O),T=h),"element"===b)L=!0,x=h.priority,g=O,O=n.$$element=Yr(W.$$createComment(m,n[m])),t=O[0],_e(a,B(g),t),g[0].$$parentNode=g[0].parentNode,F=te(q,g,o,x,j&&j.name,{nonTlbTranscludeDirective:T});else{var Z=he();if(_(b)){g=[];var X=he(),ne=he();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,X[e]=t,Z[t]=null,ne[t]=n}),r(O.contents(),function(e){var t=X[_t(N(e))];t?(ne[t]=!0,Z[t]=Z[t]||[],Z[t].push(e)):g.push(e)}),r(ne,function(e,t){if(!e)throw Qi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ae in Z)Z[ae]&&(Z[ae]=te(q,Z[ae],o))}else g=Yr(Le(t)).contents();O.empty(),F=te(q,g,o,void 0,void 0,{needsNewScope:h.$$isolateScope||h.$$newScope}),F.$$slots=Z}if(h.template)if(D=!0,pe("template",S,h,O),S=h,b=$(h.template)?h.template(O,n):h.template,b=Oe(b),h.replace){if(j=h,g=$e(b)?[]:xt(ge(h.templateNamespace,si(b))),t=g[0],1!==g.length||t.nodeType!==gi)throw Qi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");_e(a,O,t);var se={$attr:{}},le=K(t,[],se),ce=e.splice(z+1,e.length-(z+1));(C||w)&&oe(le,C,w),e=e.concat(le).concat(ce),ue(n,se),R=e.length}else O.html(b);if(h.templateUrl)D=!0,pe("template",S,h,O),S=h,h.replace&&(j=h),p=fe(e.splice(z,e.length-z),O,n,a,A&&F,l,u,{controllerDirectives:k,newScopeDirective:w!==h&&w,newIsolateScopeDirective:C,templateDirective:S,nonTlbTranscludeDirective:T}),R=e.length;else if(h.compile)try{y=h.compile(O,n,F);var de=h.$$originalDirective||h;$(y)?d(null,H(de,y),U,V):y&&d(H(de,y.pre),H(de,y.post),U,V)}catch(e){i(e,J(O))}h.terminal&&(p.terminal=!0,x=Math.max(x,h.priority))}return p.scope=w&&!0===w.scope,p.transcludeOnThisElement=A,p.templateOnThisElement=D,p.transclude=F,f.hasElementTranscludeDirective=L,p}function re(e,t,n,i){var o;if(x(t)){var a=t.match(C),s=t.substring(a[0].length),l=a[1]||a[3],c="?"===a[2];if("^^"===l?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var u="$"+s+"Controller";o=l?n.inheritedData(u):n.data(u)}if(!o&&!c)throw Qi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(oi(t)){o=[];for(var f=0,d=t.length;f<d;f++)o[f]=re(e,t[f],n,i)}else _(t)&&(o={},r(t,function(t,r){o[r]=re(e,t,n,i)}));return o||null}function ie(e,t,n,r,i,o,a){var s=he();for(var c in r){var u=r[c],f={$scope:u===a||u.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=u.controller;"@"===d&&(d=t[u.name]);var p=l(d,f,!0,u.controllerAs);s[u.name]=p,e.data("$"+u.name+"Controller",p.instance)}return s}function oe(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function ae(e,n,r,i,o,s,l){if(n===o)return null;var c=null;if(f.hasOwnProperty(n))for(var u,p=t.get(n+g),h=0,m=p.length;h<m;h++)if(u=p[h],(v(i)||i>u.priority)&&-1!==u.restrict.indexOf(r)){if(s&&(u=d(u,{$$start:s,$$end:l})),!u.$$bindings){var y=u.$$bindings=a(u,u.name);_(y.isolateScope)&&(u.$$isolateBindings=y.isolateScope)}e.push(u),c=u}return c}function se(e){if(f.hasOwnProperty(e))for(var n,r=t.get(e+g),i=0,o=r.length;i<o;i++)if(n=r[i],n.multiElement)return!0;return!1}function ue(e,t){var n=t.$attr,i=e.$attr;r(e,function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){e.hasOwnProperty(r)||"$"===r.charAt(0)||(e[r]=t,"class"!==r&&"style"!==r&&(i[r]=n[r]))})}function fe(e,t,n,a,s,l,c,u){var f,h,m=[],g=t[0],v=e.shift(),y=d(v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),b=$(v.templateUrl)?v.templateUrl(t,n):v.templateUrl,x=v.templateNamespace;return t.empty(),o(b).then(function(i){var o,d,p,w;if(i=Oe(i),v.replace){if(p=$e(i)?[]:xt(ge(x,si(i))),o=p[0],1!==p.length||o.nodeType!==gi)throw Qi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,b);d={$attr:{}},_e(a,t,o);var k=K(o,[],d);_(v.scope)&&oe(k,!0),e=k.concat(e),ue(n,d)}else o=g,t.html(i);for(e.unshift(y),f=ne(e,o,n,s,t,v,l,c,u),r(a,function(e,n){e===o&&(a[n]=t[0])}),h=Y(t[0].childNodes,s);m.length;){var $=m.shift(),C=m.shift(),S=m.shift(),E=m.shift(),T=t[0];if(!$.$$destroyed){if(C!==g){var A=C.className;u.hasElementTranscludeDirective&&v.replace||(T=Le(o)),_e(S,Yr(C),T),U(Yr(T),A)}w=f.transcludeOnThisElement?Z($,f.transclude,E):E,f(h,$,T,a,w)}}m=null}).catch(function(e){e instanceof Error&&i(e)}).catch(p),function(e,t,n,r,i){var o=i;t.$$destroyed||(m?m.push(t,n,r,o):(f.transcludeOnThisElement&&(o=Z(t,f.transclude,i)),f(h,t,n,r,o)))}}function de(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function pe(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Qi("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,J(r))}function me(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&W.$$addBindingClass(t),function(e,t){var i=t.parent();n||W.$$addBindingClass(i),W.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function ge(t,n){switch(t=Ur(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function ve(e,t){if("srcdoc"===t)return m.HTML;var n=N(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(n))return m.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return m.RESOURCE_URL}function ye(e,t,r,i,o){var a=ve(e,i),s=!o,l=k[i]||o,c=n(r,s,a,l);if(c){if("multiple"===i&&"select"===N(e))throw Qi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));if(S.test(i))throw Qi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=he()),u=o[i];u!==r&&(c=u&&n(u,!0,a,l),r=u),c&&(o[i]=c(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(c,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function _e(t,n,r){var i,o,a=n[0],s=n.length,l=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r;for(var c=i,u=c+s-1,f=t.length;c<f;c++,u++)u<f?t[c]=t[u]:delete t[c];t.length-=s-1,t.context===a&&(t.context=r);break}l&&l.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;i<s;i++)d.appendChild(n[i]);for(Yr.hasData(a)&&(Yr.data(r,Yr.data(a)),Yr(a).off("$destroy")),Yr.cleanData(d.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function be(e,t){return c(function(){return e.apply(null,arguments)},e,t)}function xe(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(e){i(e,J(n))}}function we(e,t,i,o,a){function l(t,n,r){!$(i.$onChanges)||n===r||n!==n&&r!==r||(ke||(e.$$postDigest(P),ke=[]),u||(u={},ke.push(c)),u[t]&&(r=u[t].previousValue),u[t]=new yt(r,n))}function c(){i.$onChanges(u),u=void 0}var u,f=[],d={};return r(o,function(r,o){var c,u,h,m,g,v=r.attrName,y=r.optional,_=r.mode;switch(_){case"@":y||Rr.call(t,v)||(i[o]=t[v]=void 0),g=t.$observe(v,function(e){if(x(e)||D(e)){var t=i[o];l(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,c=t[v],x(c)?i[o]=n(c)(e):D(c)&&(i[o]=c),d[o]=new yt(eo,i[o]),f.push(g);break;case"=":if(!Rr.call(t,v)){if(y)break;t[v]=void 0}if(y&&!t[v])break;u=s(t[v]),m=u.literal?R:function(e,t){return e===t||e!==e&&t!==t},h=u.assign||function(){throw c=i[o]=u(e),Qi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},c=i[o]=u(e);var b=function(t){return m(t,i[o])||(m(t,c)?h(e,t=i[o]):i[o]=t),c=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,u.literal),f.push(g);break;case"<":if(!Rr.call(t,v)){if(y)break;t[v]=void 0}if(y&&!t[v])break;u=s(t[v]);var w=u.literal,k=i[o]=u(e);d[o]=new yt(eo,i[o]),g=e.$watch(u,function(e,t){if(t===e){if(t===k||w&&R(t,k))return;t=k}l(o,e,t),i[o]=e},w),f.push(g);break;case"&":if((u=t.hasOwnProperty(v)?s(t[v]):p)===p&&y)break;i[o]=function(t){return u(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;e<t;++e)f[e]()}}}var ke,Ce=/^\w/,Se=e.document.createElement("div"),Ee=O,Te=j,Ae=L;I.prototype={$normalize:_t,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=bt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=bt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],l=Ge(s,e),c=Ze(e),u=e;if(l?(this.$$element.prop(e,t),o=l):c&&(this[c]=t,u=c),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e])||(this.$attr[e]=o=le(e,"-")),"a"===(a=N(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=F(t,"src"===e);else if("img"===a&&"srcset"===e&&y(t)){for(var f="",d=si(t),p=/\s/.test(d)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,h=d.split(p),m=Math.floor(h.length/2),g=0;g<m;g++){var _=2*g;f+=F(si(h[_]),!0),f+=" "+si(h[_+1])}var b=si(h[2*g]).split(/\s/);f+=F(si(b[0]),!0),2===b.length&&(f+=" "+si(b[1])),this[e]=t=f}!1!==n&&(null===t||v(t)?this.$$element.removeAttr(o):Ce.test(o)?this.$$element.attr(o,t):z(this.$$element[0],o,t));var x=this.$$observers;x&&r(x[u],function(e){try{e(t)}catch(e){i(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=he()),i=r[e]||(r[e]=[]);return i.push(t),u.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){q(i,t)}}};var Me=n.startSymbol(),De=n.endSymbol(),Oe="{{"===Me&&"}}"===De?h:function(e){return e.replace(/\{\{/g,Me).replace(/}}/g,De)},je=/^ngAttr[A-Z]/,Fe=/^(.+)Start$/;return W.$$addBindingInfo=A?function(e,t){var n=e.data("$binding")||[];oi(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:p,W.$$addBindingClass=A?function(e){U(e,"ng-binding")}:p,W.$$addScopeInfo=A?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:p,W.$$addScopeClass=A?function(e,t){U(e,t?"ng-isolate-scope":"ng-scope")}:p,W.$$createComment=function(t,n){var r="";return A&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},W}]}function yt(e,t){this.previousValue=e,this.currentValue=t}function _t(e){return e.replace(to,"").replace(no,we)}function bt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function xt(e){e=Yr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===yi||n.nodeType===vi&&""===n.nodeValue.trim())&&Jr.call(e,t,1)}return e}function wt(e,t){if(t&&x(t))return t;if(x(e)){var n=io.exec(e);if(n)return n[3]}}function kt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),_(t)?c(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!_(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,l){var u,f,d,p;if(s=!0===s,l&&x(l)&&(p=l),x(t)){if(!(f=t.match(io)))throw ro("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(d=f[1],p=p||f[3],!(t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0)))throw ro("ctrlreg","The controller with the name '{0}' is not registered.",d);ue(t,d,!0)}if(s){var h=(oi(t)?t[t.length-1]:t).prototype;return u=Object.create(h||null),p&&o(a,p,u,d||t.name),c(function(){var e=r.invoke(t,u,a,d);return e!==u&&(_(e)||$(e))&&(u=e,p&&o(a,p,u,d||t.name)),u},{instance:u,identifier:p})}return u=r.instantiate(t,a,d),p&&o(a,p,u,d||t.name),u}}]}function $t(){this.$get=["$window",function(e){return Yr(e.document)}]}function Ct(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function St(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Et(e){return _(e)?k(e)?e.toISOString():V(e):e}function Tt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(oi(e)?r(e,function(e){t.push(ne(n)+"="+ne(Et(e)))}):t.push(ne(n)+"="+ne(Et(e))))}),t.join("&")}}}function At(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(oi(e)?r(e,function(e,n){t(e,o+"["+(_(e)?n:"")+"]")}):_(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(Et(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Mt(e,t){if(x(e)){var n=e.replace(uo,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(ao)||Dt(n))&&(e=Y(n))}}return e}function Dt(e){var t=e.match(lo);return t&&co[t[0]].test(e)}function Lt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=he();return x(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Ur(si(e.substr(0,n))),si(e.substr(n+1)))}):_(e)&&r(e,function(e,n){t(Ur(n),si(e))}),i}function Ot(e){var t;return function(n){if(t||(t=Lt(e)),n){var r=t[Ur(n)];return void 0===r&&(r=null),r}return t}}function jt(e,t,n,i){return $(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Ft(e){return 200<=e&&e<300}function Pt(){var e=this.defaults={transformResponse:[Mt],transformRequest:[function(e){return!_(e)||T(e)||M(e)||A(e)?e:V(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ve(so),put:ve(so),patch:ve(so)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return y(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,l,u,f,d,h){function m(n){function i(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function a(){o.$$completeOutstandingRequest(p)}function s(e,t){var n,i={};return r(e,function(e,r){$(e)?null!=(n=e(t))&&(i[r]=n):i[r]=e}),i}function l(t){var n=t.headers,i=jt(t.data,Ot(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Ur(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(u,u)}function u(e){var t=c({},e);return t.data=jt(e.data,e.headers,e.status,m.transformResponse),Ft(e.status)?t:f.reject(t)}if(!_(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!x(h.valueOf(n.url)))throw t("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);var m=c({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);m.headers=function(t){var n,r,i,o=e.headers,a=c({},t.headers);o=c({},o.common,o[Ur(t.method)]);e:for(n in o){r=Ur(n);for(i in a)if(Ur(i)===r)continue e;a[n]=o[n]}return s(a,ve(t))}(n),m.method=Br(m.method),m.paramSerializer=x(m.paramSerializer)?d.get(m.paramSerializer):m.paramSerializer,o.$$incOutstandingRequestCount();var y=[],b=[],w=f.resolve(m);return r(C,function(e){(e.request||e.requestError)&&y.unshift(e.request,e.requestError),(e.response||e.responseError)&&b.push(e.response,e.responseError)}),w=i(w,y),w=w.then(l),w=i(w,b),w=w.finally(a)}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?u.$applyAsync(r):u.$$phase?r():u.$apply(r)}}),t}}function l(e,t,r,i){function o(){c(t,e,r,i)}g&&(Ft(e)?g.put(A,[e,t,Lt(r),i]):g.remove(A)),n?u.$applyAsync(o):(o(),u.$$phase||u.$apply())}function c(e,n,r,i){n=n>=-1?n:0,(Ft(n)?C.resolve:C.reject)({data:e,status:n,headers:Ot(r),config:t,statusText:i})}function d(e){c(e.data,e.status,ve(e.headers()),e.statusText)}function p(){var e=m.pendingRequests.indexOf(t);-1!==e&&m.pendingRequests.splice(e,1)}var g,$,C=f.defer(),S=C.promise,E=t.headers,T="jsonp"===Ur(t.method),A=t.url;if(T?A=h.getTrustedResourceUrl(A):x(A)||(A=h.valueOf(A)),A=b(A,t.paramSerializer(t.params)),T&&(A=w(A,t.jsonpCallbackParam)),m.pendingRequests.push(t),S.then(p,p),!t.cache&&!e.cache||!1===t.cache||"GET"!==t.method&&"JSONP"!==t.method||(g=_(t.cache)?t.cache:_(e.cache)?e.cache:k),g&&($=g.get(A),y($)?L($)?$.then(d,d):oi($)?c($[1],$[0],ve($[2]),$[3]):c($,200,{},"OK"):g.put(A,S)),v($)){var M=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;M&&(E[t.xsrfHeaderName||e.xsrfHeaderName]=M),a(t.method,A,i,l,E,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return S}function b(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function w(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw fo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(new RegExp("[&?]"+t+"=").test(e))throw fo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var k=l("$http");e.paramSerializer=x(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var C=[];return r(i,function(e){C.unshift(x(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],function(e){r(arguments,function(e){m[e]=function(t,n){return m(c({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){r(arguments,function(e){m[e]=function(t,n,r){return m(c({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),m.defaults=e,m}]}function Nt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function It(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return qt(e,r,e.defer,t,n[0])}]}function qt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){r.removeEventListener("load",a),
|
||
r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,l="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,l,c,u,f,d,p,h,m){function g(){x&&x(),w&&w.abort()}function _(e,t,r,i,o){y($)&&n.cancel($),x=w=null,e(t,r,i,o)}if(s=s||e.url(),"jsonp"===Ur(o))var b=i.createCallback(s),x=a(s,b,function(e,t){var n=200===e&&i.getResponse(b);_(c,e,n,"",t),i.removeCallback(b)});else{var w=t(o,s);w.open(o,s,!0),r(u,function(e,t){y(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"===jn(s).protocol?404:0),_(c,n,t,w.getAllResponseHeaders(),e)};var k=function(){_(c,-1,null,null,"")};if(w.onerror=k,w.onabort=k,w.ontimeout=k,r(h,function(e,t){w.addEventListener(t,e)}),r(m,function(e,t){w.upload.addEventListener(t,e)}),d&&(w.withCredentials=!0),p)try{w.responseType=p}catch(e){if("json"!==p)throw e}w.send(v(l)?null:l)}if(f>0)var $=n(g,f);else L(f)&&f.then(g)}}function zt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(d,e).replace(p,t)}function s(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function l(o,l,d,p){function h(e){try{return e=M(e),p&&!y(e)?e:me(e)}catch(e){r(po.interr(o,e))}}if(!o.length||-1===o.indexOf(e)){var g;if(!l){g=m(a(o)),g.exp=o,g.expressions=[],g.$$watchDelegate=s}return g}p=!!p;for(var _,b,x,w=0,k=[],C=[],S=o.length,E=[],T=[];w<S;){if(-1===(_=o.indexOf(e,w))||-1===(b=o.indexOf(t,_+u))){w!==S&&E.push(a(o.substring(w)));break}w!==_&&E.push(a(o.substring(w,_))),x=o.substring(_+u,b),k.push(x),C.push(n(x,h)),w=b+f,T.push(E.length),E.push("")}if(d&&E.length>1&&po.throwNoconcat(o),!l||k.length){var A=function(e){for(var t=0,n=k.length;t<n;t++){if(p&&v(e[t]))return;E[T[t]]=e[t]}return E.join("")},M=function(e){return d?i.getTrusted(d,e):i.valueOf(e)};return c(function(e){var t=0,n=k.length,i=new Array(n);try{for(;t<n;t++)i[t]=C[t](e);return A(i)}catch(e){r(po.interr(o,e))}},{exp:o,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(C,function(r,i){var o=A(r);$(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var u=e.length,f=t.length,d=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function Rt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,l,c){function u(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?B(arguments,4):[],p=t.setInterval,h=t.clearInterval,m=0,g=y(c)&&!c,v=(g?r:n).defer(),_=v.promise;return l=y(l)?l:0,_.$$intervalId=p(function(){g?i.defer(u):e.$evalAsync(u),v.notify(m++),l>0&&m>=l&&(v.resolve(m),h(_.$$intervalId),delete a[_.$$intervalId]),g||e.$apply()},s),a[_.$$intervalId]=v,_}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].promise.catch(p),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function Ut(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Bt(e,t){var n=jn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||go[n.protocol]||null}function Ht(e,t){if(yo.test(e))throw vo("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=jn(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=Q(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Wt(e,t){return e.slice(0,t.length)===t}function Vt(e,t){if(Wt(t,e))return t.substr(e.length)}function Yt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function Gt(e){return e.replace(/(#.+)|#$/,"$1")}function Zt(e){return e.substr(0,Yt(e).lastIndexOf("/")+1)}function Kt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Jt(e,t,n){this.$$html5=!0,n=n||"",Bt(e,this),this.$$parse=function(e){var n=Vt(t,e);if(!x(n))throw vo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Ht(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Ut(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return y(o=Vt(e,r))?(a=o,s=n&&y(o=Vt(n,o))?t+(Vt("/",o)||o):e+a):y(o=Vt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Xt(e,t,n){Bt(e,this),this.$$parse=function(r){var i,o=Vt(e,r)||Vt(t,r);v(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",v(o)&&(e=r,this.replace())):(i=Vt(n,o),v(i)&&(i=o)),Ht(i,this),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Wt(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}(this.$$path,i,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Ut(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Yt(e)===Yt(t)&&(this.$$parse(t),!0)}}function Qt(e,t,n){this.$$html5=!0,Xt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Yt(r)?o=r:(a=Vt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Ut(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function en(e){return function(){return this[e]}}function tn(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function nn(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return D(e)?(t.enabled=e,this):_(e)?(D(e.enabled)&&(t.enabled=e.enabled),D(e.requireBase)&&(t.requireBase=e.requireBase),(D(e.rewriteLinks)||x(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=c.url(),o=c.$$state;try{r.url(e,t,n),c.$$state=r.state()}catch(e){throw c.url(i),c.$$state=o,e}}function l(e,t){n.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}var c,u,f,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw vo("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=Kt(p)+(d||"/"),u=i.history?Jt:Qt}else f=Yt(p),u=Xt;var h=Zt(f);c=new u(f,h,"#"+e),c.$$parseLinkUrl(p,p),c.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=Yr(e.target);"a"!==N(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!x(i)||!v(s.attr(i))){var l=s.prop("href"),u=s.attr("href")||s.attr("xlink:href");_(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=jn(l.animVal).href),m.test(l)||!l||s.attr("target")||e.isDefaultPrevented()||c.$$parseLinkUrl(l,u)&&(e.preventDefault(),c.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Gt(c.absUrl())!==Gt(p)&&r.url(c.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){if(!Wt(e,h))return void(a.location.href=e);n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;e=Gt(e),c.$$parse(e),c.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,c.absUrl()===e&&(r?(c.$$parse(i),c.$$state=o,s(i,!1,o)):(g=!1,l(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=Gt(r.url()),t=Gt(c.absUrl()),o=r.state(),a=c.$$replace,u=e!==t||c.$$html5&&i.history&&o!==c.$$state;(g||u)&&(g=!1,n.$evalAsync(function(){var t=c.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,c.$$state,o).defaultPrevented;c.absUrl()===t&&(r?(c.$$parse(e),c.$$state=o):(u&&s(t,a,o===c.$$state?null:c.$$state),l(e,o)))})),c.$$replace=!1}),c}]}function rn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||p,a=!1;try{a=!!o.apply}catch(e){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function on(e){return e+""}function an(e,t){return void 0!==e?e:t}function sn(e,t){return void 0===e?t:void 0===t?e:e+t}function ln(e,t){return!e(t).$stateful}function cn(e,t){var n,i,o;switch(e.type){case Co.Program:n=!0,r(e.body,function(e){cn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case Co.Literal:e.constant=!0,e.toWatch=[];break;case Co.UnaryExpression:cn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Co.BinaryExpression:cn(e.left,t),cn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Co.LogicalExpression:cn(e.left,t),cn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Co.ConditionalExpression:cn(e.test,t),cn(e.alternate,t),cn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Co.Identifier:e.constant=!1,e.toWatch=[e];break;case Co.MemberExpression:cn(e.object,t),e.computed&&cn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Co.CallExpression:o=!!e.filter&&ln(t,e.callee.name),n=o,i=[],r(e.arguments,function(e){cn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=o?i:[e];break;case Co.AssignmentExpression:cn(e.left,t),cn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Co.ArrayExpression:n=!0,i=[],r(e.elements,function(e){cn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case Co.ObjectExpression:n=!0,i=[],r(e.properties,function(e){cn(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case Co.ThisExpression:case Co.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===Co.Identifier||e.type===Co.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:Co.AssignmentExpression,left:e.body[0].expression,right:{type:Co.NGValueParameter},operator:"="}}function pn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Co.Literal||e.body[0].expression.type===Co.ArrayExpression||e.body[0].expression.type===Co.ObjectExpression)}function hn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function gn(e,t){this.astBuilder=e,this.$filter=t}function vn(e){return $(e.valueOf)?e.valueOf():xo.call(e)}function yn(){var e,t,n=he(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function a(e,t){var r,i,a;switch(typeof e){case"string":if(e=e.trim(),a=e,!(r=n[a])){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=new $o(m);r=new So(s,o,m).parse(e),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?u:c:r.inputs&&(r.$$watchDelegate=l),n[a]=r}return d(r,t);case"function":return d(e,t);default:return d(p,t)}}function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=vn(e)))&&(e===t||e!==e&&t!==t)}function l(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var l=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,l)||(o=r(e,void 0,void 0,[t]),l=t&&vn(t)),o},t,n,i)}for(var c=[],u=[],f=0,d=a.length;f<d;f++)c[f]=s,u[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var l=a[n](e);(t||(t=!s(l,c[n])))&&(u[n]=l,c[n]=l&&vn(l))}return t&&(o=r(e,void 0,void 0,u)),o},t,n,i)}function c(e,t,n,r,i){function o(e){return r(e)}function a(e,n,r){c=e,$(t)&&t(e,n,r),y(e)&&r.$$postDigest(function(){y(c)&&s()})}var s,c;return s=r.inputs?l(e,a,n,r,i):e.$watch(o,a,n)}function u(e,t,n,i){function o(e){var t=!0;return r(e,function(e){y(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,$(t)&&t(e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function f(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==u&&n!==c,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return y(a)?s:a};return r=!e.inputs,e.$$watchDelegate&&e.$$watchDelegate!==l?(o.$$watchDelegate=e.$$watchDelegate,o.inputs=e.inputs):t.$stateful||(o.$$watchDelegate=l,o.inputs=e.inputs?e.inputs:[e]),o}var h=ci().noUnsafeEval,m={csp:h,literals:z(i),isIdentifierStart:$(e)&&e,isIdentifierContinue:$(t)&&t};return a}]}function _n(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return xn(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return y(t)?(e=t,this):e}}function bn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return xn(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return y(t)?(e=t,this):e}}function xn(e,n,i){function o(){return new a}function a(){var e=this.promise=new s;this.resolve=function(t){d(e,t)},this.reject=function(t){h(e,t)},this.notify=function(t){g(e,t)}}function s(){this.$$state={status:0}}function l(t){var n,r,o;o=t.pending,t.processScheduled=!1,t.pending=void 0;try{for(var a=0,s=o.length;a<s;++a){t.pur=!0,r=o[a][0],n=o[a][t.status];try{$(n)?d(r,n(t.value)):1===t.status?d(r,t.value):h(r,t.value)}catch(e){h(r,e)}}}finally{--E,i&&0===E&&e(u)}}function u(){for(;!E&&T.length;){var e=T.shift();if(!e.pur){e.pur=!0;var t="Possibly unhandled rejection: "+_e(e.value);e.value instanceof Error?n(e.value,t):n(t)}}}function f(t){!i||t.pending||2!==t.status||t.pur||(0===E&&0===T.length&&e(u),T.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++E,e(function(){l(t)}))}function d(e,t){e.$$state.status||(t===e?m(e,S("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):p(e,t))}function p(e,t){function n(t){a||(a=!0,p(e,t))}function r(t){a||(a=!0,m(e,t))}function i(t){g(e,t)}var o,a=!1;try{(_(t)||$(t))&&(o=t.then),$(o)?(e.$$state.status=-1,o.call(t,n,r,i)):(e.$$state.value=t,e.$$state.status=1,f(e.$$state))}catch(e){r(e)}}function h(e,t){e.$$state.status||m(e,t)}function m(e,t){e.$$state.value=t,e.$$state.status=2,f(e.$$state)}function g(t,r){var i=t.$$state.pending;t.$$state.status<=0&&i&&i.length&&e(function(){for(var e,t,o=0,a=i.length;o<a;o++){t=i[o][0],e=i[o][3];try{g(t,$(e)?e(r):r)}catch(e){n(e)}}})}function y(e){var t=new s;return h(t,e),t}function b(e,t,n){var r=null;try{$(n)&&(r=n())}catch(e){return y(e)}return L(r)?r.then(function(){return t(e)},y):t(e)}function x(e,t,n,r){var i=new s;return d(i,e),i.then(t,n,r)}function w(e){var t=new s,n=0,i=oi(e)?[]:{};return r(e,function(e,r){n++,x(e).then(function(e){i[r]=e,--n||d(t,i)},function(e){h(t,e)})}),0===n&&d(t,i),t}function k(e){var t=o();return r(e,function(e){x(e).then(t.resolve,t.reject)}),t.promise}function C(e){function t(e){d(r,e)}function n(e){h(r,e)}if(!$(e))throw S("norslvr","Expected resolverFn, got '{0}'",e);var r=new s;return e(t,n),r}var S=t("$q",TypeError),E=0,T=[];c(s.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&f(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return b(t,A,e)},function(t){return b(t,y,e)},t)}});var A=x;return C.prototype=s.prototype,C.defer=o,C.reject=y,C.when=x,C.resolve=A,C.all=w,C.race=k,C}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function kn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,l=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,c,u){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Vr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function h(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function g(){C.$$phase=null}function y(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function x(){}function w(){for(;T.length;)try{T.shift()()}catch(e){t(e)}l=null}function k(){null===l&&(l=u.defer(function(){C.$apply(w)}))}h.prototype={constructor:h,$new:function(t,n){var r;return n=n||this,t?(r=new h,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=c(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,l={fn:t,last:x,get:i,exp:r||e,eq:!!n};return s=null,$(t)||(l.fn=p),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(l),a.$$digestWatchIndex++,y(this,1),function(){var e=q(a,l);e>=0&&(y(o,-1),e<a.$$digestWatchIndex&&a.$$digestWatchIndex--),s=null}},$watchGroup:function(e,t){function n(){l=!1,c?(c=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,l=!1,c=!0;if(!e.length){var u=!0;return s.$evalAsync(function(){u&&t(o,o,s)}),function(){u=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,l||(l=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s;if(!v(o)){if(_(o))if(n(o)){a!==p&&(a=p,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;l<t;l++)s=a[l],i=o[l],s!==s&&i!==i||s===i||(f++,a[l]=i)}else{a!==h&&(a=h={},g=0,f++),t=0;for(r in o)Rr.call(o,r)&&(t++,i=o[r],s=a[r],r in a?s!==s&&i!==i||s===i||(f++,a[r]=i):(g++,a[r]=i,f++));if(g>t){f++;for(r in a)Rr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,l)):t(o,s,l),u)if(_(o))if(n(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var r in o)Rr.call(o,r)&&(s[r]=o[r])}else s=o}r.$stateful=!0;var o,a,s,l=this,u=t.length>1,f=0,d=c(e,r),p=[],h={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,c,f,d,p,h,v,y,_=i,b=this,k=[];m("$digest"),u.$$checkUrlChange(),this===C&&null!==l&&(u.defer.cancel(l),w()),s=null;do{d=!1,h=b;for(var T=0;T<S.length;T++){try{y=S[T],y.scope.$eval(y.expression,y.locals)}catch(e){t(e)}s=null}S.length=0;e:do{if(f=h.$$watchers)for(f.$$digestWatchIndex=f.length;f.$$digestWatchIndex--;)try{if(e=f[f.$$digestWatchIndex])if(c=e.get,(n=c(h))===(r=e.last)||(e.eq?R(n,r):ii(n)&&ii(r))){if(e===s){d=!1;break e}}else d=!0,s=e,e.last=e.eq?z(n,null):n,a=e.fn,a(n,r===x?n:r,h),_<5&&(v=4-_,k[v]||(k[v]=[]),k[v].push({msg:$(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(e){t(e)}if(!(p=h.$$watchersCount&&h.$$childHead||h!==b&&h.$$nextSibling))for(;h!==b&&!(p=h.$$nextSibling);)h=h.$parent}while(h=p);if((d||S.length)&&!_--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,k)}while(d||S.length);for(g();A<E.length;)try{E[A++]()}catch(e){t(e)}E.length=A=0},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===C&&u.$$applicationDestroyed(),y(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=p,this.$on=this.$watch=this.$watchGroup=function(){return p},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return c(e)(this,t)},$evalAsync:function(e,t){C.$$phase||S.length||u.defer(function(){S.length&&C.$digest()}),S.push({scope:this,expression:c(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(e){t(e)}finally{try{C.$digest()}catch(e){throw t(e),e}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&T.push(t),e=c(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=U([c],arguments,1);do{for(r=s.$$listeners[e]||a,c.currentScope=s,i=0,o=r.length;i<o;i++)if(r[i])try{r[i].apply(null,u)}catch(e){t(e)}else r.splice(i,1),i--,o--;if(l)return c.currentScope=null,c;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,l,c,u=U([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],l=0,c=s.length;l<c;l++)if(s[l])try{s[l].apply(null,u)}catch(e){t(e)}else s.splice(l,1),l--,c--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var C=new h,S=C.$$asyncQueue=[],E=C.$$postDigestQueue=[],T=C.$$applyAsyncQueue=[],A=0;return C}]}function $n(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=jn(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){return e.replace(Ao,we)}function Sn(e){if("self"===e)return e;if(x(e)){if(e.indexOf("***")>-1)throw Eo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=li(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw Eo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return y(e)&&r(e,function(e){t.push(Sn(e))}),t}function Tn(){this.SCE_CONTEXTS=To;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=jn(n.toString()),s=!1;for(i=0,o=e.length;i<o;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;i<o;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw Eo("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw Eo("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof u?e.$$unwrapTrustedValue():e}function l(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===To.RESOURCE_URL){if(i(t))return t;throw Eo("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===To.HTML)return c(t);throw Eo("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(e){throw Eo("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(c=n.get("$sanitize"));var u=o(),f={};return f[To.HTML]=o(u),f[To.CSS]=o(u),f[To.URL]=o(u),f[To.JS]=o(u),f[To.RESOURCE_URL]=o(f[To.URL]),{trustAs:a,getTrusted:l,valueOf:s}}]}function An(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&Vr<8)throw Eo("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ve(To);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=h),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(To,function(e,t){var n=Ur(t);i[Cn("parse_as_"+n)]=function(t){return o(e,t)},i[Cn("get_trusted_"+n)]=function(t){return a(e,t)},i[Cn("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Mn(){this.$get=["$window","$document",function(e,t){var n={},r=e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),i=!r&&e.history&&e.history.pushState,o=f((/android (\d+)/.exec(Ur((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},l=s.body&&s.body.style,c=!1,u=!1;return l&&(c=!!("transition"in l||"webkitTransition"in l),u=!!("animation"in l||"webkitAnimation"in l)),{history:!(!i||o<4||a),hasEvent:function(e){if("input"===e&&Vr)return!1;if(v(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:ci(),transitions:c,animations:u,android:o}}]}function Dn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,l){function u(e){return l||(e=Mo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,x(s)&&!v(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return oi(f)?f=f.filter(function(e){return e!==Mt}):f===Mt&&(f=null),r.get(s,c({cache:n,transformResponse:f},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},u)}return a.totalPendingRequests=0,a}]}function Ln(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=ni.element(e).data("$binding");i&&r(i,function(r){if(n){new RegExp("(^|\\s)"+li(t)+"(\\s|\\||$)").test(r)&&o.push(e)}else-1!==r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},i.getLocation=function(){return n.url()},i.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},i.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},i}]}function On(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,l){$(o)||(l=s,s=o,o=p);var c,u=B(arguments,3),f=y(l)&&!l,d=(f?r:n).defer(),h=d.promise;return c=t.defer(function(){try{d.resolve(o.apply(null,u))}catch(e){d.reject(e),i(e)}finally{delete a[h.$$timeoutId]}f||e.$apply()},s),h.$$timeoutId=c,a[c]=d,h}var a={};return o.cancel=function(e){return!!(e&&e.$$timeoutId in a)&&(a[e.$$timeoutId].promise.catch(p),a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},o}]}function jn(e){var t=e;return Vr&&(Do.setAttribute("href",t),t=Do.href),Do.setAttribute("href",t),{href:Do.href,protocol:Do.protocol?Do.protocol.replace(/:$/,""):"",host:Do.host,search:Do.search?Do.search.replace(/^\?/,""):"",hash:Do.hash?Do.hash.replace(/^#/,""):"",hostname:Do.hostname,port:Do.port,pathname:"/"===Do.pathname.charAt(0)?Do.pathname:"/"+Do.pathname}}function Fn(e){var t=x(e)?jn(e):e;return t.protocol===Lo.protocol&&t.host===Lo.host}function Pn(){this.$get=m(e)}function Nn(e){function t(e){try{return e.cookie||""}catch(e){return""}}function n(e){try{return decodeURIComponent(e)}catch(t){return e}}var r=e[0]||{},i={},o="";return function(){var e,a,s,l,c,u=t(r);if(u!==o)for(o=u,e=o.split("; "),i={},s=0;s<e.length;s++)a=e[s],(l=a.indexOf("="))>0&&(c=n(a.substring(0,l)),v(i[c])&&(i[c]=n(a.substring(l+1))));return i}}function In(){this.$get=Nn}function qn(e){function t(i,o){if(_(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Hn),t("date",or),t("filter",zn),t("json",ar),t("limitTo",sr),t("lowercase",qo),t("number",Wn),t("orderBy",cr),t("uppercase",zo)}function zn(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,l=Bn(r);switch(l){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Rn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Rn(e,t,n,r){var i=_(e)&&n in e;return!0===t?t=R:$(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!(_(t)||_(e)&&!g(e))&&(e=Ur(""+e),t=Ur(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!_(o)?Un(o,e[n],t,n,!1):Un(o,e,t,n,r)}}function Un(e,t,n,r,i,o){var a=Bn(e),s=Bn(t);if("string"===s&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r,i);if(oi(e))return e.some(function(e){return Un(e,t,n,r,i)});switch(a){case"object":var l;if(i){for(l in e)if("$"!==l.charAt(0)&&Un(e[l],t,n,r,!0))return!0;return!o&&Un(e,t,n,r,!1)}if("object"===s){for(l in t){var c=t[l];if(!$(c)&&!v(c)){var u=l===r;if(!Un(u?e:e[l],c,n,r,u,u))return!1}}return!0}return n(e,t)
|
||
;case"function":return!1;default:return n(e,t)}}function Bn(e){return null===e?"null":typeof e}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Wn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Vn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(jo))>-1&&(e=e.replace(jo,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Fo;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Fo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Oo&&(t=t.splice(0,Oo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var l=a;l<i.length;l++)i[l]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}function Gn(e,t,n,r,i){if(!x(e)&&!w(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,l=Math.abs(e)+"",c="";if(a)c="∞";else{o=Vn(l),Yn(o,i,t.minFrac,t.maxFrac);var u=o.d,f=o.i,d=o.e,p=[];for(s=u.reduce(function(e,t){return e&&!t},!0);f<0;)u.unshift(0),f++;f>0?p=u.splice(f,u.length):(p=u,u=[0]);var h=[];for(u.length>=t.lgSize&&h.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)h.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&h.unshift(u.join("")),c=h.join(n),p.length&&(c+=r+p.join("")),d&&(c+="e+"+d)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=Fo+e;return n&&(e=e.substr(e.length-t)),i+e}function Kn(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),Zn(a,t,r,i)}}function Jn(e,t,n){return function(r,i){var o=r["get"+e]();return i[Br((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function Xn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Qn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Qn(t.getFullYear()),r=er(t),i=+r-+n;return Zn(1+Math.round(i/6048e5),e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var l=f(t[4]||0)-i,c=f(t[5]||0)-o,u=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,l,c,u,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,l="",c=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,x(n)&&(n=Io.test(n)?f(n):t(n)),w(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=No.exec(i),s?(c=U(c,s,1),i=c.pop()):(c.push(i),i=null);var u=n.getTimezoneOffset();return o&&(u=G(o,u),n=K(n,o,!0)),r(c,function(t){a=Po[t],l+=a?a(n,e.DATETIME_FORMATS,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function ar(){return function(e,t){return v(t)&&(t=2),V(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),ii(t)?e:(w(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?lr(e,r,r+t):0===r?lr(e,t,e.length):lr(e,Math.max(0,r+t),r)):e)}}function lr(e,t,n){return x(e)?e.slice(t,n):Kr.call(e,t,n)}function cr(e){function r(t){return t.map(function(t){var n=1,r=h;if($(t))r=t;else if(x(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return $(e.valueOf)&&(e=e.valueOf(),i(e))?e:(g(e)&&(e=e.toString(),i(e)),e)}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(_(o)&&(o=e.index),_(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n=r<i?-1:1;return n}return function(e,i,o,l){function c(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:f.map(function(n){return a(n.get(e),t)})}}function u(e,t){for(var n=0,r=f.length;n<r;n++){var i=p(e.predicateValues[n],t.predicateValues[n]);if(i)return i*f[n].descending*d}return p(e.tieBreaker,t.tieBreaker)*d}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);oi(i)||(i=[i]),0===i.length&&(i=["+"]);var f=r(i),d=o?-1:1,p=$(l)?l:s,h=Array.prototype.map.call(e,c);return h.sort(u),e=h.map(function(e){return e.value})}}function ur(e){return $(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function fr(e,t){e.$name=t}function dr(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Bo,this.$$element=e,this.$$animate=r,pr(this)}function pr(e){e.$$classCache={},e.$$classCache[$a]=!(e.$$classCache[ka]=e.$$element.hasClass(ka))}function hr(e){function t(e,t,n,r){e[t]||(e[t]={}),a(e[t],n,r)}function n(e,t,n,r){e[t]&&s(e[t],n,r),mr(e[t])&&(e[t]=void 0)}function r(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function i(e,t,n){t=t?"-"+le(t,"-"):"",r(e,ka+t,!0===n),r(e,$a+t,!1===n)}var o=e.clazz,a=e.set,s=e.unset;o.prototype.$setValidity=function(e,o,l){v(o)?t(this,"$pending",e,l):n(this,"$pending",e,l),D(o)?o?(s(this.$error,e,l),a(this.$$success,e,l)):(a(this.$error,e,l),s(this.$$success,e,l)):(s(this.$error,e,l),s(this.$$success,e,l)),this.$pending?(r(this,Ho,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,Ho,!1),this.$valid=mr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var c;c=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),i(this,e,c),this.$$parentForm.$setValidity(e,c,this)}}function mr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function gr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function vr(e,t,n,r,i,o){yr(e,t,n,r,i,o),gr(r)}function yr(e,t,n,r,i,o){var a=Ur(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,c()})}var l,c=function(e){if(l&&(o.defer.cancel(l),l=null),!s){var i=t.val(),c=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=si(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,c)}};if(i.hasEvent("input"))t.on("input",c);else{var u=function(e,t,n){l||(l=o.defer(function(){l=null,t&&t.value===n||c(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||u(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",u)}t.on("change",c),na[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(ta,function(e){if(!l){var t=this[zr],n=t.badInput,r=t.typeMismatch;l=o.defer(function(){l=null,t.badInput===n&&t.typeMismatch===r||c(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function _r(e,t){if(k(e))return e;if(x(e)){Qo.lastIndex=0;var n=Qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,l=0,c=Qn(r),u=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,c.getDate()+u,o,a,s,l)}}return NaN}function br(e,t){return function(n,i){var o,a;if(k(n))return n;if(x(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Go.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function xr(e,t,n,r){return function(i,o,a,s,l,c,u){function f(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function d(e){return y(e)&&!k(e)?n(e)||void 0:e}wr(i,o,a,s),yr(i,o,a,s,l,c);var p,h=s&&s.$options.getOption("timezone");if(s.$$parserName=e,s.$parsers.push(function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var r=n(e,p);return h&&(r=K(r,h)),r}}),s.$formatters.push(function(e){if(e&&!k(e))throw Ea("datefmt","Expected `{0}` to be a date",e);return f(e)?(p=e,p&&h&&(p=K(p,h,!0)),u("date")(e,r,h)):(p=null,"")}),y(a.min)||a.ngMin){var m;s.$validators.min=function(e){return!f(e)||v(m)||n(e)>=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if(y(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function wr(e,t,n,r){var i=t[0];(r.$$hasNativeValidators=_(i.validity))&&r.$parsers.push(function(e){var n=t.prop(zr)||{};return n.badInput||n.typeMismatch?void 0:e})}function kr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:Jo.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!w(t))throw Ea("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function $r(e){return y(e)&&!w(e)&&(e=parseFloat(e)),ii(e)?void 0:e}function Cr(e){return(0|e)===e}function Sr(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function Er(e,t,n){var r=Number(e);if(!Cr(r)||!Cr(t)||!Cr(n)){var i=Math.max(Sr(r),Sr(t),Sr(n)),o=Math.pow(10,i);r*=o,t*=o,n*=o}return(r-t)%n==0}function Tr(e,t,n,r,i,o){wr(e,t,n,r),kr(r),yr(e,t,n,r,i,o);var a,s;if((y(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){a=$r(e),r.$validate()})),(y(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){s=$r(e),r.$validate()})),y(n.step)||n.ngStep){var l;r.$validators.step=function(e,t){return r.$isEmpty(t)||v(l)||Er(t,a||0,l)},n.$observe("step",function(e){l=$r(e),r.$validate()})}}function Ar(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(f=$r(e),!ii(r.$modelValue))if(u){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function l(e){if(d=$r(e),!ii(r.$modelValue))if(u){var n=t.val();d<n&&(t.val(d),n=d<f?f:d),r.$setViewValue(n)}else r.$validate()}function c(e){p=$r(e),ii(r.$modelValue)||(u&&r.$viewValue!==t.val()?r.$setViewValue(t.val()):r.$validate())}wr(e,t,n,r),kr(r),yr(e,t,n,r,i,o);var u=r.$$hasNativeValidators&&"range"===t[0].type,f=u?0:void 0,d=u?100:void 0,p=u?1:void 0,h=t[0].validity,m=y(n.min),g=y(n.max),_=y(n.step),b=r.$render;r.$render=u&&y(h.rangeUnderflow)&&y(h.rangeOverflow)?function(){b(),r.$setViewValue(t.val())}:b,m&&(r.$validators.min=u?function(){return!0}:function(e,t){return r.$isEmpty(t)||v(f)||t>=f},a("min",s)),g&&(r.$validators.max=u?function(){return!0}:function(e,t){return r.$isEmpty(t)||v(d)||t<=d},a("max",l)),_&&(r.$validators.step=u?function(){return!h.stepMismatch}:function(e,t){return r.$isEmpty(t)||v(p)||Er(t,f||0,p)},a("step",c))}function Mr(e,t,n,r,i,o){yr(e,t,n,r,i,o),gr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Zo.test(n)}}function Dr(e,t,n,r,i,o){yr(e,t,n,r,i,o),gr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ko.test(n)}}function Lr(e,t,n,r){var i=!n.ngTrim||"false"!==si(n.ngTrim);v(n.name)&&t.attr("name",a());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=si(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=si(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Or(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw Ea("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function jr(e,t,n,r,i,o,a,s){var l=Or(s,e,"ngTrueValue",n.ngTrueValue,!0),c=Or(s,e,"ngFalseValue",n.ngFalseValue,!1),u=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",u),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return R(e,l)}),r.$parsers.push(function(e){return e?l:c})}function Fr(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function i(e){return e&&e.split(" ")}function o(e){var t=e;return oi(e)?t=e.map(o).join(" "):_(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}function a(e){var t=e;if(oi(e))t=e.map(a);else if(_(e)){var n=!1;t=Object.keys(e).filter(function(t){var r=e[t];return!n&&v(r)&&(n=!0),r}),n&&t.push(void 0)}return t}e="ngClass"+e;var s;return["$parse",function(l){return{restrict:"AC",link:function(c,u,f){function d(e){e=m(i(e),1),f.$addClass(e)}function p(e){e=m(i(e),-1),f.$removeClass(e)}function h(e,t){var r=i(e),o=i(t),a=n(r,o),s=n(o,r),l=m(a,-1),c=m(s,1);f.$addClass(c),f.$removeClass(l)}function m(e,t){var n=[];return r(e,function(e){(t>0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function g(e){e===t?d(_):p(_),S=e}function v(e){var t=o(e);t!==_&&y(t)}function y(e){S===t&&h(_,e),_=e}var _,b=f[e].trim(),x=":"===b.charAt(0)&&":"===b.charAt(1),w=x?a:o,k=l(b,w),$=x?v:y,C=u.data("$classCounts"),S=!0;C||(C=he(),u.data("$classCounts",C)),"ngClass"!==e&&(s||(s=l("$index",function(e){return 1&e})),c.$watch(s,g)),c.$watch(k,$,x)}}}]}function Pr(e,t,n,r,i,o,a,s,l){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(e),this.$$parentForm=Bo,this.$options=Ta,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,pr(this),Nr(this)}function Nr(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue===e.$modelValue||t===t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var n=e.$formatters,r=n.length,i=t;r--;)i=n[r](i);e.$viewValue!==i&&(e.$$updateEmptyClasses(i),e.$viewValue=e.$$lastCommittedViewValue=i,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,p))}return t})}function Ir(e){this.$$options=e}function qr(e,t){r(t,function(t,n){y(e[n])||(e[n]=t)})}var zr="validity",Rr=Object.prototype.hasOwnProperty,Ur=function(e){return x(e)?e.toLowerCase():e},Br=function(e){return x(e)?e.toUpperCase():e},Hr=function(e){return x(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Wr=function(e){return x(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Ur=Hr,Br=Wr);var Vr,Yr,Gr,Zr,Kr=[].slice,Jr=[].splice,Xr=[].push,Qr=Object.prototype.toString,ei=Object.getPrototypeOf,ti=t("ng"),ni=e.angular||(e.angular={}),ri=0;Vr=e.document.documentMode;var ii=Number.isNaN||function(e){return e!==e};p.$inject=[],h.$inject=[];var oi=Array.isArray,ai=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,si=function(e){return x(e)?e.trim():e},li=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},ci=function(){if(!y(ci.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");ci.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ci.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return ci.rules},ui=function(){if(y(ui.name_))return ui.name_;var t,n,r,i,o=di.length;for(n=0;n<o;++n)if(r=di[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return ui.name_=i},fi=/:/g,di=["ng-","data-ng-","ng:","x-ng-"],pi=function(e){if(!e.currentScript)return!0;var t=e.currentScript.getAttribute("src"),n=e.createElement("a");if(n.href=t,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(e.document),hi=/[A-Z]/g,mi=!1,gi=1,vi=3,yi=8,_i=9,bi=11,xi={full:"1.6.1",major:1,minor:6,dot:1,codeName:"promise-rectification"};De.expando="ng339";var wi=De.cache={},ki=1;De._data=function(e){return this.cache[e[this.expando]]||{}};var $i=/-([a-z])/g,Ci=/^-ms-/,Si={mouseleave:"mouseout",mouseenter:"mouseover"},Ei=t("jqLite"),Ti=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ai=/<|&#?\w+;/,Mi=/<([\w:-]+)/,Di=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Li={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,"",""]};Li.optgroup=Li.option,Li.tbody=Li.tfoot=Li.colgroup=Li.caption=Li.thead,Li.th=Li.td;var Oi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ji=De.prototype={ready:Ye,toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Yr(e>=0?this[e]:this[this.length+e])},length:0,push:Xr,sort:[].sort,splice:[].splice},Fi={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Fi[Ur(e)]=e});var Pi={};r("input,select,option,textarea,button,form,details".split(","),function(e){Pi[e]=!0});var Ni={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:Ne,removeData:Fe,hasData:Se,cleanData:Ee},function(e,t){De[t]=e}),r({data:Ne,inheritedData:Be,scope:function(e){return Yr.data(e,"$scope")||Be(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Yr.data(e,"$isolateScope")||Yr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Be(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ie,css:function(e,t,n){if(t=xe(t),!y(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==vi&&2!==i&&i!==yi&&e.getAttribute){var o=Ur(t),a=Fi[o];if(!y(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!y(n))return e[t];e[t]=n},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===gi||n===vi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===N(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(v(t))return e.innerHTML;Oe(e,!0),e.innerHTML=t},empty:He},function(e,t){De.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==He&&v(2===e.length&&e!==Ie&&e!==Ue?t:n)){if(_(t)){for(r=0;r<o;r++)if(e===Ne)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if(y(r))throw Ei("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ce(e)){var i=Pe(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Ke(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length,c=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};l--;)t=s[l],Si[t]?(c(Si[t],Xe),c(t,void 0,!0)):c(t)}},off:je,one:function(e,t,n){e=Yr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Oe(e),r(new De(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===gi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===gi||n===bi){t=new De(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===gi){var n=e.firstChild;r(new De(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Me(e,Yr(t).eq(0).clone()[0])},remove:We,detach:function(e){We(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new De(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:ze,removeClass:qe,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Ie(e,t)),(r?ze:qe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==bi?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Le,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,l=Pe(e),u=l&&l.events,f=u&&u[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:p,type:s,target:e},t.type&&(i=c(i,t)),o=ve(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){De.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)v(i)?(i=e(this[o],t,n,r),y(i)&&(i=Yr(i))):Re(i,e(this[o],t,n,r));return y(i)?i:this}}),De.prototype.bind=De.prototype.on,De.prototype.unbind=De.prototype.off,tt.prototype={put:function(e,t){this[et(e,this.nextUid)]=t},get:function(e){return this[et(e,this.nextUid)]},remove:function(e){var t=this[e=et(e,this.nextUid)];return delete this[e],t}};var Ii=[function(){this.$get=[function(){return tt}]}],qi=/^([^(]+?)=>/,zi=/^[^(]*\(\s*([^)]*)\)/m,Ri=/,/,Ui=/^\s*(_?)(\S+?)\1\s*$/,Bi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Hi=t("$injector");at.$$annotate=ot;var Wi=t("$animate"),Vi=1,Yi=function(){this.$get=p},Gi=function(){var e=new tt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=x(t)?t.split(" "):oi(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=ut(t.attr("class")),o="",a="";r(n,function(e,t){e!==!!i[t]&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&ze(e,o),a&&qe(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var l=e.get(n)||{},c=o(l,r,!0),u=o(l,s,!1);(c||u)&&(e.put(n,l),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:p,on:p,off:p,pin:p,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Wi("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){if(new RegExp("(\\s+|\\/)ng-animate(\\s+|\\/)").test(this.$$classNameFilter.toString()))throw Wi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ct(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Yr(r),i=i&&Yr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",ft(o))},move:function(n,r,i,o){return r=r&&Yr(r),i=i&&Yr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",ft(o))},leave:function(t,n){return e.push(t,"leave",ft(n),function(){t.remove()})},addClass:function(t,n,r){return r=ft(r),r.addClass=lt(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ft(r),r.removeClass=lt(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ft(i),i.addClass=lt(i.addClass,n),i.removeClass=lt(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ft(o),o.from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=lt(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ki=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Ji=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,i,o){function a(e){this.setHost(e);var t=n(),r=function(e){o(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){i()?r(e):t(e)},this._state=0}return a.chain=function(e,t){function n(){if(r===e.length)return void t(!0);e[r](function(e){if(!1===e)return void t(!1);r++,n()})}var r=0;n()},a.all=function(e,t){function n(n){o=o&&n,++i===e.length&&t(o)}var i=0,o=!0;r(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:p,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(r(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},a}]},Xi=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||l.complete(),s=!0}),l}function o(){a.addClass&&(t.addClass(a.addClass),a.addClass=null),a.removeClass&&(t.removeClass(a.removeClass),a.removeClass=null),a.to&&(t.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=z(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,l=new n;return{start:i,end:i}}}]},Qi=t("$compile"),eo=new gt;vt.$inject=["$provide","$$sanitizeUriProvider"],yt.prototype.isFirstChange=function(){return this.previousValue===eo};var to=/^((?:x|data)[:\-_])/i,no=/[:\-_]+(.)/g,ro=t("$controller"),io=/^(\S+)(\s+as\s+([\w$]+))?$/,oo=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Yr&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},ao="application/json",so={"Content-Type":ao+";charset=utf-8"},lo=/^\[|^\{(?!\{)/,co={"[":/]$/,"{":/}$/},uo=/^\)]\}',?\n/,fo=t("$http"),po=ni.$interpolateMinErr=t("$interpolate");po.throwNoconcat=function(e){throw po("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},po.interr=function(e,t){return po("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var ho=function(){this.$get=["$window",function(e){function t(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}var n=e.angular.callbacks,r={};return{createCallback:function(e){var i="_"+(n.$$counter++).toString(36),o="angular.callbacks."+i,a=t(i);return r[o]=n[i]=a,o},wasCalled:function(e){return r[e].called},getResponse:function(e){return r[e].data},removeCallback:function(e){var t=r[e];delete n[t.id],delete r[e]}}}]},mo=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,go={http:80,https:443,ftp:21},vo=t("$location"),yo=/^\s*[\\/]{2,}/,_o={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:en("$$absUrl"),url:function(e){if(v(e))return this.$$url;var t=mo.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:en("$$protocol"),host:en("$$host"),port:en("$$port"),path:tn("$$path",function(e){return e=null!==e?e.toString():"","/"===e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(x(e)||w(e))e=e.toString(),this.$$search=Q(e);else{if(!_(e))throw vo("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=z(e,{}),r(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:tn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};r([Qt,Xt,Jt],function(e){e.prototype=Object.create(_o),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Jt||!this.$$html5)throw vo("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=v(t)?null:t,this}});var bo=t("$parse"),xo={}.constructor.prototype.valueOf,wo=he();r("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){wo[e]=!0});var ko={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},$o=function(e){this.options=e};$o.prototype={constructor:$o,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=wo[t],o=wo[n],a=wo[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e
|
||
},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw bo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Ur(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{n+=ko[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var Co=function(e,t){this.lexer=e,this.options=t};Co.Program="Program",Co.ExpressionStatement="ExpressionStatement",Co.AssignmentExpression="AssignmentExpression",Co.ConditionalExpression="ConditionalExpression",Co.LogicalExpression="LogicalExpression",Co.BinaryExpression="BinaryExpression",Co.UnaryExpression="UnaryExpression",Co.CallExpression="CallExpression",Co.MemberExpression="MemberExpression",Co.Identifier="Identifier",Co.Literal="Literal",Co.ArrayExpression="ArrayExpression",Co.Property="Property",Co.ObjectExpression="ObjectExpression",Co.ThisExpression="ThisExpression",Co.LocalsExpression="LocalsExpression",Co.NGValueParameter="NGValueParameter",Co.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Co.Program,body:e}},expressionStatement:function(){return{type:Co.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!fn(e))throw bo("lval","Trying to assign a value to a non l-value");e={type:Co.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Co.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Co.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Co.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Co.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=z(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Co.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:Co.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Co.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Co.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Co.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Co.Identifier,name:e.text}},constant:function(){return{type:Co.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Co.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Co.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Co.ObjectExpression,properties:t}},throwError:function(e,t){throw bo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw bo("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw bo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:Co.ThisExpression},$locals:{type:Co.LocalsExpression}}},mn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},cn(n,t.$filter);var i,o="";if(this.stage="assign",i=dn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=un(n.body);t.stage="inputs",r(s,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push(r),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",c=new Function("$filter","getStringValue","ifDefined","plus",l)(this.$filter,on,an,sn);return this.state=this.stage=void 0,c.literal=pn(n),c.constant=hn(n),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,l,c,u,f,d=this;if(i=i||p,!a&&y(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case Co.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){l=e}),n!==e.body.length-1?d.current().body.push(l,";"):d.return_(l)});break;case Co.Literal:u=this.escape(e.value),this.assign(t,u),i(t||u);break;case Co.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){l=e}),u=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,u),i(u);break;case Co.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){l=e}),u="+"===e.operator?this.plus(s,l):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(l,0):"("+s+")"+e.operator+"("+l+")",this.assign(t,u),i(u);break;case Co.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case Co.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case Co.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),i(t);break;case Co.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(l=d.nextId(),d.recurse(e.property,l),d.getStringValue(l),o&&1!==o&&d.if_(d.not(d.computedMember(s,l)),d.lazyAssign(d.computedMember(s,l),"{}")),u=d.computedMember(s,l),d.assign(t,u),n&&(n.computed=!0,n.name=l)):(o&&1!==o&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),u=d.nonComputedMember(s,e.property.name),d.assign(t,u),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case Co.CallExpression:t=t||this.nextId(),e.filter?(l=d.filter(e.callee.name),c=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),c.push(t)}),u=l+"("+c.join(",")+")",d.assign(t,u),i(t)):(l=d.nextId(),s={},c=[],d.recurse(e.callee,l,s,function(){d.if_(d.notNull(l),function(){r(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){c.push(e)})}),u=s.name?d.member(s.context,s.name,s.computed)+"("+c.join(",")+")":l+"("+c.join(",")+")",d.assign(t,u)},function(){d.assign(t,"undefined")}),i(t)}));break;case Co.AssignmentExpression:l=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,l),u=d.member(s.context,s.name,s.computed)+e.operator+l,d.assign(t,u),i(t||u)})},1);break;case Co.ArrayExpression:c=[],r(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){c.push(e)})}),u="["+c.join(",")+"]",this.assign(t,u),i(t||u);break;case Co.ObjectExpression:c=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===Co.Identifier?e.key.name:""+e.key.value,l=d.nextId(),d.recurse(e.value,l),d.assign(d.member(t,s,e.computed),l)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){c.push(d.escape(t.key.type===Co.Identifier?t.key.name:""+t.key.value)+":"+e)})}),u="{"+c.join(",")+"}",this.assign(t,u)),i(t||u);break;case Co.ThisExpression:this.assign(t,"s"),i(t||"s");break;case Co.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case Co.NGValueParameter:this.assign(t,"v"),i(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/;return n.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(x(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(w(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw bo("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},gn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);cn(n,t.$filter);var i,o;(i=dn(n))&&(o=this.recurse(i));var a,s=un(n.body);s&&(a=[],r(s,function(e,n){var r=t.recurse(e);e.input=r,a.push(r),e.watchId=n}));var l=[];r(n.body,function(e){l.push(t.recurse(e.expression))});var c=0===n.body.length?p:1===n.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return o&&(c.assign=function(e,t,n){return o(e,n,t)}),a&&(c.inputs=a),c.literal=pn(n),c.constant=hn(n),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Co.Literal:return this.value(e.value,t);case Co.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case Co.BinaryExpression:case Co.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case Co.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Co.Identifier:return s.identifier(e.name,t,n);case Co.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n):this.nonComputedMember(i,o,t,n);case Co.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],l=0;l<a.length;++l)s.push(a[l](e,n,r,i));var c=o.apply(void 0,s,i);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,i){var s,l=o(e,n,r,i);if(null!=l.value){for(var c=[],u=0;u<a.length;++u)c.push(a[u](e,n,r,i));s=l.value.apply(l.context,c)}return t?{value:s}:s};case Co.AssignmentExpression:return i=this.recurse(e.left,!0,1),o=this.recurse(e.right),function(e,n,r,a){var s=i(e,n,r,a),l=o(e,n,r,a);return s.context[s.name]=l,t?{value:l}:l};case Co.ArrayExpression:return a=[],r(e.elements,function(e){a.push(s.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case Co.ObjectExpression:return a=[],r(e.properties,function(e){e.computed?a.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):a.push({key:e.key.type===Co.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(e,n,r,i)]=a[s].value(e,n,r,i):o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case Co.ThisExpression:return function(e){return t?{value:e}:e};case Co.LocalsExpression:return function(e,n){return t?{value:n}:n};case Co.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=y(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=y(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),l=t(r,i,o,a),c=sn(s,l);return n?{value:c}:c}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),l=t(r,i,o,a),c=(y(s)?s:0)-(y(l)?l:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:l}:l}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var l=s?s[e]:void 0;return t?{context:s,name:e,value:l}:l}},computedMember:function(e,t,n,r){return function(i,o,a,s){var l,c,u=e(i,o,a,s);return null!=u&&(l=t(i,o,a,s),l=on(l),r&&1!==r&&u&&!u[l]&&(u[l]={}),c=u[l]),n?{context:u,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s);r&&1!==r&&l&&null==l[t]&&(l[t]={});var c=null!=l?l[t]:void 0;return n?{context:l,name:t,value:c}:c}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var So=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new Co(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};So.prototype={constructor:So,parse:function(e){return this.astCompiler.compile(e)}};var Eo=t("$sce"),To={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ao=/_([a-z])/g,Mo=t("$compile"),Do=e.document.createElement("a"),Lo=jn(e.location.href);Nn.$inject=["$document"],qn.$inject=["$provide"];var Oo=22,jo=".",Fo="0";Hn.$inject=["$locale"],Wn.$inject=["$locale"];var Po={yyyy:Kn("FullYear",4,0,!1,!0),yy:Kn("FullYear",2,0,!0,!0),y:Kn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Kn("Month",2,1),M:Kn("Month",1,1),LLLL:Jn("Month",!1,!0),dd:Kn("Date",2),d:Kn("Date",1),HH:Kn("Hours",2),H:Kn("Hours",1),hh:Kn("Hours",2,-12),h:Kn("Hours",1,-12),mm:Kn("Minutes",2),m:Kn("Minutes",1),ss:Kn("Seconds",2),s:Kn("Seconds",1),sss:Kn("Milliseconds",3),EEEE:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},No=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Io=/^-?\d+$/;or.$inject=["$locale"];var qo=m(Ur),zo=m(Br);cr.$inject=["$parse"];var Ro=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Qr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Uo={};r(Fi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=_t("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Uo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Ni,function(e,t){Uo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(/^\/(.+)\/([a-z]*)$/);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=_t("ng-"+e);Uo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Qr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){if(!t)return void("href"===e&&i.$set(a,null));i.$set(a,t),Vr&&o&&r.prop(o,i[a])})}}}});var Bo={$addControl:p,$$renameControl:fr,$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p},Ho="ng-pending";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],dr.prototype={$rollbackViewValue:function(){r(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){fe(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],r(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),r(this.$error,function(t,n){this.$setValidity(n,null,e)},this),r(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),q(this.$$controls,e),e.$$parentForm=Bo},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ca),this.$$animate.addClass(this.$$element,Sa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ca,Sa+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},hr({clazz:dr,set:function(e,t,n){var r=e[t];if(r){-1===r.indexOf(n)&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(q(r,n),0===r.length&&delete e[t])}});var Wo=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||p}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(Ca).addClass(ka);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var l=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",l)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var u=o?r(s.$name):p;o&&(u(e,s),i.$observe(o,function(t){s.$name!==t&&(u(e,void 0),s.$$parentForm.$$renameControl(s,t),(u=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),u(e,void 0),c(s,Bo)})}}}}}]},Vo=Wo(),Yo=Wo(!0),Go=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Zo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ko=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Jo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Xo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Qo=/^(\d{4,})-W(\d\d)$/,ea=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ta="keydown wheel mousedown",na=he();r("date,datetime-local,month,time,week".split(","),function(e){na[e]=!0});var ra={text:vr,date:xr("date",/^(\d{4,})-(\d{2})-(\d{2})$/,br(/^(\d{4,})-(\d{2})-(\d{2})$/,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":xr("datetimelocal",Xo,br(Xo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:xr("time",ea,br(ea,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:xr("week",Qo,_r,"yyyy-Www"),month:xr("month",/^(\d{4,})-(\d\d)$/,br(/^(\d{4,})-(\d\d)$/,["yyyy","MM"]),"yyyy-MM"),number:Tr,url:Mr,email:Dr,radio:Lr,range:Ar,checkbox:jr,hidden:p,button:p,submit:p,reset:p,file:p},ia=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(ra[Ur(a.type)]||ra.text)(i,o,a,s[0],t,e,n,r)}}}}],oa=/^(true|false|\d+)$/,aa=function(){function e(e,t,n){e.prop("value",n),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return oa.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},sa=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=me(e)})}}}}],la=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ca=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],ua=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),fa=Fr("",!0),da=Fr("Odd",0),pa=Fr("Even",1),ha=ur({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),ma=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ga={},va={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=_t("ng-"+e);ga[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};va[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ya=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,l,c;n.$watch(i.ngIf,function(n){n?l||a(function(n,o){l=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=pe(s.clone),e.leave(c).done(function(e){!1!==e&&(c=null)}),s=null))})}}}],_a=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ni.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,l,c,u){var f,d,p,h=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).done(function(e){!1!==e&&(d=null)}),d=p,p=null)};r.$watch(o,function(o){var l=function(e){!1===e||!y(s)||s&&!r.$eval(s)||t()},d=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===h){var t=r.$new();c.template=e;var s=u(t,function(e){m(),n.enter(e,null,i).done(l)});f=t,p=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===h&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),c.template=null)})}}}}],ba=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(Qr.call(r[0]).match(/SVG/))return r.empty(),void t(Te(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],xa=ur({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),wa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?si(o):o,l=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?si(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){if(oi(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},ka="ng-valid",$a="ng-invalid",Ca="ng-pristine",Sa="ng-dirty",Ea=t("ngModel");Pr.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Pr.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return $(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){$(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}
|
||
}else if(!this.$$parsedNgModel.assign)throw Ea("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,J(this.$$element))},$render:p,$isEmpty:function(e){return v(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Sa),this.$$animate.addClass(this.$$element,Ca)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ca),this.$$animate.addClass(this.$$element,Sa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ii(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(e,t){a===s.$$currentValidationRunId&&s.$setValidity(e,t)}function o(e){a===s.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;return function(){var e=s.$$parserName||"parse";return v(s.$$parserValid)?(i(e,null),!0):(s.$$parserValid||(r(s.$validators,function(e,t){i(t,null)}),r(s.$asyncValidators,function(e,t){i(t,null)})),i(e,s.$$parserValid),s.$$parserValid)}()&&function(){var n=!0;return r(s.$validators,function(r,o){var a=Boolean(r(e,t));n=n&&a,i(o,a)}),!!n||(r(s.$asyncValidators,function(e,t){i(t,null)}),!1)}()?void function(){var n=[],a=!0;r(s.$asyncValidators,function(r,o){var s=r(e,t);if(!L(s))throw Ea("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);i(o,void 0),n.push(s.then(function(){i(o,!0)},function(){a=!1,i(o,!1)}))}),n.length?s.$$q.all(n).then(function(){o(a)},p):o(!0)}():void o(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!v(n)||void 0,this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),v(n)){this.$$parserValid=!1;break}ii(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var o=this.$modelValue,a=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,a&&(this.$modelValue=n,e()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(t){a||(r.$modelValue=t?n:void 0,e())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),r(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");w(t[e])?t=t[e]:w(t.default)&&(t=t.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},hr({clazz:Pr,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Ta,Aa=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Pr,priority:1,compile:function(t){return t.addClass(Ca).addClass("ng-untouched").addClass(ka),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}];Ir.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=c({},e),r(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=si(n.replace(/(\s+|^)default(\s+|$)/,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],qr(e,this.$$options)),qr(e,Ta.$$options),new Ir(e)}},Ta=new Ir({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ma=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Ta,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Da=ur({terminal:!0,priority:1e3}),La=t("ngOptions"),Oa=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,ja=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!c&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Oa);if(!s)throw La("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,J(t));var l=s[5]||s[7],c=s[6],u=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:l),p=u&&o(u),h=p||d,m=f&&o(f),g=f?function(e,t){return m(r,t)}:function(e){return et(e)},v=function(e,t){return g(e,k(e,t))},y=o(s[2]||s[1]),_=o(s[3]||""),b=o(s[4]||""),x=o(s[8]),w={},k=c?function(e,t){return w[c]=t,w[l]=e,w}:function(e){return w[l]=e,w};return{trackBy:f,getTrackByValue:v,getWatchables:o(x,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;o<i;o++){var l=e===n?o:n[o],c=e[l],u=k(c,l),f=g(c,u);if(t.push(f),s[2]||s[1]){var d=y(r,u);t.push(d)}if(s[4]){var p=b(r,u);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},n=x(r)||[],o=a(n),s=o.length,l=0;l<s;l++){var c=n===o?l:o[l],u=n[c],d=k(u,c),p=h(r,d),m=g(p,d),w=y(r,d),$=_(r,d),C=b(r,d),S=new i(m,p,w,$,C);e.push(S),t[m]=S}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?z(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function u(e,t){var n=l.cloneNode(!1);t.appendChild(n),d(e,n)}function f(e){var t=w.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}function d(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}function p(){var e=w&&h.readValue();if(w)for(var t=w.items.length-1;t>=0;t--){var r=w.items[t];We(y(r.group)?r.element.parentNode:r.element)}w=k.getOptions();var i={};if(x&&n.prepend(h.emptyOption),w.items.forEach(function(e){var t;y(e.group)?(t=i[e.group],t||(t=c.cloneNode(!1),$.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),u(e,t)):u(e,$)}),n[0].appendChild($),m.$render(),!m.$isEmpty(e)){var o=h.readValue();(k.trackBy||g?R(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h=s[0],m=s[1],g=o.multiple,v=0,_=n.children(),b=_.length;v<b;v++)if(""===_[v].value){h.hasEmptyOption=!0,h.emptyOption=_.eq(v);break}var x=!!h.emptyOption;Yr(l.cloneNode(!1)).val("?");var w,k=a(o.ngOptions,n,e),$=i[0].createDocumentFragment();h.generateUnknownOptionValue=function(e){return"?"},g?(h.writeValue=function(e){var t=e&&e.map(f)||[];w.items.forEach(function(e){e.element.selected&&!I(t,e)&&(e.element.selected=!1)})},h.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=w.selectValueMap[e];n&&!n.disabled&&t.push(w.getViewValueFromOption(n))}),t},k.trackBy&&e.$watchCollection(function(){if(oi(m.$viewValue))return m.$viewValue.map(function(e){return k.getTrackByValue(e)})},function(){m.$render()})):(h.writeValue=function(e){var t=w.selectValueMap[n.val()],r=w.getOptionFromViewValue(e);t&&t.element.removeAttribute("selected"),r?(n[0].value!==r.selectValue&&(h.removeUnknownOption(),h.unselectEmptyOption(),n[0].value=r.selectValue,r.element.selected=!0),r.element.setAttribute("selected","selected")):x?h.selectEmptyOption():h.unknownOption.parent().length?h.updateUnknownOption(e):h.renderUnknownOption(e)},h.readValue=function(){var e=w.selectValueMap[n.val()];return e&&!e.disabled?(h.unselectEmptyOption(),h.removeUnknownOption(),w.getViewValueFromOption(e)):null},k.trackBy&&e.$watch(function(){return k.getTrackByValue(m.$viewValue)},function(){m.$render()})),x&&(h.emptyOption.remove(),t(h.emptyOption)(e),h.emptyOption[0].nodeType===yi?(h.hasEmptyOption=!1,h.registerOption=function(e,t){""===t.val()&&(h.hasEmptyOption=!0,h.emptyOption=t,h.emptyOption.removeClass("ng-scope"),m.$render(),t.on("$destroy",function(){h.hasEmptyOption=!1,h.emptyOption=void 0}))}):h.emptyOption.removeClass("ng-scope")),n.empty(),p(),e.$watchCollection(k.getWatchables,p)}var l=e.document.createElement("option"),c=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=p},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/^when(Minus)?(.+)$/;return{link:function(o,a,s){function l(e){a.text(e||"")}var c,u=s.count,f=s.$attr.when&&a.attr(s.$attr.when),d=s.offset||0,h=o.$eval(f)||{},m={},g=t.startSymbol(),y=t.endSymbol(),_=g+u+"-"+d+y,b=ni.noop;r(s,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ur(n[2]);h[r]=a.attr(s.$attr[t])}}),r(h,function(e,n){m[n]=t(e.replace(/{}/g,_))}),o.$watch(u,function(t){var r=parseFloat(t),i=ii(r);if(i||r in h||(r=e.pluralCat(r-d)),!(r===c||i&&ii(c))){b();var a=m[r];v(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+f),b=p,l()):b=o.$watch(a,l),c=r}})}}}],Pa=["$parse","$animate","$compile",function(e,i,o){var a=t("ngRepeat"),s=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,u){var f=u.ngRepeat,d=o.$$createComment("end ngRepeat",f),p=f.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw a("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",f);var h=p[1],m=p[2],g=p[3],v=p[4];if(!(p=h.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw a("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",h);var y=p[3]||p[1],_=p[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw a("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var b,x,w,k,$={$id:et};return v?b=e(v):(w=function(e,t){return et(t)},k=function(e){return e}),function(e,t,o,u,p){b&&(x=function(t,n,r){return _&&($[_]=t),$[y]=n,$.$index=r,b(e,$)});var h=he();e.$watchCollection(m,function(o){var u,m,v,b,$,C,S,E,T,A,M,D,L=t[0],O=he();if(g&&(e[g]=o),n(o))T=o,E=x||w;else{E=x||k,T=[];for(var j in o)Rr.call(o,j)&&"$"!==j.charAt(0)&&T.push(j)}for(b=T.length,M=new Array(b),u=0;u<b;u++)if($=o===T?u:T[u],C=o[$],S=E($,C,u),h[S])A=h[S],delete h[S],O[S]=A,M[u]=A;else{if(O[S])throw r(M,function(e){e&&e.scope&&(h[e.id]=e)}),a("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",f,S,C);M[u]={id:S,scope:void 0,clone:void 0},O[S]=!0}for(var F in h){if(A=h[F],D=pe(A.clone),i.leave(D),D[0].parentNode)for(u=0,m=D.length;u<m;u++)D[u].$$NG_REMOVED=!0;A.scope.$destroy()}for(u=0;u<b;u++)if($=o===T?u:T[u],C=o[$],A=M[u],A.scope){v=L;do{v=v.nextSibling}while(v&&v.$$NG_REMOVED);l(A)!==v&&i.move(pe(A.clone),null,L),L=c(A),s(A.scope,u,y,C,_,$,b)}else p(function(e,t){A.scope=t;var n=d.cloneNode(!1);e[e.length++]=n,i.enter(e,null,L),L=n,A.clone=e,O[A.id]=A,s(A.scope,u,y,C,_,$,b)});h=O})}}}}],Na=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Ia=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],qa=ur(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),za=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,l=[],c=[],u=[],f=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(s,function(n){for(var i,o;u.length;)e.cancel(u.pop());for(i=0,o=f.length;i<o;++i){var s=pe(c[i].clone);f[i].$destroy();(u[i]=e.leave(s)).done(d(u,i))}c.length=0,f.length=0,(l=a.cases["!"+n]||a.cases["?"])&&r(l,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};c.push(a),e.enter(r,o.parent(),o)})})})}}}],Ra=ur({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,o){r(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){i.cases["!"+e]=i.cases["!"+e]||[],i.cases["!"+e].push({transclude:o,element:t})})}}),Ua=ur({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ba=t("ngTransclude"),Ha=["$compile",function(e){return{restrict:"EAC",terminal:!0,compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){function a(e,n){e.length&&l(e)?t.append(e):(s(),n.$destroy())}function s(){n(e,function(e){t.append(e)})}function l(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==vi||r.nodeValue.trim())return!0}}if(!o)throw Ba("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var c=r.ngTransclude||r.ngTranscludeSlot;o(a,null,c),c&&!o.isSlotFilled(c)&&s()}}}}],Wa=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Va={$setViewValue:p,$render:p},Ya=["$element","$scope",function(t,n){function r(){l||(l=!0,n.$$postDigest(function(){l=!1,a.ngModelCtrl.$render()}))}function i(e){c||(c=!0,n.$$postDigest(function(){n.$$destroyed||(c=!1,a.ngModelCtrl.$setViewValue(a.readValue()),e&&a.ngModelCtrl.$render())}))}function o(e){e.prop("selected",!0),e.attr("selected",!0)}var a=this,s=new tt;a.selectValueMap={},a.ngModelCtrl=Va,a.multiple=!1,a.unknownOption=Yr(e.document.createElement("option")),a.hasEmptyOption=!1,a.emptyOption=void 0,a.renderUnknownOption=function(e){var n=a.generateUnknownOptionValue(e);a.unknownOption.val(n),t.prepend(a.unknownOption),o(a.unknownOption),t.val(n)},a.updateUnknownOption=function(e){var n=a.generateUnknownOptionValue(e);a.unknownOption.val(n),o(a.unknownOption),t.val(n)},a.generateUnknownOptionValue=function(e){return"? "+et(e)+" ?"},a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.selectEmptyOption=function(){a.emptyOption&&(t.val(""),o(a.emptyOption))},a.unselectEmptyOption=function(){a.hasEmptyOption&&a.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){a.renderUnknownOption=p}),a.readValue=function(){var e=t.val(),n=e in a.selectValueMap?a.selectValueMap[e]:e;return a.hasOption(n)?n:null},a.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&n.removeAttribute("selected"),a.hasOption(e)){a.removeUnknownOption();var r=et(e);t.val(r in a.selectValueMap?r:e);var i=t[0].options[t[0].selectedIndex];o(Yr(i))}else null==e&&a.emptyOption?(a.removeUnknownOption(),a.selectEmptyOption()):a.unknownOption.parent().length?a.updateUnknownOption(e):a.renderUnknownOption(e)},a.addOption=function(e,t){if(t[0].nodeType!==yi){fe(e,'"option value"'),""===e&&(a.hasEmptyOption=!0,a.emptyOption=t);var n=s.get(e)||0;s.put(e,n+1),r()}},a.removeOption=function(e){var t=s.get(e);t&&(1===t?(s.remove(e),""===e&&(a.hasEmptyOption=!1,a.emptyOption=void 0)):s.put(e,t-1))},a.hasOption=function(e){return!!s.get(e)};var l=!1,c=!1;a.registerOption=function(e,t,n,r,o){if(n.$attr.ngValue){var s,l=NaN;n.$observe("value",function(e){var n,r=t.prop("selected");y(l)&&(a.removeOption(s),delete a.selectValueMap[l],n=!0),l=et(e),s=e,a.selectValueMap[l]=e,a.addOption(e,t),t.attr("value",l),n&&r&&i()})}else r?n.$observe("value",function(e){a.readValue();var n,r=t.prop("selected");y(s)&&(a.removeOption(s),n=!0),s=e,a.addOption(e,t),n&&r&&i()}):o?e.$watch(o,function(e,r){n.$set("value",e);var o=t.prop("selected");r!==e&&a.removeOption(r),a.addOption(e,t),r&&o&&i()}):a.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(a.multiple?i(!0):(a.ngModelCtrl.$setViewValue(null),a.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=a.readValue(),t=n.value;a.removeOption(t),a.ngModelCtrl.$render(),(a.multiple&&e&&-1!==e.indexOf(t)||e===t)&&i(!0)})}}],Ga=function(){function e(e,t,n,i){var o=i[0],a=i[1];if(!a)return void(o.registerOption=p);if(o.ngModelCtrl=a,t.on("change",function(){o.removeUnknownOption(),e.$apply(function(){a.$setViewValue(o.readValue())})}),n.multiple){o.multiple=!0,o.readValue=function(){var e=[];return r(t.find("option"),function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in o.selectValueMap?o.selectValueMap[n]:n)}}),e},o.writeValue=function(e){var n=new tt(e);r(t.find("option"),function(e){e.selected=y(n.get(e.value))||y(n.get(o.selectValueMap[e.value]))})};var s,l=NaN;e.$watch(function(){l!==a.$viewValue||R(s,a.$viewValue)||(s=ve(a.$viewValue),a.$render()),l=a.$viewValue}),a.$isEmpty=function(e){return!e||0===e.length}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ya,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return y(n.ngValue)||(y(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(e,t,n,r,i)}}}}],Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(x(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=ii(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},Qa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};if(e.angular.bootstrap)return void(e.console&&console.log("WARNING: Tried to load angular more than once."));!function(){var t;if(!mi){var n=ui();Gr=v(n)?e.jQuery:n?e[n]:void 0,Gr&&Gr.fn.on?(Yr=Gr,c(Gr.fn,{scope:ji.scope,isolateScope:ji.isolateScope,controller:ji.controller,injector:ji.injector,inheritedData:ji.inheritedData}),t=Gr.cleanData,Gr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=Gr._data(r,"events"))&&n.$destroy&&Gr(r).triggerHandler("$destroy");t(e)}):Yr=De,ni.element=Yr,mi=!0}}(),function(n){c(n,{bootstrap:oe,copy:z,extend:c,merge:u,equals:R,element:Yr,forEach:r,injector:at,noop:p,bind:H,toJson:V,fromJson:Y,identity:h,isUndefined:v,isDefined:y,isString:x,isFunction:$,isObject:_,isNumber:w,isElement:F,isArray:oi,version:xi,isDate:k,lowercase:Ur,uppercase:Br,callbacks:{$$counter:0},getTestability:se,reloadWithDebugInfo:ae,$$minErr:t,$$csp:ci,$$encodeUriSegment:te,$$encodeUriQuery:ne,$$stringify:me}),(Zr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:$n}),e.provider("$compile",vt).directive({a:Ro,input:ia,textarea:ia,form:Vo,script:Wa,select:Ga,option:Za,ngBind:sa,ngBindHtml:ca,ngBindTemplate:la,ngClass:fa,ngClassEven:pa,ngClassOdd:da,ngCloak:ha,ngController:ma,ngForm:Yo,ngHide:Ia,ngIf:ya,ngInclude:_a,ngInit:xa,ngNonBindable:Da,ngPluralize:Fa,ngRepeat:Pa,ngShow:Na,ngStyle:qa,ngSwitch:za,ngSwitchWhen:Ra,ngSwitchDefault:Ua,ngOptions:ja,ngTransclude:Ha,ngModel:Aa,ngList:wa,ngChange:ua,pattern:Ja,ngPattern:Ja,required:Ka,ngRequired:Ka,minlength:Qa,ngMinlength:Qa,maxlength:Xa,ngMaxlength:Xa,ngValue:aa,ngModelOptions:Ma}).directive({ngInclude:ba}).directive(Uo).directive(ga),e.provider({$anchorScroll:st,$animate:Zi,$animateCss:Xi,$$animateJs:Yi,$$animateQueue:Gi,$$AnimateRunner:Ji,$$animateAsyncRun:Ki,$browser:pt,$cacheFactory:ht,$controller:kt,$document:$t,$$isDocumentHidden:Ct,$exceptionHandler:St,$filter:qn,$$forceReflow:oo,$interpolate:zt,$interval:Rt,$http:Pt,$httpParamSerializer:Tt,$httpParamSerializerJQLike:At,$httpBackend:It,$xhrFactory:Nt,$jsonpCallbacks:ho,$location:nn,$log:rn,$parse:yn,$rootScope:kn,$q:_n,$$q:bn,$sce:An,$sceDelegate:Tn,$sniffer:Mn,$templateCache:mt,$templateRequest:Dn,$$testability:Ln,$timeout:On,$window:Pn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ii,$$cookieReader:In})}])}(ni),ni.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r);return{v:r,f:(e*i|0)%i}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),Yr(function(){ie(e.document,oe)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){t.exports=e("./lib/axios")},{"./lib/axios":12}],11:[function(e,t,n){"use strict";var r=e("./../utils"),i=e("./../core/settle"),o=e("./../helpers/buildURL"),a=e("./../helpers/parseHeaders"),s=e("./../helpers/isURLSameOrigin"),l=e("../core/createError"),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||e("./../helpers/btoa");t.exports=function(t){return new Promise(function(n,u){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var g=t.auth.username||"",v=t.auth.password||"";d.Authorization="Basic "+c(g+":"+v)}if(p.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?p.response:p.responseText,o={data:r,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:e,config:t,request:p};i(n,u,o),p=null}},p.onerror=function(){u(l("Network Error",t)),p=null},p.ontimeout=function(){u(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),p=null},r.isStandardBrowserEnv()){var y=e("./../helpers/cookies"),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(d[t.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(e){p&&(p.abort(),u(e),p=null)}),void 0===f&&(f=null),p.send(f)})}},{"../core/createError":18,"./../core/settle":21,"./../helpers/btoa":25,"./../helpers/buildURL":26,"./../helpers/cookies":28,"./../helpers/isURLSameOrigin":30,"./../helpers/parseHeaders":32,"./../utils":34}],12:[function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=e("./utils"),o=e("./helpers/bind"),a=e("./core/Axios"),s=e("./defaults"),l=r(s);l.Axios=a,l.create=function(e){return r(i.merge(s,e))},l.Cancel=e("./cancel/Cancel"),l.CancelToken=e("./cancel/CancelToken"),l.isCancel=e("./cancel/isCancel"),l.all=function(e){return Promise.all(e)},l.spread=e("./helpers/spread"),t.exports=l,t.exports.default=l},{"./cancel/Cancel":13,"./cancel/CancelToken":14,"./cancel/isCancel":15,"./core/Axios":16,"./defaults":23,"./helpers/bind":24,"./helpers/spread":33,"./utils":34}],13:[function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},{}],14:[function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=e("./Cancel");r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r},{"./Cancel":13}],15:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.__CANCEL__)}},{}],16:[function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=e("./../defaults"),o=e("./../utils"),a=e("./InterceptorManager"),s=e("./dispatchRequest"),l=e("./../helpers/isAbsoluteURL"),c=e("./../helpers/combineURLs");r.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),e=o.merge(i,this.defaults,{method:"get"},e),e.baseURL&&!l(e.url)&&(e.url=c(e.baseURL,e.url));var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),t.exports=r},{"./../defaults":23,"./../helpers/combineURLs":27,"./../helpers/isAbsoluteURL":29,"./../utils":34,"./InterceptorManager":17,"./dispatchRequest":19}],17:[function(e,t,n){"use strict";function r(){this.handlers=[]}var i=e("./../utils");r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=r},{"./../utils":34}],18:[function(e,t,n){"use strict";var r=e("./enhanceError");t.exports=function(e,t,n,i){var o=new Error(e);return r(o,t,n,i)}},{"./enhanceError":20}],19:[function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=e("./../utils"),o=e("./transformData"),a=e("../cancel/isCancel"),s=e("../defaults");t.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},{"../cancel/isCancel":15,"../defaults":23,"./../utils":34,"./transformData":22}],20:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){return e.config=t,n&&(e.code=n),e.response=r,e}},{}],21:[function(e,t,n){"use strict";var r=e("./createError");t.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n)):e(n)}},{"./createError":18}],22:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},{"./../utils":34}],23:[function(e,t,n){
|
||
(function(n){"use strict";function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=e("./utils"),o=e("./helpers/normalizeHeaderName"),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=e("./adapters/xhr"):void 0!==n&&(t=e("./adapters/http")),t}(),transformRequest:[function(e,t){return o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),t.exports=s}).call(this,e("_process"))},{"./adapters/http":11,"./adapters/xhr":11,"./helpers/normalizeHeaderName":31,"./utils":34,_process:422}],24:[function(e,t,n){"use strict";t.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},{}],25:[function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function i(e){for(var t,n,i=String(e),a="",s=0,l=o;i.charAt(0|s)||(l="=",s%1);a+=l.charAt(63&t>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},{}],26:[function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=e("./../utils");t.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},{"./../utils":34}],27:[function(e,t,n){"use strict";t.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},{}],28:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},{"./../utils":34}],29:[function(e,t,n){"use strict";t.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},{}],30:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},{"./../utils":34}],31:[function(e,t,n){"use strict";var r=e("../utils");t.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},{"../utils":34}],32:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e){var t,n,i,o={};return e?(r.forEach(e.split("\n"),function(e){i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}},{"./../utils":34}],33:[function(e,t,n){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],34:[function(e,t,n){(function(n){"use strict";function r(e){return"[object Array]"===$.call(e)}function i(e){return void 0!==n&&n.isBuffer&&n.isBuffer(e)}function o(e){return"[object ArrayBuffer]"===$.call(e)}function a(e){return"undefined"!=typeof FormData&&e instanceof FormData}function s(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function l(e){return"string"==typeof e}function c(e){return"number"==typeof e}function u(e){return void 0===e}function f(e){return null!==e&&"object"==typeof e}function d(e){return"[object Date]"===$.call(e)}function p(e){return"[object File]"===$.call(e)}function h(e){return"[object Blob]"===$.call(e)}function m(e){return"[object Function]"===$.call(e)}function g(e){return f(e)&&m(e.pipe)}function v(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function y(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||r(e)||(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function x(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=x(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function w(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?k(t,n):t}),e}var k=e("./helpers/bind"),$=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:o,isBuffer:i,isFormData:a,isArrayBufferView:s,isString:l,isNumber:c,isObject:f,isUndefined:u,isDate:d,isFile:p,isBlob:h,isFunction:m,isStream:g,isURLSearchParams:v,isStandardBrowserEnv:_,forEach:b,merge:x,extend:w,trim:y}}).call(this,e("buffer").Buffer)},{"./helpers/bind":24,buffer:37}],35:[function(e,t,n){(function(t){"use strict";function n(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(e("core-js/shim"),e("regenerator-runtime/runtime"),e("core-js/fn/regexp/escape"),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";n(String.prototype,"padLeft","".padStart),n(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]&&n(Array,e,Function.call.bind([][e]))})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"core-js/fn/regexp/escape":59,"core-js/shim":352,"regenerator-runtime/runtime":424}],36:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return 3*e.length/4-r(e)}function o(e){var t,n,i,o,a,s,l=e.length;a=r(e),s=new f(3*l/4-a),i=a>0?l-4:l;var c=0;for(t=0,n=0;t<i;t+=4,n+=3)o=u[e.charCodeAt(t)]<<18|u[e.charCodeAt(t+1)]<<12|u[e.charCodeAt(t+2)]<<6|u[e.charCodeAt(t+3)],s[c++]=o>>16&255,s[c++]=o>>8&255,s[c++]=255&o;return 2===a?(o=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[c++]=255&o):1===a&&(o=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[c++]=o>>8&255,s[c++]=255&o),s}function a(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function s(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(a(r));return i.join("")}function l(e){for(var t,n=e.length,r=n%3,i="",o=[],a=0,l=n-r;a<l;a+=16383)o.push(s(e,a,a+16383>l?l:a+16383));return 1===r?(t=e[n-1],i+=c[t>>2],i+=c[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=c[t>>10],i+=c[t>>4&63],i+=c[t<<2&63],i+="="),o.push(i),o.join("")}n.byteLength=i,n.toByteArray=o,n.fromByteArray=l;for(var c=[],u=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=d.length;p<h;++p)c[p]=d[p],u[d.charCodeAt(p)]=p;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},{}],37:[function(e,t,n){"use strict";function r(e){if(e>Z)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=i.prototype,t}function i(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(e)}return o(e,t,n)}function o(e,t,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return e instanceof ArrayBuffer?f(e,t,n):"string"==typeof e?c(e,t):d(e)}function a(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t,n){return a(e),e<=0?r(e):void 0!==t?"string"==typeof n?r(e).fill(t,n):r(e).fill(t):r(e)}function l(e){return a(e),r(e<0?0:0|p(e))}function c(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(e,t),o=r(n),a=o.write(e,t);return a!==n&&(o=o.slice(0,a)),o}function u(e){for(var t=e.length<0?0:0|p(e.length),n=r(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(n||0))throw new RangeError("'length' is out of bounds");var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),r.__proto__=i.prototype,r}function d(e){if(i.isBuffer(e)){var t=0|p(e.length),n=r(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(e){if(W(e)||"length"in e)return"number"!=typeof e.length||V(e.length)?r(0):u(e);if("Buffer"===e.type&&Array.isArray(e.data))return u(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function p(e){if(e>=Z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Z.toString(16)+" bytes");return 0|e}function h(e){return+e!=e&&(e=0),i.alloc(+e)}function m(e,t){if(i.isBuffer(e))return e.length;if(W(e)||e instanceof ArrayBuffer)return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return M(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,V(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}var c;if(i){var u=-1;for(c=n;c<s;c++)if(o(e,c)===o(t,-1===u?0:c-u)){if(-1===u&&(u=c),c-u+1===l)return u*a}else-1!==u&&(c-=c-u),u=-1}else for(n+l>s&&(n=s-l),c=n;c>=0;c--){for(var f=!0,d=0;d<l;d++)if(o(e,c+d)!==o(t,d)){f=!1;break}if(f)return c}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(V(s))return a;e[n+a]=s}return a}function x(e,t,n,r){return H(z(t,e.length-n),e,n,r)}function w(e,t,n,r){return H(R(t),e,n,r)}function k(e,t,n,r){return w(e,t,n,r)}function $(e,t,n,r){return H(B(t),e,n,r)}function C(e,t,n,r){return H(U(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?Y.fromByteArray(e):Y.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var l,c,u,f;switch(s){case 1:o<128&&(a=o);break;case 2:l=e[i+1],128==(192&l)&&(f=(31&o)<<6|63&l)>127&&(a=f);break;case 3:l=e[i+1],c=e[i+2],128==(192&l)&&128==(192&c)&&(f=(15&o)<<12|(63&l)<<6|63&c)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:l=e[i+1],c=e[i+2],u=e[i+3],128==(192&l)&&128==(192&c)&&128==(192&u)&&(f=(15&o)<<18|(63&l)<<12|(63&c)<<6|63&u)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return T(r)}function T(e){var t=e.length;if(t<=K)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=K));return n}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function M(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=q(e[o]);return i}function L(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function O(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function F(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,i){return t=+t,n>>>=0,i||F(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,i){return t=+t,n>>>=0,i||F(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(e,t,n,r,52,8),n+8}function I(e){if(e=e.trim().replace(J,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function R(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function U(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function B(e){return Y.toByteArray(I(e))}function H(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function W(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function V(e){return e!==e}var Y=e("base64-js"),G=e("ieee754");n.Buffer=i,n.SlowBuffer=h,n.INSPECT_MAX_BYTES=50;var Z=2147483647;n.kMaxLength=Z,i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),i.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(e,t,n){return o(e,t,n)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(e,t,n){return s(e,t,n)},i.allocUnsafe=function(e){return l(e)},i.allocUnsafeSlow=function(e){return l(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},i.byteLength=m,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):g.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,s=n-t,l=Math.min(a,s),c=this.slice(r,o),u=e.slice(t,n),f=0;f<l;++f)if(c[f]!==u[f]){a=c[f],s=u[f];break}return a<s?-1:s<a?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return $(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var K=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=i.prototype,r},i.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},i.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},i.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},i.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),G.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),G.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),G.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),G.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){j(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){j(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);j(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);j(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},i.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=i.isBuffer(e)?e:new i(e,r),l=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%l]}return this};var J=/[^+\/0-9A-Za-z-_]/g},{"base64-js":36,ieee754:359}],38:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","select"],i);else if(void 0!==n)i(t,e("select"));else{var o={exports:{}};i(o,r.select),r.clipboardAction=o.exports}}(this,function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(e){return e&&e.__esModule?e:{default:e}}(t),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},o=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=function(){function e(t){n(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})},{select:425}],39:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if(void 0!==n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(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 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 l(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var c=i(t),u=i(n),f=i(r),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},p=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}}(),h=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return s(t,e),p(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===d(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,f.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return l("action",e)}},{key:"defaultTarget",value:function(e){var t=l("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return l("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}(u.default);e.exports=h})},{"./clipboard-action":38,"good-listener":358,"tiny-emitter":427}],40:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.CodeMirror=r()}(this,function(){"use strict";function e(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function t(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function n(e,n){return t(e).appendChild(n)}function r(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function i(e,t,n,i){var o=r(e,t,n,i);return o.setAttribute("role","presentation"),o}function o(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function a(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function s(t,n){var r=t.className;e(n).test(r)||(t.className+=(r?" ":"")+n)}function l(t,n){for(var r=t.split(" "),i=0;i<r.length;i++)r[i]&&!e(r[i]).test(n)&&(n+=" "+r[i]);return n}function c(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function u(e,t,n){t||(t={});for(var r in e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function f(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}function d(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}function p(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function h(e){for(;La.length<=e;)La.push(m(La)+" ");return La[e]}function m(e){return e[e.length-1]}function g(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function v(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function y(){}function _(e,t){var n;return Object.create?n=Object.create(e):(y.prototype=e,n=new y),t&&u(t,n),n}function b(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||Oa.test(e))}function x(e,t){return t?!!(t.source.indexOf("\\w")>-1&&b(e))||t.test(e):b(e)}function w(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function k(e){return e.charCodeAt(0)>=768&&ja.test(e)}function $(e,t,n){for(;(n<0?t>0:t<e.length)&&k(e.charAt(t));)t+=n;return t}function C(e,t,n){for(;;){if(Math.abs(t-n)<=1)return e(t)?t:n;var r=Math.floor((t+n)/2);e(r)?n=r:t=r}}function S(e,t,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=i("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=i("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var a=i("div",[o.lineSpace],"CodeMirror-lines");o.mover=r("div",[a],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+Ea+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),ra&&ia<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),oa||Qo&&ha||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function E(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function T(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function A(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function M(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function D(e){if(null==e.parent)return null;for(var t=e.parent,n=d(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function L(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return n+a}function O(e,t){return t>=e.first&&t<e.first+e.size}function j(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function F(e,t,n){if(void 0===n&&(n=null),!(this instanceof F))return new F(e,t,n);this.line=e,this.ch=t,this.sticky=n}function P(e,t){return e.line-t.line||e.ch-t.ch}function N(e,t){return e.sticky==t.sticky&&0==P(e,t)}function I(e){return F(e.line,e.ch)}function q(e,t){return P(e,t)<0?t:e}function z(e,t){return P(e,t)<0?e:t}function R(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function U(e,t){if(t.line<e.first)return F(e.first,0);var n=e.first+e.size-1;return t.line>n?F(n,E(e,n).text.length):B(t,E(e,t.line).text.length)}function B(e,t){var n=e.ch;return null==n||n>t?F(e.line,t):n<0?F(e.line,0):e}function H(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=U(e,t[r]);return n}function W(){Fa=!0}function V(){Pa=!0}function Y(e,t,n){this.marker=e,this.from=t,this.to=n}function G(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Z(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function K(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function J(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Y(a,o.from,l?null:o.to))}}return r}function X(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Y(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Q(e,t){if(t.full)return null;var n=O(e,t.from.line)&&E(e,t.from.line).markedSpans,r=O(e,t.to.line)&&E(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==P(t.from,t.to),s=J(n,i,a),l=X(r,o,a),c=1==t.text.length,u=m(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var d=s[f];if(null==d.to){var p=G(l,d.marker);p?c&&(d.to=null==p.to?null:p.to+u):d.to=i}}if(l)for(var h=0;h<l.length;++h){var g=l[h];if(null!=g.to&&(g.to+=u),null==g.from){var v=G(s,g.marker);v||(g.from=u,c&&(s||(s=[])).push(g))}else g.from+=u,c&&(s||(s=[])).push(g)}s&&(s=ee(s)),l&&l!=s&&(l=ee(l));var y=[s];if(!c){var _,b=t.text.length-2;if(b>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(_||(_=[])).push(new Y(s[x].marker,null,null));for(var w=0;w<b;++w)y.push(_);y.push(l)}return y}function ee(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function te(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=d(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(P(c.to,s.from)<0||P(c.from,s.to)>0)){var u=[l,1],f=P(c.from,s.from),p=P(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function ne(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function re(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function ie(e){return e.inclusiveLeft?-1:0}function oe(e){return e.inclusiveRight?1:0}function ae(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=P(r.from,i.from)||ie(e)-ie(t);if(o)return-o;var a=P(r.to,i.to)||oe(e)-oe(t);return a||t.id-e.id}function se(e,t){var n,r=Pa&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!n||ae(n,i.marker)<0)&&(n=i.marker);return n}function le(e){return se(e,!0)}function ce(e){return se(e,!1)}function ue(e,t,n,r,i){var o=E(e,t),a=Pa&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=P(c.from,n)||ie(l.marker)-ie(i),f=P(c.to,r)||oe(l.marker)-oe(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?P(c.to,n)>=0:P(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?P(c.from,r)<=0:P(c.from,r)<0)))return!0}}}function fe(e){for(var t;t=le(e);)e=t.find(-1,!0).line;return e}function de(e){for(var t;t=ce(e);)e=t.find(1,!0).line;return e}function pe(e){for(var t,n;t=ce(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function he(e,t){var n=E(e,t),r=fe(n);return n==r?t:D(r)}function me(e,t){if(t>e.lastLine())return t;var n,r=E(e,t);if(!ge(e,r))return t;for(;n=ce(r);)r=n.find(1,!0).line;return D(r)+1}function ge(e,t){var n=Pa&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&ve(e,t,r))return!0}}function ve(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return ve(e,r.line,G(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&ve(e,t,i))return!0}function ye(e){e=fe(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function _e(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=le(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=ce(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function be(e){var t=e.display,n=e.doc;t.maxLine=E(n,n.first),t.maxLineLength=_e(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=_e(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function xe(e,t,n,r){if(!e)return r(t,n,"ltr");for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}function we(e,t,n){var r;Na=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:Na=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:Na=i)}return null!=r?r:Na}function ke(e,t){var n=e.order;return null==n&&(n=e.order=Ia(e.text,t)),n}function $e(e,t,n){var r=$(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Ce(e,t,n){var r=$e(e,t.ch,n);return null==r?null:new F(t.line,r,n<0?"after":"before")}function Se(e,t,n,r,i){if(e){var o=ke(n,t.doc.direction);if(o){var a,s=i<0?m(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0){var u=Kt(t,n);a=i<0?n.text.length-1:0;var f=Jt(t,u,a).top;a=C(function(e){return Jt(t,u,e).top==f},i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=$e(n,a,1))}else a=i<0?s.to:s.from;return new F(r,a,c)}}return new F(r,i<0?n.text.length:0,i<0?"before":"after")}function Ee(e,t,n,r){var i=ke(t,e.doc.direction);if(!i)return Ce(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=we(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Ce(t,n,r);var s,l=function(e,n){return $e(t,e instanceof F?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||Kt(e,t),gn(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var f=1==a.level==r<0,d=l(n,f?1:-1);if(null!=d&&(f?d<=a.to&&d<=u.end:d>=a.from&&d>=u.begin)){var p=f?"before":"after";return new F(n.line,d,p)}}var h=function(e,t,r){for(var o=function(e,t){return t?new F(n.line,l(e,1),"before"):new F(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,u);if(m)return m;var g=r>0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||!(m=h(r>0?0:i.length-1,r,c(g)))?null:m}function Te(e,t){return e._handlers&&e._handlers[t]||qa}function Ae(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=d(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function Me(e,t){var n=Te(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function De(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Me(e,n||t.type,e,t),Ne(t)||t.codemirrorIgnore}function Le(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==d(n,t[r])&&n.push(t[r])}function Oe(e,t){return Te(e,t).length>0}function je(e){e.prototype.on=function(e,t){za(this,e,t)},e.prototype.off=function(e,t){Ae(this,e,t)}}function Fe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Pe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ne(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ie(e){Fe(e),Pe(e)}function qe(e){return e.target||e.srcElement}function ze(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),ma&&e.ctrlKey&&1==t&&(t=3),t}function Re(e){if(null==Ca){var t=r("span","");n(e,r("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ca=t.offsetWidth<=1&&t.offsetHeight>2&&!(ra&&ia<8))}var i=Ca?r("span",""):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Ue(e){if(null!=Sa)return Sa;var r=n(e,document.createTextNode("AخA")),i=_a(r,0,1).getBoundingClientRect(),o=_a(r,1,2).getBoundingClientRect();return t(e),!(!i||i.left==i.right)&&(Sa=o.right-i.right<3)}function Be(e){if(null!=Wa)return Wa;var t=n(e,r("span","x")),i=t.getBoundingClientRect(),o=_a(t,0,1).getBoundingClientRect();return Wa=Math.abs(i.left-o.left)>1}function He(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Va[e]=t}function We(e,t){Ya[e]=t}function Ve(e){if("string"==typeof e&&Ya.hasOwnProperty(e))e=Ya[e];else if(e&&"string"==typeof e.name&&Ya.hasOwnProperty(e.name)){var t=Ya[e.name];"string"==typeof t&&(t={name:t}),e=_(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ve("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ve("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ye(e,t){t=Ve(t);var n=Va[t.name];if(!n)return Ye(e,"text/plain");var r=n(e,t);if(Ga.hasOwnProperty(t.name)){var i=Ga[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}function Ge(e,t){u(t,Ga.hasOwnProperty(e)?Ga[e]:Ga[e]={})}function Ze(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ke(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Je(e,t,n){return!e.startState||e.startState(t,n)}function Xe(e,t,n,r){var i=[e.state.modeGen],o={};at(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var a=0;a<e.state.overlays.length;++a)!function(n){var r=e.state.overlays[n],a=1,s=0;at(e,t.text,r.mode,!0,function(e,t){for(var n=a;s<e;){var o=i[a];o>e&&i.splice(a,1,e,i[a+1],o),a+=2,s=Math.min(e,o)}if(t)if(r.opaque)i.splice(n,a-n,e,"overlay "+t),a=n+2;else for(;n<a;n+=2){var l=i[n+1];i[n+1]=(l?l+" ":"")+"overlay "+t}},o)}(a);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Qe(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=et(e,D(t)),i=Xe(e,t,t.text.length>e.options.maxHighlightLength?Ze(e.doc.mode,r):r);t.stateAfter=r,t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function et(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0;var o=st(e,t,n),a=o>r.first&&E(r,o-1).stateAfter;return a=a?Ze(r.mode,a):Je(r.mode),r.iter(o,t,function(n){tt(e,n.text,a);var s=o==t-1||o%5==0||o>=i.viewFrom&&o<i.viewTo;n.stateAfter=s?Ze(r.mode,a):null,++o}),n&&(r.frontier=o),a}function tt(e,t,n,r){var i=e.doc.mode,o=new Za(t,e.options.tabSize);for(o.start=o.pos=r||0,""==t&&nt(i,n);!o.eol();)rt(i,o,n),o.start=o.pos}function nt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Ke(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function rt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Ke(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function it(e,t,n,r){var i,o=function(e){return{start:f.start,end:f.pos,string:f.current(),type:i||null,state:e?Ze(a.mode,u):u}},a=e.doc,s=a.mode;t=U(a,t);var l,c=E(a,t.line),u=et(e,t.line,n),f=new Za(c.text,e.options.tabSize);for(r&&(l=[]);(r||f.pos<t.ch)&&!f.eol();)f.start=f.pos,i=rt(s,f,u),r&&l.push(o(!0));return r?l:o()}function ot(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function at(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Za(t,e.options.tabSize),d=e.options.addModeClass&&[null];for(""==t&&ot(nt(n,r),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&tt(e,t,r,f.pos),f.pos=t.length,l=null):l=ot(rt(n,f,r,d),o),d){var p=d[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||u!=l){for(;c<f.start;)c=Math.min(f.start,c+5e3),i(c,u);u=l}f.start=f.pos}for(;c<f.pos;){var h=Math.min(f.pos,c+5e3);i(h,u),c=h}}function st(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=E(o,s-1);if(l.stateAfter&&(!n||s<=o.frontier))return s;var c=f(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}function lt(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),ne(e),re(e,n);var i=r?r(e):1;i!=e.height&&M(e,i)}function ct(e){e.parent=null,ne(e)}function ut(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Qa:Xa;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function ft(e,t){var n=i("span",null,null,oa?"padding-right: .1px":null),r={pre:i("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(ra||oa)&&e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var a=o?t.rest[o-1]:t.line,s=void 0;r.pos=0,r.addToken=pt,Ue(e.display.measure)&&(s=ke(a,e.doc.direction))&&(r.addToken=mt(r.addToken,s)),r.map=[];vt(a,r,Qe(e,a,t!=e.display.externalMeasured&&D(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=l(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=l(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Re(e.display.measure))),0==o?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(oa){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Me(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=l(r.pre.className,r.textClass||"")),r}function dt(e){var t=r("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function pt(e,t,n,i,o,a,s){if(t){var l,c=e.splitSpaces?ht(t,e.trailingSpace):t,u=e.cm.state.specialChars,f=!1;if(u.test(t)){l=document.createDocumentFragment();for(var d=0;;){u.lastIndex=d;var p=u.exec(t),m=p?p.index-d:t.length-d;if(m){var g=document.createTextNode(c.slice(d,d+m));ra&&ia<9?l.appendChild(r("span",[g])):l.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!p)break;d+=m+1;var v=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,_=y-e.col%y;v=l.appendChild(r("span",h(_),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=_}else"\r"==p[0]||"\n"==p[0]?(v=l.appendChild(r("span","\r"==p[0]?"␍":"","cm-invalidchar")),v.setAttribute("cm-text",p[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(p[0]),v.setAttribute("cm-text",p[0]),ra&&ia<9?l.appendChild(r("span",[v])):l.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,l=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,l),ra&&ia<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||i||o||f||s){var b=n||"";i&&(b+=i),o&&(b+=o);var x=r("span",[l],b,s);return a&&(x.title=a),e.content.appendChild(x)}e.content.appendChild(l)}}function ht(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function mt(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var f=void 0,d=0;d<t.length&&(f=t[d],!(f.to>c&&f.from<=c));d++);if(f.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function gt(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function vt(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,f,d,p=i.length,h=0,m=1,g="",v=0;;){if(v==h){l=c=u=f=s="",d=null,v=1/0;for(var y=[],_=void 0,b=0;b<r.length;++b){var x=r[b],w=x.marker;"bookmark"==w.type&&x.from==h&&w.widgetNode?y.push(w):x.from<=h&&(null==x.to||x.to>h||w.collapsed&&x.to==h&&x.from==h)?(null!=x.to&&x.to!=h&&v>x.to&&(v=x.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&x.from==h&&(u+=" "+w.startStyle),w.endStyle&&x.to==v&&(_||(_=[])).push(w.endStyle,x.to),w.title&&!f&&(f=w.title),w.collapsed&&(!d||ae(d.marker,w)<0)&&(d=x)):x.from>h&&v>x.from&&(v=x.from)}if(_)for(var k=0;k<_.length;k+=2)_[k+1]==v&&(c+=" "+_[k]);if(!d||d.from==h)for(var $=0;$<y.length;++$)gt(t,0,y[$]);if(d&&(d.from||0)==h){if(gt(t,(null==d.to?p+1:d.to)-h,d.marker,null==d.from),null==d.to)return;d.to==h&&(d=!1)}}if(h>=p)break;for(var C=Math.min(p,v);;){if(g){var S=h+g.length;if(!d){var E=S>C?g.slice(0,C-h):g;t.addToken(t,E,a?a+l:l,u,h+E.length==v?c:"",f,s)}if(S>=C){g=g.slice(C-h),h=C;break}h=S,u=""}g=i.slice(o,o=n[m++]),a=ut(n[m++],t.cm.options)}}else for(var T=1;T<n.length;T+=2)t.addToken(t,i.slice(o,o=n[T]),ut(n[T+1],t.cm.options))}function yt(e,t,n){this.line=t,this.rest=pe(t),this.size=this.rest?D(m(this.rest))-n+1:1,this.node=this.text=null,this.hidden=ge(e,t)}function _t(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new yt(e.doc,E(e.doc,o),o);r=o+a.size,i.push(a)}return i}function bt(e){es?es.ops.push(e):e.ownsGroup=es={ops:[e],delayedCallbacks:[]}}function xt(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function wt(e,t){var n=e.ownsGroup;if(n)try{xt(n)}finally{es=null,t(n)}}function kt(e,t){var n=Te(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);es?r=es.delayedCallbacks:ts?r=ts:(r=ts=[],setTimeout($t,0));for(var o=0;o<n.length;++o)!function(e){r.push(function(){return n[e].apply(null,i)})}(o)}}function $t(){var e=ts;ts=null;for(var t=0;t<e.length;++t)e[t]()}function Ct(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?At(e,t):"gutter"==o?Dt(e,t,n,r):"class"==o?Mt(e,t):"widget"==o&&Lt(e,t,r)}t.changes=null}function St(e){return e.node==e.text&&(e.node=r("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ra&&ia<8&&(e.node.style.zIndex=2)),e.node}function Et(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var i=St(t);t.background=i.insertBefore(r("div",null,n),i.firstChild),e.display.input.setUneditable(t.background)}}function Tt(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):ft(e,t)}function At(e,t){var n=t.text.className,r=Tt(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Mt(e,t)):n&&(t.text.className=n)}function Mt(e,t){Et(e,t),t.line.wrapClass?St(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function Dt(e,t,n,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var o=St(t);t.gutterBackground=r("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),o.insertBefore(t.gutterBackground,t.text)}var a=t.line.gutterMarkers;if(e.options.lineNumbers||a){var s=St(t),l=t.gutter=r("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(l),s.insertBefore(l,t.text),t.line.gutterClass&&(l.className+=" "+t.line.gutterClass),!e.options.lineNumbers||a&&a["CodeMirror-linenumbers"]||(t.lineNumber=l.appendChild(r("div",j(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),a)for(var c=0;c<e.options.gutters.length;++c){var u=e.options.gutters[c],f=a.hasOwnProperty(u)&&a[u];f&&l.appendChild(r("div",[f],"CodeMirror-gutter-elt","left: "+i.gutterLeft[u]+"px; width: "+i.gutterWidth[u]+"px"))}}}function Lt(e,t,n){t.alignable&&(t.alignable=null);for(var r=t.node.firstChild,i=void 0;r;r=i)i=r.nextSibling,"CodeMirror-linewidget"==r.className&&t.node.removeChild(r);jt(e,t,n)}function Ot(e,t,n,r){var i=Tt(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Mt(e,t),Dt(e,t,n,r),jt(e,t,r),t.node}function jt(e,t,n){if(Ft(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)Ft(e,t.rest[r],t,n,!1)}function Ft(e,t,n,i,o){if(t.widgets)for(var a=St(n),s=0,l=t.widgets;s<l.length;++s){var c=l[s],u=r("div",[c.node],"CodeMirror-linewidget");c.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),Pt(c,u,n,i),
|
||
e.display.input.setUneditable(u),o&&c.above?a.insertBefore(u,n.gutter||n.text):a.appendChild(u),kt(c,"redraw")}}function Pt(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Nt(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!o(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),n(t.display.measure,r("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function It(e,t){for(var n=qe(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function qt(e){return e.lineSpace.offsetTop}function zt(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Rt(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=n(e.measure,r("pre","x")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,o={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(e.cachedPaddingH=o),o}function Ut(e){return Ea-e.display.nativeBarWidth}function Bt(e){return e.display.scroller.clientWidth-Ut(e)-e.display.barWidth}function Ht(e){return e.display.scroller.clientHeight-Ut(e)-e.display.barHeight}function Wt(e,t,n){var r=e.options.lineWrapping,i=r&&Bt(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Vt(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(D(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Yt(e,t){t=fe(t);var r=D(t),i=e.display.externalMeasured=new yt(e.doc,t,r);i.lineN=r;var o=i.built=ft(e,i);return i.text=o.pre,n(e.display.lineMeasure,o.pre),i}function Gt(e,t,n,r){return Jt(e,Kt(e,t),n,r)}function Zt(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Cn(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function Kt(e,t){var n=D(t),r=Zt(e,n);r&&!r.text?r=null:r&&r.changes&&(Ct(e,r,n,bn(e)),e.curOp.forceUpdate=!0),r||(r=Yt(e,t));var i=Vt(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Jt(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Wt(e,t.view,t.rect),t.hasHeights=!0),o=en(e,t,n,r),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function Xt(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(c==e.length-3||t==l&&e[c+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Qt(e,t){var n=ns;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function en(e,t,n,r){var i,o=Xt(t.map,n,r),a=o.node,s=o.start,l=o.end,c=o.collapse;if(3==a.nodeType){for(var u=0;u<4;u++){for(;s&&k(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+l<o.coverEnd&&k(t.line.text.charAt(o.coverStart+l));)++l;if(i=ra&&ia<9&&0==s&&l==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():Qt(_a(a,s,l).getClientRects(),r),i.left||i.right||0==s)break;l=s,s-=1,c="right"}ra&&ia<11&&(i=tn(e.display.measure,i))}else{s>0&&(c=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(ra&&ia<9&&!s&&(!i||!i.left&&!i.right)){var d=a.parentNode.getClientRects()[0];i=d?{left:d.left,right:d.left+_n(e.display),top:d.top,bottom:d.bottom}:ns}for(var p=i.top-t.rect.top,h=i.bottom-t.rect.top,m=(p+h)/2,g=t.view.measure.heights,v=0;v<g.length-1&&!(m<g[v]);v++);var y=v?g[v-1]:0,_=g[v],b={left:("right"==c?i.right:i.left)-t.rect.left,right:("left"==c?i.left:i.right)-t.rect.left,top:y,bottom:_};return i.left||i.right||(b.bogus=!0),e.options.singleCursorHeightPerLine||(b.rtop=p,b.rbottom=h),b}function tn(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Be(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function nn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function rn(e){e.display.externalMeasure=null,t(e.display.lineMeasure);for(var n=0;n<e.display.view.length;n++)nn(e.display.view[n])}function on(e){rn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function an(){return sa&&pa?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function sn(){return sa&&pa?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ln(e,t,n,r,i){if(!i&&t.widgets)for(var o=0;o<t.widgets.length;++o)if(t.widgets[o].above){var a=Nt(t.widgets[o]);n.top+=a,n.bottom+=a}if("line"==r)return n;r||(r="local");var s=ye(t);if("local"==r?s+=qt(e.display):s-=e.display.viewOffset,"page"==r||"window"==r){var l=e.display.lineSpace.getBoundingClientRect();s+=l.top+("window"==r?0:sn());var c=l.left+("window"==r?0:an());n.left+=c,n.right+=c}return n.top+=s,n.bottom+=s,n}function cn(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=an(),i-=sn();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function un(e,t,n,r,i){return r||(r=E(e.doc,t.line)),ln(e,r,Gt(e,r,t.ch,i),n)}function fn(e,t,n,r,i,o){function a(t,a){var s=Jt(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,ln(e,r,s,n)}function s(e,t,n){var r=l[t],i=r.level%2!=0;return a(n?e-1:e,i!=n)}r=r||E(e.doc,t.line),i||(i=Kt(e,r));var l=ke(r,e.doc.direction),c=t.ch,u=t.sticky;if(c>=r.text.length?(c=r.text.length,u="before"):c<=0&&(c=0,u="after"),!l)return a("before"==u?c-1:c,"before"==u);var f=we(l,c,u),d=Na,p=s(c,f,"before"==u);return null!=d&&(p.other=s(c,d,"before"!=u)),p}function dn(e,t){var n=0;t=U(e.doc,t),e.options.lineWrapping||(n=_n(e.display)*t.ch);var r=E(e.doc,t.line),i=ye(r)+qt(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function pn(e,t,n,r,i){var o=F(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function hn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return pn(r.first,0,null,!0,-1);var i=L(r,n),o=r.first+r.size-1;if(i>o)return pn(r.first+r.size-1,E(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=E(r,i);;){var s=vn(e,a,i,t,n),l=ce(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;i=D(a=c.to.line)}}function mn(e,t,n,r){var i=function(r){return ln(e,t,Jt(e,n,r),"line")},o=t.text.length,a=C(function(e){return i(e-1).bottom<=r},o,0);return o=C(function(e){return i(e).top>r},a,o),{begin:a,end:o}}function gn(e,t,n,r){return mn(e,t,n,ln(e,t,Jt(e,n,r),"line").top)}function vn(e,t,n,r,i){i-=ye(t);var o,a=0,s=t.text.length,l=Kt(e,t);if(ke(t,e.doc.direction)){if(e.options.lineWrapping){var c;c=mn(e,t,l,i),a=c.begin,s=c.end}o=new F(n,a);var u,f,d=fn(e,o,"line",t,l).left,p=d<r?1:-1,h=d-r;do{if(u=h,f=o,null==(o=Ee(e,t,o,p))||o.ch<a||s<=("before"==o.sticky?o.ch-1:o.ch)){o=f;break}h=fn(e,o,"line",t,l).left-r}while(p<0!=h<0&&Math.abs(h)<=Math.abs(u));if(Math.abs(h)>Math.abs(u)){if(h<0==u<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=f}}else{var m=C(function(n){var o=ln(e,t,Jt(e,l,n),"line");return o.top>i?(s=Math.min(n,s),!0):!(o.bottom<=i)&&(o.left>r||!(o.right<r)&&r-o.left<o.right-r)},a,s);m=$(t.text,m,1),o=new F(n,m,m==s?"before":"after")}var g=fn(e,o,"line",t,l);return(i<g.top||g.bottom<i)&&(o.outside=!0),o.xRel=r<g.left?-1:r>g.right?1:0,o}function yn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ja){Ja=r("pre");for(var i=0;i<49;++i)Ja.appendChild(document.createTextNode("x")),Ja.appendChild(r("br"));Ja.appendChild(document.createTextNode("x"))}n(e.measure,Ja);var o=Ja.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),t(e.measure),o||1}function _n(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=r("span","xxxxxxxxxx"),i=r("pre",[t]);n(e.measure,i);var o=t.getBoundingClientRect(),a=(o.right-o.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function bn(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:xn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function xn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function wn(e){var t=yn(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/_n(e.display)-3);return function(i){if(ge(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function kn(e){var t=e.doc,n=wn(e);t.iter(function(e){var t=n(e);t!=e.height&&M(e,t)})}function $n(e,t,n,r){var i=e.display;if(!n&&"true"==qe(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,c=hn(e,o,a);if(r&&1==c.xRel&&(l=E(e.doc,c.line).text).length==c.ch){var u=f(l,l.length,e.options.tabSize)-l.length;c=F(c.line,Math.max(0,Math.round((o-Rt(e.display).left)/_n(e.display))-u))}return c}function Cn(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function Sn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function En(e,t){for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(!1!==t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Tn(e,s.head,i),l||An(e,s,o)}}return r}function Tn(e,t,n){var i=fn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),o=n.appendChild(r("div"," ","CodeMirror-cursor"));if(o.style.left=i.left+"px",o.style.top=i.top+"px",o.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var a=n.appendChild(r("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=i.other.left+"px",a.style.top=i.other.top+"px",a.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function An(e,t,n){function i(e,t,n,i){t<0&&(t=0),t=Math.round(t),i=Math.round(i),l.appendChild(r("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?f-e:n)+"px;\n height: "+(i-t)+"px"))}function o(t,n,r){function o(n,r){return un(e,F(t,n),"div",c,r)}var a,l,c=E(s,t),d=c.text.length;return xe(ke(c,s.direction),n||0,null==r?d:r,function(e,t,s){var c,p,h,m=o(e,"left");if(e==t)c=m,p=h=m.left;else{if(c=o(t-1,"right"),"rtl"==s){var g=m;m=c,c=g}p=m.left,h=c.right}null==n&&0==e&&(p=u),c.top-m.top>3&&(i(p,m.top,null,m.bottom),p=u,m.bottom<c.top&&i(p,m.bottom,null,c.top)),null==r&&t==d&&(h=f),(!a||m.top<a.top||m.top==a.top&&m.left<a.left)&&(a=m),(!l||c.bottom>l.bottom||c.bottom==l.bottom&&c.right>l.right)&&(l=c),p<u+1&&(p=u),i(p,c.top,h-p,c.bottom)}),{start:a,end:l}}var a=e.display,s=e.doc,l=document.createDocumentFragment(),c=Rt(e.display),u=c.left,f=Math.max(a.sizerWidth,Bt(e)-a.sizer.offsetLeft)-c.right,d=t.from(),p=t.to();if(d.line==p.line)o(d.line,d.ch,p.ch);else{var h=E(s,d.line),m=E(s,p.line),g=fe(h)==fe(m),v=o(d.line,d.ch,g?h.text.length+1:null).end,y=o(p.line,g?0:null,p.ch).start;g&&(v.top<y.top-2?(i(v.right,v.top,null,v.bottom),i(u,y.top,y.left,y.bottom)):i(v.right,v.top,y.left-v.right,v.bottom)),v.bottom<y.top&&i(u,v.bottom,null,y.top)}n.appendChild(l)}function Mn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Dn(e){e.state.focused||(e.display.input.focus(),On(e))}function Ln(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,jn(e))},100)}function On(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Me(e,"focus",e,t),e.state.focused=!0,s(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),oa&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Mn(e))}function jn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Me(e,"blur",e,t),e.state.focused=!1,wa(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Fn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=void 0;if(!i.hidden){if(ra&&ia<8){var a=i.node.offsetTop+i.node.offsetHeight;o=a-n,n=a}else{var s=i.node.getBoundingClientRect();o=s.bottom-s.top}var l=i.line.height-o;if(o<2&&(o=yn(t)),(l>.001||l<-.001)&&(M(i.line,o),Pn(i.line),i.rest))for(var c=0;c<i.rest.length;c++)Pn(i.rest[c])}}}function Pn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function Nn(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-qt(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=L(t,r),a=L(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=L(t,ye(E(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=L(t,ye(E(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function In(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=xn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function qn(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=j(e.options,t.first+t.size-1),i=e.display;if(n.length!=i.lineNumChars){var o=i.measure.appendChild(r("div",[r("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),a=o.firstChild.offsetWidth,s=o.offsetWidth-a;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(a,i.lineGutter.offsetWidth-s)+1,i.lineNumWidth=i.lineNumInnerWidth+s,i.lineNumChars=i.lineNumInnerWidth?n.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",Mr(e),!0}return!1}function zn(e,t){if(!De(e,"scrollCursorIntoView")){var n=e.display,i=n.sizer.getBoundingClientRect(),o=null;if(t.top+i.top<0?o=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!fa){var a=r("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-qt(e.display))+"px;\n height: "+(t.bottom-t.top+Ut(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(o),e.display.lineSpace.removeChild(a)}}}function Rn(e,t,n,r){null==r&&(r=0);for(var i,o=0;o<5;o++){var a=!1,s=fn(e,t),l=n&&n!=t?fn(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=Bn(e,i),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(Kn(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Xn(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function Un(e,t){var n=Bn(e,t);null!=n.scrollTop&&Kn(e,n.scrollTop),null!=n.scrollLeft&&Xn(e,n.scrollLeft)}function Bn(e,t){var n=e.display,r=yn(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Ht(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+zt(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,d=Bt(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),p=t.right-t.left>d;return p&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(p?0:10)):t.right>d+f-3&&(a.scrollLeft=t.right+(p?0:10)-d),a}function Hn(e,t){null!=t&&(Gn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Wn(e){Gn(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?F(t.line,t.ch-1):t,r=F(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin}}function Vn(e,t,n){null==t&&null==n||Gn(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Yn(e,t){Gn(e),e.curOp.scrollToPos=t}function Gn(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;Zn(e,dn(e,t.from),dn(e,t.to),t.margin)}}function Zn(e,t,n,r){var i=Bn(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Vn(e,i.scrollLeft,i.scrollTop)}function Kn(e,t){Math.abs(e.doc.scrollTop-t)<2||(Qo||Tr(e,{top:t}),Jn(e,t,!0),Qo&&Tr(e),xr(e,100))}function Jn(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Xn(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,In(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Qn(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+zt(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Ut(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function er(e,t){t||(t=Qn(e));var n=e.display.barWidth,r=e.display.barHeight;tr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Fn(e),tr(e,Qn(e)),n=e.display.barWidth,r=e.display.barHeight}function tr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function nr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&wa(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new os[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),za(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?Xn(e,t):Kn(e,t)},e),e.display.scrollbars.addClass&&s(e.display.wrapper,e.display.scrollbars.addClass)}function rr(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++as},bt(e.curOp)}function ir(e){wt(e.curOp,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;or(e)})}function or(e){for(var t=e.ops,n=0;n<t.length;n++)ar(t[n]);for(var r=0;r<t.length;r++)sr(t[r]);for(var i=0;i<t.length;i++)lr(t[i]);for(var o=0;o<t.length;o++)cr(t[o]);for(var a=0;a<t.length;a++)ur(t[a])}function ar(e){var t=e.cm,n=t.display;kr(t),e.updateMaxLine&&be(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ss(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function sr(e){e.updatedDisplay=e.mustUpdate&&Sr(e.cm,e.update)}function lr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Fn(t),e.barMeasure=Qn(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Gt(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Ut(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Bt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection(e.focus))}function cr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Xn(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==a()&&(!document.hasFocus||document.hasFocus());e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&er(t,e.barMeasure),e.updatedDisplay&&Dr(t,e.barMeasure),e.selectionChanged&&Mn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Dn(e.cm)}function ur(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&Er(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Jn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Xn(t,e.scrollLeft,!0,!0),e.scrollToPos){zn(t,Rn(t,U(r,e.scrollToPos.from),U(r,e.scrollToPos.to),e.scrollToPos.margin))}var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||Me(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&Me(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Me(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function fr(e,t){if(e.curOp)return t();rr(e);try{return t()}finally{ir(e)}}function dr(e,t){return function(){if(e.curOp)return t.apply(e,arguments);rr(e);try{return t.apply(e,arguments)}finally{ir(e)}}}function pr(e){return function(){if(this.curOp)return e.apply(this,arguments);rr(this);try{return e.apply(this,arguments)}finally{ir(this)}}}function hr(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);rr(t);try{return e.apply(this,arguments)}finally{ir(t)}}}function mr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Pa&&he(e.doc,t)<i.viewTo&&vr(e);else if(n<=i.viewFrom)Pa&&me(e.doc,n+r)>i.viewFrom?vr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)vr(e);else if(t<=i.viewFrom){var o=yr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):vr(e)}else if(n>=i.viewTo){var a=yr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):vr(e)}else{var s=yr(e,t,t,-1),l=yr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(_t(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):vr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function gr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Cn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==d(a,n)&&a.push(n)}}}function vr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function yr(e,t,n,r){var i,o=Cn(e,t),a=e.display.view;if(!Pa||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;he(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function _r(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=_t(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=_t(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Cn(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(_t(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Cn(e,n)))),r.viewTo=n}function br(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function xr(e,t){e.doc.mode.startState&&e.doc.frontier<e.display.viewTo&&e.state.highlight.set(t,c(wr,e))}function wr(e){var t=e.doc;if(t.frontier<t.first&&(t.frontier=t.first),!(t.frontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Ze(t.mode,et(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength,l=Xe(e,o,s?Ze(t.mode,r):r,!0);o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!f&&d<a.length;++d)f=a[d]!=o.styles[d];f&&i.push(t.frontier),o.stateAfter=s?r:Ze(t.mode,r)}else o.text.length<=e.options.maxHighlightLength&&tt(e,o.text,r),o.stateAfter=t.frontier%5==0?Ze(t.mode,r):null;if(++t.frontier,+new Date>n)return xr(e,e.options.workDelay),!0}),i.length&&fr(e,function(){for(var t=0;t<i.length;t++)gr(e,i[t],"text")})}}function kr(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Ut(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Ut(e)+"px",t.scrollbarsClipped=!0)}function $r(e){if(e.hasFocus())return null;var t=a();if(!t||!o(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&o(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Cr(e){if(e&&e.activeElt&&e.activeElt!=a()&&(e.activeElt.focus(),e.anchorNode&&o(document.body,e.anchorNode)&&o(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function Sr(e,n){var r=e.display,i=e.doc;if(n.editorIsHidden)return vr(e),!1;if(!n.force&&n.visible.from>=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==br(e))return!1;qn(e)&&(vr(e),n.dims=bn(e));var o=i.first+i.size,a=Math.max(n.visible.from-e.options.viewportMargin,i.first),s=Math.min(o,n.visible.to+e.options.viewportMargin);r.viewFrom<a&&a-r.viewFrom<20&&(a=Math.max(i.first,r.viewFrom)),r.viewTo>s&&r.viewTo-s<20&&(s=Math.min(o,r.viewTo)),Pa&&(a=he(e.doc,a),s=me(e.doc,s));var l=a!=r.viewFrom||s!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;_r(e,a,s),r.viewOffset=ye(E(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var c=br(e);if(!l&&0==c&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var u=$r(e);return c>4&&(r.lineDiv.style.display="none"),Ar(e,r.updateLineNumbers,n.dims),c>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,Cr(u),t(r.cursorDiv),t(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,l&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,xr(e,400)),r.updateLineNumbers=null,!0}function Er(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Bt(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+zt(e.display)-Ht(e),n.top)}),t.visible=Nn(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Sr(e,t);r=!1){Fn(e);var i=Qn(e);Sn(e),er(e,i),Dr(e,i)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Tr(e,t){var n=new ss(e,t);if(Sr(e,n)){Fn(e),Er(e,n);var r=Qn(e);Sn(e),er(e,r),Dr(e,r),n.finish()}}function Ar(e,n,r){function i(t){var n=t.nextSibling;return oa&&ma&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var o=e.display,a=e.options.lineNumbers,s=o.lineDiv,l=s.firstChild,c=o.view,u=o.viewFrom,f=0;f<c.length;f++){var p=c[f];if(p.hidden);else if(p.node&&p.node.parentNode==s){for(;l!=p.node;)l=i(l);var h=a&&null!=n&&n<=u&&p.lineNumber;p.changes&&(d(p.changes,"gutter")>-1&&(h=!1),Ct(e,p,u,r)),h&&(t(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(j(e.options,u)))),l=p.node.nextSibling}else{var m=Ot(e,p,u,r);s.insertBefore(m,l)}u+=p.size}for(;l;)l=i(l)}function Mr(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function Dr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ut(e)+"px"}function Lr(e){var n=e.display.gutters,i=e.options.gutters;t(n);for(var o=0;o<i.length;++o){var a=i[o],s=n.appendChild(r("div",null,"CodeMirror-gutter "+a));"CodeMirror-linenumbers"==a&&(e.display.lineGutter=s,s.style.width=(e.display.lineNumWidth||1)+"px")}n.style.display=o?"":"none",Mr(e)}function Or(e){var t=d(e.gutters,"CodeMirror-linenumbers")
|
||
;-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function jr(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Fr(e){var t=jr(e);return t.x*=cs,t.y*=cs,t}function Pr(e,t){var n=jr(t),r=n.x,i=n.y,o=e.display,a=o.scroller,s=a.scrollWidth>a.clientWidth,l=a.scrollHeight>a.clientHeight;if(r&&s||i&&l){if(i&&ma&&oa)e:for(var c=t.target,u=o.view;c!=a;c=c.parentNode)for(var f=0;f<u.length;f++)if(u[f].node==c){e.display.currentWheelTarget=c;break e}if(r&&!Qo&&!la&&null!=cs)return i&&l&&Kn(e,Math.max(0,a.scrollTop+i*cs)),Xn(e,Math.max(0,a.scrollLeft+r*cs)),(!i||i&&l)&&Fe(t),void(o.wheelStartX=null);if(i&&null!=cs){var d=i*cs,p=e.doc.scrollTop,h=p+o.wrapper.clientHeight;d<0?p=Math.max(0,p+d-50):h=Math.min(e.doc.height,h+d+50),Tr(e,{top:p,bottom:h})}ls<20&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,n=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(cs=(cs*ls+n)/(ls+1),++ls)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function Nr(e,t){var n=e[t];e.sort(function(e,t){return P(e.from(),t.from())}),t=d(e,n);for(var r=1;r<e.length;r++){var i=e[r],o=e[r-1];if(P(o.to(),i.from())>=0){var a=z(o.from(),i.from()),s=q(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new fs(l?s:a,l?a:s))}}return new us(e,t)}function Ir(e,t){return new us([new fs(e,t||e)],0)}function qr(e){return e.text?F(e.from.line+e.text.length-1,m(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function zr(e,t){if(P(e,t.from)<0)return e;if(P(e,t.to)<=0)return qr(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=qr(t).ch-t.to.ch),F(n,r)}function Rr(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new fs(zr(i.anchor,t),zr(i.head,t)))}return Nr(n,e.sel.primIndex)}function Ur(e,t,n){return e.line==t.line?F(n.line,e.ch-t.ch+n.ch):F(n.line+(e.line-t.line),e.ch)}function Br(e,t,n){for(var r=[],i=F(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Ur(s.from,i,o),c=Ur(qr(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],f=P(u.head,u.anchor)<0;r[a]=new fs(f?c:l,f?l:c)}else r[a]=new fs(l,l)}return new us(r,e.sel.primIndex)}function Hr(e){e.doc.mode=Ye(e.options,e.doc.modeOption),Wr(e)}function Wr(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,xr(e,100),e.state.modeGen++,e.curOp&&mr(e)}function Vr(e,t){return 0==t.from.ch&&0==t.to.ch&&""==m(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Yr(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){lt(e,n,i,r),kt(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Ka(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=E(e,s.line),f=E(e,l.line),d=m(c),p=i(c.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Vr(e,t)){var g=a(0,c.length-1);o(f,f.text,p),h&&e.remove(s.line,h),g.length&&e.insert(s.line,g)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+d+u.text.slice(l.ch),p);else{var v=a(1,c.length-1);v.push(new Ka(d+u.text.slice(l.ch),p,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,d+f.text.slice(l.ch),p);var y=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,y)}kt(e,"change",e,t)}function Gr(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function Zr(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,kn(e),Hr(e),Kr(e),e.options.lineWrapping||be(e),e.options.mode=t.modeOption,mr(e)}function Kr(e){("rtl"==e.doc.direction?s:wa)(e.display.lineDiv,"CodeMirror-rtl")}function Jr(e){fr(e,function(){Kr(e),mr(e)})}function Xr(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Qr(e,t){var n={from:I(t.from),to:qr(t),text:T(e,t.from,t.to)};return ai(e,n,t.from.line,t.to.line+1),Gr(e,function(e){return ai(e,n,t.from.line,t.to.line+1)},!0),n}function ei(e){for(;e.length;){if(!m(e).ranges)break;e.pop()}}function ti(e,t){return t?(ei(e.done),m(e.done)):e.done.length&&!m(e.done).ranges?m(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),m(e.done)):void 0}function ni(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>s-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=ti(i,i.lastOp==r)))a=m(o.changes),0==P(t.from,t.to)&&0==P(t.from,a.to)?a.to=qr(t):o.changes.push(Qr(e,t));else{var l=m(i.done);for(l&&l.ranges||oi(e.sel,i.done),o={changes:[Qr(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||Me(e,"historyAdded")}function ri(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function ii(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ri(e,o,m(i.done),t))?i.done[i.done.length-1]=t:oi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&ei(i.undone)}function oi(e,t){var n=m(t);n&&n.ranges&&n.equals(e)||t.push(e)}function ai(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function si(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function li(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(si(n[i]));return r}function ci(e,t){var n=li(e,t),r=Q(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function ui(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?us.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\d+)$/))&&d(t,Number(u[1]))>-1&&(m(s)[f]=c[f],delete c[f])}}}return r}function fi(e,t,n,r){if(e.cm&&e.cm.display.shift||e.extend){var i=t.anchor;if(r){var o=P(n,i)<0;o!=P(r,i)<0?(i=n,n=r):o!=P(n,r)<0&&(n=r)}return new fs(i,n)}return new fs(r||n,n)}function di(e,t,n,r){yi(e,new us([fi(e,e.sel.primary(),t,n)],0),r)}function pi(e,t,n){for(var r=[],i=0;i<e.sel.ranges.length;i++)r[i]=fi(e,e.sel.ranges[i],t[i],null);yi(e,Nr(r,e.sel.primIndex),n)}function hi(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,yi(e,Nr(i,e.sel.primIndex),r)}function mi(e,t,n,r){yi(e,Ir(t,n),r)}function gi(e,t,n){var r={ranges:t.ranges,update:function(t){var n=this;this.ranges=[];for(var r=0;r<t.length;r++)n.ranges[r]=new fs(U(e,t[r].anchor),U(e,t[r].head))},origin:n&&n.origin};return Me(e,"beforeSelectionChange",e,r),e.cm&&Me(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?Nr(r.ranges,r.ranges.length-1):t}function vi(e,t,n){var r=e.history.done,i=m(r);i&&i.ranges?(r[r.length-1]=t,_i(e,t,n)):yi(e,t,n)}function yi(e,t,n){_i(e,t,n),ii(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function _i(e,t,n){(Oe(e,"beforeSelectionChange")||e.cm&&Oe(e.cm,"beforeSelectionChange"))&&(t=gi(e,t,n)),bi(e,wi(e,t,n&&n.bias||(P(t.primary().head,e.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!e.cm||Wn(e.cm)}function bi(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,Le(e.cm)),kt(e,"cursorActivity",e))}function xi(e){bi(e,wi(e,e.sel,null,!1))}function wi(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=$i(e,a.anchor,s&&s.anchor,n,r),c=$i(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new fs(l,c))}return i?Nr(i,t.primIndex):t}function ki(e,t,n,r,i){var o=E(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker;if((null==s.from||(l.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(i&&(Me(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=Ci(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=P(c,n))&&(r<0?u<0:u>0))return ki(e,c,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(f=Ci(e,f,r,f.line==t.line?o:null)),f?ki(e,f,t,r,i):null}}return t}function $i(e,t,n,r,i){var o=r||1,a=ki(e,t,n,o,i)||!i&&ki(e,t,n,o,!0)||ki(e,t,n,-o,i)||!i&&ki(e,t,n,-o,!0);return a||(e.cantEdit=!0,F(e.first,0))}function Ci(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?U(e,F(t.line-1)):null:n>0&&t.ch==(r||E(e,t.line)).text.length?t.line<e.first+e.size-1?F(t.line+1,0):null:new F(t.line,t.ch+n)}function Si(e){e.setSelection(F(e.firstLine(),0),F(e.lastLine()),Aa)}function Ei(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=U(e,t)),n&&(r.to=U(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),Me(e,"beforeChange",e,r),e.cm&&Me(e.cm,"beforeChange",e.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Ti(e,t,n){if(e.cm){if(!e.cm.curOp)return dr(e.cm,Ti)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(Oe(e,"beforeChange")||e.cm&&Oe(e.cm,"beforeChange"))||(t=Ei(e,t,!0))){var r=Fa&&!n&&te(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Ai(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else Ai(e,t)}}function Ai(e,t){if(1!=t.text.length||""!=t.text[0]||0!=P(t.from,t.to)){var n=Rr(e,t);ni(e,t,n,e.cm?e.cm.curOp.id:NaN),Li(e,t,n,Q(e,t));var r=[];Gr(e,function(e,n){n||-1!=d(r,e.history)||(Ni(e.history,t),r.push(e.history)),Li(e,t,null,Q(e,t))})}}function Mi(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l<a.length&&(r=a[l],n?!r.ranges||r.equals(e.sel):r.ranges);l++);if(l!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;r=a.pop(),r.ranges;){if(oi(r,s),n&&!r.equals(e.sel))return void yi(e,r,{clearRedo:!1});o=r}var c=[];oi(o,s),s.push({changes:c,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var u=Oe(e,"beforeChange")||e.cm&&Oe(e.cm,"beforeChange"),f=r.changes.length-1;f>=0;--f){var p=function(n){var i=r.changes[n];if(i.origin=t,u&&!Ei(e,i,!1))return a.length=0,{};c.push(Qr(e,i));var o=n?Rr(e,i):m(a);Li(e,i,o,ci(e,i)),!n&&e.cm&&e.cm.scrollIntoView({from:i.from,to:qr(i)});var s=[];Gr(e,function(e,t){t||-1!=d(s,e.history)||(Ni(e.history,i),s.push(e.history)),Li(e,i,null,ci(e,i))})}(f);if(p)return p.v}}}}function Di(e,t){if(0!=t&&(e.first+=t,e.sel=new us(g(e.sel.ranges,function(e){return new fs(F(e.anchor.line+t,e.anchor.ch),F(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){mr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)gr(e.cm,r,"gutter")}}function Li(e,t,n,r){if(e.cm&&!e.cm.curOp)return dr(e.cm,Li)(e,t,n,r);if(t.to.line<e.first)return void Di(e,t.text.length-1-(t.to.line-t.from.line));if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);Di(e,i),t={from:F(e.first,0),to:F(t.to.line+i,t.to.ch),text:[m(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:F(o,E(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=T(e,t.from,t.to),n||(n=Rr(e,t)),e.cm?Oi(e.cm,t,r):Yr(e,t,r),_i(e,n,Aa)}}function Oi(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=D(fe(E(r,o.line))),r.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Le(e),Yr(r,t,n,wn(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=_e(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,o.line),xr(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?mr(e):o.line!=a.line||1!=t.text.length||Vr(e.doc,t)?mr(e,o.line,a.line+1,c):gr(e,o.line,"text");var u=Oe(e,"changes"),f=Oe(e,"change");if(f||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&kt(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}function ji(e,t,n,r,i){if(r||(r=n),P(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),Ti(e,{from:n,to:r,text:t,origin:i})}function Fi(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function Pi(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)Fi(o.ranges[s].anchor,t,n,r),Fi(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=F(c.from.line+r,c.from.ch),c.to=F(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function Ni(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;Pi(e.done,n,r,i),Pi(e.undone,n,r,i)}function Ii(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=E(e,R(e,t)):i=D(t),null==i?null:(r(o,i)&&e.cm&&gr(e.cm,i,n),o)}function qi(e,t,n){ye(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Hn(e,n)}function zi(e,t,n,r){var i=new hs(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),Ii(e,t,"widget",function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!ge(e,t)){var r=ye(t)<e.scrollTop;M(t,t.height+Nt(i)),r&&Hn(o,i.height),o.curOp.forceUpdate=!0}return!0}),kt(o,"lineWidgetAdded",o,i,"number"==typeof t?t:D(t)),i}function Ri(e,t,n,r,o){if(r&&r.shared)return Ui(e,t,n,r,o);if(e.cm&&!e.cm.curOp)return dr(e.cm,Ri)(e,t,n,r,o);var a=new gs(e,o),s=P(t,n);if(r&&u(r,a,!1),s>0||0==s&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=i("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(ue(e,t.line,t,n,a)||t.line!=n.line&&ue(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");V()}a.addToHistory&&ni(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,c=t.line,f=e.cm;if(e.iter(c,n.line+1,function(e){f&&a.collapsed&&!f.options.lineWrapping&&fe(e)==f.display.maxLine&&(l=!0),a.collapsed&&c!=t.line&&M(e,0),K(e,new Y(a,c==t.line?t.ch:null,c==n.line?n.ch:null)),++c}),a.collapsed&&e.iter(t.line,n.line+1,function(t){ge(e,t)&&M(t,0)}),a.clearOnEnter&&za(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(W(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++ms,a.atomic=!0),f){if(l&&(f.curOp.updateMaxLine=!0),a.collapsed)mr(f,t.line,n.line+1);else if(a.className||a.title||a.startStyle||a.endStyle||a.css)for(var d=t.line;d<=n.line;d++)gr(f,d,"text");a.atomic&&xi(f.doc),kt(f,"markerAdded",f,a)}return a}function Ui(e,t,n,r,i){r=u(r),r.shared=!1;var o=[Ri(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Gr(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Ri(e,U(e,t),U(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=m(o)}),new vs(o,a)}function Bi(e){return e.findMarks(F(e.first,0),e.clipPos(F(e.lastLine())),function(e){return e.parent})}function Hi(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(P(o,a)){var s=Ri(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function Wi(e){for(var t=0;t<e.length;t++)!function(t){var n=e[t],r=[n.primary.doc];Gr(n.primary.doc,function(e){return r.push(e)});for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==d(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}}(t)}function Vi(e){var t=this;if(Zi(t),!De(t,e)&&!It(t.display,e)){Fe(e),ra&&(bs=+new Date);var n=$n(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),a=0,s=0;s<i;++s)!function(e,r){if(!t.options.allowDropFileTypes||-1!=d(t.options.allowDropFileTypes,e.type)){var s=new FileReader;s.onload=dr(t,function(){var e=s.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[r]=e,++a==i){n=U(t.doc,n);var l={from:n,to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};Ti(t.doc,l),vi(t.doc,Ir(n,qr(l)))}}),s.readAsText(e)}}(r[s],s);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var l=e.dataTransfer.getData("Text");if(l){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),_i(t.doc,Ir(n,n)),c)for(var u=0;u<c.length;++u)ji(t.doc,"",c[u].anchor,c[u].head,"drag");t.replaceSelection(l,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Yi(e,t){if(ra&&(!e.state.draggingText||+new Date-bs<100))return void Ie(t);if(!De(e,t)&&!It(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!ca)){var n=r("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",la&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),la&&n.parentNode.removeChild(n)}}function Gi(e,t){var i=$n(e,t);if(i){var o=document.createDocumentFragment();Tn(e,i,o),e.display.dragCursor||(e.display.dragCursor=r("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),n(e.display.dragCursor,o)}}function Zi(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Ki(e){if(document.body.getElementsByClassName)for(var t=document.body.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&e(r)}}function Ji(){xs||(Xi(),xs=!0)}function Xi(){var e;za(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,Ki(Qi)},100))}),za(window,"blur",function(){return Ki(jn)})}function Qi(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function eo(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var n,r,i,o,a=0;a<t.length-1;a++){var s=t[a];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);i=!0}}return n&&(e="Alt-"+e),r&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}function to(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=g(n.split(" "),eo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function no(e,t,n,r){t=oo(t);var i=t.call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return no(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=no(e,t.fallthrough[o],n,r);if(a)return a}}}function ro(e){var t="string"==typeof e?e:ws[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function io(e,t){if(la&&34==e.keyCode&&e.char)return!1;var n=ws[e.keyCode],r=n;return null!=r&&!e.altGraphKey&&(e.altKey&&"Alt"!=n&&(r="Alt-"+r),(ba?e.metaKey:e.ctrlKey)&&"Ctrl"!=n&&(r="Ctrl-"+r),(ba?e.ctrlKey:e.metaKey)&&"Cmd"!=n&&(r="Cmd-"+r),!t&&e.shiftKey&&"Shift"!=n&&(r="Shift-"+r),r)}function oo(e){return"string"==typeof e?Ss[e]:e}function ao(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&P(o.from,m(r).to)<=0;){var a=r.pop();if(P(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}fr(e,function(){for(var t=r.length-1;t>=0;t--)ji(e.doc,"",r[t].from,r[t].to,"+delete");Wn(e)})}function so(e,t){var n=E(e.doc,t),r=fe(n);return r!=n&&(t=D(r)),Se(!0,e,r,t,1)}function lo(e,t){var n=E(e.doc,t),r=de(n);return r!=n&&(t=D(r)),Se(!0,e,n,t,-1)}function co(e,t){var n=so(e,t.line),r=E(e.doc,n.line),i=ke(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return F(n.line,a?0:o,n.sticky)}return n}function uo(e,t,n){if("string"==typeof t&&!(t=As[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Ta}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function fo(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=no(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&no(t,e.options.extraKeys,n,e)||no(t,e.options.keyMap,n,e)}function po(e,t,n,r){var i=e.state.keySeq;if(i){if(ro(t))return"handled";Ms.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),t=i+" "+t}var o=fo(e,t,r);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&kt(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(Fe(n),Mn(e)),i&&!o&&/\'$/.test(t)?(Fe(n),!0):!!o}function ho(e,t){var n=io(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?po(e,"Shift-"+n,t,function(t){return uo(e,t,!0)})||po(e,n,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return uo(e,t)}):po(e,n,t,function(t){return uo(e,t)}))}function mo(e,t,n){return po(e,"'"+n+"'",t,function(t){return uo(e,t,!0)})}function go(e){var t=this;if(t.curOp.focus=a(),!De(t,e)){ra&&ia<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=ho(t,e);la&&(Ds=r?n:null,!r&&88==n&&!Ha&&(ma?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||vo(t)}}function vo(e){function t(e){18!=e.keyCode&&e.altKey||(wa(n,"CodeMirror-crosshair"),Ae(document,"keyup",t),Ae(document,"mouseover",t))}var n=e.display.lineDiv;s(n,"CodeMirror-crosshair"),za(document,"keyup",t),za(document,"mouseover",t)}function yo(e){16==e.keyCode&&(this.doc.sel.shift=!1),De(this,e)}function _o(e){var t=this;if(!(It(t.display,e)||De(t,e)||e.ctrlKey&&!e.altKey||ma&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(la&&n==Ds)return Ds=null,void Fe(e);if(!la||e.which&&!(e.which<10)||!ho(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(mo(t,e,i)||t.display.input.onKeyPress(e))}}}function bo(e){var t=this,n=t.display;if(!(De(t,e)||n.activeTouch&&n.input.supportsTouch())){if(n.input.ensurePolled(),n.shift=e.shiftKey,It(n,e))return void(oa||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100)));if(!Co(t,e)){var r=$n(t,e);switch(window.focus(),ze(e)){case 1:t.state.selectingText?t.state.selectingText(e):r?xo(t,e,r):qe(e)==n.scroller&&Fe(e);break;case 2:oa&&(t.state.lastMiddleDown=+new Date),r&&di(t.doc,r),setTimeout(function(){return n.input.focus()},20),Fe(e);break;case 3:xa?So(t,e):Ln(t)}}}}function xo(e,t,n){ra?setTimeout(c(Dn,e),0):e.curOp.focus=a();var r,i=+new Date;Ts&&Ts.time>i-400&&0==P(Ts.pos,n)?r="triple":Es&&Es.time>i-400&&0==P(Es.pos,n)?(r="double",Ts={time:i,pos:n}):(r="single",Es={time:i,pos:n});var o,s=e.doc.sel,l=ma?t.metaKey:t.ctrlKey;e.options.dragDrop&&Ra&&!e.isReadOnly()&&"single"==r&&(o=s.contains(n))>-1&&(P((o=s.ranges[o]).from(),n)<0||n.xRel>0)&&(P(o.to(),n)>0||n.xRel<0)?wo(e,t,n,l):ko(e,t,n,r,l)}function wo(e,t,n,r){var i=e.display,o=!1,a=dr(e,function(t){oa&&(i.scroller.draggable=!1),e.state.draggingText=!1,Ae(document,"mouseup",a),Ae(document,"mousemove",s),Ae(i.scroller,"dragstart",l),Ae(i.scroller,"drop",a),o||(Fe(t),r||di(e.doc,n),oa||ra&&9==ia?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),s=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},l=function(){return o=!0};oa&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=ma?t.altKey:t.ctrlKey,i.scroller.dragDrop&&i.scroller.dragDrop(),za(document,"mouseup",a),za(document,"mousemove",s),za(i.scroller,"dragstart",l),za(i.scroller,"drop",a),Ln(e),setTimeout(function(){return i.input.focus()},20)}function ko(e,t,n,r,i){function o(t){if(0!=P(_,t))if(_=t,"rect"==r){for(var i=[],o=e.options.tabSize,a=f(E(u,n.line).text,n.ch,o),s=f(E(u,t.line).text,t.ch,o),l=Math.min(a,s),c=Math.max(a,s),g=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=v;g++){var y=E(u,g).text,b=p(y,l,o);l==c?i.push(new fs(F(g,b),F(g,b))):y.length>b&&i.push(new fs(F(g,b),F(g,p(y,c,o))))}i.length||i.push(new fs(n,n)),yi(u,Nr(m.ranges.slice(0,h).concat(i),h),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x=d,w=x.anchor,k=t;if("single"!=r){var $;$="double"==r?e.findWordAt(t):new fs(F(t.line,0),U(u,F(t.line+1,0))),P($.anchor,w)>0?(k=$.head,w=z(x.from(),$.anchor)):(k=$.anchor,w=q(x.to(),$.head))}var C=m.ranges.slice(0);C[h]=new fs(U(u,w),k),yi(u,Nr(C,h),Ma)}}function s(t){var n=++x,i=$n(e,t,!0,"rect"==r);if(i)if(0!=P(i,_)){e.curOp.focus=a(),o(i);var l=Nn(c,u);(i.line>=l.to||i.line<l.from)&&setTimeout(dr(e,function(){x==n&&s(t)}),150)}else{var f=t.clientY<b.top?-20:t.clientY>b.bottom?20:0;f&&setTimeout(dr(e,function(){x==n&&(c.scroller.scrollTop+=f,s(t))}),50)}}function l(t){e.state.selectingText=!1,x=1/0,Fe(t),c.input.focus(),Ae(document,"mousemove",w),Ae(document,"mouseup",k),u.history.lastSelOrigin=null}var c=e.display,u=e.doc;Fe(t);var d,h,m=u.sel,g=m.ranges;if(i&&!t.shiftKey?(h=u.sel.contains(n),d=h>-1?g[h]:new fs(n,n)):(d=u.sel.primary(),h=u.sel.primIndex),ga?t.shiftKey&&t.metaKey:t.altKey)r="rect",i||(d=new fs(n,n)),n=$n(e,t,!0,!0),h=-1;else if("double"==r){var v=e.findWordAt(n);d=e.display.shift||u.extend?fi(u,d,v.anchor,v.head):v}else if("triple"==r){var y=new fs(F(n.line,0),U(u,F(n.line+1,0)));d=e.display.shift||u.extend?fi(u,d,y.anchor,y.head):y}else d=fi(u,d,n);i?-1==h?(h=g.length,yi(u,Nr(g.concat([d]),h),{scroll:!1,origin:"*mouse"})):g.length>1&&g[h].empty()&&"single"==r&&!t.shiftKey?(yi(u,Nr(g.slice(0,h).concat(g.slice(h+1)),0),{scroll:!1,origin:"*mouse"}),m=u.sel):hi(u,h,d,Ma):(h=0,yi(u,new us([d],0),Ma),m=u.sel);var _=n,b=c.wrapper.getBoundingClientRect(),x=0,w=dr(e,function(e){ze(e)?s(e):l(e)}),k=dr(e,l);e.state.selectingText=k,za(document,"mousemove",w),za(document,"mouseup",k)}function $o(e,t,n,r){var i,o;try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Fe(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Oe(e,n))return Ne(t);o-=s.top-a.viewOffset;for(var l=0;l<e.options.gutters.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){return Me(e,n,e,L(e.doc,o),e.options.gutters[l],t),Ne(t)}}}function Co(e,t){return $o(e,t,"gutterClick",!0)}function So(e,t){It(e.display,t)||Eo(e,t)||De(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function Eo(e,t){return!!Oe(e,"gutterContextMenu")&&$o(e,t,"gutterContextMenu",!1)}function To(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),on(e)}function Ao(e){Lr(e),mr(e),In(e)}function Mo(e,t,n){if(!t!=!(n&&n!=Ls)){var r=e.display.dragFunctions,i=t?za:Ae;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Do(e){e.options.lineWrapping?(s(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(wa(e.display.wrapper,"CodeMirror-wrap"),be(e)),kn(e),mr(e),on(e),setTimeout(function(){return er(e)},100)}function Lo(e,t){var n=this;if(!(this instanceof Lo))return new Lo(e,t);this.options=t=t?u(t):{},u(Os,t,!1),Or(t);var r=t.value;"string"==typeof r&&(r=new _s(r,t.mode,null,t.lineSeparator,t.direction)),this.doc=r;var i=new Lo.inputStyles[t.inputStyle](this),o=this.display=new S(e,r,i);o.wrapper.CodeMirror=this,Lr(this),To(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),nr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new $a,keySeq:null,specialChars:null},t.autofocus&&!ha&&o.input.focus(),ra&&ia<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Oo(this),Ji(),rr(this),this.curOp.forceUpdate=!0,Zr(this,r),t.autofocus&&!ha||this.hasFocus()?setTimeout(c(On,this),20):jn(this);for(var a in js)js.hasOwnProperty(a)&&js[a](n,t[a],Ls);qn(this),t.finishInit&&t.finishInit(this);for(var s=0;s<Fs.length;++s)Fs[s](n);ir(this),oa&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Oo(e){function t(){i.activeTouch&&(o=setTimeout(function(){return i.activeTouch=null},1e3),a=i.activeTouch,a.end=+new Date)}function n(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function r(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var i=e.display;za(i.scroller,"mousedown",dr(e,bo)),ra&&ia<11?za(i.scroller,"dblclick",dr(e,function(t){if(!De(e,t)){var n=$n(e,t);if(n&&!Co(e,t)&&!It(e.display,t)){Fe(t);var r=e.findWordAt(n);di(e.doc,r.anchor,r.head)}}})):za(i.scroller,"dblclick",function(t){return De(e,t)||Fe(t)}),xa||za(i.scroller,"contextmenu",function(t){return So(e,t)});var o,a={end:0};za(i.scroller,"touchstart",function(t){if(!De(e,t)&&!n(t)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),za(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),za(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!It(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,s=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new fs(s,s):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(s):new fs(F(s.line,0),U(e.doc,F(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),Fe(n)}t()}),za(i.scroller,"touchcancel",t),za(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Kn(e,i.scroller.scrollTop),Xn(e,i.scroller.scrollLeft,!0),Me(e,"scroll",e))}),za(i.scroller,"mousewheel",function(t){return Pr(e,t)}),za(i.scroller,"DOMMouseScroll",function(t){return Pr(e,t)}),za(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),
|
||
i.dragFunctions={enter:function(t){De(e,t)||Ie(t)},over:function(t){De(e,t)||(Gi(e,t),Ie(t))},start:function(t){return Yi(e,t)},drop:dr(e,Vi),leave:function(t){De(e,t)||Zi(e)}};var s=i.input.getField();za(s,"keyup",function(t){return yo.call(e,t)}),za(s,"keydown",dr(e,go)),za(s,"keypress",dr(e,_o)),za(s,"focus",function(t){return On(e,t)}),za(s,"blur",function(t){return jn(e,t)})}function jo(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=et(e,t):n="prev");var a=e.options.tabSize,s=E(o,t),l=f(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==Ta||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?f(E(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var m=Math.floor(c/a);m;--m)p+=a,d+="\t";if(p<c&&(d+=h(c-p)),d!=u)return ji(o,d,F(t,0),F(t,u.length),"+input"),s.stateAfter=null,!0;for(var g=0;g<o.sel.ranges.length;g++){var v=o.sel.ranges[g];if(v.head.line==t&&v.head.ch<u.length){var y=F(t,u.length);hi(o,g,new fs(y,y));break}}}function Fo(e){Ps=e}function Po(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=e.state.pasteIncoming||"paste"==i,s=Ua(t),l=null;if(a&&r.ranges.length>1)if(Ps&&Ps.text.join("\n")==t){if(r.ranges.length%Ps.text.length==0){l=[];for(var c=0;c<Ps.text.length;c++)l.push(o.splitLines(Ps.text[c]))}}else s.length==r.ranges.length&&(l=g(s,function(e){return[e]}));for(var u,f=r.ranges.length-1;f>=0;f--){var d=r.ranges[f],p=d.from(),h=d.to();d.empty()&&(n&&n>0?p=F(p.line,p.ch-n):e.state.overwrite&&!a?h=F(h.line,Math.min(E(o,h.line).text.length,h.ch+m(s).length)):Ps&&Ps.lineWise&&Ps.text.join("\n")==t&&(p=h=F(p.line,0))),u=e.curOp.updateInput;var v={from:p,to:h,text:l?l[f%l.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};Ti(e.doc,v),kt(e,"inputRead",e,v)}t&&!a&&Io(e,t),Wn(e),e.curOp.updateInput=u,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function No(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||fr(t,function(){return Po(t,n,0,null,"paste")}),!0}function Io(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=jo(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(E(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=jo(e,i.head.line,"smart"));a&&kt(e,"electricInput",e,i.head.line)}}}function qo(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:F(i,0),head:F(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function zo(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function Ro(){var e=r("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=r("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return oa?e.style.width="1000px":e.setAttribute("wrap","off"),da&&(e.style.border="1px solid black"),zo(e),t}function Uo(e,t,n,r,i){function o(){var r=t.line+n;return!(r<e.first||r>=e.first+e.size)&&(t=new F(r,t.ch,t.sticky),c=E(e,r))}function a(r){var a;if(null==(a=i?Ee(e.cm,c,t,n):Ce(c,t,n))){if(r||!o())return!1;t=Se(i,e.cm,c,t.line,n)}else t=a;return!0}var s=t,l=n,c=E(e,t.line);if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var u=null,f="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||a(!p);p=!1){var h=c.text.charAt(t.ch)||"\n",m=x(h,d)?"w":f&&"\n"==h?"n":!f||/\s/.test(h)?null:"p";if(!f||p||m||(m="s"),u&&u!=m){n<0&&(n=1,a(),t.sticky="after");break}if(m&&(u=m),n>0&&!a(!p))break}var g=$i(e,t,s,l,!0);return N(s,g)&&(g.hitSide=!0),g}function Bo(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(s-.5*yn(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var c;c=hn(e,a,i),c.outside;){if(n<0?i<=0:i>=o.height){c.hitSide=!0;break}i+=5*n}return c}function Ho(e,t){var n=Zt(e,t.line);if(!n||n.hidden)return null;var r=E(e.doc,t.line),i=Vt(n,r,t.line),o=ke(r,e.doc.direction),a="left";if(o){a=we(o,t.ch)%2?"right":"left"}var s=Xt(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Wo(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Vo(e,t){return t&&(e.bad=!0),e}function Yo(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(){u&&(c+=f,u=!1)}function s(e){e&&(a(),c+=e)}function l(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void s(n||t.textContent.replace(/\u200b/g,""));var c,d=t.getAttribute("cm-marker");if(d){var p=e.findMarks(F(r,0),F(i+1,0),o(+d));return void(p.length&&(c=p[0].find())&&s(T(e.doc,c.from,c.to).join(f)))}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p)$/i.test(t.nodeName);h&&a();for(var m=0;m<t.childNodes.length;m++)l(t.childNodes[m]);h&&(u=!0)}else 3==t.nodeType&&s(t.nodeValue)}for(var c="",u=!1,f=e.doc.lineSeparator();l(t),t!=n;)t=t.nextSibling;return c}function Go(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Vo(e.clipPos(F(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return Zo(o,t,n)}}function Zo(e,t,n){function r(t,n,r){for(var i=-1;i<(f?f.length:0);i++)for(var o=i<0?u.map:f[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var l=D(i<0?e.line:e.rest[i]),c=o[a]+r;return(r<0||s!=t)&&(c=o[a+(r?1:0)]),F(l,c)}}}var i=e.text.firstChild,a=!1;if(!t||!o(i,t))return Vo(F(D(e.line),0),!0);if(t==i&&(a=!0,t=i.childNodes[n],n=0,!t)){var s=e.rest?m(e.rest):e.line;return Vo(F(D(s),s.text.length),a)}var l=3==t.nodeType?t:null,c=t;for(l||1!=t.childNodes.length||3!=t.firstChild.nodeType||(l=t.firstChild,n&&(n=l.nodeValue.length));c.parentNode!=i;)c=c.parentNode;var u=e.measure,f=u.maps,d=r(l,c,n);if(d)return Vo(d,a);for(var p=c.nextSibling,h=l?l.nodeValue.length-n:0;p;p=p.nextSibling){if(d=r(p,p.firstChild,0))return Vo(F(d.line,d.ch-h),a);h+=p.textContent.length}for(var g=c.previousSibling,v=n;g;g=g.previousSibling){if(d=r(g,g.firstChild,-1))return Vo(F(d.line,d.ch+v),a);v+=g.textContent.length}}function Ko(e,t){function n(){e.value=l.getValue()}if(t=t?u(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=a();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}var i;if(e.form&&(za(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var s=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=s}}catch(e){}}t.finishInit=function(t){t.save=n,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,n(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(Ae(e.form,"submit",n),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var l=Lo(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return l}var Jo=navigator.userAgent,Xo=navigator.platform,Qo=/gecko\/\d/i.test(Jo),ea=/MSIE \d/.test(Jo),ta=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Jo),na=/Edge\/(\d+)/.exec(Jo),ra=ea||ta||na,ia=ra&&(ea?document.documentMode||6:+(na||ta)[1]),oa=!na&&/WebKit\//.test(Jo),aa=oa&&/Qt\/\d+\.\d+/.test(Jo),sa=!na&&/Chrome\//.test(Jo),la=/Opera\//.test(Jo),ca=/Apple Computer/.test(navigator.vendor),ua=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Jo),fa=/PhantomJS/.test(Jo),da=!na&&/AppleWebKit/.test(Jo)&&/Mobile\/\w+/.test(Jo),pa=/Android/.test(Jo),ha=da||pa||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Jo),ma=da||/Mac/.test(Xo),ga=/\bCrOS\b/.test(Jo),va=/win/i.test(Xo),ya=la&&Jo.match(/Version\/(\d*\.\d*)/);ya&&(ya=Number(ya[1])),ya&&ya>=15&&(la=!1,oa=!0);var _a,ba=ma&&(aa||la&&(null==ya||ya<12.11)),xa=Qo||ra&&ia>=9,wa=function(t,n){var r=t.className,i=e(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);t.className=r.slice(0,i.index)+(o?i[1]+o:"")}};_a=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var ka=function(e){e.select()};da?ka=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ra&&(ka=function(e){try{e.select()}catch(e){}});var $a=function(){this.id=null};$a.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var Ca,Sa,Ea=30,Ta={toString:function(){return"CodeMirror.Pass"}},Aa={scroll:!1},Ma={origin:"*mouse"},Da={origin:"+move"},La=[""],Oa=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,ja=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Fa=!1,Pa=!1,Na=null,Ia=function(){function e(e){return e<=247?n.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?r.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,s=/[Lb1n]/,l=/[1n]/;return function(n,r){var c="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var u=n.length,f=[],d=0;d<u;++d)f.push(e(n.charCodeAt(d)));for(var p=0,h=c;p<u;++p){var g=f[p];"m"==g?f[p]=h:h=g}for(var v=0,y=c;v<u;++v){var _=f[v];"1"==_&&"r"==y?f[v]="n":a.test(_)&&(y=_,"r"==_&&(f[v]="R"))}for(var b=1,x=f[0];b<u-1;++b){var w=f[b];"+"==w&&"1"==x&&"1"==f[b+1]?f[b]="1":","!=w||x!=f[b+1]||"1"!=x&&"n"!=x||(f[b]=x),x=w}for(var k=0;k<u;++k){var $=f[k];if(","==$)f[k]="N";else if("%"==$){var C=void 0;for(C=k+1;C<u&&"%"==f[C];++C);for(var S=k&&"!"==f[k-1]||C<u&&"1"==f[C]?"1":"N",E=k;E<C;++E)f[E]=S;k=C-1}}for(var T=0,A=c;T<u;++T){var M=f[T];"L"==A&&"1"==M?f[T]="L":a.test(M)&&(A=M)}for(var D=0;D<u;++D)if(o.test(f[D])){var L=void 0;for(L=D+1;L<u&&o.test(f[L]);++L);for(var O="L"==(D?f[D-1]:c),j="L"==(L<u?f[L]:c),F=O==j?O?"L":"R":c,P=D;P<L;++P)f[P]=F;D=L-1}for(var N,I=[],q=0;q<u;)if(s.test(f[q])){var z=q;for(++q;q<u&&s.test(f[q]);++q);I.push(new t(0,z,q))}else{var R=q,U=I.length;for(++q;q<u&&"L"!=f[q];++q);for(var B=R;B<q;)if(l.test(f[B])){R<B&&I.splice(U,0,new t(1,R,B));var H=B;for(++B;B<q&&l.test(f[B]);++B);I.splice(U,0,new t(2,H,B)),R=B}else++B;R<q&&I.splice(U,0,new t(1,R,q))}return 1==I[0].level&&(N=n.match(/^\s+/))&&(I[0].from=N[0].length,I.unshift(new t(0,0,N[0].length))),1==m(I).level&&(N=n.match(/\s+$/))&&(m(I).to-=N[0].length,I.push(new t(0,u-N[0].length,u))),"rtl"==r?I.reverse():I}}(),qa=[],za=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||qa).concat(n)}},Ra=function(){if(ra&&ia<9)return!1;var e=r("div");return"draggable"in e||"dragDrop"in e}(),Ua=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ba=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ha=function(){var e=r("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Wa=null,Va={},Ya={},Ga={},Za=function(e,t){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Za.prototype.eol=function(){return this.pos>=this.string.length},Za.prototype.sol=function(){return this.pos==this.lineStart},Za.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Za.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Za.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Za.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Za.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},Za.prototype.skipToEnd=function(){this.pos=this.string.length},Za.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Za.prototype.backUp=function(e){this.pos-=e},Za.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=f(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?f(this.string,this.lineStart,this.tabSize):0)},Za.prototype.indentation=function(){return f(this.string,null,this.tabSize)-(this.lineStart?f(this.string,this.lineStart,this.tabSize):0)},Za.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Za.prototype.current=function(){return this.string.slice(this.start,this.pos)},Za.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}};var Ka=function(e,t,n){this.text=e,re(this,t),this.height=n?n(this):1};Ka.prototype.lineNo=function(){return D(this)},je(Ka);var Ja,Xa={},Qa={},es=null,ts=null,ns={left:0,right:0,top:0,bottom:0},rs=function(e,t,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(o),za(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),za(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ra&&ia<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};rs.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},rs.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},rs.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},rs.prototype.zeroWidthHack=function(){var e=ma&&!ua?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new $a,this.disableVert=new $a},rs.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},rs.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var is=function(){};is.prototype.update=function(){return{bottom:0,right:0}},is.prototype.setScrollLeft=function(){},is.prototype.setScrollTop=function(){},is.prototype.clear=function(){};var os={native:rs,null:is},as=0,ss=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Nn(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Bt(e),this.force=n,this.dims=bn(e),this.events=[]};ss.prototype.signal=function(e,t){Oe(e,t)&&this.events.push(arguments)},ss.prototype.finish=function(){for(var e=this,t=0;t<this.events.length;t++)Me.apply(null,e.events[t])};var ls=0,cs=null;ra?cs=-.53:Qo?cs=15:sa?cs=-.7:ca&&(cs=-1/3);var us=function(e,t){this.ranges=e,this.primIndex=t};us.prototype.primary=function(){return this.ranges[this.primIndex]},us.prototype.equals=function(e){var t=this;if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var r=t.ranges[n],i=e.ranges[n];if(!N(r.anchor,i.anchor)||!N(r.head,i.head))return!1}return!0},us.prototype.deepCopy=function(){for(var e=this,t=[],n=0;n<this.ranges.length;n++)t[n]=new fs(I(e.ranges[n].anchor),I(e.ranges[n].head));return new us(t,this.primIndex)},us.prototype.somethingSelected=function(){for(var e=this,t=0;t<this.ranges.length;t++)if(!e.ranges[t].empty())return!0;return!1},us.prototype.contains=function(e,t){var n=this;t||(t=e);for(var r=0;r<this.ranges.length;r++){var i=n.ranges[r];if(P(t,i.from())>=0&&P(e,i.to())<=0)return r}return-1};var fs=function(e,t){this.anchor=e,this.head=t};fs.prototype.from=function(){return z(this.anchor,this.head)},fs.prototype.to=function(){return q(this.anchor,this.head)},fs.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var ds=function(e){var t=this;this.lines=e,this.parent=null;for(var n=0,r=0;r<e.length;++r)e[r].parent=t,n+=e[r].height;this.height=n};ds.prototype.chunkSize=function(){return this.lines.length},ds.prototype.removeInner=function(e,t){for(var n=this,r=e,i=e+t;r<i;++r){var o=n.lines[r];n.height-=o.height,ct(o),kt(o,"delete")}this.lines.splice(e,t)},ds.prototype.collapse=function(e){e.push.apply(e,this.lines)},ds.prototype.insertInner=function(e,t,n){var r=this;this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=r},ds.prototype.iterN=function(e,t,n){for(var r=this,i=e+t;e<i;++e)if(n(r.lines[e]))return!0};var ps=function(e){var t=this;this.children=e;for(var n=0,r=0,i=0;i<e.length;++i){var o=e[i];n+=o.chunkSize(),r+=o.height,o.parent=t}this.size=n,this.height=r,this.parent=null};ps.prototype.chunkSize=function(){return this.size},ps.prototype.removeInner=function(e,t){var n=this;this.size-=t;for(var r=0;r<this.children.length;++r){var i=n.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e),s=i.height;if(i.removeInner(e,a),n.height-=s-i.height,o==a&&(n.children.splice(r--,1),i.parent=null),0==(t-=a))break;e=0}else e-=o}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ds))){var l=[];this.collapse(l),this.children=[new ds(l)],this.children[0].parent=this}},ps.prototype.collapse=function(e){for(var t=this,n=0;n<this.children.length;++n)t.children[n].collapse(e)},ps.prototype.insertInner=function(e,t,n){var r=this;this.size+=t.length,this.height+=n;for(var i=0;i<this.children.length;++i){var o=r.children[i],a=o.chunkSize();if(e<=a){if(o.insertInner(e,t,n),o.lines&&o.lines.length>50){for(var s=o.lines.length%25+25,l=s;l<o.lines.length;){var c=new ds(o.lines.slice(l,l+=25));o.height-=c.height,r.children.splice(++i,0,c),c.parent=r}o.lines=o.lines.slice(0,s),r.maybeSpill()}break}e-=a}},ps.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new ps(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=d(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new ps(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},ps.prototype.iterN=function(e,t,n){for(var r=this,i=0;i<this.children.length;++i){var o=r.children[i],a=o.chunkSize();if(e<a){var s=Math.min(t,a-e);if(o.iterN(e,s,n))return!0;if(0==(t-=s))break;e=0}else e-=a}};var hs=function(e,t,n){var r=this;if(n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);this.doc=e,this.node=t};hs.prototype.clear=function(){var e=this,t=this.doc.cm,n=this.line.widgets,r=this.line,i=D(r);if(null!=i&&n){for(var o=0;o<n.length;++o)n[o]==e&&n.splice(o--,1);n.length||(r.widgets=null);var a=Nt(this);M(r,Math.max(0,r.height-a)),t&&(fr(t,function(){qi(t,r,-a),gr(t,i,"widget")}),kt(t,"lineWidgetCleared",t,this,i))}},hs.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Nt(this)-t;i&&(M(r,r.height+i),n&&fr(n,function(){n.curOp.forceUpdate=!0,qi(n,r,i),kt(n,"lineWidgetChanged",n,e,D(r))}))},je(hs);var ms=0,gs=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ms};gs.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,n=t&&!t.curOp;if(n&&rr(t),Oe(this,"clear")){var r=this.find();r&&kt(this,"clear",r.from,r.to)}for(var i=null,o=null,a=0;a<this.lines.length;++a){var s=e.lines[a],l=G(s.markedSpans,e);t&&!e.collapsed?gr(t,D(s),"text"):t&&(null!=l.to&&(o=D(s)),null!=l.from&&(i=D(s))),s.markedSpans=Z(s.markedSpans,l),null==l.from&&e.collapsed&&!ge(e.doc,s)&&t&&M(s,yn(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var u=fe(e.lines[c]),f=_e(u);f>t.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=f,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&mr(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&xi(t.doc)),t&&kt(t,"markerCleared",t,this,i,o),n&&ir(t),this.parent&&this.parent.clear()}},gs.prototype.find=function(e,t){var n=this;null==e&&"bookmark"==this.type&&(e=1);for(var r,i,o=0;o<this.lines.length;++o){var a=n.lines[o],s=G(a.markedSpans,n);if(null!=s.from&&(r=F(t?a:D(a),s.from),-1==e))return r;if(null!=s.to&&(i=F(t?a:D(a),s.to),1==e))return i}return r&&{from:r,to:i}},gs.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&fr(r,function(){var i=t.line,o=D(t.line),a=Zt(r,o);if(a&&(nn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!ge(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Nt(n)-s;l&&M(i,i.height+l)}kt(r,"markerChanged",r,e)})},gs.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=d(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},gs.prototype.detachLine=function(e){if(this.lines.splice(d(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},je(gs);var vs=function(e,t){var n=this;this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=n};vs.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)e.markers[t].clear();kt(this,"clear")}},vs.prototype.find=function(e,t){return this.primary.find(e,t)},je(vs);var ys=0,_s=function(e,t,n,r,i){if(!(this instanceof _s))return new _s(e,t,n,r,i);null==n&&(n=0),ps.call(this,[new ds([new Ka("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var o=F(n,0);this.sel=Ir(o),this.history=new Xr(null),this.id=++ys,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Yr(this,{from:o,to:o,text:e}),yi(this,Ir(o),Aa)};_s.prototype=_(ps.prototype,{constructor:_s,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=A(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:hr(function(e){var t=F(this.first,0),n=this.first+this.size-1;Ti(this,{from:t,to:F(n,E(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Vn(this.cm,0,0),yi(this,Ir(t),Aa)}),replaceRange:function(e,t,n,r){t=U(this,t),n=n?U(this,n):t,ji(this,e,t,n,r)},getRange:function(e,t,n){var r=T(this,U(this,e),U(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(O(this,e))return E(this,e)},getLineNumber:function(e){return D(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=E(this,e)),fe(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return U(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:hr(function(e,t,n){mi(this,U(this,"number"==typeof e?F(e,t||0):e),null,n)}),setSelection:hr(function(e,t,n){mi(this,U(this,e),U(this,t||e),n)}),extendSelection:hr(function(e,t,n){di(this,U(this,e),t&&U(this,t),n)}),extendSelections:hr(function(e,t){pi(this,H(this,e),t)}),extendSelectionsBy:hr(function(e,t){pi(this,H(this,g(this.sel.ranges,e)),t)}),setSelections:hr(function(e,t,n){var r=this;if(e.length){for(var i=[],o=0;o<e.length;o++)i[o]=new fs(U(r,e[o].anchor),U(r,e[o].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),yi(this,Nr(i,t),n)}}),addSelection:hr(function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new fs(U(this,e),U(this,t||e))),yi(this,Nr(r,r.length-1),n)}),getSelection:function(e){for(var t,n=this,r=this.sel.ranges,i=0;i<r.length;i++){var o=T(n,r[i].from(),r[i].to());t=t?t.concat(o):o}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=this,n=[],r=this.sel.ranges,i=0;i<r.length;i++){var o=T(t,r[i].from(),r[i].to());!1!==e&&(o=o.join(e||t.lineSeparator())),n[i]=o}return n},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:hr(function(e,t,n){for(var r=this,i=[],o=this.sel,a=0;a<o.ranges.length;a++){var s=o.ranges[a];i[a]={from:s.from(),to:s.to(),text:r.splitLines(e[a]),origin:n}}for(var l=t&&"end"!=t&&Br(this,i,t),c=i.length-1;c>=0;c--)Ti(r,i[c]);l?vi(this,l):this.cm&&Wn(this.cm)}),undo:hr(function(){Mi(this,"undo")}),redo:hr(function(){Mi(this,"redo")}),undoSelection:hr(function(){Mi(this,"undo",!0)}),redoSelection:hr(function(){Mi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new Xr(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:ui(this.history.done),undone:ui(this.history.undone)}},setHistory:function(e){var t=this.history=new Xr(this.history.maxGeneration);t.done=ui(e.done.slice(0),null,!0),t.undone=ui(e.undone.slice(0),null,!0)},setGutterMarker:hr(function(e,t,n){return Ii(this,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&w(r)&&(e.gutterMarkers=null),!0})}),clearGutter:hr(function(e){var t=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&Ii(t,n,"gutter",function(){return n.gutterMarkers[e]=null,w(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!O(this,e))return null;if(t=e,!(e=E(this,e)))return null}else if(null==(t=D(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:hr(function(t,n,r){return Ii(this,t,"gutter"==n?"gutter":"class",function(t){var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(t[i]){if(e(r).test(t[i]))return!1;t[i]+=" "+r}else t[i]=r;return!0})}),removeLineClass:hr(function(t,n,r){return Ii(this,t,"gutter"==n?"gutter":"class",function(t){
|
||
var i="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass",o=t[i];if(!o)return!1;if(null==r)t[i]=null;else{var a=o.match(e(r));if(!a)return!1;var s=a.index+a[0].length;t[i]=o.slice(0,a.index)+(a.index&&s!=o.length?" ":"")+o.slice(s)||null}return!0})}),addLineWidget:hr(function(e,t,n){return zi(this,e,t,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return Ri(this,U(this,e),U(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=U(this,e),Ri(this,e,e,n,"bookmark")},findMarksAt:function(e){e=U(this,e);var t=[],n=E(this,e.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=U(this,e),t=U(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)}),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n}),U(this,F(n,t))},indexFromPos:function(e){e=U(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new _s(A(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new _s(A(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Hi(r,Bi(this)),r},unlinkDoc:function(e){var t=this;if(e instanceof Lo&&(e=e.doc),this.linked)for(var n=0;n<this.linked.length;++n){var r=t.linked[n];if(r.doc==e){t.linked.splice(n,1),e.unlinkDoc(t),Wi(Bi(t));break}}if(e.history==this.history){var i=[e.id];Gr(e,function(e){return i.push(e.id)},!0),e.history=new Xr(null),e.history.done=ui(this.history.done,i),e.history.undone=ui(this.history.undone,i)}},iterLinkedDocs:function(e){Gr(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ua(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:hr(function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&Jr(this.cm))})}),_s.prototype.eachLine=_s.prototype.iter;for(var bs=0,xs=!1,ws={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ks=0;ks<10;ks++)ws[ks+48]=ws[ks+96]=String(ks);for(var $s=65;$s<=90;$s++)ws[$s]=String.fromCharCode($s);for(var Cs=1;Cs<=12;Cs++)ws[Cs+111]=ws[Cs+63235]="F"+Cs;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=ma?Ss.macDefault:Ss.pcDefault;var Es,Ts,As={selectAll:Si,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Aa)},killLine:function(e){return ao(e,function(t){if(t.empty()){var n=E(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:F(t.head.line+1,0)}:{from:t.head,to:F(t.head.line,n)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return ao(e,function(t){return{from:F(t.from().line,0),to:U(e.doc,F(t.to().line+1,0))}})},delLineLeft:function(e){return ao(e,function(e){return{from:F(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return ao(e,function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}})},delWrappedLineRight:function(e){return ao(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(F(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(F(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return so(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return co(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return lo(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},Da)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},Da)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?co(e,t.head):r},Da)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=f(e.getLine(o.line),o.ch,r);t.push(h(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return fr(e,function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=E(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new F(i.line,i.ch-1)),i.ch>0)i=new F(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),F(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=E(e.doc,i.line-1).text;a&&(i=new F(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),F(i.line-1,a.length-1),i,"+transpose"))}n.push(new fs(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return fr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Wn(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}},Ms=new $a,Ds=null,Ls={toString:function(){return"CodeMirror.Init"}},Os={},js={};Lo.defaults=Os,Lo.optionHandlers=js;var Fs=[];Lo.defineInitHook=function(e){return Fs.push(e)};var Ps=null,Ns=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new $a,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ns.prototype.init=function(e){function t(e){if(!De(i,e)){if(i.somethingSelected())Fo({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=qo(i);Fo({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,Aa),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=Ps.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var a=Ro(),s=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),s.value=Ps.text.join("\n");var l=document.activeElement;ka(s),setTimeout(function(){i.display.lineSpace.removeChild(a),l.focus(),l==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=e.lineDiv;zo(o,i.options.spellcheck),za(o,"paste",function(e){De(i,e)||No(e,i)||ia<=11&&setTimeout(dr(i,function(){return n.updateFromDOM()}),20)}),za(o,"compositionstart",function(e){n.composing={data:e.data,done:!1}}),za(o,"compositionupdate",function(e){n.composing||(n.composing={data:e.data,done:!1})}),za(o,"compositionend",function(e){n.composing&&(e.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),za(o,"touchstart",function(){return r.forceCompositionEnd()}),za(o,"input",function(){n.composing||n.readFromDOMSoon()}),za(o,"copy",t),za(o,"cut",t)},Ns.prototype.prepareSelection=function(){var e=En(this.cm,!1);return e.focus=this.cm.state.focused,e},Ns.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ns.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line<t.display.viewFrom)return void e.removeAllRanges();var o=Go(t,e.anchorNode,e.anchorOffset),a=Go(t,e.focusNode,e.focusOffset);if(!o||o.bad||!a||a.bad||0!=P(z(o,a),r)||0!=P(q(o,a),i)){var s=t.display.view,l=r.line>=t.display.viewFrom&&Ho(t,r)||{node:s[0].measure.map[2],offset:0},c=i.line<t.display.viewTo&&Ho(t,i);if(!c){var u=s[s.length-1].measure,f=u.maps?u.maps[u.maps.length-1]:u.map;c={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(!l||!c)return void e.removeAllRanges();var d,p=e.rangeCount&&e.getRangeAt(0);try{d=_a(l.node,l.offset,c.offset,c.node)}catch(e){}d&&(!Qo&&t.state.focused?(e.collapse(l.node,l.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),p&&null==e.anchorNode?e.addRange(p):Qo&&this.startGracePeriod()),this.rememberSelection()}},Ns.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Ns.prototype.showMultipleSelections=function(e){n(this.cm.display.cursorDiv,e.cursors),n(this.cm.display.selectionDiv,e.selection)},Ns.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ns.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return o(this.div,t)},Ns.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ns.prototype.blur=function(){this.div.blur()},Ns.prototype.getField=function(){return this.div},Ns.prototype.supportsTouch=function(){return!0},Ns.prototype.receivedFocus=function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():fr(this.cm,function(){return t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},Ns.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ns.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;if(pa&&sa&&this.cm.options.gutters.length&&Wo(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Go(t,e.anchorNode,e.anchorOffset),r=Go(t,e.focusNode,e.focusOffset);n&&r&&fr(t,function(){yi(t.doc,Ir(n,r),Aa),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},Ns.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(0==r.ch&&r.line>e.firstLine()&&(r=F(r.line-1,E(e.doc,r.line-1).length)),i.ch==E(e.doc,i.line).text.length&&i.line<e.lastLine()&&(i=F(i.line+1,0)),r.line<t.viewFrom||i.line>t.viewTo-1)return!1;var o,a,s;r.line==t.viewFrom||0==(o=Cn(e,r.line))?(a=D(t.view[0].line),s=t.view[0].node):(a=D(t.view[o].line),s=t.view[o-1].node.nextSibling);var l,c,u=Cn(e,i.line);if(u==t.view.length-1?(l=t.viewTo-1,c=t.lineDiv.lastChild):(l=D(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling),!s)return!1;for(var f=e.doc.splitLines(Yo(e,s,c,a,l)),d=T(e.doc,F(a,0),F(l,E(e.doc,l).text.length));f.length>1&&d.length>1;)if(m(f)==m(d))f.pop(),d.pop(),l--;else{if(f[0]!=d[0])break;f.shift(),d.shift(),a++}for(var p=0,h=0,g=f[0],v=d[0],y=Math.min(g.length,v.length);p<y&&g.charCodeAt(p)==v.charCodeAt(p);)++p;for(var _=m(f),b=m(d),x=Math.min(_.length-(1==f.length?p:0),b.length-(1==d.length?p:0));h<x&&_.charCodeAt(_.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==f.length&&1==d.length&&a==r.line)for(;p&&p>r.ch&&_.charCodeAt(_.length-h-1)==b.charCodeAt(b.length-h-1);)p--,h++;f[f.length-1]=_.slice(0,_.length-h).replace(/^\u200b+/,""),f[0]=f[0].slice(p).replace(/\u200b+$/,"");var w=F(a,p),k=F(l,d.length?m(d).length-h:0);return f.length>1||f[0]||P(w,k)?(ji(e.doc,f,w,k,"+input"),!0):void 0},Ns.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ns.prototype.reset=function(){this.forceCompositionEnd()},Ns.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ns.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ns.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||fr(this.cm,function(){return mr(e.cm)})},Ns.prototype.setUneditable=function(e){e.contentEditable="false"},Ns.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||dr(this.cm,Po)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ns.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ns.prototype.onContextMenu=function(){},Ns.prototype.resetPosition=function(){},Ns.prototype.needsContentAttribute=!0;var Is=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new $a,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};Is.prototype.init=function(e){function t(e){if(!De(i,e)){if(i.somethingSelected())Fo({lineWise:!1,text:i.getSelections()}),r.inaccurateSelection&&(r.prevInput="",r.inaccurateSelection=!1,a.value=Ps.text.join("\n"),ka(a));else{if(!i.options.lineWiseCopyCut)return;var t=qo(i);Fo({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Aa):(r.prevInput="",a.value=t.text.join("\n"),ka(a))}"cut"==e.type&&(i.state.cutIncoming=!0)}}var n=this,r=this,i=this.cm,o=this.wrapper=Ro(),a=this.textarea=o.firstChild;e.wrapper.insertBefore(o,e.wrapper.firstChild),da&&(a.style.width="0px"),za(a,"input",function(){ra&&ia>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),za(a,"paste",function(e){De(i,e)||No(e,i)||(i.state.pasteIncoming=!0,r.fastPoll())}),za(a,"cut",t),za(a,"copy",t),za(e.scroller,"paste",function(t){It(e,t)||De(i,t)||(i.state.pasteIncoming=!0,r.focus())}),za(e.lineSpace,"selectstart",function(t){It(e,t)||Fe(t)}),za(a,"compositionstart",function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),za(a,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Is.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=En(e);if(e.options.moveInputWithCursor){var i=fn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Is.prototype.showSelection=function(e){var t=this.cm,r=t.display;n(r.cursorDiv,e.cursors),n(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Is.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=Ha&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var a=t?"-":n||r.getSelection();this.textarea.value=a,r.state.focused&&ka(this.textarea),ra&&ia>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",ra&&ia>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},Is.prototype.getField=function(){return this.textarea},Is.prototype.supportsTouch=function(){return!1},Is.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!ha||a()!=this.textarea))try{this.textarea.focus()}catch(e){}},Is.prototype.blur=function(){this.textarea.blur()},Is.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Is.prototype.receivedFocus=function(){this.slowPoll()},Is.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Is.prototype.fastPoll=function(){function e(){n.poll()||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},Is.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ba(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(ra&&ia>=9&&this.hasSelection===i||ma&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,s=Math.min(r.length,i.length);a<s&&r.charCodeAt(a)==i.charCodeAt(a);)++a;return fr(t,function(){Po(t,i.slice(a),r.length-a,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Is.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Is.prototype.onKeyPress=function(){ra&&ia>=9&&(this.hasSelection=null),this.fastPoll()},Is.prototype.onContextMenu=function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t=""+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=u,a.style.cssText=c,ra&&ia<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=a.selectionStart){(!ra||ra&&ia<9)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&""==r.prevInput?dr(i,Si)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,s=$n(i,e),l=o.scroller.scrollTop;if(s&&!la){i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(s)&&dr(i,yi)(i.doc,Ir(s),Aa);var c=a.style.cssText,u=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var f=r.wrapper.getBoundingClientRect();a.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(ra?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var d;if(oa&&(d=window.scrollY),o.input.focus(),oa&&window.scrollTo(null,d),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),ra&&ia>=9&&t(),xa){Ie(e);var p=function(){Ae(window,"mouseup",p),setTimeout(n,20)};za(window,"mouseup",p)}else setTimeout(n,50)}},Is.prototype.readOnlyChanged=function(e){e||this.reset()},Is.prototype.setUneditable=function(){},Is.prototype.needsContentAttribute=!1,function(e){function t(t,r,i,o){e.defaults[t]=r,i&&(n[t]=o?function(e,t,n){n!=Ls&&i(e,t,n)}:i)}var n=e.optionHandlers;e.defineOption=t,e.Init=Ls,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Hr(e)},!0),t("indentUnit",2,Hr,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){Wr(e),on(e),mr(e)},!0),t("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(F(r,o))}r++});for(var i=n.length-1;i>=0;i--)ji(e.doc,t,n[i],F(n[i].line,n[i].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ls&&e.refresh()}),t("specialCharPlaceholder",dt,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",ha?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("rtlMoveVisually",!va),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){To(e),Ao(e)},!0),t("keyMap","default",function(e,t,n){var r=oo(t),i=n!=Ls&&oo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),t("extraKeys",null),t("lineWrapping",!1,Do,!0),t("gutters",[],function(e){Or(e.options),Ao(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?xn(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return er(e)},!0),t("scrollbarStyle","native",function(e){nr(e),er(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e){Or(e.options),Ao(e)},!0),t("firstLineNumber",1,Ao,!0),t("lineNumberFormatter",function(e){return e},Ao,!0),t("showCursorWhenSelecting",!1,Sn,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("readOnly",!1,function(e,t){"nocursor"==t?(jn(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Mo),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,Sn,!0),t("singleCursorHeightPerLine",!0,Sn,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,Wr,!0),t("addModeClass",!1,Wr,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,Wr,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null),t("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(Lo),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&dr(this,t[e])(this,n,i),Me(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](oo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:pr(function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");v(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},function(e){return e.priority}),this.state.modeGen++,mr(this)}),removeOverlay:pr(function(e){for(var t=this,n=this.state.overlays,r=0;r<n.length;++r){var i=n[r].modeSpec;if(i==e||"string"==typeof e&&i.name==e)return n.splice(r,1),t.state.modeGen++,void mr(t)}}),indentLine:pr(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),O(this.doc,e)&&jo(this,e,t,n)}),indentSelection:pr(function(e){for(var t=this,n=this.doc.sel.ranges,r=-1,i=0;i<n.length;i++){var o=n[i];if(o.empty())o.head.line>r&&(jo(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&Wn(t));else{var a=o.from(),s=o.to(),l=Math.max(r,a.line);r=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c<r;++c)jo(t,c,e);var u=t.doc.sel.ranges;0==a.ch&&n.length==u.length&&u[i].from().ch>0&&hi(t.doc,i,new fs(a,u[i].to()),Aa)}}}),getTokenAt:function(e,t){return it(this,e,t)},getLineTokens:function(e,t){return it(this,F(e),t,!0)},getTokenTypeAt:function(e){e=U(this.doc,e);var t,n=Qe(this,E(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=this,i=[];if(!n.hasOwnProperty(t))return i;var o=n[t],a=this.getModeAt(e);if("string"==typeof a[t])o[a[t]]&&i.push(o[a[t]]);else if(a[t])for(var s=0;s<a[t].length;s++){var l=o[a[t][s]];l&&i.push(l)}else a.helperType&&o[a.helperType]?i.push(o[a.helperType]):o[a.name]&&i.push(o[a.name]);for(var c=0;c<o._global.length;c++){var u=o._global[c];u.pred(a,r)&&-1==d(i,u.val)&&i.push(u.val)}return i},getStateAfter:function(e,t){var n=this.doc;return e=R(n,null==e?n.first+n.size-1:e),et(this,e+1,t)},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?U(this.doc,e):e?r.from():r.to(),fn(this,n,t||"page")},charCoords:function(e,t){return un(this,U(this.doc,e),t||"page")},coordsChar:function(e,t){return e=cn(this,e,t||"page"),hn(this,e.left,e.top)},lineAtHeight:function(e,t){return e=cn(this,{top:e,left:0},t||"page").top,L(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=E(this.doc,e)}else r=e;return ln(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-ye(r):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return _n(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=fn(this,U(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),
|
||
t.style.left=s+"px"),n&&Un(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:pr(go),triggerOnKeyPress:pr(_o),triggerOnKeyUp:yo,execCommand:function(e){if(As.hasOwnProperty(e))return As[e].call(null,this)},triggerElectric:pr(function(e){Io(this,e)}),findPosH:function(e,t,n,r){var i=this,o=1;t<0&&(o=-1,t=-t);for(var a=U(this.doc,e),s=0;s<t&&(a=Uo(i.doc,a,o,n,r),!a.hitSide);++s);return a},moveH:pr(function(e,t){var n=this;this.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Uo(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()},Da)}),deleteH:pr(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):ao(this,function(n){var i=Uo(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=this,o=1,a=r;t<0&&(o=-1,t=-t);for(var s=U(this.doc,e),l=0;l<t;++l){var c=fn(i,s,"div");if(null==a?a=c.left:c.left=a,s=Bo(i,c,o,n),s.hitSide)break}return s},moveV:pr(function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return e<0?a.from():a.to();var s=fn(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Bo(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Hn(n,un(n,l,"div").top-s.top),l},Da),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]}),findWordAt:function(e){var t=this.doc,n=E(t,e.line).text,r=e.ch,i=e.ch;if(n){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=n.length||!r?++i:--r;for(var a=n.charAt(r),s=x(a,o)?function(e){return x(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!x(e)};r>0&&s(n.charAt(r-1));)--r;for(;i<n.length&&s(n.charAt(i));)++i}return new fs(F(e.line,r),F(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?s(this.display.cursorDiv,"CodeMirror-overwrite"):wa(this.display.cursorDiv,"CodeMirror-overwrite"),Me(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==a()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:pr(function(e,t){Vn(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Ut(this)-this.display.barHeight,width:e.scrollWidth-Ut(this)-this.display.barWidth,clientHeight:Ht(this),clientWidth:Bt(this)}},scrollIntoView:pr(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:F(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?Yn(this,e):Zn(this,e.from,e.to,e.margin)}),setSize:pr(function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&rn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){gr(n,i,"widget");break}++i}),this.curOp.forceUpdate=!0,Me(this,"refresh",this)}),operation:function(e){return fr(this,e)},refresh:pr(function(){var e=this.display.cachedTextHeight;mr(this),this.curOp.forceUpdate=!0,on(this),Vn(this,this.doc.scrollLeft,this.doc.scrollTop),Mr(this),(null==e||Math.abs(e-yn(this.display))>.5)&&kn(this),Me(this,"refresh",this)}),swapDoc:pr(function(e){var t=this.doc;return t.cm=null,Zr(this,e),on(this),this.display.input.reset(),Vn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,kt(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},je(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Lo);var qs="iter insert remove copy getEditor constructor".split(" ");for(var zs in _s.prototype)_s.prototype.hasOwnProperty(zs)&&d(qs,zs)<0&&(Lo.prototype[zs]=function(e){return function(){return e.apply(this.doc,arguments)}}(_s.prototype[zs]));return je(_s),Lo.inputStyles={textarea:Is,contenteditable:Ns},Lo.defineMode=function(e){Lo.defaults.mode||"null"==e||(Lo.defaults.mode=e),He.apply(this,arguments)},Lo.defineMIME=We,Lo.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Lo.defineMIME("text/plain","null"),Lo.defineExtension=function(e,t){Lo.prototype[e]=t},Lo.defineDocExtension=function(e,t){_s.prototype[e]=t},Lo.fromTextArea=Ko,function(e){e.off=Ae,e.on=za,e.wheelEventPixels=Fr,e.Doc=_s,e.splitLines=Ua,e.countColumn=f,e.findColumn=p,e.isWordChar=b,e.Pass=Ta,e.signal=Me,e.Line=Ka,e.changeEnd=qr,e.scrollbarModel=os,e.Pos=F,e.cmpPos=P,e.modes=Va,e.mimeModes=Ya,e.resolveMode=Ve,e.getMode=Ye,e.modeExtensions=Ga,e.extendMode=Ge,e.copyState=Ze,e.startState=Je,e.innerMode=Ke,e.commands=As,e.keyMap=Ss,e.keyName=io,e.isModifierKey=ro,e.lookupKey=no,e.normalizeKeyMap=to,e.StringStream=Za,e.SharedTextMarker=vs,e.TextMarker=gs,e.LineWidget=hs,e.e_preventDefault=Fe,e.e_stopPropagation=Pe,e.e_stop=Ie,e.addClass=s,e.contains=o,e.rmClass=wa,e.keyNames=ws}(Lo),Lo.version="5.26.0",Lo})},{}],41:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=i,this.prev=o}function n(e,n,r,i){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=r&&(o=e.context.indented),e.context=new t(o,n,r,i,null,e.context)}function r(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function i(e,t,n){return"variable"==t.prevToken||"variable-3"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function o(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function a(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function s(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function l(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=l;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function c(e,t){return"variable-3"==t.prevToken&&"variable-3"}function u(e){return e.eatWhile(/[\w\.']/),"number"}function f(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=h,h(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function d(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}function p(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function h(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function m(t,n){function r(e){if(e)for(var t in e)e.hasOwnProperty(t)&&i.push(t)}"string"==typeof t&&(t=[t]);var i=[];r(n.keywords),r(n.types),r(n.builtin),r(n.atoms),i.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],i));for(var o=0;o<t.length;++o)e.defineMIME(t[o],n)}function g(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function v(e){return function(t,n){for(var r,i=!1,o=!1;!t.eol();){if(!e&&!i&&t.match('"')){o=!0;break}if(e&&t.match('"""')){o=!0;break}r=t.next(),!i&&"$"==r&&t.match("{")&&t.skipTo("}"),i=!i&&"\\"==r&&!e}return!o&&e||(n.tokenize=null),"string"}}function y(e){return function(t,n){for(var r,i=!1,o=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){o=!0;break}if(!i&&t.match("``")){x=y(e),o=!0;break}r=t.next(),i="single"==e&&!i&&"\\"==r}return o&&(n.tokenize=null),"string"}}e.defineMode("clike",function(a,l){function c(e,t){var n=e.next();if($[n]){var r=$[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n)return t.tokenize=u(n),t.tokenize(e,t);if(A.test(n))return p=n,null;if(M.test(n)){if(e.backUp(1),e.match(D))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=f,f(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(L.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(L););return"operator"}if(e.eatWhile(O),T)for(;e.match(T);)e.eatWhile(O);var i=e.current();return s(y,i)?(s(x,i)&&(p="newstatement"),s(w,i)&&(h=!0),"keyword"):s(_,i)?"variable-3":s(b,i)?(s(x,i)&&(p="newstatement"),"builtin"):s(k,i)?"atom":"variable"}function u(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!i&&!C)&&(n.tokenize=null),"string"}}function f(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function d(e,t){l.typeFirstDefinitions&&e.eol()&&o(t.context)&&(t.typeAtEndOfLine=i(e,t,e.pos))}var p,h,m=a.indentUnit,g=l.statementIndentUnit||m,v=l.dontAlignCalls,y=l.keywords||{},_=l.types||{},b=l.builtin||{},x=l.blockKeywords||{},w=l.defKeywords||{},k=l.atoms||{},$=l.hooks||{},C=l.multiLineStrings,S=!1!==l.indentStatements,E=!1!==l.indentSwitch,T=l.namespaceSeparator,A=l.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,M=l.numberStart||/[\d\.]/,D=l.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,L=l.isOperatorChar||/[+\-*&%=<>!?|\/]/,O=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new t((e||0)-m,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return d(e,t),null;p=h=null;var s=(t.tokenize||c)(e,t);if("comment"==s||"meta"==s)return s;if(null==a.align&&(a.align=!0),";"==p||":"==p||","==p&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)r(t);else if("{"==p)n(t,e.column(),"}");else if("["==p)n(t,e.column(),"]");else if("("==p)n(t,e.column(),")");else if("}"==p){for(;"statement"==a.type;)a=r(t);for("}"==a.type&&(a=r(t));"statement"==a.type;)a=r(t)}else p==a.type?r(t):S&&(("}"==a.type||"top"==a.type)&&";"!=p||"statement"==a.type&&"newstatement"==p)&&n(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&i(e,t,e.start)&&o(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),$.token){var u=$.token(e,t,s);void 0!==u&&(s=u)}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=h?"def":s||p,d(e,t),s},indent:function(t,n){if(t.tokenize!=c&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var r=t.context,i=n&&n.charAt(0);if("statement"==r.type&&"}"==i&&(r=r.prev),l.dontIndentStatements)for(;"statement"==r.type&&l.dontIndentStatements.test(r.info);)r=r.prev;if($.indent){var o=$.indent(t,r,n);if("number"==typeof o)return o}var a=i==r.type,s=r.prev&&"switch"==r.prev.info;if(l.allmanIndentation&&/[{(]/.test(i)){for(;"top"!=r.type&&"}"!=r.type;)r=r.prev;return r.indented}return"statement"==r.type?r.indented+("{"==i?0:g):!r.align||v&&")"==r.type?")"!=r.type||a?r.indented+(a?0:m)+(a||!s||/^(?:case|default)\b/.test(n)?0:m):r.indented+g:r.column+(a?0:1)},electricInput:E?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var _="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",b="int long char short double float unsigned signed void size_t ptrdiff_t";m(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:a(_),types:a(b+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:a("case do else for if switch while struct"),defKeywords:a("struct"),typeFirstDefinitions:!0,atoms:a("null true false"),hooks:{"#":l,"*":c},modeProps:{fold:["brace","include"]}}),m(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:a(_+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:a(b+" bool wchar_t"),blockKeywords:a("catch class do else finally for if struct switch try while"),defKeywords:a("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:a("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":l,"*":c,u:f,U:f,L:f,R:f,0:u,1:u,2:u,3:u,4:u,5:u,6:u,7:u,8:u,9:u,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&d(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),m("text/x-java",{name:"clike",keywords:a("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:a("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:a("catch class do else finally for if switch try while"),defKeywords:a("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:a("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),m("text/x-csharp",{name:"clike",keywords:a("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:a("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:a("catch class do else finally for foreach if struct switch try while"),defKeywords:a("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=p,p(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),m("text/x-scala",{name:"clike",keywords:a("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:a("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:a("catch class do else finally for forSome if match switch try while"),defKeywords:a("class def object package trait type val var"),atoms:a("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=g,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,n){var r=n.context;return!("}"!=r.type||!r.align||!e.eat(">"))&&(n.context=new t(r.indented,r.column,r.type,r.info,null,r.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),m("text/x-kotlin",{name:"clike",keywords:a("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:a("catch class do else finally for if where try while enum"),defKeywords:a("class val var object package interface fun"),atoms:a("true false null this"),hooks:{'"':function(e,t){return t.tokenize=v(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),m(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:a("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:a("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:a("for while do if else struct"),builtin:a("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":l},modeProps:{fold:["brace","include"]}}),m("text/x-nesc",{name:"clike",keywords:a(_+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:a(b),blockKeywords:a("case do else for if switch while struct"),atoms:a("null true false"),hooks:{"#":l},modeProps:{fold:["brace","include"]}}),m("text/x-objectivec",{name:"clike",keywords:a(_+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:a(b),atoms:a("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":l,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),m("text/x-squirrel",{name:"clike",keywords:a("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:a(b),blockKeywords:a("case catch class else for foreach if switch try while"),defKeywords:a("function local class"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"#":l},modeProps:{fold:["brace","include"]}});var x=null;m("text/x-ceylon",{name:"clike",keywords:a("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:a("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:a("class dynamic function interface module object package value"),builtin:a("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:a("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=y(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!x||!e.match("`"))&&(t.tokenize=x,x=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"variable-3"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},{"../../lib/codemirror":40}],42:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}function n(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.defineMode("css",function(t,n){function r(e,t){return h=t,e}function i(e,t){var n=e.next();if(v[n]){var i=v[n](e,t);if(!1!==i)return i}return"@"==n?(e.eatWhile(/[\w\\\-]/),r("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?r(null,"compare"):'"'==n||"'"==n?(t.tokenize=o(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),r("atom","hash")):"!"==n?(e.match(/^\s*\w*/),r("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),r("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?r(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?r("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?r(null,n):"u"==n&&e.match(/rl(-prefix)?\(/)||"d"==n&&e.match("omain(")||"r"==n&&e.match("egexp(")?(e.backUp(1),t.tokenize=a,r("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),r("property","word")):r(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),r("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?r("variable-2","variable-definition"):r("variable-2","variable")):e.match(/^\w+-/)?r("meta","meta"):void 0}function o(e){return function(t,n){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==i}return(i==e||!o&&")"!=e)&&(n.tokenize=null),r("string","string")}}function a(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=o(")"),r(null,"(")}function s(e,t,n){this.type=e,this.indent=t,this.prev=n}function l(e,t,n,r){return e.context=new s(n,t.indentation()+(!1===r?0:g),e.context),n}function c(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function u(e,t,n){return D[n.context.type](e,t,n)}function f(e,t,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return u(e,t,n)}function d(e){var t=e.current().toLowerCase();m=E.hasOwnProperty(t)?"atom":S.hasOwnProperty(t)?"keyword":"variable"}var p=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var h,m,g=t.indentUnit,v=n.tokenHooks,y=n.documentTypes||{},_=n.mediaTypes||{},b=n.mediaFeatures||{},x=n.mediaValueKeywords||{},w=n.propertyKeywords||{},k=n.nonStandardPropertyKeywords||{},$=n.fontProperties||{},C=n.counterDescriptors||{},S=n.colorKeywords||{},E=n.valueKeywords||{},T=n.allowNested,A=n.lineComment,M=!0===n.supportsAtComponent,D={};return D.top=function(e,t,n){if("{"==e)return l(n,t,"block");if("}"==e&&n.context.prev)return c(n);if(M&&/@component/.test(e))return l(n,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return l(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return l(n,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return l(n,t,"at");if("hash"==e)m="builtin";else if("word"==e)m="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return l(n,t,"interpolation");if(":"==e)return"pseudo";if(T&&"("==e)return l(n,t,"parens")}return n.context.type},D.block=function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return w.hasOwnProperty(r)?(m="property","maybeprop"):k.hasOwnProperty(r)?(m="string-2","maybeprop"):T?(m=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(m+=" error","maybeprop")}return"meta"==e?"block":T||"hash"!=e&&"qualifier"!=e?D.top(e,t,n):(m="error","block")},D.maybeprop=function(e,t,n){return":"==e?l(n,t,"prop"):u(e,t,n)},D.prop=function(e,t,n){if(";"==e)return c(n);if("{"==e&&T)return l(n,t,"propBlock");if("}"==e||"{"==e)return f(e,t,n);if("("==e)return l(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)d(t);else if("interpolation"==e)return l(n,t,"interpolation")}else m+=" error";return"prop"},D.propBlock=function(e,t,n){return"}"==e?c(n):"word"==e?(m="property","maybeprop"):n.context.type},D.parens=function(e,t,n){return"{"==e||"}"==e?f(e,t,n):")"==e?c(n):"("==e?l(n,t,"parens"):"interpolation"==e?l(n,t,"interpolation"):("word"==e&&d(t),"parens")},D.pseudo=function(e,t,n){return"meta"==e?"pseudo":"word"==e?(m="variable-3",n.context.type):u(e,t,n)},D.documentTypes=function(e,t,n){return"word"==e&&y.hasOwnProperty(t.current())?(m="tag",n.context.type):D.atBlock(e,t,n)},D.atBlock=function(e,t,n){if("("==e)return l(n,t,"atBlock_parens");if("}"==e||";"==e)return f(e,t,n);if("{"==e)return c(n)&&l(n,t,T?"block":"top");if("interpolation"==e)return l(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();m="only"==r||"not"==r||"and"==r||"or"==r?"keyword":_.hasOwnProperty(r)?"attribute":b.hasOwnProperty(r)?"property":x.hasOwnProperty(r)?"keyword":w.hasOwnProperty(r)?"property":k.hasOwnProperty(r)?"string-2":E.hasOwnProperty(r)?"atom":S.hasOwnProperty(r)?"keyword":"error"}return n.context.type},D.atComponentBlock=function(e,t,n){return"}"==e?f(e,t,n):"{"==e?c(n)&&l(n,t,T?"block":"top",!1):("word"==e&&(m="error"),n.context.type)},D.atBlock_parens=function(e,t,n){return")"==e?c(n):"{"==e||"}"==e?f(e,t,n,2):D.atBlock(e,t,n)},D.restricted_atBlock_before=function(e,t,n){return"{"==e?l(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(m="variable","restricted_atBlock_before"):u(e,t,n)},D.restricted_atBlock=function(e,t,n){return"}"==e?(n.stateArg=null,c(n)):"word"==e?(m="@font-face"==n.stateArg&&!$.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!C.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},D.keyframes=function(e,t,n){return"word"==e?(m="variable","keyframes"):"{"==e?l(n,t,"top"):u(e,t,n)},D.at=function(e,t,n){return";"==e?c(n):"{"==e||"}"==e?f(e,t,n):("word"==e?m="tag":"hash"==e&&(m="builtin"),"at")},D.interpolation=function(e,t,n){return"}"==e?c(n):"{"==e||";"==e?f(e,t,n):("word"==e?m="variable":"variable"!=e&&"("!=e&&")"!=e&&(m="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:p?"block":"top",stateArg:null,context:new s(p?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||i)(e,t);return n&&"object"==typeof n&&(h=n[1],n=n[0]),m=n,t.state=D[t.state](h,e,t),m},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),i=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(i=Math.max(0,n.indent-g)):(n=n.prev,i=n.indent)),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:A,fold:"brace"}})
|
||
;var r=["domain","regexp","url","url-prefix"],i=t(r),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=t(o),s=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],l=t(s),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(c),f=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(f),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=t(p),m=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],g=t(m),v=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],y=t(v),_=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=t(_),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],w=t(x),k=r.concat(o).concat(s).concat(c).concat(f).concat(p).concat(_).concat(x);e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:i,mediaTypes:a,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:g,counterDescriptors:y,colorKeywords:b,valueKeywords:w,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=n,n(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:g,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=n,n(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:g,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=n,n(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:a,mediaFeatures:l,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:g,counterDescriptors:y,colorKeywords:b,valueKeywords:w,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=n,n(e,t))}},name:"css",helperType:"gss"})})},{"../../lib/codemirror":40}],43:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("diff",function(){var e={"+":"positive","-":"negative","@":"meta"};return{token:function(t){var n=t.string.search(/[\t ]+?$/);if(!t.sol()||0===n)return t.skipToEnd(),("error "+(e[t.string.charAt(0)]||"")).replace(/ $/,"");var r=e[t.peek()]||t.skipToEnd();return-1===n?t.skipToEnd():t.pos=n,r}}}),e.defineMIME("text/x-diff","diff")})},{"../../lib/codemirror":40}],44:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("go",function(t){function n(e,t){var n=e.next();if('"'==n||"'"==n||"`"==n)return t.tokenize=r(n),t.tokenize(e,t);if(/[\d\.]/.test(n))return"."==n?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==n?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return l=n,null;if("/"==n){if(e.eat("*"))return t.tokenize=i,i(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(d.test(n))return e.eatWhile(d),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return u.propertyIsEnumerable(o)?("case"!=o&&"default"!=o||(l="case"),"keyword"):f.propertyIsEnumerable(o)?"atom":"variable"}function r(e){return function(t,r){for(var i,o=!1,a=!1;null!=(i=t.next());){if(i==e&&!o){a=!0;break}o=!o&&"`"!=e&&"\\"==i}return(a||!o&&"`"!=e)&&(r.tokenize=n),"string"}}function i(e,t){for(var r,i=!1;r=e.next();){if("/"==r&&i){t.tokenize=n;break}i="*"==r}return"comment"}function o(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function a(e,t,n){return e.context=new o(e.indented,t,n,null,e.context)}function s(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}}var l,c=t.indentUnit,u={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},f={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},d=/[+\-*&^%:=<>!|\/]/;return{startState:function(e){return{tokenize:null,context:new o((e||0)-c,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==r.type&&(r.type="}")),e.eatSpace())return null;l=null;var i=(t.tokenize||n)(e,t);return"comment"==i?i:(null==r.align&&(r.align=!0),"{"==l?a(t,e.column(),"}"):"["==l?a(t,e.column(),"]"):"("==l?a(t,e.column(),")"):"case"==l?r.type="case":"}"==l&&"}"==r.type?s(t):l==r.type&&s(t),t.startOfLine=!1,i)},indent:function(t,r){if(t.tokenize!=n&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);if("case"==i.type&&/^(?:case|default)\b/.test(r))return t.context.type="}",i.indented;var a=o==i.type;return i.align?i.column+(a?0:1):i.indented+(a?0:c)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-go","go")})},{"../../lib/codemirror":40}],45:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror"),e("../xml/xml"),e("../javascript/javascript"),e("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],r):r(CodeMirror)}(function(e){"use strict";function t(e,t,n){var r=e.current(),i=r.search(t);return i>-1?e.backUp(r.length-i):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}function n(e){var t=l[e];return t||(l[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function r(e,t){var r=e.match(n(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function i(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function o(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),i=e[n],o=i.length-1;o>=0;o--)r.unshift(i[o])}function a(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(!i[0]||i[1].test(r(t,i[0])))return i[2]}}var s={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},l={};e.defineMode("htmlmixed",function(n,r){function l(r,o){var s,f=c.token(r,o.htmlState),d=/\btag\b/.test(f);if(d&&!/[<>\s\/]/.test(r.current())&&(s=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&u.hasOwnProperty(s))o.inTag=s+" ";else if(o.inTag&&d&&/>$/.test(r.current())){var p=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var h=">"==r.current()&&a(u[p[1]],p[2]),m=e.getMode(n,h),g=i(p[1],!0),v=i(p[1],!1);o.token=function(e,n){return e.match(g,!1)?(n.token=l,n.localState=n.localMode=null,null):t(e,v,n.localMode.token(e,n.localState))},o.localMode=m,o.localState=e.startState(m,c.indent(o.htmlState,""))}else o.inTag&&(o.inTag+=r.current(),r.eol()&&(o.inTag+=" "));return f}var c=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),u={},f=r&&r.tags,d=r&&r.scriptTypes;if(o(s,u),f&&o(f,u),d)for(var p=d.length-1;p>=0;p--)u.script.unshift(["type",d[p].matches,d[p].mode]);return{startState:function(){return{token:l,inTag:null,localMode:null,localState:null,htmlState:e.startState(c)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(c,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?c.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||c}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},{"../../lib/codemirror":40,"../css/css":42,"../javascript/javascript":46,"../xml/xml":57}],46:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e,t,n){return/^(?:operator|sof|keyword c|case|new|export|default|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}e.defineMode("javascript",function(n,r){function i(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}function o(e,t,n){return Ce=e,Se=n,t}function a(e,n){var r=e.next();if('"'==r||"'"==r)return n.tokenize=s(r),n.tokenize(e,n);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return o("number","number");if("."==r&&e.match(".."))return o("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return o(r);if("="==r&&e.eat(">"))return o("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),o("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),o("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),o("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),o("number","number");if("/"==r)return e.eat("*")?(n.tokenize=l,l(e,n)):e.eat("/")?(e.skipToEnd(),o("comment","comment")):t(e,n,1)?(i(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),o("regexp","string-2")):(e.eatWhile(je),o("operator","operator",e.current()));if("`"==r)return n.tokenize=c,c(e,n);if("#"==r)return e.skipToEnd(),o("error","error");if(je.test(r))return">"==r&&n.lexical&&">"==n.lexical.type||e.eatWhile(je),o("operator","operator",e.current());if(Le.test(r)){e.eatWhile(Le);var a=e.current(),u=Oe.propertyIsEnumerable(a)&&Oe[a];return u&&"."!=n.lastType?o(u.type,u.style,a):o("variable","variable",a)}}function s(e){return function(t,n){var r,i=!1;if(Ae&&"@"==t.peek()&&t.match(Fe))return n.tokenize=a,o("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(n.tokenize=a),o("string","string")}}function l(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=a;break}r="*"==n}return o("comment","comment")}function c(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=a;break}r=!r&&"\\"==n}return o("quasi","string-2",e.current())}function u(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(De){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=Pe.indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(Le.test(s))o=!0;else{if(/["'\/]/.test(s))return;if(o&&!i){++a;break}}}o&&!i&&(t.fatArrowAt=a)}}function f(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function d(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function p(e,t,n,r,i){var o=e.cc;for(Ie.state=e,Ie.stream=i,Ie.marked=null,Ie.cc=o,Ie.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){if((o.length?o.pop():Me?k:w)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ie.marked?Ie.marked:"variable"==n&&d(e,r)?"variable-2":t}}}function h(){for(var e=arguments.length-1;e>=0;e--)Ie.cc.push(arguments[e])}function m(){return h.apply(null,arguments),!0}function g(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var n=Ie.state;if(Ie.marked="def",n.context){if(t(n.localVars))return;n.localVars={name:e,next:n.localVars}}else{if(t(n.globalVars))return;r.globalVars&&(n.globalVars={name:e,next:n.globalVars})}}function v(){Ie.state.context={prev:Ie.state.context,vars:Ie.state.localVars},Ie.state.localVars=qe}function y(){Ie.state.localVars=Ie.state.context.vars,Ie.state.context=Ie.state.context.prev}function _(e,t){var n=function(){var n=Ie.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new f(r,Ie.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function b(){var e=Ie.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function x(e){function t(n){return n==e?m():";"==e?h():m(t)}return t}function w(e,t){return"var"==e?m(_("vardef",t.length),X,x(";"),b):"keyword a"==e?m(_("form"),C,w,b):"keyword b"==e?m(_("form"),w,b):"{"==e?m(_("}"),W,b):";"==e?m():"if"==e?("else"==Ie.state.lexical.info&&Ie.state.cc[Ie.state.cc.length-1]==b&&Ie.state.cc.pop()(),m(_("form"),C,w,b,re)):"function"==e?m(ce):"for"==e?m(_("form"),ie,w,b):"variable"==e?De&&"type"==t?(Ie.marked="keyword",m(Y,x("operator"),Y,x(";"))):m(_("stat"),I):"switch"==e?m(_("form"),C,x("{"),_("}","switch"),W,b,b):"case"==e?m(k,x(":")):"default"==e?m(x(":")):"catch"==e?m(_("form"),v,x("("),ue,x(")"),w,b,y):"class"==e?m(_("form"),de,b):"export"==e?m(_("stat"),ge,b):"import"==e?m(_("stat"),ye,b):"module"==e?m(_("form"),Q,x("{"),_("}"),W,b,b):"async"==e?m(w):"@"==t?m(k,w):h(_("stat"),k,x(";"),b)}function k(e){return S(e,!1)}function $(e){return S(e,!0)}function C(e){return"("!=e?h():m(_(")"),k,x(")"),b)}function S(e,t){if(Ie.state.fatArrowAt==Ie.stream.start){var n=t?j:O;if("("==e)return m(v,_(")"),B(Q,")"),b,x("=>"),n,y);if("variable"==e)return h(v,Q,x("=>"),n,y)}var r=t?M:A;return Ne.hasOwnProperty(e)?m(r):"function"==e?m(ce,r):"class"==e?m(_("form"),fe,b):"keyword c"==e||"async"==e?m(t?T:E):"("==e?m(_(")"),E,x(")"),b,r):"operator"==e||"spread"==e?m(t?$:k):"["==e?m(_("]"),ke,b,r):"{"==e?H(z,"}",null,r):"quasi"==e?h(D,r):"new"==e?m(F(t)):m()}function E(e){return e.match(/[;\}\)\],]/)?h():h(k)}function T(e){return e.match(/[;\}\)\],]/)?h():h($)}function A(e,t){return","==e?m(k):M(e,t,!1)}function M(e,t,n){var r=0==n?A:M,i=0==n?k:$;return"=>"==e?m(v,n?j:O,y):"operator"==e?/\+\+|--/.test(t)?m(r):"?"==t?m(k,x(":"),i):m(i):"quasi"==e?h(D,r):";"!=e?"("==e?H($,")","call",r):"."==e?m(q,r):"["==e?m(_("]"),E,x("]"),b,r):void 0:void 0}function D(e,t){return"quasi"!=e?h():"${"!=t.slice(t.length-2)?m(D):m(k,L)}function L(e){if("}"==e)return Ie.marked="string-2",Ie.state.tokenize=c,m(D)}function O(e){return u(Ie.stream,Ie.state),h("{"==e?w:k)}function j(e){return u(Ie.stream,Ie.state),h("{"==e?w:$)}function F(e){return function(t){return"."==t?m(e?N:P):h(e?$:k)}}function P(e,t){if("target"==t)return Ie.marked="keyword",m(A)}function N(e,t){if("target"==t)return Ie.marked="keyword",m(M)}function I(e){return":"==e?m(b,w):h(A,x(";"),b)}function q(e){if("variable"==e)return Ie.marked="property",m()}function z(e,t){return"async"==e?(Ie.marked="property",m(z)):"variable"==e||"keyword"==Ie.style?(Ie.marked="property",m("get"==t||"set"==t?R:U)):"number"==e||"string"==e?(Ie.marked=Ae?"property":Ie.style+" property",m(U)):"jsonld-keyword"==e?m(U):"modifier"==e?m(z):"["==e?m(k,x("]"),U):"spread"==e?m(k):":"==e?h(U):void 0}function R(e){return"variable"!=e?h(U):(Ie.marked="property",m(ce))}function U(e){return":"==e?m($):"("==e?h(ce):void 0}function B(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=Ie.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),m(function(n,r){return n==t||r==t?h():h(e)},r)}return i==t||o==t?m():m(x(t))}return function(n,i){return n==t||i==t?m():h(e,r)}}function H(e,t,n){for(var r=3;r<arguments.length;r++)Ie.cc.push(arguments[r]);return m(_(t,n),B(e,t),b)}function W(e){return"}"==e?m():h(w,W)}function V(e,t){if(De){if(":"==e)return m(Y);if("?"==t)return m(V)}}
|
||
function Y(e){return"variable"==e?(Ie.marked="variable-3",m(J)):"string"==e||"number"==e||"atom"==e?m(J):"{"==e?m(_("}"),B(Z,"}",",;"),b,J):"("==e?m(B(K,")"),G):void 0}function G(e){if("=>"==e)return m(Y)}function Z(e,t){return"variable"==e||"keyword"==Ie.style?(Ie.marked="property",m(Z)):"?"==t?m(Z):":"==e?m(Y):"["==e?m(k,V,x("]"),Z):void 0}function K(e){return"variable"==e?m(K):":"==e?m(Y):void 0}function J(e,t){return"<"==t?m(_(">"),B(Y,">"),b,J):"|"==t||"."==e?m(Y):"["==e?m(x("]"),J):"extends"==t?m(Y):void 0}function X(){return h(Q,V,te,ne)}function Q(e,t){return"modifier"==e?m(Q):"variable"==e?(g(t),m()):"spread"==e?m(Q):"["==e?H(Q,"]"):"{"==e?H(ee,"}"):void 0}function ee(e,t){return"variable"!=e||Ie.stream.match(/^\s*:/,!1)?("variable"==e&&(Ie.marked="property"),"spread"==e?m(Q):"}"==e?h():m(x(":"),Q,te)):(g(t),m(te))}function te(e,t){if("="==t)return m($)}function ne(e){if(","==e)return m(X)}function re(e,t){if("keyword b"==e&&"else"==t)return m(_("form","else"),w,b)}function ie(e){if("("==e)return m(_(")"),oe,x(")"),b)}function oe(e){return"var"==e?m(X,x(";"),se):";"==e?m(se):"variable"==e?m(ae):h(k,x(";"),se)}function ae(e,t){return"in"==t||"of"==t?(Ie.marked="keyword",m(k)):m(A,se)}function se(e,t){return";"==e?m(le):"in"==t||"of"==t?(Ie.marked="keyword",m(k)):h(k,x(";"),le)}function le(e){")"!=e&&m(k)}function ce(e,t){return"*"==t?(Ie.marked="keyword",m(ce)):"variable"==e?(g(t),m(ce)):"("==e?m(v,_(")"),B(ue,")"),b,V,w,y):De&&"<"==t?m(_(">"),B(Y,">"),b,ce):void 0}function ue(e){return"spread"==e?m(ue):h(Q,V,te)}function fe(e,t){return"variable"==e?de(e,t):pe(e,t)}function de(e,t){if("variable"==e)return g(t),m(pe)}function pe(e,t){return"<"==t?m(_(">"),B(Y,">"),b,pe):"extends"==t||"implements"==t||De&&","==e?m(De?Y:k,pe):"{"==e?m(_("}"),he,b):void 0}function he(e,t){return"variable"==e||"keyword"==Ie.style?("async"==t||"static"==t||"get"==t||"set"==t||De&&("public"==t||"private"==t||"protected"==t||"readonly"==t||"abstract"==t))&&Ie.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(Ie.marked="keyword",m(he)):(Ie.marked="property",m(De?me:ce,he)):"["==e?m(k,x("]"),De?me:ce,he):"*"==t?(Ie.marked="keyword",m(he)):";"==e?m(he):"}"==e?m():"@"==t?m(k,he):void 0}function me(e,t){return"?"==t?m(me):":"==e?m(Y,te):"="==t?m($):h(ce)}function ge(e,t){return"*"==t?(Ie.marked="keyword",m(we,x(";"))):"default"==t?(Ie.marked="keyword",m(k,x(";"))):"{"==e?m(B(ve,"}"),we,x(";")):h(w)}function ve(e,t){return"as"==t?(Ie.marked="keyword",m(x("variable"))):"variable"==e?h($,ve):void 0}function ye(e){return"string"==e?m():h(_e,be,we)}function _e(e,t){return"{"==e?H(_e,"}"):("variable"==e&&g(t),"*"==t&&(Ie.marked="keyword"),m(xe))}function be(e){if(","==e)return m(_e,be)}function xe(e,t){if("as"==t)return Ie.marked="keyword",m(_e)}function we(e,t){if("from"==t)return Ie.marked="keyword",m(k)}function ke(e){return"]"==e?m():h(B($,"]"))}function $e(e,t){return"operator"==e.lastType||","==e.lastType||je.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}var Ce,Se,Ee=n.indentUnit,Te=r.statementIndent,Ae=r.jsonld,Me=r.json||Ae,De=r.typescript,Le=r.wordCharacters||/[\w$\xa1-\uffff]/,Oe=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("operator"),o={type:"atom",style:"atom"},a={if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:r,break:r,continue:r,new:e("new"),delete:r,throw:r,debugger:r,var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:i,typeof:i,instanceof:i,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r,async:e("async")};if(De){var s={type:"variable",style:"variable-3"},l={interface:e("class"),implements:r,namespace:r,module:e("module"),enum:e("module"),public:e("modifier"),private:e("modifier"),protected:e("modifier"),abstract:e("modifier"),as:i,string:s,number:s,boolean:s,any:s};for(var c in l)a[c]=l[c]}return a}(),je=/[+\-*&%=<>!?|~^@]/,Fe=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Pe="([{}])",Ne={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},Ie={state:null,column:null,marked:null,cc:null},qe={name:"this",next:{name:"arguments"}};return b.lex=!0,{startState:function(e){var t={tokenize:a,lastType:"sof",cc:[],lexical:new f((e||0)-Ee,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),u(e,t)),t.tokenize!=l&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==Ce?n:(t.lastType="operator"!=Ce||"++"!=Se&&"--"!=Se?Ce:"incdec",p(t,n,Ce,Se,e))},indent:function(t,n){if(t.tokenize==l)return e.Pass;if(t.tokenize!=a)return 0;var i,o=n&&n.charAt(0),s=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==b)s=s.prev;else if(u!=re)break}for(;("stat"==s.type||"form"==s.type)&&("}"==o||(i=t.cc[t.cc.length-1])&&(i==A||i==M)&&!/^[,\.=+\-*:?[\(]/.test(n));)s=s.prev;Te&&")"==s.type&&"stat"==s.prev.type&&(s=s.prev);var f=s.type,d=o==f;return"vardef"==f?s.indented+("operator"==t.lastType||","==t.lastType?s.info+1:0):"form"==f&&"{"==o?s.indented:"form"==f?s.indented+Ee:"stat"==f?s.indented+($e(t,n)?Te||Ee:0):"switch"!=s.info||d||0==r.doubleIndentSwitch?s.align?s.column+(d?0:1):s.indented+(d?0:Ee):s.indented+(/^(?:case|default)\b/.test(n)?Ee:2*Ee)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Me?null:"/*",blockCommentEnd:Me?null:"*/",lineComment:Me?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Me?"json":"javascript",jsonldMode:Ae,jsonMode:Me,expressionAllowed:t,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=k&&t!=$||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},{"../../lib/codemirror":40}],47:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror"),e("../xml/xml"),e("../meta")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../meta"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("markdown",function(t,n){function r(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}function i(e,t,n){return t.f=t.inline=n,n(e,t)}function o(e,t,n){return t.f=t.block=n,n(e,t)}function a(e){return!e||!/\S/.test(e.string)}function s(e){return e.linkTitle=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,e.f==c&&(e.f=p,e.block=l),e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine=null,null}function l(t,o){var s=t.sol(),l=!1!==o.list,c=o.indentedCode;o.indentedCode=!1,l&&(o.indentationDiff>=0?(o.indentationDiff<4&&(o.indentation-=o.indentationDiff),o.list=null):o.indentation>0?o.list=null:o.list=!1);var d=null;if(o.indentationDiff>=4)return t.skipToEnd(),c||a(o.prevLine)?(o.indentation-=4,o.indentedCode=!0,w.code):null;if(t.eatSpace())return null;if((d=t.match(E))&&d[1].length<=6)return o.header=d[1].length,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,f(o);if(!(a(o.prevLine)||o.quote||l||c)&&(d=t.match(T)))return o.header="="==d[0].charAt(0)?1:2,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,f(o);if(t.eat(">"))return o.quote=s?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),t.eatSpace(),f(o);if("["===t.peek())return i(t,o,v);if(t.match($,!0))return o.hr=!0,w.hr;if(d=t.match(C)){var p=d[1]?"ol":"ul";for(o.indentation=t.column()+t.current().length,o.list=!0;o.listStack&&t.column()<o.listStack[o.listStack.length-1];)o.listStack.pop();return o.listStack.push(o.indentation),n.taskLists&&t.match(S,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+p]),f(o)}return n.fencedCodeBlocks&&(d=t.match(M,!0))?(o.fencedChars=d[1],o.localMode=r(d[2]),o.localMode&&(o.localState=e.startState(o.localMode)),o.f=o.block=u,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,f(o)):i(t,o,o.inline)}function c(t,n){var r=b.token(t,n.htmlState);if(!x){var i=e.innerMode(b,n.htmlState);("xml"==i.mode.name&&null===i.state.tagStart&&!i.state.context&&i.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=p,n.block=l,n.htmlState=null)}return r}function u(e,t){if(t.fencedChars&&e.match(t.fencedChars)){n.highlightFormatting&&(t.formatting="code-block");var r=f(t);return t.localMode=t.localState=null,t.block=l,t.f=p,t.fencedChars=null,t.code=0,r}return t.fencedChars&&e.skipTo(t.fencedChars)?"comment":t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),w.code)}function f(e){var t=[];if(e.formatting){t.push(w.formatting),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(w.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(w.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(w.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(w.linkHref,"url"):(e.strong&&t.push(w.strong),e.em&&t.push(w.em),e.strikethrough&&t.push(w.strikethrough),e.linkText&&t.push(w.linkText),e.code&&t.push(w.code),e.image&&t.push(w.image),e.imageAltText&&t.push(w.imageAltText,"link"),e.imageMarker&&t.push(w.imageMarker)),e.header&&t.push(w.header,w.header+"-"+e.header),e.quote&&(t.push(w.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(w.quote+"-"+e.quote):t.push(w.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(w.list2):t.push(w.list3):t.push(w.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function d(e,t){if(e.match(A,!0))return f(t)}function p(t,r){var i=r.text(t,r);if(void 0!==i)return i;if(r.list)return r.list=null,f(r);if(r.taskList){return"x"!==t.match(S,!0)[1]?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,f(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),f(r);var a=t.next();if(r.linkTitle){r.linkTitle=!1;var s=a;"("===a&&(s=")"),s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var l="^\\s*(?:[^"+s+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(t.match(new RegExp(l),!0))return w.linkHref}if("`"===a){var u=r.formatting;n.highlightFormatting&&(r.formatting="code"),t.eatWhile("`");var d=t.current().length;if(0==r.code)return r.code=d,f(r);if(d==r.code){var g=f(r);return r.code=0,g}return r.formatting=u,f(r)}if(r.code)return f(r);if("\\"===a&&(t.next(),n.highlightFormatting)){var v=f(r),y=w.formatting+"-escape";return v?v+" "+y:y}if("!"===a&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,n.highlightFormatting&&(r.formatting="image"),f(r);if("["===a&&r.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,n.highlightFormatting&&(r.formatting="image"),f(r);if("]"===a&&r.imageAltText){n.highlightFormatting&&(r.formatting="image");var v=f(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=m,v}if("["===a&&!r.image)return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),f(r);if("]"===a&&r.linkText){n.highlightFormatting&&(r.formatting="link");var v=f(r);return r.linkText=!1,r.inline=r.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?m:p,v}if("<"===a&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=h,n.highlightFormatting&&(r.formatting="link");var v=f(r);return v?v+=" ":v="",v+w.linkInline}if("<"===a&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=h,n.highlightFormatting&&(r.formatting="link");var v=f(r);return v?v+=" ":v="",v+w.linkEmail}if("<"===a&&t.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var _=t.string.indexOf(">",t.pos);if(-1!=_){/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(t.string.substring(t.start,_))&&(r.md_inside=!0)}return t.backUp(1),r.htmlState=e.startState(b),o(t,r,c)}if("<"===a&&t.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===a||"_"===a){for(var x=1,k=1==t.pos?" ":t.string.charAt(t.pos-2);x<3&&t.eat(a);)x++;var $=t.peek()||" ",C=!/\s/.test($)&&(!D.test($)||/\s/.test(k)||D.test(k)),E=!/\s/.test(k)&&(!D.test(k)||/\s/.test($)||D.test($)),T=null,A=null;if(x%2&&(r.em||!C||"*"!==a&&E&&!D.test(k)?r.em!=a||!E||"*"!==a&&C&&!D.test($)||(T=!1):T=!0),x>1&&(r.strong||!C||"*"!==a&&E&&!D.test(k)?r.strong!=a||!E||"*"!==a&&C&&!D.test($)||(A=!1):A=!0),null!=A||null!=T){n.highlightFormatting&&(r.formatting=null==T?"strong":null==A?"em":"strong em"),!0===T&&(r.em=a),!0===A&&(r.strong=a);var g=f(r);return!1===T&&(r.em=!1),!1===A&&(r.strong=!1),g}}else if(" "===a&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return f(r);t.backUp(1)}if(n.strikethrough)if("~"===a&&t.eatWhile(a)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");var g=f(r);return r.strikethrough=!1,g}if(t.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),f(r)}else if(" "===a&&t.match(/^~~/,!0)){if(" "===t.peek())return f(r);t.backUp(2)}return" "===a&&(t.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),f(r)}function h(e,t){if(">"===e.next()){t.f=t.inline=p,n.highlightFormatting&&(t.formatting="link");var r=f(t);return r?r+=" ":r="",r+w.linkInline}return e.match(/^[^>]+/,!0),w.linkInline}function m(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=g("("===r?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,f(t)):"error"}function g(e){return function(t,r){if(t.next()===e){r.f=r.inline=p,n.highlightFormatting&&(r.formatting="link-string");var i=f(r);return r.linkHref=!1,i}return t.match(L[e]),r.linkHref=!0,f(r)}}function v(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=y,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,f(t)):i(e,t,p)}function y(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=_,n.highlightFormatting&&(t.formatting="link");var r=f(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),w.linkText}function _(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=p,w.linkHref+" url")}var b=e.getMode(t,"text/html"),x="null"==b.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var w={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough"};for(var k in w)w.hasOwnProperty(k)&&n.tokenTypeOverrides[k]&&(w[k]=n.tokenTypeOverrides[k]);var $=/^([*\-_])(?:\s*\1){2,}\s*$/,C=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,S=/^\[(x| )\](?=\s)/,E=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,T=/^ *(?:\={1,}|-{1,})\s*$/,A=/^[^#!\[\]*_\\<>` "'(~]+/,M=new RegExp("^("+(!0===n.fencedCodeBlocks?"~~~+|```+":n.fencedCodeBlocks)+")[ \\t]*([\\w+#-]*)"),D=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,L={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},O={startState:function(){return{f:l,prevLine:null,thisLine:null,block:l,htmlState:null,indentation:0,inline:p,text:d,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,fencedChars:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(b,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,header:t.header,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedChars:t.fencedChars}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine){var n=t.header||t.hr;if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0)||n){if(s(t),!n)return null;t.prevLine=null}t.prevLine=t.thisLine,t.thisLine=e,t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.f=t.block;var r=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentationDiff=Math.min(r-t.indentation,4),t.indentation=t.indentation+t.indentationDiff,r>0)return null}return t.f(e,t)},innerMode:function(e){return e.block==c?{state:e.htmlState,mode:b}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:O}},blankLine:s,getType:f,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return O},"xml"),e.defineMIME("text/x-markdown","markdown")})},{"../../lib/codemirror":40,"../meta":48,"../xml/xml":57}],48:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../lib/codemirror")):"function"==typeof define&&define.amd?define(["../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["pgp"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mime:"text/x-coffeescript",mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mime:"text/n-triples",mode:"ntriples",ext:["nt"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:"application/x-httpd-php",mode:"php",ext:["php","php3","php4","php5","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mime:"text/x-sh",mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}})},{"../lib/codemirror":40}],49:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("nginx",function(e){function t(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function n(e,t){return s=t,e}function r(e,t){e.eatWhile(/[\w\$_]/);var r=e.current();if(l.propertyIsEnumerable(r))return"keyword";if(c.propertyIsEnumerable(r))return"variable-2";if(u.propertyIsEnumerable(r))return"string-2";var s=e.next();return"@"==s?(e.eatWhile(/[\w\\\-]/),n("meta",e.current())):"/"==s&&e.eat("*")?(t.tokenize=i,i(e,t)):"<"==s&&e.eat("!")?(t.tokenize=o,o(e,t)):"="!=s?"~"!=s&&"|"!=s||!e.eat("=")?'"'==s||"'"==s?(t.tokenize=a(s),t.tokenize(e,t)):"#"==s?(e.skipToEnd(),n("comment","comment")):"!"==s?(e.match(/^\s*\w*/),n("keyword","important")):/\d/.test(s)?(e.eatWhile(/[\w.%]/),n("number","unit")):/[,.+>*\/]/.test(s)?n(null,"select-op"):/[;{}:\[\]]/.test(s)?n(null,s):(e.eatWhile(/[\w\\\-]/),n("variable","variable")):n(null,"compare"):void n(null,"compare")}function i(e,t){for(var i,o=!1;null!=(i=e.next());){if(o&&"/"==i){t.tokenize=r;break}o="*"==i}return n("comment","comment")}function o(e,t){for(var i,o=0;null!=(i=e.next());){if(o>=2&&">"==i){t.tokenize=r;break}o="-"==i?o+1:0}return n("comment","comment")}function a(e){return function(t,i){for(var o,a=!1;null!=(o=t.next())&&(o!=e||a);)a=!a&&"\\"==o;return a||(i.tokenize=r),n("string","string")}}
|
||
var s,l=t("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),c=t("http mail events server types location upstream charset_map limit_except if geo map"),u=t("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),f=e.indentUnit;return{startState:function(e){return{tokenize:r,baseIndent:e||0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;s=null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"hash"==s&&"rule"==r?n="atom":"variable"==n&&("rule"==r?n="number":r&&"@media{"!=r||(n="tag")),"rule"==r&&/^[\{\};]$/.test(s)&&t.stack.pop(),"{"==s?"@media"==r?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==s?t.stack.pop():"@media"==s?t.stack.push("@media"):"{"==r&&"comment"!=s&&t.stack.push("rule"),n},indent:function(e,t){var n=e.stack.length;return/^\}/.test(t)&&(n-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+n*f},electricChars:"}"}}),e.defineMIME("text/x-nginx-conf","nginx")})},{"../../lib/codemirror":40}],50:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror"),e("../htmlmixed/htmlmixed"),e("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],r):r(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function n(e,t,i){return 0==e.length?r(t):function(o,a){for(var s=e[0],l=0;l<s.length;l++)if(o.match(s[l][0]))return a.tokenize=n(e.slice(1),t),s[l][1];return a.tokenize=r(t,i),"string"}}function r(e,t){return function(n,r){return i(n,r,e,t)}}function i(e,t,r,i){if(!1!==i&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==i&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=n([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],r,i)),e.match(/\-\>\w/,!1)&&(t.tokenize=n([[["->",null]],[[/[\w]+/,"variable"]]],r,i)),"variable-2";for(var o=!1;!e.eol()&&(o||!1===i||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(r)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}o="\\"==e.next()&&!o}return"string"}var o="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",a="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",s="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[o,a,s].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var l={name:"clike",helperType:"php",keywords:t(o),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(a),builtin:t(s),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var n;if(n=e.match(/<<\s*/)){var i=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(n[0].length+(i?2:1));if(i&&e.eat(i),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=r(o,"'"!=i),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=r('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=r(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,n){function r(t,n){var r=n.curMode==o;if(t.sol()&&n.pending&&'"'!=n.pending&&"'"!=n.pending&&(n.pending=null),r)return r&&null==n.php.tokenize&&t.match("?>")?(n.curMode=i,n.curState=n.html,n.php.context.prev||(n.php=null),"meta"):o.token(t,n.curState);if(t.match(/^<\?\w*/))return n.curMode=o,n.php||(n.php=e.startState(o,i.indent(n.html,""))),n.curState=n.php,"meta";if('"'==n.pending||"'"==n.pending){for(;!t.eol()&&t.next()!=n.pending;);var a="string"}else if(n.pending&&t.pos<n.pending.end){t.pos=n.pending.end;var a=n.pending.style}else var a=i.token(t,n.curState);n.pending&&(n.pending=null);var s,l=t.current(),c=l.search(/<\?/);return-1!=c&&("string"==a&&(s=l.match(/[\'\"]$/))&&!/\?>/.test(l)?n.pending=s[0]:n.pending={end:t.pos,style:a},t.backUp(l.length-c)),a}var i=e.getMode(t,"text/html"),o=e.getMode(t,l);return{startState:function(){var t=e.startState(i),r=n.startOpen?e.startState(o):null;return{html:t,php:r,curMode:n.startOpen?o:i,curState:n.startOpen?r:t,pending:null}},copyState:function(t){var n,r=t.html,a=e.copyState(i,r),s=t.php,l=s&&e.copyState(o,s);return n=t.curMode==i?a:l,{html:a,php:l,curMode:t.curMode,curState:n,pending:t.pending}},token:r,indent:function(e,t){return e.curMode!=o&&/^\s*<\//.test(t)||e.curMode==o&&/^\?>/.test(t)?i.indent(e.html,t):e.curMode.indent(e.curState,t)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",l)})},{"../../lib/codemirror":40,"../clike/clike":41,"../htmlmixed/htmlmixed":45}],51:[function(e,t,n){!function(r){"use strict";"object"==typeof n&&"object"==typeof t?r(e("codemirror")):"function"==typeof define&&define.amd?define(["codemirror"],r):r(window.CodeMirror)}(function(e){"use strict";e.defineMode("powershell",function(){function e(e,t){t=t||{};for(var n=void 0!==t.prefix?t.prefix:"^",r=void 0!==t.suffix?t.suffix:"\\b",i=0;i<e.length;i++)e[i]instanceof RegExp?e[i]=e[i].source:e[i]=e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp(n+"("+e.join("|")+")"+r,"i")}function t(e,t){var i=t.returnStack[t.returnStack.length-1];if(i&&i.shouldReturnFrom(t))return t.tokenize=i.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var o in _)if(e.match(_[o]))return o;var a=e.next();if("'"===a)return n(e,t);if("$"===a)return c(e,t);if('"'===a)return r(e,t);if("<"===a&&e.eat("#"))return t.tokenize=l,l(e,t);if("#"===a)return e.skipToEnd(),"comment";if("@"===a){var s=e.eat(/["']/);if(s&&e.eol())return t.tokenize=f,t.startQuote=s[0],f(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(d))return c(e,t)}return"error"}function n(e,n){for(var r;null!=(r=e.peek());)if(e.next(),"'"===r&&!e.eat("'"))return n.tokenize=t,"string";return"error"}function r(e,n){for(var r;null!=(r=e.peek());){if("$"===r)return n.tokenize=i,"string";if(e.next(),"`"!==r){if('"'===r&&!e.eat('"'))return n.tokenize=t,"string"}else e.next()}return"error"}function i(e,t){return s(e,t,r)}function o(e,t){return t.tokenize=f,t.startQuote='"',f(e,t)}function a(e,t){return s(e,t,o)}function s(e,n,r){if(e.match("$(")){var i=n.bracketNesting;return n.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===i},tokenize:r}),n.tokenize=t,n.bracketNesting+=1,"punctuation"}return e.next(),n.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:r}),n.tokenize=c,n.tokenize(e,n)}function l(e,n){for(var r,i=!1;null!=(r=e.next());){if(i&&">"==r){n.tokenize=t;break}i="#"===r}return"comment"}function c(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=u,u(e,n)):void 0!=r&&r.match(d)?(e.eatWhile(d),n.tokenize=t,"variable-2"):(n.tokenize=t,"error")}function u(e,n){for(var r;null!=(r=e.next());)if("}"===r){n.tokenize=t;break}return"variable-2"}function f(e,n){var r=n.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))n.tokenize=t;else if('"'===r)for(;!e.eol();){var i=e.peek();if("$"===i)return n.tokenize=a,"string";e.next(),"`"===i&&e.next()}else e.skipToEnd();return"string"}var d=/[\w\-:]/,p=e([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:"(?=[^A-Za-z\\d\\-_]|$)"}),h=e(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),m=e([h,/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),g=e([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),v=e([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),y=e([/[A-Z]:|%|\?/i,g,v],{suffix:"(?=[^A-Za-z\\d\\-_]|$)"}),_={keyword:p,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:m,builtin:y,punctuation:/[\[\]{},;`\.]|@[({]/,identifier:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};return{startState:function(){return{returnStack:[],bracketNesting:0,tokenize:t}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"}}),e.defineMIME("application/x-powershell","powershell")})},{codemirror:40}],52:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function n(e){return e.scopes[e.scopes.length-1]}var r=t(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];e.registerHelper("hintWords","python",i.concat(o)),e.defineMode("python",function(a,s){function l(e,t){if(e.sol()&&(t.indent=e.indentation()),e.sol()&&"py"==n(t).type){var r=n(t).offset;if(e.eatSpace()){var i=e.indentation();return i>r?f(t):i<r&&p(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null}var o=c(e,t);return r>0&&p(e,t)&&(o+=" "+m),o}return c(e,t)}function c(e,t){if(e.eatSpace())return null;if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(/^[0-9\.]/,!1)){var n=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(n=!0),e.match(/^[\d_]+\.\d*/)&&(n=!0),e.match(/^\.\d+/)&&(n=!0),n)return e.eat(/J/i),"number";var i=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(i=!0),e.match(/^0b[01_]+/i)&&(i=!0),e.match(/^0o[0-7_]+/i)&&(i=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),i=!0),e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}return e.match(S)?(t.tokenize=u(e.current()),t.tokenize(e,t)):e.match(_)||e.match(y)?"punctuation":e.match(v)||e.match($)?"operator":e.match(g)?"punctuation":"."==t.lastToken&&e.match(C)?"property":e.match(E)||e.match(r)?"keyword":e.match(T)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(C)?"def"==t.lastToken||"class"==t.lastToken?"def":"variable":(e.next(),m)}function u(e){function t(t,i){for(;!t.eol();)if(t.eatWhile(/[^'"\\]/),t.eat("\\")){if(t.next(),n&&t.eol())return r}else{if(t.match(e))return i.tokenize=l,r;t.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return m;i.tokenize=l}return r}for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,r="string";return t.isString=!0,t}function f(e){for(;"py"!=n(e).type;)e.scopes.pop();e.scopes.push({offset:n(e).offset+a.indentUnit,type:"py",align:null})}function d(e,t,n){var r=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+b,type:n,align:r})}function p(e,t){for(var r=e.indentation();t.scopes.length>1&&n(t).offset>r;){if("py"!=n(t).type)return!0;t.scopes.pop()}return n(t).offset!=r}function h(e,t){e.sol()&&(t.beginningOfLine=!0);var r=t.tokenize(e,t),i=e.current();if(t.beginningOfLine&&"@"==i)return e.match(C,!1)?"meta":k?"operator":m;/\S/.test(i)&&(t.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=t.lastToken||(r="meta"),"pass"!=i&&"return"!=i||(t.dedent+=1),"lambda"==i&&(t.lambda=!0),":"!=i||t.lambda||"py"!=n(t).type||f(t);var o=1==i.length?"[({".indexOf(i):-1;if(-1!=o&&d(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(i))){if(n(t).type!=i)return m;t.indent=t.scopes.pop().offset-b}return t.dedent>0&&e.eol()&&"py"==n(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),r}
|
||
var m="error",g=s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.]/,v=s.doubleOperators||/^([!<>]==|<>|<<|>>|\/\/|\*\*)/,y=s.doubleDelimiters||/^(\+=|\-=|\*=|%=|\/=|&=|\|=|\^=)/,_=s.tripleDelimiters||/^(\/\/=|>>=|<<=|\*\*=)/,b=s.hangingIndent||a.indentUnit,x=i,w=o;void 0!=s.extra_keywords&&(x=x.concat(s.extra_keywords)),void 0!=s.extra_builtins&&(w=w.concat(s.extra_builtins));var k=!(s.version&&Number(s.version)<3);if(k){var $=s.singleOperators||/^[\+\-\*\/%&|\^~<>!@]/,C=s.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;x=x.concat(["nonlocal","False","True","None","async","await"]),w=w.concat(["ascii","bytes","exec","print"]);var S=new RegExp("^(([rbuf]|(br))?('{3}|\"{3}|['\"]))","i")}else{var $=s.singleOperators||/^[\+\-\*\/%&|\^~<>!]/,C=s.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;x=x.concat(["exec","print"]),w=w.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);var S=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var E=t(x),T=t(w);return{startState:function(e){return{tokenize:l,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var r=h(e,t);return r&&"comment"!=r&&(t.lastToken="keyword"==r||"punctuation"==r?e.current():r),"punctuation"==r&&(r=null),e.eol()&&t.lambda&&(t.lambda=!1),n?r+" "+m:r},indent:function(t,r){if(t.tokenize!=l)return t.tokenize.isString?e.Pass:0;var i=n(t),o=i.type==r.charAt(0);return null!=i.align?i.align-(o?1:0):i.offset-(o?b:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");e.defineMIME("text/x-cython",{name:"python",extra_keywords:function(e){return e.split(" ")}("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})},{"../../lib/codemirror":40}],53:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("ruby",function(e){function t(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function n(e,t,n){return n.tokenize.push(e),e(t,n)}function r(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(c),"comment";if(e.eatSpace())return null;var r,o=e.next();if("`"==o||"'"==o||'"'==o)return n(s(o,"string",'"'==o||"`"==o),e,t);if("/"==o)return i(e)?n(s(o,"string-2",!0),e,t):"operator";if("%"==o){var a="string",f=!0;e.eat("s")?a="atom":e.eat(/[WQ]/)?a="string":e.eat(/[r]/)?a="string-2":e.eat(/[wxq]/)&&(a="string",f=!1);var d=e.eat(/[^\w\s=]/);return d?(h.propertyIsEnumerable(d)&&(d=h[d]),n(s(d,a,f,!0),e,t)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return n(l(r[1]),e,t);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?n(s("'","atom",!1),e,t):e.eat('"')?n(s('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=o||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return u=o,null;if("-"==o&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var p=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||p||(u="."),"operator"}return null}return u="|",null}function i(e){for(var t,n=e.pos,r=0,i=!1,o=!1;null!=(t=e.next());)if(o)o=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}o="\\"==t}return e.backUp(e.pos-n),i}function o(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=o(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=o(e+1));return r(t,n)}}function a(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,r(t,n))}}function s(e,t,n,r){return function(i,s){var l,c=!1;for("read-quoted-paused"===s.context.type&&(s.context=s.context.prev,i.eat("}"));null!=(l=i.next());){if(l==e&&(r||!c)){s.tokenize.pop();break}if(n&&"#"==l&&!c){if(i.eat("{")){"}"==e&&(s.context={prev:s.context,type:"read-quoted-paused"}),s.tokenize.push(o());break}if(/[@\$]/.test(i.peek())){s.tokenize.push(a());break}}c=!c&&"\\"==l}return t}}function l(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}function c(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var u,f=t(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),d=t(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),p=t(["end","until"]),h={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[r],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){u=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),i=u;if("ident"==r){var o=e.current();r="."==t.lastTok?"property":f.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable","keyword"==r&&(i=o,d.propertyIsEnumerable(o)?n="indent":p.propertyIsEnumerable(o)?n="dedent":"if"!=o&&"unless"!=o||e.column()!=e.indentation()?"do"==o&&t.context.indented<t.indented&&(n="indent"):n="indent")}return(u||r&&"comment"!=r)&&(t.lastTok=i),"|"==u&&(t.varList=!t.varList),"indent"==n||/[\(\[\{]/.test(u)?t.context={prev:t.context,type:u||r,indented:t.indented}:("dedent"==n||/[\)\]\}]/.test(u))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==u||"operator"==r),r},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=r)return 0;var i=n&&n.charAt(0),o=t.context,a=o.type==h[i]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(a?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#"}}),e.defineMIME("text/x-ruby","ruby")})},{"../../lib/codemirror":40}],54:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("shell",function(){function e(e,t){for(var n=t.split(" "),r=0;r<n.length;r++)i[n[r]]=e}function t(e,t){if(e.eatSpace())return null;var a=e.sol(),s=e.next();if("\\"===s)return e.next(),null;if("'"===s||'"'===s||"`"===s)return t.tokens.unshift(n(s,"`"===s?"quote":"string")),r(e,t);if("#"===s)return a&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if("$"===s)return t.tokens.unshift(o),r(e,t);if("+"===s||"="===s)return"operator";if("-"===s)return e.eat("-"),e.eatWhile(/\w/),"attribute";if(/\d/.test(s)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var l=e.current();return"="===e.peek()&&/\w+/.test(l)?"def":i.hasOwnProperty(l)?i[l]:null}function n(e,t){var i="("==e?")":"{"==e?"}":e;return function(a,s){for(var l,c=!1,u=!1;null!=(l=a.next());){if(l===i&&!u){c=!0;break}if("$"===l&&!u&&"'"!==e){u=!0,a.backUp(1),s.tokens.unshift(o);break}if(!u&&l===e&&e!==i)return s.tokens.unshift(n(e,t)),r(a,s);u=!u&&"\\"===l}return!c&&u||s.tokens.shift(),t}}function r(e,n){return(n.tokens[0]||t)(e,n)}var i={};e("atom","true false"),e("keyword","if then do else elif while until for in esac fi fin fil done exit set unset export function"),e("builtin","ab awk bash beep cat cc cd chown chmod chroot clear cp curl cut diff echo find gawk gcc get git grep kill killall ln ls make mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh shopt shred source sort sleep ssh start stop su sudo tee telnet top touch vi vim wall wc wget who write yes zsh");var o=function(e,t){t.tokens.length>1&&e.eat("$");var i=e.next();return/['"({]/.test(i)?(t.tokens[0]=n(i,"("==i?"quote":"{"==i?"def":"string"),r(e,t)):(/\d/.test(i)||e.eatWhile(/\w/),t.tokens.shift(),"def")};return{startState:function(){return{tokens:[]}},token:function(e,t){return r(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell")})},{"../../lib/codemirror":40}],55:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("sql",function(t,n){function r(e,t){var n=e.next();if(h[n]){var r=h[n](e,t);if(!1!==r)return r}if(p.hexNumber&&("0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==n||"X"==n)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(p.binaryNumber&&(("b"==n||"B"==n)&&e.match(/^'[01]+'/)||"0"==n&&e.match(/^b[01]+/)))return"number";if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?/),p.decimallessFloat&&e.eat("."),"number";if("?"==n&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==n||'"'==n&&p.doubleQuote)return t.tokenize=i(n),t.tokenize(e,t);if((p.nCharCast&&("n"==n||"N"==n)||p.charsetCast&&"_"==n&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(/^[\(\),\;\[\]]/.test(n))return null;if(p.commentSlashSlash&&"/"==n&&e.eat("/"))return e.skipToEnd(),"comment";if(p.commentHash&&"#"==n||"-"==n&&e.eat("-")&&(!p.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==n&&e.eat("*"))return t.tokenize=o,t.tokenize(e,t);if("."!=n){if(d.test(n))return e.eatWhile(d),null;if("{"==n&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var a=e.current().toLowerCase();return m.hasOwnProperty(a)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":c.hasOwnProperty(a)?"atom":u.hasOwnProperty(a)?"builtin":f.hasOwnProperty(a)?"keyword":l.hasOwnProperty(a)?"string-2":null}return p.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":p.ODBCdotTable&&e.match(/^[a-zA-Z_]+/)?"variable-2":void 0}function i(e){return function(t,n){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){n.tokenize=r;break}o=!o&&"\\"==i}return"string"}}function o(e,t){for(;;){if(!e.skipTo("*")){e.skipToEnd();break}if(e.next(),e.eat("/")){t.tokenize=r;break}}return"comment"}function a(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function s(e){e.indent=e.context.indent,e.context=e.context.prev}var l=n.client||{},c=n.atoms||{false:!0,true:!0,null:!0},u=n.builtin||{},f=n.keywords||{},d=n.operatorChars||/^[*+\-%<>!=&|~^]/,p=n.support||{},h=n.hooks||{},m=n.dateSQL||{date:!0,time:!0,timestamp:!0};return{startState:function(){return{tokenize:r,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var r=e.current();return"("==r?a(e,t,")"):"["==r?a(e,t,"]"):t.context&&t.context.type==r&&s(t),n},indent:function(n,r){var i=n.context;if(!i)return e.Pass;var o=r.charAt(0)==i.type;return i.align?i.col+(o?0:1):i.indent+(o?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:p.commentSlashSlash?"//":p.commentHash?"#":null}}),function(){function t(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function r(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function i(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function o(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var a="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";e.defineMIME("text/x-sql",{name:"sql",keywords:o(a+"begin"),builtin:o("bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec"),builtin:o("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":i}}),e.defineMIME("text/x-mariadb",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":i}}),e.defineMIME("text/x-sqlite",{name:"sql",client:o("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:o(a+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:o("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|\/~]/,dateSQL:o("date time timestamp datetime"),support:o("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":r,":":r,"?":r,$:r,'"':n,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:o("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:o("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:o("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:o("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:o("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:o("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:o("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:o("date time timestamp"),support:o("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:o("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with"),builtin:o("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:o("source"),
|
||
keywords:o(a+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:o("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:o("false true"),builtin:o("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/})}()})},{"../../lib/codemirror":40}],56:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();)e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property string":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"}}}),e.defineMIME("text/x-toml","toml")})},{"../../lib/codemirror":40}],57:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,i){function o(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?n(l("atom","]]>")):null:e.match("--")?n(l("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(c(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=l("meta","?>"),"meta"):(S=e.eat("/")?"closeTag":"openTag",t.tokenize=a,"tag bracket");if("&"==r){var i;return i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),i?"atom":"error"}return e.eatWhile(/[^&<]/),null}function a(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=o,S=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return S="equals",null;if("<"==n){t.tokenize=o,t.state=p,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=s(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=a;break}return"string"};return t.isInAttribute=!0,t}function l(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=o;break}n.next()}return e}}function c(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=c(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=o;break}return n.tokenize=c(e-1),n.tokenize(t,n)}}return"meta"}}function u(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(k.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function f(e){e.context&&(e.context=e.context.prev)}function d(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!k.contextGrabbers.hasOwnProperty(n)||!k.contextGrabbers[n].hasOwnProperty(t))return;f(e)}}function p(e,t,n){return"openTag"==e?(n.tagStart=t.column(),h):"closeTag"==e?m:p}function h(e,t,n){return"word"==e?(n.tagName=t.current(),E="tag",y):(E="error",h)}function m(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&k.implicitlyClosed.hasOwnProperty(n.context.tagName)&&f(n),n.context&&n.context.tagName==r||!1===k.matchClosing?(E="tag",g):(E="tag error",v)}return E="error",v}function g(e,t,n){return"endTag"!=e?(E="error",g):(f(n),p)}function v(e,t,n){return E="error",g(e,t,n)}function y(e,t,n){if("word"==e)return E="attribute",_;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||k.autoSelfClosers.hasOwnProperty(r)?d(n,r):(d(n,r),n.context=new u(n,r,i==n.indented)),p}return E="error",y}function _(e,t,n){return"equals"==e?b:(k.allowMissing||(E="error"),y(e,t,n))}function b(e,t,n){return"string"==e?x:"word"==e&&k.allowUnquoted?(E="string",y):(E="error",y(e,t,n))}function x(e,t,n){return"string"==e?x:y(e,t,n)}var w=r.indentUnit,k={},$=i.htmlMode?t:n;for(var C in $)k[C]=$[C];for(var C in i)k[C]=i[C];var S,E;return o.isInText=!0,{startState:function(e){var t={tokenize:o,state:p,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;S=null;var n=t.tokenize(e,t);return(n||S)&&"comment"!=n&&(E=null,t.state=t.state(S||n,e,t),E&&(n="error"==E?n+" error":E)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+w;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=a&&t.tokenize!=o)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==k.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+w*(k.multilineTagIndentFactor||1);if(k.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;i;){if(i.tagName==s[2]){i=i.prev;break}if(!k.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(s)for(;i;){var l=k.contextGrabbers[i.tagName];if(!l||!l.hasOwnProperty(s[2]))break;i=i.prev}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+w:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:k.htmlMode?"html":"xml",helperType:k.htmlMode?"html":"xml",skipAttribute:function(e){e.state==b&&(e.state=y)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},{"../../lib/codemirror":40}],58:[function(e,t,n){!function(r){"object"==typeof n&&"object"==typeof t?r(e("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)}(function(e){"use strict";e.defineMode("yaml",function(){var e=["true","false","on","off","yes","no"],t=new RegExp("\\b(("+e.join(")|(")+"))$","i");return{token:function(e,n){var r=e.peek(),i=n.escaped;if(n.escaped=!1,"#"==r&&(0==e.pos||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&e.indentation()>n.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match(/---/))return"def";if(e.match(/\.\.\./))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return e.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")})},{"../../lib/codemirror":40}],59:[function(e,t,n){e("../../modules/core.regexp.escape"),t.exports=e("../../modules/_core").RegExp.escape},{"../../modules/_core":80,"../../modules/core.regexp.escape":176}],60:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],61:[function(e,t,n){var r=e("./_cof");t.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},{"./_cof":75}],62:[function(e,t,n){var r=e("./_wks")("unscopables"),i=Array.prototype;void 0==i[r]&&e("./_hide")(i,r,{}),t.exports=function(e){i[r][e]=!0}},{"./_hide":97,"./_wks":174}],63:[function(e,t,n){t.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},{}],64:[function(e,t,n){var r=e("./_is-object");t.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":106}],65:[function(e,t,n){"use strict";var r=e("./_to-object"),i=e("./_to-index"),o=e("./_to-length");t.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),l=i(t,a),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?a:i(c,a))-l,a-s),f=1;for(l<s&&s<l+u&&(f=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=f,l+=f;return n}},{"./_to-index":162,"./_to-length":165,"./_to-object":166}],66:[function(e,t,n){"use strict";var r=e("./_to-object"),i=e("./_to-index"),o=e("./_to-length");t.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>s;)t[s++]=e;return t}},{"./_to-index":162,"./_to-length":165,"./_to-object":166}],67:[function(e,t,n){var r=e("./_for-of");t.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},{"./_for-of":94}],68:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_to-length"),o=e("./_to-index");t.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},{"./_to-index":162,"./_to-iobject":164,"./_to-length":165}],69:[function(e,t,n){var r=e("./_ctx"),i=e("./_iobject"),o=e("./_to-object"),a=e("./_to-length"),s=e("./_array-species-create");t.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var m,g,v=o(t),y=i(v),_=r(s,h,3),b=a(y.length),x=0,w=n?p(t,b):l?p(t,0):void 0;b>x;x++)if((d||x in y)&&(m=y[x],g=_(m,x,v),e))if(n)w[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(u)return!1;return f?-1:c||u?u:w}}},{"./_array-species-create":72,"./_ctx":82,"./_iobject":102,"./_to-length":165,"./_to-object":166}],70:[function(e,t,n){var r=e("./_a-function"),i=e("./_to-object"),o=e("./_iobject"),a=e("./_to-length");t.exports=function(e,t,n,s,l){r(t);var c=i(e),u=o(c),f=a(c.length),d=l?f-1:0,p=l?-1:1;if(n<2)for(;;){if(d in u){s=u[d],d+=p;break}if(d+=p,l?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;l?d>=0:f>d;d+=p)d in u&&(s=t(s,u[d],d,c));return s}},{"./_a-function":60,"./_iobject":102,"./_to-length":165,"./_to-object":166}],71:[function(e,t,n){var r=e("./_is-object"),i=e("./_is-array"),o=e("./_wks")("species");t.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},{"./_is-array":104,"./_is-object":106,"./_wks":174}],72:[function(e,t,n){var r=e("./_array-species-constructor");t.exports=function(e,t){return new(r(e))(t)}},{"./_array-species-constructor":71}],73:[function(e,t,n){"use strict";var r=e("./_a-function"),i=e("./_is-object"),o=e("./_invoke"),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};t.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?l(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},{"./_a-function":60,"./_invoke":101,"./_is-object":106}],74:[function(e,t,n){var r=e("./_cof"),i=e("./_wks")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};t.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},{"./_cof":75,"./_wks":174}],75:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],76:[function(e,t,n){"use strict";var r=e("./_object-dp").f,i=e("./_object-create"),o=e("./_redefine-all"),a=e("./_ctx"),s=e("./_an-instance"),l=e("./_defined"),c=e("./_for-of"),u=e("./_iter-define"),f=e("./_iter-step"),d=e("./_set-species"),p=e("./_descriptors"),h=e("./_meta").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};t.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){s(e,f,t,"_i"),e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&c(r,n,e[u],e)});return o(f.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,i=n.p;delete t._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),t._f==n&&(t._f=r),t._l==n&&(t._l=i),t[m]--}return!!n},forEach:function(e){s(this,f,"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(f.prototype,"size",{get:function(){return l(this[m])}}),f},def:function(e,t,n){var r,i,o=g(e,t);return o?o.v=n:(e._l=o={i:i=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:g,setStrong:function(e,t,n){u(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?f(0,n.k):"values"==t?f(0,n.v):f(0,[n.k,n.v]):(e._t=void 0,f(1))},n?"entries":"values",!n,!0),d(t)}}},{"./_an-instance":63,"./_ctx":82,"./_defined":84,"./_descriptors":85,"./_for-of":94,"./_iter-define":110,"./_iter-step":112,"./_meta":119,"./_object-create":123,"./_object-dp":124,"./_redefine-all":143,"./_set-species":148}],77:[function(e,t,n){var r=e("./_classof"),i=e("./_array-from-iterable");t.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},{"./_array-from-iterable":67,"./_classof":74}],78:[function(e,t,n){"use strict";var r=e("./_redefine-all"),i=e("./_meta").getWeak,o=e("./_an-object"),a=e("./_is-object"),s=e("./_an-instance"),l=e("./_for-of"),c=e("./_array-methods"),u=e("./_has"),f=c(5),d=c(6),p=0,h=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,t){return f(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=d(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(e,t,n,o){var c=e(function(e,r){s(e,c,t,"_i"),e._i=p++,e._l=void 0,void 0!=r&&l(r,n,e[o],e)});return r(c.prototype,{delete:function(e){if(!a(e))return!1;var t=i(e);return!0===t?h(this).delete(e):t&&u(t,this._i)&&delete t[this._i]},has:function(e){if(!a(e))return!1;var t=i(e);return!0===t?h(this).has(e):t&&u(t,this._i)}}),c},def:function(e,t,n){var r=i(o(t),!0);return!0===r?h(e).set(t,n):r[e._i]=n,e},ufstore:h}},{"./_an-instance":63,"./_an-object":64,"./_array-methods":69,"./_for-of":94,"./_has":96,"./_is-object":106,"./_meta":119,"./_redefine-all":143}],79:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_export"),o=e("./_redefine"),a=e("./_redefine-all"),s=e("./_meta"),l=e("./_for-of"),c=e("./_an-instance"),u=e("./_is-object"),f=e("./_fails"),d=e("./_iter-detect"),p=e("./_set-to-string-tag"),h=e("./_inherit-if-required");t.exports=function(e,t,n,m,g,v){var y=r[e],_=y,b=g?"set":"add",x=_&&_.prototype,w={},k=function(e){var t=x[e];o(x,e,"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(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 _&&(v||x.forEach&&!f(function(){(new _).entries().next()}))){var $=new _,C=$[b](v?{}:-0,1)!=$,S=f(function(){$.has(1)}),E=d(function(e){new _(e)}),T=!v&&f(function(){for(var e=new _,t=5;t--;)e[b](t,t);return!e.has(-0)});E||(_=t(function(t,n){c(t,_,e);var r=h(new y,t,_);return void 0!=n&&l(n,g,r[b],r),r}),_.prototype=x,x.constructor=_),(S||T)&&(k("delete"),k("has"),g&&k("get")),(T||C)&&k(b),v&&x.clear&&delete x.clear}else _=m.getConstructor(t,e,g,b),a(_.prototype,n),s.NEED=!0;return p(_,e),w[e]=_,i(i.G+i.W+i.F*(_!=y),w),v||m.setStrong(_,e,g),_}},{"./_an-instance":63,"./_export":89,"./_fails":91,"./_for-of":94,"./_global":95,"./_inherit-if-required":100,"./_is-object":106,"./_iter-detect":111,"./_meta":119,"./_redefine":144,"./_redefine-all":143,"./_set-to-string-tag":149}],80:[function(e,t,n){var r=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},{}],81:[function(e,t,n){"use strict";var r=e("./_object-dp"),i=e("./_property-desc");t.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},{"./_object-dp":124,"./_property-desc":142}],82:[function(e,t,n){var r=e("./_a-function");t.exports=function(e,t,n){if(r(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,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":60}],83:[function(e,t,n){"use strict";var r=e("./_an-object"),i=e("./_to-primitive");t.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},{"./_an-object":64,"./_to-primitive":167}],84:[function(e,t,n){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},{}],85:[function(e,t,n){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":91}],86:[function(e,t,n){var r=e("./_is-object"),i=e("./_global").document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}},{"./_global":95,"./_is-object":106}],87:[function(e,t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],88:[function(e,t,n){var r=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie");t.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},{"./_object-gops":130,"./_object-keys":133,"./_object-pie":134}],89:[function(e,t,n){var r=e("./_global"),i=e("./_core"),o=e("./_hide"),a=e("./_redefine"),s=e("./_ctx"),l=function(e,t,n){var c,u,f,d,p=e&l.F,h=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,_=h?i:i[t]||(i[t]={}),b=_.prototype||(_.prototype={});h&&(n=t);for(c in n)u=!p&&y&&void 0!==y[c],f=(u?y:n)[c],d=v&&u?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,y&&a(y,c,f,e&l.U),_[c]!=f&&o(_,c,d),g&&b[c]!=f&&(b[c]=f)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},{"./_core":80,"./_ctx":82,"./_global":95,"./_hide":97,"./_redefine":144}],90:[function(e,t,n){var r=e("./_wks")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},{"./_wks":174}],91:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],92:[function(e,t,n){"use strict";var r=e("./_hide"),i=e("./_redefine"),o=e("./_fails"),a=e("./_defined"),s=e("./_wks");t.exports=function(e,t,n){var l=s(e),c=n(a,l,""[e]),u=c[0],f=c[1];o(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,u),r(RegExp.prototype,l,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},{"./_defined":84,"./_fails":91,"./_hide":97,"./_redefine":144,"./_wks":174}],93:[function(e,t,n){"use strict";var r=e("./_an-object");t.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}},{"./_an-object":64}],94:[function(e,t,n){var r=e("./_ctx"),i=e("./_iter-call"),o=e("./_is-array-iter"),a=e("./_an-object"),s=e("./_to-length"),l=e("./core.get-iterator-method"),c={},u={},n=t.exports=function(e,t,n,f,d){var p,h,m,g,v=d?function(){return e}:l(e),y=r(n,f,t?2:1),_=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(p=s(e.length);p>_;_++)if((g=t?y(a(h=e[_])[0],h[1]):y(e[_]))===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if((g=i(m,y,h.value,t))===c||g===u)return g};n.BREAK=c,n.RETURN=u},{"./_an-object":64,"./_ctx":82,"./_is-array-iter":103,"./_iter-call":108,"./_to-length":165,"./core.get-iterator-method":175}],95:[function(e,t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],96:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],97:[function(e,t,n){var r=e("./_object-dp"),i=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},{"./_descriptors":85,"./_object-dp":124,"./_property-desc":142}],98:[function(e,t,n){t.exports=e("./_global").document&&document.documentElement},{"./_global":95}],99:[function(e,t,n){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":85,"./_dom-create":86,"./_fails":91}],100:[function(e,t,n){var r=e("./_is-object"),i=e("./_set-proto").set;t.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},{"./_is-object":106,"./_set-proto":147}],101:[function(e,t,n){t.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)}},{}],102:[function(e,t,n){var r=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},{"./_cof":75}],103:[function(e,t,n){var r=e("./_iterators"),i=e("./_wks")("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},{"./_iterators":113,"./_wks":174}],104:[function(e,t,n){var r=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"./_cof":75}],105:[function(e,t,n){var r=e("./_is-object"),i=Math.floor;t.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},{"./_is-object":106}],106:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],107:[function(e,t,n){var r=e("./_is-object"),i=e("./_cof"),o=e("./_wks")("match");t.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},{"./_cof":75,"./_is-object":106,"./_wks":174}],108:[function(e,t,n){var r=e("./_an-object");t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},{"./_an-object":64}],109:[function(e,t,n){"use strict"
|
||
;var r=e("./_object-create"),i=e("./_property-desc"),o=e("./_set-to-string-tag"),a={};e("./_hide")(a,e("./_wks")("iterator"),function(){return this}),t.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},{"./_hide":97,"./_object-create":123,"./_property-desc":142,"./_set-to-string-tag":149,"./_wks":174}],110:[function(e,t,n){"use strict";var r=e("./_library"),i=e("./_export"),o=e("./_redefine"),a=e("./_hide"),s=e("./_has"),l=e("./_iterators"),c=e("./_iter-create"),u=e("./_set-to-string-tag"),f=e("./_object-gpo"),d=e("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(e,t,n,m,g,v,y){c(n,t,m);var _,b,x,w=function(e){if(!p&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",$="values"==g,C=!1,S=e.prototype,E=S[d]||S["@@iterator"]||g&&S[g],T=E||w(g),A=g?$?w("entries"):T:void 0,M="Array"==t?S.entries||E:E;if(M&&(x=f(M.call(new e)))!==Object.prototype&&(u(x,k,!0),r||s(x,d)||a(x,d,h)),$&&E&&"values"!==E.name&&(C=!0,T=function(){return E.call(this)}),r&&!y||!p&&!C&&S[d]||a(S,d,T),l[t]=T,l[k]=h,g)if(_={values:$?T:w("values"),keys:v?T:w("keys"),entries:A},y)for(b in _)b in S||o(S,b,_[b]);else i(i.P+i.F*(p||C),t,_);return _}},{"./_export":89,"./_has":96,"./_hide":97,"./_iter-create":109,"./_iterators":113,"./_library":115,"./_object-gpo":131,"./_redefine":144,"./_set-to-string-tag":149,"./_wks":174}],111:[function(e,t,n){var r=e("./_wks")("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},{"./_wks":174}],112:[function(e,t,n){t.exports=function(e,t){return{value:t,done:!!e}}},{}],113:[function(e,t,n){t.exports={}},{}],114:[function(e,t,n){var r=e("./_object-keys"),i=e("./_to-iobject");t.exports=function(e,t){for(var n,o=i(e),a=r(o),s=a.length,l=0;s>l;)if(o[n=a[l++]]===t)return n}},{"./_object-keys":133,"./_to-iobject":164}],115:[function(e,t,n){t.exports=!1},{}],116:[function(e,t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:r},{}],117:[function(e,t,n){t.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},{}],118:[function(e,t,n){t.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},{}],119:[function(e,t,n){var r=e("./_uid")("meta"),i=e("./_is-object"),o=e("./_has"),a=e("./_object-dp").f,s=0,l=Object.isExtensible||function(){return!0},c=!e("./_fails")(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},p=function(e){return c&&h.NEED&&l(e)&&!o(e,r)&&u(e),e},h=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},{"./_fails":91,"./_has":96,"./_is-object":106,"./_object-dp":124,"./_uid":171}],120:[function(e,t,n){var r=e("./es6.map"),i=e("./_export"),o=e("./_shared")("metadata"),a=o.store||(o.store=new(e("./es6.weak-map"))),s=function(e,t,n){var i=a.get(e);if(!i){if(!n)return;a.set(e,i=new r)}var o=i.get(t);if(!o){if(!n)return;i.set(t,o=new r)}return o},l=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)},u=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){i(i.S,"Reflect",e)};t.exports={store:a,map:s,has:l,get:c,set:u,keys:f,key:d,exp:p}},{"./_export":89,"./_shared":151,"./es6.map":206,"./es6.weak-map":312}],121:[function(e,t,n){var r=e("./_global"),i=e("./_task").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==e("./_cof")(a);t.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(o){var u=!0,f=document.createTextNode("");new o(c).observe(f,{characterData:!0}),n=function(){f.data=u=!u}}else if(s&&s.resolve){var d=s.resolve();n=function(){d.then(c)}}else n=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},{"./_cof":75,"./_global":95,"./_task":161}],122:[function(e,t,n){"use strict";var r=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie"),a=e("./_to-object"),s=e("./_iobject"),l=Object.assign;t.exports=!l||e("./_fails")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=i.f,f=o.f;l>c;)for(var d,p=s(arguments[c++]),h=u?r(p).concat(u(p)):r(p),m=h.length,g=0;m>g;)f.call(p,d=h[g++])&&(n[d]=p[d]);return n}:l},{"./_fails":91,"./_iobject":102,"./_object-gops":130,"./_object-keys":133,"./_object-pie":134,"./_to-object":166}],123:[function(e,t,n){var r=e("./_an-object"),i=e("./_object-dps"),o=e("./_enum-bug-keys"),a=e("./_shared-key")("IE_PROTO"),s=function(){},l=function(){var t,n=e("./_dom-create")("iframe"),r=o.length;for(n.style.display="none",e("./_html").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},{"./_an-object":64,"./_dom-create":86,"./_enum-bug-keys":87,"./_html":98,"./_object-dps":125,"./_shared-key":150}],124:[function(e,t,n){var r=e("./_an-object"),i=e("./_ie8-dom-define"),o=e("./_to-primitive"),a=Object.defineProperty;n.f=e("./_descriptors")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(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}},{"./_an-object":64,"./_descriptors":85,"./_ie8-dom-define":99,"./_to-primitive":167}],125:[function(e,t,n){var r=e("./_object-dp"),i=e("./_an-object"),o=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},{"./_an-object":64,"./_descriptors":85,"./_object-dp":124,"./_object-keys":133}],126:[function(e,t,n){t.exports=e("./_library")||!e("./_fails")(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete e("./_global")[t]})},{"./_fails":91,"./_global":95,"./_library":115}],127:[function(e,t,n){var r=e("./_object-pie"),i=e("./_property-desc"),o=e("./_to-iobject"),a=e("./_to-primitive"),s=e("./_has"),l=e("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;n.f=e("./_descriptors")?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},{"./_descriptors":85,"./_has":96,"./_ie8-dom-define":99,"./_object-pie":134,"./_property-desc":142,"./_to-iobject":164,"./_to-primitive":167}],128:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_object-gopn").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};t.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},{"./_object-gopn":129,"./_to-iobject":164}],129:[function(e,t,n){var r=e("./_object-keys-internal"),i=e("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"./_enum-bug-keys":87,"./_object-keys-internal":132}],130:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],131:[function(e,t,n){var r=e("./_has"),i=e("./_to-object"),o=e("./_shared-key")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},{"./_has":96,"./_shared-key":150,"./_to-object":166}],132:[function(e,t,n){var r=e("./_has"),i=e("./_to-iobject"),o=e("./_array-includes")(!1),a=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},{"./_array-includes":68,"./_has":96,"./_shared-key":150,"./_to-iobject":164}],133:[function(e,t,n){var r=e("./_object-keys-internal"),i=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"./_enum-bug-keys":87,"./_object-keys-internal":132}],134:[function(e,t,n){n.f={}.propertyIsEnumerable},{}],135:[function(e,t,n){var r=e("./_export"),i=e("./_core"),o=e("./_fails");t.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},{"./_core":80,"./_export":89,"./_fails":91}],136:[function(e,t,n){var r=e("./_object-keys"),i=e("./_to-iobject"),o=e("./_object-pie").f;t.exports=function(e){return function(t){for(var n,a=i(t),s=r(a),l=s.length,c=0,u=[];l>c;)o.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},{"./_object-keys":133,"./_object-pie":134,"./_to-iobject":164}],137:[function(e,t,n){var r=e("./_object-gopn"),i=e("./_object-gops"),o=e("./_an-object"),a=e("./_global").Reflect;t.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},{"./_an-object":64,"./_global":95,"./_object-gopn":129,"./_object-gops":130}],138:[function(e,t,n){var r=e("./_global").parseFloat,i=e("./_string-trim").trim;t.exports=1/r(e("./_string-ws")+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},{"./_global":95,"./_string-trim":159,"./_string-ws":160}],139:[function(e,t,n){var r=e("./_global").parseInt,i=e("./_string-trim").trim,o=e("./_string-ws"),a=/^[\-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},{"./_global":95,"./_string-trim":159,"./_string-ws":160}],140:[function(e,t,n){"use strict";var r=e("./_path"),i=e("./_invoke"),o=e("./_a-function");t.exports=function(){for(var e=o(this),t=arguments.length,n=Array(t),a=0,s=r._,l=!1;t>a;)(n[a]=arguments[a++])===s&&(l=!0);return function(){var r,o=this,a=arguments.length,c=0,u=0;if(!l&&!a)return i(e,n,o);if(r=n.slice(),l)for(;t>c;c++)r[c]===s&&(r[c]=arguments[u++]);for(;a>u;)r.push(arguments[u++]);return i(e,r,o)}}},{"./_a-function":60,"./_invoke":101,"./_path":141}],141:[function(e,t,n){t.exports=e("./_global")},{"./_global":95}],142:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],143:[function(e,t,n){var r=e("./_redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"./_redefine":144}],144:[function(e,t,n){var r=e("./_global"),i=e("./_hide"),o=e("./_has"),a=e("./_uid")("src"),s=Function.toString,l=(""+s).split("toString");e("./_core").inspectSource=function(e){return s.call(e)},(t.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},{"./_core":80,"./_global":95,"./_has":96,"./_hide":97,"./_uid":171}],145:[function(e,t,n){t.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},{}],146:[function(e,t,n){t.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},{}],147:[function(e,t,n){var r=e("./_is-object"),i=e("./_an-object"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(e){n=!0}return function(e,t){return o(e,t),n?e.__proto__=t:r(e,t),e}}({},!1):void 0),check:o}},{"./_an-object":64,"./_ctx":82,"./_is-object":106,"./_object-gopd":127}],148:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_object-dp"),o=e("./_descriptors"),a=e("./_wks")("species");t.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},{"./_descriptors":85,"./_global":95,"./_object-dp":124,"./_wks":174}],149:[function(e,t,n){var r=e("./_object-dp").f,i=e("./_has"),o=e("./_wks")("toStringTag");t.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},{"./_has":96,"./_object-dp":124,"./_wks":174}],150:[function(e,t,n){var r=e("./_shared")("keys"),i=e("./_uid");t.exports=function(e){return r[e]||(r[e]=i(e))}},{"./_shared":151,"./_uid":171}],151:[function(e,t,n){var r=e("./_global"),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(e){return i[e]||(i[e]={})}},{"./_global":95}],152:[function(e,t,n){var r=e("./_an-object"),i=e("./_a-function"),o=e("./_wks")("species");t.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},{"./_a-function":60,"./_an-object":64,"./_wks":174}],153:[function(e,t,n){var r=e("./_fails");t.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},{"./_fails":91}],154:[function(e,t,n){var r=e("./_to-integer"),i=e("./_defined");t.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},{"./_defined":84,"./_to-integer":163}],155:[function(e,t,n){var r=e("./_is-regexp"),i=e("./_defined");t.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},{"./_defined":84,"./_is-regexp":107}],156:[function(e,t,n){var r=e("./_export"),i=e("./_fails"),o=e("./_defined"),a=function(e,t,n,r){var i=String(o(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(r).replace(/"/g,""")+'"'),a+">"+i+"</"+t+">"};t.exports=function(e,t){var n={};n[e]=t(a),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},{"./_defined":84,"./_export":89,"./_fails":91}],157:[function(e,t,n){var r=e("./_to-length"),i=e("./_string-repeat"),o=e("./_defined");t.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,c=void 0===n?" ":String(n),u=r(t);if(u<=l||""==c)return s;var f=u-l,d=i.call(c,Math.ceil(f/c.length));return d.length>f&&(d=d.slice(0,f)),a?d+s:s+d}},{"./_defined":84,"./_string-repeat":158,"./_to-length":165}],158:[function(e,t,n){"use strict";var r=e("./_to-integer"),i=e("./_defined");t.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},{"./_defined":84,"./_to-integer":163}],159:[function(e,t,n){var r=e("./_export"),i=e("./_defined"),o=e("./_fails"),a=e("./_string-ws"),s="["+a+"]",l="
",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),f=function(e,t,n){var i={},s=o(function(){return!!a[e]()||l[e]()!=l}),c=i[e]=s?t(d):a[e];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},d=f.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};t.exports=f},{"./_defined":84,"./_export":89,"./_fails":91,"./_string-ws":160}],160:[function(e,t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],161:[function(e,t,n){var r,i,o,a=e("./_ctx"),s=e("./_invoke"),l=e("./_html"),c=e("./_dom-create"),u=e("./_global"),f=u.process,d=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=0,g={},v=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){v.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},p=function(e){delete g[e]},"process"==e("./_cof")(f)?r=function(e){f.nextTick(a(v,e,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),t.exports={set:d,clear:p}},{"./_cof":75,"./_ctx":82,"./_dom-create":86,"./_global":95,"./_html":98,"./_invoke":101}],162:[function(e,t,n){var r=e("./_to-integer"),i=Math.max,o=Math.min;t.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},{"./_to-integer":163}],163:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},{}],164:[function(e,t,n){var r=e("./_iobject"),i=e("./_defined");t.exports=function(e){return r(i(e))}},{"./_defined":84,"./_iobject":102}],165:[function(e,t,n){var r=e("./_to-integer"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"./_to-integer":163}],166:[function(e,t,n){var r=e("./_defined");t.exports=function(e){return Object(r(e))}},{"./_defined":84}],167:[function(e,t,n){var r=e("./_is-object");t.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":106}],168:[function(e,t,n){"use strict";if(e("./_descriptors")){var r=e("./_library"),i=e("./_global"),o=e("./_fails"),a=e("./_export"),s=e("./_typed"),l=e("./_typed-buffer"),c=e("./_ctx"),u=e("./_an-instance"),f=e("./_property-desc"),d=e("./_hide"),p=e("./_redefine-all"),h=e("./_to-integer"),m=e("./_to-length"),g=e("./_to-index"),v=e("./_to-primitive"),y=e("./_has"),_=e("./_same-value"),b=e("./_classof"),x=e("./_is-object"),w=e("./_to-object"),k=e("./_is-array-iter"),$=e("./_object-create"),C=e("./_object-gpo"),S=e("./_object-gopn").f,E=e("./core.get-iterator-method"),T=e("./_uid"),A=e("./_wks"),M=e("./_array-methods"),D=e("./_array-includes"),L=e("./_species-constructor"),O=e("./es6.array.iterator"),j=e("./_iterators"),F=e("./_iter-detect"),P=e("./_set-species"),N=e("./_array-fill"),I=e("./_array-copy-within"),q=e("./_object-dp"),z=e("./_object-gopd"),R=q.f,U=z.f,B=i.RangeError,H=i.TypeError,W=i.Uint8Array,V=Array.prototype,Y=l.ArrayBuffer,G=l.DataView,Z=M(0),K=M(2),J=M(3),X=M(4),Q=M(5),ee=M(6),te=D(!0),ne=D(!1),re=O.values,ie=O.keys,oe=O.entries,ae=V.lastIndexOf,se=V.reduce,le=V.reduceRight,ce=V.join,ue=V.sort,fe=V.slice,de=V.toString,pe=V.toLocaleString,he=A("iterator"),me=A("toStringTag"),ge=T("typed_constructor"),ve=T("def_constructor"),ye=s.CONSTR,_e=s.TYPED,be=s.VIEW,xe=M(1,function(e,t){return Ee(L(e,e[ve]),t)}),we=o(function(){return 1===new W(new Uint16Array([1]).buffer)[0]}),ke=!!W&&!!W.prototype.set&&o(function(){new W(1).set({})}),$e=function(e,t){if(void 0===e)throw H("Wrong length!");var n=+e,r=m(e);if(t&&!_(n,r))throw B("Wrong length!");return r},Ce=function(e,t){var n=h(e);if(n<0||n%t)throw B("Wrong offset!");return n},Se=function(e){if(x(e)&&_e in e)return e;throw H(e+" is not a typed array!")},Ee=function(e,t){if(!(x(e)&&ge in e))throw H("It is not a typed array constructor!");return new e(t)},Te=function(e,t){return Ae(L(e,e[ve]),t)},Ae=function(e,t){for(var n=0,r=t.length,i=Ee(e,r);r>n;)i[n]=t[n++];return i},Me=function(e,t,n){R(e,t,{get:function(){return this._d[n]}})},De=function(e){var t,n,r,i,o,a,s=w(e),l=arguments.length,u=l>1?arguments[1]:void 0,f=void 0!==u,d=E(s);if(void 0!=d&&!k(d)){for(a=d.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(f&&l>2&&(u=c(u,arguments[2],2)),t=0,n=m(s.length),i=Ee(this,n);n>t;t++)i[t]=f?u(s[t],t):s[t];return i},Le=function(){for(var e=0,t=arguments.length,n=Ee(this,t);t>e;)n[e]=arguments[e++];return n},Oe=!!W&&o(function(){pe.call(new W(1))}),je=function(){return pe.apply(Oe?fe.call(Se(this)):Se(this),arguments)},Fe={copyWithin:function(e,t){return I.call(Se(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return X(Se(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return N.apply(Se(this),arguments)},filter:function(e){return Te(this,K(Se(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Se(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Se(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Se(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Se(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Se(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ce.apply(Se(this),arguments)},lastIndexOf:function(e){return ae.apply(Se(this),arguments)},map:function(e){return xe(Se(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Se(this),arguments)},reduceRight:function(e){return le.apply(Se(this),arguments)},reverse:function(){for(var e,t=this,n=Se(t).length,r=Math.floor(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t},some:function(e){return J(Se(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ue.call(Se(this),e)},subarray:function(e,t){var n=Se(this),r=n.length,i=g(e,r);return new(L(n,n[ve]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:g(t,r))-i))}},Pe=function(e,t){return Te(this,fe.call(Se(this),e,t))},Ne=function(e){Se(this);var t=Ce(arguments[1],1),n=this.length,r=w(e),i=m(r.length),o=0;if(i+t>n)throw B("Wrong length!");for(;o<i;)this[t+o]=r[o++]},Ie={entries:function(){return oe.call(Se(this))},keys:function(){return ie.call(Se(this))},values:function(){return re.call(Se(this))}},qe=function(e,t){return x(e)&&e[_e]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},ze=function(e,t){return qe(e,t=v(t,!0))?f(2,e[t]):U(e,t)},Re=function(e,t,n){return!(qe(e,t=v(t,!0))&&x(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};ye||(z.f=ze,q.f=Re),a(a.S+a.F*!ye,"Object",{getOwnPropertyDescriptor:ze,defineProperty:Re}),o(function(){de.call({})})&&(de=pe=function(){return ce.call(this)});var Ue=p({},Fe);p(Ue,Ie),d(Ue,he,Ie.values),p(Ue,{slice:Pe,set:Ne,constructor:function(){},toString:de,toLocaleString:je}),Me(Ue,"buffer","b"),Me(Ue,"byteOffset","o"),Me(Ue,"byteLength","l"),Me(Ue,"length","e"),R(Ue,me,{get:function(){return this[_e]}}),t.exports=function(e,t,n,l){l=!!l;var c=e+(l?"Clamped":"")+"Array",f="Uint8Array"!=c,p="get"+e,h="set"+e,g=i[c],v=g||{},y=g&&C(g),_=!g||!s.ABV,w={},k=g&&g.prototype,E=function(e,n){var r=e._d;return r.v[p](n*t+r.o,we)},T=function(e,n,r){var i=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[h](n*t+i.o,r,we)},A=function(e,t){R(e,t,{get:function(){return E(this,t)},set:function(e){return T(this,t,e)},enumerable:!0})};_?(g=n(function(e,n,r,i){u(e,g,c,"_d");var o,a,s,l,f=0,p=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return _e in n?Ae(g,n):De.call(g,n);o=n,p=Ce(r,t);var h=n.byteLength;if(void 0===i){if(h%t)throw B("Wrong length!");if((a=h-p)<0)throw B("Wrong length!")}else if((a=m(i)*t)+p>h)throw B("Wrong length!");s=a/t}else s=$e(n,!0),a=s*t,o=new Y(a);for(d(e,"_d",{b:o,o:p,l:a,e:s,v:new G(o)});f<s;)A(e,f++)}),k=g.prototype=$(Ue),d(k,"constructor",g)):F(function(e){new g(null),new g(e)},!0)||(g=n(function(e,n,r,i){u(e,g,c);var o;return x(n)?n instanceof Y||"ArrayBuffer"==(o=b(n))||"SharedArrayBuffer"==o?void 0!==i?new v(n,Ce(r,t),i):void 0!==r?new v(n,Ce(r,t)):new v(n):_e in n?Ae(g,n):De.call(g,n):new v($e(n,f))}),Z(y!==Function.prototype?S(v).concat(S(y)):S(v),function(e){e in g||d(g,e,v[e])}),g.prototype=k,r||(k.constructor=g));var M=k[he],D=!!M&&("values"==M.name||void 0==M.name),L=Ie.values;d(g,ge,!0),d(k,_e,c),d(k,be,!0),d(k,ve,g),(l?new g(1)[me]==c:me in k)||R(k,me,{get:function(){return c}}),w[c]=g,a(a.G+a.W+a.F*(g!=v),w),a(a.S,c,{BYTES_PER_ELEMENT:t,from:De,of:Le}),"BYTES_PER_ELEMENT"in k||d(k,"BYTES_PER_ELEMENT",t),a(a.P,c,Fe),P(c),a(a.P+a.F*ke,c,{set:Ne}),a(a.P+a.F*!D,c,Ie),a(a.P+a.F*(k.toString!=de),c,{toString:de}),a(a.P+a.F*o(function(){new g(1).slice()}),c,{slice:Pe}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()})||!o(function(){k.toLocaleString.call([1,2])})),c,{toLocaleString:je}),j[c]=D?M:L,r||D||d(k,he,L)}}else t.exports=function(){}},{"./_an-instance":63,"./_array-copy-within":65,"./_array-fill":66,"./_array-includes":68,"./_array-methods":69,"./_classof":74,"./_ctx":82,"./_descriptors":85,"./_export":89,"./_fails":91,"./_global":95,"./_has":96,"./_hide":97,"./_is-array-iter":103,"./_is-object":106,"./_iter-detect":111,"./_iterators":113,"./_library":115,"./_object-create":123,"./_object-dp":124,"./_object-gopd":127,"./_object-gopn":129,"./_object-gpo":131,"./_property-desc":142,"./_redefine-all":143,"./_same-value":146,"./_set-species":148,"./_species-constructor":152,"./_to-index":162,"./_to-integer":163,"./_to-length":165,"./_to-object":166,"./_to-primitive":167,"./_typed":170,"./_typed-buffer":169,"./_uid":171,"./_wks":174,"./core.get-iterator-method":175,"./es6.array.iterator":187}],169:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_descriptors"),o=e("./_library"),a=e("./_typed"),s=e("./_hide"),l=e("./_redefine-all"),c=e("./_fails"),u=e("./_an-instance"),f=e("./_to-integer"),d=e("./_to-length"),p=e("./_object-gopn").f,h=e("./_object-dp").f,m=e("./_array-fill"),g=e("./_set-to-string-tag"),v=r.ArrayBuffer,y=r.DataView,_=r.Math,b=r.RangeError,x=r.Infinity,w=v,k=_.abs,$=_.pow,C=_.floor,S=_.log,E=_.LN2,T=i?"_b":"buffer",A=i?"_l":"byteLength",M=i?"_o":"byteOffset",D=function(e,t,n){var r,i,o,a=Array(n),s=8*n-t-1,l=(1<<s)-1,c=l>>1,u=23===t?$(2,-24)-$(2,-77):0,f=0,d=e<0||0===e&&1/e<0?1:0;for(e=k(e),e!=e||e===x?(i=e!=e?1:0,r=l):(r=C(S(e)/E),e*(o=$(2,-r))<1&&(r--,o*=2),e+=r+c>=1?u/o:u*$(2,1-c),e*o>=2&&(r++,o/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(e*o-1)*$(2,t),r+=c):(i=e*$(2,c-1)*$(2,t),r=0));t>=8;a[f++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a},L=function(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:c?-x:x;r+=$(2,t),u-=a}return(c?-1:1)*r*$(2,u-t)},O=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},j=function(e){return[255&e]},F=function(e){return[255&e,e>>8&255]},P=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},N=function(e){return D(e,52,8)},I=function(e){return D(e,23,4)},q=function(e,t,n){h(e.prototype,t,{get:function(){return this[n]}})},z=function(e,t,n,r){var i=+n,o=f(i);if(i!=o||o<0||o+t>e[A])throw b("Wrong index!");var a=e[T]._b,s=o+e[M],l=a.slice(s,s+t);return r?l:l.reverse()},R=function(e,t,n,r,i,o){var a=+n,s=f(a);if(a!=s||s<0||s+t>e[A])throw b("Wrong index!");for(var l=e[T]._b,c=s+e[M],u=r(+i),d=0;d<t;d++)l[c+d]=u[o?d:t-d-1]},U=function(e,t){u(e,v,"ArrayBuffer");var n=+t,r=d(n);if(n!=r)throw b("Wrong length!");return r};if(a.ABV){if(!c(function(){new v})||!c(function(){new v(.5)})){v=function(e){return new w(U(this,e))};for(var B,H=v.prototype=w.prototype,W=p(w),V=0;W.length>V;)(B=W[V++])in v||s(v,B,w[B]);o||(H.constructor=v)}var Y=new y(new v(2)),G=y.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||l(y.prototype,{setInt8:function(e,t){G.call(this,e,t<<24>>24)},setUint8:function(e,t){G.call(this,e,t<<24>>24)}},!0)}else v=function(e){var t=U(this,e);this._b=m.call(Array(t),0),this[A]=t},y=function(e,t,n){u(this,y,"DataView"),u(e,v,"DataView");var r=e[A],i=f(t);if(i<0||i>r)throw b("Wrong offset!");if(n=void 0===n?r-i:d(n),i+n>r)throw b("Wrong length!");this[T]=e,this[M]=i,this[A]=n},i&&(q(v,"byteLength","_l"),q(y,"buffer","_b"),q(y,"byteLength","_l"),q(y,"byteOffset","_o")),l(y.prototype,{getInt8:function(e){return z(this,1,e)[0]<<24>>24},getUint8:function(e){return z(this,1,e)[0]},getInt16:function(e){var t=z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return O(z(this,4,e,arguments[1]))},getUint32:function(e){return O(z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return L(z(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return L(z(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){R(this,1,e,j,t)},setUint8:function(e,t){R(this,1,e,j,t)},setInt16:function(e,t){R(this,2,e,F,t,arguments[2])},setUint16:function(e,t){R(this,2,e,F,t,arguments[2])},setInt32:function(e,t){R(this,4,e,P,t,arguments[2])},setUint32:function(e,t){R(this,4,e,P,t,arguments[2])},setFloat32:function(e,t){R(this,4,e,I,t,arguments[2])},setFloat64:function(e,t){R(this,8,e,N,t,arguments[2])}});g(v,"ArrayBuffer"),g(y,"DataView"),s(y.prototype,a.VIEW,!0),n.ArrayBuffer=v,n.DataView=y},{"./_an-instance":63,"./_array-fill":66,"./_descriptors":85,"./_fails":91,"./_global":95,"./_hide":97,"./_library":115,"./_object-dp":124,"./_object-gopn":129,"./_redefine-all":143,"./_set-to-string-tag":149,"./_to-integer":163,"./_to-length":165,"./_typed":170}],170:[function(e,t,n){for(var r,i=e("./_global"),o=e("./_hide"),a=e("./_uid"),s=a("typed_array"),l=a("view"),c=!(!i.ArrayBuffer||!i.DataView),u=c,f=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[d[f++]])?(o(r.prototype,s,!0),o(r.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{"./_global":95,"./_hide":97,"./_uid":171}],171:[function(e,t,n){var r=0,i=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+i).toString(36))}},{}],172:[function(e,t,n){var r=e("./_global"),i=e("./_core"),o=e("./_library"),a=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},{"./_core":80,"./_global":95,"./_library":115,"./_object-dp":124,"./_wks-ext":173}],173:[function(e,t,n){n.f=e("./_wks")},{"./_wks":174}],174:[function(e,t,n){var r=e("./_shared")("wks"),i=e("./_uid"),o=e("./_global").Symbol,a="function"==typeof o;(t.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},{"./_global":95,"./_shared":151,"./_uid":171}],175:[function(e,t,n){var r=e("./_classof"),i=e("./_wks")("iterator"),o=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},{"./_classof":74,"./_core":80,"./_iterators":113,"./_wks":174}],176:[function(e,t,n){var r=e("./_export"),i=e("./_replacer")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return i(e)}})},{"./_export":89,"./_replacer":145}],177:[function(e,t,n){var r=e("./_export");r(r.P,"Array",{copyWithin:e("./_array-copy-within")}),e("./_add-to-unscopables")("copyWithin")},{"./_add-to-unscopables":62,"./_array-copy-within":65,"./_export":89}],178:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(4);r(r.P+r.F*!e("./_strict-method")([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":69,"./_export":89,"./_strict-method":153}],179:[function(e,t,n){var r=e("./_export");r(r.P,"Array",{fill:e("./_array-fill")}),e("./_add-to-unscopables")("fill")},{"./_add-to-unscopables":62,"./_array-fill":66,"./_export":89
|
||
}],180:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(2);r(r.P+r.F*!e("./_strict-method")([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":69,"./_export":89,"./_strict-method":153}],181:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")(o)},{"./_add-to-unscopables":62,"./_array-methods":69,"./_export":89}],182:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("find")},{"./_add-to-unscopables":62,"./_array-methods":69,"./_export":89}],183:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(0),o=e("./_strict-method")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":69,"./_export":89,"./_strict-method":153}],184:[function(e,t,n){"use strict";var r=e("./_ctx"),i=e("./_export"),o=e("./_to-object"),a=e("./_iter-call"),s=e("./_is-array-iter"),l=e("./_to-length"),c=e("./_create-property"),u=e("./core.get-iterator-method");i(i.S+i.F*!e("./_iter-detect")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,d=o(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(d);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=l(d.length),n=new p(t);t>v;v++)c(n,v,g?m(d[v],v):d[v]);else for(f=y.call(d),n=new p;!(i=f.next()).done;v++)c(n,v,g?a(f,m,[i.value,v],!0):i.value);return n.length=v,n}})},{"./_create-property":81,"./_ctx":82,"./_export":89,"./_is-array-iter":103,"./_iter-call":108,"./_iter-detect":111,"./_to-length":165,"./_to-object":166,"./core.get-iterator-method":175}],185:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-includes")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!e("./_strict-method")(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},{"./_array-includes":68,"./_export":89,"./_strict-method":153}],186:[function(e,t,n){var r=e("./_export");r(r.S,"Array",{isArray:e("./_is-array")})},{"./_export":89,"./_is-array":104}],187:[function(e,t,n){"use strict";var r=e("./_add-to-unscopables"),i=e("./_iter-step"),o=e("./_iterators"),a=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",function(e,t){this._t=a(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,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":62,"./_iter-define":110,"./_iter-step":112,"./_iterators":113,"./_to-iobject":164}],188:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-iobject"),o=[].join;r(r.P+r.F*(e("./_iobject")!=Object||!e("./_strict-method")(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},{"./_export":89,"./_iobject":102,"./_strict-method":153,"./_to-iobject":164}],189:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-iobject"),o=e("./_to-integer"),a=e("./_to-length"),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!e("./_strict-method")(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},{"./_export":89,"./_strict-method":153,"./_to-integer":163,"./_to-iobject":164,"./_to-length":165}],190:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(1);r(r.P+r.F*!e("./_strict-method")([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":69,"./_export":89,"./_strict-method":153}],191:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_create-property");r(r.S+r.F*e("./_fails")(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;)i(n,e,arguments[e++]);return n.length=t,n}})},{"./_create-property":81,"./_export":89,"./_fails":91}],192:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-reduce");r(r.P+r.F*!e("./_strict-method")([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},{"./_array-reduce":70,"./_export":89,"./_strict-method":153}],193:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-reduce");r(r.P+r.F*!e("./_strict-method")([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},{"./_array-reduce":70,"./_export":89,"./_strict-method":153}],194:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_html"),o=e("./_cof"),a=e("./_to-index"),s=e("./_to-length"),l=[].slice;r(r.P+r.F*e("./_fails")(function(){i&&l.call(i)}),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var i=a(e,n),c=a(t,n),u=s(c-i),f=Array(u),d=0;d<u;d++)f[d]="String"==r?this.charAt(i+d):this[i+d];return f}})},{"./_cof":75,"./_export":89,"./_fails":91,"./_html":98,"./_to-index":162,"./_to-length":165}],195:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-methods")(3);r(r.P+r.F*!e("./_strict-method")([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":69,"./_export":89,"./_strict-method":153}],196:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_a-function"),o=e("./_to-object"),a=e("./_fails"),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!e("./_strict-method")(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},{"./_a-function":60,"./_export":89,"./_fails":91,"./_strict-method":153,"./_to-object":166}],197:[function(e,t,n){e("./_set-species")("Array")},{"./_set-species":148}],198:[function(e,t,n){var r=e("./_export");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},{"./_export":89}],199:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_fails"),o=Date.prototype.getTime,a=function(e){return e>9?e:"0"+e};r(r.P+r.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.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"}})},{"./_export":89,"./_fails":91}],200:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_to-primitive");r(r.P+r.F*e("./_fails")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},{"./_export":89,"./_fails":91,"./_to-object":166,"./_to-primitive":167}],201:[function(e,t,n){var r=e("./_wks")("toPrimitive"),i=Date.prototype;r in i||e("./_hide")(i,r,e("./_date-to-primitive"))},{"./_date-to-primitive":83,"./_hide":97,"./_wks":174}],202:[function(e,t,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&e("./_redefine")(r,"toString",function(){var e=o.call(this);return e===e?i.call(this):"Invalid Date"})},{"./_redefine":144}],203:[function(e,t,n){var r=e("./_export");r(r.P,"Function",{bind:e("./_bind")})},{"./_bind":73,"./_export":89}],204:[function(e,t,n){"use strict";var r=e("./_is-object"),i=e("./_object-gpo"),o=e("./_wks")("hasInstance"),a=Function.prototype;o in a||e("./_object-dp").f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},{"./_is-object":106,"./_object-dp":124,"./_object-gpo":131,"./_wks":174}],205:[function(e,t,n){var r=e("./_object-dp").f,i=e("./_property-desc"),o=e("./_has"),a=Function.prototype,s=Object.isExtensible||function(){return!0};"name"in a||e("./_descriptors")&&r(a,"name",{configurable:!0,get:function(){try{var e=this,t=(""+e).match(/^\s*function ([^ (]*)/)[1];return o(e,"name")||!s(e)||r(e,"name",i(5,t)),t}catch(e){return""}}})},{"./_descriptors":85,"./_has":96,"./_object-dp":124,"./_property-desc":142}],206:[function(e,t,n){"use strict";var r=e("./_collection-strong");t.exports=e("./_collection")("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)},{"./_collection":79,"./_collection-strong":76}],207:[function(e,t,n){var r=e("./_export"),i=e("./_math-log1p"),o=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:i(e-1+o(e-1)*o(e+1))}})},{"./_export":89,"./_math-log1p":117}],208:[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 i=e("./_export"),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},{"./_export":89}],209:[function(e,t,n){var r=e("./_export"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},{"./_export":89}],210:[function(e,t,n){var r=e("./_export"),i=e("./_math-sign");r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},{"./_export":89,"./_math-sign":118}],211:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},{"./_export":89}],212:[function(e,t,n){var r=e("./_export"),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},{"./_export":89}],213:[function(e,t,n){var r=e("./_export"),i=e("./_math-expm1");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},{"./_export":89,"./_math-expm1":116}],214:[function(e,t,n){var r=e("./_export"),i=e("./_math-sign"),o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),c=o(2,-126),u=function(e){return e+1/a-1/a};r(r.S,"Math",{fround:function(e){var t,n,r=Math.abs(e),o=i(e);return r<c?o*u(r/c/s)*c*s:(t=(1+s/a)*r,n=t-(t-r),n>l||n!=n?o*(1/0):o*n)}})},{"./_export":89,"./_math-sign":118}],215:[function(e,t,n){var r=e("./_export"),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,s=arguments.length,l=0;a<s;)n=i(arguments[a++]),l<n?(r=l/n,o=o*r*r+1,l=n):n>0?(r=n/l,o+=r*r):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},{"./_export":89}],216:[function(e,t,n){var r=e("./_export"),i=Math.imul;r(r.S+r.F*e("./_fails")(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},{"./_export":89,"./_fails":91}],217:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},{"./_export":89}],218:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{log1p:e("./_math-log1p")})},{"./_export":89,"./_math-log1p":117}],219:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},{"./_export":89}],220:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{sign:e("./_math-sign")})},{"./_export":89,"./_math-sign":118}],221:[function(e,t,n){var r=e("./_export"),i=e("./_math-expm1"),o=Math.exp;r(r.S+r.F*e("./_fails")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},{"./_export":89,"./_fails":91,"./_math-expm1":116}],222:[function(e,t,n){var r=e("./_export"),i=e("./_math-expm1"),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},{"./_export":89,"./_math-expm1":116}],223:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},{"./_export":89}],224:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_has"),o=e("./_cof"),a=e("./_inherit-if-required"),s=e("./_to-primitive"),l=e("./_fails"),c=e("./_object-gopn").f,u=e("./_object-gopd").f,f=e("./_object-dp").f,d=e("./_string-trim").trim,p=r.Number,h=p,m=p.prototype,g="Number"==o(e("./_object-create")(m)),v="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=v?t.trim():d(t,3);var n,r,i,o=t.charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,l=t.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>i)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(g?l(function(){m.valueOf.call(n)}):"Number"!=o(n))?a(new h(y(t)),n,p):y(t)};for(var _,b=e("./_descriptors")?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)i(h,_=b[x])&&!i(p,_)&&f(p,_,u(h,_));p.prototype=m,m.constructor=p,e("./_redefine")(r,"Number",p)}},{"./_cof":75,"./_descriptors":85,"./_fails":91,"./_global":95,"./_has":96,"./_inherit-if-required":100,"./_object-create":123,"./_object-dp":124,"./_object-gopd":127,"./_object-gopn":129,"./_redefine":144,"./_string-trim":159,"./_to-primitive":167}],225:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":89}],226:[function(e,t,n){var r=e("./_export"),i=e("./_global").isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},{"./_export":89,"./_global":95}],227:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{isInteger:e("./_is-integer")})},{"./_export":89,"./_is-integer":105}],228:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{isNaN:function(e){return e!=e}})},{"./_export":89}],229:[function(e,t,n){var r=e("./_export"),i=e("./_is-integer"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},{"./_export":89,"./_is-integer":105}],230:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":89}],231:[function(e,t,n){var r=e("./_export");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":89}],232:[function(e,t,n){var r=e("./_export"),i=e("./_parse-float");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},{"./_export":89,"./_parse-float":138}],233:[function(e,t,n){var r=e("./_export"),i=e("./_parse-int");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},{"./_export":89,"./_parse-int":139}],234:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-integer"),o=e("./_a-number-value"),a=e("./_string-repeat"),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",f=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=l(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=l(n/e),n=n%e*1e7},p=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("0",7-n.length)+n}return t},h=function(e,t,n){return 0===t?n:t%2==1?h(e,t-1,n*e):h(e*e,t/2,n)},m=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))||!e("./_fails")(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=o(this,u),c=i(e),g="",v="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(g="-",l=-l),l>1e-21)if(t=m(l*h(2,69,1))-69,n=t<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(f(0,n),r=c;r>=7;)f(1e7,0),r-=7;for(f(h(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),f(1,1),d(2),v=p()}else f(0,n),f(1<<-t,0),v=p()+a.call("0",c);return c>0?(s=v.length,v=g+(s<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c))):v=g+v,v}})},{"./_a-number-value":61,"./_export":89,"./_fails":91,"./_string-repeat":158,"./_to-integer":163}],235:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_fails"),o=e("./_a-number-value"),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},{"./_a-number-value":61,"./_export":89,"./_fails":91}],236:[function(e,t,n){var r=e("./_export");r(r.S+r.F,"Object",{assign:e("./_object-assign")})},{"./_export":89,"./_object-assign":122}],237:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{create:e("./_object-create")})},{"./_export":89,"./_object-create":123}],238:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperties:e("./_object-dps")})},{"./_descriptors":85,"./_export":89,"./_object-dps":125}],239:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})},{"./_descriptors":85,"./_export":89,"./_object-dp":124}],240:[function(e,t,n){var r=e("./_is-object"),i=e("./_meta").onFreeze;e("./_object-sap")("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},{"./_is-object":106,"./_meta":119,"./_object-sap":135}],241:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_object-gopd").f;e("./_object-sap")("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},{"./_object-gopd":127,"./_object-sap":135,"./_to-iobject":164}],242:[function(e,t,n){e("./_object-sap")("getOwnPropertyNames",function(){return e("./_object-gopn-ext").f})},{"./_object-gopn-ext":128,"./_object-sap":135}],243:[function(e,t,n){var r=e("./_to-object"),i=e("./_object-gpo");e("./_object-sap")("getPrototypeOf",function(){return function(e){return i(r(e))}})},{"./_object-gpo":131,"./_object-sap":135,"./_to-object":166}],244:[function(e,t,n){var r=e("./_is-object");e("./_object-sap")("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},{"./_is-object":106,"./_object-sap":135}],245:[function(e,t,n){var r=e("./_is-object");e("./_object-sap")("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},{"./_is-object":106,"./_object-sap":135}],246:[function(e,t,n){var r=e("./_is-object");e("./_object-sap")("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},{"./_is-object":106,"./_object-sap":135}],247:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{is:e("./_same-value")})},{"./_export":89,"./_same-value":146}],248:[function(e,t,n){var r=e("./_to-object"),i=e("./_object-keys");e("./_object-sap")("keys",function(){return function(e){return i(r(e))}})},{"./_object-keys":133,"./_object-sap":135,"./_to-object":166}],249:[function(e,t,n){var r=e("./_is-object"),i=e("./_meta").onFreeze;e("./_object-sap")("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},{"./_is-object":106,"./_meta":119,"./_object-sap":135}],250:[function(e,t,n){var r=e("./_is-object"),i=e("./_meta").onFreeze;e("./_object-sap")("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},{"./_is-object":106,"./_meta":119,"./_object-sap":135}],251:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{setPrototypeOf:e("./_set-proto").set})},{"./_export":89,"./_set-proto":147}],252:[function(e,t,n){"use strict";var r=e("./_classof"),i={};i[e("./_wks")("toStringTag")]="z",i+""!="[object z]"&&e("./_redefine")(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},{"./_classof":74,"./_redefine":144,"./_wks":174}],253:[function(e,t,n){var r=e("./_export"),i=e("./_parse-float");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},{"./_export":89,"./_parse-float":138}],254:[function(e,t,n){var r=e("./_export"),i=e("./_parse-int");r(r.G+r.F*(parseInt!=i),{parseInt:i})},{"./_export":89,"./_parse-int":139}],255:[function(e,t,n){"use strict";var r,i,o,a=e("./_library"),s=e("./_global"),l=e("./_ctx"),c=e("./_classof"),u=e("./_export"),f=e("./_is-object"),d=e("./_a-function"),p=e("./_an-instance"),h=e("./_for-of"),m=e("./_species-constructor"),g=e("./_task").set,v=e("./_microtask")(),y=s.TypeError,_=s.process,b=s.Promise,_=s.process,x="process"==c(_),w=function(){},k=!!function(){try{var t=b.resolve(1),n=(t.constructor={})[e("./_wks")("species")]=function(e){e(w,w)};return(x||"function"==typeof PromiseRejectionEvent)&&t.then(w)instanceof n}catch(e){}}(),$=function(e,t){return e===t||e===b&&t===o},C=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},S=function(e){return $(b,e)?new E(e):new i(e)},E=i=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw y("Bad Promise constructor");t=e,n=r}),this.resolve=d(t),this.reject=d(n)},T=function(e){try{e()}catch(e){return{error:e}}},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a=i?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{a?(i||(2==e._h&&L(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?l(y("Promise-chain cycle")):(o=C(n))?o.call(n,s,l):s(n)):l(r)}catch(e){l(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){g.call(s,function(){var t,n,r,i=e._v;if(D(e)&&(t=T(function(){x?_.emit("unhandledRejection",i,e):(n=s.onunhandledrejection)?n({promise:e,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=x||D(e)?2:1),e._a=void 0,t)throw t.error})},D=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||!D(t.promise))return!1;return!0},L=function(e){g.call(s,function(){var t;x?_.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},O=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()),A(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw y("Promise can't be resolved itself");(t=C(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,l(j,r,1),l(O,r,1))}catch(e){O.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){O.call({_w:n,_d:!1},e)}}};k||(b=function(e){p(this,b,"Promise","_h"),d(e),r.call(this);try{e(l(j,this,1),l(O,this,1))}catch(e){O.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("./_redefine-all")(b.prototype,{then:function(e,t){var n=S(m(this,b));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=x?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),E=function(){var e=new r;this.promise=e,this.resolve=l(j,e,1),this.reject=l(O,e,1)}),u(u.G+u.W+u.F*!k,{Promise:b}),e("./_set-to-string-tag")(b,"Promise"),e("./_set-species")("Promise"),o=e("./_core").Promise,u(u.S+u.F*!k,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),u(u.S+u.F*(a||!k),"Promise",{resolve:function(e){if(e instanceof b&&$(e.constructor,this))return e;var t=S(this);return(0,t.resolve)(e),t.promise}}),u(u.S+u.F*!(k&&e("./_iter-detect")(function(e){b.all(e).catch(w)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,i=n.reject,o=T(function(){var n=[],o=0,a=1;h(e,!1,function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o&&i(o.error),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,i=T(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i&&r(i.error),n.promise}})},{"./_a-function":60,"./_an-instance":63,"./_classof":74,"./_core":80,"./_ctx":82,"./_export":89,"./_for-of":94,"./_global":95,"./_is-object":106,"./_iter-detect":111,"./_library":115,"./_microtask":121,"./_redefine-all":143,"./_set-species":148,"./_set-to-string-tag":149,"./_species-constructor":152,"./_task":161,"./_wks":174}],256:[function(e,t,n){var r=e("./_export"),i=e("./_a-function"),o=e("./_an-object"),a=(e("./_global").Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!e("./_fails")(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=i(e),l=o(n);return a?a(r,t,l):s.call(r,t,l)}})},{"./_a-function":60,"./_an-object":64,"./_export":89,"./_fails":91,"./_global":95}],257:[function(e,t,n){var r=e("./_export"),i=e("./_object-create"),o=e("./_a-function"),a=e("./_an-object"),s=e("./_is-object"),l=e("./_fails"),c=e("./_bind"),u=(e("./_global").Reflect||{}).construct,f=l(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),d=!l(function(){u(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(d&&!f)return u(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 l=n.prototype,p=i(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},{"./_a-function":60,"./_an-object":64,"./_bind":73,"./_export":89,"./_fails":91,"./_global":95,"./_is-object":106,"./_object-create":123}],258:[function(e,t,n){var r=e("./_object-dp"),i=e("./_export"),o=e("./_an-object"),a=e("./_to-primitive");i(i.S+i.F*e("./_fails")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},{"./_an-object":64,"./_export":89,"./_fails":91,"./_object-dp":124,"./_to-primitive":167}],259:[function(e,t,n){var r=e("./_export"),i=e("./_object-gopd").f,o=e("./_an-object");r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},{"./_an-object":64,"./_export":89,"./_object-gopd":127}],260:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_an-object"),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};e("./_iter-create")(o,"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 o(e)}})},{"./_an-object":64,"./_export":89,"./_iter-create":109}],261:[function(e,t,n){var r=e("./_object-gopd"),i=e("./_export"),o=e("./_an-object");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},{"./_an-object":64,"./_export":89,"./_object-gopd":127}],262:[function(e,t,n){var r=e("./_export"),i=e("./_object-gpo"),o=e("./_an-object");r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},{"./_an-object":64,"./_export":89,"./_object-gpo":131}],263:[function(e,t,n){function r(e,t){var n,s,u=arguments.length<3?e:arguments[2];return c(e)===u?e[t]:(n=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:l(s=o(e))?r(s,t,u):void 0}var i=e("./_object-gopd"),o=e("./_object-gpo"),a=e("./_has"),s=e("./_export"),l=e("./_is-object"),c=e("./_an-object");s(s.S,"Reflect",{get:r})},{"./_an-object":64,"./_export":89,"./_has":96,"./_is-object":106,"./_object-gopd":127,"./_object-gpo":131}],264:[function(e,t,n){var r=e("./_export");r(r.S,"Reflect",{has:function(e,t){return t in e}})},{"./_export":89}],265:[function(e,t,n){var r=e("./_export"),i=e("./_an-object"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},{"./_an-object":64,"./_export":89}],266:[function(e,t,n){var r=e("./_export");r(r.S,"Reflect",{ownKeys:e("./_own-keys")})},{"./_export":89,"./_own-keys":137}],267:[function(e,t,n){var r=e("./_export"),i=e("./_an-object"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},{"./_an-object":64,"./_export":89}],268:[function(e,t,n){var r=e("./_export"),i=e("./_set-proto");i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},{"./_export":89,"./_set-proto":147}],269:[function(e,t,n){function r(e,t,n){var l,d,p=arguments.length<4?e:arguments[3],h=o.f(u(e),t);if(!h){if(f(d=a(e)))return r(d,t,n,p);h=c(0)}return s(h,"value")?!(!1===h.writable||!f(p))&&(l=o.f(p,t)||c(0),l.value=n,i.f(p,t,l),!0):void 0!==h.set&&(h.set.call(p,n),!0)}var i=e("./_object-dp"),o=e("./_object-gopd"),a=e("./_object-gpo"),s=e("./_has"),l=e("./_export"),c=e("./_property-desc"),u=e("./_an-object"),f=e("./_is-object");l(l.S,"Reflect",{set:r})},{"./_an-object":64,"./_export":89,"./_has":96,"./_is-object":106,"./_object-dp":124,"./_object-gopd":127,"./_object-gpo":131,"./_property-desc":142}],270:[function(e,t,n){var r=e("./_global"),i=e("./_inherit-if-required"),o=e("./_object-dp").f,a=e("./_object-gopn").f,s=e("./_is-regexp"),l=e("./_flags"),c=r.RegExp,u=c,f=c.prototype,d=/a/g,p=new c(/a/g)!==/a/g;if(e("./_descriptors")&&(!p||e("./_fails")(function(){return d[e("./_wks")("match")]=!1,c(/a/g)!=/a/g||c(d)==d||"/a/i"!=c(/a/g,"i")}))){c=function(e,t){var n=this instanceof c,r=s(e),o=void 0===t;return!n&&r&&e.constructor===c&&o?e:i(p?new u(r&&!o?e.source:e,t):u((r=e instanceof c)?e.source:e,r&&o?l.call(e):t),n?this:f,c)};for(var h=a(u),m=0;h.length>m;)!function(e){e in c||o(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}(h[m++]);f.constructor=c,c.prototype=f,e("./_redefine")(r,"RegExp",c)}e("./_set-species")("RegExp")},{"./_descriptors":85,"./_fails":91,"./_flags":93,"./_global":95,"./_inherit-if-required":100,"./_is-regexp":107,"./_object-dp":124,"./_object-gopn":129,"./_redefine":144,"./_set-species":148,"./_wks":174}],271:[function(e,t,n){e("./_descriptors")&&"g"!=/./g.flags&&e("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:e("./_flags")})},{"./_descriptors":85,"./_flags":93,"./_object-dp":124}],272:[function(e,t,n){e("./_fix-re-wks")("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},n]})},{"./_fix-re-wks":92}],273:[function(e,t,n){e("./_fix-re-wks")("replace",2,function(e,t,n){return[function(r,i){"use strict";var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},n]})},{"./_fix-re-wks":92}],274:[function(e,t,n){e("./_fix-re-wks")("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},n]})},{"./_fix-re-wks":92}],275:[function(e,t,n){e("./_fix-re-wks")("split",2,function(t,n,r){"use strict";var i=e("./_is-regexp"),o=r,a=[].push,s="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[s]||2!="ab".split(/(?:ab)*/)[s]||4!=".".split(/(.?)(.?)/)[s]||".".split(/()()/)[s]>1||"".split(/.?/)[s]){var l=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!i(e))return o.call(n,e,t);var r,c,u,f,d,p=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,g=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,h+"g");for(l||(r=new RegExp("^"+v.source+"$(?!\\s)",h));(c=v.exec(n))&&!((u=c.index+c[0][s])>m&&(p.push(n.slice(m,c.index)),!l&&c[s]>1&&c[0].replace(r,function(){for(d=1;d<arguments[s]-2;d++)void 0===arguments[d]&&(c[d]=void 0)}),c[s]>1&&c.index<n[s]&&a.apply(p,c.slice(1)),f=c[0][s],m=u,p[s]>=g));)v.lastIndex===c.index&&v.lastIndex++;return m===n[s]?!f&&v.test("")||p.push(""):p.push(n.slice(m)),
|
||
p[s]>g?p.slice(0,g):p}}else"0".split(void 0,0)[s]&&(r=function(e,t){return void 0===e&&0===t?[]:o.call(this,e,t)});return[function(e,i){var o=t(this),a=void 0==e?void 0:e[n];return void 0!==a?a.call(e,o,i):r.call(String(o),e,i)},r]})},{"./_fix-re-wks":92,"./_is-regexp":107}],276:[function(e,t,n){"use strict";e("./es6.regexp.flags");var r=e("./_an-object"),i=e("./_flags"),o=e("./_descriptors"),a=/./.toString,s=function(t){e("./_redefine")(RegExp.prototype,"toString",t,!0)};e("./_fails")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},{"./_an-object":64,"./_descriptors":85,"./_fails":91,"./_flags":93,"./_redefine":144,"./es6.regexp.flags":271}],277:[function(e,t,n){"use strict";var r=e("./_collection-strong");t.exports=e("./_collection")("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)},{"./_collection":79,"./_collection-strong":76}],278:[function(e,t,n){"use strict";e("./_string-html")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},{"./_string-html":156}],279:[function(e,t,n){"use strict";e("./_string-html")("big",function(e){return function(){return e(this,"big","","")}})},{"./_string-html":156}],280:[function(e,t,n){"use strict";e("./_string-html")("blink",function(e){return function(){return e(this,"blink","","")}})},{"./_string-html":156}],281:[function(e,t,n){"use strict";e("./_string-html")("bold",function(e){return function(){return e(this,"b","","")}})},{"./_string-html":156}],282:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-at")(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},{"./_export":89,"./_string-at":154}],283:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-length"),o=e("./_string-context"),a="".endsWith;r(r.P+r.F*e("./_fails-is-regexp")("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},{"./_export":89,"./_fails-is-regexp":90,"./_string-context":155,"./_to-length":165}],284:[function(e,t,n){"use strict";e("./_string-html")("fixed",function(e){return function(){return e(this,"tt","","")}})},{"./_string-html":156}],285:[function(e,t,n){"use strict";e("./_string-html")("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},{"./_string-html":156}],286:[function(e,t,n){"use strict";e("./_string-html")("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},{"./_string-html":156}],287:[function(e,t,n){var r=e("./_export"),i=e("./_to-index"),o=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++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},{"./_export":89,"./_to-index":162}],288:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-context");r(r.P+r.F*e("./_fails-is-regexp")("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},{"./_export":89,"./_fails-is-regexp":90,"./_string-context":155}],289:[function(e,t,n){"use strict";e("./_string-html")("italics",function(e){return function(){return e(this,"i","","")}})},{"./_string-html":156}],290:[function(e,t,n){"use strict";var r=e("./_string-at")(!0);e("./_iter-define")(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=r(t,n),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":110,"./_string-at":154}],291:[function(e,t,n){"use strict";e("./_string-html")("link",function(e){return function(t){return e(this,"a","href",t)}})},{"./_string-html":156}],292:[function(e,t,n){var r=e("./_export"),i=e("./_to-iobject"),o=e("./_to-length");r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(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("")}})},{"./_export":89,"./_to-iobject":164,"./_to-length":165}],293:[function(e,t,n){var r=e("./_export");r(r.P,"String",{repeat:e("./_string-repeat")})},{"./_export":89,"./_string-repeat":158}],294:[function(e,t,n){"use strict";e("./_string-html")("small",function(e){return function(){return e(this,"small","","")}})},{"./_string-html":156}],295:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-length"),o=e("./_string-context"),a="".startsWith;r(r.P+r.F*e("./_fails-is-regexp")("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},{"./_export":89,"./_fails-is-regexp":90,"./_string-context":155,"./_to-length":165}],296:[function(e,t,n){"use strict";e("./_string-html")("strike",function(e){return function(){return e(this,"strike","","")}})},{"./_string-html":156}],297:[function(e,t,n){"use strict";e("./_string-html")("sub",function(e){return function(){return e(this,"sub","","")}})},{"./_string-html":156}],298:[function(e,t,n){"use strict";e("./_string-html")("sup",function(e){return function(){return e(this,"sup","","")}})},{"./_string-html":156}],299:[function(e,t,n){"use strict";e("./_string-trim")("trim",function(e){return function(){return e(this,3)}})},{"./_string-trim":159}],300:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_has"),o=e("./_descriptors"),a=e("./_export"),s=e("./_redefine"),l=e("./_meta").KEY,c=e("./_fails"),u=e("./_shared"),f=e("./_set-to-string-tag"),d=e("./_uid"),p=e("./_wks"),h=e("./_wks-ext"),m=e("./_wks-define"),g=e("./_keyof"),v=e("./_enum-keys"),y=e("./_is-array"),_=e("./_an-object"),b=e("./_to-iobject"),x=e("./_to-primitive"),w=e("./_property-desc"),k=e("./_object-create"),$=e("./_object-gopn-ext"),C=e("./_object-gopd"),S=e("./_object-dp"),E=e("./_object-keys"),T=C.f,A=S.f,M=$.f,D=r.Symbol,L=r.JSON,O=L&&L.stringify,j=p("_hidden"),F=p("toPrimitive"),P={}.propertyIsEnumerable,N=u("symbol-registry"),I=u("symbols"),q=u("op-symbols"),z=Object.prototype,R="function"==typeof D,U=r.QObject,B=!U||!U.prototype||!U.prototype.findChild,H=o&&c(function(){return 7!=k(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(z,t);r&&delete z[t],A(e,t,n),r&&e!==z&&A(z,t,r)}:A,W=function(e){var t=I[e]=k(D.prototype);return t._k=e,t},V=R&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},Y=function(e,t,n){return e===z&&Y(q,t,n),_(e),t=x(t,!0),_(n),i(I,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=k(n,{enumerable:w(0,!1)})):(i(e,j)||A(e,j,w(1,{})),e[j][t]=!0),H(e,t,n)):A(e,t,n)},G=function(e,t){_(e);for(var n,r=v(t=b(t)),i=0,o=r.length;o>i;)Y(e,n=r[i++],t[n]);return e},Z=function(e,t){return void 0===t?k(e):G(k(e),t)},K=function(e){var t=P.call(this,e=x(e,!0));return!(this===z&&i(I,e)&&!i(q,e))&&(!(t||!i(this,e)||!i(I,e)||i(this,j)&&this[j][e])||t)},J=function(e,t){if(e=b(e),t=x(t,!0),e!==z||!i(I,t)||i(q,t)){var n=T(e,t);return!n||!i(I,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=M(b(e)),r=[],o=0;n.length>o;)i(I,t=n[o++])||t==j||t==l||r.push(t);return r},Q=function(e){for(var t,n=e===z,r=M(n?q:b(e)),o=[],a=0;r.length>a;)!i(I,t=r[a++])||n&&!i(z,t)||o.push(I[t]);return o};R||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(q,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),H(this,e,w(1,n))};return o&&B&&H(z,e,{configurable:!0,set:t}),W(e)},s(D.prototype,"toString",function(){return this._k}),C.f=J,S.f=Y,e("./_object-gopn").f=$.f=X,e("./_object-pie").f=K,e("./_object-gops").f=Q,o&&!e("./_library")&&s(z,"propertyIsEnumerable",K,!0),h.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!R,{Symbol:D});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)p(ee[te++]);for(var ee=E(p.store),te=0;ee.length>te;)m(ee[te++]);a(a.S+a.F*!R,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=D(e)},keyFor:function(e){if(V(e))return g(N,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){B=!0},useSimple:function(){B=!1}}),a(a.S+a.F*!R,"Object",{create:Z,defineProperty:Y,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),L&&a(a.S+a.F*(!R||c(function(){var e=D();return"[null]"!=O([e])||"{}"!=O({a:e})||"{}"!=O(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!V(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return t=r[1],"function"==typeof t&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,O.apply(L,r)}}}),D.prototype[F]||e("./_hide")(D.prototype,F,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},{"./_an-object":64,"./_descriptors":85,"./_enum-keys":88,"./_export":89,"./_fails":91,"./_global":95,"./_has":96,"./_hide":97,"./_is-array":104,"./_keyof":114,"./_library":115,"./_meta":119,"./_object-create":123,"./_object-dp":124,"./_object-gopd":127,"./_object-gopn":129,"./_object-gopn-ext":128,"./_object-gops":130,"./_object-keys":133,"./_object-pie":134,"./_property-desc":142,"./_redefine":144,"./_set-to-string-tag":149,"./_shared":151,"./_to-iobject":164,"./_to-primitive":167,"./_uid":171,"./_wks":174,"./_wks-define":172,"./_wks-ext":173}],301:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_typed"),o=e("./_typed-buffer"),a=e("./_an-object"),s=e("./_to-index"),l=e("./_to-length"),c=e("./_is-object"),u=e("./_global").ArrayBuffer,f=e("./_species-constructor"),d=o.ArrayBuffer,p=o.DataView,h=i.ABV&&u.isView,m=d.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(u!==d),{ArrayBuffer:d}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||c(e)&&g in e}}),r(r.P+r.U+r.F*e("./_fails")(function(){return!new d(2).slice(1,void 0).byteLength}),"ArrayBuffer",{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),i=s(void 0===t?n:t,n),o=new(f(this,d))(l(i-r)),c=new p(this),u=new p(o),h=0;r<i;)u.setUint8(h++,c.getUint8(r++));return o}}),e("./_set-species")("ArrayBuffer")},{"./_an-object":64,"./_export":89,"./_fails":91,"./_global":95,"./_is-object":106,"./_set-species":148,"./_species-constructor":152,"./_to-index":162,"./_to-length":165,"./_typed":170,"./_typed-buffer":169}],302:[function(e,t,n){var r=e("./_export");r(r.G+r.W+r.F*!e("./_typed").ABV,{DataView:e("./_typed-buffer").DataView})},{"./_export":89,"./_typed":170,"./_typed-buffer":169}],303:[function(e,t,n){e("./_typed-array")("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],304:[function(e,t,n){e("./_typed-array")("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],305:[function(e,t,n){e("./_typed-array")("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],306:[function(e,t,n){e("./_typed-array")("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],307:[function(e,t,n){e("./_typed-array")("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],308:[function(e,t,n){e("./_typed-array")("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],309:[function(e,t,n){e("./_typed-array")("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],310:[function(e,t,n){e("./_typed-array")("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},{"./_typed-array":168}],311:[function(e,t,n){e("./_typed-array")("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},{"./_typed-array":168}],312:[function(e,t,n){"use strict";var r,i=e("./_array-methods")(0),o=e("./_redefine"),a=e("./_meta"),s=e("./_object-assign"),l=e("./_collection-weak"),c=e("./_is-object"),u=a.getWeak,f=Object.isExtensible,d=l.ufstore,p={},h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(c(e)){var t=u(e);return!0===t?d(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(this,e,t)}},g=t.exports=e("./_collection")("WeakMap",h,m,l,!0,!0);7!=(new g).set((Object.freeze||Object)(p),7).get(p)&&(r=l.getConstructor(h),s(r.prototype,m),a.NEED=!0,i(["delete","has","get","set"],function(e){var t=g.prototype,n=t[e];o(t,e,function(t,i){if(c(t)&&!f(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},{"./_array-methods":69,"./_collection":79,"./_collection-weak":78,"./_is-object":106,"./_meta":119,"./_object-assign":122,"./_redefine":144}],313:[function(e,t,n){"use strict";var r=e("./_collection-weak");e("./_collection")("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)},{"./_collection":79,"./_collection-weak":78}],314:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_array-includes")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("includes")},{"./_add-to-unscopables":62,"./_array-includes":68,"./_export":89}],315:[function(e,t,n){var r=e("./_export"),i=e("./_microtask")(),o=e("./_global").process,a="process"==e("./_cof")(o);r(r.G,{asap:function(e){var t=a&&o.domain;i(t?t.bind(e):e)}})},{"./_cof":75,"./_export":89,"./_global":95,"./_microtask":121}],316:[function(e,t,n){var r=e("./_export"),i=e("./_cof");r(r.S,"Error",{isError:function(e){return"Error"===i(e)}})},{"./_cof":75,"./_export":89}],317:[function(e,t,n){var r=e("./_export");r(r.P+r.R,"Map",{toJSON:e("./_collection-to-json")("Map")})},{"./_collection-to-json":77,"./_export":89}],318:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{iaddh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o+(r>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},{"./_export":89}],319:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{imulh:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r,a=n>>16,s=r>>16,l=(a*o>>>0)+(i*o>>>16);return a*s+(l>>16)+((i*s>>>0)+(65535&l)>>16)}})},{"./_export":89}],320:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{isubh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},{"./_export":89}],321:[function(e,t,n){var r=e("./_export");r(r.S,"Math",{umulh:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r,a=n>>>16,s=r>>>16,l=(a*o>>>0)+(i*o>>>16);return a*s+(l>>>16)+((i*s>>>0)+(65535&l)>>>16)}})},{"./_export":89}],322:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_a-function"),a=e("./_object-dp");e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__defineGetter__:function(e,t){a.f(i(this),e,{get:o(t),enumerable:!0,configurable:!0})}})},{"./_a-function":60,"./_descriptors":85,"./_export":89,"./_object-dp":124,"./_object-forced-pam":126,"./_to-object":166}],323:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_a-function"),a=e("./_object-dp");e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__defineSetter__:function(e,t){a.f(i(this),e,{set:o(t),enumerable:!0,configurable:!0})}})},{"./_a-function":60,"./_descriptors":85,"./_export":89,"./_object-dp":124,"./_object-forced-pam":126,"./_to-object":166}],324:[function(e,t,n){var r=e("./_export"),i=e("./_object-to-array")(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},{"./_export":89,"./_object-to-array":136}],325:[function(e,t,n){var r=e("./_export"),i=e("./_own-keys"),o=e("./_to-iobject"),a=e("./_object-gopd"),s=e("./_create-property");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n=o(e),r=a.f,l=i(n),c={},u=0;l.length>u;)s(c,t=l[u++],r(n,t));return c}})},{"./_create-property":81,"./_export":89,"./_object-gopd":127,"./_own-keys":137,"./_to-iobject":164}],326:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_to-primitive"),a=e("./_object-gpo"),s=e("./_object-gopd").f;e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__lookupGetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=s(n,r))return t.get}while(n=a(n))}})},{"./_descriptors":85,"./_export":89,"./_object-forced-pam":126,"./_object-gopd":127,"./_object-gpo":131,"./_to-object":166,"./_to-primitive":167}],327:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_to-object"),o=e("./_to-primitive"),a=e("./_object-gpo"),s=e("./_object-gopd").f;e("./_descriptors")&&r(r.P+e("./_object-forced-pam"),"Object",{__lookupSetter__:function(e){var t,n=i(this),r=o(e,!0);do{if(t=s(n,r))return t.set}while(n=a(n))}})},{"./_descriptors":85,"./_export":89,"./_object-forced-pam":126,"./_object-gopd":127,"./_object-gpo":131,"./_to-object":166,"./_to-primitive":167}],328:[function(e,t,n){var r=e("./_export"),i=e("./_object-to-array")(!1);r(r.S,"Object",{values:function(e){return i(e)}})},{"./_export":89,"./_object-to-array":136}],329:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_global"),o=e("./_core"),a=e("./_microtask")(),s=e("./_wks")("observable"),l=e("./_a-function"),c=e("./_an-object"),u=e("./_an-instance"),f=e("./_redefine-all"),d=e("./_hide"),p=e("./_for-of"),h=p.RETURN,m=function(e){return null==e?void 0:l(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))},_=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()}:l(n),this._c=n)}catch(t){return void e.error(t)}v(this)&&g(this)};_.prototype=f({},{unsubscribe:function(){y(this)}});var b=function(e){this._s=e};b.prototype=f({},{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 x=function(e){u(this,x,"Observable","_f")._f=l(e)};f(x.prototype,{subscribe:function(e){return new _(e,this._f)},forEach:function(e){var t=this;return new(o.Promise||i.Promise)(function(n,r){l(e);var i=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n})})}}),f(x,{from:function(e){var t="function"==typeof this?this:x,n=m(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:x)(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(x.prototype,s,function(){return this}),r(r.G,{Observable:x}),e("./_set-species")("Observable")},{"./_a-function":60,"./_an-instance":63,"./_an-object":64,"./_core":80,"./_export":89,"./_for-of":94,"./_global":95,"./_hide":97,"./_microtask":121,"./_redefine-all":143,"./_set-species":148,"./_wks":174}],330:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,i(n),o(r))}})},{"./_an-object":64,"./_metadata":120}],331:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var l=s.get(t);return l.delete(n),!!l.size||s.delete(t)}})},{"./_an-object":64,"./_metadata":120}],332:[function(e,t,n){var r=e("./es6.set"),i=e("./_array-from-iterable"),o=e("./_metadata"),a=e("./_an-object"),s=e("./_object-gpo"),l=o.keys,c=o.key,u=function(e,t){var n=l(e,t),o=s(e);if(null===o)return n;var a=u(o,t);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(e){return u(a(e),arguments.length<2?void 0:c(arguments[1]))}})},{"./_an-object":64,"./_array-from-iterable":67,"./_metadata":120,"./_object-gpo":131,"./es6.set":277}],333:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=e("./_object-gpo"),a=r.has,s=r.get,l=r.key,c=function(e,t,n){if(a(e,t,n))return s(e,t,n);var r=o(t);return null!==r?c(e,r,n):void 0};r.exp({getMetadata:function(e,t){return c(e,i(t),arguments.length<3?void 0:l(arguments[2]))}})},{"./_an-object":64,"./_metadata":120,"./_object-gpo":131}],334:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return o(i(e),arguments.length<2?void 0:a(arguments[1]))}})},{"./_an-object":64,"./_metadata":120}],335:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},{"./_an-object":64,"./_metadata":120}],336:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=e("./_object-gpo"),a=r.has,s=r.key,l=function(e,t,n){if(a(e,t,n))return!0;var r=o(t);return null!==r&&l(e,r,n)};r.exp({hasMetadata:function(e,t){return l(e,i(t),arguments.length<3?void 0:s(arguments[2]))}})},{"./_an-object":64,"./_metadata":120,"./_object-gpo":131}],337:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},{"./_an-object":64,"./_metadata":120}],338:[function(e,t,n){var r=e("./_metadata"),i=e("./_an-object"),o=e("./_a-function"),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?i:o)(n),a(r))}}})},{"./_a-function":60,"./_an-object":64,"./_metadata":120}],339:[function(e,t,n){var r=e("./_export");r(r.P+r.R,"Set",{toJSON:e("./_collection-to-json")("Set")})},{"./_collection-to-json":77,"./_export":89}],340:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-at")(!0);r(r.P,"String",{at:function(e){return i(this,e)}})},{"./_export":89,"./_string-at":154}],341:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_defined"),o=e("./_to-length"),a=e("./_is-regexp"),s=e("./_flags"),l=RegExp.prototype,c=function(e,t){this._r=e,this._s=t};e("./_iter-create")(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(i(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in l?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(e.lastIndex),new c(r,t)}})},{"./_defined":84,"./_export":89,"./_flags":93,"./_is-regexp":107,"./_iter-create":109,"./_to-length":165}],342:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-pad");r(r.P,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},{"./_export":89,"./_string-pad":157}],343:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_string-pad");r(r.P,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},{"./_export":89,"./_string-pad":157}],344:[function(e,t,n){"use strict";e("./_string-trim")("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},{"./_string-trim":159}],345:[function(e,t,n){"use strict";e("./_string-trim")("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},{"./_string-trim":159}],346:[function(e,t,n){e("./_wks-define")("asyncIterator")},{"./_wks-define":172}],347:[function(e,t,n){e("./_wks-define")("observable")},{"./_wks-define":172}],348:[function(e,t,n){var r=e("./_export");r(r.S,"System",{global:e("./_global")})},{"./_export":89,"./_global":95}],349:[function(e,t,n){for(var r=e("./es6.array.iterator"),i=e("./_redefine"),o=e("./_global"),a=e("./_hide"),s=e("./_iterators"),l=e("./_wks"),c=l("iterator"),u=l("toStringTag"),f=s.Array,d=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],p=0;p<5;p++){var h,m=d[p],g=o[m],v=g&&g.prototype;if(v){v[c]||a(v,c,f),v[u]||a(v,u,m),s[m]=f;for(h in r)v[h]||i(v,h,r[h],!0)}}},{"./_global":95,"./_hide":97,"./_iterators":113,"./_redefine":144,"./_wks":174,"./es6.array.iterator":187}],350:[function(e,t,n){var r=e("./_export"),i=e("./_task");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},{"./_export":89,"./_task":161}],351:[function(e,t,n){var r=e("./_global"),i=e("./_export"),o=e("./_invoke"),a=e("./_partial"),s=r.navigator,l=!!s&&/MSIE .\./.test(s.userAgent),c=function(e){return l?function(t,n){return e(o(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),n)}:e};i(i.G+i.B+i.F*l,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},{"./_export":89,"./_global":95,"./_invoke":101,"./_partial":140}],352:[function(e,t,n){e("./modules/es6.symbol"),e("./modules/es6.object.create"),e("./modules/es6.object.define-property"),e("./modules/es6.object.define-properties"),e("./modules/es6.object.get-own-property-descriptor"),e("./modules/es6.object.get-prototype-of"),e("./modules/es6.object.keys"),e("./modules/es6.object.get-own-property-names"),e("./modules/es6.object.freeze"),e("./modules/es6.object.seal"),e("./modules/es6.object.prevent-extensions"),e("./modules/es6.object.is-frozen"),e("./modules/es6.object.is-sealed"),e("./modules/es6.object.is-extensible"),e("./modules/es6.object.assign"),e("./modules/es6.object.is"),e("./modules/es6.object.set-prototype-of"),e("./modules/es6.object.to-string"),e("./modules/es6.function.bind"),e("./modules/es6.function.name"),e("./modules/es6.function.has-instance"),e("./modules/es6.parse-int"),e("./modules/es6.parse-float"),e("./modules/es6.number.constructor"),e("./modules/es6.number.to-fixed"),e("./modules/es6.number.to-precision"),e("./modules/es6.number.epsilon"),e("./modules/es6.number.is-finite"),e("./modules/es6.number.is-integer"),e("./modules/es6.number.is-nan"),e("./modules/es6.number.is-safe-integer"),e("./modules/es6.number.max-safe-integer"),e("./modules/es6.number.min-safe-integer"),e("./modules/es6.number.parse-float"),e("./modules/es6.number.parse-int"),e("./modules/es6.math.acosh"),e("./modules/es6.math.asinh"),e("./modules/es6.math.atanh"),e("./modules/es6.math.cbrt"),e("./modules/es6.math.clz32"),e("./modules/es6.math.cosh"),e("./modules/es6.math.expm1"),e("./modules/es6.math.fround"),e("./modules/es6.math.hypot"),e("./modules/es6.math.imul"),e("./modules/es6.math.log10"),e("./modules/es6.math.log1p"),e("./modules/es6.math.log2"),e("./modules/es6.math.sign"),e("./modules/es6.math.sinh"),e("./modules/es6.math.tanh"),e("./modules/es6.math.trunc"),e("./modules/es6.string.from-code-point"),e("./modules/es6.string.raw"),e("./modules/es6.string.trim"),e("./modules/es6.string.iterator"),e("./modules/es6.string.code-point-at"),e("./modules/es6.string.ends-with"),e("./modules/es6.string.includes"),e("./modules/es6.string.repeat"),e("./modules/es6.string.starts-with"),e("./modules/es6.string.anchor"),e("./modules/es6.string.big"),e("./modules/es6.string.blink"),e("./modules/es6.string.bold"),e("./modules/es6.string.fixed"),e("./modules/es6.string.fontcolor"),e("./modules/es6.string.fontsize"),e("./modules/es6.string.italics"),e("./modules/es6.string.link"),e("./modules/es6.string.small"),e("./modules/es6.string.strike"),e("./modules/es6.string.sub"),e("./modules/es6.string.sup"),e("./modules/es6.date.now"),e("./modules/es6.date.to-json"),e("./modules/es6.date.to-iso-string"),e("./modules/es6.date.to-string"),e("./modules/es6.date.to-primitive"),e("./modules/es6.array.is-array"),e("./modules/es6.array.from"),e("./modules/es6.array.of"),e("./modules/es6.array.join"),e("./modules/es6.array.slice"),e("./modules/es6.array.sort"),e("./modules/es6.array.for-each"),e("./modules/es6.array.map"),e("./modules/es6.array.filter"),e("./modules/es6.array.some"),e("./modules/es6.array.every"),e("./modules/es6.array.reduce"),e("./modules/es6.array.reduce-right"),e("./modules/es6.array.index-of"),e("./modules/es6.array.last-index-of"),e("./modules/es6.array.copy-within"),e("./modules/es6.array.fill"),e("./modules/es6.array.find"),e("./modules/es6.array.find-index"),e("./modules/es6.array.species"),e("./modules/es6.array.iterator"),e("./modules/es6.regexp.constructor"),e("./modules/es6.regexp.to-string"),e("./modules/es6.regexp.flags"),e("./modules/es6.regexp.match"),e("./modules/es6.regexp.replace"),e("./modules/es6.regexp.search"),e("./modules/es6.regexp.split"),e("./modules/es6.promise"),e("./modules/es6.map"),e("./modules/es6.set"),e("./modules/es6.weak-map"),e("./modules/es6.weak-set"),e("./modules/es6.typed.array-buffer"),e("./modules/es6.typed.data-view"),e("./modules/es6.typed.int8-array"),e("./modules/es6.typed.uint8-array"),e("./modules/es6.typed.uint8-clamped-array"),e("./modules/es6.typed.int16-array"),e("./modules/es6.typed.uint16-array"),e("./modules/es6.typed.int32-array"),e("./modules/es6.typed.uint32-array"),e("./modules/es6.typed.float32-array"),e("./modules/es6.typed.float64-array"),e("./modules/es6.reflect.apply"),e("./modules/es6.reflect.construct"),e("./modules/es6.reflect.define-property"),e("./modules/es6.reflect.delete-property"),e("./modules/es6.reflect.enumerate"),e("./modules/es6.reflect.get"),e("./modules/es6.reflect.get-own-property-descriptor"),e("./modules/es6.reflect.get-prototype-of"),e("./modules/es6.reflect.has"),e("./modules/es6.reflect.is-extensible"),e("./modules/es6.reflect.own-keys"),e("./modules/es6.reflect.prevent-extensions"),e("./modules/es6.reflect.set"),e("./modules/es6.reflect.set-prototype-of"),e("./modules/es7.array.includes"),e("./modules/es7.string.at"),e("./modules/es7.string.pad-start"),e("./modules/es7.string.pad-end"),e("./modules/es7.string.trim-left"),e("./modules/es7.string.trim-right"),e("./modules/es7.string.match-all"),e("./modules/es7.symbol.async-iterator"),e("./modules/es7.symbol.observable"),e("./modules/es7.object.get-own-property-descriptors"),e("./modules/es7.object.values"),e("./modules/es7.object.entries"),e("./modules/es7.object.define-getter"),e("./modules/es7.object.define-setter"),e("./modules/es7.object.lookup-getter"),e("./modules/es7.object.lookup-setter"),e("./modules/es7.map.to-json"),e("./modules/es7.set.to-json"),e("./modules/es7.system.global"),e("./modules/es7.error.is-error"),e("./modules/es7.math.iaddh"),e("./modules/es7.math.isubh"),e("./modules/es7.math.imulh"),e("./modules/es7.math.umulh"),e("./modules/es7.reflect.define-metadata"),e("./modules/es7.reflect.delete-metadata"),e("./modules/es7.reflect.get-metadata"),e("./modules/es7.reflect.get-metadata-keys"),e("./modules/es7.reflect.get-own-metadata"),e("./modules/es7.reflect.get-own-metadata-keys"),e("./modules/es7.reflect.has-metadata"),e("./modules/es7.reflect.has-own-metadata"),e("./modules/es7.reflect.metadata"),e("./modules/es7.asap"),e("./modules/es7.observable"),e("./modules/web.timers"),e("./modules/web.immediate"),e("./modules/web.dom.iterable"),t.exports=e("./modules/_core")},{"./modules/_core":80,"./modules/es6.array.copy-within":177,"./modules/es6.array.every":178,"./modules/es6.array.fill":179,"./modules/es6.array.filter":180,"./modules/es6.array.find":182,"./modules/es6.array.find-index":181,"./modules/es6.array.for-each":183,
|
||
"./modules/es6.array.from":184,"./modules/es6.array.index-of":185,"./modules/es6.array.is-array":186,"./modules/es6.array.iterator":187,"./modules/es6.array.join":188,"./modules/es6.array.last-index-of":189,"./modules/es6.array.map":190,"./modules/es6.array.of":191,"./modules/es6.array.reduce":193,"./modules/es6.array.reduce-right":192,"./modules/es6.array.slice":194,"./modules/es6.array.some":195,"./modules/es6.array.sort":196,"./modules/es6.array.species":197,"./modules/es6.date.now":198,"./modules/es6.date.to-iso-string":199,"./modules/es6.date.to-json":200,"./modules/es6.date.to-primitive":201,"./modules/es6.date.to-string":202,"./modules/es6.function.bind":203,"./modules/es6.function.has-instance":204,"./modules/es6.function.name":205,"./modules/es6.map":206,"./modules/es6.math.acosh":207,"./modules/es6.math.asinh":208,"./modules/es6.math.atanh":209,"./modules/es6.math.cbrt":210,"./modules/es6.math.clz32":211,"./modules/es6.math.cosh":212,"./modules/es6.math.expm1":213,"./modules/es6.math.fround":214,"./modules/es6.math.hypot":215,"./modules/es6.math.imul":216,"./modules/es6.math.log10":217,"./modules/es6.math.log1p":218,"./modules/es6.math.log2":219,"./modules/es6.math.sign":220,"./modules/es6.math.sinh":221,"./modules/es6.math.tanh":222,"./modules/es6.math.trunc":223,"./modules/es6.number.constructor":224,"./modules/es6.number.epsilon":225,"./modules/es6.number.is-finite":226,"./modules/es6.number.is-integer":227,"./modules/es6.number.is-nan":228,"./modules/es6.number.is-safe-integer":229,"./modules/es6.number.max-safe-integer":230,"./modules/es6.number.min-safe-integer":231,"./modules/es6.number.parse-float":232,"./modules/es6.number.parse-int":233,"./modules/es6.number.to-fixed":234,"./modules/es6.number.to-precision":235,"./modules/es6.object.assign":236,"./modules/es6.object.create":237,"./modules/es6.object.define-properties":238,"./modules/es6.object.define-property":239,"./modules/es6.object.freeze":240,"./modules/es6.object.get-own-property-descriptor":241,"./modules/es6.object.get-own-property-names":242,"./modules/es6.object.get-prototype-of":243,"./modules/es6.object.is":247,"./modules/es6.object.is-extensible":244,"./modules/es6.object.is-frozen":245,"./modules/es6.object.is-sealed":246,"./modules/es6.object.keys":248,"./modules/es6.object.prevent-extensions":249,"./modules/es6.object.seal":250,"./modules/es6.object.set-prototype-of":251,"./modules/es6.object.to-string":252,"./modules/es6.parse-float":253,"./modules/es6.parse-int":254,"./modules/es6.promise":255,"./modules/es6.reflect.apply":256,"./modules/es6.reflect.construct":257,"./modules/es6.reflect.define-property":258,"./modules/es6.reflect.delete-property":259,"./modules/es6.reflect.enumerate":260,"./modules/es6.reflect.get":263,"./modules/es6.reflect.get-own-property-descriptor":261,"./modules/es6.reflect.get-prototype-of":262,"./modules/es6.reflect.has":264,"./modules/es6.reflect.is-extensible":265,"./modules/es6.reflect.own-keys":266,"./modules/es6.reflect.prevent-extensions":267,"./modules/es6.reflect.set":269,"./modules/es6.reflect.set-prototype-of":268,"./modules/es6.regexp.constructor":270,"./modules/es6.regexp.flags":271,"./modules/es6.regexp.match":272,"./modules/es6.regexp.replace":273,"./modules/es6.regexp.search":274,"./modules/es6.regexp.split":275,"./modules/es6.regexp.to-string":276,"./modules/es6.set":277,"./modules/es6.string.anchor":278,"./modules/es6.string.big":279,"./modules/es6.string.blink":280,"./modules/es6.string.bold":281,"./modules/es6.string.code-point-at":282,"./modules/es6.string.ends-with":283,"./modules/es6.string.fixed":284,"./modules/es6.string.fontcolor":285,"./modules/es6.string.fontsize":286,"./modules/es6.string.from-code-point":287,"./modules/es6.string.includes":288,"./modules/es6.string.italics":289,"./modules/es6.string.iterator":290,"./modules/es6.string.link":291,"./modules/es6.string.raw":292,"./modules/es6.string.repeat":293,"./modules/es6.string.small":294,"./modules/es6.string.starts-with":295,"./modules/es6.string.strike":296,"./modules/es6.string.sub":297,"./modules/es6.string.sup":298,"./modules/es6.string.trim":299,"./modules/es6.symbol":300,"./modules/es6.typed.array-buffer":301,"./modules/es6.typed.data-view":302,"./modules/es6.typed.float32-array":303,"./modules/es6.typed.float64-array":304,"./modules/es6.typed.int16-array":305,"./modules/es6.typed.int32-array":306,"./modules/es6.typed.int8-array":307,"./modules/es6.typed.uint16-array":308,"./modules/es6.typed.uint32-array":309,"./modules/es6.typed.uint8-array":310,"./modules/es6.typed.uint8-clamped-array":311,"./modules/es6.weak-map":312,"./modules/es6.weak-set":313,"./modules/es7.array.includes":314,"./modules/es7.asap":315,"./modules/es7.error.is-error":316,"./modules/es7.map.to-json":317,"./modules/es7.math.iaddh":318,"./modules/es7.math.imulh":319,"./modules/es7.math.isubh":320,"./modules/es7.math.umulh":321,"./modules/es7.object.define-getter":322,"./modules/es7.object.define-setter":323,"./modules/es7.object.entries":324,"./modules/es7.object.get-own-property-descriptors":325,"./modules/es7.object.lookup-getter":326,"./modules/es7.object.lookup-setter":327,"./modules/es7.object.values":328,"./modules/es7.observable":329,"./modules/es7.reflect.define-metadata":330,"./modules/es7.reflect.delete-metadata":331,"./modules/es7.reflect.get-metadata":333,"./modules/es7.reflect.get-metadata-keys":332,"./modules/es7.reflect.get-own-metadata":335,"./modules/es7.reflect.get-own-metadata-keys":334,"./modules/es7.reflect.has-metadata":336,"./modules/es7.reflect.has-own-metadata":337,"./modules/es7.reflect.metadata":338,"./modules/es7.set.to-json":339,"./modules/es7.string.at":340,"./modules/es7.string.match-all":341,"./modules/es7.string.pad-end":342,"./modules/es7.string.pad-start":343,"./modules/es7.string.trim-left":344,"./modules/es7.string.trim-right":345,"./modules/es7.symbol.async-iterator":346,"./modules/es7.symbol.observable":347,"./modules/es7.system.global":348,"./modules/web.dom.iterable":349,"./modules/web.immediate":350,"./modules/web.timers":351}],353:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],354:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":353}],355:[function(e,t,n){(function(){var e,n,r,i,o,a,s,l,c=[].slice,u={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)u.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?c.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i<o;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(!(n=this._callbacks[e]))return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=i=0,o=n.length;i<o;r=++i)if(n[r]===t){n.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==this.options.previewsContainer&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(!0===this.options.clickable?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;i<o;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),r=n.getElementsByTagName("span")[0],r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,r;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),r=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.optWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>r?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*r):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/r),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,r,i,o,a,s,l,c,u,f,d,p,h;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),f=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=f.length;o<l;o++)n=f[o],n.textContent=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,c=d.length;a<c;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),r=function(n){return function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),p=e.previewElement.querySelectorAll("[data-dz-remove]"),h=[],s=0,u=p.length;s<u;s++)i=p[s],h.push(i.addEventListener("click",r));return h}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,r,i,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0,i=o.length;r<i;r++)n=o[r],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(),1)}},error:function(e,t){var n,r,i,o,a;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],r=0,i=o.length;r<i;r++)n=o[r],a.push(n.textContent=t);return a}},errormultiple:s,processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.textContent=this.options.dictCancelUpload},processingmultiple:s,uploadprogress:function(e,t,n){var r,i,o,a,s;if(e.previewElement){for(a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=a.length;i<o;i++)r=a[i],"PROGRESS"===r.nodeName?s.push(r.value=t):s.push(r.style.width=t+"%");return s}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:s,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:s,complete:function(e){if(e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,addedfiles:s,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>'},r=function(){var e,t,n,r,i,o,a;for(r=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,a=n.length;o<a;o++){t=n[o];for(e in t)i=t[e],r[e]=i}return r},t.prototype.getAcceptedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],e.accepted&&i.push(e);return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],e.accepted||i.push(e);return i},t.prototype.getFilesWithStatus=function(e){var t,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)t=i[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)e=i[n],e.status!==t.UPLOADING&&e.status!==t.QUEUED||o.push(e);return o},t.prototype.init=function(){var e,n,r,i,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(r=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,i,o;if(n=e.hiddenFileInput.files,n.length)for(i=0,o=n.length;i<o;i++)t=n[i],e.addFile(t);return e.emit("addedfiles",n),r()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,i=0,o=s.length;i<o;i++)e=s[i],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout(function(){return e.emit("queuecomplete")},0)}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var r;try{r=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,r,i,o,a,s;if(r=0,n=0,e=this.getActiveFiles(),e.length){for(s=this.getActiveFiles(),o=0,a=s.length;o<a;o++)t=s[o],r+=t.upload.bytesSent,n+=t.upload.total;i=100*r/n}else i=100;return this.emit("totaluploadprogress",i,n,r)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='<div class="dz-fallback">',this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),i.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:n)},t.prototype.getExistingFallback=function(){var e,t,n,r,i,o;for(t=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],r=0,i=o.length;r<i;r++)if(n=o[r],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;r<i;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.addEventListener(t,n,!1));return i}());return a},t.prototype.removeEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;r<i;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.removeEventListener(t,n,!1));return i}());return a},t.prototype.disable=function(){var e,t,n,r,i;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),r=this.files,i=[],t=0,n=r.length;t<n;t++)e=r[t],i.push(this.cancelUpload(e));return i},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,r,i,o,a,s,l;if(r=0,i="b",e>0){for(a=["TB","GB","MB","KB","b"],n=s=0,l=a.length;s<l;n=++s)if(o=a[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){r=e/Math.pow(this.options.filesizeBase,4-n),i=o;break}r=Math.round(10*r)/10}return"<strong>"+r+"</strong> "+i},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.addFile(t));return i},t.prototype._addFilesFromItems=function(e){var t,n,r,i,o;for(o=[],r=0,i=e.length;r<i;r++)n=e[r],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,r,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;o<a;o++)r=n[o],r.isFile?r.file(function(n){if(!e.options.ignoreHiddenFiles||"."!==n.name.substring(0,1))return n.fullPath=t+"/"+n.name,e.addFile(n)}):r.isDirectory&&e._addFilesFromDirectory(r,t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=t.QUEUED,this.options.autoProcessQueue)return setTimeout(function(e){return function(){return e.processQueue()}}(this),0)},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)},t.prototype._processThumbnailQueue=function(){if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this))},t.prototype.removeFile=function(e){if(e.status===t.UPLOADING&&this.cancelUpload(e),this.files=l(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;r<i;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,l,c,u,f,d;if(e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(c=s.srcX)?c:0,null!=(u=s.srcY)?u:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),l=r.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n)return n()}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e<t;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;r<i;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},
|
||
t.prototype._getFilesWithXhr=function(e){var t;return function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;n<r;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,l;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;i<a;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;o<s;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(l=e.status)!==t.ADDED&&l!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,l,c,u,f,d,p,h,m,g,v,y,_,b,x,w,k,$,C,S,E,T,A,M,D,L,O,j,F,P,N;for(w=new XMLHttpRequest,k=0,E=e.length;k<E;k++)n=e[k],n.xhr=w;m=i(this.options.method,e),b=i(this.options.url,e),w.open(m,b,!0),w.withCredentials=!!this.options.withCredentials,y=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;r<i;r++)n=e[r],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",w.status),w));return o}}(this),_=function(t){return function(r){var i,o,a,s,l,c,u,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,c=e.length;a<c;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,u=e.length;s<u;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],l=0,f=e.length;l<f;l++)n=e[l],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),w.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===w.readyState){if(y=w.responseText,w.getResponseHeader("content-type")&&~w.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(e){r=e,y="Invalid JSON response from server."}return _(),200<=(i=w.status)&&i<300?n._finished(e,y,r):a()}}}(this),w.onerror=function(n){return function(){if(e[0].status!==t.CANCELED)return a()}}(),v=null!=(L=w.upload)?L:w,v.onprogress=_,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(c,this.options.headers);for(s in c)(l=c[s])&&w.setRequestHeader(s,l);if(o=new FormData,this.options.params){O=this.options.params;for(h in O)x=O[h],o.append(h,x)}for($=0,T=e.length;$<T;$++)n=e[$],this.emit("sending",n,w,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,w,o),"FORM"===this.element.tagName)for(j=this.element.querySelectorAll("input, textarea, select, button"),C=0,A=j.length;C<A;C++)if(f=j[C],d=f.getAttribute("name"),p=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(F=f.options,S=0,M=F.length;S<M;S++)g=F[S],g.selected&&o.append(d,g.value);else(!p||"checkbox"!==(P=p.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(u=D=0,N=e.length-1;0<=N?D<=N:D>=N;u=0<=N?++D:--D)o.append(this._getParamName(u),e[u],this._renameFilename(e[u].name));return this.submitRequest(w,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;o<a;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);if(this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;o<a;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);if(this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;n<i;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;i<o;i++)n=r[i],!1!==e.optionsForElement(n)?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;r<i;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;r<i;r++)(n=e[r])!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,l;if(e instanceof Array){r=[];try{for(i=0,a=e.length;i<a;i++)n=e[i],r.push(this.getElement(n,t))}catch(e){e,r=null}}else if("string"==typeof e)for(r=[],l=document.querySelectorAll(e),o=0,s=l.length;o<s;o++)n=l[o],r.push(n);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;o<a;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),void 0!==t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,l,c;for(e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,s=a;s>c;)t=i[4*(s-1)+3],0===t?o=s:c=s,s=o+c>>1;return l=s/a,0===l?1:l},a=function(e,t,n,r,i,a,s,l,c,u){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,l,c,u/f)},i=function(e,t){var n,r,i,o,a,s,l,c,u;if(i=!1,u=!0,r=e.document,c=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",l=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[l](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0},a=function(){try{c.doScroll("left")}catch(e){return e,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(e){}u&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],356:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",
|
||
Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},{}],357:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],358:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return l(document.body,e,t,n)}var s=e("./is"),l=e("delegate");t.exports=r},{"./is":357,delegate:354}],359:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,f=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?d/l:d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}},{}],360:[function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object String]"===i(e)}function a(e){return"[object Object]"===i(e)}function s(e){return"[object RegExp]"===i(e)}function l(e){return"[object Function]"===i(e)}function c(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function u(e){return Object.keys(e||{}).reduce(function(e,t){return e||y.hasOwnProperty(t)},!1)}function f(e){e.__index__=-1,e.__text_cache__=""}function d(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function p(){return function(e,t){t.normalize(e)}}function h(t){function n(e){return e.replace("%TLDS%",i.src_tlds)}function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}var i=t.re=e("./lib/re")(t.__opts__),u=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||u.push(b),u.push(i.src_xn),i.src_tlds=u.join("|"),i.email_fuzzy=RegExp(n(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(n(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(n(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(n(i.tpl_host_fuzzy_test),"i");var h=[];t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};return t.__compiled__[e]=i,a(n)?(s(n.validate)?i.validate=d(n.validate):l(n.validate)?i.validate=n.validate:r(e,n),void(l(n.normalize)?i.normalize=n.normalize:n.normalize?r(e,n):i.normalize=p())):o(n)?void h.push(e):void r(e,n)}}),h.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:p()};var m=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(c).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),f(t)}function m(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function g(e,t){var n=new m(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function v(e,t){if(!(this instanceof v))return new v(e,t);t||u(e)&&(t=e,e={}),this.__opts__=r({},y,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},_,e),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},h(this)}var y={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},_={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},b="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");v.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},v.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},v.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,l;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},v.prototype.pretest=function(e){return this.re.pretest.test(e)},v.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},v.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(g(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(g(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},v.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},v.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},v.prototype.onCompile=function(){},t.exports=v},{"./lib/re":361}],361:[function(e,t,n){"use strict";t.exports=function(t){var n={};n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><|]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><|]|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|[><|]|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":428,"uc.micro/categories/P/regex":430,"uc.micro/categories/Z/regex":431,"uc.micro/properties/Any/regex":433}],362:[function(e,t,n){function r(e,t,n){var r=e.attrIndex(t),i=[t,n];r<0?e.attrPush(i):e.attrs[r]=i}function i(e,t){for(var n=e[t].level-1,r=t-1;r>=0;r--)if(e[r].level===n)return r;return-1}function o(e,t){return u(e[t])&&f(e[t-1])&&d(e[t-2])&&p(e[t])}function a(e,t){e.children.unshift(s(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),m&&(e.children.unshift(l(t)),e.children.push(c(t)))}function s(e,t){var n=new t("html_inline","",0),r=h?' disabled="" ':"";return 0===e.content.indexOf("[ ] ")?n.content='<input class="task-list-item-checkbox"'+r+'type="checkbox">':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(n.content='<input class="task-list-item-checkbox" checked=""'+r+'type="checkbox">'),n}function l(e){var t=new e("html_inline","",0);return t.content="<label>",t}function c(e){var t=new e("html_inline","",0);return t.content="</label>",t}function u(e){return"inline"===e.type}function f(e){return"paragraph_open"===e.type}function d(e){return"list_item_open"===e.type}function p(e){return 0===e.content.indexOf("[ ] ")||0===e.content.indexOf("[x] ")||0===e.content.indexOf("[X] ")}var h=!0,m=!1;t.exports=function(e,t){t&&(h=!t.enabled,m=!!t.label),e.core.ruler.after("inline","github-task-lists",function(e){for(var t=e.tokens,n=2;n<t.length;n++)o(t,n)&&(a(t[n],e.Token),r(t[n-2],"class","task-list-item"+(h?"":" enabled")),r(t[i(t,n-2)],"class","contains-task-list"))})}},{}],363:[function(e,t,n){"use strict";t.exports=e("./lib/")},{"./lib/":372}],364:[function(e,t,n){"use strict";t.exports=e("entities/maps/entities.json")},{"entities/maps/entities.json":356}],365:[function(e,t,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},{}],366:[function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],367:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}function o(e,t){return x.call(e,t)}function a(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function s(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function l(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e,t){var n=0;return o(C,t)?C[t]:35===t.charCodeAt(0)&&$.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),l(n))?c(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(w,"$1")}function d(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(k,function(e,t,n){return t||u(e,n)})}function p(e){return T[e]}function h(e){return S.test(e)?e.replace(E,p):e}function m(e){return e.replace(A,"\\$&")}function g(e){switch(e){case 9:case 32:return!0}return!1}function v(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function y(e){return M.test(e)}function _(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function b(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var x=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,k=new RegExp(w.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),$=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,C=e("./entities"),S=/[&<>"]/,E=/[&<>"]/g,T={"&":"&","<":"<",">":">",'"':"""},A=/[.?*+^$[\]\\(){}|-]/g,M=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=a,n.isString=i,n.has=o,n.unescapeMd=f,n.unescapeAll=d,n.isValidEntityCode=l,n.fromCodePoint=c,n.escapeHtml=h,n.arrayReplaceAt=s,n.isSpace=g,n.isWhiteSpace=v,n.isMdAsciiPunct=_,n.isPunctChar=y,n.escapeRE=m,n.normalizeReference=b},{"./entities":364,mdurl:418,"uc.micro":432,"uc.micro/categories/P/regex":430}],368:[function(e,t,n){"use strict";n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":369,"./parse_link_label":370,"./parse_link_title":371}],369:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace,i=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return l;if(62===o)return l.pos=t+1,l.str=i(e.slice(s+1,t)),l.ok=!0,l;92===o&&t+1<n?t+=2:t++}return l}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&++a>1)break;if(41===o&&--a<0)break;t++}return s===t?l:(l.str=i(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},{"../common/utils":367}],370:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}},{}],371:[function(e,t,n){"use strict";var r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var i,o,a=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=a,l.str=r(e.slice(s+1,t)),l.ok=!0,l;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return l}},{"../common/utils":367}],372:[function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!v.test(t)||!!y.test(t)}function i(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||_.indexOf(t.protocol)>=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||_.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||s.isString(e)||(t=e||{},e="default"),this.inline=new d,this.block=new f,this.core=new u,this.renderer=new c,this.linkify=new p,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=s,this.helpers=s.assign({},l),this.options={},this.configure(e),t&&this.set(t)}var s=e("./common/utils"),l=e("./helpers"),c=e("./renderer"),u=e("./parser_core"),f=e("./parser_block"),d=e("./parser_inline"),p=e("linkify-it"),h=e("mdurl"),m=e("punycode"),g={default:e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")},v=/^(vbscript|javascript|file|data):/,y=/^data:image\/(gif|png|jpeg|webp);/,_=["http:","https:","mailto:"];a.prototype.set=function(e){return s.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(s.isString(e)&&(t=e,!(e=g[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=a},{"./common/utils":367,"./helpers":368,"./parser_block":373,"./parser_core":374,"./parser_inline":375,"./presets/commonmark":376,"./presets/default":377,"./presets/zero":378,"./renderer":379,"linkify-it":360,mdurl:418,punycode:423}],373:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}var i=e("./ruler"),o=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];r.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},r.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},r.prototype.State=e("./rules_block/state_block"),t.exports=r},{"./ruler":380,"./rules_block/blockquote":381,"./rules_block/code":382,"./rules_block/fence":383,"./rules_block/heading":384,"./rules_block/hr":385,"./rules_block/html_block":386,"./rules_block/lheading":387,"./rules_block/list":388,"./rules_block/paragraph":389,"./rules_block/reference":390,"./rules_block/state_block":391,"./rules_block/table":392}],374:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}var i=e("./ruler"),o=[["normalize",e("./rules_core/normalize")],["block",e("./rules_core/block")],["inline",e("./rules_core/inline")],["linkify",e("./rules_core/linkify")],["replacements",e("./rules_core/replacements")],["smartquotes",e("./rules_core/smartquotes")]];r.prototype.process=function(e){var t,n,r;for(r=this.ruler.getRules(""),t=0,n=r.length;t<n;t++)r[t](e)},r.prototype.State=e("./rules_core/state_core"),t.exports=r},{"./ruler":380,"./rules_core/block":393,"./rules_core/inline":394,"./rules_core/linkify":395,"./rules_core/normalize":396,"./rules_core/replacements":397,"./rules_core/smartquotes":398,"./rules_core/state_core":399}],375:[function(e,t,n){"use strict";function r(){var e;for(this.ruler=new i,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new i,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}var i=e("./ruler"),o=[["text",e("./rules_inline/text")],["newline",e("./rules_inline/newline")],["escape",e("./rules_inline/escape")],["backticks",e("./rules_inline/backticks")],["strikethrough",e("./rules_inline/strikethrough").tokenize],["emphasis",e("./rules_inline/emphasis").tokenize],["link",e("./rules_inline/link")],["image",e("./rules_inline/image")],["autolink",e("./rules_inline/autolink")],["html_inline",e("./rules_inline/html_inline")],["entity",e("./rules_inline/entity")]],a=[["balance_pairs",e("./rules_inline/balance_pairs")],["strikethrough",e("./rules_inline/strikethrough").postProcess],["emphasis",e("./rules_inline/emphasis").postProcess],["text_collapse",e("./rules_inline/text_collapse")]];r.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0!==s[r])return void(e.pos=s[r]);if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos},r.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;i<a;i++)o[i](s)},r.prototype.State=e("./rules_inline/state_inline"),t.exports=r},{"./ruler":380,"./rules_inline/autolink":400,"./rules_inline/backticks":401,"./rules_inline/balance_pairs":402,"./rules_inline/emphasis":403,"./rules_inline/entity":404,"./rules_inline/escape":405,"./rules_inline/html_inline":406,"./rules_inline/image":407,"./rules_inline/link":408,"./rules_inline/newline":409,"./rules_inline/state_inline":410,"./rules_inline/strikethrough":411,"./rules_inline/text":412,"./rules_inline/text_collapse":413}],376:[function(e,t,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},{}],377:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},{}],378:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},{}],379:[function(e,t,n){"use strict";function r(){this.rules=i({},s)}var i=e("./common/utils").assign,o=e("./common/utils").unescapeAll,a=e("./common/utils").escapeHtml,s={};s.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},s.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},s.fence=function(e,t,n,r,i){var s,l,c,u,f=e[t],d=f.info?o(f.info).trim():"",p="";return d&&(p=d.split(/\s+/g)[0]),s=n.highlight?n.highlight(f.content,p)||a(f.content):a(f.content),0===s.indexOf("<pre")?s+"\n":d?(l=f.attrIndex("class"),c=f.attrs?f.attrs.slice():[],l<0?c.push(["class",n.langPrefix+p]):c[l][1]+=" "+n.langPrefix+p,u={attrs:c},"<pre><code"+i.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(f)+">"+s+"</code></pre>\n"},s.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},s.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},s.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},s.text=function(e,t){return a(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},r.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(r=e[t+1],"inline"===r.type||r.hidden?o=!1:-1===r.nesting&&r.tag===a.tag&&(o=!1))),i+=o?">\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a<s;a++)r=e[a].type,void 0!==o[r]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},r.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},r.prototype.render=function(e,t,n){var r,i,o,a="",s=this.rules;for(r=0,i=e.length;r<i;r++)o=e[r].type,"inline"===o?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},t.exports=r},{"./common/utils":367}],380:[function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},
|
||
r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},t.exports=r},{}],381:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,l,c,u,f,d,p,h,m,g,v,y,_,b,x,w,k,$,C=e.lineMax,S=e.bMarks[t]+e.tShift[t],E=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(i)return!0;for(l=h=e.sCount[t]+S-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(S)?(S++,l++,h++,o=!1,x=!0):9===e.src.charCodeAt(S)?(x=!0,(e.bsCount[t]+h)%4==3?(S++,l++,h++,o=!1):o=!0):x=!1,m=[e.bMarks[t]],e.bMarks[t]=S;S<E&&(a=e.src.charCodeAt(S),r(a));)9===a?h+=4-(h+e.bsCount[t]+(o?1:0))%4:h++,S++;for(g=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(x?1:0),f=S>=E,_=[e.sCount[t]],e.sCount[t]=h-l,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",p=t+1;p<n&&(c=e.sCount[p]<e.blkIndent,S=e.bMarks[p]+e.tShift[p],E=e.eMarks[p],!(S>=E));p++)if(62!==e.src.charCodeAt(S++)||c){if(f)break;for(w=!1,s=0,u=k.length;s<u;s++)if(k[s](e,p,n,!0)){w=!0;break}if(w){e.lineMax=p,0!==e.blkIndent&&(m.push(e.bMarks[p]),g.push(e.bsCount[p]),b.push(e.tShift[p]),_.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}if(c)break;m.push(e.bMarks[p]),g.push(e.bsCount[p]),b.push(e.tShift[p]),_.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=h=e.sCount[p]+S-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(S)?(S++,l++,h++,o=!1,x=!0):9===e.src.charCodeAt(S)?(x=!0,(e.bsCount[p]+h)%4==3?(S++,l++,h++,o=!1):o=!0):x=!1,m.push(e.bMarks[p]),e.bMarks[p]=S;S<E&&(a=e.src.charCodeAt(S),r(a));)9===a?h+=4-(h+e.bsCount[p]+(o?1:0))%4:h++,S++;f=S>=E,g.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(x?1:0),_.push(e.sCount[p]),e.sCount[p]=h-l,b.push(e.tShift[p]),e.tShift[p]=S-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,$=e.push("blockquote_open","blockquote",1),$.markup=">",$.map=d=[t,0],e.md.block.tokenize(e,t,p),$=e.push("blockquote_close","blockquote",-1),$.markup=">",e.lineMax=C,e.parentType=y,d[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=m[s],e.tShift[s+t]=b[s],e.sCount[s+t]=_[s],e.bsCount[s+t]=g[s];return e.blkIndent=v,!0}},{"../common/utils":367}],382:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],383:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i,o,a,s,l,c,u,f=!1,d=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>p)return!1;if(126!==(i=e.src.charCodeAt(d))&&96!==i)return!1;if(l=d,d=e.skipChars(d,i),(o=d-l)<3)return!1;if(u=e.src.slice(l,d),a=e.src.slice(d,p),a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&(d=l=e.bMarks[s]+e.tShift[s],p=e.eMarks[s],!(d<p&&e.sCount[s]<e.blkIndent));)if(e.src.charCodeAt(d)===i&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,i))-l<o||(d=e.skipSpaces(d))<p)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),c=e.push("fence","code",0),c.info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},{}],384:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<u&&!r(o))&&(!!i||(u=e.skipSpacesBack(u,c),s=e.skipCharsBack(u,35,c),s>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,l=e.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a),!0))}},{"../common/utils":367}],385:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(!!i||(e.line=t+1,l=e.push("hr","hr",0),l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},{"../common/utils":367}],386:[function(e,t,n){"use strict";var r=e("../common/html_blocks"),i=e("../common/html_re").HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i<o.length&&!o[i][0].test(l);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),o[i][1].test(l)){0!==l.length&&a++;break}return e.line=a,s=e.push("html_block","",0),s.map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},{"../common/html_blocks":365,"../common/html_re":366}],387:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s,l,c,u,f,d,p=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";p<n&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l<c&&(45===(f=e.src.charCodeAt(l))||61===f)&&(l=e.skipChars(l,f),(l=e.skipSpaces(l))>=c))){u=61===f?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,p,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,p,e.blkIndent,!1).trim(),e.line=p+1,s=e.push("heading_open","h"+String(u),1),s.markup=String.fromCharCode(f),s.map=[t,e.line],s=e.push("inline","",0),s.content=r,s.map=[t,e.line-1],s.children=[],s=e.push("heading_close","h"+String(u),-1),s.markup=String.fromCharCode(f),e.parentType=d,!0)}},{}],388:[function(e,t,n){"use strict";function r(e,t){var n,r,i,o;return r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],n=e.src.charCodeAt(r++),42!==n&&45!==n&&43!==n?-1:r<i&&(o=e.src.charCodeAt(r),!a(o))?-1:r}function i(e,t){var n,r=e.bMarks[t]+e.tShift[t],i=r,o=e.eMarks[t];if(i+1>=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i<o&&(n=e.src.charCodeAt(i),!a(n))?-1:i}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var a=e("../common/utils").isSpace;t.exports=function(e,t,n,s){var l,c,u,f,d,p,h,m,g,v,y,_,b,x,w,k,$,C,S,E,T,A,M,D,L,O,j,F,P=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(M=i(e,t))>=0){if(h=!0,L=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(L,M-L-1)),P&&1!==b)return!1}else{if(!((M=r(e,t))>=0))return!1;h=!1}if(P&&e.skipSpaces(M)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(M-1),s)return!0;for(y=e.tokens.length,h?(F=e.push("ordered_list_open","ol",1),1!==b&&(F.attrs=[["start",b]])):F=e.push("bullet_list_open","ul",1),F.map=v=[t,0],F.markup=String.fromCharCode(_),w=t,D=!1,j=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w<n;){for(A=M,x=e.eMarks[w],p=k=e.sCount[w]+M-(e.bMarks[t]+e.tShift[t]);A<x&&(l=e.src.charCodeAt(A),a(l));)9===l?k+=4-(k+e.bsCount[w])%4:k++,A++;if(c=A,d=c>=x?1:k-p,d>4&&(d=1),f=p+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=m=[t,0],$=e.blkIndent,T=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(N=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=$,e.tShift[t]=E,e.sCount[t]=C,e.tight=T,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]<e.blkIndent)break;for(O=!1,u=0,g=j.length;u<g;u++)if(j[u](e,w,n,!0)){O=!0;break}if(O)break;if(h){if((M=i(e,w))<0)break}else if((M=r(e,w))<0)break;if(_!==e.src.charCodeAt(M-1))break}return F=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),F.markup=String.fromCharCode(_),v[1]=w,e.line=w,e.parentType=S,N&&o(e,y),!0}},{"../common/utils":367}],389:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,a=e.push("paragraph_open","p",1),a.map=[t,e.line],a=e.push("inline","",0),a.content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},{}],390:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t,n,o){var a,s,l,c,u,f,d,p,h,m,g,v,y,_,b,x,w=0,k=e.bMarks[t]+e.tShift[t],$=e.eMarks[t],C=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<$;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===$)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,b=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C<c&&!e.isEmpty(C);C++)if(!(e.sCount[C]-e.blkIndent>3||e.sCount[C]<0)){for(_=!1,f=0,d=b.length;f<d;f++)if(b[f](e,C,c,!0)){_=!0;break}if(_)break}for(y=e.getLines(t,C,e.blkIndent,!1).trim(),$=y.length,k=1;k<$;k++){if(91===(a=y.charCodeAt(k)))return!1;if(93===a){h=k;break}10===a?w++:92===a&&++k<$&&10===y.charCodeAt(k)&&w++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(k=h+2;k<$;k++)if(10===(a=y.charCodeAt(k)))w++;else if(!i(a))break;if(g=e.md.helpers.parseLinkDestination(y,k,$),!g.ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(k=g.pos,w+=g.lines,s=k,l=w,v=k;k<$;k++)if(10===(a=y.charCodeAt(k)))w++;else if(!i(a))break;for(g=e.md.helpers.parseLinkTitle(y,k,$),k<$&&v!==k&&g.ok?(x=g.str,k=g.pos,w+=g.lines):(x="",k=s,w=l);k<$&&(a=y.charCodeAt(k),i(a));)k++;if(k<$&&10!==y.charCodeAt(k)&&x)for(x="",k=s,w=l;k<$&&(a=y.charCodeAt(k),i(a));)k++;return!(k<$&&10!==y.charCodeAt(k))&&(!!(p=r(y.slice(1,h)))&&(!!o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[p]&&(e.env.references[p]={title:x,href:u}),e.parentType=m,e.line=t+w+1,!0)))}},{"../common/utils":367}],391:[function(e,t,n){"use strict";function r(e,t,n,r){var i,a,s,l,c,u,f,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,d=!1,s=l=u=f=0,c=a.length;l<c;l++){if(i=a.charCodeAt(l),!d){if(o(i)){u++,9===i?f+=4-f%4:f++;continue}d=!0}10!==i&&l!==c-1||(10!==i&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(f),this.bsCount.push(0),d=!1,u=0,f=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}var i=e("../token"),o=e("../common/utils").isSpace;r.prototype.push=function(e,t,n){var r=new i(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},r.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},r.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},r.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,f,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(a=0,f=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&a<n;){if(s=this.src.charCodeAt(l),o(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(l-f<this.tShift[d]))break;a++}l++}u[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":367,"../token":414}],392:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,l=r):o%2==0&&(s=!0,l=r):124!==t||o%2!=0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,r++,r===i&&s&&(s=!1,r=l+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}var o=e("../common/utils").isSpace;t.exports=function(e,t,n,a){var s,l,c,u,f,d,p,h,m,g,v,y;if(t+2>n)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!o(s))return!1;c++}for(l=r(e,t+1),d=l.split("|"),m=[],u=0;u<d.length;u++){if(!(g=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(l=r(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(p=d.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u<d.length;u++)h=e.push("th_open","th",1),h.map=[t,t+1],m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),h=e.push("inline","",0),h.content=d[u].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),h=e.push("tbody_open","tbody",1),h.map=y=[t+2,0],f=t+2;f<n&&!(e.sCount[f]<e.blkIndent)&&(l=r(e,f).trim(),-1!==l.indexOf("|"))&&!(e.sCount[f]-e.blkIndent>=4);f++){for(d=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u<p;u++)h=e.push("td_open","td",1),m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),h=e.push("inline","",0),h.content=d[u]?d[u].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),v[1]=y[1]=f,e.line=f,!0}},{"../common/utils":367}],393:[function(e,t,n){"use strict";t.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},{}],394:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)t=i[n],"inline"===t.type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},{}],395:[function(e,t,n){"use strict";function r(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,f,d,p,h,m,g,v,y,_,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n<a;n++)if("inline"===x[n].type&&e.md.linkify.pretest(x[n].content))for(s=x[n].children,g=0,t=s.length-1;t>=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,b=e.md.linkify.match(d),u=[],m=c.level,h=0,f=0;f<b.length;f++)v=b[f].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(_=b[f].text,_=b[f].schema?"mailto:"!==b[f].schema||/^mailto:/i.test(_)?e.md.normalizeLinkText(_):e.md.normalizeLinkText("mailto:"+_).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+_).replace(/^http:\/\//,""),p=b[f].index,p>h&&(l=new e.Token("text","",0),l.content=d.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=_,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[f].lastIndex);h<d.length&&(l=new e.Token("text","",0),l.content=d.slice(h),l.level=m,u.push(l)),x[n].children=s=o(s,t,u)}}else for(t--;s[t].level!==c.level&&"link_open"!==s[t].type;)t--}},{"../common/utils":367}],396:[function(e,t,n){"use strict";t.exports=function(e){var t;t=e.src.replace(/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,"\n"),t=t.replace(/\u0000/g,"<22>"),e.src=t}},{}],397:[function(e,t,n){"use strict";function r(e,t){return c[t.toLowerCase()]}function i(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],398:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,d,p,h,m,g,v,y,_,b,x,w,k,$,C,S,E,T;for(S=[],n=0;n<e.length;n++){for(i=e[n],h=e[n].level,$=S.length-1;$>=0&&!(S[$].level<=h);$--);if(S.length=$+1,"text"===i.type){l=i.content,d=0,p=l.length;e:for(;d<p&&(c.lastIndex=d,f=c.exec(l));){if(w=k=!0,d=f.index+1,C="'"===f[0],g=32,f.index-1>=0)g=l.charCodeAt(f.index-1);else for($=n-1;$>=0;$--)if("text"===e[$].type){g=e[$].content.charCodeAt(e[$].content.length-1);break}if(v=32,d<p)v=l.charCodeAt(d);else for($=n+1;$<e.length;$++)if("text"===e[$].type){v=e[$].content.charCodeAt(0);break}if(y=s(g)||a(String.fromCharCode(g)),_=s(v)||a(String.fromCharCode(v)),b=o(g),x=o(v),x?w=!1:_&&(b||y||(w=!1)),b?k=!1:y&&(x||_||(k=!1)),34===v&&'"'===f[0]&&g>=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=_),w||k){if(k)for($=S.length-1;$>=0&&(m=S[$],!(S[$].level<h));$--)if(m.single===C&&S[$].level===h){m=S[$],C?(E=t.md.options.quotes[2],T=t.md.options.quotes[3]):(E=t.md.options.quotes[0],T=t.md.options.quotes[1]),i.content=r(i.content,f.index,T),e[m.token].content=r(e[m.token].content,m.pos,E),d+=T.length-1,m.token===n&&(d+=E.length-1),l=i.content,p=l.length,S.length=$;continue e}w?S.push({token:n,pos:f.index,single:C,level:h}):k&&C&&(i.content=r(i.content,f.index,u))}else C&&(i.content=r(i.content,f.index,u))}}}}var o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct,l=/['"]/,c=/['"]/g,u="’";t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":367}],399:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":414}],400:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],401:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(i=e.src.slice(n,l),o=a=l;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||(s=e.push("code_inline","code",0),s.markup=i,s.content=e.src.slice(l,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},{}],402:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if(r=o[t],r.close)for(n=t-r.jump-1;n>=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],403:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)i=e.push("text","",0),i.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a,s=e.delimiters,l=e.delimiters.length;for(t=0;t<l;t++)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t+1<l&&s[t+1].end===n.end-1&&s[t+1].token===n.token+1&&s[n.end-1].token===r.token-1&&s[t+1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t+1].token].content="",e.tokens[s[n.end-1].token].content="",t++))}},{}],404:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint;t.exports=function(e,t){var n,s,l=e.pos,c=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<c)if(35===e.src.charCodeAt(l+1)){if(s=e.src.slice(l).match(/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i))return t||(n="x"===s[1][0].toLowerCase()?parseInt(s[1].slice(1),16):parseInt(s[1],10),e.pending+=a(o(n)?n:65533)),e.pos+=s[0].length,!0}else if((s=e.src.slice(l).match(/^&([a-z][a-z0-9]{1,31});/i))&&i(r,s[1]))return t||(e.pending+=r[s[1]]),e.pos+=s[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},{"../common/entities":364,"../common/utils":367}],405:[function(e,t,n){"use strict";for(var r=e("../common/utils").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},{"../common/utils":367}],406:[function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":366}],407:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h,m,g,v="",y=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<_&&40===e.src.charCodeAt(u)){for(u++;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=_)return!1;for(g=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?u=d.pos:v=""),g=u;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<_&&g!==u&&d.ok)for(p=d.str,u=d.pos;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else p="";if(u>=_||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<_&&91===e.src.charCodeAt(u)?(g=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,p=f.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=_,!0}},{"../common/utils":367}],408:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h="",m=e.pos,g=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<g&&40===e.src.charCodeAt(c)){for(y=!1,c++;c<g&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c<g&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<g&&v!==c&&u.ok)for(d=u.str,c=u.pos;c<g&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else d="";(c>=g||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===e.env.references)return!1;if(c<g&&91===e.src.charCodeAt(c)?(v=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;h=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":367}],409:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},{"../common/utils":367}],410:[function(e,t,n){"use strict";function r(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}var i=e("../token"),o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct;r.prototype.pushPending=function(){var e=new i("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},r.prototype.push=function(e,t,n){this.pending&&this.pushPending();var r=new i(e,t,n);return n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,f,d,p,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<v&&this.src.charCodeAt(h)===y;)h++;return i=h-e,r=h<v?this.src.charCodeAt(h):32,f=s(n)||a(String.fromCharCode(n)),p=s(r)||a(String.fromCharCode(r)),u=o(n),d=o(r),d?m=!1:p&&(u||f||(m=!1)),u?g=!1:f&&(d||p||(g=!1)),t?(l=m,c=g):(l=m&&(!g||f),c=g&&(!m||p)),{can_open:l,can_close:c,length:i}},r.prototype.Token=i,t.exports=r},{"../common/utils":367,"../token":414}],411:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o,a,s=e.pos,l=e.src.charCodeAt(s);if(t)return!1;if(126!==l)return!1;if(r=e.scanDelims(e.pos,!0),o=r.length,a=String.fromCharCode(l),o<2)return!1;for(o%2&&(i=e.push("text","",0),i.content=a,o--),n=0;n<o;n+=2)i=e.push("text","",0),i.content=a+a,e.delimiters.push({marker:l,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a=[],s=e.delimiters,l=e.delimiters.length;for(t=0;t<l;t++)r=s[t],126===r.marker&&-1!==r.end&&(i=s[r.end],o=e.tokens[r.token],o.type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",o=e.tokens[i.token],o.type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(t=a.pop(),n=t+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;n--,t!==n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},{}],412:[function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},{}],413:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},{}],414:[function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(t=this.attrs,n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},
|
||
r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],415:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t<e.length;t++)n=e.charCodeAt(t),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=r(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,o,a,s,l,c="";for(t=0,r=e.length;t<r;t+=3)i=parseInt(e.slice(t+1,t+3),16),i<128?c+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(l=i<<6&1984|63&o,c+=l<128?"<22><>":String.fromCharCode(l),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(l=i<<12&61440|o<<6&4032|63&a,c+=l<2048||l>=55296&&l<=57343?"<22><><EFBFBD>":String.fromCharCode(l),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?(l=i<<18&1835008|o<<12&258048|a<<6&4032|63&s,l<65536||l>1114111?c+="<22><><EFBFBD><EFBFBD>":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="<22>";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],416:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,l,c,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),c=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],417:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],418:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":415,"./encode":416,"./format":417,"./parse":419}],419:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n<d.length;n++)-1!==(a=c.indexOf(d[n]))&&(-1===g||a<g)&&(g=a);var v,y;for(y=-1===g?c.lastIndexOf("@"):c.lastIndexOf("@",g),-1!==y&&(v=c.slice(0,y),c=c.slice(y+1),this.auth=v),g=-1,n=0;n<f.length;n++)-1!==(a=c.indexOf(f[n]))&&(-1===g||a<g)&&(g=a);-1===g&&(g=c.length),":"===c[g-1]&&g--;var _=c.slice(0,g);c=c.slice(g),this.parseHost(_),this.hostname=this.hostname||"";var b="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!b){var x=this.hostname.split(/\./);for(n=0,r=x.length;n<r;n++){var w=x[n];if(w&&!w.match(/^[+a-z0-9A-Z_-]{0,63}$/)){for(var k="",$=0,C=w.length;$<C;$++)w.charCodeAt($)>127?k+="x":k+=w[$];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=x.slice(0,n),E=x.slice(n+1),T=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);T&&(S.push(T[1]),E.unshift(T[2])),E.length&&(c=E.join(".")+c),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=c.indexOf("#");-1!==A&&(this.hash=c.substr(A),c=c.slice(0,A));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],420:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":421}],421:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return yt(e,t,n,r,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function p(e){return null==e._pf&&(e._pf=d()),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=yr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function m(e){var t=f(NaN);return null!=e?u(p(t),e):p(t).userInvalidated=!0,t}function g(e){return void 0===e}function v(e,t){var n,r,i;if(g(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),g(t._i)||(e._i=t._i),g(t._f)||(e._f=t._f),g(t._l)||(e._l=t._l),g(t._strict)||(e._strict=t._strict),g(t._tzm)||(e._tzm=t._tzm),g(t._isUTC)||(e._isUTC=t._isUTC),g(t._offset)||(e._offset=t._offset),g(t._pf)||(e._pf=p(t)),g(t._locale)||(e._locale=t._locale),_r.length>0)for(n in _r)r=_r[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function _(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&x(e[r])!==x(t[r]))&&a++;return a+o}function k(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function $(e,t){var r=!0;return u(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}function C(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),xr[e]||(k(t),xr[e]=!0)}function S(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],S(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=u({},e);for(n in t)c(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&i(e[n])&&(r[n]=u({},r[n]));return r}function A(e){null!=e&&this.set(e)}function M(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r}function D(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function L(){return this._invalidDate}function O(e){return this._ordinal.replace("%d",e)}function j(e,t,n,r){var i=this._relativeTime[n];return S(i)?i(e,t,n,r):i.replace(/%d/i,e)}function F(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Tr[n]=Tr[n+"s"]=Tr[t]=e}function N(e){return"string"==typeof e?Tr[e]||Tr[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){Ar[e]=t}function z(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t){return function(r){return null!=r?(B(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e){return e=N(e),S(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=I(e);for(var n=z(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=N(e),S(this[e]))return this[e](t);return this}function V(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Or[e]=i),t&&(Or[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Mr);for(t=0,n=r.length;t<n;t++)Or[r[t]]?r[t]=Or[r[t]]:r[t]=G(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function K(e,t){return e.isValid()?(t=J(t,e.localeData()),Lr[t]=Lr[t]||Z(t),Lr[t](e)):e.localeData().invalidDate()}function J(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Dr.lastIndex=0;r>=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function X(e,t,n){Ir[e]=S(t)?t:function(e,r){return e&&n?n:t}}function Q(e,t){return c(Ir,e)?Ir[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n<e.length;n++)qr[e[n]]=r}function re(e,t){ne(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ie(e,t,n){null!=t&&c(qr,e)&&qr[e](t,n._a,n,e)}function oe(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ae(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Kr).test(t)?"format":"standalone"][e.month()]:this._months}function se(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Kr.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function le(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=Zr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=Zr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?-1!==(i=Zr.call(this._shortMonthsParse,a))?i:(i=Zr.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._longMonthsParse,a))?i:(i=Zr.call(this._shortMonthsParse,a),-1!==i?i:null)}function ce(e,t,n){var r,i,o;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=x(t);else if(t=e.localeData().monthsParse(t),!a(t))return e;return n=Math.min(e.date(),oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function fe(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):U(this,"Month")}function de(){return oe(this.year(),this.month())}function pe(e){return this._monthsParseExact?(c(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Qr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(e){return this._monthsParseExact?(c(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=ei),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=te(r[t]),i[t]=te(i[t]);for(t=0;t<24;t++)o[t]=te(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ge(e){return ve(e)?366:365}function ve(e){return e%4==0&&e%100!=0||e%400==0}function ye(){return ve(this.year())}function _e(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function je(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Fe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Fe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Be(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function He(){return this.hours()%12||12}function We(){return this.hours()||24}function Ve(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ye(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o<e.length;){for(i=Ke(e[o]).split("-"),t=i.length,n=Ke(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Qe(r)}catch(e){}return di[n]}function Qe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new A(T(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Qe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=T(r,t),n=new A(t),n.parentLocale=di[e],di[e]=n,Qe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return $r(di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Rr]<0||n[Rr]>11?Rr:n[Ur]<1||n[Ur]>oe(n[zr],n[Rr])?Ur:n[Br]<0||n[Br]>24||24===n[Br]&&(0!==n[Hr]||0!==n[Wr]||0!==n[Vr])?Br:n[Hr]<0||n[Hr]>59?Hr:n[Wr]<0||n[Wr]>59?Wr:n[Vr]<0||n[Vr]>999?Vr:-1,p(e)._overflowDayOfYear&&(t<zr||t>Ur)&&(t=Ur),p(e)._overflowWeeks&&-1===t&&(t=Yr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;t<n;t++)if(vi[t][1].exec(l[1])){i=vi[t][0],r=!1!==vi[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=yi.length;t<n;t++)if(yi[t][1].exec(l[3])){o=(l[2]||" ")+yi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!gi.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),ft(e)}else e._isValid=!1}function at(e){var t=_i.exec(e._i);if(null!==t)return void(e._d=new Date(+t[1]));ot(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e))}function st(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ct(e){var t,n,r,i,o=[];if(!e._d){for(r=lt(e),e._w&&null==e._a[Ur]&&null==e._a[Rr]&&ut(e),e._dayOfYear&&(i=st(e._a[zr],r[zr]),e._dayOfYear>ge(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Br]&&0===e._a[Hr]&&0===e._a[Wr]&&0===e._a[Vr]&&(e._nextDay=!0,e._a[Br]=0),e._d=(e._useUTC?be:_e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Br]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[zr],ke(_t(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(_t(),o,a);n=st(t.gg,e._a[zr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>$e(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[zr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=J(e._f,e._locale).match(Mr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(Q(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Br]<=12&&!0===p(e).bigHour&&e._a[Br]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Br]=dt(e._locale,e._a[Br],e._meridiem),ct(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ft(t),h(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));u(e,n||t)}function ht(e){if(!e._d){var t=I(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function mt(e){var t=new y(it(gt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gt(e){var t=e._i,n=e._f;return e._locale=e._locale||nt(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new y(it(t)):(s(t)?e._d=t:r(n)?pt(e):n?ft(e):vt(e),h(e)||(e._d=null),e))}function vt(e){var t=e._i;void 0===t?e._d=new Date(n.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?at(e):r(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),ct(e)):"object"==typeof t?ht(e):a(t)?e._d=new Date(t):n.createFromInputFallback(e)}function yt(e,t,n,a,s){var l={};return!0!==n&&!1!==n||(a=n,n=void 0),(i(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=e,l._f=t,l._strict=a,mt(l)}function _t(e,t,n,r){return yt(e,t,n,r,!1)}function bt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function xt(){return bt("isBefore",[].slice.call(arguments,0))}function wt(){return bt("isAfter",[].slice.call(arguments,0))}function kt(e){var t=I(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=nt(),this._bubble()}function $t(e){return e instanceof kt}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function St(e,t){Y(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+V(~~(e/60),2)+t+V(~~e%60,2)})}function Et(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(ki)||["-",0,0],o=60*i[1]+x(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Tt(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(_(e)||s(e)?e.valueOf():_t(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):_t(e).local()}function At(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Mt(e,t){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Et(Pr,e)))return this}else Math.abs(e)<16&&(e*=60);return!this._isUTC&&t&&(r=At(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Vt(this,Rt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:At(this)}function Dt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Lt(e){return this.utcOffset(0,e)}function Ot(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(At(this),"m")),this}function jt(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Et(Fr,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ft(e){return!!this.isValid()&&(e=e?_t(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Pt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Rt(e,t){var n,r,i,o=e,s=null;return $t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=$i.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Ur])*n,h:x(s[Br])*n,m:x(s[Hr])*n,s:x(s[Wr])*n,ms:x(Ct(1e3*s[Vr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Ut(s[2],n),M:Ut(s[3],n),w:Ut(s[4],n),d:Ut(s[5],n),h:Ut(s[6],n),m:Ut(s[7],n),s:Ut(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(_t(o.from),_t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),$t(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Tt(t,e),e.isBefore(t)?n=Bt(e,t):(n=Bt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,
|
||
months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Rt(n,r),Vt(this,i,e),this}}function Vt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&B(e,"Date",U(e,"Date")+a*r),s&&ue(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Yt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||_t(),i=Tt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,_t(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=N(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Jt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=N(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Xt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Qt(e,t){var n,r=_(e)?e:_t(e);return!(!this.isValid()||!r.isValid())&&(t=N(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function en(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function tn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function nn(e,t,n){var r,i,o,a;return this.isValid()?(r=Tt(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=N(t),"year"===t||"month"===t||"quarter"===t?(a=rn(this,r),"quarter"===t?a/=3:"year"===t&&(a/=12)):(o=this-r,a="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-i)/864e5:"week"===t?(o-i)/6048e5:o),n?a:b(a)):NaN):NaN}function rn(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function on(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function an(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?S(Date.prototype.toISOString)?this.toDate().toISOString():K(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):K(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function sn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function ln(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function cn(e,t){return this.isValid()&&(_(e)&&e.isValid()||_t(e).isValid())?Rt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function un(e){return this.from(_t(),e)}function fn(e,t){return this.isValid()&&(_(e)&&e.isValid()||_t(e).isValid())?Rt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dn(e){return this.to(_t(),e)}function pn(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function hn(){return this._locale}function mn(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function gn(e){return void 0===(e=N(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function vn(){return this._d.valueOf()-6e4*(this._offset||0)}function yn(){return Math.floor(this.valueOf()/1e3)}function _n(){return new Date(this.valueOf())}function bn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function wn(){return this.isValid()?this.toISOString():null}function kn(){return h(this)}function $n(){return u({},p(this))}function Cn(){return p(this).overflow}function Sn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function En(e,t){Y(0,[e,e.length],0,t)}function Tn(e){return Ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function An(e){return Ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Mn(){return $e(this.year(),1,4)}function Dn(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)}function Ln(e,t,n,r,i){var o;return null==e?ke(this,r,i).year:(o=$e(e,r,i),t>o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Fn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Pn(e,t){t[Vr]=x(1e3*("0."+e))}function Nn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return _t(1e3*e)}function zn(){return _t.apply(null,arguments).parseZone()}function Rn(e){return e}function Un(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(t,(s+o)%7,r,"day");return l}function Wn(e,t){return Bn(e,t,"months")}function Vn(e,t){return Bn(e,t,"monthsShort")}function Yn(e,t,n){return Hn(e,t,n,"weekdays")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Pi(this._milliseconds),this._days=Pi(this._days),this._months=Pi(this._months),e.milliseconds=Pi(e.milliseconds),e.seconds=Pi(e.seconds),e.minutes=Pi(e.minutes),e.hours=Pi(e.hours),e.months=Pi(e.months),e.years=Pi(e.years),this}function Jn(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Jn(this,e,t,1)}function Qn(e,t){return Jn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=N(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return b(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Rt(e).abs(),i=Xi(r.as("s")),o=Xi(r.as("m")),a=Xi(r.as("h")),s=Xi(r.as("d")),l=Xi(r.as("M")),c=Xi(r.as("y")),u=i<Qi.s&&["s",i]||o<=1&&["m"]||o<Qi.m&&["mm",o]||a<=1&&["h"]||a<Qi.h&&["hh",a]||s<=1&&["d"]||s<Qi.d&&["dd",s]||l<=1&&["M"]||l<Qi.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,ur.apply(null,u)}function dr(e){return void 0===e?Xi:"function"==typeof e&&(Xi=e,!0)}function pr(e,t){return void 0!==Qi[e]&&(void 0===t?Qi[e]:(Qi[e]=t,!0))}function hr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||f?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var yr=vr,_r=n.momentProperties=[],br=!1,xr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var wr;wr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var kr,$r=wr,Cr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Sr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Er={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Tr={},Ar={},Mr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Dr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Lr={},Or={},jr=/[+-]?\d{6}/,Fr=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,Nr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ir={},qr={},zr=0,Rr=1,Ur=2,Br=3,Hr=4,Wr=5,Vr=6,Yr=7,Gr=8;kr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var Zr=kr;Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Y("MMMM",0,0,function(e){return this.localeData().months(this,e)}),P("month","M"),q("month",8),X("M",/\d\d?/),X("MM",/\d\d?/,/\d\d/),X("MMM",function(e,t){return t.monthsShortRegex(e)}),X("MMMM",function(e,t){return t.monthsRegex(e)}),ne(["M","MM"],function(e,t){t[Rr]=x(e)-1}),ne(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Rr]=i:p(n).invalidMonth=e});var Kr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Jr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Qr=Nr,ei=Nr;Y("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),P("year","y"),q("year",1),X("Y",/[+-]?\d+/),X("YY",/\d\d?/,/\d\d/),X("YYYY",/\d{1,4}/,/\d{4}/),X("YYYYY",/[+-]?\d{1,6}/,jr),X("YYYYYY",/[+-]?\d{1,6}/,jr),ne(["YYYYY","YYYYYY"],zr),ne("YYYY",function(e,t){t[zr]=2===e.length?n.parseTwoDigitYear(e):x(e)}),ne("YY",function(e,t){t[zr]=n.parseTwoDigitYear(e)}),ne("Y",function(e,t){t[zr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return x(e)+(x(e)>68?1900:2e3)};var ti=R("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),q("week",5),q("isoWeek",5),X("w",/\d\d?/),X("ww",/\d\d?/,/\d\d/),X("W",/\d\d?/),X("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),X("d",/\d\d?/),X("e",/\d\d?/),X("E",/\d\d?/),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=Nr,si=Nr,li=Nr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,He),Y("k",["kk",2],0,We),Y("hmm",0,0,function(){return""+He.apply(this)+V(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+He.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),P("hour","h"),q("hour",13),X("a",Ye),X("A",Ye),X("H",/\d\d?/),X("h",/\d\d?/),X("HH",/\d\d?/,/\d\d/),X("hh",/\d\d?/,/\d\d/),X("hmm",/\d\d\d\d?/),X("hmmss",/\d\d\d\d\d\d?/),X("Hmm",/\d\d\d\d?/),X("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Br),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Br]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r,2)),t[Wr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r,2)),t[Wr]=x(e.substr(i))});var ci,ui=R("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Jr,monthsShort:Xr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},pi={},hi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_i=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=$("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=$("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),xi=$("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Pr),X("ZZ",Pr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Pr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var $i=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=kt.prototype;var Si=Wt(1,"add"),Ei=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ti=$("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),X("G",/[+-]?\d+/),X("g",/[+-]?\d+/),X("GG",/\d\d?/,/\d\d/),X("gg",/\d\d?/,/\d\d/),X("GGGG",/\d{1,4}/,/\d{4}/),X("gggg",/\d{1,4}/,/\d{4}/),X("GGGGG",/[+-]?\d{1,6}/,jr),X("ggggg",/[+-]?\d{1,6}/,jr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),P("quarter","Q"),q("quarter",7),X("Q",/\d/),ne("Q",function(e,t){t[Rr]=3*(x(e)-1)}),Y("D",["DD",2],"Do","date"),P("date","D"),q("date",9),X("D",/\d\d?/),X("DD",/\d\d?/,/\d\d/),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Ur),ne("Do",function(e,t){t[Ur]=x(e.match(/\d\d?/)[0],10)});var Ai=R("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),q("dayOfYear",4),X("DDD",/\d{1,3}/),X("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),Y("m",["mm",2],0,"minute"),P("minute","m"),q("minute",14),X("m",/\d\d?/),X("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Hr);var Mi=R("Minutes",!1);Y("s",["ss",2],0,"second"),P("second","s"),q("second",15),X("s",/\d\d?/),X("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Wr);var Di=R("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),q("millisecond",16),X("S",/\d{1,3}/,/\d/),X("SS",/\d{1,3}/,/\d\d/),X("SSS",/\d{1,3}/,/\d{3}/);var Li;for(Li="SSSS";Li.length<=9;Li+="S")X(Li,/\d+/);for(Li="S";Li.length<=9;Li+="S")ne(Li,Pn);var Oi=R("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ji=y.prototype;ji.add=Si,ji.calendar=Gt,ji.clone=Zt,ji.diff=nn,ji.endOf=gn,ji.format=ln,ji.from=cn,ji.fromNow=un,ji.to=fn,ji.toNow=dn,ji.get=H,ji.invalidAt=Cn,ji.isAfter=Kt,ji.isBefore=Jt,ji.isBetween=Xt,ji.isSame=Qt,ji.isSameOrAfter=en,ji.isSameOrBefore=tn,ji.isValid=kn,ji.lang=Ti,ji.locale=pn,ji.localeData=hn,ji.max=xi,ji.min=bi,ji.parsingFlags=$n,ji.set=W,ji.startOf=mn,ji.subtract=Ei,ji.toArray=bn,ji.toObject=xn,ji.toDate=_n,ji.toISOString=an,ji.inspect=sn,ji.toJSON=wn,ji.toString=on,ji.unix=yn,ji.valueOf=vn,ji.creationData=Sn,ji.year=ti,ji.isLeapYear=ye,ji.weekYear=Tn,ji.isoWeekYear=An,ji.quarter=ji.quarters=jn,ji.month=fe,ji.daysInMonth=de,ji.week=ji.weeks=Te,ji.isoWeek=ji.isoWeeks=Ae,ji.weeksInYear=Dn,ji.isoWeeksInYear=Mn,ji.date=Ai,ji.day=ji.days=Ne,ji.weekday=Ie,ji.isoWeekday=qe,ji.dayOfYear=Fn,ji.hour=ji.hours=ui,ji.minute=ji.minutes=Mi,ji.second=ji.seconds=Di,ji.millisecond=ji.milliseconds=Oi,ji.utcOffset=Mt,ji.utc=Lt,ji.local=Ot,ji.parseZone=jt,ji.hasAlignedHourOffset=Ft,ji.isDST=Pt,ji.isLocal=It,ji.isUtcOffset=qt,ji.isUtc=zt,ji.isUTC=zt,ji.zoneAbbr=Nn,ji.zoneName=In,ji.dates=$("dates accessor is deprecated. Use date instead.",Ai),ji.months=$("months accessor is deprecated. Use month instead",fe),ji.years=$("years accessor is deprecated. Use year instead",ti),ji.zone=$("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),ji.isDSTShifted=$("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nt);var Fi=A.prototype;Fi.calendar=M,Fi.longDateFormat=D,Fi.invalidDate=L,Fi.ordinal=O,Fi.preparse=Rn,Fi.postformat=Rn,Fi.relativeTime=j,Fi.pastFuture=F,Fi.set=E,Fi.months=ae,Fi.monthsShort=se,Fi.monthsParse=ce,Fi.monthsRegex=he,Fi.monthsShortRegex=pe,Fi.week=Ce,Fi.firstDayOfYear=Ee,Fi.firstDayOfWeek=Se,Fi.weekdays=Le,Fi.weekdaysMin=je,Fi.weekdaysShort=Oe,Fi.weekdaysParse=Pe,Fi.weekdaysRegex=ze,Fi.weekdaysShortRegex=Re,Fi.weekdaysMinRegex=Ue,Fi.isPM=Ge,Fi.meridiem=Ze,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=$("moment.lang is deprecated. Use moment.locale instead.",Qe),n.langData=$("moment.langData is deprecated. Use moment.localeData instead.",nt);var Pi=Math.abs,Ni=ar("ms"),Ii=ar("s"),qi=ar("m"),zi=ar("h"),Ri=ar("d"),Ui=ar("w"),Bi=ar("M"),Hi=ar("y"),Wi=lr("milliseconds"),Vi=lr("seconds"),Yi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Ji=lr("years"),Xi=Math.round,Qi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Xn,to.subtract=Qn,to.as=ir,to.asMilliseconds=Ni,to.asSeconds=Ii,to.asMinutes=qi,to.asHours=zi,to.asDays=Ri,to.asWeeks=Ui,to.asMonths=Bi,to.asYears=Hi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Wi,to.seconds=Vi,to.minutes=Yi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Ji,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=$("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ti,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),X("x",/[+-]?\d+/),X("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(_t),n.fn=ji,n.min=xt,n.max=wt,n.now=wi,n.utc=f,n.unix=qn,n.months=Wn,n.isDate=s,n.locale=Qe,n.invalid=m,n.duration=Rt,n.isMoment=_,n.weekdays=Yn,n.parseZone=zn,n.localeData=nt,n.isDuration=$t,n.monthsShort=Vn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=N,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Yt,n.prototype=ji,n})},{}],422:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!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 s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v<t;)h&&h[v].run();v=-1,t=m.length}h=null,g=!1,a(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var f,d,p=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{d="function"==typeof clearTimeout?clearTimeout:i}catch(e){d=i}}();var h,m=[],g=!1,v=-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];m.push(new c(e,t)),1!==m.length||g||o(l)},c.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=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,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}},{}],423:[function(e,t,n){(function(e){!function(r){function i(e){throw new RangeError(O[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i<o;)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function l(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=P(e>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?F(e/S):e>>1,e+=F(e/t);e>j*$>>1;r+=w)e=F(e/j);return F(r+(j+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,u,d,p,h,m=[],g=e.length,v=0,y=T,_=E;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(a=v,s=1,u=w;o>=g&&i("invalid-input"),d=c(e.charCodeAt(o++)),(d>=w||d>F((x-v)/s))&&i("overflow"),v+=d*s,p=u<=_?k:u>=_+$?$:u-_,!(d<p);u+=w)h=w-p,s>F(x/h)&&i("overflow"),s*=h;t=m.length+1,_=f(v-a,t,0==a),F(v/t)>x-y&&i("overflow"),y+=F(v/t),v%=t,m.splice(v++,0,y)}return l(m)}function p(e){var t,n,r,o,a,l,c,d,p,h,m,g,v,y,_,b=[];for(e=s(e),g=e.length,t=T,n=0,a=E,l=0;l<g;++l)(m=e[l])<128&&b.push(P(m));for(r=o=b.length,o&&b.push(A);r<g;){for(c=x,l=0;l<g;++l)(m=e[l])>=t&&m<c&&(c=m);for(v=r+1,c-t>F((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;l<g;++l)if(m=e[l],m<t&&++n>x&&i("overflow"),m==t){for(d=n,p=w;h=p<=a?k:p>=a+$?$:p-a,!(d<h);p+=w)_=d-h,y=w-h,b.push(P(u(h+_%y,0))),d=F(_/y);b.push(P(u(d,0))),a=f(n,v,r==o),n=0,++r}++n,++t}return b.join("")}function h(e){return a(e,function(e){return M.test(e)?d(e.slice(4).toLowerCase()):e})}function m(e){return a(e,function(e){return D.test(e)?"xn--"+p(e):e})}var g="object"==typeof n&&n&&!n.nodeType&&n,v="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof e&&e;y.global!==y&&y.window!==y&&y.self!==y||(r=y);var _,b,x=2147483647,w=36,k=1,$=26,C=38,S=700,E=72,T=128,A="-",M=/^xn--/,D=/[^\x20-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=w-k,F=Math.floor,P=String.fromCharCode;if(_={version:"1.4.1",ucs2:{decode:s,encode:l},decode:d,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return _});else if(g&&v)if(t.exports==g)v.exports=_;else for(b in _)_.hasOwnProperty(b)&&(g[b]=_[b]);else r.punycode=_}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],424:[function(e,t,n){(function(e,n){!function(n){"use strict";function r(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=u(e,n,s),a}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(t){function n(e,r,o,a){var s=i(t[e],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function r(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e&&e.domain&&(n=e.domain.bind(n));var o;this._invoke=r}function u(e,t,n){var r=$;return function(o,a){if(r===S)throw new Error("Generator is already running");if(r===E){if("throw"===o)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===g){n.delegate=null;var l=s.iterator.return;if(l){var c=i(l,s.iterator,a);if("throw"===c.type){o="throw",a=c.arg;continue}}if("return"===o)continue}var c=i(s.iterator[o],s.iterator,a);if("throw"===c.type){n.delegate=null,o="throw",a=c.arg;continue}o="next",a=g;var u=c.arg;if(!u.done)return r=C,u;n[s.resultName]=u.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(r===$)throw r=E,a;n.dispatchException(a)&&(o="next",a=g)}else"return"===o&&n.abrupt("return",a);r=S;var c=i(e,t,n);if("normal"===c.type){r=n.done?E:C;var u={value:c.arg,done:n.done};if(c.arg!==T)return u;n.delegate&&"next"===o&&(a=g)}else"throw"===c.type&&(r=E,o="throw",a=c.arg)}}}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 d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[b];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(y.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:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",x=_.toStringTag||"@@toStringTag",w="object"==typeof t,k=n.regeneratorRuntime;if(k)return void(w&&(t.exports=k));k=n.regeneratorRuntime=w?t.exports:{},k.wrap=r;var $="suspendedStart",C="suspendedYield",S="executing",E="completed",T={},A={};A[b]=function(){return this};var M=Object.getPrototypeOf,D=M&&M(M(h([])));D&&D!==v&&y.call(D,b)&&(A=D);var L=s.prototype=o.prototype=Object.create(A);a.prototype=L.constructor=s,s.constructor=a,s[x]=a.displayName="GeneratorFunction",k.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},k.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,x in e||(e[x]="GeneratorFunction")),e.prototype=Object.create(L),e},k.awrap=function(e){return{__await:e}},l(c.prototype),k.AsyncIterator=c,k.async=function(e,t,n,i){var o=new c(r(e,t,n,i));return k.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},l(L),L[x]="Generator",L.toString=function(){return"[object Generator]"},k.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}},k.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&y.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 o.type="throw",o.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.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&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?this.next=i.finallyLoc:this.complete(o),T},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},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),T}},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 i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},T}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:422}],425:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],426:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=_({},t),e[W]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in n)!(r in t)&&(t[r]=n[r]);ae(t);for(var i in this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&X,o(e,"mousedown",this._onTapStart),o(e,"touchstart",this._onTapStart),o(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(e,"dragover",this),o(e,"dragenter",this)),ie.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),C&&C.state!==t&&(l(C,"display",t?"none":""),t||C.state&&(e.options.group.revertClone?(S.insertBefore(C,E),e._animate(w,C)):S.insertBefore(C,w)),C.state=t)}function n(e,t,n){if(e){n=n||Y;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,J)}function a(e,t,n){e.removeEventListener(t,n,J)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(B," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(B," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Y.defaultView&&Y.defaultView.getComputedStyle?n=Y.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function u(e,t,n,r,i,o,a){e=e||t[W];var s=Y.createEvent("Event"),l=e.options,c="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=t,s.from=i||t,s.item=r||t,s.clone=C,s.oldIndex=o,s.newIndex=a,t.dispatchEvent(s),l[c]&&l[c].call(e,s)}function f(e,t,n,r,i,o,a,s){var l,c,u=e[W],f=u.options.onMove;return l=Y.createEvent("Event"),l.initEvent("move",!0,!0),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||t.getBoundingClientRect(),l.willInsertAfter=s,e.dispatchEvent(l),f&&(c=f.call(u,l,a)),c}function d(e){e.draggable=!1}function p(){ee=!1}function h(e,t){var n=e.lastElementChild,r=n.getBoundingClientRect();return t.clientY-(r.top+r.height)>5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function y(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function _(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return Z?Z(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,k,$,C,S,E,T,A,M,D,L,O,j,F,P,N,I,q,z,R,U={},B=/\s+/g,H=/left|right|inline/,W="Sortable"+(new Date).getTime(),V=window,Y=V.document,G=V.parseInt,Z=V.jQuery||V.Zepto,K=V.Polymer,J=!1,X=!!("draggable"in Y.createElement("div")),Q=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=Y.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,ne=Math.min,re=[],ie=[],oe=y(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[W],u=t.scrollSensitivity,f=t.scrollSpeed,d=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(M!==n&&(A=t.scroll,M=n,D=t.scrollFn,!0===A)){A=n;do{if(A.offsetWidth<A.scrollWidth||A.offsetHeight<A.scrollHeight)break}while(A=A.parentNode)}A&&(r=A,i=A.getBoundingClientRect(),o=(te(i.right-d)<=u)-(te(i.left-d)<=u),a=(te(i.bottom-p)<=u)-(te(i.top-p)<=u)),o||a||(o=(h-d<=u)-(d<=u),a=(m-p<=u)-(p<=u),(o||a)&&(r=V)),U.vx===o&&U.vy===a&&U.el===r||(U.el=r,U.vx=o,U.vy=a,clearInterval(U.pid),r&&(U.pid=setInterval(function(){if(l=a?a*f:0,s=o?o*f:0,"function"==typeof D)return D.call(c,s,l,e);r===V?V.scrollTo(V.pageXOffset+s,V.pageYOffset+l):(r.scrollTop+=l,r.scrollLeft+=s)},24)))}},30),ae=function(e){function t(e,t){return void 0!==e&&!0!==e||(e=n.name),"function"==typeof e?e:function(n,r){var i=r.options.group.name;return t?e:e&&(e.join?e.indexOf(i)>-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,f=e.target.shadowRoot&&e.path[0]||c,d=o.filter;if(x(i),!w&&!("mousedown"===s&&0!==e.button||o.disabled)&&(c=n(c,o.draggable,i))&&T!==c){if(t=g(c,o.draggable),"function"==typeof d){if(d.call(this,e,c,this))return u(r,f,"filter",c,i,t),void(a&&e.preventDefault())}else if(d&&(d=d.split(",").some(function(e){if(e=n(f,e.trim(),i))return u(r,e,"filter",c,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(f,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,f=a.options,p=l.ownerDocument;n&&!w&&n.parentNode===l&&(q=e,S=l,w=n,k=w.parentNode,E=w.nextSibling,T=n,N=f.group,F=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",i=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,f.chosenClass,!0),a._triggerDragStart(e,t),u(a,S,"choose",w,S,F)},f.ignore.split(",").forEach(function(e){c(w,e.trim(),d)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"pointercancel",a._onDrop),o(p,"selectstart",a),f.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,f.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(q={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(q,"touch")):this.nativeDraggable?(o(w,"dragend",this),o(S,"dragstart",this._onDragStart)):this._onDragStart(q,!0);try{Y.selection?setTimeout(function(){Y.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(S&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,S,"start",w,S,F)}else this._nulling()},_emulateDragOver:function(){if(z){if(this._lastX===z.clientX&&this._lastY===z.clientY)return;this._lastX=z.clientX,this._lastY=z.clientY,Q||l($,"display","none");var e=Y.elementFromPoint(z.clientX,z.clientY),t=e,n=ie.length;if(t)do{if(t[W]){for(;n--;)ie[n]({clientX:z.clientX,clientY:z.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Q||l($,"display","")}},_onTouchMove:function(t){if(q){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-q.clientX+i.x,s=o.clientY-q.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ne(te(o.clientX-this._lastX),te(o.clientY-this._lastY))<r)return;this._dragStarted()}this._appendGhost(),R=!0,z=o,l($,"webkitTransform",c),l($,"mozTransform",c),l($,"msTransform",c),l($,"transform",c),t.preventDefault()}},_appendGhost:function(){if(!$){var e,t=w.getBoundingClientRect(),n=l(w),r=this.options;$=w.cloneNode(!0),s($,r.ghostClass,!1),s($,r.fallbackClass,!0),s($,r.dragClass,!0),l($,"top",t.top-G(n.marginTop,10)),l($,"left",t.left-G(n.marginLeft,10)),l($,"width",t.width),l($,"height",t.height),l($,"opacity","0.8"),l($,"position","fixed"),l($,"zIndex","100000"),l($,"pointerEvents","none"),r.fallbackOnBody&&Y.body.appendChild($)||S.appendChild($),e=$.getBoundingClientRect(),l($,"width",2*t.width-e.width),l($,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=e.dataTransfer,r=this.options;this._offUpEvents(),N.checkPull(this,this,w,e)&&(C=b(w),C.draggable=!1,C.style["will-change"]="",l(C,"display","none"),s(C,this.options.chosenClass,!1),S.insertBefore(C,w),u(this,S,"clone",w)),s(w,r.dragClass,!0),t?("touch"===t?(o(Y,"touchmove",this._onTouchMove),o(Y,"touchend",this._onDrop),o(Y,"touchcancel",this._onDrop),o(Y,"pointermove",this._onTouchMove),o(Y,"pointerup",this._onDrop)):(o(Y,"mousemove",this._onTouchMove),o(Y,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",r.setData&&r.setData.call(this,n,w)),o(Y,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(r){var i,o,a,s,c=this.el,u=this.options,d=u.group,m=e.active,g=N===d,v=!1,y=u.sort;if(void 0!==r.preventDefault&&(r.preventDefault(),!u.dragoverBubble&&r.stopPropagation()),!w.animated&&(R=!0,m&&!u.disabled&&(g?y||(s=!S.contains(w)):I===this||(m.lastPullMode=N.checkPull(this,m,w,r))&&d.checkPut(this,m,w,r))&&(void 0===r.rootEl||r.rootEl===this.el))){if(oe(r,u,this.el),ee)return;if(i=n(r.target,u.draggable,c),o=w.getBoundingClientRect(),I!==this&&(I=this,v=!0),s)return t(m,!0),k=S,void(C||E?S.insertBefore(w,C||E):y||S.appendChild(w));if(0===c.children.length||c.children[0]===$||c===r.target&&h(c,r)){if(0!==c.children.length&&c.children[0]!==$&&c===r.target&&(i=c.lastElementChild),i){if(i.animated)return;a=i.getBoundingClientRect()}t(m,g),!1!==f(S,c,w,o,i,a,r)&&(w.contains(c)||(c.appendChild(w),k=c),this._animate(o,w),i&&this._animate(a,i))}else if(i&&!i.animated&&i!==w&&void 0!==i.parentNode[W]){L!==i&&(L=i,O=l(i),j=l(i.parentNode)),a=i.getBoundingClientRect();var _=a.right-a.left,b=a.bottom-a.top,x=H.test(O.cssFloat+O.display)||"flex"==j.display&&0===j["flex-direction"].indexOf("row"),T=i.offsetWidth>w.offsetWidth,A=i.offsetHeight>w.offsetHeight,M=(x?(r.clientX-a.left)/_:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,F=!1;if(x){var P=w.offsetTop,q=i.offsetTop;F=P===q?i.previousElementSibling===w&&!T||M&&T:i.previousElementSibling===w||w.previousElementSibling===i?(r.clientY-a.top)/b>.5:q>P}else v||(F=D!==w&&!A||M&&A);var z=f(S,c,w,o,i,a,r,F);!1!==z&&(1!==z&&-1!==z||(F=1===z),ee=!0,setTimeout(p,30),t(m,g),w.contains(c)||(F&&!D?c.appendChild(w):i.parentNode.insertBefore(w,F?D:i)),k=w.parentNode,this._animate(o,w),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Y,"touchmove",this._onTouchMove),a(Y,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(U.pid),clearTimeout(this._dragStartTimer),a(Y,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Y,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(R&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),$&&$.parentNode&&$.parentNode.removeChild($),S!==k&&"clone"===e.active.lastPullMode||C&&C.parentNode&&C.parentNode.removeChild(C),w&&(this.nativeDraggable&&a(w,"dragend",this),d(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,S,"unchoose",w,S,F),S!==k?(P=g(w,r.draggable))>=0&&(u(null,k,"add",w,S,F,P),u(this,S,"remove",w,S,F,P),u(null,k,"sort",w,S,F,P),u(this,S,"sort",w,S,F,P)):w.nextSibling!==E&&(P=g(w,r.draggable))>=0&&(u(this,S,"update",w,S,F,P),u(this,S,"sort",w,S,F,P)),e.active&&(null!=P&&-1!==P||(P=F),u(this,S,"end",w,S,F,P),this.save()))),this._nulling()},_nulling:function(){S=w=k=$=E=C=T=A=M=q=z=R=P=L=O=I=N=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),i(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i<o;i++)e=r[i],n(e,a.draggable,this.el)&&t.push(e.getAttribute(a.dataIdAttr)||m(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach(function(e,i){var o=r.children[i];n(o,this.options.draggable,r)&&(t[e]=o)},this),e.forEach(function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return n(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];n[e]=t,"group"===e&&ae(n)},destroy:function(){var e=this.el;e[W]=null,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),a(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),ie.splice(ie.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},o(Y,"touchmove",function(t){e.active&&t.preventDefault()});try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){J={capture:!1,passive:!1}}}))}catch(e){}return e.utils={on:o,off:a,css:l,find:c,is:function(e,t){return!!n(e,t,e)},extend:_,throttle:y,closest:n,toggleClass:s,clone:b,index:g},e.create=function(t,n){return new e(t,n)},e.version="1.6.0",e})},{}],427:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},t.exports=r},{}],428:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],429:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],430:[function(e,t,n){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},{}],431:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],432:[function(e,t,n){"use strict";n.Any=e("./properties/Any/regex"),n.Cc=e("./categories/Cc/regex"),n.Cf=e("./categories/Cf/regex"),n.P=e("./categories/P/regex"),n.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":428,"./categories/Cf/regex":429,"./categories/P/regex":430,"./categories/Z/regex":431,"./properties/Any/regex":433}],433:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],434:[function(e,t,n){(function(e){"use strict";function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e);return isNaN(t)?e:t}function i(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function o(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Ti}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function m(){}function g(e,t){var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function v(e,t){for(var n=0;n<e.length;n++)if(g(e[n],t))return n;return-1}function y(e){var t=!1;return function(){t||(t=!0,e())}}function _(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function b(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function x(e){if(!Oi.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function w(e){return/native code/.test(e.toString())}function k(e){Zi.target&&Ki.push(Zi.target),Zi.target=e}function $(){Zi.target=Ki.pop()}function C(e,t){e.__proto__=t}function S(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];b(e,o,t[o])}}function E(e,t){if(d(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof to?n=e.__ob__:eo.shouldConvert&&!Bi()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new to(e)),t&&n&&n.vmCount++,n}}function T(e,t,n,r){var i=new Zi,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var a=o&&o.get,s=o&&o.set,l=E(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return Zi.target&&(i.depend(),l&&l.dep.depend(),Array.isArray(t)&&D(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,l=E(t),i.notify())}})}}function A(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(a(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(T(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function M(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||a(e,t)&&(delete e[t],n&&n.dep.notify())}function D(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&D(t)}function L(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),s=0;s<o.length;s++)n=o[s],r=e[n],i=t[n],a(e,n)?p(r)&&p(i)&&L(r,i):A(e,n,i);return e}function O(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function j(e,t){var n=Object.create(e||null);return t?f(n,t):n}function F(e){var t=e.props;if(t){var n,r,i,o={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(i=$i(r),o[i]={type:null});else if(p(t))for(var a in t)r=t[a],i=$i(a),o[i]=p(r)?r:{type:r};e.props=o}}function P(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function N(e,t,n){function r(r){var i=no[r]||ro;u[r]=i(e[r],t[r],n,r)}F(t),P(t);var i=t.extends;if(i&&(e="function"==typeof i?N(e,i.options,n):N(e,i,n)),t.mixins)for(var o=0,s=t.mixins.length;o<s;o++){var l=t.mixins[o];l.prototype instanceof it&&(l=l.options),e=N(e,l,n)}var c,u={};for(c in e)r(c);for(c in t)a(e,c)||r(c);return u}function I(e,t,n,r){if("string"==typeof n){var i=e[t];if(a(i,n))return i[n];var o=$i(n);if(a(i,o))return i[o];var s=Ci(o);if(a(i,s))return i[s];var l=i[n]||i[o]||i[s];return l}}function q(e,t,n,r){var i=t[e],o=!a(n,e),s=n[e];if(U(Boolean,i.type)&&(o&&!a(i,"default")?s=!1:U(String,i.type)||""!==s&&s!==Si(e)||(s=!0)),void 0===s){s=z(r,i,e);var l=eo.shouldConvert;eo.shouldConvert=!0,E(s),eo.shouldConvert=l}return s}function z(e,t,n){if(a(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==R(t.type)?r.call(e):r}}function R(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function U(e,t){if(!Array.isArray(t))return R(t)===R(e);for(var n=0,r=t.length;n<r;n++)if(R(t[n])===R(e))return!0;return!1}function B(e,t,n){if(Di.errorHandler)Di.errorHandler.call(null,e,t,n);else{if(!Fi||"undefined"==typeof console)throw e;console.error(e)}}function H(e){return new io(void 0,void 0,void 0,String(e))}function W(e){var t=new io(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isCloned=!0,t}function V(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=W(e[r]);return n}function Y(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function G(e,t,n,r,i){var o,a,s,l;for(o in e)a=e[o],s=t[o],l=lo(o),a&&(s?a!==s&&(s.fns=a,e[o]=s):(a.fns||(a=e[o]=Y(a)),n(l.name,a,l.once,l.capture)));for(o in t)e[o]||(l=lo(o),r(l.name,t[o],l.capture))}function Z(e,t,n){function r(){n.apply(this,arguments),o(i.fns,r)}var i,a=e[t];a?a.fns&&a.merged?(i=a,i.fns.push(r)):i=Y([a,r]):i=Y([r]),i.merged=!0,e[t]=i}function K(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function J(e){return s(e)?[H(e)]:Array.isArray(e)?X(e):void 0}function X(e,t){var n,r,i,o=[];for(n=0;n<e.length;n++)null!=(r=e[n])&&"boolean"!=typeof r&&(i=o[o.length-1],Array.isArray(r)?o.push.apply(o,X(r,(t||"")+"_"+n)):s(r)?i&&i.text?i.text+=String(r):""!==r&&o.push(H(r)):r.text&&i&&i.text?o[o.length-1]=H(i.text+r.text):(r.tag&&null==r.key&&null!=t&&(r.key="__vlist"+t+"_"+n+"__"),o.push(r)));return o}function Q(e){return e&&e.filter(function(e){return e&&e.componentOptions})[0]}function ee(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&re(e,t)}function te(e,t,n){n?ao.$once(e,t):ao.$on(e,t)}function ne(e,t){ao.$off(e,t)}function re(e,t,n){ao=e,G(t,n||{},te,ne,e)}function ie(e,t){var n={};if(!e)return n;for(var r,i,o=[],a=0,s=e.length;a<s;a++)if(i=e[a],(i.context===t||i.functionalContext===t)&&i.data&&(r=i.data.slot)){var l=n[r]||(n[r]=[]);"template"===i.tag?l.push.apply(l,i.children):l.push(i)}else o.push(i);return o.every(oe)||(n.default=o),n}function oe(e){return e.isComment||" "===e.text}function ae(e){for(var t={},n=0;n<e.length;n++)t[e[n][0]]=e[n][1];return t}function se(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function le(e,t,n){e.$el=t,e.$options.render||(e.$options.render=so),pe(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new vo(e,r,m),n=!1,null==e.$vnode&&(e._isMounted=!0,pe(e,"mounted")),e}function ce(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Li);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,t&&e.$options.props){eo.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],l=0;l<s.length;l++){var c=s[l];a[c]=q(c,e.$options.props,t,e)}eo.shouldConvert=!0,e.$options.propsData=t}if(n){var u=e.$options._parentListeners;e.$options._parentListeners=n,re(e,n,u)}o&&(e.$slots=ie(i,r.context),e.$forceUpdate())}function ue(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fe(e,t){if(t){if(e._directInactive=!1,ue(e))return}else if(e._directInactive)return;if(e._inactive||null==e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)fe(e.$children[n]);pe(e,"activated")}}function de(e,t){if(!(t&&(e._directInactive=!0,ue(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)de(e.$children[n]);pe(e,"deactivated")}}function pe(e,t){var n=e.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(e)}catch(n){B(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function he(){uo.length=0,fo={},po=ho=!1}function me(){ho=!0;var e,t,n;for(uo.sort(function(e,t){return e.id-t.id}),mo=0;mo<uo.length;mo++)e=uo[mo],t=e.id,fo[t]=null,e.run();var r=uo.slice();for(he(),mo=r.length;mo--;)e=r[mo],n=e.vm,n._watcher===e&&n._isMounted&&pe(n,"updated");Hi&&Di.devtools&&Hi.emit("flush")}function ge(e){var t=e.id;if(null==fo[t]){if(fo[t]=!0,ho){for(var n=uo.length-1;n>=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Vi(me))}}function ve(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function _e(e,t,n){_o.get=function(){return this[t][n]},_o.set=function(e){this[t][n]=e},Object.defineProperty(e,n,_o)}function be(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&$e(e,t.computed),t.watch&&Te(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);T(r,o,a),o in e||_e(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||_(n[i])||_e(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return B(e,t,"data()"),{}}}function $e(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(_o.get=Se(t),_o.set=m):(_o.get=n.get?!1!==n.cache?Se(t):n.get:m,_o.set=n.set?n.set:m),Object.defineProperty(e,t,_o)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Te(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Ae(e,n,r[i]);else Ae(e,n,r)}}function Ae(e,t,n){var r;p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Me(e,t,n,r,i){if(e){var o=n.$options._base
|
||
;if(d(e)&&(e=o.extend(e)),"function"==typeof e){if(!e.cid)if(e.resolved)e=e.resolved;else if(!(e=Oe(e,o,function(){n.$forceUpdate()})))return;tt(e),t=t||{},t.model&&Ie(e.options,t);var a=je(t,e,i);if(e.options.functional)return De(e,a,t,n,r);var s=t.on;t.on=t.nativeOn,e.options.abstract&&(t={}),Pe(t);var l=e.options.name||i;return new io("vue-component-"+e.cid+(l?"-"+l:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:s,tag:i,children:r})}}}function De(e,t,n,r,i){var o={},a=e.options.props;if(a)for(var s in a)o[s]=q(s,a,t);var l=Object.create(r),c=function(e,t,n,r){return qe(l,e,t,n,r,!0)},u=e.options.render.call(null,c,{props:o,data:n,parent:r,children:i,slots:function(){return ie(i,r)}});return u instanceof io&&(u.functionalContext=r,n.slot&&((u.data||(u.data={})).slot=n.slot)),u}function Le(e,t,n,r){var i=e.componentOptions,o={_isComponent:!0,parent:t,propsData:i.propsData,_componentTag:i.tag,_parentVnode:e,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function Oe(e,t,n){if(!e.requested){e.requested=!0;var r=e.pendingCallbacks=[n],i=!0,o=function(n){if(d(n)&&(n=t.extend(n)),e.resolved=n,!i)for(var o=0,a=r.length;o<a;o++)r[o](n)},a=function(e){},s=e(o,a);return s&&"function"==typeof s.then&&!e.resolved&&s.then(o,a),i=!1,e.resolved}e.pendingCallbacks.push(n)}function je(e,t,n){var r=t.options.props;if(r){var i={},o=e.attrs,a=e.props,s=e.domProps;if(o||a||s)for(var l in r){var c=Si(l);Fe(i,a,l,c,!0)||Fe(i,o,l,c)||Fe(i,s,l,c)}return i}}function Fe(e,t,n,r,i){if(t){if(a(t,n))return e[n]=t[n],i||delete t[n],!0;if(a(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Pe(e){e.hook||(e.hook={});for(var t=0;t<wo.length;t++){var n=wo[t],r=e.hook[n],i=xo[n];e.hook[n]=r?Ne(i,r):i}}function Ne(e,t){return function(n,r,i,o){e(n,r,i,o),t(n,r,i,o)}}function Ie(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});i[r]?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}function qe(e,t,n,r,i,o){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o&&(i=$o),ze(e,t,n,r,i)}function ze(e,t,n,r,i){if(n&&n.__ob__)return so();if(!t)return so();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===$o?r=J(r):i===ko&&(r=K(r));var o,a;if("string"==typeof t){var s;a=Di.getTagNamespace(t),o=Di.isReservedTag(t)?new io(Di.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=I(e.$options,"components",t))?Me(s,n,e,r,t):new io(t,n,r,void 0,void 0,e)}else o=Me(t,n,e,r);return o?(a&&Re(o,a),o):so()}function Re(e,t){if(e.ns=t,"foreignObject"!==e.tag&&e.children)for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];i.tag&&!i.ns&&Re(i,t)}}function Ue(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(d(e))for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return n}function Be(e,t,n,r){var i=this.$scopedSlots[e];if(i)return n=n||{},r&&f(n,r),i(n)||t;var o=this.$slots[e];return o||t}function He(e){return I(this.$options,"filters",e,!0)||Mi}function We(e,t,n){var r=Di.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function Ve(e,t,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=h(n));var i;for(var o in n){if("class"===o||"style"===o)i=e;else{var a=e.attrs&&e.attrs.type;i=r||Di.mustUseProp(t,a,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}o in i||(i[o]=n[o])}}else;return e}function Ye(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?V(n):W(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),Ze(n,"__static__"+e,!1),n)}function Ge(e,t,n){return Ze(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ze(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Ke(e[r],t+"_"+r,n);else Ke(e,t,n)}function Ke(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Je(e){e.$vnode=null,e._vnode=null,e._staticTrees=null;var t=e.$options._parentVnode,n=t&&t.context;e.$slots=ie(e.$options._renderChildren,n),e.$scopedSlots=Li,e._c=function(t,n,r,i){return qe(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return qe(e,t,n,r,i,!0)}}function Xe(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Qe(e){var t=e.$options.inject;if(t)for(var n=Array.isArray(t),r=n?t:Wi?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++)!function(i){for(var o=r[i],a=n?o:t[o],s=e;s;){if(s._provided&&a in s._provided){T(e,o,s._provided[a]);break}s=s.$parent}}(i)}function et(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function tt(e){var t=e.options;if(e.super){var n=tt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=nt(e);r&&f(e.extendOptions,r),t=e.options=N(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function nt(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=rt(n[i],r[i]));return t}function rt(e,t){if(Array.isArray(e)){var n=[];t=Array.isArray(t)?t:[t];for(var r=0;r<e.length;r++)t.indexOf(e[r])<0&&n.push(e[r]);return n}return e}function it(e){this._init(e)}function ot(e){e.use=function(e){if(!e.installed){var t=u(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):"function"==typeof e&&e.apply(null,t),e.installed=!0,this}}}function at(e){e.mixin=function(e){this.options=N(this.options,e)}}function st(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=N(n.options,e),a.super=n,a.options.props&<(a),a.options.computed&&ct(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Di._assetTypes.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=f({},a.options),i[r]=a,a}}function lt(e){var t=e.options.props;for(var n in t)_e(e.prototype,"_props",n)}function ct(e){var t=e.options.computed;for(var n in t)Ce(e.prototype,n,t[n])}function ut(e){Di._assetTypes.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function ft(e){return e&&(e.Ctor.options.name||e.tag)}function dt(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,_t(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function _t(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r<i;r++)e[r]&&(n=_t(e[r]))&&(t+=n+" ");return t.slice(0,-1)}if(d(e)){for(var o in e)e[o]&&(t+=o+" ");return t.slice(0,-1)}return t}function bt(e){return Go(e)?"svg":"math"===e?"math":void 0}function xt(e){if(!Fi)return!0;if(Ko(e))return!1;if(e=e.toLowerCase(),null!=Jo[e])return Jo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Jo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $t(e,t){return document.createElementNS(Vo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function Tt(e,t){e.removeChild(t)}function At(e,t){e.appendChild(t)}function Mt(e){return e.parentNode}function Dt(e){return e.nextSibling}function Lt(e){return e.tagName}function Ot(e,t){e.textContent=t}function jt(e,t,n){e.setAttribute(t,n)}function Ft(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function Pt(e){return void 0===e||null===e}function Nt(e){return void 0!==e&&null!==e}function It(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&Nt(e.data)===Nt(t.data)&&zt(e,t)}function zt(e,t){if("input"!==e.tag)return!0;var n;return(Nt(n=e.data)&&Nt(n=n.attrs)&&n.type)===(Nt(n=t.data)&&Nt(n=n.attrs)&&n.type)}function Rt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,Nt(i)&&(o[i]=r);return o}function Ut(e,t){(e.data.directives||t.data.directives)&&Bt(e,t)}function Bt(e,t){var n,r,i,o=e===ea,a=t===ea,s=Ht(e.data.directives,e.context),l=Ht(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Vt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Vt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n<c.length;n++)Vt(c[n],"inserted",t,e)};o?Z(t.data.hook||(t.data.hook={}),"insert",f):f()}if(u.length&&Z(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<u.length;n++)Vt(u[n],"componentUpdated",t,e)}),!o)for(n in s)l[n]||Vt(s[n],"unbind",e,e,a)}function Ht(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++)i=e[r],i.modifiers||(i.modifiers=ra),n[Wt(i)]=i,i.def=I(t.$options,"directives",i.name,!0);return n}function Wt(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Vt(e,t,n,r,i){var o=e.def&&e.def[t];o&&o(n.elm,e,n,r,i)}function Yt(e,t){if(e.data.attrs||t.data.attrs){var n,r,i=t.elm,o=e.data.attrs||{},a=t.data.attrs||{};a.__ob__&&(a=t.data.attrs=f({},a));for(n in a)r=a[n],o[n]!==r&&Gt(i,n,r);Ii&&a.value!==o.value&&Gt(i,"value",a.value);for(n in o)null==a[n]&&(Bo(n)?i.removeAttributeNS(Uo,Ho(n)):zo(n)||i.removeAttribute(n))}}function Gt(e,t,n){Ro(t)?Wo(n)?e.removeAttribute(t):e.setAttribute(t,t):zo(t)?e.setAttribute(t,Wo(n)||"false"===n?"false":"true"):Bo(t)?Wo(n)?e.removeAttributeNS(Uo,Ho(t)):e.setAttributeNS(Uo,t,n):Wo(n)?e.removeAttribute(t):e.setAttribute(t,n)}function Zt(e,t){var n=t.elm,r=t.data,i=e.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=mt(t),a=n._transitionClasses;a&&(o=yt(o,_t(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function Kt(e){function t(){(a||(a=[])).push(e.slice(h,i).trim()),h=i+1}var n,r,i,o,a,s=!1,l=!1,c=!1,u=!1,f=0,d=0,p=0,h=0;for(i=0;i<e.length;i++)if(r=n,n=e.charCodeAt(i),s)39===n&&92!==r&&(s=!1);else if(l)34===n&&92!==r&&(l=!1);else if(c)96===n&&92!==r&&(c=!1);else if(u)47===n&&92!==r&&(u=!1);else if(124!==n||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||f||d||p){switch(n){case 34:l=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var m=i-1,g=void 0;m>=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i<a.length;i++)o=Jt(o,a[i]);return o}function Jt(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_f("'+t.slice(0,n)+'")('+e+","+t.slice(n+1)}function Xt(e){console.error("[Vue compiler]: "+e)}function Qt(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function en(e,t,n){(e.props||(e.props=[])).push({name:t,value:n})}function tn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n})}function nn(e,t,n,r,i,o){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:r,arg:i,modifiers:o})}function rn(e,t,n,r,i){r&&r.capture&&(delete r.capture,t="!"+t),r&&r.once&&(delete r.once,t="~"+t);var o;r&&r.native?(delete r.native,o=e.nativeEvents||(e.nativeEvents={})):o=e.events||(e.events={});var a={value:n,modifiers:r},s=o[t];Array.isArray(s)?i?s.unshift(a):s.push(a):o[t]=s?i?[a,s]:[s,a]:a}function on(e,t,n){var r=an(e,":"+t)||an(e,"v-bind:"+t);if(null!=r)return Kt(r);if(!1!==n){var i=an(e,t);if(null!=i)return JSON.stringify(i)}}function an(e,t){var n;if(null!=(n=e.attrsMap[t]))for(var r=e.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===t){r.splice(i,1);break}return n}function sn(e,t,n){var r=n||{},i=r.number,o=r.trim,a="$$v";o&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=ln(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function ln(e,t){var n=cn(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function cn(e){if(Mo=e,Ao=Mo.length,Lo=Oo=jo=0,e.indexOf("[")<0||e.lastIndexOf("]")<Ao-1)return{exp:e,idx:null};for(;!fn();)Do=un(),dn(Do)?hn(Do):91===Do&&pn(Do);return{exp:e.substring(0,Oo),idx:e.substring(Oo+1,jo)}}function un(){return Mo.charCodeAt(++Lo)}function fn(){return Lo>=Ao}function dn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=Lo;!fn();)if(e=un(),dn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){jo=Lo;break}}function hn(e){for(var t=e;!fn()&&(e=un())!==t;);}function mn(e,t,n){Fo=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)_n(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function _n(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=ln(t,u);l&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,c,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[la]&&(t=Ni?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Ui?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=Po;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Po.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Po).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Po=t.elm,bn(n),G(n,r,xn,wn,t.context)}}function $n(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function Tn(e){var t=An(e.style);return e.staticStyle?f(e.staticStyle,t):t}function An(e){return Array.isArray(e)?h(e):"string"==typeof e?da(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Tn(i.data))&&f(r,n);(n=Tn(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=Tn(o.data))&&f(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=An(t.data.style)||{};t.data.style=u.__ob__?f({},u):u;var d=Mn(t,!0);for(o in c)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==c[o]&&ma(a,o,null==i?"":i)}}function Ln(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function jn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,_a(e.name||"v")),f(t,e),t}return"string"==typeof e?_a(e):void 0}}function Fn(e){Ea(function(){Ea(e)})}function Pn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ln(e,t)}function Nn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function In(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?$a:Sa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}function qn(e,t){var n,r=window.getComputedStyle(e),i=r[ka+"Delay"].split(", "),o=r[ka+"Duration"].split(", "),a=zn(i,o),s=r[Ca+"Delay"].split(", "),l=r[Ca+"Duration"].split(", "),c=zn(s,l),u=0,f=0;return t===xa?a>0&&(n=xa,u=a,f=o.length):t===wa?c>0&&(n=wa,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,f=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===xa&&Ta.test(r[ka+"Property"])}}function zn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Rn(t)+Rn(e[n])}))}function Rn(e){return 1e3*Number(e.slice(0,-1))}function Un(e,t){var n=e.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=jn(e.data.transition);if(i&&!n._enterCb&&1===n.nodeType){for(var o=i.css,a=i.type,s=i.enterClass,l=i.enterToClass,c=i.enterActiveClass,u=i.appearClass,f=i.appearToClass,p=i.appearActiveClass,h=i.beforeEnter,m=i.enter,g=i.afterEnter,v=i.enterCancelled,_=i.beforeAppear,b=i.appear,x=i.afterAppear,w=i.appearCancelled,k=i.duration,$=co,C=co.$vnode;C&&C.parent;)C=C.parent,$=C.context;var S=!$._isMounted||!e.isRootInsert;if(!S||b||""===b){var E=S&&u?u:s,T=S&&p?p:c,A=S&&f?f:l,M=S?_||h:h,D=S&&"function"==typeof b?b:m,L=S?x||g:g,O=S?w||v:v,j=r(d(k)?k.enter:k),F=!1!==o&&!Ii,P=Wn(D),N=n._enterCb=y(function(){F&&(Nn(n,A),Nn(n,T)),N.cancelled?(F&&Nn(n,E),O&&O(n)):L&&L(n),n._enterCb=null});e.data.show||Z(e.data.hook||(e.data.hook={}),"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),D&&D(n,N)}),M&&M(n),F&&(Pn(n,E),Pn(n,T),Fn(function(){Pn(n,A),Nn(n,E),N.cancelled||P||(Hn(j)?setTimeout(N,j):In(n,a,N))})),e.data.show&&(t&&t(),D&&D(n,N)),F||P||N()}}}function Bn(e,t){function n(){w.cancelled||(e.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),f&&f(i),_&&(Pn(i,l),Pn(i,u),Fn(function(){Pn(i,c),Nn(i,l),w.cancelled||b||(Hn(x)?setTimeout(w,x):In(i,s,w))})),p&&p(i,w),_||b||w())}var i=e.elm;i._enterCb&&(i._enterCb.cancelled=!0,i._enterCb());var o=jn(e.data.transition);if(!o)return t();if(!i._leaveCb&&1===i.nodeType){var a=o.css,s=o.type,l=o.leaveClass,c=o.leaveToClass,u=o.leaveActiveClass,f=o.beforeLeave,p=o.leave,h=o.afterLeave,m=o.leaveCancelled,g=o.delayLeave,v=o.duration,_=!1!==a&&!Ii,b=Wn(p),x=r(d(v)?v.leave:v),w=i._leaveCb=y(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),_&&(Nn(i,c),Nn(i,u)),w.cancelled?(_&&Nn(i,l),m&&m(i)):(t(),h&&h(i)),i._leaveCb=null});g?g(n):n()}}function Hn(e){return"number"==typeof e&&!isNaN(e)}function Wn(e){if(!e)return!1;var t=e.fns;return t?Wn(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Vn(e,t){t.data.show||Un(t)}function Yn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=v(r,Zn(a))>-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n<r;n++)if(g(Zn(t[n]),e))return!1;return!0}function Zn(e){return"_value"in e?e._value:e.value}function Kn(e){e.target.composing=!0}function Jn(e){e.target.composing=!1,Xn(e.target,"input")}function Xn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Qn(e){return!e.componentInstance||e.data&&e.data.transition?e:Qn(e.componentInstance._vnode)}function er(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?er(Q(t.children)):e}function tr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[$i(o)]=i[o];return t}function nr(e,t){return/\d-keep-alive$/.test(t.tag)?e("keep-alive"):null}function rr(e){for(;e=e.parent;)if(e.data.transition)return!0}function ir(e,t){return t.key===e.key&&t.tag===e.tag}function or(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ar(e){e.data.newPos=e.elm.getBoundingClientRect()}function sr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function lr(e){return Ra=Ra||document.createElement("div"),Ra.innerHTML=e,Ra.textContent}function cr(e,t){var n=t?$s:ks;return e.replace(n,function(e){return ws[e]})}function ur(e,t){function n(t){u+=t,e=e.substring(t)}function r(e,n,r){var i,s;if(null==n&&(n=u),null==r&&(r=u),e&&(s=e.toLowerCase()),e)for(i=a.length-1;i>=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ai,c=t.canBeLeftOpenTag||Ai,u=0;e;){if(i=e,o&&bs(o)){var f=o.toLowerCase(),d=xs[f]||(xs[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,bs(f)||"noscript"===f||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Qa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Xa);if(y){n(y[0].length);continue}var _=e.match(Ja);if(_){var b=u;n(_[0].length),r(_[1],b,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p<f;p++){var h=e.attrs[p];ts&&-1===h[0].indexOf('""')&&(""===h[3]&&delete h[3],""===h[4]&&delete h[4],""===h[5]&&delete h[5]);var m=h[3]||h[4]||h[5]||"";d[p]={name:h[1],value:cr(m,t.shouldDecodeNewlines)}}u||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d}),o=n),t.start&&t.start(n,d,u,e.start,e.end)}(x);continue}}var w=void 0,k=void 0,$=void 0;if(m>=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Qa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a<e.length&&o.push(JSON.stringify(e.slice(a))),o.join("+")}}function dr(e,t){function n(e){e.pre&&(s=!1),ss(e.tag)&&(l=!1)}ns=t.warn||Xt,cs=t.getTagNamespace||Ai,ls=t.mustUseProp||Ai,ss=t.isPreTag||Ai,os=Qt(t.modules,"preTransformNode"),is=Qt(t.modules,"transformNode"),as=Qt(t.modules,"postTransformNode"),rs=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,l=!1;return ur(e,{warn:ns,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,a,c){var u=i&&i.ns||cs(e);Ni&&"svg"===u&&(a=Mr(a));var f={type:1,tag:e,attrsList:a,attrsMap:Tr(a),parent:i,children:[]};u&&(f.ns=u),Ar(f)&&!Bi()&&(f.forbidden=!0);for(var d=0;d<os.length;d++)os[d](f,t);if(s||(pr(f),f.pre&&(s=!0)),ss(f.tag)&&(l=!0),s)hr(f);else{vr(f),yr(f),wr(f),mr(f),f.plain=!f.key&&!a.length,gr(f),kr(f),$r(f);for(var p=0;p<is.length;p++)is[p](f,t);Cr(f)}if(r?o.length||r.if&&(f.elseif||f.else)&&xr(r,{exp:f.elseif,block:f}):r=f,i&&!f.forbidden)if(f.elseif||f.else)_r(f,i);else if(f.slotScope){i.plain=!1;var h=f.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[h]=f}else i.children.push(f),f.parent=i;c?n(f):(i=f,o.push(f));for(var m=0;m<as.length;m++)as[m](f,t)},end:function(){var e=o[o.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!l&&e.children.pop(),o.length-=1,i=o[o.length-1],n(e)},chars:function(e){if(i&&(!Ni||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var t=i.children;if(e=l||e.trim()?js(e):a&&t.length?" ":""){var n;!s&&" "!==e&&(n=fr(e,rs))?t.push({type:2,expression:n,text:e}):" "===e&&t.length&&" "===t[t.length-1].text||t.push({type:3,text:e})}}}}),r}function pr(e){null!=an(e,"v-pre")&&(e.pre=!0)}function hr(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}function mr(e){var t=on(e,"key");t&&(e.key=t)}function gr(e){var t=on(e,"ref");t&&(e.ref=t,e.refInFor=Sr(e))}function vr(e){var t;if(t=an(e,"v-for")){var n=t.match(As);if(!n)return;e.for=n[2].trim();var r=n[1].trim(),i=r.match(Ms);i?(e.alias=i[1].trim(),e.iterator1=i[2].trim(),i[3]&&(e.iterator2=i[3].trim())):e.alias=r}}function yr(e){var t=an(e,"v-if");if(t)e.if=t,xr(e,{exp:t,block:e});else{null!=an(e,"v-else")&&(e.else=!0);var n=an(e,"v-else-if");n&&(e.elseif=n)}}function _r(e,t){var n=br(t.children);n&&n.if&&xr(n,{exp:e.elseif,block:e})}function br(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function xr(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function wr(e){null!=an(e,"v-once")&&(e.once=!0)}function kr(e){if("slot"===e.tag)e.slotName=on(e,"name");else{var t=on(e,"slot");t&&(e.slotTarget='""'===t?'"default"':t),"template"===e.tag&&(e.slotScope=an(e,"scope"))}}function $r(e){var t;(t=on(e,"is"))&&(e.component=t),null!=an(e,"inline-template")&&(e.inlineTemplate=!0)}function Cr(e){var t,n,r,i,o,a,s,l=e.attrsList;for(t=0,n=l.length;t<n;t++)if(r=i=l[t].name,o=l[t].value,Ts.test(r))if(e.hasBindings=!0,a=Er(r),a&&(r=r.replace(Os,"")),Ls.test(r))r=r.replace(Ls,""),o=Kt(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=$i(r))&&(r="innerHTML")),a.camel&&(r=$i(r))),s||ls(e.tag,e.attrsMap.type,r)?en(e,r,o):tn(e,r,o);else if(Es.test(r))r=r.replace(Es,""),rn(e,r,o,a);else{r=r.replace(Ts,"");var c=r.match(Ds),u=c&&c[1];u&&(r=r.slice(0,-(u.length+1))),nn(e,r,i,o,u,a)}else{tn(e,r,JSON.stringify(o))}}function Sr(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function Er(e){var t=e.match(Os);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function Tr(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}function Ar(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function Mr(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Fs.test(r.name)||(r.name=r.name.replace(Ps,""),t.push(r))}return t}function Dr(e,t){e&&(us=Ns(t.staticKeys||""),fs=t.isReservedTag||Ai,Or(e),jr(e,!1))}function Lr(e){return i("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}function Or(e){if(e.static=Pr(e),1===e.type){if(!fs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Or(r),r.static||(e.static=!1)}}}function jr(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)jr(e.children[n],t||!!e.for);e.ifConditions&&Fr(e.ifConditions,t)}}function Fr(e,t){for(var n=1,r=e.length;n<r;n++)jr(e[n].block,t)}function Pr(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||wi(e.tag)||!fs(e.tag)||Nr(e)||!Object.keys(e).every(us))))}function Nr(e){for(;e.parent;){if(e=e.parent,"template"!==e.tag)return!1;if(e.for)return!0}return!1}function Ir(e,t){var n=t?"nativeOn:{":"on:{";for(var r in e)n+='"'+r+'":'+qr(r,e[r])+",";return n.slice(0,-1)+"}"}function qr(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return qr(e,t)}).join(",")+"]";var n=qs.test(t.value),r=Is.test(t.value);if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)Us[s]?(o+=Us[s],zs[s]&&a.push(s)):a.push(s);a.length&&(i+=zr(a)),o&&(i+=o);return"function($event){"+i+(n?t.value+"($event)":r?"("+t.value+")($event)":t.value)+"}"}return n||r?t.value:"function($event){"+t.value+"}"}function zr(e){return"if(!('button' in $event)&&"+e.map(Rr).join("&&")+")return null;"}function Rr(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=zs[e];return"_k($event.keyCode,"+JSON.stringify(e)+(n?","+JSON.stringify(n):"")+")"}function Ur(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+(t.modifiers&&t.modifiers.prop?",true":"")+")"}}function Br(e,t){var n=vs,r=vs=[],i=ys;ys=0,_s=t,ds=t.warn||Xt,ps=Qt(t.modules,"transformCode"),hs=Qt(t.modules,"genData"),ms=t.directives||{},gs=t.isReservedTag||Ai;var o=e?Hr(e):'_c("div")';return vs=n,ys=i,{render:"with(this){return "+o+"}",staticRenderFns:r}}function Hr(e){if(e.staticRoot&&!e.staticProcessed)return Wr(e);if(e.once&&!e.onceProcessed)return Vr(e);if(e.for&&!e.forProcessed)return Zr(e);if(e.if&&!e.ifProcessed)return Yr(e);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return si(e);var t;if(e.component)t=li(e.component,e);else{var n=e.plain?void 0:Kr(e),r=e.inlineTemplate?null:ti(e,!0);t="_c('"+e.tag+"'"+(n?","+n:"")+(r?","+r:"")+")"}for(var i=0;i<ps.length;i++)t=ps[i](e,t);return t}return ti(e)||"void 0"}
|
||
function Wr(e){return e.staticProcessed=!0,vs.push("with(this){return "+Hr(e)+"}"),"_m("+(vs.length-1)+(e.staticInFor?",true":"")+")"}function Vr(e){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Yr(e);if(e.staticInFor){for(var t="",n=e.parent;n;){if(n.for){t=n.key;break}n=n.parent}return t?"_o("+Hr(e)+","+ys+++(t?","+t:"")+")":Hr(e)}return Wr(e)}function Yr(e){return e.ifProcessed=!0,Gr(e.ifConditions.slice())}function Gr(e){function t(e){return e.once?Vr(e):Hr(e)}if(!e.length)return"_e()";var n=e.shift();return n.exp?"("+n.exp+")?"+t(n.block)+":"+Gr(e):""+t(n.block)}function Zr(e){var t=e.for,n=e.alias,r=e.iterator1?","+e.iterator1:"",i=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+t+"),function("+n+r+i+"){return "+Hr(e)+"})"}function Kr(e){var t="{",n=Jr(e);n&&(t+=n+","),e.key&&(t+="key:"+e.key+","),e.ref&&(t+="ref:"+e.ref+","),e.refInFor&&(t+="refInFor:true,"),e.pre&&(t+="pre:true,"),e.component&&(t+='tag:"'+e.tag+'",');for(var r=0;r<hs.length;r++)t+=hs[r](e);if(e.attrs&&(t+="attrs:{"+ci(e.attrs)+"},"),e.props&&(t+="domProps:{"+ci(e.props)+"},"),e.events&&(t+=Ir(e.events)+","),e.nativeEvents&&(t+=Ir(e.nativeEvents,!0)+","),e.slotTarget&&(t+="slot:"+e.slotTarget+","),e.scopedSlots&&(t+=Qr(e.scopedSlots)+","),e.model&&(t+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=Xr(e);i&&(t+=i+",")}return t=t.replace(/,$/,"")+"}",e.wrapData&&(t=e.wrapData(t)),t}function Jr(e){var t=e.directives;if(t){var n,r,i,o,a="directives:[",s=!1;for(n=0,r=t.length;n<r;n++){i=t[n],o=!0;var l=ms[i.name]||Bs[i.name];l&&(o=!!l(e,i,ds)),o&&(s=!0,a+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function Xr(e){var t=e.children[0];if(1===t.type){var n=Br(t,_s);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function Qr(e){return"scopedSlots:_u(["+Object.keys(e).map(function(t){return ei(t,e[t])}).join(",")+"])"}function ei(e,t){return"["+e+",function("+String(t.attrsMap.scope)+"){return "+("template"===t.tag?ti(t)||"void 0":Hr(t))+"}]"}function ti(e,t){var n=e.children;if(n.length){var r=n[0];if(1===n.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return Hr(r);var i=t?ni(n):0;return"["+n.map(oi).join(",")+"]"+(i?","+i:"")}}function ni(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];if(1===r.type){if(ri(r)||r.ifConditions&&r.ifConditions.some(function(e){return ri(e.block)})){t=2;break}(ii(r)||r.ifConditions&&r.ifConditions.some(function(e){return ii(e.block)}))&&(t=1)}}return t}function ri(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ii(e){return!gs(e.tag)}function oi(e){return 1===e.type?Hr(e):ai(e)}function ai(e){return"_v("+(2===e.type?e.expression:ui(JSON.stringify(e.text)))+")"}function si(e){var t=e.slotName||'"default"',n=ti(e),r="_t("+t+(n?","+n:""),i=e.attrs&&"{"+e.attrs.map(function(e){return $i(e.name)+":"+e.value}).join(",")+"}",o=e.attrsMap["v-bind"];return!i&&!o||n||(r+=",null"),i&&(r+=","+i),o&&(r+=(i?"":",null")+","+o),r+")"}function li(e,t){var n=t.inlineTemplate?null:ti(t,!0);return"_c("+e+","+Kr(t)+(n?","+n:"")+")"}function ci(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+ui(r.value)+","}return t.slice(0,-1)}function ui(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function fi(e,t){var n=dr(e.trim(),t);Dr(n,t);var r=Br(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}function di(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),m}}function pi(e,t){var n=(t.warn,an(e,"class"));n&&(e.staticClass=JSON.stringify(n));var r=on(e,"class",!1);r&&(e.classBinding=r)}function hi(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}function mi(e,t){var n=(t.warn,an(e,"style"));if(n){e.staticStyle=JSON.stringify(da(n))}var r=on(e,"style",!1);r&&(e.styleBinding=r)}function gi(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}function vi(e,t){t.value&&en(e,"textContent","_s("+t.value+")")}function yi(e,t){t.value&&en(e,"innerHTML","_s("+t.value+")")}function _i(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var bi,xi,wi=i("slot,component",!0),ki=Object.prototype.hasOwnProperty,$i=l(function(e){return e.replace(/-(\w)/g,function(e,t){return t?t.toUpperCase():""})}),Ci=l(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Si=l(function(e){return e.replace(/([^-])([A-Z])/g,"$1-$2").replace(/([^-])([A-Z])/g,"$1-$2").toLowerCase()}),Ei=Object.prototype.toString,Ti="[object Object]",Ai=function(){return!1},Mi=function(e){return e},Di={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Ai,isUnknownElement:Ai,getTagNamespace:m,parsePlatformTagName:Mi,mustUseProp:Ai,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},Li=Object.freeze({}),Oi=/[^\w.$]/,ji="__proto__"in{},Fi="undefined"!=typeof window,Pi=Fi&&window.navigator.userAgent.toLowerCase(),Ni=Pi&&/msie|trident/.test(Pi),Ii=Pi&&Pi.indexOf("msie 9.0")>0,qi=Pi&&Pi.indexOf("edge/")>0,zi=Pi&&Pi.indexOf("android")>0,Ri=Pi&&/iphone|ipad|ipod|ios/.test(Pi),Ui=Pi&&/chrome\/\d+/.test(Pi)&&!qi,Bi=function(){return void 0===bi&&(bi=!Fi&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Hi=Fi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t<e.length;t++)e[t]()}var t,n=[],r=!1;if("undefined"!=typeof Promise&&w(Promise)){var i=Promise.resolve(),o=function(e){console.error(e)};t=function(){i.then(e).catch(o),Ri&&setTimeout(m)}}else if("undefined"==typeof MutationObserver||!w(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())t=function(){setTimeout(e,0)};else{var a=1,s=new MutationObserver(e),l=document.createTextNode(String(a));s.observe(l,{characterData:!0}),t=function(){a=(a+1)%2,l.data=String(a)}}return function(e,i){var o;if(n.push(function(){e&&e.call(i),o&&o(i)}),r||(r=!0,t()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){o=e})}}();xi="undefined"!=typeof Set&&w(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Yi=m,Gi=0,Zi=function(){this.id=Gi++,this.subs=[]};Zi.prototype.addSub=function(e){this.subs.push(e)},Zi.prototype.removeSub=function(e){o(this.subs,e)},Zi.prototype.depend=function(){Zi.target&&Zi.target.addDep(this)},Zi.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Zi.target=null;var Ki=[],Ji=Array.prototype,Xi=Object.create(Ji);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Ji[e];b(Xi,e,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=t.apply(this,i),s=this.__ob__;switch(e){case"push":case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Qi=Object.getOwnPropertyNames(Xi),eo={shouldConvert:!0,isSettingProps:!1},to=function(e){if(this.value=e,this.dep=new Zi,this.vmCount=0,b(e,"__ob__",this),Array.isArray(e)){(ji?C:S)(e,Xi,Qi),this.observeArray(e)}else this.walk(e)};to.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)T(e,t[n],e[t[n]])},to.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)E(e[t])};var no=Di.optionMergeStrategies;no.data=function(e,t,n){return n?e||t?function(){var r="function"==typeof t?t.call(n):t,i="function"==typeof e?e.call(n):void 0;return r?L(r,i):i}:void 0:t?"function"!=typeof t?e:e?function(){return L(t.call(this),e.call(this))}:t:e},Di._lifecycleHooks.forEach(function(e){no[e]=O}),Di._assetTypes.forEach(function(e){no[e+"s"]=j}),no.watch=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n={};f(n,e);for(var r in t){var i=n[r],o=t[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},no.props=no.methods=no.computed=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n=Object.create(null);return f(n,e),f(n,t),n};var ro=function(e,t){return void 0===t?e:t},io=function(e,t,n,r,i,o,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},oo={child:{}};oo.child.get=function(){return this.componentInstance},Object.defineProperties(io.prototype,oo);var ao,so=function(){var e=new io;return e.text="",e.isComment=!0,e},lo=l(function(e){var t="~"===e.charAt(0);e=t?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:t,capture:n}}),co=null,uo=[],fo={},po=!1,ho=!1,mo=0,go=0,vo=function(e,t,n,r){this.vm=e,e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++go,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new xi,this.newDepIds=new xi,this.expression="","function"==typeof t?this.getter=t:(this.getter=x(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};vo.prototype.get=function(){k(this);var e,t=this.vm;if(this.user)try{e=this.getter.call(t,t)}catch(e){B(e,t,'getter for watcher "'+this.expression+'"')}else e=this.getter.call(t,t);return this.deep&&ve(e),$(),this.cleanupDeps(),e},vo.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},vo.prototype.cleanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},vo.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ge(this)},vo.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||d(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){B(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},vo.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vo.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},vo.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||o(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1}};var yo=new xi,_o={enumerable:!0,configurable:!0,get:m,set:m},bo={lazy:!0},xo={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=Le(e,co,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var i=e;xo.prepatch(i,i)}},prepatch:function(e,t){var n=t.componentOptions;ce(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){e.componentInstance._isMounted||(e.componentInstance._isMounted=!0,pe(e.componentInstance,"mounted")),e.data.keepAlive&&fe(e.componentInstance,!0)},destroy:function(e){e.componentInstance._isDestroyed||(e.data.keepAlive?de(e.componentInstance,!0):e.componentInstance.$destroy())}},wo=Object.keys(xo),ko=1,$o=2,Co=0;!function(e){e.prototype._init=function(e){var t=this;t._uid=Co++,t._isVue=!0,e&&e._isComponent?et(t,e):t.$options=N(tt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,se(t),ee(t),Je(t),pe(t,"beforeCreate"),Qe(t),be(t),Xe(t),pe(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(it),function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=A,e.prototype.$delete=M,e.prototype.$watch=function(e,t,n){var r=this;n=n||{},n.user=!0;var i=new vo(r,e,t,n);return n.immediate&&t.call(r,i.value),function(){i.teardown()}}}(it),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this,i=this;if(Array.isArray(e))for(var o=0,a=e.length;o<a;o++)r.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return r}var a=r._events[e];if(!a)return r;if(1===arguments.length)return r._events[e]=null,r;for(var s,l=a.length;l--;)if((s=a[l])===t||s.fn===t){a.splice(l,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(t,r)}return t}}(it),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&pe(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=co;co=n,n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),co=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){pe(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||o(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),pe(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$options._parentElm=e.$options._refElm=null}}}(it),function(e){e.prototype.$nextTick=function(e){return Vi(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t.staticRenderFns,i=t._parentVnode;if(e._isMounted)for(var o in e.$slots)e.$slots[o]=V(e.$slots[o]);e.$scopedSlots=i&&i.data.scopedSlots||Li,r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=i;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){B(t,e,"render function"),a=e._vnode}return a instanceof io||(a=so()),a.parent=i,a},e.prototype._o=Ge,e.prototype._n=r,e.prototype._s=n,e.prototype._l=Ue,e.prototype._t=Be,e.prototype._q=g,e.prototype._i=v,e.prototype._m=Ye,e.prototype._f=He,e.prototype._k=We,e.prototype._b=Ve,e.prototype._v=H,e.prototype._e=so,e.prototype._u=ae}(it);var So=[String,RegExp],Eo={name:"keep-alive",abstract:!0,props:{include:So,exclude:So},created:function(){this.cache=Object.create(null)},destroyed:function(){var e=this;for(var t in e.cache)ht(e.cache[t])},watch:{include:function(e){pt(this.cache,function(t){return dt(e,t)})},exclude:function(e){pt(this.cache,function(t){return!dt(e,t)})}},render:function(){var e=Q(this.$slots.default),t=e&&e.componentOptions;if(t){var n=ft(t);if(n&&(this.include&&!dt(this.include,n)||this.exclude&&dt(this.exclude,n)))return e;var r=null==e.key?t.Ctor.cid+(t.tag?"::"+t.tag:""):e.key;this.cache[r]?e.componentInstance=this.cache[r].componentInstance:this.cache[r]=e,e.data.keepAlive=!0}return e}},To={KeepAlive:Eo};!function(e){var t={};t.get=function(){return Di},Object.defineProperty(e,"config",t),e.util={warn:Yi,extend:f,mergeOptions:N,defineReactive:T},e.set=A,e.delete=M,e.nextTick=Vi,e.options=Object.create(null),Di._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,f(e.options.components,To),ot(e),at(e),st(e),ut(e)}(it),Object.defineProperty(it.prototype,"$isServer",{get:Bi}),it.version="2.2.6";var Ao,Mo,Do,Lo,Oo,jo,Fo,Po,No,Io=i("input,textarea,option,select"),qo=function(e,t,n){return"value"===n&&Io(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},zo=i("contenteditable,draggable,spellcheck"),Ro=i("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Uo="http://www.w3.org/1999/xlink",Bo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ho=function(e){return Bo(e)?e.slice(6,e.length):""},Wo=function(e){return null==e||!1===e},Vo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Yo=i("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Go=i("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Zo=function(e){return"pre"===e},Ko=function(e){return Yo(e)||Go(e)},Jo=Object.create(null),Xo=Object.freeze({createElement:kt,createElementNS:$t,createTextNode:Ct,createComment:St,insertBefore:Et,removeChild:Tt,appendChild:At,parentNode:Mt,nextSibling:Dt,tagName:Lt,setTextContent:Ot,setAttribute:jt}),Qo={create:function(e,t){Ft(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ft(e,!0),Ft(t))},destroy:function(e){Ft(e,!0)}},ea=new io("",{},[]),ta=["create","activate","update","remove","destroy"],na={create:Ut,update:Ut,destroy:function(e){Ut(e,ea)}},ra=Object.create(null),ia=[Qo,na],oa={create:Yt,update:Yt},aa={create:Zt,update:Zt},sa=/[\w).+\-_$\]]/,la="__r",ca="__c",ua={create:kn,update:kn},fa={create:$n,update:$n},da=l(function(e){var t={};return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var n=e.split(/:(.+)/);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(No=No||document.createElement("div"),"filter"!==(e=$i(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<ga.length;n++){var r=ga[n]+t;if(r in No.style)return r}}),ya={create:Dn,update:Dn},_a=l(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ba=Fi&&!Ii,xa="transition",wa="animation",ka="transition",$a="transitionend",Ca="animation",Sa="animationend";ba&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ka="WebkitTransition",$a="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ca="WebkitAnimation",Sa="webkitAnimationEnd"));var Ea=Fi&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,Ta=/\b(transform|all)(,|$)/,Aa=Fi?{create:Vn,activate:Vn,remove:function(e,t){e.data.show?t():Bn(e,t)}}:{},Ma=[oa,aa,ua,fa,ya,Aa],Da=Ma.concat(ia),La=function(e){function t(e){return new io(E.tagName(e).toLowerCase(),{},[],void 0,e)}function n(e,t){function n(){0==--n.listeners&&r(e)}return n.listeners=t,n}function r(e){var t=E.parentNode(e);Nt(t)&&E.removeChild(t,e)}function o(e,t,n,r,i){if(e.isRootInsert=!i,!a(e,t,n,r)){var o=e.data,s=e.children,l=e.tag;Nt(l)?(e.elm=e.ns?E.createElementNS(e.ns,l):E.createElement(l,e),h(e),f(e,s,t),Nt(o)&&p(e,t),u(n,e.elm,r)):It(e.isComment)?(e.elm=E.createComment(e.text),u(n,e.elm,r)):(e.elm=E.createTextNode(e.text),u(n,e.elm,r))}}function a(e,t,n,r){var i=e.data;if(Nt(i)){var o=Nt(e.componentInstance)&&i.keepAlive;if(Nt(i=i.hook)&&Nt(i=i.init)&&i(e,!1,n,r),Nt(e.componentInstance))return l(e,t),It(o)&&c(e,t,n,r),!0}}function l(e,t){Nt(e.data.pendingInsert)&&t.push.apply(t,e.data.pendingInsert),e.elm=e.componentInstance.$el,d(e)?(p(e,t),h(e)):(Ft(e),t.push(e))}function c(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,Nt(i=o.data)&&Nt(i=i.transition)){for(i=0;i<C.activate.length;++i)C.activate[i](ea,o);t.push(o);break}u(n,e.elm,r)}function u(e,t,n){Nt(e)&&(Nt(n)?E.insertBefore(e,t,n):E.appendChild(e,t))}function f(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)o(t[r],n,e.elm,null,!0);else s(e.text)&&E.appendChild(e.elm,E.createTextNode(e.text))}function d(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return Nt(e.tag)}function p(e,t){for(var n=0;n<C.create.length;++n)C.create[n](ea,e);k=e.data.hook,Nt(k)&&(Nt(k.create)&&k.create(ea,e),Nt(k.insert)&&t.push(e))}function h(e){for(var t,n=e;n;)Nt(t=n.context)&&Nt(t=t.$options._scopeId)&&E.setAttribute(e.elm,t,""),n=n.parent;Nt(t=co)&&t!==e.context&&Nt(t=t.$options._scopeId)&&E.setAttribute(e.elm,t,"")}function m(e,t,n,r,i,a){for(;r<=i;++r)o(n[r],a,e,t)}function g(e){var t,n,r=e.data;if(Nt(r))for(Nt(t=r.hook)&&Nt(t=t.destroy)&&t(e),t=0;t<C.destroy.length;++t)C.destroy[t](e);if(Nt(t=e.children))for(n=0;n<e.children.length;++n)g(e.children[n])}function v(e,t,n,i){for(;n<=i;++n){var o=t[n];Nt(o)&&(Nt(o.tag)?(y(o),g(o)):r(o.elm))}}function y(e,t){if(Nt(t)||Nt(e.data)){var i=C.remove.length+1;for(Nt(t)?t.listeners+=i:t=n(e.elm,i),Nt(k=e.componentInstance)&&Nt(k=k._vnode)&&Nt(k.data)&&y(k,t),k=0;k<C.remove.length;++k)C.remove[k](e,t);Nt(k=e.data.hook)&&Nt(k=k.remove)?k(e,t):t()}else r(e.elm)}function _(e,t,n,r,i){for(var a,s,l,c,u=0,f=0,d=t.length-1,p=t[0],h=t[d],g=n.length-1,y=n[0],_=n[g],x=!i;u<=d&&f<=g;)Pt(p)?p=t[++u]:Pt(h)?h=t[--d]:qt(p,y)?(b(p,y,r),p=t[++u],y=n[++f]):qt(h,_)?(b(h,_,r),h=t[--d],_=n[--g]):qt(p,_)?(b(p,_,r),x&&E.insertBefore(e,p.elm,E.nextSibling(h.elm)),p=t[++u],_=n[--g]):qt(h,y)?(b(h,y,r),x&&E.insertBefore(e,h.elm,p.elm),h=t[--d],y=n[++f]):(Pt(a)&&(a=Rt(t,u,d)),s=Nt(y.key)?a[y.key]:null,Pt(s)?(o(y,r,e,p.elm),y=n[++f]):(l=t[s],qt(l,y)?(b(l,y,r),t[s]=void 0,x&&E.insertBefore(e,y.elm,p.elm),y=n[++f]):(o(y,r,e,p.elm),y=n[++f])));u>d?(c=Pt(n[g+1])?null:n[g+1].elm,m(e,c,n,f,g,r)):f>g&&v(e,t,u,d)}function b(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(Nt(o)&&d(t)){for(i=0;i<C.update.length;++i)C.update[i](e,t);Nt(i=o.hook)&&Nt(i=i.update)&&i(e,t)}Pt(t.text)?Nt(s)&&Nt(l)?s!==l&&_(a,s,l,n,r):Nt(l)?(Nt(e.text)&&E.setTextContent(a,""),m(a,null,l,0,l.length-1,n)):Nt(s)?v(a,s,0,s.length-1):Nt(e.text)&&E.setTextContent(a,""):e.text!==t.text&&E.setTextContent(a,t.text),Nt(o)&&Nt(i=o.hook)&&Nt(i=i.postpatch)&&i(e,t)}}function x(e,t,n){if(It(n)&&Nt(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}function w(e,t,n){t.elm=e;var r=t.tag,i=t.data,o=t.children;if(Nt(i)&&(Nt(k=i.hook)&&Nt(k=k.init)&&k(t,!0),Nt(k=t.componentInstance)))return l(t,n),!0;if(Nt(r)){if(Nt(o))if(e.hasChildNodes()){for(var a=!0,s=e.firstChild,c=0;c<o.length;c++){if(!s||!w(s,o[c],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else f(t,o,n);if(Nt(i))for(var u in i)if(!T(u)){p(t,n);break}}else e.data!==t.text&&(e.data=t.text);return!0}var k,$,C={},S=e.modules,E=e.nodeOps;for(k=0;k<ta.length;++k)for(C[ta[k]]=[],$=0;$<S.length;++$)Nt(S[$][ta[k]])&&C[ta[k]].push(S[$][ta[k]]);var T=i("attrs,style,class,staticClass,staticStyle,key");return function(e,n,r,i,a,s){if(Pt(n))return void(Nt(e)&&g(e));var l=!1,c=[];if(Pt(e))l=!0,o(n,c,a,s);else{var u=Nt(e.nodeType);if(!u&&qt(e,n))b(e,n,c,i);else{if(u){if(1===e.nodeType&&e.hasAttribute("server-rendered")&&(e.removeAttribute("server-rendered"),r=!0),It(r)&&w(e,n,c))return x(n,c,!0),e;e=t(e)}var f=e.elm,p=E.parentNode(f);if(o(n,c,f._leaveCb?null:p,E.nextSibling(f)),Nt(n.parent)){for(var h=n.parent;h;)h.elm=n.elm,h=h.parent;if(d(n))for(var m=0;m<C.create.length;++m)C.create[m](ea,n.parent)}Nt(p)?v(p,[e],0,0):Nt(e.tag)&&g(e)}}return x(n,c,l),n.elm}}({nodeOps:Xo,modules:Da});Ii&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Xn(e,"input")});var Oa={inserted:function(e,t,n){if("select"===n.tag){var r=function(){Yn(e,t,n.context)};r(),(Ni||qi)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==e.type&&"password"!==e.type||(e._vModifiers=t.modifiers,t.modifiers.lazy||(zi||(e.addEventListener("compositionstart",Kn),e.addEventListener("compositionend",Jn)),Ii&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Yn(e,t,n.context);(e.multiple?t.value.some(function(t){return Gn(t,e.options)}):t.value!==t.oldValue&&Gn(t.value,e.options))&&Xn(e,"change")}}},ja={bind:function(e,t,n){var r=t.value;n=Qn(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i&&!Ii?(n.data.show=!0,Un(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;r!==t.oldValue&&(n=Qn(n),n.data&&n.data.transition&&!Ii?(n.data.show=!0,r?Un(n,function(){e.style.display=e.__vOriginalDisplay}):Bn(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Fa={model:Oa,show:ja},Pa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Na={name:"transition",props:Pa,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag}),n.length)){var r=this.mode,i=n[0];if(rr(this.$vnode))return i;var o=er(i);if(!o)return i;if(this._leaving)return nr(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=tr(this),c=this._vnode,u=er(c);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),u&&u.data&&!ir(o,u)){var d=u&&(u.data.transition=f({},l));if("out-in"===r)return this._leaving=!0,Z(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),nr(e,i);if("in-out"===r){var p,h=function(){p()};Z(l,"afterEnter",h),Z(l,"enterCancelled",h),Z(d,"delayLeave",function(e){p=e})}}return i}}},Ia=f({tag:String,moveClass:String},Pa);delete Ia.mode;var qa={props:Ia,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=tr(this),s=0;s<i.length;s++){var l=i[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(r){for(var c=[],u=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):u.push(d)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";if(e.length&&this.hasMove(e[0].elm,t)){e.forEach(or),e.forEach(ar),e.forEach(sr);var n=document.body;n.offsetHeight;e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;Pn(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener($a,n._moveCb=function e(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener($a,e),n._moveCb=null,Nn(n,t))})}})}},methods:{hasMove:function(e,t){if(!ba)return!1;if(null!=this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){On(n,e)}),Ln(n,t),n.style.display="none",this.$el.appendChild(n);var r=qn(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},za={Transition:Na,TransitionGroup:qa};it.config.mustUseProp=qo,it.config.isReservedTag=Ko,it.config.getTagNamespace=bt,it.config.isUnknownElement=xt,f(it.options.directives,Fa),f(it.options.components,za),it.prototype.__patch__=Fi?La:m,it.prototype.$mount=function(e,t){return e=e&&Fi?wt(e):void 0,le(this,e,t)},setTimeout(function(){Di.devtools&&Hi&&Hi.emit("init",it)},0);var Ra,Ua=!!Fi&&function(e,t){var n=document.createElement("div");return n.innerHTML='<div a="'+e+'">',n.innerHTML.indexOf(t)>0}("\n"," "),Ba=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ha=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Xa=/^<!DOCTYPE [^>]+>/i,Qa=/^<!--/,es=/^<!\[/,ts=!1;"x".replace(/x(.)?/g,function(e,t){ts=""===t});var ns,rs,is,os,as,ss,ls,cs,us,fs,ds,ps,hs,ms,gs,vs,ys,_s,bs=i("script,style,textarea",!0),xs={},ws={"<":"<",">":">",""":'"',"&":"&"," ":"\n"},ks=/&(?:lt|gt|quot|amp);/g,$s=/&(?:lt|gt|quot|amp|#10);/g,Cs=/\{\{((?:.|\n)+?)\}\}/g,Ss=l(function(e){var t=e[0].replace(/[-.*+?^${}()|[\]\/\\]/g,"\\$&"),n=e[1].replace(/[-.*+?^${}()|[\]\/\\]/g,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),Es=/^@|^v-on:/,Ts=/^v-|^@|^:/,As=/(.*?)\s+(?:in|of)\s+(.*)/,Ms=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,Ds=/:(.*)$/,Ls=/^:|^v-bind:/,Os=/\.[^.]+/g,js=l(lr),Fs=/^xmlns:NS\d+/,Ps=/^NS\d+:/,Ns=l(Lr),Is=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,qs=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,zs={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Rs=function(e){return"if("+e+")return null;"},Us={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Rs("$event.target !== $event.currentTarget"),ctrl:Rs("!$event.ctrlKey"),shift:Rs("!$event.shiftKey"),alt:Rs("!$event.altKey"),meta:Rs("!$event.metaKey"),left:Rs("'button' in $event && $event.button !== 0"),middle:Rs("'button' in $event && $event.button !== 1"),right:Rs("'button' in $event && $event.button !== 2")},Bs={bind:Ur,cloak:m
|
||
},Hs=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),{staticKeys:["staticClass"],transformNode:pi,genData:hi}),Ws={staticKeys:["staticStyle"],transformNode:mi,genData:gi},Vs=[Hs,Ws],Ys={model:mn,text:vi,html:yi},Gs={expectHTML:!0,modules:Vs,directives:Ys,isPreTag:Zo,isUnaryTag:Ba,mustUseProp:qo,canBeLeftOpenTag:Ha,isReservedTag:Ko,getTagNamespace:bt,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Vs)},Zs=function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(r.warn=function(e,t){(t?o:i).push(e)},n){n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=f(Object.create(e.directives),n.directives));for(var a in n)"modules"!==a&&"directives"!==a&&(r[a]=n[a])}var s=fi(t,r);return s.errors=i,s.tips=o,s}function n(e,n,i){n=n||{};var o=n.delimiters?String(n.delimiters)+e:e;if(r[o])return r[o];var a=t(e,n),s={},l=[];s.render=di(a.render,l);var c=a.staticRenderFns.length;s.staticRenderFns=new Array(c);for(var u=0;u<c;u++)s.staticRenderFns[u]=di(a.staticRenderFns[u],l);return r[o]=s}var r=Object.create(null);return{compile:t,compileToFunctions:n}}(Gs),Ks=Zs.compileToFunctions,Js=l(function(e){var t=wt(e);return t&&t.innerHTML}),Xs=it.prototype.$mount;it.prototype.$mount=function(e,t){if((e=e&&wt(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Js(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=_i(e));if(r){var i=Ks(r,{shouldDecodeNewlines:Ua,delimiters:n.delimiters},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Xs.call(this,e,t)},it.compile=Ks,t.exports=it}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],435:[function(e,t,n){"use strict";function r(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)}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};!function(){function o(e){function t(e){e.parentElement.removeChild(e)}function n(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}function o(e,t){return e.map(function(e){return e.elm}).indexOf(t)}function a(e,t,n){if(!e)return[];var i=e.map(function(e){return e.elm}),o=[].concat(r(t)).map(function(e){return i.indexOf(e)});return n?o.filter(function(e){return-1!==e}):o}function s(e,t){var n=this;this.$nextTick(function(){return n.$emit(e.toLowerCase(),t)})}function l(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),s.call(t,e,n)}}var c=["Start","Add","Remove","Update","End"],u=["Choose","Sort","Filter","Clone"],f=["Move"].concat(c,u).map(function(e){return"on"+e}),d=null;return{name:"draggable",props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},move:{type:Function,default:null}},data:function(){return{transitionMode:!1,componentMode:!1}},render:function(e){var t=this.$slots.default;if(t&&1===t.length){var n=t[0];n.componentOptions&&"transition-group"===n.componentOptions.tag&&(this.transitionMode=!0)}var i=t,o=this.$slots.footer;return o&&(i=t?[].concat(r(t),r(o)):[].concat(r(o))),e(this.element,null,i)},mounted:function(){var t=this;if(this.componentMode=this.element.toLowerCase()!==this.$el.nodeName.toLowerCase(),this.componentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter element value or remove transition-group. Current element value: "+this.element);var n={};c.forEach(function(e){n["on"+e]=l.call(t,e)}),u.forEach(function(e){n["on"+e]=s.bind(t,e)});var r=i({},this.options,n,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new e(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},isCloning:function(){return!!this.options&&!!this.options.group&&"clone"===this.options.group.pull},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){for(var t in e)-1==f.indexOf(t)&&this._sortable.option(t,e[t])},deep:!0},realList:function(){this.computeIndexes()}},methods:{getChildrenNodes:function(){if(this.componentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick(function(){e.visibleIndexes=a(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode)})},getUnderlyingVm:function(e){var t=o(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&"transition-group"===t.$options._componentTag?t.$parent:t},emitChanges:function(e){var t=this;this.$nextTick(function(){t.$emit("change",e)})},alterList:function(e){if(this.list)e(this.list);else{var t=[].concat(r(this.value));e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,e)};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var o=r.realList,a={list:o,component:r};if(t!==n&&o&&r.getUnderlyingVm){var s=r.getUnderlyingVm(n);if(s)return i(s,a)}return a},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),d=e.item},onDragAdd:function(e){var n=e.item._underlying_vm_;if(void 0!==n){t(e.item);var r=this.getVmIndex(e.newIndex);this.spliceList(r,0,n),this.computeIndexes();var i={element:n,newIndex:r};this.emitChanges({added:i})}},onDragRemove:function(e){if(n(this.rootContainer,e.item,e.oldIndex),this.isCloning)return void t(e.clone);var r=this.context.index;this.spliceList(r,1);var i={element:this.context.element,oldIndex:r};this.resetTransitionData(r),this.emitChanges({removed:i})},onDragUpdate:function(e){t(e.item),n(e.from,e.item,e.oldIndex);var r=this.context.index,i=this.getVmIndex(e.newIndex);this.updatePosition(r,i);var o={element:this.context.element,oldIndex:r,newIndex:i};this.emitChanges({moved:o})},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=[].concat(r(t.to.children)).filter(function(e){return"none"!==e.style.display}),i=n.indexOf(t.related),o=e.component.getVmIndex(i);return-1==n.indexOf(d)&&t.willInsertAfter?o+1:o},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(e),o=this.context,a=this.computeFutureIndex(r,e);return i(o,{futureIndex:a}),i(e,{relatedContext:r,draggedContext:o}),n(e,t)},onDragEnd:function(e){this.computeIndexes(),d=null}}}}if(Array.from||(Array.from=function(e){return[].slice.call(e)}),"object"==typeof n){var a=e("sortablejs");t.exports=o(a)}else if("function"==typeof define&&define.amd)define(["sortablejs"],function(e){return o(e)});else if(window&&window.Vue&&window.Sortable){var s=o(window.Sortable);Vue.component("draggable",s)}}()},{sortablejs:426}],436:[function(e,t,n){"use strict";function r(){for(var e=document.querySelectorAll(".page-content pre, .comment-box .content pre"),t=0;t<e.length;t++)i(e[t])}function i(e){var t=e.querySelector("code[class^=language-]"),n="";if(null!==t){n=o(t.className.replace("language-",""))}e.innerHTML=e.innerHTML.replace(/<br\s*[\/]?>/gi,"\n");var r=e.textContent.trim();p(function(t){e.parentNode.replaceChild(t,e)},{value:r,mode:n,lineNumbers:!0,theme:a(),readOnly:!0})}function o(e){return e=e.trim().replace(/^\./g,"").toLowerCase(),void 0!==h[e]?h[e]:""}function a(){return window.codeTheme||"base16-light"}function s(e){var t=e.ownerDocument,n=e.querySelector("code"),r=(e.className||"").replace("language-","");""===r&&n&&(r=(n.className||"").replace("language-","")),e.innerHTML=e.innerHTML.replace(/<br\s*[\/]?>/gi,"\n");var i=e.textContent,s=t.createElement("div"),l=t.createElement("textarea");s.className="CodeMirrorContainer",s.setAttribute("data-lang",r),l.style.display="none",e.parentNode.replaceChild(s,e),s.appendChild(l),s.contentEditable=!1,l.textContent=i;var c=p(function(e){s.appendChild(e)},{value:i,mode:o(r),lineNumbers:!0,theme:a(),readOnly:!0});return setTimeout(function(){c.refresh()},300),{wrap:s,editor:c}}function l(e,t){var n=e.textContent;return p(function(t){e.parentNode.insertBefore(t,e),e.style.display="none"},{value:n,mode:o(t),lineNumbers:!0,theme:a(),lineWrapping:!0})}function c(e,t){e.setOption("mode",o(t))}function u(e,t){e.setValue(t),setTimeout(function(){e.refresh()},10)}function f(e){var t=e.textContent;return p(function(t){e.parentNode.insertBefore(t,e),e.style.display="none"},{value:t,mode:"markdown",lineNumbers:!0,theme:a(),lineWrapping:!0})}function d(){return p.keyMap.default==p.keyMap.macDefault?"Cmd":"Ctrl"}e("codemirror/mode/css/css"),e("codemirror/mode/clike/clike"),e("codemirror/mode/diff/diff"),e("codemirror/mode/go/go"),e("codemirror/mode/htmlmixed/htmlmixed"),e("codemirror/mode/javascript/javascript"),e("codemirror/mode/markdown/markdown"),e("codemirror/mode/nginx/nginx"),e("codemirror/mode/php/php"),e("codemirror/mode/powershell/powershell"),e("codemirror/mode/python/python"),e("codemirror/mode/ruby/ruby"),e("codemirror/mode/shell/shell"),e("codemirror/mode/sql/sql"),e("codemirror/mode/toml/toml"),e("codemirror/mode/xml/xml"),e("codemirror/mode/yaml/yaml");var p=e("codemirror"),h={css:"css",c:"clike",java:"clike",scala:"clike",kotlin:"clike","c++":"clike","c#":"clike",csharp:"clike",diff:"diff",go:"go",html:"htmlmixed",javascript:"javascript",json:{name:"javascript",json:!0},js:"javascript",php:"php",md:"markdown",mdown:"markdown",markdown:"markdown",nginx:"nginx",powershell:"powershell",py:"python",python:"python",ruby:"ruby",rb:"ruby",shell:"shell",sh:"shell",bash:"shell",toml:"toml",sql:"sql",xml:"xml",yaml:"yaml",yml:"yaml"};t.exports={highlight:r,highlightElem:i,wysiwygView:s,popupEditor:l,setMode:c,setContent:u,markdownEditor:f,getMetaKey:d}},{codemirror:40,"codemirror/mode/clike/clike":41,"codemirror/mode/css/css":42,"codemirror/mode/diff/diff":43,"codemirror/mode/go/go":44,"codemirror/mode/htmlmixed/htmlmixed":45,"codemirror/mode/javascript/javascript":46,"codemirror/mode/markdown/markdown":47,"codemirror/mode/nginx/nginx":49,"codemirror/mode/php/php":50,"codemirror/mode/powershell/powershell":51,"codemirror/mode/python/python":52,"codemirror/mode/ruby/ruby":53,"codemirror/mode/shell/shell":54,"codemirror/mode/sql/sql":55,"codemirror/mode/toml/toml":56,"codemirror/mode/xml/xml":57,"codemirror/mode/yaml/yaml":58}],437:[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 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}}(),o=function(){function e(t){r(this,e),this.elem=t,this.targetElem=document.getElementById("header"),this.showing=!1,this.breakPoint=1200,this.elem.addEventListener("click",this.scrollToTop.bind(this)),window.addEventListener("scroll",this.onPageScroll.bind(this))}return i(e,[{key:"onPageScroll",value:function(){var e=this,t=document.documentElement.scrollTop||document.body.scrollTop||0;!this.showing&&t>this.breakPoint?(this.elem.style.display="block",this.showing=!0,setTimeout(function(){e.elem.style.opacity=.4},1)):this.showing&&t<this.breakPoint&&(this.elem.style.opacity=0,this.showing=!1,setTimeout(function(){e.elem.style.display="none"},500))}},{key:"scrollToTop",value:function(){function e(){var a=1-(Date.now()-i)/r,s=Math.abs(a*o);a>0?(n.scrollTop=s,requestAnimationFrame(e.bind(this))):n.scrollTop=t}var t=this.targetElem.getBoundingClientRect().top,n=document.documentElement.scrollTop?document.documentElement:document.body,r=300,i=Date.now(),o=this.targetElem.getBoundingClientRect().top;requestAnimationFrame(e.bind(this))}}]),e}();t.exports=o},{}],438:[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 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}}(),o=function(){function e(t){r(this,e),this.elem=t,this.isOpen=t.classList.contains("open"),t.addEventListener("click",this.click.bind(this))}return i(e,[{key:"open",value:function(){function e(){t.style.overflow="",t.style.height="",t.style.transition="",t.removeEventListener("transitionend",r)}var t=this.elem.parentNode.querySelector(".inset-list");this.elem.classList.add("open"),t.style.display="block",t.style.height="";var n=t.getBoundingClientRect().height;t.style.height="0px",t.style.overflow="hidden",t.style.transition="height ease-in-out 240ms";var r=e.bind(this);setTimeout(function(){t.style.height=n+"px",t.addEventListener("transitionend",r)},1)}},{key:"close",value:function(){function e(){t.style.overflow="",t.style.height="",t.style.transition="",t.style.display="none",t.removeEventListener("transitionend",n)}var t=this.elem.parentNode.querySelector(".inset-list");this.elem.classList.remove("open"),t.style.display="block",t.style.height=t.getBoundingClientRect().height+"px",t.style.overflow="hidden",t.style.transition="height ease-in-out 240ms";var n=e.bind(this);setTimeout(function(){t.style.height="0px",t.addEventListener("transitionend",n)},1)}},{key:"click",value:function(e){e.preventDefault(),this.isOpen?this.close():this.open(),this.isOpen=!this.isOpen}}]),e}();t.exports=o},{}],439:[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 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}}(),o=function(){function e(t){r(this,e),this.container=t,this.menu=t.querySelector("ul"),this.toggle=t.querySelector("[dropdown-toggle]"),this.setupListeners()}return i(e,[{key:"show",value:function(){this.menu.style.display="block",this.menu.classList.add("anim","menuIn"),this.container.addEventListener("mouseleave",this.hide.bind(this));var e=this.menu.querySelector("input");null!==e&&e.focus()}},{key:"hide",value:function(){this.menu.style.display="none",this.menu.classList.remove("anim","menuIn")}},{key:"setupListeners",value:function(){var e=this;this.container.addEventListener("click",function(t){-1!==Array.from(e.menu.querySelectorAll("a")).indexOf(t.target)&&e.hide()}),this.toggle.addEventListener("click",this.show.bind(this)),this.container.addEventListener("keypress",function(t){return 13!==t.keyCode||(t.preventDefault(),e.hide(),!1)})}}]),e}();t.exports=o},{}],440:[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 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}}(),o=function(){function e(t){r(this,e),this.elem=t,window.EntitySelectorPopup=this,this.callback=null,this.selection=null,this.selectButton=t.querySelector(".entity-link-selector-confirm"),this.selectButton.addEventListener("click",this.onSelectButtonClick.bind(this)),window.$events.listen("entity-select-change",this.onSelectionChange.bind(this)),window.$events.listen("entity-select-confirm",this.onSelectionConfirm.bind(this))}return i(e,[{key:"show",value:function(e){this.callback=e,this.elem.components.overlay.show()}},{key:"hide",value:function(){this.elem.components.overlay.hide()}},{key:"onSelectButtonClick",value:function(){this.hide(),null!==this.selection&&this.callback&&this.callback(this.selection)}},{key:"onSelectionConfirm",value:function(e){this.hide(),this.callback&&e&&this.callback(e)}},{key:"onSelectionChange",value:function(e){this.selection=e,null===e?this.selectButton.setAttribute("disabled","true"):this.selectButton.removeAttribute("disabled")}}]),e}();t.exports=o},{}],441:[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 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}}(),o=function(){function e(t){var n=this;r(this,e),this.elem=t,this.search="",this.lastClick=0;var i=t.hasAttribute("entity-types")?t.getAttribute("entity-types"):"page,book,chapter";this.searchUrl=window.baseUrl("/ajax/search/entities?types="+encodeURIComponent(i)),this.input=t.querySelector("[entity-selector-input]"),this.searchInput=t.querySelector("[entity-selector-search]"),this.loading=t.querySelector("[entity-selector-loading]"),this.resultsContainer=t.querySelector("[entity-selector-results]"),this.elem.addEventListener("click",this.onClick.bind(this));var o=0;this.searchInput.addEventListener("input",function(e){o=Date.now(),n.showLoading(),setTimeout(function(){Date.now()-o<199||n.searchEntities(n.searchInput.value)},200)}),this.searchInput.addEventListener("keydown",function(e){13===e.keyCode&&e.preventDefault()}),this.showLoading(),this.initialLoad()}return i(e,[{key:"showLoading",value:function(){this.loading.style.display="block",this.resultsContainer.style.display="none"}},{key:"hideLoading",value:function(){this.loading.style.display="none",this.resultsContainer.style.display="block"}},{key:"initialLoad",value:function(){var e=this;window.$http.get(this.searchUrl).then(function(t){e.resultsContainer.innerHTML=t.data,e.hideLoading()})}},{key:"searchEntities",value:function(e){var t=this;this.input.value="";var n=this.searchUrl+"&term="+encodeURIComponent(e);window.$http.get(n).then(function(e){t.resultsContainer.innerHTML=e.data,t.hideLoading()})}},{key:"isDoubleClick",value:function(){var e=Date.now(),t=e-this.lastClick<300;return this.lastClick=e,t}},{key:"onClick",value:function(e){var t=e.target;if(console.log("click",t),t.matches(".entity-list-item *")){e.preventDefault(),e.stopPropagation();var n=t.closest("[data-entity-type]");this.selectItem(n)}else t.matches("[data-entity-type]")&&this.selectItem(t)}},{key:"selectItem",value:function(e){var t=this.isDoubleClick(),n=e.getAttribute("data-entity-type"),r=e.getAttribute("data-entity-id"),i=!e.classList.contains("selected")||t;if(this.unselectAll(),this.input.value=i?n+":"+r:"",i||window.$events.emit("entity-select-change",null),i&&(e.classList.add("selected"),e.classList.add("primary-background")),t||i){var o=e.querySelector(".entity-list-item-link").getAttribute("href"),a=e.querySelector(".entity-list-item-name").textContent,s={id:Number(r),name:a,link:o};t&&window.$events.emit("entity-select-confirm",s),i&&window.$events.emit("entity-select-change",s)}}},{key:"unselectAll",value:function(){for(var e=this.elem.querySelectorAll(".selected"),t=0,n=e.length;t<n;t++)e[t].classList.remove("selected"),e[t].classList.remove("primary-background")}}]),e}();t.exports=o},{}],442:[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 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}}(),o=function(){function e(t){r(this,e),this.elem=t,this.isOpen=!1,this.selector=t.getAttribute("expand-toggle"),t.addEventListener("click",this.click.bind(this))}return i(e,[{key:"open",value:function(e){function t(){e.style.overflow="",e.style.height="",e.style.transition="",e.removeEventListener("transitionend",r)}e.style.display="block",e.style.height="";var n=e.getBoundingClientRect().height;e.style.height="0px",e.style.overflow="hidden",e.style.transition="height ease-in-out 240ms";var r=t.bind(this);setTimeout(function(){e.style.height=n+"px",e.addEventListener("transitionend",r)},1)}},{key:"close",value:function(e){function t(){e.style.overflow="",e.style.height="",e.style.transition="",e.style.display="none",e.removeEventListener("transitionend",n)}e.style.display="block",e.style.height=e.getBoundingClientRect().height+"px",e.style.overflow="hidden",e.style.transition="all ease-in-out 240ms";var n=t.bind(this);setTimeout(function(){e.style.height="0px",e.addEventListener("transitionend",n)},1)}},{key:"click",value:function(e){e.preventDefault();for(var t=document.querySelectorAll(this.selector),n=0,r=t.length;n<r;n++)this.isOpen?this.close(t[n]):this.open(t[n]);this.isOpen=!this.isOpen}}]),e}();t.exports=o},{}],443:[function(e,t,n){"use strict";function r(e,t){var n=t.querySelectorAll("["+e+"]");if(0!==n.length){var r=o[e];void 0===window.components[e]&&(window.components[e]=[]);for(var i=0,a=n.length;i<a;i++){var s=new r(n[i]);void 0===n[i].components&&(n[i].components={}),n[i].components[e]=s,window.components[e].push(s)}}}function i(e){void 0===e&&(e=document);for(var t=0,n=a.length;t<n;t++)r(a[t],e)}var o={dropdown:e("./dropdown"),overlay:e("./overlay"),"back-to-top":e("./back-top-top"),notification:e("./notification"),"chapter-toggle":e("./chapter-toggle"),"expand-toggle":e("./expand-toggle"),"entity-selector-popup":e("./entity-selector-popup"),"entity-selector":e("./entity-selector"),sidebar:e("./sidebar"),"page-picker":e("./page-picker"),"page-comments":e("./page-comments")};window.components={};var a=Object.keys(o);i(),window.components.init=i},{"./back-top-top":437,"./chapter-toggle":438,"./dropdown":439,"./entity-selector":441,"./entity-selector-popup":440,"./expand-toggle":442,"./notification":444,"./overlay":445,"./page-comments":446,"./page-picker":447,"./sidebar":448}],444:[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 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}}(),o=function(){function e(t){var n=this;r(this,e),this.elem=t,this.type=t.getAttribute("notification"),this.textElem=t.querySelector("span"),this.autohide=this.elem.hasAttribute("data-autohide"),window.$events.listen(this.type,function(e){n.show(e)}),t.addEventListener("click",this.hide.bind(this)),t.hasAttribute("data-show")&&this.show(this.textElem.textContent),this.hideCleanup=this.hideCleanup.bind(this)}return i(e,[{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.elem.removeEventListener("transitionend",this.hideCleanup),this.textElem.textContent=t,this.elem.style.display="block",setTimeout(function(){e.elem.classList.add("showing")},1),this.autohide&&setTimeout(this.hide.bind(this),2e3)}},{key:"hide",value:function(){this.elem.classList.remove("showing"),this.elem.addEventListener("transitionend",this.hideCleanup)}},{key:"hideCleanup",value:function(){this.elem.style.display="none",this.elem.removeEventListener("transitionend",this.hideCleanup)}}]),e}();t.exports=o},{}],445:[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 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}}(),o=function(){function e(t){var n=this;r(this,e),this.container=t,t.addEventListener("click",function(e){if(e.target===t)return n.hide()});for(var i=t.querySelectorAll(".overlay-close"),o=0;o<i.length;o++)i[o].addEventListener("click",this.hide.bind(this))}return i(e,[{key:"toggle",value:function(){function e(){var i=Date.now()-n,o=t?i/r:1-i/r;this.container.style.opacity=o,i>r?(this.container.style.display=t?"flex":"none",this.container.style.opacity=""):requestAnimationFrame(e.bind(this))}var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Date.now(),r=240;requestAnimationFrame(e.bind(this))}},{key:"hide",value:function(){this.toggle(!1)}},{key:"show",value:function(){this.toggle(!0)}}]),e}();t.exports=o},{}],446:[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 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}}(),o=e("markdown-it"),a=new o({html:!1}),s=function(){function e(t){r(this,e),this.elem=t,this.pageId=Number(t.getAttribute("page-id")),this.editingComment=null,this.parentId=null,this.container=t.querySelector("[comment-container]"),this.formContainer=t.querySelector("[comment-form-container]"),this.formContainer&&(this.form=this.formContainer.querySelector("form"),this.formInput=this.form.querySelector("textarea"),this.form.addEventListener("submit",this.saveComment.bind(this))),this.elem.addEventListener("click",this.handleAction.bind(this)),this.elem.addEventListener("submit",this.updateComment.bind(this))}return i(e,[{key:"handleAction",value:function(e){var t=e.target.closest("[action]");if(e.target.matches('a[href^="#"]')){var n=e.target.href.split("#")[1];window.scrollAndHighlight(document.querySelector("#"+n))}if(null!==t){e.preventDefault();var r=t.getAttribute("action");"edit"===r&&this.editComment(t.closest("[comment]")),"closeUpdateForm"===r&&this.closeUpdateForm(),"delete"===r&&this.deleteComment(t.closest("[comment]")),"addComment"===r&&this.showForm(),"hideForm"===r&&this.hideForm(),"reply"===r&&this.setReply(t.closest("[comment]")),"remove-reply-to"===r&&this.removeReplyTo()}}},{key:"closeUpdateForm",value:function(){this.editingComment&&(this.editingComment.querySelector("[comment-content]").style.display="block",this.editingComment.querySelector("[comment-edit-container]").style.display="none")}},{key:"editComment",value:function(e){this.hideForm(),this.editingComment&&this.closeUpdateForm(),e.querySelector("[comment-content]").style.display="none",e.querySelector("[comment-edit-container]").style.display="block";var t=e.querySelector("[comment-edit-container] textarea"),n=t.value.split("\n").length;t.style.height=20*n+"px",this.editingComment=e}},{key:"updateComment",value:function(e){var t=this,n=e.target;e.preventDefault();var r=n.querySelector("textarea").value,i={text:r,html:a.render(r),parent_id:this.parentId||null};this.showLoading(n);var o=this.editingComment.getAttribute("comment");window.$http.put(window.baseUrl("/ajax/comment/"+o),i).then(function(e){var r=document.createElement("div");r.innerHTML=e.data,t.editingComment.innerHTML=r.children[0].innerHTML,window.$events.emit("success",window.trans("entities.comment_updated_success")),window.components.init(t.editingComment),t.closeUpdateForm(),t.editingComment=null,t.hideLoading(n)})}},{key:"deleteComment",value:function(e){var t=this,n=e.getAttribute("comment");this.showLoading(e.querySelector("[comment-content]")),window.$http.delete(window.baseUrl("/ajax/comment/"+n)).then(function(n){e.parentNode.removeChild(e),window.$events.emit("success",window.trans("entities.comment_deleted_success")),t.updateCount()})}},{key:"saveComment",value:function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=this.formInput.value,r={text:n,html:a.render(n),parent_id:this.parentId||null};this.showLoading(this.form),window.$http.post(window.baseUrl("/ajax/page/"+this.pageId+"/comment"),r).then(function(e){var n=document.createElement("div");n.innerHTML=e.data;var r=n.children[0];t.container.appendChild(r),window.components.init(r),window.$events.emit("success",window.trans("entities.comment_created_success")),t.resetForm(),t.updateCount()})}},{key:"updateCount",value:function(){var e=this.container.children.length;this.elem.querySelector("[comments-title]").textContent=window.trans_choice("entities.comment_count",e,{count:e})}},{key:"resetForm",value:function(){this.formInput.value="",this.formContainer.appendChild(this.form),this.hideForm(),this.removeReplyTo(),this.hideLoading(this.form)}},{key:"showForm",value:function(){this.formContainer.style.display="block",this.formContainer.parentNode.style.display="block",this.elem.querySelector("[comment-add-button]").style.display="none",this.formInput.focus(),window.scrollToElement(this.formInput)}},{key:"hideForm",value:function(){this.formContainer.style.display="none",this.formContainer.parentNode.style.display="none",this.elem.querySelector("[comment-add-button]").style.display="block"}},{key:"setReply",value:function(e){this.showForm(),this.parentId=Number(e.getAttribute("local-id")),this.elem.querySelector("[comment-form-reply-to]").style.display="block";var t=this.elem.querySelector("[comment-form-reply-to] a");t.textContent="#"+this.parentId,t.href="#comment"+this.parentId}},{key:"removeReplyTo",value:function(){this.parentId=null,this.elem.querySelector("[comment-form-reply-to]").style.display="none"}},{key:"showLoading",value:function(e){for(var t=e.querySelectorAll(".form-group"),n=0,r=t.length;n<r;n++)t[n].style.display="none";e.querySelector(".form-group.loading").style.display="block"}},{key:"hideLoading",value:function(e){for(var t=e.querySelectorAll(".form-group"),n=0,r=t.length;n<r;n++)t[n].style.display="block";e.querySelector(".form-group.loading").style.display="none"}}]),e}();t.exports=s},{"markdown-it":363}],447:[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 i(e,t){var n="BUTTON"===e.tagName||"SPAN"===e.tagName?"inline-block":"block";e.style.display=t?n:"none"}var o=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=function(){function e(t){r(this,e),this.elem=t,this.input=t.querySelector("input"),this.resetButton=t.querySelector("[page-picker-reset]"),this.selectButton=t.querySelector("[page-picker-select]"),this.display=t.querySelector("[page-picker-display]"),this.defaultDisplay=t.querySelector("[page-picker-default]"),this.buttonSep=t.querySelector("span.sep"),this.value=this.input.value,this.setupListeners()}
|
||
return o(e,[{key:"setupListeners",value:function(){var e=this;this.selectButton.addEventListener("click",function(t){window.EntitySelectorPopup.show(function(t){e.setValue(t.id,t.name)})}),this.resetButton.addEventListener("click",function(t){e.setValue("","")})}},{key:"setValue",value:function(e,t){this.value=e,this.input.value=e,this.controlView(t)}},{key:"controlView",value:function(e){var t=this.value&&0!==this.value;if(i(this.resetButton,t),i(this.buttonSep,t),i(this.defaultDisplay,!t),i(this.display,t),t){var n=this.getAssetIdFromVal();this.display.textContent="#"+n+", "+e,this.display.href=window.baseUrl("/link/"+n)}}},{key:"getAssetIdFromVal",value:function(){return Number(this.value)}}]),e}();t.exports=a},{}],448:[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 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}}(),o=function(){function e(t){r(this,e),this.elem=t,this.toggleElem=t.querySelector(".sidebar-toggle"),this.toggleElem.addEventListener("click",this.toggle.bind(this))}return i(e,[{key:"toggle",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.elem.classList.toggle("open")}}]),e}();t.exports=o},{}],449:[function(e,t,n){"use strict";var r=e("moment");e("moment/locale/en-gb");var i=e("./pages/page-form");r.locale("en-gb"),t.exports=function(e,t){e.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(e,n,o,a,s,l){function c(){v.title=$("#name").val(),v.html=e.editContent,g=a(function(){if(!(Date.now()-y<1e3*h/2)){var t=$("#name").val(),n=e.editContent;t===v.title&&n===v.html||(v.html=n,v.title=t,u())}},1e3*h)}function u(){if(e.draftsEnabled){var i={name:$("#name").val(),html:m?l.getTrustedHtml(e.displayContent):e.editContent};m&&(i.markdown=e.editContent);var o=window.baseUrl("/ajax/page/"+d+"/save-draft");n.put(o,i).then(function(t){_=!1;var n=r.utc(r.unix(t.data.timestamp)).toDate();e.draftText=t.data.message+r(n).format("HH:mm"),e.isNewPageDraft||(e.isUpdateDraft=!0),f(),y=Date.now()},function(e){_||(t.emit("error",trans("errors.page_draft_autosave_fail")),_=!0)})}}function f(){e.draftUpdated=!0,s(function(){e.draftUpdated=!1},2e3)}e.editorOptions=i(),e.editContent="",e.draftText="";var d=Number(o.pageId),p=0!==d,h=30,m="markdown"===o.editorType;e.draftsEnabled="true"===o.draftsEnabled,e.isUpdateDraft=1===Number(o.pageUpdateDraft),e.isNewPageDraft=1===Number(o.pageNewDraft),e.isUpdateDraft||e.isNewPageDraft?e.draftText=trans("entities.pages_editing_draft"):e.draftText=trans("entities.pages_editing_page");var g=!1,v={title:!1,html:!1};p&&e.draftsEnabled&&setTimeout(function(){c()},1e3),m&&(e.displayContent="",e.editorChange=function(t){e.displayContent=l.trustAsHtml(t)}),m||(e.editorChange=function(){});var y=0,_=!1;e.forceDraftSave=function(){u()},e.$on("save-draft",u),e.discardDraft=function(){var r=window.baseUrl("/ajax/page/"+d);n.get(r).then(function(n){g&&a.cancel(g),e.draftText=trans("entities.pages_editing_page"),e.isUpdateDraft=!1,e.$broadcast("html-update",n.data.html),e.$broadcast("markdown-update",n.data.markdown||n.data.html),$("#name").val(n.data.name),s(function(){c()},1e3),t.emit("success",trans("entities.pages_draft_discarded"))})}}])}},{"./pages/page-form":453,moment:421,"moment/locale/en-gb":420}],450:[function(e,t,n){"use strict";var r=e("markdown-it"),i=e("markdown-it-task-lists"),o=e("./code");t.exports=function(e,t){e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change input NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){83===e.keyCode&&(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&(e.preventDefault(),t.$emit("save-draft",e))}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.init(t.tinymce)}}}]);var n=new r({html:!0});n.use(i,{label:!0}),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(r,i,a){function s(e,t){var n=g.getValue(),r=g.listSelections();g.setValue(n.replace(e,t)),g.setSelections(r)}function l(e){var t=g.getCursor(),n=g.getLine(t.line),r=n.length,i=n.split(" ")[0];if(i===e)return n=n.replace(e+" ",""),g.replaceRange(n,{line:t.line,ch:0},{line:t.line,ch:r}),void g.setCursor({line:t.line,ch:t.ch-(e.length+1)});var o=/^[#>`]/.test(i),a=0;o?(a=e.length-i.length,n=n.replace(i,e).trim()):""!==e&&(a=e.length+1,n=e+" "+n),g.replaceRange(n,{line:t.line,ch:0},{line:t.line,ch:r}),g.setCursor({line:t.line,ch:t.ch+a})}function c(e,t){var n=g.getCursor(),r=g.getLine(n.line),i=r.length,o=r;o=0===r.indexOf(e)&&r.slice(-t.length)===t?r.slice(e.length,r.length-t.length):""+e+r+t,g.replaceRange(o,{line:n.line,ch:0},{line:n.line,ch:i}),g.setCursor({line:n.line,ch:n.ch+e.length})}function u(e,t){var n=g.getSelection();if(""===n)return c(e,t);var r=n,i=0;0===n.indexOf(e)&&n.slice(-t.length)===t?(r=n.slice(e.length,n.length-t.length),i=-(t.length+e.length)):(r=""+e+n+t,i=e.length+t.length);var o=g.listSelections()[0];g.replaceSelection(r);var a=o.head.ch<=o.anchor.ch;o.head.ch+=a?0:i,o.anchor.ch+=a?i:0,g.setSelections([o])}function f(e){if(null!==e&&0===e.type.indexOf("image")){var n="png";if(e.name){var r=e.name.match(/\.(.+)$/);r.length>1&&(n=r[1])}var i="image-"+Math.random().toString(16).slice(2),o=window.baseUrl("/loading.gif#upload"+i),a=g.getSelection(),l="";g.replaceSelection(l);var c="image-"+Date.now()+"."+n,u=new FormData;u.append("file",e,c),window.$http.post("/images/gallery/upload",u).then(function(e){s(o,e.data.thumbs.display)}).catch(function(e){t.emit("error",trans("errors.image_upload_error")),s(l,a),console.log(e)})}}function d(){var e=g.getCursor("from");window.EntitySelectorPopup.show(function(t){var n=g.getSelection()||t.name,r="["+n+"]("+t.link+")";g.focus(),g.replaceSelection(r),g.setCursor(e.line,e.ch+r.length)})}function p(){var e=g.getCursor("from"),t=g.getSelection()||"",n="["+t+"]()";g.focus(),g.replaceSelection(n);var r=""===t?-3:-1;g.setCursor(e.line,e.ch+n.length+r)}function h(){var e=g.getCursor("from");window.ImageManager.show(function(t){var n=g.getSelection(),r="";g.focus(),g.replaceSelection(r),g.setCursor(e.line,e.ch+r.length)})}function m(t){var o=t.getValue();i.val(o),e(function(){r.mdModel=o,r.mdChange(n.render(o))})}i=i.find("textarea").first();var g=o.markdownEditor(i[0]),v=o.getMetaKey(),y={};y[v+"-Alt-I"]=function(e){var t=e.getSelection(),n="",r=e.getCursor("from");e.replaceSelection(n),e.setCursor(r.line,r.ch+n.length-1)},y[v+"-S"]=function(e){r.$emit("save-draft")},y["Shift-"+v+"-K"]=function(e){d()},y[v+"-K"]=function(e){p()},y[v+"-1"]=function(e){l("##")},y[v+"-2"]=function(e){l("###")},y[v+"-3"]=function(e){l("####")},y[v+"-4"]=function(e){l("#####")},y[v+"-5"]=function(e){l("")},y[v+"-d"]=function(e){l("")},y[v+"-6"]=function(e){l(">")},y[v+"-q"]=function(e){l(">")},y[v+"-7"]=function(e){u("\n```\n","\n```")},y[v+"-8"]=function(e){u("`","`")},y["Shift-"+v+"-E"]=function(e){u("`","`")},y[v+"-9"]=function(e){u('<p class="callout info">',"</p>")},g.setOption("extraKeys",y),g.on("change",function(e,t){m(e)}),g.on("scroll",function(e){var t=e.getScrollInfo();if(t.top+t.clientHeight===t.height)return void r.$emit("markdown-scroll",-1);var i=e.lineAtHeight(t.top,"local"),o=e.getRange({line:0,ch:null},{line:i,ch:null}),a=new DOMParser,s=a.parseFromString(n.render(o),"text/html"),l=s.documentElement.querySelectorAll("body > *");r.$emit("markdown-scroll",l.length)}),g.on("paste",function(e,t){if(t.clipboardData&&t.clipboardData.items)for(var n=0;n<t.clipboardData.items.length;n++)f(t.clipboardData.items[n].getAsFile())}),g.on("drop",function(e,t){t.stopPropagation(),t.preventDefault();var n=e.coordsChar({left:t.pageX,top:t.pageY});if(e.setCursor(n),t.dataTransfer&&t.dataTransfer.files)for(var r=0;r<t.dataTransfer.files.length;r++)f(t.dataTransfer.files[r])}),m(g),r.$on("md-insert-link",d),r.$on("md-insert-image",h),r.$on("markdown-update",function(e,t){g.setValue(t),i.val(t),r.mdModel=t,r.mdChange(n.render(t))})}}}]),e.directive("markdownEditor",["$timeout","$rootScope",function(e,t){return{restrict:"A",link:function(e,n,r){var i=n.find(".markdown-display").first(),o=n.find('button[data-action="insertImage"]'),a=n.find('button[data-action="insertEntityLink"]');i.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))}),a.click(function(t){e.$broadcast("md-insert-link")}),o.click(function(t){e.$broadcast("md-insert-image")}),t.$on("markdown-scroll",function(e,t){var n=i[0].children[0].children;if(n.length>t){var r=-1===t?n[n.length-1]:n[t];i.animate({scrollTop:r.offsetTop},{queue:!1,duration:200,easing:"linear"})}})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]");t.find("[toolbox-toggle]").click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){r($(this).attr("toolbox-tab-button"),!0)})}}}])}},{"./code":436,"markdown-it":363,"markdown-it-task-lists":362}],451:[function(e,t,n){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this,n=this;if(!document.documentElement.contains(t))return null;do{if(n.matches(e))return n;n=n.parentElement}while(null!==n);return null})},{}],452:[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 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}}();e("babel-polyfill"),e("./dom-polyfills"),window.baseUrl=function(e){var t=document.querySelector('meta[name="base-url"]').getAttribute("content");return"/"===t[t.length-1]&&(t=t.slice(0,t.length-1)),"/"===e[0]&&(e=e.slice(1)),t+"/"+e};var o=function(){function e(){r(this,e),this.listeners={},this.stack=[]}return i(e,[{key:"emit",value:function(e,t){if(this.stack.push({name:e,data:t}),void 0===this.listeners[e])return this;for(var n=this.listeners[e],r=0;r<n.length;r++){(0,n[r])(t)}return this}},{key:"listen",value:function(e,t){return void 0===this.listeners[e]&&(this.listeners[e]=[]),this.listeners[e].push(t),this}}]),e}();window.$events=new o;var a=e("vue"),s=e("axios"),l=s.create({headers:{"X-CSRF-TOKEN":document.querySelector("meta[name=token]").getAttribute("content"),baseURL:window.baseUrl("")}});l.interceptors.request.use(function(e){return e},function(e){if(void 0===e.response||void 0===e.response.data)return Promise.reject(e);void 0!==e.response.data.error&&window.$events.emit("error",e.response.data.error),void 0!==e.response.data.message&&window.$events.emit("error",e.response.data.message)}),window.$http=l,a.prototype.$http=l,a.prototype.$events=window.$events;var c=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize"),e("angular-ui-sortable");var u=c.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),f=e("./translations"),d=new f(window.translations);window.trans=d.get.bind(d),window.trans_choice=d.getPlural.bind(d),e("./vues/vues"),e("./components");var p=e("./directives"),h=e("./controllers");p(u,window.$events),h(u,window.$events),window.scrollToElement=function(e){if(e){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,n=e.getBoundingClientRect().top+t;$("html, body").animate({scrollTop:n-60},300)}},window.scrollAndHighlight=function(e){if(e){window.scrollToElement(e);var t=document.getElementById("custom-styles").getAttribute("data-color-light"),n=window.getComputedStyle(e).getPropertyValue("background-color");e.style.backgroundColor=t,setTimeout(function(){e.classList.add("selectFade"),e.style.backgroundColor=n},10),setTimeout(function(){e.classList.remove("selectFade"),e.style.backgroundColor=""},3e3)}},jQuery.fn.smoothScrollTo=function(){if(0!==this.length)return window.scrollToElement(this[0]),this},jQuery.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),(-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0||-1!==navigator.userAgent.indexOf("Safari"))&&document.body.classList.add("flexbox-support"),e("./pages/page-show")},{"./components":443,"./controllers":449,"./directives":450,"./dom-polyfills":451,"./pages/page-show":454,"./translations":455,"./vues/vues":464,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7,axios:10,"babel-polyfill":35,vue:434}],453:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData&&e.clipboardData.items)for(var n=e.clipboardData.items,r=0;r<n.length;r++){(function(r){if(-1===n[r].type.indexOf("image"))return"continue";e.preventDefault();var o="image-"+Math.random().toString(16).slice(2),a=window.baseUrl("/loading.gif"),s=n[r].getAsFile();setTimeout(function(){t.insertContent('<p><img src="'+a+'" id="'+o+'"></p>'),i(s).then(function(e){t.dom.setAttrib(o,"src",e.thumbs.display)}).catch(function(e){t.dom.remove(o),window.$events.emit("error",trans("errors.image_upload_error")),console.log(e)})},10)})(r)}}function i(e){if(null===e||0!==e.type.indexOf("image"))return Promise.reject("Not an image file");var t="png";if(e.name){var n=e.name.match(/\.(.+)$/);n.length>1&&(t=n[1])}var r="image-"+Date.now()+"."+t,i=new FormData;return i.append("file",e,r),window.$http.post("/images/gallery/upload",i).then(function(e){return e.data})}function o(e){for(var t=1;t<5;t++)e.shortcuts.add("meta+"+t,"",["FormatBlock",!1,"h"+(t+1)]);e.shortcuts.add("meta+5","",["FormatBlock",!1,"p"]),e.shortcuts.add("meta+d","",["FormatBlock",!1,"p"]),e.shortcuts.add("meta+6","",["FormatBlock",!1,"blockquote"]),e.shortcuts.add("meta+q","",["FormatBlock",!1,"blockquote"]),e.shortcuts.add("meta+7","",["codeeditor",!1,"pre"]),e.shortcuts.add("meta+e","",["codeeditor",!1,"pre"]),e.shortcuts.add("meta+8","",["FormatBlock",!1,"code"]),e.shortcuts.add("meta+shift+E","",["FormatBlock",!1,"code"]),e.shortcuts.add("meta+9","",function(){var t=e.selection.getNode(),n=["info","success","warning","danger"];if(!t||-1===t.className.indexOf("callout"))return void e.formatter.apply("calloutinfo");for(var r=0;r<n.length;r++)if(-1!==t.className.indexOf(n[r])){var i=r===n.length-1?n[0]:n[r+1];return void e.formatter.apply("callout"+i)}e.formatter.apply("p")})}function a(){function e(e){return"CodeMirrorContainer"===e.className}function t(t){var n=t.selection.getNode();if(!e(n)){var r=t.selection.getNode().textContent;return void window.vues["code-editor"].open(r,"",function(e,n){var r=document.createElement("div");r.innerHTML='<pre><code class="language-'+n+'"></code></pre>',r.querySelector("code").innerText=e,t.formatter.toggle("pre");var i=t.selection.getNode();t.dom.setHTML(i,r.querySelector("pre").innerHTML),t.fire("SetContent")})}var i=n.hasAttribute("data-lang")?n.getAttribute("data-lang"):"",o=n.querySelector("textarea").textContent;window.vues["code-editor"].open(o,i,function(e,t){var r=n.querySelector(".CodeMirror"),i=r.CodeMirror;i&&(l.setContent(i,e),l.setMode(i,t));var o=n.querySelector("textarea");o&&(o.textContent=e),n.setAttribute("data-lang",t)})}function n(e){var t=e[0].querySelector("textarea"),n=t.textContent,r=e[0].getAttribute("data-lang");e.removeAttr("contentEditable");var i=$("<pre></pre>");i.append($("<code></code>").each(function(e,t){t.textContent=n}).attr("class","language-"+r)),e.replaceWith(i)}window.tinymce.PluginManager.add("codeeditor",function(r,i){var o=r.$;r.addButton("codeeditor",{text:"Code block",icon:!1,cmd:"codeeditor"}),r.addCommand("codeeditor",function(){t(r)}),r.on("PreProcess",function(e){o("div.CodeMirrorContainer",e.node).each(function(e,t){n(o(t))})}),r.on("dblclick",function(n){e(r.selection.getNode())&&t(r)}),r.on("SetContent",function(){o(".CodeMirrorContainer").filter(function(e,t){return void 0===t.querySelector(".CodeMirror").CodeMirror}).each(function(e,t){n(o(t))});var e=o("body > pre").filter(function(e,t){return"false"!==t.contentEditable});e.length&&r.undoManager.transact(function(){e.each(function(e,t){l.wysiwygView(t)})})})})}function s(){window.tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode();n.parentNode.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})})}var l=e("../code");t.exports=function(){s(),a();var e={selector:"#html-editor",content_css:[window.baseUrl("/css/styles.css"),window.baseUrl("/libs/material-design-iconic-font/css/material-design-iconic-font.min.css")],branding:!1,body_class:"page-content",browser_spellcheck:!0,relative_urls:!1,remove_script_host:!1,document_base_url:window.baseUrl("/"),statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|h1|h2|h3|h4|h5|h6|blockquote],+div[pre]",plugins:"image table textcolor paste link autolink fullscreen imagetools code customhr autosave lists codeeditor",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header Large",format:"h2"},{title:"Header Medium",format:"h3"},{title:"Header Small",format:"h4"},{title:"Header Tiny",format:"h5"},{title:"Paragraph",format:"p",exact:!0,classes:""},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",cmd:"codeeditor",format:"codeeditor"},{title:"Inline Code",icon:"code",inline:"code"},{title:"Callouts",items:[{title:"Info",format:"calloutinfo"},{title:"Success",format:"calloutsuccess"},{title:"Warning",format:"calloutwarning"},{title:"Danger",format:"calloutdanger"}]}],style_formats_merge:!1,formats:{codeeditor:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div"},alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"},calloutsuccess:{block:"p",exact:!0,attributes:{class:"callout success"}},calloutinfo:{block:"p",exact:!0,attributes:{class:"callout info"}},calloutwarning:{block:"p",exact:!0,attributes:{class:"callout warning"}},calloutdanger:{block:"p",exact:!0,attributes:{class:"callout danger"}}},file_browser_callback:function(e,t,n,r){"file"===n&&window.EntitySelectorPopup.show(function(t){var n=r.document.getElementById(e);n.value=t.link,$(n).closest(".mce-form").find("input").eq(2).val(t.name)}),"image"===n&&window.ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange");var i='<a href="'+t.url+'" target="_blank">';i+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',i+="</a>",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){-1!==t.content.indexOf('<img src="file://')&&(t.content="")},extraSetups:[],setup:function(t){function n(e){return e&&!(!e.textContent&&!e.innerText)}for(var i=0;i<e.extraSetups.length;i++)e.extraSetups[i](t);o(t);var a=void 0;t.on("dragstart",function(){var e=t.selection.getNode();"IMG"===e.nodeName&&((a=t.dom.getParent(e,".mceTemp"))||"A"!==e.parentNode.nodeName||n(e.parentNode)||(a=e.parentNode))}),t.on("drop",function(e){var n=t.dom,r=tinymce.dom.RangeUtils.getCaretRangeFromPoint(e.clientX,e.clientY,t.getDoc());n.getParent(r.startContainer,".mceTemp")?e.preventDefault():a&&(e.preventDefault(),t.undoManager.transact(function(){t.selection.setRng(r),t.selection.setNode(a),n.remove(a)})),a=null}),t.addButton("image-insert",{title:"My title",icon:"image",tooltip:"Insert an image",onclick:function(){window.ImageManager.show(function(e){var n='<a href="'+e.url+'" target="_blank">';n+='<img src="'+e.thumbs.display+'" alt="'+e.name+'">',n+="</a>",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{"../code":436}],454:[function(e,t,n){"use strict";var r=e("clipboard"),i=e("../code"),o=window.setupPageShow=function(e){function t(){var t=p?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";p&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),c.find("input").val(t)}function n(e){var t=document.getElementById(e);$(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t?window.scrollAndHighlight(t):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function o(){g.width(v.width()+15),g.addClass("fixed"),b=!0}function a(){g.css("width","auto"),g.removeClass("fixed"),b=!1}function s(e){var t=m.scrollTop()>_;!t||b&&!e?t||!b&&!e||a():o()}function l(){s(!1)}if(i.highlight(),e){var c=$("#pointer").detach(),u=!1,f=c.children("div.pointer").first(),d=!1,p=!0,h="";c.on("click","input",function(e){$(this).select(),e.stopPropagation()}),c.on("click","span.icon",function(e){var n=$(e.currentTarget);p=!p,n.html(p?'<i class="zmdi zmdi-link"></i>':'<i class="zmdi zmdi-square-down"></i>'),t()});new r("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(u&&!d){$(e.target).is(".zmdi")||1===$(e.target).closest("#pointer").length||(c.detach(),u=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){if(e.stopPropagation(),0!==window.getSelection().toString().length){var n=$(this);h=n.attr("id"),t(),n.before(c),c.show(),u=!0;var r=e.pageX-n.offset().left-f.width()/2;r<0&&(r=0);var i=r/n.width()*100;f.css("left",i+"%"),d=!0,setTimeout(function(){d=!1},100)}}),window.location.hash){n(window.location.hash.replace(/\%20/g," ").substr(1))}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$("#sidebar .scroll-body"),v=g.parent(),y=$(document).height()>m.height()&&g.height()<$(".page-content").height(),_=$("#header").height()+$(".toolbar").height(),b=m.scrollTop()>_;y&&m.width()>1e3&&(m.on("scroll",l),s(!0)),m.on("resize",function(e){y&&m.width()>1e3?(m.on("scroll",l),s(!0)):(m.off("scroll",l),a())})}};t.exports=o},{"../code":436,clipboard:39}],455:[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 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}}(),o=function(){function e(t){r(this,e),this.store=t}return i(e,[{key:"get",value:function(e,t){var n=this.getTransText(e);return this.performReplacements(n,t)}},{key:"getPlural",value:function(e,t,n){for(var r=this.getTransText(e),i=r.split("|"),o=null,a=0,s=i.length;a<s;a++){var l=i[a],c=l.match(/^{([0-9]+)}/);if(null!==c&&Number(c[1])===t){o=l.replace(/^{([0-9]+)}/,"").trim();break}var u=l.match(/^\[([0-9]+),([0-9*]+)]/);if(null!==u){if(Number(u[1])<=t&&("*"===u[2]||Number(u[2])>=t)){o=l.replace(/^\[([0-9]+),([0-9*]+)]/,"").trim();break}}}return null===o&&i.length>1&&(o=1===t?i[0]:i[1]),null===o&&(o=i[0]),this.performReplacements(o,n)}},{key:"getTransText",value:function(e){var t=e.split("."),n=t.reduce(function(e,t){return void 0!==e?e[t]:e},this.store);return void 0===n&&(console.log('Translation with key "'+e+'" does not exist'),n=e),n}},{key:"performReplacements",value:function(e,t){if(!t)return e;var n=e.match(/:([\S]+)/g);return null===n?e:(n.forEach(function(n){var r=n.substring(1);void 0!==t[r]&&(e=e.replace(n,t[r]))}),e)}}]),e}();t.exports=o},{}],456:[function(e,t,n){"use strict";function r(){var e=this;this.pageId=this.$el.getAttribute("page-id"),this.file=this.newFile(),this.$http.get(window.baseUrl("/attachments/get/page/"+this.pageId)).then(function(t){e.files=t.data}).catch(function(t){e.checkValidationErrors("get",t)})}var i=e("vuedraggable"),o=e("./components/dropzone"),a={pageId:null,files:[],fileToEdit:null,file:{},tab:"list",editTab:"file",errors:{link:{},edit:{},delete:{}}},s={dropzone:o,draggable:i},l={newFile:function(){return{page_id:this.pageId}},getFileUrl:function(e){return window.baseUrl("/attachments/"+e.id)},fileSortUpdate:function(){var e=this;this.$http.put(window.baseUrl("/attachments/sort/page/"+this.pageId),{files:this.files}).then(function(t){e.$events.emit("success",t.data.message)}).catch(function(t){e.checkValidationErrors("sort",t)})},startEdit:function(e){this.fileToEdit=Object.assign({},e),this.fileToEdit.link=e.external?e.path:"",this.editTab=e.external?"link":"file"},deleteFile:function(e){var t=this;if(!e.deleting)return e.deleting=!0;this.$http.delete(window.baseUrl("/attachments/"+e.id)).then(function(n){t.$events.emit("success",n.data.message),t.files.splice(t.files.indexOf(e),1)}).catch(function(e){t.checkValidationErrors("delete",e)})},uploadSuccess:function(e){this.files.push(e.data),this.$events.emit("success",trans("entities.attachments_file_uploaded"))},uploadSuccessUpdate:function(e){var t=this.filesIndex(e.data);-1===t?this.files.push(e.data):this.files.splice(t,1,e.data),this.fileToEdit&&this.fileToEdit.id===e.data.id&&(this.fileToEdit=Object.assign({},e.data)),this.$events.emit("success",trans("entities.attachments_file_updated"))},checkValidationErrors:function(e,t){console.error(t),void 0===t.response.data&&void 0===t.response.data.validation||(this.errors[e]=t.response.data.validation,console.log(this.errors[e]))},getUploadUrl:function(e){var t=window.baseUrl("/attachments/upload");return void 0!==e&&(t+="/"+e.id),t},cancelEdit:function(){this.fileToEdit=null},attachNewLink:function(e){var t=this;e.uploaded_to=this.pageId,this.$http.post(window.baseUrl("/attachments/link"),e).then(function(e){t.files.push(e.data),t.file=t.newFile(),t.$events.emit("success",trans("entities.attachments_link_attached"))}).catch(function(e){t.checkValidationErrors("link",e)})},updateFile:function(e){var t=this;$http.put(window.baseUrl("/attachments/"+e.id),e).then(function(n){var r=t.filesIndex(n.data);-1===r?t.files.push(n.data):t.files.splice(r,1,n.data),t.fileToEdit&&!e.external&&(t.fileToEdit.link=""),t.fileToEdit=!1,t.$events.emit("success",trans("entities.attachments_updated_success"))}).catch(function(e){t.checkValidationErrors("edit",e)})},filesIndex:function(e){for(var t=0,n=this.files.length;t<n;t++)if(this.files[t].id===e.id)return t;return-1}};t.exports={data:a,methods:l,mounted:r,components:s}},{"./components/dropzone":459,vuedraggable:435}],457:[function(e,t,n){"use strict";var r=e("../code"),i={show:function(){this.editor||(this.editor=r.popupEditor(this.$refs.editor,this.language)),this.$refs.overlay.style.display="flex"},hide:function(){this.$refs.overlay.style.display="none"},updateEditorMode:function(e){r.setMode(this.editor,e)},updateLanguage:function(e){this.language=e,this.updateEditorMode(e)},open:function(e,t,n){this.show(),this.updateEditorMode(t),this.language=t,r.setContent(this.editor,e),this.code=e,this.callback=n},save:function(){this.callback&&(this.callback(this.editor.getValue(),this.language),this.hide())}},o={editor:null,language:"",code:"",callback:null};t.exports={methods:i,data:o}},{"../code":436}],458:[function(e,t,n){"use strict";function r(){return{suggestions:[],showSuggestions:!1,active:0}}function i(e){var t=e.parentNode.parentNode,n=t.querySelector('[autosuggest-type="name"]');return null===n?"":n.value}var o={},a=["url","type","value","placeholder","name"],s={inputUpdate:function(e){var t=this;this.$emit("input",e);var n={};if("value"===this.type){var r=i(this.$el);""!==r&&(n.name=r)}this.getSuggestions(e.slice(0,3),n).then(function(n){if(0===e.length)return void t.displaySuggestions(n.slice(0,6));n=n.filter(function(t){return-1!==t.toLowerCase().indexOf(e.toLowerCase())}).slice(0,4),t.displaySuggestions(n)})},inputBlur:function(){var e=this;setTimeout(function(){e.$emit("blur"),e.showSuggestions=!1},100)},inputKeydown:function(e){13===e.keyCode&&e.preventDefault(),this.showSuggestions&&(40===e.keyCode?this.active=this.active===this.suggestions.length-1?0:this.active+1:38===e.keyCode?this.active=0===this.active?this.suggestions.length-1:this.active-1:13!==e.keyCode&&9!==e.keyCode||e.shiftKey?27===e.keyCode&&(this.showSuggestions=!1):this.selectSuggestion(this.suggestions[this.active]))},displaySuggestions:function(e){if(0===e.length)return this.suggestions=[],void(this.showSuggestions=!1);this.suggestions=e,this.showSuggestions=!0,this.active=0},selectSuggestion:function(e){this.$refs.input.value=e,this.$refs.input.focus(),this.$emit("input",e),this.showSuggestions=!1},getSuggestions:function(e,t){t.search=e;var n=this.url+":"+JSON.stringify(t);return void 0!==o[n]?Promise.resolve(o[n]):this.$http.get(this.url,{params:t}).then(function(e){return o[n]=e.data,e.data})}},l=[];t.exports={template:'\n <div>\n <input :value="value" :autosuggest-type="type" ref="input"\n :placeholder="placeholder" :name="name"\n @input="inputUpdate($event.target.value)" @focus="inputUpdate($event.target.value)"\n @blur="inputBlur"\n @keydown="inputKeydown"\n />\n <ul class="suggestion-box" v-if="showSuggestions">\n <li v-for="(suggestion, i) in suggestions"\n @click="selectSuggestion(suggestion)"\n :class="{active: (i === active)}">{{suggestion}}</li>\n </ul>\n </div>\n \n',data:r,props:a,methods:s,computed:l}},{}],459:[function(e,t,n){"use strict";function r(){var e=this.$el,t=this;new o(e,{url:function(){return t.uploadUrl},init:function(){var e=this;e.on("sending",function(e,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o=void 0===t.uploadedTo?0:t.uploadedTo;r.append("uploaded_to",o)}),e.on("success",function(n,r){t.$emit("success",{file:n,data:r}),$(n.previewElement).fadeOut(400,function(){e.removeFile(n)})}),e.on("error",function(e,n,r){function i(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}t.$emit("error",{file:e,errorMessage:n,xhr:r}),console.log(n),console.log(r),413===r.status&&i(trans("errors.server_upload_limit")),n.file&&i(n.file[0])})}})}function i(){return{}}var o=e("dropzone"),a=["placeholder","uploadUrl","uploadedTo"];t.exports={template:'\n <div class="dropzone-container">\n <div class="dz-message">{{placeholder}}</div>\n </div>\n',props:a,mounted:r,data:i}},{
|
||
dropzone:355}],460:[function(e,t,n){"use strict";function r(){this.id=Number(this.$el.getAttribute("entity-id")),this.type=this.$el.getAttribute("entity-type")}var i={id:null,type:"",searching:!1,searchTerm:"",searchResults:""},o={},a={searchBook:function(){var e=this;if(0!==this.searchTerm.trim().length){this.searching=!0,this.searchResults="";var t=window.baseUrl("/search/"+this.type+"/"+this.id);t+="?term="+encodeURIComponent(this.searchTerm),this.$http.get(t).then(function(t){e.searchResults=t.data})}},checkSearchForm:function(){this.searching=this.searchTerm>0},clearSearch:function(){this.searching=!1,this.searchTerm=""}};t.exports={data:i,computed:o,methods:a,mounted:r}},{}],461:[function(e,t,n){"use strict";function r(){window.ImageManager=this,this.imageType=this.$el.getAttribute("image-type"),this.uploadedTo=this.$el.getAttribute("uploaded-to"),u=window.baseUrl("/images/"+this.imageType+"/all/")}var i=e("./components/dropzone"),o=0,a=0,s=0,l=!1,c=!1,u="",f=[],d=!1,p={images:[],imageType:!1,uploadedTo:!1,selectedImage:!1,dependantPages:!1,showing:!1,view:"all",hasMore:!1,searching:!1,searchTerm:"",imageUpdateSuccess:!1,imageDeleteSuccess:!1},h={show:function(e){c=e,this.showing=!0,this.$el.children[0].components.overlay.show(),l||(this.fetchData(),l=!0)},hide:function(){this.showing=!1,this.$el.children[0].components.overlay.hide()},fetchData:function(){var e=this,t=u+o,n={};!1!==this.uploadedTo&&(n.page_id=this.uploadedTo),this.searching&&(n.term=this.searchTerm),this.$http.get(t,{params:n}).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,o++})},setView:function(e){this.cancelSearch(),this.images=[],this.hasMore=!1,o=0,this.view=e,u=window.baseUrl("/images/"+this.imageType+"/"+e+"/"),this.fetchData()},searchImages:function(){if(""===this.searchTerm)return this.cancelSearch();this.searching||(f=this.images,d=this.hasMore),this.searching=!0,this.images=[],this.hasMore=!1,o=0,u=window.baseUrl("/images/"+this.imageType+"/search/"),this.fetchData()},cancelSearch:function(){this.searching=!1,this.searchTerm="",this.images=f,this.hasMore=d},imageSelect:function(e){var t=Date.now();t-a<300&&e.id===s?this.callbackAndHide(e):(this.selectedImage=e,this.dependantPages=!1),a=t,s=e.id},callbackAndHide:function(e){c&&c(e),this.hide()},saveImageDetails:function(){var e=this,t=window.baseUrl("/images/update/"+this.selectedImage.id);this.$http.put(t,this.selectedImage).then(function(t){e.$events.emit("success",trans("components.image_update_success"))}).catch(function(t){if(422===t.response.status){var n=t.response.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),e.$events.emit("error",r)}})},deleteImage:function(){var e=this,t=!1!==this.dependantPages,n=window.baseUrl("/images/"+this.selectedImage.id);t&&(n+="?force=true"),this.$http.delete(n).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.$events.emit("success",trans("components.image_delete_success"))}).catch(function(t){400===t.response.status&&(e.dependantPages=t.response.data)})},getDate:function(e){return new Date(e)},uploadSuccess:function(e){this.images.unshift(e.data),this.$events.emit("success",trans("components.image_upload_success"))}},m={uploadUrl:function(){return window.baseUrl("/images/"+this.imageType+"/upload")}};t.exports={mounted:r,methods:h,data:p,computed:m,components:{dropzone:i}}},{"./components/dropzone":459}],462:[function(e,t,n){"use strict";function r(){this.termString=document.querySelector("[name=searchTerm]").value,this.typeParse(this.termString),this.exactParse(this.termString),this.tagParse(this.termString),this.optionParse(this.termString),this.dateParse(this.termString)}var i=e("moment"),o={terms:"",termString:"",search:{type:{page:!0,chapter:!0,book:!0},exactTerms:[],tagTerms:[],option:{},dates:{updated_after:!1,updated_before:!1,created_after:!1,created_before:!1}}},a={},s={appendTerm:function(e){this.termString+=" "+e,this.termString=this.termString.replace(/\s{2,}/g," "),this.termString=this.termString.replace(/^\s+/,""),this.termString=this.termString.replace(/\s+$/,"")},exactParse:function(e){this.search.exactTerms=[];for(var t=/"(.+?)"/g,n=void 0;null!==(n=t.exec(e));)this.search.exactTerms.push(n[1])},exactChange:function(){this.termString=this.termString.replace(/"(.+?)"/g,"");var e=this.search.exactTerms.filter(function(e){return""!==e.trim()}).map(function(e){return'"'+e+'"'}).join(" ");this.appendTerm(e)},addExact:function(){this.search.exactTerms.push(""),setTimeout(function(){var e=document.querySelectorAll(".exact-input");e[e.length-1].focus()},100)},removeExact:function(e){this.search.exactTerms.splice(e,1),this.exactChange()},tagParse:function(e){this.search.tagTerms=[];for(var t=/\[(.+?)\]/g,n=void 0;null!==(n=t.exec(e));)this.search.tagTerms.push(n[1])},tagChange:function(){this.termString=this.termString.replace(/\[(.+?)\]/g,"");var e=this.search.tagTerms.filter(function(e){return""!==e.trim()}).map(function(e){return"["+e+"]"}).join(" ");this.appendTerm(e)},addTag:function(){this.search.tagTerms.push(""),setTimeout(function(){var e=document.querySelectorAll(".tag-input");e[e.length-1].focus()},100)},removeTag:function(e){this.search.tagTerms.splice(e,1),this.tagChange()},typeParse:function(e){var t=e.match(/{\s?type:\s?(.*?)\s?}/),n=this.search.type;if(!t)return void(n.page=n.book=n.chapter=!0);var r=t[1].replace(/ /g,"").split("|");n.page=-1!==r.indexOf("page"),n.chapter=-1!==r.indexOf("chapter"),n.book=-1!==r.indexOf("book")},typeChange:function(){var e=this,t=/{\s?type:\s?(.*?)\s?}/,n=this.search.type;if(n.page===n.chapter&&n.page===n.book)return void(this.termString=this.termString.replace(t,""));var r=Object.keys(n).filter(function(t){return e.search.type[t]}).join("|"),i="{type:"+r+"}";if(this.termString.match(t))return void(this.termString=this.termString.replace(t,i));this.appendTerm(i)},optionParse:function(e){for(var t=/{([a-z_\-:]+?)}/gi,n=void 0;null!==(n=t.exec(e));)this.search.option[n[1].toLowerCase()]=!0},optionChange:function(e){this.search.option[e]?this.appendTerm("{"+e+"}"):this.termString=this.termString.replace("{"+e+"}","")},updateSearch:function(e){e.preventDefault(),window.location=window.baseUrl("/search?term="+encodeURIComponent(this.termString))},enableDate:function(e){this.search.dates[e.toLowerCase()]=i().format("YYYY-MM-DD"),this.dateChange(e)},dateParse:function(e){for(var t=/{([a-z_\-]+?):([a-z_\-0-9]+?)}/gi,n=Object.keys(this.search.dates),r=void 0;null!==(r=t.exec(e));)-1!==n.indexOf(r[1])&&(this.search.dates[r[1].toLowerCase()]=r[2])},dateChange:function(e){var t=new RegExp("{\\s?"+e+"\\s?:([a-z_\\-0-9]+?)}","gi");this.termString=this.termString.replace(t,""),this.search.dates[e]&&this.appendTerm("{"+e+":"+this.search.dates[e]+"}")},dateRemove:function(e){this.search.dates[e]=!1,this.dateChange(e)}};t.exports={data:o,computed:a,methods:s,created:r}},{moment:421}],463:[function(e,t,n){"use strict";function r(){var e=this;this.pageId=Number(this.$el.getAttribute("page-id"));var t=window.baseUrl("/ajax/tags/get/page/"+this.pageId);this.$http.get(t).then(function(t){for(var n=t.data,r=0,i=n.length;r<i;r++)n[r].key=Math.random().toString(36).substring(7);e.tags=n,e.addEmptyTag()})}var i=e("vuedraggable"),o=e("./components/autosuggest"),a={pageId:!1,tags:[]},s={draggable:i,autosuggest:o},l={},c={},u={addEmptyTag:function(){this.tags.push({name:"",value:"",key:Math.random().toString(36).substring(7)})},tagChange:function(e){this.tags.indexOf(e)!==this.tags.length-1||""===e.name&&""===e.value||this.addEmptyTag()},tagBlur:function(e){var t=this.tags.indexOf(e)===this.tags.length-1;if(""===e.name&&""===e.value&&!t){var n=this.tags.indexOf(e);this.tags.splice(n,1)}},removeTag:function(e){var t=this.tags.indexOf(e);-1!==t&&this.tags.splice(t,1)},getTagFieldName:function(e,t){return"tags["+e+"]["+t+"]"}};t.exports={data:a,computed:c,methods:u,mounted:r,components:s,directives:l}},{"./components/autosuggest":458,vuedraggable:435}],464:[function(e,t,n){"use strict";var r=e("vue"),i={"search-system":e("./search"),"entity-dashboard":e("./entity-dashboard"),"code-editor":e("./code-editor"),"image-manager":e("./image-manager"),"tag-manager":e("./tag-manager"),"attachment-manager":e("./attachment-manager")};window.vues={};for(var o=Object.keys(i),a=0,s=o.length;a<s;a++)if(function(e){return null!==document.getElementById(e)}(o[a])){var l=i[o[a]];l.el="#"+o[a],window.vues[o[a]]=new r(l)}},{"./attachment-manager":456,"./code-editor":457,"./entity-dashboard":460,"./image-manager":461,"./search":462,"./tag-manager":463,vue:434}]},{},[452]); |