chunk-vendors.c7583f32.js 405 KB

12345678910111213141516171819
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"01bf":function(t,e,n){t.exports=n("6c51")},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,y,b,w){l(n,e,m);var x,C,_,S=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},A=e+" Iterator",k=y==v,T=!1,O=t.prototype,L=O[f]||O[h]||y&&O[y],M=L||S(y),E=y?k?S("entries"):M:void 0,P="Array"==e&&O.entries||L;if(P&&(_=u(P.call(new t)),_!==Object.prototype&&_.next&&(c(_,A,!0),r||"function"==typeof _[f]||a(_,f,g))),k&&L&&L.name!==v&&(T=!0,M=function(){return L.call(this)}),r&&!w||!d&&!T&&O[f]||a(O,f,M),s[e]=M,s[A]=g,y)if(x={values:k?M:S(v),keys:b?M:S(p),entries:E},w)for(C in x)C in O||o(O,C,x[C]);else i(i.P+i.F*(d||T),e,x);return x}},"0660":function(t,e,n){"use strict";t.exports=function(t){var e="isPausedBecauseNotInView"===t;this.isCleared||(e||(this.isPaused=!0),cancelAnimationFrame(this.animation),this.animating=!1)}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,f=6==t,d=5==t||f,h=e||s;return function(e,s,p){for(var v,g,m=o(e),y=i(m),b=r(s,p,3),w=a(y.length),x=0,C=n?h(e,w):l?h(e,0):void 0;w>x;x++)if((d||x in y)&&(v=y[x],g=b(v,x,m),t))if(n)C[x]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:C.push(v)}else if(u)return!1;return f?-1:c||u?u:C}}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0f6c":function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=139)}({139:function(t,e,n){"use strict";n.r(e);var r={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:String},computed:{style:function(){var t={};return this.gutter&&(t.marginLeft="-"+this.gutter/2+"px",t.marginRight=t.marginLeft),t}},render:function(t){return t(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"",this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(t){t.component(r.name,r)}};e["default"]=r}})},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},1184:function(t,e,n){"use strict";t.exports=function(){var t,e,n=[];for(t=0;t<this.currentColors.length;t++)for(n.push([]),e=0;e<4;e++)n[t].push(this.currentColors[t][e]);return n}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=o(t),e=a(e,!0),l)try{return c(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1209:function(t,e,n){"use strict";var r={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},i={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},o=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],a={CSS:{},springs:{}};function s(t,e,n){return Math.min(Math.max(t,e),n)}function l(t,e){return t.indexOf(e)>-1}function c(t,e){return t.apply(null,e)}var u={arr:function(t){return Array.isArray(t)},obj:function(t){return l(Object.prototype.toString.call(t),"Object")},pth:function(t){return u.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||u.svg(t)},str:function(t){return"string"===typeof t},fnc:function(t){return"function"===typeof t},und:function(t){return"undefined"===typeof t},nil:function(t){return u.und(t)||null===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return u.hex(t)||u.rgb(t)||u.hsl(t)},key:function(t){return!r.hasOwnProperty(t)&&!i.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function f(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map((function(t){return parseFloat(t)})):[]}function d(t,e){var n=f(t),r=s(u.und(n[0])?1:n[0],.1,100),i=s(u.und(n[1])?100:n[1],.1,100),o=s(u.und(n[2])?10:n[2],.1,100),l=s(u.und(n[3])?0:n[3],.1,100),c=Math.sqrt(i/r),d=o/(2*Math.sqrt(i*r)),h=d<1?c*Math.sqrt(1-d*d):0,p=1,v=d<1?(d*c-l)/h:-l+c;function g(t){var n=e?e*t/1e3:t;return n=d<1?Math.exp(-n*d*c)*(p*Math.cos(h*n)+v*Math.sin(h*n)):(p+v*n)*Math.exp(-n*c),0===t||1===t?t:1-n}function m(){var e=a.springs[t];if(e)return e;var n=1/6,r=0,i=0;while(1)if(r+=n,1===g(r)){if(i++,i>=16)break}else i=0;var o=r*n*1e3;return a.springs[t]=o,o}return e?g:m}function h(t){return void 0===t&&(t=10),function(e){return Math.ceil(s(e,1e-6,1)*t)*(1/t)}}var p=function(){var t=11,e=1/(t-1);function n(t,e){return 1-3*e+3*t}function r(t,e){return 3*e-6*t}function i(t){return 3*t}function o(t,e,o){return((n(e,o)*t+r(e,o))*t+i(e))*t}function a(t,e,o){return 3*n(e,o)*t*t+2*r(e,o)*t+i(e)}function s(t,e,n,r,i){var a,s,l=0;do{s=e+(n-e)/2,a=o(s,r,i)-t,a>0?n=s:e=s}while(Math.abs(a)>1e-7&&++l<10);return s}function l(t,e,n,r){for(var i=0;i<4;++i){var s=a(e,n,r);if(0===s)return e;var l=o(e,n,r)-t;e-=l/s}return e}function c(n,r,i,c){if(0<=n&&n<=1&&0<=i&&i<=1){var u=new Float32Array(t);if(n!==r||i!==c)for(var f=0;f<t;++f)u[f]=o(f*e,n,i);return function(t){return n===r&&i===c||0===t||1===t?t:o(d(t),r,c)}}function d(r){for(var o=0,c=1,f=t-1;c!==f&&u[c]<=r;++c)o+=e;--c;var d=(r-u[c])/(u[c+1]-u[c]),h=o+d*e,p=a(h,n,i);return p>=.001?l(r,h,n,i):0===p?h:s(r,o,o+e,n,i)}}return c}(),v=function(){var t={linear:function(){return function(t){return t}}},e={Sine:function(){return function(t){return 1-Math.cos(t*Math.PI/2)}},Expo:function(){return function(t){return t?Math.pow(2,10*t-10):0}},Circ:function(){return function(t){return 1-Math.sqrt(1-t*t)}},Back:function(){return function(t){return t*t*(3*t-2)}},Bounce:function(){return function(t){var e,n=4;while(t<((e=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}},Elastic:function(t,e){void 0===t&&(t=1),void 0===e&&(e=.5);var n=s(t,1,10),r=s(e,.1,2);return function(t){return 0===t||1===t?t:-n*Math.pow(2,10*(t-1))*Math.sin((t-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},n=["Quad","Cubic","Quart","Quint"];return n.forEach((function(t,n){e[t]=function(){return function(t){return Math.pow(t,n+2)}}})),Object.keys(e).forEach((function(n){var r=e[n];t["easeIn"+n]=r,t["easeOut"+n]=function(t,e){return function(n){return 1-r(t,e)(1-n)}},t["easeInOut"+n]=function(t,e){return function(n){return n<.5?r(t,e)(2*n)/2:1-r(t,e)(-2*n+2)/2}},t["easeOutIn"+n]=function(t,e){return function(n){return n<.5?(1-r(t,e)(1-2*n))/2:(r(t,e)(2*n-1)+1)/2}}})),t}();function g(t,e){if(u.fnc(t))return t;var n=t.split("(")[0],r=v[n],i=f(t);switch(n){case"spring":return d(t,e);case"cubicBezier":return c(p,i);case"steps":return c(h,i);default:return c(r,i)}}function m(t){try{var e=document.querySelectorAll(t);return e}catch(n){return}}function y(t,e){for(var n=t.length,r=arguments.length>=2?arguments[1]:void 0,i=[],o=0;o<n;o++)if(o in t){var a=t[o];e.call(r,a,o,t)&&i.push(a)}return i}function b(t){return t.reduce((function(t,e){return t.concat(u.arr(e)?b(e):e)}),[])}function w(t){return u.arr(t)?t:(u.str(t)&&(t=m(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function x(t,e){return t.some((function(t){return t===e}))}function C(t){var e={};for(var n in t)e[n]=t[n];return e}function _(t,e){var n=C(t);for(var r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function S(t,e){var n=C(t);for(var r in e)n[r]=u.und(t[r])?e[r]:t[r];return n}function A(t){var e=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t);return e?"rgba("+e[1]+",1)":t}function k(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=t.replace(e,(function(t,e,n,r){return e+e+n+n+r+r})),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),i=parseInt(r[1],16),o=parseInt(r[2],16),a=parseInt(r[3],16);return"rgba("+i+","+o+","+a+",1)"}function T(t){var e,n,r,i=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t),o=parseInt(i[1],10)/360,a=parseInt(i[2],10)/100,s=parseInt(i[3],10)/100,l=i[4]||1;function c(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(0==a)e=n=r=s;else{var u=s<.5?s*(1+a):s+a-s*a,f=2*s-u;e=c(f,u,o+1/3),n=c(f,u,o),r=c(f,u,o-1/3)}return"rgba("+255*e+","+255*n+","+255*r+","+l+")"}function O(t){return u.rgb(t)?A(t):u.hex(t)?k(t):u.hsl(t)?T(t):void 0}function L(t){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t);if(e)return e[1]}function M(t){return l(t,"translate")||"perspective"===t?"px":l(t,"rotate")||l(t,"skew")?"deg":void 0}function E(t,e){return u.fnc(t)?t(e.target,e.id,e.total):t}function P(t,e){return t.getAttribute(e)}function N(t,e,n){var r=L(e);if(x([n,"deg","rad","turn"],r))return e;var i=a.CSS[e+n];if(!u.und(i))return i;var o=100,s=document.createElement(t.tagName),l=t.parentNode&&t.parentNode!==document?t.parentNode:document.body;l.appendChild(s),s.style.position="absolute",s.style.width=o+n;var c=o/s.offsetWidth;l.removeChild(s);var f=c*parseFloat(e);return a.CSS[e+n]=f,f}function I(t,e,n){if(e in t.style){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=t.style[e]||getComputedStyle(t).getPropertyValue(r)||"0";return n?N(t,i,n):i}}function D(t,e){return u.dom(t)&&!u.inp(t)&&(!u.nil(P(t,e))||u.svg(t)&&t[e])?"attribute":u.dom(t)&&x(o,e)?"transform":u.dom(t)&&"transform"!==e&&I(t,e)?"css":null!=t[e]?"object":void 0}function j(t){if(u.dom(t)){var e,n=t.style.transform||"",r=/(\w+)\(([^)]*)\)/g,i=new Map;while(e=r.exec(n))i.set(e[1],e[2]);return i}}function F(t,e,n,r){var i=l(e,"scale")?1:0+M(e),o=j(t).get(e)||i;return n&&(n.transforms.list.set(e,o),n.transforms["last"]=e),r?N(t,o,r):o}function $(t,e,n,r){switch(D(t,e)){case"transform":return F(t,e,r,n);case"css":return I(t,e,n);case"attribute":return P(t,e);default:return t[e]||0}}function R(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var r=L(t)||0,i=parseFloat(e),o=parseFloat(t.replace(n[0],""));switch(n[0][0]){case"+":return i+o+r;case"-":return i-o+r;case"*":return i*o+r}}function B(t,e){if(u.col(t))return O(t);if(/\s/g.test(t))return t;var n=L(t),r=n?t.substr(0,t.length-n.length):t;return e?r+e:r}function W(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function H(t){return 2*Math.PI*P(t,"r")}function z(t){return 2*P(t,"width")+2*P(t,"height")}function V(t){return W({x:P(t,"x1"),y:P(t,"y1")},{x:P(t,"x2"),y:P(t,"y2")})}function q(t){for(var e,n=t.points,r=0,i=0;i<n.numberOfItems;i++){var o=n.getItem(i);i>0&&(r+=W(e,o)),e=o}return r}function U(t){var e=t.points;return q(t)+W(e.getItem(e.numberOfItems-1),e.getItem(0))}function G(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return H(t);case"rect":return z(t);case"line":return V(t);case"polyline":return q(t);case"polygon":return U(t)}}function X(t){var e=G(t);return t.setAttribute("stroke-dasharray",e),e}function Y(t){var e=t.parentNode;while(u.svg(e)){if(!u.svg(e.parentNode))break;e=e.parentNode}return e}function K(t,e){var n=e||{},r=n.el||Y(t),i=r.getBoundingClientRect(),o=P(r,"viewBox"),a=i.width,s=i.height,l=n.viewBox||(o?o.split(" "):[0,0,a,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:a,h:s,vW:l[2],vH:l[3]}}function Q(t,e){var n=u.str(t)?m(t)[0]:t,r=e||100;return function(t){return{property:t,el:n,svg:K(n),totalLength:G(n)*(r/100)}}}function Z(t,e,n){function r(n){void 0===n&&(n=0);var r=e+n>=1?e+n:0;return t.el.getPointAtLength(r)}var i=K(t.el,t.svg),o=r(),a=r(-1),s=r(1),l=n?1:i.w/i.vW,c=n?1:i.h/i.vH;switch(t.property){case"x":return(o.x-i.x)*l;case"y":return(o.y-i.y)*c;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function J(t,e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=B(u.pth(t)?t.totalLength:t,e)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:u.str(t)||e?r.split(n):[]}}function tt(t){var e=t?b(u.arr(t)?t.map(w):w(t)):[];return y(e,(function(t,e,n){return n.indexOf(t)===e}))}function et(t){var e=tt(t);return e.map((function(t,n){return{target:t,id:n,total:e.length,transforms:{list:j(t)}}}))}function nt(t,e){var n=C(e);if(/^spring/.test(n.easing)&&(n.duration=d(n.easing)),u.arr(t)){var r=t.length,i=2===r&&!u.obj(t[0]);i?t={value:t}:u.fnc(e.duration)||(n.duration=e.duration/r)}var o=u.arr(t)?t:[t];return o.map((function(t,n){var r=u.obj(t)&&!u.pth(t)?t:{value:t};return u.und(r.delay)&&(r.delay=n?0:e.delay),u.und(r.endDelay)&&(r.endDelay=n===o.length-1?e.endDelay:0),r})).map((function(t){return S(t,n)}))}function rt(t){for(var e=y(b(t.map((function(t){return Object.keys(t)}))),(function(t){return u.key(t)})).reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),n={},r=function(r){var i=e[r];n[i]=t.map((function(t){var e={};for(var n in t)u.key(n)?n==i&&(e.value=t[n]):e[n]=t[n];return e}))},i=0;i<e.length;i++)r(i);return n}function it(t,e){var n=[],r=e.keyframes;for(var i in r&&(e=S(rt(r),e)),e)u.key(i)&&n.push({name:i,tweens:nt(e[i],t)});return n}function ot(t,e){var n={};for(var r in t){var i=E(t[r],e);u.arr(i)&&(i=i.map((function(t){return E(t,e)})),1===i.length&&(i=i[0])),n[r]=i}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function at(t,e){var n;return t.tweens.map((function(r){var i=ot(r,e),o=i.value,a=u.arr(o)?o[1]:o,s=L(a),l=$(e.target,t.name,s,e),c=n?n.to.original:l,f=u.arr(o)?o[0]:c,d=L(f)||L(l),h=s||d;return u.und(a)&&(a=c),i.from=J(f,h),i.to=J(R(a,f),h),i.start=n?n.end:0,i.end=i.start+i.delay+i.duration+i.endDelay,i.easing=g(i.easing,i.duration),i.isPath=u.pth(o),i.isPathTargetInsideSVG=i.isPath&&u.svg(e.target),i.isColor=u.col(i.from.original),i.isColor&&(i.round=1),n=i,i}))}var st={css:function(t,e,n){return t.style[e]=n},attribute:function(t,e,n){return t.setAttribute(e,n)},object:function(t,e,n){return t[e]=n},transform:function(t,e,n,r,i){if(r.list.set(e,n),e===r.last||i){var o="";r.list.forEach((function(t,e){o+=e+"("+t+") "})),t.style.transform=o}}};function lt(t,e){var n=et(t);n.forEach((function(t){for(var n in e){var r=E(e[n],t),i=t.target,o=L(r),a=$(i,n,o,t),s=o||L(a),l=R(B(r,s),a),c=D(i,n);st[c](i,n,l,t.transforms,!0)}}))}function ct(t,e){var n=D(t.target,e.name);if(n){var r=at(e,t),i=r[r.length-1];return{type:n,property:e.name,animatable:t,tweens:r,duration:i.end,delay:r[0].delay,endDelay:i.endDelay}}}function ut(t,e){return y(b(t.map((function(t){return e.map((function(e){return ct(t,e)}))}))),(function(t){return!u.und(t)}))}function ft(t,e){var n=t.length,r=function(t){return t.timelineOffset?t.timelineOffset:0},i={};return i.duration=n?Math.max.apply(Math,t.map((function(t){return r(t)+t.duration}))):e.duration,i.delay=n?Math.min.apply(Math,t.map((function(t){return r(t)+t.delay}))):e.delay,i.endDelay=n?i.duration-Math.max.apply(Math,t.map((function(t){return r(t)+t.duration-t.endDelay}))):e.endDelay,i}var dt=0;function ht(t){var e=_(r,t),n=_(i,t),o=it(n,t),a=et(t.targets),s=ut(a,o),l=ft(s,n),c=dt;return dt++,S(e,{id:c,children:[],animatables:a,animations:s,duration:l.duration,delay:l.delay,endDelay:l.endDelay})}var pt=[],vt=function(){var t;function e(){t||gt()&&mt.suspendWhenDocumentHidden||!(pt.length>0)||(t=requestAnimationFrame(n))}function n(e){var r=pt.length,i=0;while(i<r){var o=pt[i];o.paused?(pt.splice(i,1),r--):(o.tick(e),i++)}t=i>0?requestAnimationFrame(n):void 0}function r(){mt.suspendWhenDocumentHidden&&(gt()?t=cancelAnimationFrame(t):(pt.forEach((function(t){return t._onDocumentVisibility()})),vt()))}return"undefined"!==typeof document&&document.addEventListener("visibilitychange",r),e}();function gt(){return!!document&&document.hidden}function mt(t){void 0===t&&(t={});var e,n=0,r=0,i=0,o=0,a=null;function l(t){var e=window.Promise&&new Promise((function(t){return a=t}));return t.finished=e,e}var c=ht(t);l(c);function u(){var t=c.direction;"alternate"!==t&&(c.direction="normal"!==t?"normal":"reverse"),c.reversed=!c.reversed,e.forEach((function(t){return t.reversed=c.reversed}))}function f(t){return c.reversed?c.duration-t:t}function d(){n=0,r=f(c.currentTime)*(1/mt.speed)}function h(t,e){e&&e.seek(t-e.timelineOffset)}function p(t){if(c.reversePlayback)for(var n=o;n--;)h(t,e[n]);else for(var r=0;r<o;r++)h(t,e[r])}function v(t){var e=0,n=c.animations,r=n.length;while(e<r){var i=n[e],o=i.animatable,a=i.tweens,l=a.length-1,u=a[l];l&&(u=y(a,(function(e){return t<e.end}))[0]||u);for(var f=s(t-u.start-u.delay,0,u.duration)/u.duration,d=isNaN(f)?1:u.easing(f),h=u.to.strings,p=u.round,v=[],g=u.to.numbers.length,m=void 0,b=0;b<g;b++){var w=void 0,x=u.to.numbers[b],C=u.from.numbers[b]||0;w=u.isPath?Z(u.value,d*x,u.isPathTargetInsideSVG):C+d*(x-C),p&&(u.isColor&&b>2||(w=Math.round(w*p)/p)),v.push(w)}var _=h.length;if(_){m=h[0];for(var S=0;S<_;S++){h[S];var A=h[S+1],k=v[S];isNaN(k)||(m+=A?k+A:k+" ")}}else m=v[0];st[i.type](o.target,i.property,m,o.transforms),i.currentValue=m,e++}}function g(t){c[t]&&!c.passThrough&&c[t](c)}function m(){c.remaining&&!0!==c.remaining&&c.remaining--}function b(t){var o=c.duration,d=c.delay,h=o-c.endDelay,y=f(t);c.progress=s(y/o*100,0,100),c.reversePlayback=y<c.currentTime,e&&p(y),!c.began&&c.currentTime>0&&(c.began=!0,g("begin")),!c.loopBegan&&c.currentTime>0&&(c.loopBegan=!0,g("loopBegin")),y<=d&&0!==c.currentTime&&v(0),(y>=h&&c.currentTime!==o||!o)&&v(o),y>d&&y<h?(c.changeBegan||(c.changeBegan=!0,c.changeCompleted=!1,g("changeBegin")),g("change"),v(y)):c.changeBegan&&(c.changeCompleted=!0,c.changeBegan=!1,g("changeComplete")),c.currentTime=s(y,0,o),c.began&&g("update"),t>=o&&(r=0,m(),c.remaining?(n=i,g("loopComplete"),c.loopBegan=!1,"alternate"===c.direction&&u()):(c.paused=!0,c.completed||(c.completed=!0,g("loopComplete"),g("complete"),!c.passThrough&&"Promise"in window&&(a(),l(c)))))}return c.reset=function(){var t=c.direction;c.passThrough=!1,c.currentTime=0,c.progress=0,c.paused=!0,c.began=!1,c.loopBegan=!1,c.changeBegan=!1,c.completed=!1,c.changeCompleted=!1,c.reversePlayback=!1,c.reversed="reverse"===t,c.remaining=c.loop,e=c.children,o=e.length;for(var n=o;n--;)c.children[n].reset();(c.reversed&&!0!==c.loop||"alternate"===t&&1===c.loop)&&c.remaining++,v(c.reversed?c.duration:0)},c._onDocumentVisibility=d,c.set=function(t,e){return lt(t,e),c},c.tick=function(t){i=t,n||(n=i),b((i+(r-n))*mt.speed)},c.seek=function(t){b(f(t))},c.pause=function(){c.paused=!0,d()},c.play=function(){c.paused&&(c.completed&&c.reset(),c.paused=!1,pt.push(c),d(),vt())},c.reverse=function(){u(),c.completed=!c.reversed,d()},c.restart=function(){c.reset(),c.play()},c.remove=function(t){var e=tt(t);bt(e,c)},c.reset(),c.autoplay&&c.play(),c}function yt(t,e){for(var n=e.length;n--;)x(t,e[n].animatable.target)&&e.splice(n,1)}function bt(t,e){var n=e.animations,r=e.children;yt(t,n);for(var i=r.length;i--;){var o=r[i],a=o.animations;yt(t,a),a.length||o.children.length||r.splice(i,1)}n.length||r.length||e.pause()}function wt(t){for(var e=tt(t),n=pt.length;n--;){var r=pt[n];bt(e,r)}}function xt(t,e){void 0===e&&(e={});var n=e.direction||"normal",r=e.easing?g(e.easing):null,i=e.grid,o=e.axis,a=e.from||0,s="first"===a,l="center"===a,c="last"===a,f=u.arr(t),d=f?parseFloat(t[0]):parseFloat(t),h=f?parseFloat(t[1]):0,p=L(f?t[1]:t)||0,v=e.start||0+(f?d:0),m=[],y=0;return function(t,e,u){if(s&&(a=0),l&&(a=(u-1)/2),c&&(a=u-1),!m.length){for(var g=0;g<u;g++){if(i){var b=l?(i[0]-1)/2:a%i[0],w=l?(i[1]-1)/2:Math.floor(a/i[0]),x=g%i[0],C=Math.floor(g/i[0]),_=b-x,S=w-C,A=Math.sqrt(_*_+S*S);"x"===o&&(A=-_),"y"===o&&(A=-S),m.push(A)}else m.push(Math.abs(a-g));y=Math.max.apply(Math,m)}r&&(m=m.map((function(t){return r(t/y)*y}))),"reverse"===n&&(m=m.map((function(t){return o?t<0?-1*t:-t:Math.abs(y-t)})))}var k=f?(h-d)/y:d;return v+k*(Math.round(100*m[e])/100)+p}}function Ct(t){void 0===t&&(t={});var e=mt(t);return e.duration=0,e.add=function(n,r){var o=pt.indexOf(e),a=e.children;function s(t){t.passThrough=!0}o>-1&&pt.splice(o,1);for(var l=0;l<a.length;l++)s(a[l]);var c=S(n,_(i,t));c.targets=c.targets||t.targets;var f=e.duration;c.autoplay=!1,c.direction=e.direction,c.timelineOffset=u.und(r)?f:R(r,f),s(e),e.seek(c.timelineOffset);var d=mt(c);s(d),a.push(d);var h=ft(a,t);return e.delay=h.delay,e.endDelay=h.endDelay,e.duration=h.duration,e.seek(0),e.reset(),e.autoplay&&e.play(),e},e}mt.version="3.2.1",mt.speed=1,mt.suspendWhenDocumentHidden=!0,mt.running=pt,mt.remove=wt,mt.get=$,mt.set=lt,mt.convertPx=N,mt.path=Q,mt.setDashoffset=X,mt.stagger=xt,mt.timeline=Ct,mt.easing=g,mt.penner=v,mt.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},e["a"]=mt},"12cb":function(t,e,n){"use strict";t.exports=function(t){var e=this;this.activeState!==t&&(this.isPaused||(this.isPaused=!0,this.pause()),this.channelsIndex=-1,this.activetransitionSpeed=this.stateTransitionSpeed,this.activeColorsDiff=[],this.activeColorsPosDiff=[],this.activeColors=this.getCurrentColors(),this.activeColorsPos=this.getCurrentColorsPos(),this.progress=0,this.previousTimeStamp=null,this.isChangingState=!0,this.states[t].gradients[0].forEach((function(t,n,r){var i=e.convertColorToRgba(e.getColor(t)),o=e.getColorPos(t,n),a=e.getColorDiff(e.activeColors[n],i),s=e.getColorPosDiff(e.activeColorsPos[n],o);e.activeColorsDiff.push(a),e.activeColorsPosDiff.push(s)})),this.activeState=t,this.play())}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,l=0;while(s>l)r.f(t,n=a[l++],e[n]);return t}},"14f6":function(t,e,n){"use strict";t.exports=function(t){this.context.clearRect(0,0,this.x1,this.y1),this.direction=t,this.validateInput("direction"),this.isPaused&&this.refreshColorsAndPos()}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"17bc":function(t,e,n){"use strict";t.exports=function(){var t,e=[];for(t=0;t<this.currentColorsPos.length;t++)e.push(this.currentColorsPos[t]);return e}},1951:function(t,e,n){},1991:function(t,e,n){var r,i,o,a=n("9b43"),s=n("31f4"),l=n("fab2"),c=n("230e"),u=n("7726"),f=u.process,d=u.setImmediate,h=u.clearImmediate,p=u.MessageChannel,v=u.Dispatch,g=0,m={},y="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){b.call(t.data)};d&&h||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete m[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",w,!1)):r=y in c("script")?function(t){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:d,clear:h}},"1ac0":function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,"a",(function(){return s}));var i={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(t){},onComplete:function(t){},preStringTyped:function(t,e){},onStringTyped:function(t,e){},onLastStringBackspaced:function(t){},onTypingPaused:function(t,e){},onTypingResumed:function(t,e){},onReset:function(t){},onStop:function(t,e){},onStart:function(t,e){},onDestroy:function(t){}},o=new(function(){function t(){}var e=t.prototype;return e.load=function(t,e,n){if(t.el="string"==typeof n?document.querySelector(n):n,t.options=r({},i,e),t.isInput="input"===t.el.tagName.toLowerCase(),t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=!t.isInput&&t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map((function(t){return t.trim()})),t.stringsElement="string"==typeof t.options.stringsElement?document.querySelector(t.options.stringsElement):t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var o=Array.prototype.slice.apply(t.stringsElement.children),a=o.length;if(a)for(var s=0;s<a;s+=1)t.strings.push(o[s].innerHTML.trim())}for(var l in t.strPos=0,t.currentElContent=this.getCurrentElContent(t),t.currentElContent&&t.currentElContent.length>0&&(t.strPos=t.currentElContent.length-1,t.strings.unshift(t.currentElContent)),t.sequence=[],t.strings)t.sequence[l]=l;t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.autoInsertCss=t.options.autoInsertCss,t.autoInsertCss&&(this.appendCursorAnimationCss(t),this.appendFadeOutAnimationCss(t))},e.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},e.appendCursorAnimationCss=function(t){var e="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+e+"]")){var n=document.createElement("style");n.setAttribute(e,"true"),n.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(n)}},e.appendFadeOutAnimationCss=function(t){var e="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+e+"]")){var n=document.createElement("style");n.setAttribute(e,"true"),n.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(n)}},t}()),a=new(function(){function t(){}var e=t.prototype;return e.typeHtmlChars=function(t,e,n){if("html"!==n.contentType)return e;var r=t.substring(e).charAt(0);if("<"===r||"&"===r){var i;for(i="<"===r?">":";";t.substring(e+1).charAt(0)!==i&&!(1+ ++e>t.length););e++}return e},e.backSpaceHtmlChars=function(t,e,n){if("html"!==n.contentType)return e;var r=t.substring(e).charAt(0);if(">"===r||";"===r){var i;for(i=">"===r?"<":"&";t.substring(e-1).charAt(0)!==i&&!(--e<0););e--}return e},t}()),s=function(){function t(t,e){o.load(this,e,t),this.begin()}var e=t.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout((function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)}),this.startDelay)},e.typewrite=function(t,e){var n=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var r=this.humanizer(this.typeSpeed),i=1;!0!==this.pause.status?this.timeout=setTimeout((function(){e=a.typeHtmlChars(t,e,n);var r=0,o=t.substring(e);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var s=1;s+=(o=/\d+/.exec(o)[0]).length,r=parseInt(o),n.temporaryPause=!0,n.options.onTypingPaused(n.arrayPos,n),t=t.substring(0,e)+t.substring(e+s),n.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(e+i).charAt(0)&&(i++,!(e+i>t.length)););var l=t.substring(0,e),c=t.substring(l.length+1,e+i),u=t.substring(e+i+1);t=l+c+u,i--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),e>=t.length?n.doneTyping(t,e):n.keepTyping(t,e,i),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),r)}),r):this.setPauseStatus(t,e,!0)},e.keepTyping=function(t,e,n){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var r=t.substring(0,e+=n);this.replaceText(r),this.typewrite(t,e)},e.doneTyping=function(t,e){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(t,e)}),this.backDelay))},e.backspace=function(t,e){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var r=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=a.backSpaceHtmlChars(t,e,n);var r=t.substring(0,e);if(n.replaceText(r),n.smartBackspace){var i=n.strings[n.arrayPos+1];n.stopNum=i&&r===i.substring(0,e)?e:0}e>n.stopNum?(e--,n.backspace(t,e)):e<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],e))}),r)}else this.setPauseStatus(t,e,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(t,e,n){this.pause.typewrite=n,this.pause.curString=t,this.pause.curStrPos=e},e.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(t){return Math.round(Math.random()*t/2)+t},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))},e.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)},e.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},e.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}()},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t["return"];throw void 0!==o&&r(o.call(t)),a}}},"202e":function(t,e,n){"use strict";function r(t){var e,n=!0,r=0;while(n&&r<t.length){if(e=t[r],"string"!==typeof e)n=!1;else{var i=null,o=null;-1!==e.indexOf("px")&&(o="px"),-1!==e.indexOf("%")&&(o="%"),i=e.split(o).filter((function(t){return t.length>0})),(!o||i.length>2||!i[0]||i[1]||!/^-?\d+\.?\d*$/.test(i[0]))&&(n=!1)}r++}return n}t.exports=function(t){var e=["left","center","right"],n=["top","center","bottom"],i=["none","stretch","stretch-if-smaller","stretch-if-bigger"],o=["multiply","screen","normal","overlay","darken","lighten","lighter","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],a=["diagonal","left-right","top-bottom","radial","custom"];switch(t){case"image":Array.isArray(this.image.position)&&2===this.image.position.length&&-1!==e.indexOf(this.image.position[0])&&-1!==n.indexOf(this.image.position[1])||this.triggerError("image.position"),this.image.stretchMode&&(Array.isArray(this.image.stretchMode)&&2===this.image.stretchMode.length&&-1!==i.indexOf(this.image.stretchMode[0])&&-1!==i.indexOf(this.image.stretchMode[1])||this.triggerError("image.stretchMode"));break;case"blendingMode":-1===o.indexOf(this.image.blendingMode)&&(this.clear(),this.triggerError("blendingMode"));break;case"direction":-1===a.indexOf(this.direction)?this.triggerError("direction"):"custom"===this.direction&&(r([this.customDirection.x0,this.customDirection.x1,this.customDirection.y0,this.customDirection.y1])||this.triggerError("customDirection"));break}}},"206f":function(t,e,n){"use strict";t.exports=function(){var t=this.setDirection(),e=document.querySelector(this.elToSetClassOn).classList,n=0;for(this.context.clearRect(0,0,this.x1,this.y1),this.image&&this.context.drawImage(this.imageNode,this.imagePosition.x,this.imagePosition.y,this.imagePosition.width,this.imagePosition.height),n;n<this.currentColors.length;n++)t.addColorStop(this.currentColorsPos[n],"rgba("+this.currentColors[n][0]+", "+this.currentColors[n][1]+", "+this.currentColors[n][2]+", "+this.currentColors[n][3]+")");this.name&&("light"===this.getLightness()?(e.remove(this.name+"-dark"),e.add(this.name+"-light")):(e.remove(this.name+"-light"),e.add(this.name+"-dark"))),this.context.fillStyle=t,this.context.fillRect(0,0,this.x1,this.y1)}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"24c5":function(t,e,n){"use strict";var r,i,o,a,s=n("b8e3"),l=n("e53d"),c=n("d864"),u=n("40c3"),f=n("63b6"),d=n("f772"),h=n("79aa"),p=n("1173"),v=n("a22a"),g=n("f201"),m=n("4178").set,y=n("aba2")(),b=n("656e"),w=n("4439"),x=n("bc13"),C=n("cd78"),_="Promise",S=l.TypeError,A=l.process,k=A&&A.versions,T=k&&k.v8||"",O=l[_],L="process"==u(A),M=function(){},E=i=b.f,P=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(M,M)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),N=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(i||(2==t._h&&F(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===e.promise?c(S("Promise-chain cycle")):(o=N(n))?o.call(n,l,c):l(n)):c(r)}catch(f){u&&!a&&u.exit(),c(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&D(t)}))}},D=function(t){m.call(l,(function(){var e,n,r,i=t._v,o=j(t);if(o&&(e=w((function(){L?A.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=L||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(l,(function(){var e;L?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},$=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=N(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,c(R,r,1),c($,r,1))}catch(i){$.call(r,i)}})):(n._v=t,n._s=1,I(n,!1))}catch(r){$.call({_w:n,_d:!1},r)}}};P||(O=function(t){p(this,O,_,"_h"),h(t),r.call(this);try{t(c(R,this,1),c($,this,1))}catch(e){$.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(O.prototype,{then:function(t,e){var n=E(g(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(R,t,1),this.reject=c($,t,1)},b.f=E=function(t){return t===O||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!P,{Promise:O}),n("45f2")(O,_),n("4c95")(_),a=n("584a")[_],f(f.S+f.F*!P,_,{reject:function(t){var e=E(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!P),_,{resolve:function(t){return C(s&&this===a?O:this,t)}}),f(f.S+f.F*!(P&&n("4ee1")((function(t){O.all(t)["catch"](M)}))),_,{all:function(t){var e=this,n=E(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,l=!1;n.push(void 0),a++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=E(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"278a":function(t,e,n){"use strict";t.exports=function(t){if(t instanceof HTMLCanvasElement)this.canvas=t;else{if("string"!==typeof t)throw new Error("The element you used is neither a String, nor a HTMLCanvasElement");this.canvas=document.querySelector(t)}if(!this.canvas)throw new Error("`"+t+"` could not be found in the DOM")}},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",c=(""+s).split(l);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||i(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l="prototype",c=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),c=t.F;while(r--)delete c[l][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EffectScope",(function(){return Le})),n.d(e,"computed",(function(){return me})),n.d(e,"customRef",(function(){return le})),n.d(e,"default",(function(){return io})),n.d(e,"defineAsyncComponent",(function(){return nr})),n.d(e,"defineComponent",(function(){return br})),n.d(e,"del",(function(){return Ht})),n.d(e,"effectScope",(function(){return Me})),n.d(e,"getCurrentInstance",(function(){return mt})),n.d(e,"getCurrentScope",(function(){return Pe})),n.d(e,"h",(function(){return Rn})),n.d(e,"inject",(function(){return je})),n.d(e,"isProxy",(function(){return Kt})),n.d(e,"isReactive",(function(){return Gt})),n.d(e,"isReadonly",(function(){return Yt})),n.d(e,"isRef",(function(){return te})),n.d(e,"isShallow",(function(){return Xt})),n.d(e,"markRaw",(function(){return Zt})),n.d(e,"mergeDefaults",(function(){return An})),n.d(e,"nextTick",(function(){return Jn})),n.d(e,"onActivated",(function(){return fr})),n.d(e,"onBeforeMount",(function(){return or})),n.d(e,"onBeforeUnmount",(function(){return cr})),n.d(e,"onBeforeUpdate",(function(){return sr})),n.d(e,"onDeactivated",(function(){return dr})),n.d(e,"onErrorCaptured",(function(){return mr})),n.d(e,"onMounted",(function(){return ar})),n.d(e,"onRenderTracked",(function(){return pr})),n.d(e,"onRenderTriggered",(function(){return vr})),n.d(e,"onScopeDispose",(function(){return Ne})),n.d(e,"onServerPrefetch",(function(){return hr})),n.d(e,"onUnmounted",(function(){return ur})),n.d(e,"onUpdated",(function(){return lr})),n.d(e,"provide",(function(){return Ie})),n.d(e,"proxyRefs",(function(){return ae})),n.d(e,"reactive",(function(){return Vt})),n.d(e,"readonly",(function(){return he})),n.d(e,"ref",(function(){return ee})),n.d(e,"set",(function(){return Wt})),n.d(e,"shallowReactive",(function(){return qt})),n.d(e,"shallowReadonly",(function(){return ge})),n.d(e,"shallowRef",(function(){return ne})),n.d(e,"toRaw",(function(){return Qt})),n.d(e,"toRef",(function(){return ue})),n.d(e,"toRefs",(function(){return ce})),n.d(e,"triggerRef",(function(){return ie})),n.d(e,"unref",(function(){return oe})),n.d(e,"useAttrs",(function(){return Cn})),n.d(e,"useCssModule",(function(){return tr})),n.d(e,"useCssVars",(function(){return er})),n.d(e,"useListeners",(function(){return _n})),n.d(e,"useSlots",(function(){return xn})),n.d(e,"version",(function(){return yr})),n.d(e,"watch",(function(){return Te})),n.d(e,"watchEffect",(function(){return Ce})),n.d(e,"watchPostEffect",(function(){return _e})),n.d(e,"watchSyncEffect",(function(){return Se}));
  2. /*!
  3. * Vue.js v2.7.16
  4. * (c) 2014-2023 Evan You
  5. * Released under the MIT License.
  6. */
  7. var r=Object.freeze({}),i=Array.isArray;function o(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function l(t){return!1===t}function c(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return"function"===typeof t}function f(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function h(t){return"[object Object]"===d.call(t)}function p(t){return"[object RegExp]"===d.call(t)}function v(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function g(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===d?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function w(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}w("slot,component",!0);var x=w("key,ref,slot,slot-scope,is");function C(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var _=Object.prototype.hasOwnProperty;function S(t,e){return _.call(t,e)}function A(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var k=/-(\w)/g,T=A((function(t){return t.replace(k,(function(t,e){return e?e.toUpperCase():""}))})),O=A((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),L=/\B([A-Z])/g,M=A((function(t){return t.replace(L,"-$1").toLowerCase()}));function E(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function P(t,e){return t.bind(e)}var N=Function.prototype.bind?P:E;function I(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function j(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function F(t,e,n){}var $=function(t,e,n){return!1},R=function(t){return t};function B(t,e){if(t===e)return!0;var n=f(t),r=f(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return B(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return B(t[n],e[n])}))}catch(l){return!1}}function W(t,e){for(var n=0;n<t.length;n++)if(B(t[n],e))return n;return-1}function H(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function z(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var V="data-server-rendered",q=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],G={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$,isReservedAttr:$,isUnknownElement:$,getTagNamespace:F,parsePlatformTagName:R,mustUseProp:$,async:!0,_lifecycleHooks:U},X=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function K(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Q=new RegExp("[^".concat(X.source,".$_\\d]"));function Z(t){if(!Q.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var J="__proto__"in{},tt="undefined"!==typeof window,et=tt&&window.navigator.userAgent.toLowerCase(),nt=et&&/msie|trident/.test(et),rt=et&&et.indexOf("msie 9.0")>0,it=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var ot=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),lt={}.watch,ct=!1;if(tt)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(ol){}var ft=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),at},dt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ht(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,vt="undefined"!==typeof Symbol&&ht(Symbol)&&"undefined"!==typeof Reflect&&ht(Reflect.ownKeys);pt="undefined"!==typeof Set&&ht(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var gt=null;function mt(){return gt&&{proxy:gt}}function yt(t){void 0===t&&(t=null),t||gt&&gt._scope.off(),gt=t,t&&t._scope.on()}var bt=function(){function t(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.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,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),wt=function(t){void 0===t&&(t="");var e=new bt;return e.text=t,e.isComment=!0,e};function xt(t){return new bt(void 0,void 0,void 0,String(t))}function Ct(t){var e=new bt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var _t=0,St=[],At=function(){for(var t=0;t<St.length;t++){var e=St[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}St.length=0},kt=function(){function t(){this._pending=!1,this.id=_t++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,St.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){var i=e[n];0,i.update()}},t}();kt.target=null;var Tt=[];function Ot(t){Tt.push(t),kt.target=t}function Lt(){Tt.pop(),kt.target=Tt[Tt.length-1]}var Mt=Array.prototype,Et=Object.create(Mt),Pt=["push","pop","shift","unshift","splice","sort","reverse"];Pt.forEach((function(t){var e=Mt[t];K(Et,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Nt=Object.getOwnPropertyNames(Et),It={},Dt=!0;function jt(t){Dt=t}var Ft={notify:F,depend:F,addSub:F,removeSub:F},$t=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Ft:new kt,this.vmCount=0,K(t,"__ob__",this),i(t)){if(!n)if(J)t.__proto__=Et;else for(var r=0,o=Nt.length;r<o;r++){var a=Nt[r];K(t,a,Et[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(r=0;r<s.length;r++){a=s[r];Bt(t,a,It,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Rt(t[e],!1,this.mock)},t}();function Rt(t,e,n){return t&&S(t,"__ob__")&&t.__ob__ instanceof $t?t.__ob__:!Dt||!n&&ft()||!i(t)&&!h(t)||!Object.isExtensible(t)||t.__v_skip||te(t)||t instanceof bt?void 0:new $t(t,e,n)}function Bt(t,e,n,r,o,a,s){void 0===s&&(s=!1);var l=new kt,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var u=c&&c.get,f=c&&c.set;u&&!f||n!==It&&2!==arguments.length||(n=t[e]);var d=o?n&&n.__ob__:Rt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return kt.target&&(l.depend(),d&&(d.dep.depend(),i(e)&&zt(e))),te(e)&&!o?e.value:e},set:function(e){var r=u?u.call(t):n;if(z(r,e)){if(f)f.call(t,e);else{if(u)return;if(!o&&te(r)&&!te(e))return void(r.value=e);n=e}d=o?e&&e.__ob__:Rt(e,!1,a),l.notify()}}}),l}}function Wt(t,e,n){if(!Yt(t)){var r=t.__ob__;return i(t)&&v(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Rt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Bt(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Ht(t,e){if(i(t)&&v(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Yt(t)||S(t,e)&&(delete t[e],n&&n.dep.notify())}}function zt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),i(e)&&zt(e)}function Vt(t){return Ut(t,!1),t}function qt(t){return Ut(t,!0),K(t,"__v_isShallow",!0),t}function Ut(t,e){if(!Yt(t)){Rt(t,e,ft());0}}function Gt(t){return Yt(t)?Gt(t["__v_raw"]):!(!t||!t.__ob__)}function Xt(t){return!(!t||!t.__v_isShallow)}function Yt(t){return!(!t||!t.__v_isReadonly)}function Kt(t){return Gt(t)||Yt(t)}function Qt(t){var e=t&&t["__v_raw"];return e?Qt(e):t}function Zt(t){return Object.isExtensible(t)&&K(t,"__v_skip",!0),t}var Jt="__v_isRef";function te(t){return!(!t||!0!==t.__v_isRef)}function ee(t){return re(t,!1)}function ne(t){return re(t,!0)}function re(t,e){if(te(t))return t;var n={};return K(n,Jt,!0),K(n,"__v_isShallow",e),K(n,"dep",Bt(n,"value",t,null,e,ft())),n}function ie(t){t.dep&&t.dep.notify()}function oe(t){return te(t)?t.value:t}function ae(t){if(Gt(t))return t;for(var e={},n=Object.keys(t),r=0;r<n.length;r++)se(e,t,n[r]);return e}function se(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(te(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];te(r)&&!te(t)?r.value=t:e[n]=t}})}function le(t){var e=new kt,n=t((function(){e.depend()}),(function(){e.notify()})),r=n.get,i=n.set,o={get value(){return r()},set value(t){i(t)}};return K(o,Jt,!0),o}function ce(t){var e=i(t)?new Array(t.length):{};for(var n in t)e[n]=ue(t,n);return e}function ue(t,e,n){var r=t[e];if(te(r))return r;var i={get value(){var r=t[e];return void 0===r?n:r},set value(n){t[e]=n}};return K(i,Jt,!0),i}var fe="__v_rawToReadonly",de="__v_rawToShallowReadonly";function he(t){return pe(t,!1)}function pe(t,e){if(!h(t))return t;if(Yt(t))return t;var n=e?de:fe,r=t[n];if(r)return r;var i=Object.create(Object.getPrototypeOf(t));K(t,n,i),K(i,"__v_isReadonly",!0),K(i,"__v_raw",t),te(t)&&K(i,Jt,!0),(e||Xt(t))&&K(i,"__v_isShallow",!0);for(var o=Object.keys(t),a=0;a<o.length;a++)ve(i,t,o[a],e);return i}function ve(t,e,n,r){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return r||!h(t)?t:he(t)},set:function(){}})}function ge(t){return pe(t,!0)}function me(t,e){var n,r,i=u(t);i?(n=t,r=F):(n=t.get,r=t.set);var o=ft()?null:new Ar(gt,n,F,{lazy:!0});var a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),kt.target&&o.depend(),o.value):n()},set value(t){r(t)}};return K(a,Jt,!0),K(a,"__v_isReadonly",i),a}var ye="watcher",be="".concat(ye," callback"),we="".concat(ye," getter"),xe="".concat(ye," cleanup");function Ce(t,e){return Oe(t,null,e)}function _e(t,e){return Oe(t,null,{flush:"post"})}function Se(t,e){return Oe(t,null,{flush:"sync"})}var Ae,ke={};function Te(t,e,n){return Oe(t,e,n)}function Oe(t,e,n){var o=void 0===n?r:n,a=o.immediate,s=o.deep,l=o.flush,c=void 0===l?"pre":l;o.onTrack,o.onTrigger;var f,d,h=gt,p=function(t,e,n){void 0===n&&(n=null);var r=Wn(t,null,n,h,e);return s&&r&&r.__ob__&&r.__ob__.dep.depend(),r},v=!1,g=!1;if(te(t)?(f=function(){return t.value},v=Xt(t)):Gt(t)?(f=function(){return t.__ob__.dep.depend(),t},s=!0):i(t)?(g=!0,v=t.some((function(t){return Gt(t)||Xt(t)})),f=function(){return t.map((function(t){return te(t)?t.value:Gt(t)?(t.__ob__.dep.depend(),xr(t)):u(t)?p(t,we):void 0}))}):f=u(t)?e?function(){return p(t,we)}:function(){if(!h||!h._isDestroyed)return d&&d(),p(t,ye,[y])}:F,e&&s){var m=f;f=function(){return xr(m())}}var y=function(t){d=b.onStop=function(){p(t,xe)}};if(ft())return y=F,e?a&&p(e,be,[f(),g?[]:void 0,y]):f(),F;var b=new Ar(gt,f,F,{lazy:!0});b.noRecurse=!e;var w=g?[]:ke;return b.run=function(){if(b.active)if(e){var t=b.get();(s||v||(g?t.some((function(t,e){return z(t,w[e])})):z(t,w)))&&(d&&d(),p(e,be,[t,w===ke?void 0:w,y]),w=t)}else b.get()},"sync"===c?b.update=b.run:"post"===c?(b.post=!0,b.update=function(){return ri(b)}):b.update=function(){if(h&&h===gt&&!h._isMounted){var t=h._preWatchers||(h._preWatchers=[]);t.indexOf(b)<0&&t.push(b)}else ri(b)},e?a?b.run():w=b.get():"post"===c&&h?h.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}var Le=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Ae;try{return Ae=this,t()}finally{Ae=e}}else 0},t.prototype.on=function(){Ae=this},t.prototype.off=function(){Ae=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Me(t){return new Le(t)}function Ee(t,e){void 0===e&&(e=Ae),e&&e.active&&e.effects.push(t)}function Pe(){return Ae}function Ne(t){Ae&&Ae.cleanups.push(t)}function Ie(t,e){gt&&(De(gt)[t]=e)}function De(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function je(t,e,n){void 0===n&&(n=!1);var r=gt;if(r){var i=r.$parent&&r.$parent._provided;if(i&&t in i)return i[t];if(arguments.length>1)return n&&u(e)?e.call(r):e}else 0}var Fe=A((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function $e(t,e){function n(){var t=n.fns;if(!i(t))return Wn(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)Wn(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Re(t,e,n,r,i,a){var l,c,u,f;for(l in t)c=t[l],u=e[l],f=Fe(l),o(c)||(o(u)?(o(c.fns)&&(c=t[l]=$e(c,a)),s(f.once)&&(c=t[l]=i(f.name,c,f.capture)),n(f.name,c,f.capture,f.passive,f.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)o(t[l])&&(f=Fe(l),r(f.name,e[l],f.capture))}function Be(t,e,n){var r;t instanceof bt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function l(){n.apply(this,arguments),C(r.fns,l)}o(i)?r=$e([l]):a(i.fns)&&s(i.merged)?(r=i,r.fns.push(l)):r=$e([i,l]),r.merged=!0,t[e]=r}function We(t,e,n){var r=e.options.props;if(!o(r)){var i={},s=t.attrs,l=t.props;if(a(s)||a(l))for(var c in r){var u=M(c);He(i,l,c,u,!0)||He(i,s,c,u,!1)}return i}}function He(t,e,n,r,i){if(a(e)){if(S(e,n))return t[n]=e[n],i||delete e[n],!0;if(S(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function ze(t){for(var e=0;e<t.length;e++)if(i(t[e]))return Array.prototype.concat.apply([],t);return t}function Ve(t){return c(t)?[xt(t)]:i(t)?Ue(t):void 0}function qe(t){return a(t)&&a(t.text)&&l(t.isComment)}function Ue(t,e){var n,r,l,u,f=[];for(n=0;n<t.length;n++)r=t[n],o(r)||"boolean"===typeof r||(l=f.length-1,u=f[l],i(r)?r.length>0&&(r=Ue(r,"".concat(e||"","_").concat(n)),qe(r[0])&&qe(u)&&(f[l]=xt(u.text+r[0].text),r.shift()),f.push.apply(f,r)):c(r)?qe(u)?f[l]=xt(u.text+r):""!==r&&f.push(xt(r)):qe(r)&&qe(u)?f[l]=xt(u.text+r.text):(s(t._isVList)&&a(r.tag)&&o(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function Ge(t,e){var n,r,o,s,l=null;if(i(t)||"string"===typeof t)for(l=new Array(t.length),n=0,r=t.length;n<r;n++)l[n]=e(t[n],n);else if("number"===typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(f(t))if(vt&&t[Symbol.iterator]){l=[];var c=t[Symbol.iterator](),u=c.next();while(!u.done)l.push(e(u.value,l.length)),u=c.next()}else for(o=Object.keys(t),l=new Array(o.length),n=0,r=o.length;n<r;n++)s=o[n],l[n]=e(t[s],s,n);return a(l)||(l=[]),l._isVList=!0,l}function Xe(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n)||(u(e)?e():e)):i=this.$slots[t]||(u(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function Ye(t){return Ei(this.$options,"filters",t,!0)||R}function Ke(t,e){return i(t)?-1===t.indexOf(e):t!==e}function Qe(t,e,n,r,i){var o=G.keyCodes[e]||n;return i&&r&&!G.keyCodes[e]?Ke(i,r):o?Ke(o,t):r?M(r)!==e:void 0===t}function Ze(t,e,n,r,o){if(n)if(f(n)){i(n)&&(n=j(n));var a=void 0,s=function(i){if("class"===i||"style"===i||x(i))a=t;else{var s=t.attrs&&t.attrs.type;a=r||G.mustUseProp(e,s,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=T(i),c=M(i);if(!(l in a)&&!(c in a)&&(a[i]=n[i],o)){var u=t.on||(t.on={});u["update:".concat(i)]=function(t){n[i]=t}}};for(var l in n)s(l)}else;return t}function Je(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),en(r,"__static__".concat(t),!1)),r}function tn(t,e,n){return en(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function en(t,e,n){if(i(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&nn(t[r],"".concat(e,"_").concat(r),n);else nn(t,e,n)}function nn(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function rn(t,e){if(e)if(h(e)){var n=t.on=t.on?D({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function on(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];i(a)?on(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return r&&(e.$key=r),e}function an(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function sn(t,e){return"string"===typeof t?e+t:t}function ln(t){t._o=tn,t._n=b,t._s=m,t._l=Ge,t._t=Xe,t._q=B,t._i=W,t._m=Je,t._f=Ye,t._k=Qe,t._b=Ze,t._v=xt,t._e=wt,t._u=on,t._g=rn,t._d=an,t._p=sn}function cn(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(un)&&delete n[c];return n}function un(t){return t.isComment&&!t.asyncFactory||" "===t.text}function fn(t){return t.isComment&&t.asyncFactory}function dn(t,e,n,i){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&i&&i!==r&&l===i.$key&&!a&&!i.$hasNormal)return i;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=hn(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=pn(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),K(o,"$stable",s),K(o,"$key",l),K(o,"$hasNormal",a),o}function hn(t,e,n,r){var o=function(){var e=gt;yt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!i(n)?[n]:Ve(n);var o=n&&n[0];return yt(e),n&&(!o||1===n.length&&o.isComment&&!fn(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function pn(t,e){return function(){return t[e]}}function vn(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=gn(t);yt(t),Ot();var i=Wn(n,null,[t._props||qt({}),r],t,"setup");if(Lt(),yt(),u(i))e.render=i;else if(f(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)"__sfc"!==a&&se(o,i,a)}else for(var a in i)Y(a)||se(t,i,a);else 0}}function gn(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};K(e,"_v_attr_proxy",!0),mn(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};mn(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return bn(t)},emit:N(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return se(t,e,n)}))}}}function mn(t,e,n,r,i){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,yn(t,a,r,i));for(var a in t)a in e||(o=!0,delete t[a]);return o}function yn(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function bn(t){return t._slotsProxy||wn(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function wn(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function xn(){return Sn().slots}function Cn(){return Sn().attrs}function _n(){return Sn().listeners}function Sn(){var t=gt;return t._setupContext||(t._setupContext=gn(t))}function An(t,e){var n=i(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var r in e){var o=n[r];o?i(o)||u(o)?n[r]={type:o,default:e[r]}:o.default=e[r]:null===o&&(n[r]={default:e[r]})}return n}function kn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=cn(e._renderChildren,i),t.$scopedSlots=n?dn(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,i){return Dn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Dn(t,e,n,r,i,!0)};var o=n&&n.data;Bt(t,"$attrs",o&&o.attrs||r,null,!0),Bt(t,"$listeners",e._parentListeners||r,null,!0)}var Tn=null;function On(t){ln(t.prototype),t.prototype.$nextTick=function(t){return Jn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=dn(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&wn(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,a=gt,s=Tn;try{yt(t),Tn=t,o=n.call(t._renderProxy,t.$createElement)}catch(ol){Bn(ol,t,"render"),o=t._vnode}finally{Tn=s,yt(a)}return i(o)&&1===o.length&&(o=o[0]),o instanceof bt||(o=wt()),o.parent=r,o}}function Ln(t,e){return(t.__esModule||vt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function Mn(t,e,n,r,i){var o=wt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function En(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Tn;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],i=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return C(r,n)}));var u=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==l&&(clearTimeout(l),l=null),null!==c&&(clearTimeout(c),c=null))},d=H((function(n){t.resolved=Ln(n,e),i?r.length=0:u(!0)})),h=H((function(e){a(t.errorComp)&&(t.error=!0,u(!0))})),p=t(d,h);return f(p)&&(g(p)?o(t.resolved)&&p.then(d,h):g(p.component)&&(p.component.then(d,h),a(p.error)&&(t.errorComp=Ln(p.error,e)),a(p.loading)&&(t.loadingComp=Ln(p.loading,e),0===p.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,u(!1))}),p.delay||200)),a(p.timeout)&&(c=setTimeout((function(){c=null,o(t.resolved)&&h(null)}),p.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function Pn(t){if(i(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||fn(n)))return n}}var Nn=1,In=2;function Dn(t,e,n,r,o,a){return(i(n)||c(n))&&(o=r,r=n,n=void 0),s(a)&&(o=In),jn(t,e,n,r,o)}function jn(t,e,n,r,o){if(a(n)&&a(n.__ob__))return wt();if(a(n)&&a(n.is)&&(e=n.is),!e)return wt();var s,l;if(i(r)&&u(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===In?r=Ve(r):o===Nn&&(r=ze(r)),"string"===typeof e){var c=void 0;l=t.$vnode&&t.$vnode.ns||G.getTagNamespace(e),s=G.isReservedTag(e)?new bt(G.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(c=Ei(t.$options,"components",e))?new bt(e,n,r,void 0,void 0,t):pi(c,n,t,r,e)}else s=pi(e,n,t,r);return i(s)?s:a(s)?(a(l)&&Fn(s,l),a(n)&&$n(n),s):wt()}function Fn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,i=t.children.length;r<i;r++){var l=t.children[r];a(l.tag)&&(o(l.ns)||s(n)&&"svg"!==l.tag)&&Fn(l,e,n)}}function $n(t){f(t.style)&&xr(t.style),f(t.class)&&xr(t.class)}function Rn(t,e,n){return Dn(gt,t,e,n,2,!0)}function Bn(t,e,n){Ot();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,t,e,n);if(a)return}catch(ol){Hn(ol,r,"errorCaptured hook")}}}Hn(t,e,n)}finally{Lt()}}function Wn(t,e,n,r,i){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&g(o)&&!o._handled&&(o.catch((function(t){return Bn(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(ol){Bn(ol,r,i)}return o}function Hn(t,e,n){if(G.errorHandler)try{return G.errorHandler.call(null,t,e,n)}catch(ol){ol!==t&&zn(ol,null,"config.errorHandler")}zn(t,e,n)}function zn(t,e,n){if(!tt||"undefined"===typeof console)throw t;console.error(t)}var Vn,qn=!1,Un=[],Gn=!1;function Xn(){Gn=!1;var t=Un.slice(0);Un.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&ht(Promise)){var Yn=Promise.resolve();Vn=function(){Yn.then(Xn),ot&&setTimeout(F)},qn=!0}else if(nt||"undefined"===typeof MutationObserver||!ht(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Vn="undefined"!==typeof setImmediate&&ht(setImmediate)?function(){setImmediate(Xn)}:function(){setTimeout(Xn,0)};else{var Kn=1,Qn=new MutationObserver(Xn),Zn=document.createTextNode(String(Kn));Qn.observe(Zn,{characterData:!0}),Vn=function(){Kn=(Kn+1)%2,Zn.data=String(Kn)},qn=!0}function Jn(t,e){var n;if(Un.push((function(){if(t)try{t.call(e)}catch(ol){Bn(ol,e,"nextTick")}else n&&n(e)})),Gn||(Gn=!0,Vn()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function tr(t){if(void 0===t&&(t="$style"),!gt)return r;var e=gt[t];return e||r}function er(t){if(tt){var e=gt;e&&_e((function(){var n=e.$el,r=t(e,e._setupProxy);if(n&&1===n.nodeType){var i=n.style;for(var o in r)i.setProperty("--".concat(o),r[o])}}))}}function nr(t){u(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,r=t.errorComponent,i=t.delay,o=void 0===i?200:i,a=t.timeout,s=(t.suspensible,t.onError);var l=null,c=0,f=function(){return c++,l=null,d()},d=function(){var t;return l||(t=l=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),s)return new Promise((function(e,n){var r=function(){return e(f())},i=function(){return n(t)};s(t,r,i,c+1)}));throw t})).then((function(e){return t!==l&&l?l:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){var t=d();return{component:t,delay:o,timeout:a,error:r,loading:n}}}function rr(t){return function(e,n){if(void 0===n&&(n=gt),n)return ir(n,t,e)}}function ir(t,e,n){var r=t.$options;r[e]=_i(r[e],n)}var or=rr("beforeMount"),ar=rr("mounted"),sr=rr("beforeUpdate"),lr=rr("updated"),cr=rr("beforeDestroy"),ur=rr("destroyed"),fr=rr("activated"),dr=rr("deactivated"),hr=rr("serverPrefetch"),pr=rr("renderTracked"),vr=rr("renderTriggered"),gr=rr("errorCaptured");function mr(t,e){void 0===e&&(e=gt),gr(t,e)}var yr="2.7.16";function br(t){return t}var wr=new pt;function xr(t){return Cr(t,wr),wr.clear(),t}function Cr(t,e){var n,r,o=i(t);if(!(!o&&!f(t)||t.__v_skip||Object.isFrozen(t)||t instanceof bt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o){n=t.length;while(n--)Cr(t[n],e)}else if(te(t))Cr(t.value,e);else{r=Object.keys(t),n=r.length;while(n--)Cr(t[r[n]],e)}}}var _r,Sr=0,Ar=function(){function t(t,e,n,r,i){Ee(this,Ae&&!Ae._vm?Ae:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Sr,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pt,this.newDepIds=new pt,this.expression="",u(e)?this.getter=e:(this.getter=Z(e),this.getter||(this.getter=F)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ot(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(ol){if(!this.user)throw ol;Bn(ol,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&xr(t),Lt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ri(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||f(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Wn(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&C(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function kr(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Mr(t,e)}function Tr(t,e){_r.$on(t,e)}function Or(t,e){_r.$off(t,e)}function Lr(t,e){var n=_r;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function Mr(t,e,n){_r=t,Re(e,n||{},Tr,Or,Lr,t),_r=void 0}function Er(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(i(t))for(var o=0,a=t.length;o<a;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var l=s.length;while(l--)if(a=s[l],a===e||a.fn===e){s.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?I(n):n;for(var r=I(arguments,1),i='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)Wn(n[o],e,r,e,i)}return e}}var Pr=null;function Nr(t){var e=Pr;return Pr=t,function(){Pr=e}}function Ir(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Dr(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Nr(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);var a=n;while(a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Wr(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||C(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Wr(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function jr(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=wt),Wr(t,"beforeMount"),r=function(){t._update(t._render(),n)};var i={before:function(){t._isMounted&&!t._isDestroyed&&Wr(t,"beforeUpdate")}};new Ar(t,r,F,i,!0),n=!1;var o=t._preWatchers;if(o)for(var a=0;a<o.length;a++)o[a].run();return null==t.$vnode&&(t._isMounted=!0,Wr(t,"mounted")),t}function Fr(t,e,n,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||l),u=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var f=i.data.attrs||r;t._attrsProxy&&mn(t._attrsProxy,f,u.data&&u.data.attrs||r,t,"$attrs")&&(c=!0),t.$attrs=f,n=n||r;var d=t.$options._parentListeners;if(t._listenersProxy&&mn(t._listenersProxy,n,d||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,Mr(t,n,d),e&&t.$options.props){jt(!1);for(var h=t._props,p=t.$options._propKeys||[],v=0;v<p.length;v++){var g=p[v],m=t.$options.props;h[g]=Pi(g,m,e,t)}jt(!0),t.$options.propsData=e}c&&(t.$slots=cn(o,i.context),t.$forceUpdate())}function $r(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Rr(t,e){if(e){if(t._directInactive=!1,$r(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Rr(t.$children[n]);Wr(t,"activated")}}function Br(t,e){if((!e||(t._directInactive=!0,!$r(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Br(t.$children[n]);Wr(t,"deactivated")}}function Wr(t,e,n,r){void 0===r&&(r=!0),Ot();var i=gt,o=Pe();r&&yt(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var l=0,c=a.length;l<c;l++)Wn(a[l],t,n||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),r&&(yt(i),o&&o.on()),Lt()}var Hr=[],zr=[],Vr={},qr=!1,Ur=!1,Gr=0;function Xr(){Gr=Hr.length=zr.length=0,Vr={},qr=Ur=!1}var Yr=0,Kr=Date.now;if(tt&&!nt){var Qr=window.performance;Qr&&"function"===typeof Qr.now&&Kr()>document.createEvent("Event").timeStamp&&(Kr=function(){return Qr.now()})}var Zr=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Jr(){var t,e;for(Yr=Kr(),Ur=!0,Hr.sort(Zr),Gr=0;Gr<Hr.length;Gr++)t=Hr[Gr],t.before&&t.before(),e=t.id,Vr[e]=null,t.run();var n=zr.slice(),r=Hr.slice();Xr(),ni(n),ti(r),At(),dt&&G.devtools&&dt.emit("flush")}function ti(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Wr(r,"updated")}}function ei(t){t._inactive=!1,zr.push(t)}function ni(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Rr(t[e],!0)}function ri(t){var e=t.id;if(null==Vr[e]&&(t!==kt.target||!t.noRecurse)){if(Vr[e]=!0,Ur){var n=Hr.length-1;while(n>Gr&&Hr[n].id>t.id)n--;Hr.splice(n+1,0,t)}else Hr.push(t);qr||(qr=!0,Jn(Jr))}}function ii(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!f(n))return;for(var r=De(t),i=vt?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}function oi(t){var e=ai(t.$options.inject,t);e&&(jt(!1),Object.keys(e).forEach((function(n){Bt(t,n,e[n])})),jt(!0))}function ai(t,e){if(t){for(var n=Object.create(null),r=vt?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=u(s)?s.call(e):s}else 0}}return n}}function si(t,e,n,o,a){var l,c=this,u=a.options;S(o,"_uid")?(l=Object.create(o),l._original=o):(l=o,o=o._original);var f=s(u._compiled),d=!f;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=ai(u.inject,o),this.slots=function(){return c.$slots||dn(o,t.scopedSlots,c.$slots=cn(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dn(o,t.scopedSlots,this.slots())}}),f&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=dn(o,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var a=Dn(l,t,e,n,r,d);return a&&!i(a)&&(a.fnScopeId=u._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,r){return Dn(l,t,e,n,r,d)}}function li(t,e,n,o,s){var l=t.options,c={},u=l.props;if(a(u))for(var f in u)c[f]=Pi(f,u,e||r);else a(n.attrs)&&ui(c,n.attrs),a(n.props)&&ui(c,n.props);var d=new si(n,c,s,o,t),h=l.render.call(null,d._c,d);if(h instanceof bt)return ci(h,n,d.parent,l,d);if(i(h)){for(var p=Ve(h)||[],v=new Array(p.length),g=0;g<p.length;g++)v[g]=ci(p[g],n,d.parent,l,d);return v}}function ci(t,e,n,r,i){var o=Ct(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function ui(t,e){for(var n in e)t[T(n)]=e[n]}function fi(t){return t.name||t.__name||t._componentTag}ln(si.prototype);var di={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;di.prepatch(n,n)}else{var r=t.componentInstance=vi(t,Pr);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;Fr(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Wr(n,"mounted")),t.data.keepAlive&&(e._isMounted?ei(n):Rr(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Br(e,!0):e.$destroy())}},hi=Object.keys(di);function pi(t,e,n,r,i){if(!o(t)){var l=n.$options._base;if(f(t)&&(t=l.extend(t)),"function"===typeof t){var c;if(o(t.cid)&&(c=t,t=En(c,l),void 0===t))return Mn(c,e,n,r,i);e=e||{},no(t),a(e.model)&&yi(t.options,e);var u=We(e,t,i);if(s(t.options.functional))return li(t,u,e,n,r);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var h=e.slot;e={},h&&(e.slot=h)}gi(e);var p=fi(t.options)||i,v=new bt("vue-component-".concat(t.cid).concat(p?"-".concat(p):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:u,listeners:d,tag:i,children:r},c);return v}}}function vi(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function gi(t){for(var e=t.hook||(t.hook={}),n=0;n<hi.length;n++){var r=hi[n],i=e[r],o=di[r];i===o||i&&i._merged||(e[r]=i?mi(o,i):o)}}function mi(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function yi(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],l=e.model.callback;a(s)?(i(s)?-1===s.indexOf(l):s!==l)&&(o[r]=[l].concat(s)):o[r]=l}var bi=F,wi=G.optionMergeStrategies;function xi(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,i,o,a=vt?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)r=a[s],"__ob__"!==r&&(i=t[r],o=e[r],n&&S(t,r)?i!==o&&h(i)&&h(o)&&xi(i,o):Wt(t,r,o));return t}function Ci(t,e,n){return n?function(){var r=u(e)?e.call(n,n):e,i=u(t)?t.call(n,n):t;return r?xi(r,i):i}:e?t?function(){return xi(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:e:t}function _i(t,e){var n=e?t?t.concat(e):i(e)?e:[e]:t;return n?Si(n):n}function Si(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Ai(t,e,n,r){var i=Object.create(t||null);return e?D(i,e):i}wi.data=function(t,e,n){return n?Ci(t,e,n):e&&"function"!==typeof e?t:Ci(t,e)},U.forEach((function(t){wi[t]=_i})),q.forEach((function(t){wi[t+"s"]=Ai})),wi.watch=function(t,e,n,r){if(t===lt&&(t=void 0),e===lt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in D(o,t),e){var s=o[a],l=e[a];s&&!i(s)&&(s=[s]),o[a]=s?s.concat(l):i(l)?l:[l]}return o},wi.props=wi.methods=wi.inject=wi.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return D(i,t),e&&D(i,e),i},wi.provide=function(t,e){return t?function(){var n=Object.create(null);return xi(n,u(t)?t.call(this):t),e&&xi(n,u(e)?e.call(this):e,!1),n}:e};var ki=function(t,e){return void 0===e?t:e};function Ti(t,e){var n=t.props;if(n){var r,o,a,s={};if(i(n)){r=n.length;while(r--)o=n[r],"string"===typeof o&&(a=T(o),s[a]={type:null})}else if(h(n))for(var l in n)o=n[l],a=T(l),s[a]=h(o)?o:{type:o};else 0;t.props=s}}function Oi(t,e){var n=t.inject;if(n){var r=t.inject={};if(i(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(h(n))for(var a in n){var s=n[a];r[a]=h(s)?D({from:a},s):{from:s}}else 0}}function Li(t){var e=t.directives;if(e)for(var n in e){var r=e[n];u(r)&&(e[n]={bind:r,update:r})}}function Mi(t,e,n){if(u(e)&&(e=e.options),Ti(e,n),Oi(e,n),Li(e),!e._base&&(e.extends&&(t=Mi(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Mi(t,e.mixins[r],n);var o,a={};for(o in t)s(o);for(o in e)S(t,o)||s(o);function s(r){var i=wi[r]||ki;a[r]=i(t[r],e[r],n,r)}return a}function Ei(t,e,n,r){if("string"===typeof n){var i=t[e];if(S(i,n))return i[n];var o=T(n);if(S(i,o))return i[o];var a=O(o);if(S(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function Pi(t,e,n,r){var i=e[t],o=!S(n,t),a=n[t],s=Fi(Boolean,i.type);if(s>-1)if(o&&!S(i,"default"))a=!1;else if(""===a||a===M(t)){var l=Fi(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Ni(r,i,t);var c=Dt;jt(!0),Rt(a),jt(c)}return a}function Ni(t,e,n){if(S(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:u(r)&&"Function"!==Di(e.type)?r.call(t):r}}var Ii=/^\s*function (\w+)/;function Di(t){var e=t&&t.toString().match(Ii);return e?e[1]:""}function ji(t,e){return Di(t)===Di(e)}function Fi(t,e){if(!i(e))return ji(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(ji(e[n],t))return n;return-1}var $i={enumerable:!0,configurable:!0,get:F,set:F};function Ri(t,e,n){$i.get=function(){return this[e][n]},$i.set=function(t){this[e][n]=t},Object.defineProperty(t,n,$i)}function Bi(t){var e=t.$options;if(e.props&&Wi(t,e.props),vn(t),e.methods&&Yi(t,e.methods),e.data)Hi(t);else{var n=Rt(t._data={});n&&n.vmCount++}e.computed&&qi(t,e.computed),e.watch&&e.watch!==lt&&Ki(t,e.watch)}function Wi(t,e){var n=t.$options.propsData||{},r=t._props=qt({}),i=t.$options._propKeys=[],o=!t.$parent;o||jt(!1);var a=function(o){i.push(o);var a=Pi(o,e,n,t);Bt(r,o,a,void 0,!0),o in t||Ri(t,"_props",o)};for(var s in e)a(s);jt(!0)}function Hi(t){var e=t.$options.data;e=t._data=u(e)?zi(e,t):e||{},h(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&S(r,o)||Y(o)||Ri(t,"_data",o)}var a=Rt(e);a&&a.vmCount++}function zi(t,e){Ot();try{return t.call(e,e)}catch(ol){return Bn(ol,e,"data()"),{}}finally{Lt()}}var Vi={lazy:!0};function qi(t,e){var n=t._computedWatchers=Object.create(null),r=ft();for(var i in e){var o=e[i],a=u(o)?o:o.get;0,r||(n[i]=new Ar(t,a||F,F,Vi)),i in t||Ui(t,i,o)}}function Ui(t,e,n){var r=!ft();u(n)?($i.get=r?Gi(e):Xi(n),$i.set=F):($i.get=n.get?r&&!1!==n.cache?Gi(e):Xi(n.get):F,$i.set=n.set||F),Object.defineProperty(t,e,$i)}function Gi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),kt.target&&e.depend(),e.value}}function Xi(t){return function(){return t.call(this,this)}}function Yi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?F:N(e[n],t)}function Ki(t,e){for(var n in e){var r=e[n];if(i(r))for(var o=0;o<r.length;o++)Qi(t,n,r[o]);else Qi(t,n,r)}}function Qi(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function Zi(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Wt,t.prototype.$delete=Ht,t.prototype.$watch=function(t,e,n){var r=this;if(h(e))return Qi(r,t,e,n);n=n||{},n.user=!0;var i=new Ar(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Ot(),Wn(e,r,[i.value],r,o),Lt()}return function(){i.teardown()}}}var Ji=0;function to(t){t.prototype._init=function(t){var e=this;e._uid=Ji++,e._isVue=!0,e.__v_skip=!0,e._scope=new Le(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?eo(e,t):e.$options=Mi(no(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Ir(e),kr(e),kn(e),Wr(e,"beforeCreate",void 0,!1),oi(e),Bi(e),ii(e),Wr(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function eo(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function no(t){var e=t.options;if(t.super){var n=no(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var i=ro(t);i&&D(t.extendOptions,i),e=t.options=Mi(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function ro(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}function io(t){this._init(t)}function oo(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function ao(t){t.mixin=function(t){return this.options=Mi(this.options,t),this}}function so(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=fi(t)||fi(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Mi(n.options,t),a["super"]=n,a.options.props&&lo(a),a.options.computed&&co(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,q.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=D({},a.options),i[r]=a,a}}function lo(t){var e=t.options.props;for(var n in e)Ri(t.prototype,"_props",n)}function co(t){var e=t.options.computed;for(var n in e)Ui(t.prototype,n,e[n])}function uo(t){q.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function fo(t){return t&&(fi(t.Ctor.options)||t.tag)}function ho(t,e){return i(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function po(t,e){var n=t.cache,r=t.keys,i=t._vnode,o=t.$vnode;for(var a in n){var s=n[a];if(s){var l=s.name;l&&!e(l)&&vo(n,a,r,i)}}o.componentOptions.children=void 0}function vo(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,C(n,e)}to(io),Zi(io),Er(io),Dr(io),On(io);var go=[String,RegExp,Array],mo={name:"keep-alive",abstract:!0,props:{include:go,exclude:go,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:fo(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&vo(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)vo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){po(t,(function(t){return ho(e,t)}))})),this.$watch("exclude",(function(e){po(t,(function(t){return!ho(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Pn(t),n=e&&e.componentOptions;if(n){var r=fo(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!ho(o,r))||a&&r&&ho(a,r))return e;var s=this,l=s.cache,c=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,C(c,u),c.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},yo={KeepAlive:mo};function bo(t){var e={get:function(){return G}};Object.defineProperty(t,"config",e),t.util={warn:bi,extend:D,mergeOptions:Mi,defineReactive:Bt},t.set=Wt,t.delete=Ht,t.nextTick=Jn,t.observable=function(t){return Rt(t),t},t.options=Object.create(null),q.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,yo),oo(t),ao(t),so(t),uo(t)}bo(io),Object.defineProperty(io.prototype,"$isServer",{get:ft}),Object.defineProperty(io.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(io,"FunctionalRenderContext",{value:si}),io.version=yr;var wo=w("style,class"),xo=w("input,textarea,option,select,progress"),Co=function(t,e,n){return"value"===n&&xo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},_o=w("contenteditable,draggable,spellcheck"),So=w("events,caret,typing,plaintext-only"),Ao=function(t,e){return Mo(e)||"false"===e?"false":"contenteditable"===t&&So(e)?e:"true"},ko=w("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,truespeed,typemustmatch,visible"),To="http://www.w3.org/1999/xlink",Oo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Lo=function(t){return Oo(t)?t.slice(6,t.length):""},Mo=function(t){return null==t||!1===t};function Eo(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Po(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Po(e,n.data));return No(e.staticClass,e.class)}function Po(t,e){return{staticClass:Io(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function No(t,e){return a(t)||a(e)?Io(t,Do(e)):""}function Io(t,e){return t?e?t+" "+e:t:e||""}function Do(t){return Array.isArray(t)?jo(t):f(t)?Fo(t):"string"===typeof t?t:""}function jo(t){for(var e,n="",r=0,i=t.length;r<i;r++)a(e=Do(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Fo(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var $o={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ro=w("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,picture,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,blockquote,iframe,tfoot"),Bo=w("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),Wo=function(t){return Ro(t)||Bo(t)};function Ho(t){return Bo(t)?"svg":"math"===t?"math":void 0}var zo=Object.create(null);function Vo(t){if(!tt)return!0;if(Wo(t))return!1;if(t=t.toLowerCase(),null!=zo[t])return zo[t];var e=document.createElement(t);return t.indexOf("-")>-1?zo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:zo[t]=/HTMLUnknownElement/.test(e.toString())}var qo=w("text,number,password,search,email,tel,url");function Uo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Go(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Xo(t,e){return document.createElementNS($o[t],e)}function Yo(t){return document.createTextNode(t)}function Ko(t){return document.createComment(t)}function Qo(t,e,n){t.insertBefore(e,n)}function Zo(t,e){t.removeChild(e)}function Jo(t,e){t.appendChild(e)}function ta(t){return t.parentNode}function ea(t){return t.nextSibling}function na(t){return t.tagName}function ra(t,e){t.textContent=e}function ia(t,e){t.setAttribute(e,"")}var oa=Object.freeze({__proto__:null,createElement:Go,createElementNS:Xo,createTextNode:Yo,createComment:Ko,insertBefore:Qo,removeChild:Zo,appendChild:Jo,parentNode:ta,nextSibling:ea,tagName:na,setTextContent:ra,setStyleScope:ia}),aa={create:function(t,e){sa(e)},update:function(t,e){t.data.ref!==e.data.ref&&(sa(t,!0),sa(e))},destroy:function(t){sa(t,!0)}};function sa(t,e){var n=t.data.ref;if(a(n)){var r=t.context,o=t.componentInstance||t.elm,s=e?null:o,l=e?void 0:o;if(u(n))Wn(n,r,[s],r,"template ref function");else{var c=t.data.refInFor,f="string"===typeof n||"number"===typeof n,d=te(n),h=r.$refs;if(f||d)if(c){var p=f?h[n]:n.value;e?i(p)&&C(p,o):i(p)?p.includes(o)||p.push(o):f?(h[n]=[o],la(r,n,h[n])):n.value=[o]}else if(f){if(e&&h[n]!==o)return;h[n]=l,la(r,n,s)}else if(d){if(e&&n.value!==o)return;n.value=s}else 0}}}function la(t,e,n){var r=t._setupState;r&&S(r,e)&&(te(r[e])?r[e].value=n:r[e]=n)}var ca=new bt("",{},[]),ua=["create","activate","update","remove","destroy"];function fa(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&da(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function da(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||qo(r)&&qo(i)}function ha(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,a(i)&&(o[i]=r);return o}function pa(t){var e,n,r={},l=t.modules,u=t.nodeOps;for(e=0;e<ua.length;++e)for(r[ua[e]]=[],n=0;n<l.length;++n)a(l[n][ua[e]])&&r[ua[e]].push(l[n][ua[e]]);function f(t){return new bt(u.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function n(){0===--n.listeners&&h(t)}return n.listeners=e,n}function h(t){var e=u.parentNode(t);a(e)&&u.removeChild(e,t)}function p(t,e,n,r,i,o,l){if(a(t.elm)&&a(o)&&(t=o[l]=Ct(t)),t.isRootInsert=!i,!v(t,e,n,r)){var c=t.data,f=t.children,d=t.tag;a(d)?(t.elm=t.ns?u.createElementNS(t.ns,d):u.createElement(d,t),_(t),b(t,f,e),a(c)&&C(t,e),y(n,t.elm,r)):s(t.isComment)?(t.elm=u.createComment(t.text),y(n,t.elm,r)):(t.elm=u.createTextNode(t.text),y(n,t.elm,r))}}function v(t,e,n,r){var i=t.data;if(a(i)){var o=a(t.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(t,!1),a(t.componentInstance))return g(t,e),y(n,t.elm,r),s(o)&&m(t,e,n,r),!0}}function g(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,x(t)?(C(t,e),_(t)):(sa(t),e.push(t))}function m(t,e,n,i){var o,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,a(o=s.data)&&a(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](ca,s);e.push(s);break}y(n,t.elm,i)}function y(t,e,n){a(t)&&(a(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function b(t,e,n){if(i(e)){0;for(var r=0;r<e.length;++r)p(e[r],n,t.elm,null,!0,e,r)}else c(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function x(t){while(t.componentInstance)t=t.componentInstance._vnode;return a(t.tag)}function C(t,n){for(var i=0;i<r.create.length;++i)r.create[i](ca,t);e=t.data.hook,a(e)&&(a(e.create)&&e.create(ca,t),a(e.insert)&&n.push(t))}function _(t){var e;if(a(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)a(e=n.context)&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}a(e=Pr)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function S(t,e,n,r,i,o){for(;r<=i;++r)p(n[r],o,t,e,!1,n,r)}function A(t){var e,n,i=t.data;if(a(i))for(a(e=i.hook)&&a(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)A(t.children[n])}function k(t,e,n){for(;e<=n;++e){var r=t[e];a(r)&&(a(r.tag)?(T(r),A(r)):h(r.elm))}}function T(t,e){if(a(e)||a(t.data)){var n,i=r.remove.length+1;for(a(e)?e.listeners+=i:e=d(t.elm,i),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&T(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else h(t.elm)}function O(t,e,n,r,i){var s,l,c,f,d=0,h=0,v=e.length-1,g=e[0],m=e[v],y=n.length-1,b=n[0],w=n[y],x=!i;while(d<=v&&h<=y)o(g)?g=e[++d]:o(m)?m=e[--v]:fa(g,b)?(M(g,b,r,n,h),g=e[++d],b=n[++h]):fa(m,w)?(M(m,w,r,n,y),m=e[--v],w=n[--y]):fa(g,w)?(M(g,w,r,n,y),x&&u.insertBefore(t,g.elm,u.nextSibling(m.elm)),g=e[++d],w=n[--y]):fa(m,b)?(M(m,b,r,n,h),x&&u.insertBefore(t,m.elm,g.elm),m=e[--v],b=n[++h]):(o(s)&&(s=ha(e,d,v)),l=a(b.key)?s[b.key]:L(b,e,d,v),o(l)?p(b,r,t,g.elm,!1,n,h):(c=e[l],fa(c,b)?(M(c,b,r,n,h),e[l]=void 0,x&&u.insertBefore(t,c.elm,g.elm)):p(b,r,t,g.elm,!1,n,h)),b=n[++h]);d>v?(f=o(n[y+1])?null:n[y+1].elm,S(t,f,n,h,y,r)):h>y&&k(e,d,v)}function L(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(a(o)&&fa(t,o))return i}}function M(t,e,n,i,l,c){if(t!==e){a(e.elm)&&a(i)&&(e=i[l]=Ct(e));var f=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?N(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,h=e.data;a(h)&&a(d=h.hook)&&a(d=d.prepatch)&&d(t,e);var p=t.children,v=e.children;if(a(h)&&x(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);a(d=h.hook)&&a(d=d.update)&&d(t,e)}o(e.text)?a(p)&&a(v)?p!==v&&O(f,p,v,n,c):a(v)?(a(t.text)&&u.setTextContent(f,""),S(f,null,v,0,v.length-1,n)):a(p)?k(p,0,p.length-1):a(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),a(h)&&a(d=h.hook)&&a(d=d.postpatch)&&d(t,e)}}}function E(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var P=w("attrs,class,staticClass,staticStyle,key");function N(t,e,n,r){var i,o=e.tag,l=e.data,c=e.children;if(r=r||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(i=l.hook)&&a(i=i.init)&&i(e,!0),a(i=e.componentInstance)))return g(e,n),!0;if(a(o)){if(a(c))if(t.hasChildNodes())if(a(i=l)&&a(i=i.domProps)&&a(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var u=!0,f=t.firstChild,d=0;d<c.length;d++){if(!f||!N(f,c[d],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return!1}else b(e,c,n);if(a(l)){var h=!1;for(var p in l)if(!P(p)){h=!0,C(e,n);break}!h&&l["class"]&&xr(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,i){if(!o(e)){var l=!1,c=[];if(o(t))l=!0,p(e,c);else{var d=a(t.nodeType);if(!d&&fa(t,e))M(t,e,c,null,null,i);else{if(d){if(1===t.nodeType&&t.hasAttribute(V)&&(t.removeAttribute(V),n=!0),s(n)&&N(t,e,c))return E(e,c,!0),t;t=f(t)}var h=t.elm,v=u.parentNode(h);if(p(e,c,h._leaveCb?null:v,u.nextSibling(h)),a(e.parent)){var g=e.parent,m=x(e);while(g){for(var y=0;y<r.destroy.length;++y)r.destroy[y](g);if(g.elm=e.elm,m){for(var b=0;b<r.create.length;++b)r.create[b](ca,g);var w=g.data.hook.insert;if(w.merged)for(var C=w.fns.slice(1),_=0;_<C.length;_++)C[_]()}else sa(g);g=g.parent}}a(v)?k([t],0,0):a(t.tag)&&A(t)}}return E(e,c,l),e.elm}a(t)&&A(t)}}var va={create:ga,update:ga,destroy:function(t){ga(t,ca)}};function ga(t,e){(t.data.directives||e.data.directives)&&ma(t,e)}function ma(t,e){var n,r,i,o=t===ca,a=e===ca,s=ba(t.data.directives,t.context),l=ba(e.data.directives,e.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,xa(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(xa(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n<c.length;n++)xa(c[n],"inserted",e,t)};o?Be(e,"insert",f):f()}if(u.length&&Be(e,"postpatch",(function(){for(var n=0;n<u.length;n++)xa(u[n],"componentUpdated",e,t)})),!o)for(n in s)l[n]||xa(s[n],"unbind",t,t,a)}var ya=Object.create(null);function ba(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++){if(r=t[n],r.modifiers||(r.modifiers=ya),i[wa(r)]=r,e._setupState&&e._setupState.__sfc){var o=r.def||Ei(e,"_setupState","v-"+r.name);r.def="function"===typeof o?{bind:o,update:o}:o}r.def=r.def||Ei(e.$options,"directives",r.name,!0)}return i}function wa(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function xa(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(ol){Bn(ol,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Ca=[aa,va];function _a(t,e){var n=e.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!o(t.data.attrs)||!o(e.data.attrs))){var r,i,l,c=e.elm,u=t.data.attrs||{},f=e.data.attrs||{};for(r in(a(f.__ob__)||s(f._v_attr_proxy))&&(f=e.data.attrs=D({},f)),f)i=f[r],l=u[r],l!==i&&Sa(c,r,i,e.data.pre);for(r in(nt||it)&&f.value!==u.value&&Sa(c,"value",f.value),u)o(f[r])&&(Oo(r)?c.removeAttributeNS(To,Lo(r)):_o(r)||c.removeAttribute(r))}}function Sa(t,e,n,r){r||t.tagName.indexOf("-")>-1?Aa(t,e,n):ko(e)?Mo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):_o(e)?t.setAttribute(e,Ao(e,n)):Oo(e)?Mo(n)?t.removeAttributeNS(To,Lo(e)):t.setAttributeNS(To,e,n):Aa(t,e,n)}function Aa(t,e,n){if(Mo(n))t.removeAttribute(e);else{if(nt&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var ka={create:_a,update:_a};function Ta(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Eo(e),l=n._transitionClasses;a(l)&&(s=Io(s,Do(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Oa,La={create:Ta,update:Ta},Ma="__r",Ea="__c";function Pa(t){if(a(t[Ma])){var e=nt?"change":"input";t[e]=[].concat(t[Ma],t[e]||[]),delete t[Ma]}a(t[Ea])&&(t.change=[].concat(t[Ea],t.change||[]),delete t[Ea])}function Na(t,e,n){var r=Oa;return function i(){var o=e.apply(null,arguments);null!==o&&ja(t,i,n,r)}}var Ia=qn&&!(st&&Number(st[1])<=53);function Da(t,e,n,r){if(Ia){var i=Yr,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Oa.addEventListener(t,e,ct?{capture:n,passive:r}:n)}function ja(t,e,n,r){(r||Oa).removeEventListener(t,e._wrapper||e,n)}function Fa(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Oa=e.elm||t.elm,Pa(n),Re(n,r,Da,ja,Na,e.context),Oa=void 0}}var $a,Ra={create:Fa,update:Fa,destroy:function(t){return Fa(t,ca)}};function Ba(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.domProps=D({},c)),l)n in c||(i[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===l[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var u=o(r)?"":String(r);Wa(i,u)&&(i.value=u)}else if("innerHTML"===n&&Bo(i.tagName)&&o(i.innerHTML)){$a=$a||document.createElement("div"),$a.innerHTML="<svg>".concat(r,"</svg>");var f=$a.firstChild;while(i.firstChild)i.removeChild(i.firstChild);while(f.firstChild)i.appendChild(f.firstChild)}else if(r!==l[n])try{i[n]=r}catch(ol){}}}}function Wa(t,e){return!t.composing&&("OPTION"===t.tagName||Ha(t,e)||za(t,e))}function Ha(t,e){var n=!0;try{n=document.activeElement!==t}catch(ol){}return n&&t.value!==e}function za(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return b(n)!==b(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Va={create:Ba,update:Ba},qa=A((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ua(t){var e=Ga(t.style);return t.staticStyle?D(t.staticStyle,e):e}function Ga(t){return Array.isArray(t)?j(t):"string"===typeof t?qa(t):t}function Xa(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=Ua(i.data))&&D(r,n)}(n=Ua(t.data))&&D(r,n);var o=t;while(o=o.parent)o.data&&(n=Ua(o.data))&&D(r,n);return r}var Ya,Ka=/^--/,Qa=/\s*!important$/,Za=function(t,e,n){if(Ka.test(e))t.style.setProperty(e,n);else if(Qa.test(n))t.style.setProperty(M(e),n.replace(Qa,""),"important");else{var r=ts(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Ja=["Webkit","Moz","ms"],ts=A((function(t){if(Ya=Ya||document.createElement("div").style,t=T(t),"filter"!==t&&t in Ya)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ja.length;n++){var r=Ja[n]+e;if(r in Ya)return r}}));function es(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,s,l=e.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},f=c||u,d=Ga(e.data.style)||{};e.data.normalizedStyle=a(d.__ob__)?D({},d):d;var h=Xa(e,!0);for(s in f)o(h[s])&&Za(l,s,"");for(s in h)i=h[s],Za(l,s,null==i?"":i)}}var ns={create:es,update:es},rs=/\s+/;function is(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(rs).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function os(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(rs).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function as(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&D(e,ss(t.name||"v")),D(e,t),e}return"string"===typeof t?ss(t):void 0}}var ss=A((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),ls=tt&&!rt,cs="transition",us="animation",fs="transition",ds="transitionend",hs="animation",ps="animationend";ls&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(fs="WebkitTransition",ds="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(hs="WebkitAnimation",ps="webkitAnimationEnd"));var vs=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function gs(t){vs((function(){vs(t)}))}function ms(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),is(t,e))}function ys(t,e){t._transitionClasses&&C(t._transitionClasses,e),os(t,e)}function bs(t,e,n){var r=xs(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===cs?ds:ps,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),o+1),t.addEventListener(s,u)}var ws=/\b(transform|all)(,|$)/;function xs(t,e){var n,r=window.getComputedStyle(t),i=(r[fs+"Delay"]||"").split(", "),o=(r[fs+"Duration"]||"").split(", "),a=Cs(i,o),s=(r[hs+"Delay"]||"").split(", "),l=(r[hs+"Duration"]||"").split(", "),c=Cs(s,l),u=0,f=0;e===cs?a>0&&(n=cs,u=a,f=o.length):e===us?c>0&&(n=us,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?cs:us:null,f=n?n===cs?o.length:l.length:0);var d=n===cs&&ws.test(r[fs+"Property"]);return{type:n,timeout:u,propCount:f,hasTransform:d}}function Cs(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return _s(e)+_s(t[n])})))}function _s(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Ss(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=as(t.data.transition);if(!o(r)&&!a(n._enterCb)&&1===n.nodeType){var i=r.css,s=r.type,l=r.enterClass,c=r.enterToClass,d=r.enterActiveClass,h=r.appearClass,p=r.appearToClass,v=r.appearActiveClass,g=r.beforeEnter,m=r.enter,y=r.afterEnter,w=r.enterCancelled,x=r.beforeAppear,C=r.appear,_=r.afterAppear,S=r.appearCancelled,A=r.duration,k=Pr,T=Pr.$vnode;while(T&&T.parent)k=T.context,T=T.parent;var O=!k._isMounted||!t.isRootInsert;if(!O||C||""===C){var L=O&&h?h:l,M=O&&v?v:d,E=O&&p?p:c,P=O&&x||g,N=O&&u(C)?C:m,I=O&&_||y,D=O&&S||w,j=b(f(A)?A.enter:A);0;var F=!1!==i&&!rt,$=Ts(N),R=n._enterCb=H((function(){F&&(ys(n,E),ys(n,M)),R.cancelled?(F&&ys(n,L),D&&D(n)):I&&I(n),n._enterCb=null}));t.data.show||Be(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),N&&N(n,R)})),P&&P(n),F&&(ms(n,L),ms(n,M),gs((function(){ys(n,L),R.cancelled||(ms(n,E),$||(ks(j)?setTimeout(R,j):bs(n,s,R)))}))),t.data.show&&(e&&e(),N&&N(n,R)),F||$||R()}}}function As(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=as(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var i=r.css,s=r.type,l=r.leaveClass,c=r.leaveToClass,u=r.leaveActiveClass,d=r.beforeLeave,h=r.leave,p=r.afterLeave,v=r.leaveCancelled,g=r.delayLeave,m=r.duration,y=!1!==i&&!rt,w=Ts(h),x=b(f(m)?m.leave:m);0;var C=n._leaveCb=H((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(ys(n,c),ys(n,u)),C.cancelled?(y&&ys(n,l),v&&v(n)):(e(),p&&p(n)),n._leaveCb=null}));g?g(_):_()}function _(){C.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),y&&(ms(n,l),ms(n,u),gs((function(){ys(n,l),C.cancelled||(ms(n,c),w||(ks(x)?setTimeout(C,x):bs(n,s,C)))}))),h&&h(n,C),y||w||C())}}function ks(t){return"number"===typeof t&&!isNaN(t)}function Ts(t){if(o(t))return!1;var e=t.fns;return a(e)?Ts(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Os(t,e){!0!==e.data.show&&Ss(e)}var Ls=tt?{create:Os,activate:Os,remove:function(t,e){!0!==t.data.show?As(t,e):e()}}:{},Ms=[ka,La,Ra,Va,ns,Ls],Es=Ms.concat(Ca),Ps=pa({nodeOps:oa,modules:Es});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Bs(t,"input")}));var Ns={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Be(n,"postpatch",(function(){Ns.componentUpdated(t,e,n)})):Is(t,e,n.context),t._vOptions=[].map.call(t.options,Fs)):("textarea"===n.tag||qo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",$s),t.addEventListener("compositionend",Rs),t.addEventListener("change",Rs),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Is(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Fs);if(i.some((function(t,e){return!B(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return js(t,i)})):e.value!==e.oldValue&&js(e.value,i);o&&Bs(t,"change")}}}};function Is(t,e,n){Ds(t,e,n),(nt||it)&&setTimeout((function(){Ds(t,e,n)}),0)}function Ds(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],i)o=W(r,Fs(a))>-1,a.selected!==o&&(a.selected=o);else if(B(Fs(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function js(t,e){return e.every((function(e){return!B(e,t)}))}function Fs(t){return"_value"in t?t._value:t.value}function $s(t){t.target.composing=!0}function Rs(t){t.target.composing&&(t.target.composing=!1,Bs(t.target,"input"))}function Bs(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ws(t){return!t.componentInstance||t.data&&t.data.transition?t:Ws(t.componentInstance._vnode)}var Hs={bind:function(t,e,n){var r=e.value;n=Ws(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Ss(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=Ws(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Ss(n,(function(){t.style.display=t.__vOriginalDisplay})):As(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},zs={model:Ns,show:Hs},Vs={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]};function qs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?qs(Pn(e.children)):t}function Us(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[T(r)]=i[r];return e}function Gs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Xs(t){while(t=t.parent)if(t.data.transition)return!0}function Ys(t,e){return e.key===t.key&&e.tag===t.tag}var Ks=function(t){return t.tag||fn(t)},Qs=function(t){return"show"===t.name},Zs={name:"transition",props:Vs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ks),n.length)){0;var r=this.mode;0;var i=n[0];if(Xs(this.$vnode))return i;var o=qs(i);if(!o)return i;if(this._leaving)return Gs(t,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Us(this),l=this._vnode,u=qs(l);if(o.data.directives&&o.data.directives.some(Qs)&&(o.data.show=!0),u&&u.data&&!Ys(o,u)&&!fn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=D({},s);if("out-in"===r)return this._leaving=!0,Be(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Gs(t,i);if("in-out"===r){if(fn(o))return l;var d,h=function(){d()};Be(s,"afterEnter",h),Be(s,"enterCancelled",h),Be(f,"delayLeave",(function(t){d=t}))}}return i}}},Js=D({tag:String,moveClass:String},Vs);delete Js.mode;var tl={props:Js,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Nr(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Us(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){var c=[],u=[];for(s=0;s<r.length;s++){l=r[s];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?c.push(l):u.push(l)}this.kept=t(e,null,c),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(el),t.forEach(nl),t.forEach(rl),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;ms(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ds,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(ds,t),n._moveCb=null,ys(n,e))})}})))},methods:{hasMove:function(t,e){if(!ls)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){os(n,t)})),is(n,e),n.style.display="none",this.$el.appendChild(n);var r=xs(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function el(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function nl(t){t.data.newPos=t.elm.getBoundingClientRect()}function rl(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var il={Transition:Zs,TransitionGroup:tl};io.config.mustUseProp=Co,io.config.isReservedTag=Wo,io.config.isReservedAttr=wo,io.config.getTagNamespace=Ho,io.config.isUnknownElement=Vo,D(io.options.directives,zs),D(io.options.components,il),io.prototype.__patch__=tt?Ps:F,io.prototype.$mount=function(t,e){return t=t&&tt?Uo(t):void 0,jr(this,t,e)},tt&&setTimeout((function(){G.devtools&&dt&&dt.emit("init",io)}),0)}.call(this,n("c8ba"))},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2f21":function(t,e,n){"use strict";var r=n("79e5");t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2f25":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("44d8"),i=(0,r.twitterEmbedComponent)({embedComponent:function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(e=t.widgets).createMoment.apply(e,r)},props:{errorMessage:{type:String,default:"Whoops! We couldn't access this Moment."},errorMessageClass:{type:String,required:!1},widgetClass:{type:String,required:!1}}}),o=i;e.default=o},3024:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),a=n("35e8"),s=n("481b"),l=n("8f60"),c=n("45f2"),u=n("53e2"),f=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,y,b,w){l(n,e,m);var x,C,_,S=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},A=e+" Iterator",k=y==v,T=!1,O=t.prototype,L=O[f]||O[h]||y&&O[y],M=L||S(y),E=y?k?S("entries"):M:void 0,P="Array"==e&&O.entries||L;if(P&&(_=u(P.call(new t)),_!==Object.prototype&&_.next&&(c(_,A,!0),r||"function"==typeof _[f]||a(_,f,g))),k&&L&&L.name!==v&&(T=!0,M=function(){return L.call(this)}),r&&!w||!d&&!T&&O[f]||a(O,f,M),s[e]=M,s[A]=g,y)if(x={values:k?M:S(v),keys:b?M:S(p),entries:E},w)for(C in x)C in O||o(O,C,x[C]);else i(i.P+i.F*(d||T),e,x);return x}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"35c2":function(t,e,n){"use strict";t.exports=function(t){var e="https://sarcadass.github.io/granim.js/api.html";throw new Error('Granim: Input error on "'+t+'" option.\nCheck the API '+e+".")}},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"35f5":function(t,e,n){"use strict";t.exports=function(){var t=this;this.scrollDebounceTimeout&&clearTimeout(this.scrollDebounceTimeout),this.scrollDebounceTimeout=setTimeout((function(){var e=t.canvas.getBoundingClientRect();if(t.isCanvasInWindowView=!(e.bottom<0||e.right<0||e.left>window.innerWidth||e.top>window.innerHeight),t.isCanvasInWindowView){if(!t.isPaused||t.firstScrollInit){if(t.image&&!t.isImgLoaded)return;t.isPausedBecauseNotInView=!1,t.play("isPlayedBecauseInView"),t.firstScrollInit=!1}}else!t.image&&t.firstScrollInit&&(t.refreshColorsAndPos(),t.firstScrollInit=!1),t.isPaused||t.isPausedBecauseNotInView||(t.isPausedBecauseNotInView=!0,t.pause("isPausedBecauseNotInView"))}),this.scrollDebounceThreshold)}},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3702:function(t,e,n){var r=n("481b"),i=n("5168")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3b8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("696e"),i=n.n(r);function o(t,e,n,r,o,a,s){try{var l=t[a](s),c=l.value}catch(u){return void n(u)}l.done?e(c):i.a.resolve(c).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new i.a((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,l,"next",t)}function l(t){o(a,r,i,s,l,"throw",t)}s(void 0)}))}}},"3c11":function(t,e,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),a=n("f201"),s=n("cd78");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},4178:function(t,e,n){var r,i,o,a=n("d864"),s=n("3024"),l=n("32fc"),c=n("1ec9"),u=n("e53d"),f=u.process,d=u.setImmediate,h=u.clearImmediate,p=u.MessageChannel,v=u.Dispatch,g=0,m={},y="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){b.call(t.data)};d&&h||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete m[t]},"process"==n("6b4c")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",w,!1)):r=y in c("script")?function(t){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:d,clear:h}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"43fc":function(t,e,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"44d8":function(t,e,n){"use strict";var r=0;function i(t){if(!r){var e=document.createElement("script");e.setAttribute("src",t),document.body.appendChild(e),r=new Promise((function(t){e.onload=function(){t(window.twttr)}}))}return r}var o={id:{type:String,required:!0},sourceType:{type:String},slug:{type:String},options:Object},a=function(t){return{data:function(){return{isLoaded:!1,isAvailable:!1}},props:Object.assign({},o,t.props),mounted:function(){var e,n=this;e="profile"===this.sourceType?{sourceType:this.sourceType,screenName:this.id}:"list"===this.sourceType?{sourceType:this.sourceType,ownerScreenName:this.id,slug:this.slug}:this.id,Promise.resolve(window.twttr?window.twttr:i("//platform.twitter.com/widgets.js")).then((function(r){return t.embedComponent(r,e,n.$el,n.options)})).then((function(t){n.isAvailable=void 0!==t,n.isLoaded=!0}))},render:function(t){if(this.isLoaded&&this.isAvailable)return t("div",{class:this.$props.widgetClass});if(this.isLoaded&&!this.isAvailable&&this.$props.errorMessage){var e=t("div",{class:this.$props.errorMessageClass,domProps:{innerHTML:this.$props.errorMessage}});return t("div",[e])}return t("div",{class:this.$props.widgetClass},this.$slots.default)}}};t.exports={addPlatformScript:i,twitterEmbedComponent:a}},"450d":function(t,e,n){},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"47be":function(t,e,n){"use strict";t.exports=function(){var t,e,n=this.getCurrentColors(),r=null,i=n.map((function(t){return Math.max(t[0],t[1],t[2])}));for(e=0;e<i.length;e++)r=null===r?i[e]:r+i[e],e===i.length-1&&(t=Math.round(r/(e+1)));return t>=128?"light":"dark"}},"47e6":function(t,e,n){"use strict";t.exports=function(t){var e,n,r,i=t-this.previousTimeStamp>100,o=void 0===this.states[this.activeState].loop||this.states[this.activeState].loop;(null===this.previousTimeStamp||i)&&(this.previousTimeStamp=t),this.progress=this.progress+(t-this.previousTimeStamp),e=(this.progress/this.activetransitionSpeed*100).toFixed(2),this.previousTimeStamp=t,this.refreshColorsAndPos(e),e<100?this.animation=requestAnimationFrame(this.animateColors.bind(this)):this.channelsIndex<this.states[this.activeState].gradients.length-2||o?(this.isChangingState&&(this.activetransitionSpeed=this.states[this.activeState].transitionSpeed||5e3,this.isChangingState=!1),this.previousTimeStamp=null,this.progress=0,this.channelsIndex++,n=!1,this.channelsIndex===this.states[this.activeState].gradients.length-1?n=!0:this.channelsIndex===this.states[this.activeState].gradients.length&&(this.channelsIndex=0),r=void 0===this.states[this.activeState].gradients[this.channelsIndex+1]?this.states[this.activeState].gradients[0]:this.states[this.activeState].gradients[this.channelsIndex+1],this.setColors(),this.animation=requestAnimationFrame(this.animateColors.bind(this)),this.callbacks.onGradientChange&&this.callbacks.onGradientChange({isLooping:n,colorsFrom:this.states[this.activeState].gradients[this.channelsIndex],colorsTo:r,activeState:this.activeState}),this.canvas.dispatchEvent(this.events.gradientChange({isLooping:n,colorsFrom:this.states[this.activeState].gradients[this.channelsIndex],colorsTo:r,activeState:this.activeState}))):(cancelAnimationFrame(this.animation),this.callbacks.onEnd&&this.callbacks.onEnd(),this.canvas.dispatchEvent(new CustomEvent("granim:end")))}},"481b":function(t,e){t.exports={}},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),l=n("27ee"),c={},u={};e=t.exports=function(t,e,n,f,d){var h,p,v,g,m=d?function(){return t}:l(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(h=s(t.length);h>b;b++)if(g=e?y(a(p=t[b])[0],p[1]):y(t[b]),g===c||g===u)return g}else for(v=m.call(t);!(p=v.next()).done;)if(g=i(v,y,p.value,e),g===c||g===u)return g};e.BREAK=c,e.RETURN=u},"4bd7":function(t,e,n){"use strict";t.exports=function(){this.isPaused?this.isPaused=!1:cancelAnimationFrame(this.animation),this.isCleared=!0,this.context.clearRect(0,0,this.x1,this.y1)}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4c95":function(t,e,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),a=n("8e60"),s=n("5168")("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},"4dca":function(t,e,n){"use strict";function r(t,e){return t.indexOf("%")>-1?e/100*parseInt(t.split("%")[0],10):parseInt(t.split("px")[0],10)}t.exports=function(){var t=this.context;switch(this.direction){case"diagonal":return t.createLinearGradient(0,0,this.x1,this.y1);case"left-right":return t.createLinearGradient(0,0,this.x1,0);case"top-bottom":return t.createLinearGradient(this.x1/2,0,this.x1/2,this.y1);case"radial":return t.createRadialGradient(this.x1/2,this.y1/2,this.x1/2,this.x1/2,this.y1/2,0);case"custom":return t.createLinearGradient(r(this.customDirection.x0,this.x1),r(this.customDirection.y0,this.y1),r(this.customDirection.x1,this.x1),r(this.customDirection.y1,this.y1))}}},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},5299:function(t,e,n){"use strict";
  8. /*!
  9. * vue-social-sharing v2.4.7
  10. * (c) 2019 nicolasbeauvais
  11. * Released under the MIT License.
  12. */function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var i=r(n("2b0e")),o={functional:!0,props:{network:{type:String,default:""}},render:function(t,e){var n=e.parent._data.baseNetworks[e.props.network];return n?t(e.parent.networkTag,{staticClass:e.data.staticClass||null,staticStyle:e.data.staticStyle||null,class:e.data.class||null,style:e.data.style||null,attrs:{id:e.data.attrs.id||null,tabindex:e.data.attrs.tabindex||0,"data-link":"popup"===n.type?"#share-"+e.props.network:e.parent.createSharingUrl(e.props.network),"data-action":"popup"===n.type?null:n.action},on:{click:"popup"===n.type?function(){e.parent.share(e.props.network)}:function(){e.parent.touch(e.props.network)}}},e.children):console.warn("Network "+e.props.network+" does not exist")}},a={sharer:"mailto:?subject=@title&body=@url%0D%0A%0D%0A@description",type:"direct"},s={sharer:"https://www.facebook.com/sharer/sharer.php?u=@url&title=@title&description=@description&quote=@quote&hashtag=@hashtags",type:"popup"},l={sharer:"https://plus.google.com/share?url=@url",type:"popup"},c={sharer:"http://line.me/R/msg/text/?@description%0D%0A@url",type:"popup"},u={sharer:"https://www.linkedin.com/shareArticle?mini=true&url=@url&title=@title&summary=@description",type:"popup"},f={sharer:"https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=@url&st.comments=@description",type:"popup"},d={sharer:"https://pinterest.com/pin/create/button/?url=@url&media=@media&description=@title",type:"popup"},h={sharer:"https://www.reddit.com/submit?url=@url&title=@title",type:"popup"},p={sharer:"https://web.skype.com/share?url=@description%0D%0A@url",type:"popup"},v={sharer:"https://t.me/share/url?url=@url&text=@description",type:"popup"},g={sharer:"https://twitter.com/intent/tweet?text=@title&url=@url&hashtags=@hashtags@twitteruser",type:"popup"},m={sharer:"viber://forward?text=@url @description",type:"direct"},y={sharer:"https://vk.com/share.php?url=@url&title=@title&description=@description&image=@media&noparse=true",type:"popup"},b={sharer:"http://service.weibo.com/share/share.php?url=@url&title=@title",type:"popup"},w={sharer:"https://api.whatsapp.com/send?text=@description%0D%0A@url",type:"popup",action:"share/whatsapp/share"},x={sharer:"sms:?body=@url%20@description",type:"direct"},C={sharer:"sms:;body=@url%20@description",type:"direct"},_={email:a,facebook:s,googleplus:l,line:c,linkedin:u,odnoklassniki:f,pinterest:d,reddit:h,skype:p,telegram:v,twitter:g,viber:m,vk:y,weibo:b,whatsapp:w,sms:x,sms_ios:C},S="undefined"!==typeof window,A=S?window:null,k={props:{url:{type:String,default:S?window.location.href:""},title:{type:String,default:""},description:{type:String,default:""},quote:{type:String,default:""},hashtags:{type:String,default:""},twitterUser:{type:String,default:""},withCounts:{type:[String,Boolean],default:!1},googleKey:{type:String,default:void 0},media:{type:String,default:""},networkTag:{type:String,default:"span"},networks:{type:Object,default:function(){return{}}}},data:function(){return{baseNetworks:_,popup:{status:!1,resizable:!0,toolbar:!1,menubar:!1,scrollbars:!1,location:!1,directories:!1,width:626,height:436,top:0,left:0,window:void 0,interval:null}}},methods:{createSharingUrl:function(t){var e=navigator.userAgent.toLowerCase();"sms"===t&&(e.indexOf("iphone")>-1||e.indexOf("ipad")>-1)&&(t+="_ios");var n=this.baseNetworks[t].sharer;return"twitter"===t&&0===this.hashtags.length&&(n=n.replace("&hashtags=@hashtags","")),n.replace(/@url/g,encodeURIComponent(this.url)).replace(/@title/g,encodeURIComponent(this.title)).replace(/@description/g,encodeURIComponent(this.description)).replace(/@quote/g,encodeURIComponent(this.quote)).replace(/@hashtags/g,this.generateHashtags(t,this.hashtags)).replace(/@media/g,this.media).replace(/@twitteruser/g,this.twitterUser?"&via="+this.twitterUser:"")},generateHashtags:function(t,e){return"facebook"===t&&e.length>0?"%23"+e.split(",")[0]:e},share:function(t){this.openSharer(t,this.createSharingUrl(t)),this.$root.$emit("social_shares_open",t,this.url),this.$emit("open",t,this.url)},touch:function(t){window.open(this.createSharingUrl(t),"_self"),this.$root.$emit("social_shares_open",t,this.url),this.$emit("open",t,this.url)},openSharer:function(t,e){var n=this,r=null;r&&this.popup.interval&&(clearInterval(this.popup.interval),r.close(),this.$root.$emit("social_shares_change",t,this.url),this.$emit("change",t,this.url)),r=window.open(e,"sharer","status="+(this.popup.status?"yes":"no")+",height="+this.popup.height+",width="+this.popup.width+",resizable="+(this.popup.resizable?"yes":"no")+",left="+this.popup.left+",top="+this.popup.top+",screenX="+this.popup.left+",screenY="+this.popup.top+",toolbar="+(this.popup.toolbar?"yes":"no")+",menubar="+(this.popup.menubar?"yes":"no")+",scrollbars="+(this.popup.scrollbars?"yes":"no")+",location="+(this.popup.location?"yes":"no")+",directories="+(this.popup.directories?"yes":"no")),r.focus(),this.popup.interval=setInterval((function(){r&&!r.closed||(clearInterval(n.popup.interval),r=void 0,n.$root.$emit("social_shares_close",t,n.url),n.$emit("close",t,n.url))}),500)}},beforeMount:function(){this.baseNetworks=i.util.extend(this.baseNetworks,this.networks)},mounted:function(){if(S){var t=void 0!==A.screenLeft?A.screenLeft:screen.left,e=void 0!==A.screenTop?A.screenTop:screen.top,n=A.innerWidth?A.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,r=A.innerHeight?A.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height;this.popup.left=n/2-this.popup.width/2+t,this.popup.top=r/2-this.popup.height/2+e}},components:{network:o},version:"2.4.7",install:function(t){t.component("social-sharing",k)}};"undefined"!==typeof window&&(window.SocialSharing=k),t.exports=k},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53e2":function(t,e,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"551c":function(t,e,n){"use strict";var r,i,o,a,s=n("2d00"),l=n("7726"),c=n("9b43"),u=n("23c6"),f=n("5ca1"),d=n("d3f4"),h=n("d8e8"),p=n("f605"),v=n("4a59"),g=n("ebd6"),m=n("1991").set,y=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),C=n("bcaa"),_="Promise",S=l.TypeError,A=l.process,k=A&&A.versions,T=k&&k.v8||"",O=l[_],L="process"==u(A),M=function(){},E=i=b.f,P=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(M,M)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),N=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(i||(2==t._h&&F(t),t._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===e.promise?c(S("Promise-chain cycle")):(o=N(n))?o.call(n,l,c):l(n)):c(r)}catch(f){u&&!a&&u.exit(),c(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&D(t)}))}},D=function(t){m.call(l,(function(){var e,n,r,i=t._v,o=j(t);if(o&&(e=w((function(){L?A.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=L||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(l,(function(){var e;L?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},$=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=N(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,c(R,r,1),c($,r,1))}catch(i){$.call(r,i)}})):(n._v=t,n._s=1,I(n,!1))}catch(r){$.call({_w:n,_d:!1},r)}}};P||(O=function(t){p(this,O,_,"_h"),h(t),r.call(this);try{t(c(R,this,1),c($,this,1))}catch(e){$.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(O.prototype,{then:function(t,e){var n=E(g(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(R,t,1),this.reject=c($,t,1)},b.f=E=function(t){return t===O||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!P,{Promise:O}),n("7f20")(O,_),n("7a56")(_),a=n("8378")[_],f(f.S+f.F*!P,_,{reject:function(t){var e=E(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!P),_,{resolve:function(t){return C(s&&this===a?O:this,t)}}),f(f.S+f.F*!(P&&n("5cc5")((function(t){O.all(t)["catch"](M)}))),_,{all:function(t){var e=this,n=E(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,l=!1;n.push(void 0),a++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=E(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"55dd":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("4bf8"),a=n("79e5"),s=[].sort,l=[1,2,3];r(r.P+r.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n("2f21")(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},"564d":function(t,e,n){"use strict";t.exports=function(){var t,e,n,r,i=this;if(this.channels[this.activeState]||(this.channels[this.activeState]=[]),void 0!==this.channels[this.activeState][this.channelsIndex])return this.activeColors=this.channels[this.activeState][this.channelsIndex].colors,this.activeColorsDiff=this.channels[this.activeState][this.channelsIndex].colorsDiff,this.activeColorsPos=this.channels[this.activeState][this.channelsIndex].colorsPos,void(this.activeColorsPosDiff=this.channels[this.activeState][this.channelsIndex].colorsPosDiff);this.channels[this.activeState].push([{}]),this.channels[this.activeState][this.channelsIndex].colors=[],this.channels[this.activeState][this.channelsIndex].colorsDiff=[],this.channels[this.activeState][this.channelsIndex].colorsPos=[],this.channels[this.activeState][this.channelsIndex].colorsPosDiff=[],this.activeColors=[],this.activeColorsDiff=[],this.activeColorsPos=[],this.activeColorsPosDiff=[],this.states[this.activeState].gradients[this.channelsIndex].forEach((function(o,a){var s=i.getColorPos(o,a),l=(o=i.getColor(o),i.convertColorToRgba(o)),c=i.channels[i.activeState];c[i.channelsIndex].colors.push(l),i.activeColors.push(l),c[i.channelsIndex].colorsPos.push(s),i.activeColorsPos.push(s),i.isCurrentColorsSet||(i.currentColors.push(i.convertColorToRgba(o)),i.currentColorsPos.push(s)),i.channelsIndex===i.states[i.activeState].gradients.length-1?(t=i.getColorDiff(c[i.channelsIndex].colors[a],c[0].colors[a]),e=i.getColorPosDiff(c[i.channelsIndex].colorsPos[a],c[0].colorsPos[a])):(n=i.convertColorToRgba(i.getColor(i.states[i.activeState].gradients[i.channelsIndex+1][a])),r=i.getColorPos(i.states[i.activeState].gradients[i.channelsIndex+1][a],a),t=i.getColorDiff(c[i.channelsIndex].colors[a],n),e=i.getColorPosDiff(c[i.channelsIndex].colorsPos[a],r)),c[i.channelsIndex].colorsDiff.push(t),i.activeColorsDiff.push(t),c[i.channelsIndex].colorsPosDiff.push(e),i.activeColorsPosDiff.push(e)})),this.activetransitionSpeed=this.states[this.activeState].transitionSpeed||5e3,this.isCurrentColorsSet=!0}},"56b3":function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){"use strict";var t=navigator.userAgent,e=navigator.platform,n=/gecko\/\d/i.test(t),r=/MSIE \d/.test(t),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(t),c=l&&/Qt\/\d+\.\d+/.test(t),u=!o&&/Chrome\/(\d+)/.exec(t),f=u&&+u[1],d=/Opera\//.test(t),h=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),v=/PhantomJS/.test(t),g=h&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),m=/Android/.test(t),y=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),b=g||/Mac/.test(e),w=/\bCrOS\b/.test(t),x=/win/i.test(e),C=d&&t.match(/Version\/(\d*\.\d*)/);C&&(C=Number(C[1])),C&&C>=15&&(d=!1,l=!0);var _=b&&(c||d&&(null==C||C<12.11)),S=n||a&&s>=9;function A(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}var k,T=function(t,e){var n=t.className,r=A(e).exec(n);if(r){var i=n.slice(r.index+r[0].length);t.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function O(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function L(t,e){return O(t).appendChild(e)}function M(t,e,n,r){var i=document.createElement(t);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof e)i.appendChild(document.createTextNode(e));else if(e)for(var o=0;o<e.length;++o)i.appendChild(e[o]);return i}function E(t,e,n,r){var i=M(t,e,n,r);return i.setAttribute("role","presentation"),i}function P(t,e){if(3==e.nodeType&&(e=e.parentNode),t.contains)return t.contains(e);do{if(11==e.nodeType&&(e=e.host),e==t)return!0}while(e=e.parentNode)}function N(t){var e,n=t.ownerDocument||t;try{e=t.activeElement}catch(r){e=n.body||null}while(e&&e.shadowRoot&&e.shadowRoot.activeElement)e=e.shadowRoot.activeElement;return e}function I(t,e){var n=t.className;A(e).test(n)||(t.className+=(n?" ":"")+e)}function D(t,e){for(var n=t.split(" "),r=0;r<n.length;r++)n[r]&&!A(n[r]).test(e)&&(e+=" "+n[r]);return e}k=document.createRange?function(t,e,n,r){var i=document.createRange();return i.setEnd(r||t,n),i.setStart(t,e),i}:function(t,e,n){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",e),r};var j=function(t){t.select()};function F(t){return t.display.wrapper.ownerDocument}function $(t){return R(t.display.wrapper)}function R(t){return t.getRootNode?t.getRootNode():t.ownerDocument}function B(t){return F(t).defaultView}function W(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e)}}function H(t,e,n){for(var r in e||(e={}),t)!t.hasOwnProperty(r)||!1===n&&e.hasOwnProperty(r)||(e[r]=t[r]);return e}function z(t,e,n,r,i){null==e&&(e=t.search(/[^\s\u00a0]/),-1==e&&(e=t.length));for(var o=r||0,a=i||0;;){var s=t.indexOf("\t",o);if(s<0||s>=e)return a+(e-o);a+=s-o,a+=n-a%n,o=s+1}}g?j=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:a&&(j=function(t){try{t.select()}catch(e){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=W(this.onTimeout,this)};function q(t,e){for(var n=0;n<t.length;++n)if(t[n]==e)return n;return-1}V.prototype.onTimeout=function(t){t.id=0,t.time<=+new Date?t.f():setTimeout(t.handler,t.time-+new Date)},V.prototype.set=function(t,e){this.f=e;var n=+new Date+t;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,t),this.time=n)};var U=50,G={toString:function(){return"CodeMirror.Pass"}},X={scroll:!1},Y={origin:"*mouse"},K={origin:"+move"};function Q(t,e,n){for(var r=0,i=0;;){var o=t.indexOf("\t",r);-1==o&&(o=t.length);var a=o-r;if(o==t.length||i+a>=e)return r+Math.min(a,e-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=e)return r}}var Z=[""];function J(t){while(Z.length<=t)Z.push(tt(Z)+" ");return Z[t]}function tt(t){return t[t.length-1]}function et(t,e){for(var n=[],r=0;r<t.length;r++)n[r]=e(t[r],r);return n}function nt(t,e,n){var r=0,i=n(e);while(r<t.length&&n(t[r])<=i)r++;t.splice(r,0,e)}function rt(){}function it(t,e){var n;return Object.create?n=Object.create(t):(rt.prototype=t,n=new rt),e&&H(e,n),n}var ot=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function at(t){return/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||ot.test(t))}function st(t,e){return e?!!(e.source.indexOf("\\w")>-1&&at(t))||e.test(t):at(t)}function lt(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}var ct=/[\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]/;function ut(t){return t.charCodeAt(0)>=768&&ct.test(t)}function ft(t,e,n){while((n<0?e>0:e<t.length)&&ut(t.charAt(e)))e+=n;return e}function dt(t,e,n){for(var r=e>n?-1:1;;){if(e==n)return e;var i=(e+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==e)return t(o)?e:n;t(o)?n=o:e=o+r}}function ht(t,e,n,r){if(!t)return r(e,n,"ltr",0);for(var i=!1,o=0;o<t.length;++o){var a=t[o];(a.from<n&&a.to>e||e==n&&a.to==e)&&(r(Math.max(a.from,e),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(e,n,"ltr")}var pt=null;function vt(t,e,n){var r;pt=null;for(var i=0;i<t.length;++i){var o=t[i];if(o.from<e&&o.to>e)return i;o.to==e&&(o.from!=o.to&&"before"==n?r=i:pt=i),o.from==e&&(o.from!=o.to&&"before"!=n?r=i:pt=i)}return null!=r?r:pt}var gt=function(){var t="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",e="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?t.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?e.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(t,e,n){this.level=t,this.from=e,this.to=n}return function(t,e){var c="ltr"==e?"L":"R";if(0==t.length||"ltr"==e&&!r.test(t))return!1;for(var u=t.length,f=[],d=0;d<u;++d)f.push(n(t.charCodeAt(d)));for(var h=0,p=c;h<u;++h){var v=f[h];"m"==v?f[h]=p:p=v}for(var g=0,m=c;g<u;++g){var y=f[g];"1"==y&&"r"==m?f[g]="n":o.test(y)&&(m=y,"r"==y&&(f[g]="R"))}for(var b=1,w=f[0];b<u-1;++b){var x=f[b];"+"==x&&"1"==w&&"1"==f[b+1]?f[b]="1":","!=x||w!=f[b+1]||"1"!=w&&"n"!=w||(f[b]=w),w=x}for(var C=0;C<u;++C){var _=f[C];if(","==_)f[C]="N";else if("%"==_){var S=void 0;for(S=C+1;S<u&&"%"==f[S];++S);for(var A=C&&"!"==f[C-1]||S<u&&"1"==f[S]?"1":"N",k=C;k<S;++k)f[k]=A;C=S-1}}for(var T=0,O=c;T<u;++T){var L=f[T];"L"==O&&"1"==L?f[T]="L":o.test(L)&&(O=L)}for(var M=0;M<u;++M)if(i.test(f[M])){var E=void 0;for(E=M+1;E<u&&i.test(f[E]);++E);for(var P="L"==(M?f[M-1]:c),N="L"==(E<u?f[E]:c),I=P==N?P?"L":"R":c,D=M;D<E;++D)f[D]=I;M=E-1}for(var j,F=[],$=0;$<u;)if(a.test(f[$])){var R=$;for(++$;$<u&&a.test(f[$]);++$);F.push(new l(0,R,$))}else{var B=$,W=F.length,H="rtl"==e?1:0;for(++$;$<u&&"L"!=f[$];++$);for(var z=B;z<$;)if(s.test(f[z])){B<z&&(F.splice(W,0,new l(1,B,z)),W+=H);var V=z;for(++z;z<$&&s.test(f[z]);++z);F.splice(W,0,new l(2,V,z)),W+=H,B=z}else++z;B<$&&F.splice(W,0,new l(1,B,$))}return"ltr"==e&&(1==F[0].level&&(j=t.match(/^\s+/))&&(F[0].from=j[0].length,F.unshift(new l(0,0,j[0].length))),1==tt(F).level&&(j=t.match(/\s+$/))&&(tt(F).to-=j[0].length,F.push(new l(0,u-j[0].length,u)))),"rtl"==e?F.reverse():F}}();function mt(t,e){var n=t.order;return null==n&&(n=t.order=gt(t.text,e)),n}var yt=[],bt=function(t,e,n){if(t.addEventListener)t.addEventListener(e,n,!1);else if(t.attachEvent)t.attachEvent("on"+e,n);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||yt).concat(n)}};function wt(t,e){return t._handlers&&t._handlers[e]||yt}function xt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var r=t._handlers,i=r&&r[e];if(i){var o=q(i,n);o>-1&&(r[e]=i.slice(0,o).concat(i.slice(o+1)))}}}function Ct(t,e){var n=wt(t,e);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function _t(t,e,n){return"string"==typeof e&&(e={type:e,preventDefault:function(){this.defaultPrevented=!0}}),Ct(t,n||e.type,t,e),Lt(e)||e.codemirrorIgnore}function St(t){var e=t._handlers&&t._handlers.cursorActivity;if(e)for(var n=t.curOp.cursorActivityHandlers||(t.curOp.cursorActivityHandlers=[]),r=0;r<e.length;++r)-1==q(n,e[r])&&n.push(e[r])}function At(t,e){return wt(t,e).length>0}function kt(t){t.prototype.on=function(t,e){bt(this,t,e)},t.prototype.off=function(t,e){xt(this,t,e)}}function Tt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Ot(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function Lt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Mt(t){Tt(t),Ot(t)}function Et(t){return t.target||t.srcElement}function Pt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),b&&t.ctrlKey&&1==e&&(e=3),e}var Nt,It,Dt=function(){if(a&&s<9)return!1;var t=M("div");return"draggable"in t||"dragDrop"in t}();function jt(t){if(null==Nt){var e=M("span","​");L(t,M("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Nt=e.offsetWidth<=1&&e.offsetHeight>2&&!(a&&s<8))}var n=Nt?M("span","​"):M("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Ft(t){if(null!=It)return It;var e=L(t,document.createTextNode("AخA")),n=k(e,0,1).getBoundingClientRect(),r=k(e,1,2).getBoundingClientRect();return O(t),!(!n||n.left==n.right)&&(It=r.right-n.right<3)}var $t=3!="\n\nb".split(/\n/).length?function(t){var e=0,n=[],r=t.length;while(e<=r){var i=t.indexOf("\n",e);-1==i&&(i=t.length);var o=t.slice(e,"\r"==t.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),e+=a+1):(n.push(o),e=i+1)}return n}:function(t){return t.split(/\r\n?|\n/)},Rt=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(e){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(n){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Bt=function(){var t=M("div");return"oncopy"in t||(t.setAttribute("oncopy","return;"),"function"==typeof t.oncopy)}(),Wt=null;function Ht(t){if(null!=Wt)return Wt;var e=L(t,M("span","x")),n=e.getBoundingClientRect(),r=k(e,0,1).getBoundingClientRect();return Wt=Math.abs(n.left-r.left)>1}var zt={},Vt={};function qt(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),zt[t]=e}function Ut(t,e){Vt[t]=e}function Gt(t){if("string"==typeof t&&Vt.hasOwnProperty(t))t=Vt[t];else if(t&&"string"==typeof t.name&&Vt.hasOwnProperty(t.name)){var e=Vt[t.name];"string"==typeof e&&(e={name:e}),t=it(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Gt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Gt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Xt(t,e){e=Gt(e);var n=zt[e.name];if(!n)return Xt(t,"text/plain");var r=n(t,e);if(Yt.hasOwnProperty(e.name)){var i=Yt[e.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var a in e.modeProps)r[a]=e.modeProps[a];return r}var Yt={};function Kt(t,e){var n=Yt.hasOwnProperty(t)?Yt[t]:Yt[t]={};H(e,n)}function Qt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var r in e){var i=e[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Zt(t,e){var n;while(t.innerMode){if(n=t.innerMode(e),!n||n.mode==t)break;e=n.state,t=n.mode}return n||{mode:t,state:e}}function Jt(t,e,n){return!t.startState||t.startState(e,n)}var te=function(t,e,n){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function ee(t,e){if(e-=t.first,e<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");var n=t;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(e<o){n=i;break}e-=o}return n.lines[e]}function ne(t,e,n){var r=[],i=e.line;return t.iter(e.line,n.line+1,(function(t){var o=t.text;i==n.line&&(o=o.slice(0,n.ch)),i==e.line&&(o=o.slice(e.ch)),r.push(o),++i})),r}function re(t,e,n){var r=[];return t.iter(e,n,(function(t){r.push(t.text)})),r}function ie(t,e){var n=e-t.height;if(n)for(var r=t;r;r=r.parent)r.height+=n}function oe(t){if(null==t.parent)return null;for(var e=t.parent,n=q(e.lines,t),r=e.parent;r;e=r,r=r.parent)for(var i=0;;++i){if(r.children[i]==e)break;n+=r.children[i].chunkSize()}return n+e.first}function ae(t,e){var n=t.first;t:do{for(var r=0;r<t.children.length;++r){var i=t.children[r],o=i.height;if(e<o){t=i;continue t}e-=o,n+=i.chunkSize()}return n}while(!t.lines);for(var a=0;a<t.lines.length;++a){var s=t.lines[a],l=s.height;if(e<l)break;e-=l}return n+a}function se(t,e){return e>=t.first&&e<t.first+t.size}function le(t,e){return String(t.lineNumberFormatter(e+t.firstLineNumber))}function ce(t,e,n){if(void 0===n&&(n=null),!(this instanceof ce))return new ce(t,e,n);this.line=t,this.ch=e,this.sticky=n}function ue(t,e){return t.line-e.line||t.ch-e.ch}function fe(t,e){return t.sticky==e.sticky&&0==ue(t,e)}function de(t){return ce(t.line,t.ch)}function he(t,e){return ue(t,e)<0?e:t}function pe(t,e){return ue(t,e)<0?t:e}function ve(t,e){return Math.max(t.first,Math.min(e,t.first+t.size-1))}function ge(t,e){if(e.line<t.first)return ce(t.first,0);var n=t.first+t.size-1;return e.line>n?ce(n,ee(t,n).text.length):me(e,ee(t,e.line).text.length)}function me(t,e){var n=t.ch;return null==n||n>e?ce(t.line,e):n<0?ce(t.line,0):t}function ye(t,e){for(var n=[],r=0;r<e.length;r++)n[r]=ge(t,e[r]);return n}te.prototype.eol=function(){return this.pos>=this.string.length},te.prototype.sol=function(){return this.pos==this.lineStart},te.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},te.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},te.prototype.eat=function(t){var e,n=this.string.charAt(this.pos);if(e="string"==typeof t?n==t:n&&(t.test?t.test(n):t(n)),e)return++this.pos,n},te.prototype.eatWhile=function(t){var e=this.pos;while(this.eat(t));return this.pos>e},te.prototype.eatSpace=function(){var t=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>t},te.prototype.skipToEnd=function(){this.pos=this.string.length},te.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},te.prototype.backUp=function(t){this.pos-=t},te.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},te.prototype.indentation=function(){return z(this.string,null,this.tabSize)-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},te.prototype.match=function(t,e,n){if("string"!=typeof t){var r=this.string.slice(this.pos).match(t);return r&&r.index>0?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}var i=function(t){return n?t.toLowerCase():t},o=this.string.substr(this.pos,t.length);if(i(o)==i(t))return!1!==e&&(this.pos+=t.length),!0},te.prototype.current=function(){return this.string.slice(this.start,this.pos)},te.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}},te.prototype.lookAhead=function(t){var e=this.lineOracle;return e&&e.lookAhead(t)},te.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var be=function(t,e){this.state=t,this.lookAhead=e},we=function(t,e,n,r){this.state=e,this.doc=t,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function xe(t,e,n,r){var i=[t.state.modeGen],o={};Me(t,e.text,t.doc.mode,n,(function(t,e){return i.push(t,e)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=t.state.overlays[r],l=1,c=0;n.state=!0,Me(t,e.text,s.mode,n,(function(t,e){var n=l;while(c<t){var r=i[l];r>t&&i.splice(l,1,t,i[l+1],r),l+=2,c=Math.min(t,r)}if(e)if(s.opaque)i.splice(n,l-n,t,"overlay "+e),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+e}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<t.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Ce(t,e,n){if(!e.styles||e.styles[0]!=t.state.modeGen){var r=_e(t,oe(e)),i=e.text.length>t.options.maxHighlightLength&&Qt(t.doc.mode,r.state),o=xe(t,e,r);i&&(r.state=i),e.stateAfter=r.save(!i),e.styles=o.styles,o.classes?e.styleClasses=o.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return e.styles}function _e(t,e,n){var r=t.doc,i=t.display;if(!r.mode.startState)return new we(r,!0,e);var o=Ee(t,e,n),a=o>r.first&&ee(r,o-1).stateAfter,s=a?we.fromSaved(r,a,o):new we(r,Jt(r.mode),o);return r.iter(o,e,(function(n){Se(t,n.text,s);var r=s.line;n.stateAfter=r==e-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function Se(t,e,n,r){var i=t.doc.mode,o=new te(e,t.options.tabSize,n);o.start=o.pos=r||0,""==e&&Ae(i,n.state);while(!o.eol())ke(i,o,n.state),o.start=o.pos}function Ae(t,e){if(t.blankLine)return t.blankLine(e);if(t.innerMode){var n=Zt(t,e);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function ke(t,e,n,r){for(var i=0;i<10;i++){r&&(r[0]=Zt(t,n).mode);var o=t.token(e,n);if(e.pos>e.start)return o}throw new Error("Mode "+t.name+" failed to advance stream.")}we.prototype.lookAhead=function(t){var e=this.doc.getLine(this.line+t);return null!=e&&t>this.maxLookAhead&&(this.maxLookAhead=t),e},we.prototype.baseToken=function(t){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=t)this.baseTokenPos+=2;var e=this.baseTokens[this.baseTokenPos+1];return{type:e&&e.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},we.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},we.fromSaved=function(t,e,n){return e instanceof be?new we(t,Qt(t.mode,e.state),n,e.lookAhead):new we(t,Qt(t.mode,e),n)},we.prototype.save=function(t){var e=!1!==t?Qt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new be(e,this.maxLookAhead):e};var Te=function(t,e,n){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=e||null,this.state=n};function Oe(t,e,n,r){var i,o=t.doc,a=o.mode;e=ge(o,e);var s,l=ee(o,e.line),c=_e(t,e.line,n),u=new te(l.text,t.options.tabSize,c);r&&(s=[]);while((r||u.pos<e.ch)&&!u.eol())u.start=u.pos,i=ke(a,u,c.state),r&&s.push(new Te(u,i,Qt(o.mode,c.state)));return r?s:new Te(u,i,c.state)}function Le(t,e){if(t)for(;;){var n=t.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;t=t.slice(0,n.index)+t.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==e[r]?e[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(e[r])||(e[r]+=" "+n[2])}return t}function Me(t,e,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=t.options.flattenSpans);var l,c=0,u=null,f=new te(e,t.options.tabSize,r),d=t.options.addModeClass&&[null];""==e&&Le(Ae(n,r.state),o);while(!f.eol()){if(f.pos>t.options.maxHighlightLength?(s=!1,a&&Se(t,e,r,f.pos),f.pos=e.length,l=null):l=Le(ke(n,f,r.state,d),o),d){var h=d[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||u!=l){while(c<f.start)c=Math.min(f.start,c+5e3),i(c,u);u=l}f.start=f.pos}while(c<f.pos){var p=Math.min(f.pos,c+5e3);i(p,u),c=p}}function Ee(t,e,n){for(var r,i,o=t.doc,a=n?-1:e-(t.doc.mode.innerMode?1e3:100),s=e;s>a;--s){if(s<=o.first)return o.first;var l=ee(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof be?c.lookAhead:0)<=o.modeFrontier))return s;var u=z(l.text,null,t.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Pe(t,e){if(t.modeFrontier=Math.min(t.modeFrontier,e),!(t.highlightFrontier<e-10)){for(var n=t.first,r=e-1;r>n;r--){var i=ee(t,r).stateAfter;if(i&&(!(i instanceof be)||r+i.lookAhead<e)){n=r+1;break}}t.highlightFrontier=Math.min(t.highlightFrontier,n)}}var Ne=!1,Ie=!1;function De(){Ne=!0}function je(){Ie=!0}function Fe(t,e,n){this.marker=t,this.from=e,this.to=n}function $e(t,e){if(t)for(var n=0;n<t.length;++n){var r=t[n];if(r.marker==e)return r}}function Re(t,e){for(var n,r=0;r<t.length;++r)t[r]!=e&&(n||(n=[])).push(t[r]);return n}function Be(t,e,n){var r=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));r&&t.markedSpans&&r.has(t.markedSpans)?t.markedSpans.push(e):(t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],r&&r.add(t.markedSpans)),e.marker.attachLine(t)}function We(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var o=t[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=e:o.from<e);if(s||o.from==e&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=e:o.to>e);(r||(r=[])).push(new Fe(a,o.from,l?null:o.to))}}return r}function He(t,e,n){var r;if(t)for(var i=0;i<t.length;++i){var o=t[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=e:o.to>e);if(s||o.from==e&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=e:o.from<e);(r||(r=[])).push(new Fe(a,l?null:o.from-e,null==o.to?null:o.to-e))}}return r}function ze(t,e){if(e.full)return null;var n=se(t,e.from.line)&&ee(t,e.from.line).markedSpans,r=se(t,e.to.line)&&ee(t,e.to.line).markedSpans;if(!n&&!r)return null;var i=e.from.ch,o=e.to.ch,a=0==ue(e.from,e.to),s=We(n,i,a),l=He(r,o,a),c=1==e.text.length,u=tt(e.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var d=s[f];if(null==d.to){var h=$e(l,d.marker);h?c&&(d.to=null==h.to?null:h.to+u):d.to=i}}if(l)for(var p=0;p<l.length;++p){var v=l[p];if(null!=v.to&&(v.to+=u),null==v.from){var g=$e(s,v.marker);g||(v.from=u,c&&(s||(s=[])).push(v))}else v.from+=u,c&&(s||(s=[])).push(v)}s&&(s=Ve(s)),l&&l!=s&&(l=Ve(l));var m=[s];if(!c){var y,b=e.text.length-2;if(b>0&&s)for(var w=0;w<s.length;++w)null==s[w].to&&(y||(y=[])).push(new Fe(s[w].marker,null,null));for(var x=0;x<b;++x)m.push(y);m.push(l)}return m}function Ve(t){for(var e=0;e<t.length;++e){var n=t[e];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&t.splice(e--,1)}return t.length?t:null}function qe(t,e,n){var r=null;if(t.iter(e.line,n.line+1,(function(t){if(t.markedSpans)for(var e=0;e<t.markedSpans.length;++e){var n=t.markedSpans[e].marker;!n.readOnly||r&&-1!=q(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:e,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(!(ue(c.to,s.from)<0||ue(c.from,s.to)>0)){var u=[l,1],f=ue(c.from,s.from),d=ue(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Ue(t){var e=t.markedSpans;if(e){for(var n=0;n<e.length;++n)e[n].marker.detachLine(t);t.markedSpans=null}}function Ge(t,e){if(e){for(var n=0;n<e.length;++n)e[n].marker.attachLine(t);t.markedSpans=e}}function Xe(t){return t.inclusiveLeft?-1:0}function Ye(t){return t.inclusiveRight?1:0}function Ke(t,e){var n=t.lines.length-e.lines.length;if(0!=n)return n;var r=t.find(),i=e.find(),o=ue(r.from,i.from)||Xe(t)-Xe(e);if(o)return-o;var a=ue(r.to,i.to)||Ye(t)-Ye(e);return a||e.id-t.id}function Qe(t,e){var n,r=Ie&&t.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(e?i.from:i.to)&&(!n||Ke(n,i.marker)<0)&&(n=i.marker);return n}function Ze(t){return Qe(t,!0)}function Je(t){return Qe(t,!1)}function tn(t,e){var n,r=Ie&&t.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<e)&&(null==o.to||o.to>e)&&(!n||Ke(n,o.marker)<0)&&(n=o.marker)}return n}function en(t,e,n,r,i){var o=ee(t,e),a=Ie&&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=ue(c.from,n)||Xe(l.marker)-Xe(i),f=ue(c.to,r)||Ye(l.marker)-Ye(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ue(c.to,n)>=0:ue(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ue(c.from,r)<=0:ue(c.from,r)<0)))return!0}}}function nn(t){var e;while(e=Ze(t))t=e.find(-1,!0).line;return t}function rn(t){var e;while(e=Je(t))t=e.find(1,!0).line;return t}function on(t){var e,n;while(e=Je(t))t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function an(t,e){var n=ee(t,e),r=nn(n);return n==r?e:oe(r)}function sn(t,e){if(e>t.lastLine())return e;var n,r=ee(t,e);if(!ln(t,r))return e;while(n=Je(r))r=n.find(1,!0).line;return oe(r)+1}function ln(t,e){var n=Ie&&e.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&&cn(t,e,r))return!0}}function cn(t,e,n){if(null==n.to){var r=n.marker.find(1,!0);return cn(t,r.line,$e(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==e.text.length)return!0;for(var i=void 0,o=0;o<e.markedSpans.length;++o)if(i=e.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)&&cn(t,e,i))return!0}function un(t){t=nn(t);for(var e=0,n=t.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==t)break;e+=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;e+=s.height}return e}function fn(t){if(0==t.height)return 0;var e,n=t.text.length,r=t;while(e=Ze(r)){var i=e.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}r=t;while(e=Je(r)){var o=e.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function dn(t){var e=t.display,n=t.doc;e.maxLine=ee(n,n.first),e.maxLineLength=fn(e.maxLine),e.maxLineChanged=!0,n.iter((function(t){var n=fn(t);n>e.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)}))}var hn=function(t,e,n){this.text=t,Ge(this,e),this.height=n?n(this):1};function pn(t,e,n,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),Ue(t),Ge(t,n);var i=r?r(t):1;i!=t.height&&ie(t,i)}function vn(t){t.parent=null,Ue(t)}hn.prototype.lineNo=function(){return oe(this)},kt(hn);var gn={},mn={};function yn(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?mn:gn;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function bn(t,e){var n=E("span",null,null,l?"padding-right: .1px":null),r={pre:E("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:t.getOption("lineWrapping")};e.measure={};for(var i=0;i<=(e.rest?e.rest.length:0);i++){var o=i?e.rest[i-1]:e.line,a=void 0;r.pos=0,r.addToken=xn,Ft(t.display.measure)&&(a=mt(o,t.doc.direction))&&(r.addToken=_n(r.addToken,a)),r.map=[];var s=e!=t.display.externalMeasured&&oe(o);An(o,r,Ce(t,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(jt(t.display.measure))),0==i?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(l){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 Ct(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function wn(t){var e=M("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function xn(t,e,n,r,i,o,l){if(e){var c,u=t.splitSpaces?Cn(e,t.trailingSpace):e,f=t.cm.state.specialChars,d=!1;if(f.test(e)){c=document.createDocumentFragment();var h=0;while(1){f.lastIndex=h;var p=f.exec(e),v=p?p.index-h:e.length-h;if(v){var g=document.createTextNode(u.slice(h,h+v));a&&s<9?c.appendChild(M("span",[g])):c.appendChild(g),t.map.push(t.pos,t.pos+v,g),t.col+=v,t.pos+=v}if(!p)break;h+=v+1;var m=void 0;if("\t"==p[0]){var y=t.cm.options.tabSize,b=y-t.col%y;m=c.appendChild(M("span",J(b),"cm-tab")),m.setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),t.col+=b}else"\r"==p[0]||"\n"==p[0]?(m=c.appendChild(M("span","\r"==p[0]?"␍":"␤","cm-invalidchar")),m.setAttribute("cm-text",p[0]),t.col+=1):(m=t.cm.options.specialCharPlaceholder(p[0]),m.setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(M("span",[m])):c.appendChild(m),t.col+=1);t.map.push(t.pos,t.pos+1,m),t.pos++}}else t.col+=e.length,c=document.createTextNode(u),t.map.push(t.pos,t.pos+e.length,c),a&&s<9&&(d=!0),t.pos+=e.length;if(t.trailingSpace=32==u.charCodeAt(e.length-1),n||r||i||d||o||l){var w=n||"";r&&(w+=r),i&&(w+=i);var x=M("span",[c],w,o);if(l)for(var C in l)l.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&x.setAttribute(C,l[C]);return t.content.appendChild(x)}t.content.appendChild(c)}}function Cn(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,r="",i=0;i<t.length;i++){var o=t.charAt(i);" "!=o||!n||i!=t.length-1&&32!=t.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function _n(t,e){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<e.length;d++)if(f=e[d],f.to>c&&f.from<=c)break;if(f.to>=u)return t(n,r,i,o,a,s,l);t(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function Sn(t,e,n,r){var i=!r&&n.widgetNode;i&&t.map.push(t.pos,t.pos+e,i),!r&&t.cm.display.input.needsContentAttribute&&(i||(i=t.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(t.cm.display.input.setUneditable(i),t.content.appendChild(i)),t.pos+=e,t.trailingSpace=!1}function An(t,e,n){var r=t.markedSpans,i=t.text,o=0;if(r)for(var a,s,l,c,u,f,d,h=i.length,p=0,v=1,g="",m=0;;){if(m==p){l=c=u=s="",d=null,f=null,m=1/0;for(var y=[],b=void 0,w=0;w<r.length;++w){var x=r[w],C=x.marker;if("bookmark"==C.type&&x.from==p&&C.widgetNode)y.push(C);else if(x.from<=p&&(null==x.to||x.to>p||C.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&m>x.to&&(m=x.to,c=""),C.className&&(l+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==p&&(u+=" "+C.startStyle),C.endStyle&&x.to==m&&(b||(b=[])).push(C.endStyle,x.to),C.title&&((d||(d={})).title=C.title),C.attributes)for(var _ in C.attributes)(d||(d={}))[_]=C.attributes[_];C.collapsed&&(!f||Ke(f.marker,C)<0)&&(f=x)}else x.from>p&&m>x.from&&(m=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==m&&(c+=" "+b[S]);if(!f||f.from==p)for(var A=0;A<y.length;++A)Sn(e,0,y[A]);if(f&&(f.from||0)==p){if(Sn(e,(null==f.to?h+1:f.to)-p,f.marker,null==f.from),null==f.to)return;f.to==p&&(f=!1)}}if(p>=h)break;var k=Math.min(h,m);while(1){if(g){var T=p+g.length;if(!f){var O=T>k?g.slice(0,k-p):g;e.addToken(e,O,a?a+l:l,u,p+O.length==m?c:"",s,d)}if(T>=k){g=g.slice(k-p),p=k;break}p=T,u=""}g=i.slice(o,o=n[v++]),a=yn(n[v++],e.cm.options)}}else for(var L=1;L<n.length;L+=2)e.addToken(e,i.slice(o,o=n[L]),yn(n[L+1],e.cm.options))}function kn(t,e,n){this.line=e,this.rest=on(e),this.size=this.rest?oe(tt(this.rest))-n+1:1,this.node=this.text=null,this.hidden=ln(t,e)}function Tn(t,e,n){for(var r,i=[],o=e;o<n;o=r){var a=new kn(t.doc,ee(t.doc,o),o);r=o+a.size,i.push(a)}return i}var On=null;function Ln(t){On?On.ops.push(t):t.ownsGroup=On={ops:[t],delayedCallbacks:[]}}function Mn(t){var e=t.delayedCallbacks,n=0;do{for(;n<e.length;n++)e[n].call(null);for(var r=0;r<t.ops.length;r++){var i=t.ops[r];if(i.cursorActivityHandlers)while(i.cursorActivityCalled<i.cursorActivityHandlers.length)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<e.length)}function En(t,e){var n=t.ownsGroup;if(n)try{Mn(n)}finally{On=null,e(n)}}var Pn=null;function Nn(t,e){var n=wt(t,e);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);On?r=On.delayedCallbacks:Pn?r=Pn:(r=Pn=[],setTimeout(In,0));for(var o=function(t){r.push((function(){return n[t].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function In(){var t=Pn;Pn=null;for(var e=0;e<t.length;++e)t[e]()}function Dn(t,e,n,r){for(var i=0;i<e.changes.length;i++){var o=e.changes[i];"text"==o?Rn(t,e):"gutter"==o?Wn(t,e,n,r):"class"==o?Bn(t,e):"widget"==o&&Hn(t,e,r)}e.changes=null}function jn(t){return t.node==t.text&&(t.node=M("div",null,null,"position: relative"),t.text.parentNode&&t.text.parentNode.replaceChild(t.node,t.text),t.node.appendChild(t.text),a&&s<8&&(t.node.style.zIndex=2)),t.node}function Fn(t,e){var n=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),e.background)n?e.background.className=n:(e.background.parentNode.removeChild(e.background),e.background=null);else if(n){var r=jn(e);e.background=r.insertBefore(M("div",null,n),r.firstChild),t.display.input.setUneditable(e.background)}}function $n(t,e){var n=t.display.externalMeasured;return n&&n.line==e.line?(t.display.externalMeasured=null,e.measure=n.measure,n.built):bn(t,e)}function Rn(t,e){var n=e.text.className,r=$n(t,e);e.text==e.node&&(e.node=r.pre),e.text.parentNode.replaceChild(r.pre,e.text),e.text=r.pre,r.bgClass!=e.bgClass||r.textClass!=e.textClass?(e.bgClass=r.bgClass,e.textClass=r.textClass,Bn(t,e)):n&&(e.text.className=n)}function Bn(t,e){Fn(t,e),e.line.wrapClass?jn(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var n=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=n||""}function Wn(t,e,n,r){if(e.gutter&&(e.node.removeChild(e.gutter),e.gutter=null),e.gutterBackground&&(e.node.removeChild(e.gutterBackground),e.gutterBackground=null),e.line.gutterClass){var i=jn(e);e.gutterBackground=M("div",null,"CodeMirror-gutter-background "+e.line.gutterClass,"left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),t.display.input.setUneditable(e.gutterBackground),i.insertBefore(e.gutterBackground,e.text)}var o=e.line.gutterMarkers;if(t.options.lineNumbers||o){var a=jn(e),s=e.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(t.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(s.setAttribute("aria-hidden","true"),t.display.input.setUneditable(s),a.insertBefore(s,e.text),e.line.gutterClass&&(s.className+=" "+e.line.gutterClass),!t.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(e.lineNumber=s.appendChild(M("div",le(t.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+t.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<t.display.gutterSpecs.length;++l){var c=t.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(M("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Hn(t,e,n){e.alignable&&(e.alignable=null);for(var r=A("CodeMirror-linewidget"),i=e.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&e.node.removeChild(i);Vn(t,e,n)}function zn(t,e,n,r){var i=$n(t,e);return e.text=e.node=i.pre,i.bgClass&&(e.bgClass=i.bgClass),i.textClass&&(e.textClass=i.textClass),Bn(t,e),Wn(t,e,n,r),Vn(t,e,r),e.node}function Vn(t,e,n){if(qn(t,e.line,e,n,!0),e.rest)for(var r=0;r<e.rest.length;r++)qn(t,e.rest[r],e,n,!1)}function qn(t,e,n,r,i){if(e.widgets)for(var o=jn(n),a=0,s=e.widgets;a<s.length;++a){var l=s[a],c=M("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Un(l,c,n,r),t.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),Nn(l,"redraw")}}function Un(t,e,n,r){if(t.noHScroll){(n.alignable||(n.alignable=[])).push(e);var i=r.wrapperWidth;e.style.left=r.fixedPos+"px",t.coverGutter||(i-=r.gutterTotalWidth,e.style.paddingLeft=r.gutterTotalWidth+"px"),e.style.width=i+"px"}t.coverGutter&&(e.style.zIndex=5,e.style.position="relative",t.noHScroll||(e.style.marginLeft=-r.gutterTotalWidth+"px"))}function Gn(t){if(null!=t.height)return t.height;var e=t.doc.cm;if(!e)return 0;if(!P(document.body,t.node)){var n="position: relative;";t.coverGutter&&(n+="margin-left: -"+e.display.gutters.offsetWidth+"px;"),t.noHScroll&&(n+="width: "+e.display.wrapper.clientWidth+"px;"),L(e.display.measure,M("div",[t.node],null,n))}return t.height=t.node.parentNode.offsetHeight}function Xn(t,e){for(var n=Et(e);n!=t.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==t.sizer&&n!=t.mover)return!0}function Yn(t){return t.lineSpace.offsetTop}function Kn(t){return t.mover.offsetHeight-t.lineSpace.offsetHeight}function Qn(t){if(t.cachedPaddingH)return t.cachedPaddingH;var e=L(t.measure,M("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(t.cachedPaddingH=r),r}function Zn(t){return U-t.display.nativeBarWidth}function Jn(t){return t.display.scroller.clientWidth-Zn(t)-t.display.barWidth}function tr(t){return t.display.scroller.clientHeight-Zn(t)-t.display.barHeight}function er(t,e,n){var r=t.options.lineWrapping,i=r&&Jn(t);if(!e.measure.heights||r&&e.measure.width!=i){var o=e.measure.heights=[];if(r){e.measure.width=i;for(var a=e.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 nr(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};if(t.rest){for(var r=0;r<t.rest.length;r++)if(t.rest[r]==e)return{map:t.measure.maps[r],cache:t.measure.caches[r]};for(var i=0;i<t.rest.length;i++)if(oe(t.rest[i])>n)return{map:t.measure.maps[i],cache:t.measure.caches[i],before:!0}}}function rr(t,e){e=nn(e);var n=oe(e),r=t.display.externalMeasured=new kn(t.doc,e,n);r.lineN=n;var i=r.built=bn(t,r);return r.text=i.pre,L(t.display.lineMeasure,i.pre),r}function ir(t,e,n,r){return sr(t,ar(t,e),n,r)}function or(t,e){if(e>=t.display.viewFrom&&e<t.display.viewTo)return t.display.view[Br(t,e)];var n=t.display.externalMeasured;return n&&e>=n.lineN&&e<n.lineN+n.size?n:void 0}function ar(t,e){var n=oe(e),r=or(t,n);r&&!r.text?r=null:r&&r.changes&&(Dn(t,r,n,Dr(t)),t.curOp.forceUpdate=!0),r||(r=rr(t,e));var i=nr(r,e,n);return{line:e,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function sr(t,e,n,r,i){e.before&&(n=-1);var o,a=n+(r||"");return e.cache.hasOwnProperty(a)?o=e.cache[a]:(e.rect||(e.rect=e.view.text.getBoundingClientRect()),e.hasHeights||(er(t,e.view,e.rect),e.hasHeights=!0),o=dr(t,e,n,r),o.bogus||(e.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var lr,cr={left:0,right:0,top:0,bottom:0};function ur(t,e,n){for(var r,i,o,a,s,l,c=0;c<t.length;c+=3)if(s=t[c],l=t[c+1],e<s?(i=0,o=1,a="left"):e<l?(i=e-s,o=i+1):(c==t.length-3||e==l&&t[c+3]>e)&&(o=l-s,i=o-1,e>=l&&(a="right")),null!=i){if(r=t[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(c&&t[c-2]==t[c-3]&&t[c-1].insertLeft)r=t[2+(c-=3)],a="left";if("right"==n&&i==l-s)while(c<t.length-3&&t[c+3]==t[c+4]&&!t[c+5].insertLeft)r=t[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function fr(t,e){var n=cr;if("left"==e){for(var r=0;r<t.length;r++)if((n=t[r]).left!=n.right)break}else for(var i=t.length-1;i>=0;i--)if((n=t[i]).left!=n.right)break;return n}function dr(t,e,n,r){var i,o=ur(e.map,n,r),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){while(c&&ut(e.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u<o.coverEnd&&ut(e.line.text.charAt(o.coverStart+u)))++u;if(i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():fr(k(l,c,u).getClientRects(),r),i.left||i.right||0==c)break;u=c,c-=1,f="right"}a&&s<11&&(i=hr(t.display.measure,i))}else{var h;c>0&&(f=r="right"),i=t.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Ir(t.display),top:p.top,bottom:p.bottom}:cr}for(var v=i.top-e.rect.top,g=i.bottom-e.rect.top,m=(v+g)/2,y=e.view.measure.heights,b=0;b<y.length-1;b++)if(m<y[b])break;var w=b?y[b-1]:0,x=y[b],C={left:("right"==f?i.right:i.left)-e.rect.left,right:("left"==f?i.left:i.right)-e.rect.left,top:w,bottom:x};return i.left||i.right||(C.bogus=!0),t.options.singleCursorHeightPerLine||(C.rtop=v,C.rbottom=g),C}function hr(t,e){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ht(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*r,bottom:e.bottom*r}}function pr(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e<t.rest.length;e++)t.measure.caches[e]={}}function vr(t){t.display.externalMeasure=null,O(t.display.lineMeasure);for(var e=0;e<t.display.view.length;e++)pr(t.display.view[e])}function gr(t){vr(t),t.display.cachedCharWidth=t.display.cachedTextHeight=t.display.cachedPaddingH=null,t.options.lineWrapping||(t.display.maxLineChanged=!0),t.display.lineNumChars=null}function mr(t){return u&&m?-(t.body.getBoundingClientRect().left-parseInt(getComputedStyle(t.body).marginLeft)):t.defaultView.pageXOffset||(t.documentElement||t.body).scrollLeft}function yr(t){return u&&m?-(t.body.getBoundingClientRect().top-parseInt(getComputedStyle(t.body).marginTop)):t.defaultView.pageYOffset||(t.documentElement||t.body).scrollTop}function br(t){var e=nn(t),n=e.widgets,r=0;if(n)for(var i=0;i<n.length;++i)n[i].above&&(r+=Gn(n[i]));return r}function wr(t,e,n,r,i){if(!i){var o=br(e);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=un(e);if("local"==r?a+=Yn(t.display):a-=t.display.viewOffset,"page"==r||"window"==r){var s=t.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:yr(F(t)));var l=s.left+("window"==r?0:mr(F(t)));n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function xr(t,e,n){if("div"==n)return e;var r=e.left,i=e.top;if("page"==n)r-=mr(F(t)),i-=yr(F(t));else if("local"==n||!n){var o=t.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=t.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Cr(t,e,n,r,i){return r||(r=ee(t.doc,e.line)),wr(t,r,ir(t,r,e.ch,i),n)}function _r(t,e,n,r,i,o){function a(e,a){var s=sr(t,i,e,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,wr(t,r,s,n)}r=r||ee(t.doc,e.line),i||(i=ar(t,r));var s=mt(r,t.doc.direction),l=e.ch,c=e.sticky;if(l>=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(t,e,n){var r=s[e],i=1==r.level;return a(n?t-1:t,i!=n)}var f=vt(s,l,c),d=pt,h=u(l,f,"before"==c);return null!=d&&(h.other=u(l,d,"before"!=c)),h}function Sr(t,e){var n=0;e=ge(t.doc,e),t.options.lineWrapping||(n=Ir(t.display)*e.ch);var r=ee(t.doc,e.line),i=un(r)+Yn(t.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Ar(t,e,n,r,i){var o=ce(t,e,n);return o.xRel=i,r&&(o.outside=r),o}function kr(t,e,n){var r=t.doc;if(n+=t.display.viewOffset,n<0)return Ar(r.first,0,null,-1,-1);var i=ae(r,n),o=r.first+r.size-1;if(i>o)return Ar(r.first+r.size-1,ee(r,o).text.length,null,1,1);e<0&&(e=0);for(var a=ee(r,i);;){var s=Mr(t,a,i,e,n),l=tn(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=ee(r,i=c.line)}}function Tr(t,e,n,r){r-=br(e);var i=e.text.length,o=dt((function(e){return sr(t,n,e-1).bottom<=r}),i,0);return i=dt((function(e){return sr(t,n,e).top>r}),o,i),{begin:o,end:i}}function Or(t,e,n,r){n||(n=ar(t,e));var i=wr(t,e,sr(t,n,r),"line").top;return Tr(t,e,n,i)}function Lr(t,e,n,r){return!(t.bottom<=n)&&(t.top>n||(r?t.left:t.right)>e)}function Mr(t,e,n,r,i){i-=un(e);var o=ar(t,e),a=br(e),s=0,l=e.text.length,c=!0,u=mt(e,t.doc.direction);if(u){var f=(t.options.lineWrapping?Pr:Er)(t,e,n,o,u,r,i);c=1!=f.level,s=c?f.from:f.to-1,l=c?f.to:f.from-1}var d,h,p=null,v=null,g=dt((function(e){var n=sr(t,o,e);return n.top+=a,n.bottom+=a,!!Lr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=e,v=n),!0)}),s,l),m=!1;if(v){var y=r-v.left<v.right-r,b=y==c;g=p+(b?0:1),h=b?"after":"before",d=y?v.left:v.right}else{c||g!=l&&g!=s||g++,h=0==g?"after":g==e.text.length?"before":sr(t,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var w=_r(t,ce(n,g,h),"line",e,o);d=w.left,m=i<w.top?-1:i>=w.bottom?1:0}return g=ft(e.text,g,1),Ar(n,g,h,m,r-d)}function Er(t,e,n,r,i,o,a){var s=dt((function(s){var l=i[s],c=1!=l.level;return Lr(_r(t,ce(n,c?l.to:l.from,c?"before":"after"),"line",e,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=_r(t,ce(n,c?l.from:l.to,c?"after":"before"),"line",e,r);Lr(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Pr(t,e,n,r,i,o,a){var s=Tr(t,e,r,a),l=s.begin,c=s.end;/\s/.test(e.text.charAt(c-1))&&c--;for(var u=null,f=null,d=0;d<i.length;d++){var h=i[d];if(!(h.from>=c||h.to<=l)){var p=1!=h.level,v=sr(t,r,p?Math.min(c,h.to)-1:Math.max(l,h.from)).right,g=v<o?o-v+1e9:v-o;(!u||f>g)&&(u=h,f=g)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function Nr(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==lr){lr=M("pre",null,"CodeMirror-line-like");for(var e=0;e<49;++e)lr.appendChild(document.createTextNode("x")),lr.appendChild(M("br"));lr.appendChild(document.createTextNode("x"))}L(t.measure,lr);var n=lr.offsetHeight/50;return n>3&&(t.cachedTextHeight=n),O(t.measure),n||1}function Ir(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=M("span","xxxxxxxxxx"),n=M("pre",[e],"CodeMirror-line-like");L(t.measure,n);var r=e.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(t.cachedCharWidth=i),i||10}function Dr(t){for(var e=t.display,n={},r={},i=e.gutters.clientLeft,o=e.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=t.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:jr(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function jr(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function Fr(t){var e=Nr(t.display),n=t.options.lineWrapping,r=n&&Math.max(5,t.display.scroller.clientWidth/Ir(t.display)-3);return function(i){if(ln(t.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)*e:o+e}}function $r(t){var e=t.doc,n=Fr(t);e.iter((function(t){var e=n(t);e!=t.height&&ie(t,e)}))}function Rr(t,e,n,r){var i=t.display;if(!n&&"true"==Et(e).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=e.clientX-s.left,a=e.clientY-s.top}catch(f){return null}var l,c=kr(t,o,a);if(r&&c.xRel>0&&(l=ee(t.doc,c.line).text).length==c.ch){var u=z(l,l.length,t.options.tabSize)-l.length;c=ce(c.line,Math.max(0,Math.round((o-Qn(t.display).left)/Ir(t.display))-u))}return c}function Br(t,e){if(e>=t.display.viewTo)return null;if(e-=t.display.viewFrom,e<0)return null;for(var n=t.display.view,r=0;r<n.length;r++)if(e-=n[r].size,e<0)return r}function Wr(t,e,n,r){null==e&&(e=t.doc.first),null==n&&(n=t.doc.first+t.doc.size),r||(r=0);var i=t.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>e)&&(i.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=i.viewTo)Ie&&an(t.doc,e)<i.viewTo&&zr(t);else if(n<=i.viewFrom)Ie&&sn(t.doc,n+r)>i.viewFrom?zr(t):(i.viewFrom+=r,i.viewTo+=r);else if(e<=i.viewFrom&&n>=i.viewTo)zr(t);else if(e<=i.viewFrom){var o=Vr(t,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):zr(t)}else if(n>=i.viewTo){var a=Vr(t,e,e,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):zr(t)}else{var s=Vr(t,e,e,-1),l=Vr(t,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(Tn(t,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):zr(t)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:e<c.lineN+c.size&&(i.externalMeasured=null))}function Hr(t,e,n){t.curOp.viewChanged=!0;var r=t.display,i=t.display.externalMeasured;if(i&&e>=i.lineN&&e<i.lineN+i.size&&(r.externalMeasured=null),!(e<r.viewFrom||e>=r.viewTo)){var o=r.view[Br(t,e)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==q(a,n)&&a.push(n)}}}function zr(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function Vr(t,e,n,r){var i,o=Br(t,e),a=t.display.view;if(!Ie||n==t.doc.first+t.doc.size)return{index:o,lineN:n};for(var s=t.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=e){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-e,o++}else i=s-e;e+=i,n+=i}while(an(t.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 qr(t,e,n){var r=t.display,i=r.view;0==i.length||e>=r.viewTo||n<=r.viewFrom?(r.view=Tn(t,e,n),r.viewFrom=e):(r.viewFrom>e?r.view=Tn(t,e,r.viewFrom).concat(r.view):r.viewFrom<e&&(r.view=r.view.slice(Br(t,e))),r.viewFrom=e,r.viewTo<n?r.view=r.view.concat(Tn(t,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Br(t,n)))),r.viewTo=n}function Ur(t){for(var e=t.display.view,n=0,r=0;r<e.length;r++){var i=e[r];i.hidden||i.node&&!i.changes||++n}return n}function Gr(t){t.display.input.showSelection(t.display.input.prepareSelection())}function Xr(t,e){void 0===e&&(e=!0);var n=t.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=t.options.$customCursor;a&&(e=!0);for(var s=0;s<n.sel.ranges.length;s++)if(e||s!=n.sel.primIndex){var l=n.sel.ranges[s];if(!(l.from().line>=t.display.viewTo||l.to().line<t.display.viewFrom)){var c=l.empty();if(a){var u=a(t,l);u&&Yr(t,u,i)}else(c||t.options.showCursorWhenSelecting)&&Yr(t,l.head,i);c||Qr(t,l,o)}}return r}function Yr(t,e,n){var r=_r(t,e,"div",null,null,!t.options.singleCursorHeightPerLine),i=n.appendChild(M("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*t.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(t.getWrapperElement().className)){var o=Cr(t,e,"div",null,null),a=o.right-o.left;i.style.width=(a>0?a:t.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(M("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Kr(t,e){return t.top-e.top||t.left-e.left}function Qr(t,e,n){var r=t.display,i=t.doc,o=document.createDocumentFragment(),a=Qn(t.display),s=a.left,l=Math.max(r.sizerWidth,Jn(t)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(t,e,n,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),o.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?l-t:n)+"px;\n height: "+(r-e)+"px"))}function f(e,n,r){var o,a,f=ee(i,e),d=f.text.length;function h(n,r){return Cr(t,ce(e,n),"div",f,r)}function p(e,n,r){var i=Or(t,f,null,e),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(f.text.charAt(i.end-1))?2:1);return h(a,o)[o]}var v=mt(f,i.direction);return ht(v,n||0,null==r?d:r,(function(t,e,i,f){var g="ltr"==i,m=h(t,g?"left":"right"),y=h(e-1,g?"right":"left"),b=null==n&&0==t,w=null==r&&e==d,x=0==f,C=!v||f==v.length-1;if(y.top-m.top<=3){var _=(c?b:w)&&x,S=(c?w:b)&&C,A=_?s:(g?m:y).left,k=S?l:(g?y:m).right;u(A,m.top,k-A,m.bottom)}else{var T,O,L,M;g?(T=c&&b&&x?s:m.left,O=c?l:p(t,i,"before"),L=c?s:p(e,i,"after"),M=c&&w&&C?l:y.right):(T=c?p(t,i,"before"):s,O=!c&&b&&x?l:m.right,L=!c&&w&&C?s:y.left,M=c?p(e,i,"after"):l),u(T,m.top,O-T,m.bottom),m.bottom<y.top&&u(s,m.bottom,null,y.top),u(L,y.top,M-L,y.bottom)}(!o||Kr(m,o)<0)&&(o=m),Kr(y,o)<0&&(o=y),(!a||Kr(m,a)<0)&&(a=m),Kr(y,a)<0&&(a=y)})),{start:o,end:a}}var d=e.from(),h=e.to();if(d.line==h.line)f(d.line,d.ch,h.ch);else{var p=ee(i,d.line),v=ee(i,h.line),g=nn(p)==nn(v),m=f(d.line,d.ch,g?p.text.length+1:null).end,y=f(h.line,g?0:null,h.ch).start;g&&(m.top<y.top-2?(u(m.right,m.top,null,m.bottom),u(s,y.top,y.left,y.bottom)):u(m.right,m.top,y.left-m.right,m.bottom)),m.bottom<y.top&&u(s,m.bottom,null,y.top)}n.appendChild(o)}function Zr(t){if(t.state.focused){var e=t.display;clearInterval(e.blinker);var n=!0;e.cursorDiv.style.visibility="",t.options.cursorBlinkRate>0?e.blinker=setInterval((function(){t.hasFocus()||ni(t),e.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function Jr(t){t.hasFocus()||(t.display.input.focus(),t.state.focused||ei(t))}function ti(t){t.state.delayingBlurEvent=!0,setTimeout((function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,t.state.focused&&ni(t))}),100)}function ei(t,e){t.state.delayingBlurEvent&&!t.state.draggingText&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(Ct(t,"focus",t,e),t.state.focused=!0,I(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),l&&setTimeout((function(){return t.display.input.reset(!0)}),20)),t.display.input.receivedFocus()),Zr(t))}function ni(t,e){t.state.delayingBlurEvent||(t.state.focused&&(Ct(t,"blur",t,e),t.state.focused=!1,T(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout((function(){t.state.focused||(t.display.shift=!1)}),150))}function ri(t){for(var e=t.display,n=e.lineDiv.offsetTop,r=Math.max(0,e.scroller.getBoundingClientRect().top),i=e.lineDiv.getBoundingClientRect().top,o=0,l=0;l<e.view.length;l++){var c=e.view[l],u=t.options.lineWrapping,f=void 0,d=0;if(!c.hidden){if(i+=c.line.height,a&&s<8){var h=c.node.offsetTop+c.node.offsetHeight;f=h-n,n=h}else{var p=c.node.getBoundingClientRect();f=p.bottom-p.top,!u&&c.text.firstChild&&(d=c.text.firstChild.getBoundingClientRect().right-p.left-1)}var v=c.line.height-f;if((v>.005||v<-.005)&&(i<r&&(o-=v),ie(c.line,f),ii(c.line),c.rest))for(var g=0;g<c.rest.length;g++)ii(c.rest[g]);if(d>t.display.sizerWidth){var m=Math.ceil(d/Ir(t.display));m>t.display.maxLineLength&&(t.display.maxLineLength=m,t.display.maxLine=c.line,t.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(e.scroller.scrollTop+=o)}function ii(t){if(t.widgets)for(var e=0;e<t.widgets.length;++e){var n=t.widgets[e],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function oi(t,e,n){var r=n&&null!=n.top?Math.max(0,n.top):t.scroller.scrollTop;r=Math.floor(r-Yn(t));var i=n&&null!=n.bottom?n.bottom:r+t.wrapper.clientHeight,o=ae(e,r),a=ae(e,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=ae(e,un(ee(e,s))+t.wrapper.clientHeight)):Math.min(l,e.lastLine())>=a&&(o=ae(e,un(ee(e,l))-t.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ai(t,e){if(!_t(t,"scrollCursorIntoView")){var n=t.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(e.top+r.top<0?i=!0:e.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),null!=i&&!v){var a=M("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Yn(t.display))+"px;\n height: "+(e.bottom-e.top+Zn(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(a),a.scrollIntoView(i),t.display.lineSpace.removeChild(a)}}}function si(t,e,n,r){var i;null==r&&(r=0),t.options.lineWrapping||e!=n||(n="before"==e.sticky?ce(e.line,e.ch+1,"before"):e,e=e.ch?ce(e.line,"before"==e.sticky?e.ch-1:e.ch,"after"):e);for(var o=0;o<5;o++){var a=!1,s=_r(t,e),l=n&&n!=e?_r(t,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=ci(t,i),u=t.doc.scrollTop,f=t.doc.scrollLeft;if(null!=c.scrollTop&&(gi(t,c.scrollTop),Math.abs(t.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(yi(t,c.scrollLeft),Math.abs(t.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function li(t,e){var n=ci(t,e);null!=n.scrollTop&&gi(t,n.scrollTop),null!=n.scrollLeft&&yi(t,n.scrollLeft)}function ci(t,e){var n=t.display,r=Nr(t.display);e.top<0&&(e.top=0);var i=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,o=tr(t),a={};e.bottom-e.top>o&&(e.bottom=e.top+o);var s=t.doc.height+Kn(n),l=e.top<r,c=e.bottom>s-r;if(e.top<i)a.scrollTop=l?0:e.top;else if(e.bottom>i+o){var u=Math.min(e.top,(c?s:e.bottom)-o);u!=i&&(a.scrollTop=u)}var f=t.options.fixedGutter?0:n.gutters.offsetWidth,d=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft-f,h=Jn(t)-n.gutters.offsetWidth,p=e.right-e.left>h;return p&&(e.right=e.left+h),e.left<10?a.scrollLeft=0:e.left<d?a.scrollLeft=Math.max(0,e.left+f-(p?0:10)):e.right>h+d-3&&(a.scrollLeft=e.right+(p?0:10)-h),a}function ui(t,e){null!=e&&(pi(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function fi(t){pi(t);var e=t.getCursor();t.curOp.scrollToPos={from:e,to:e,margin:t.options.cursorScrollMargin}}function di(t,e,n){null==e&&null==n||pi(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function hi(t,e){pi(t),t.curOp.scrollToPos=e}function pi(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;var n=Sr(t,e.from),r=Sr(t,e.to);vi(t,n,r,e.margin)}}function vi(t,e,n,r){var i=ci(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-r,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+r});di(t,i.scrollLeft,i.scrollTop)}function gi(t,e){Math.abs(t.doc.scrollTop-e)<2||(n||Gi(t,{top:e}),mi(t,e,!0),n&&Gi(t),Ri(t,100))}function mi(t,e,n){e=Math.max(0,Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e)),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function yi(t,e,n,r){e=Math.max(0,Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth)),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,Qi(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function bi(t){var e=t.display,n=e.gutters.offsetWidth,r=Math.round(t.doc.height+Kn(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Zn(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}var wi=function(t,e,n){this.cm=n;var r=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,t(r),t(i),bt(r,"scroll",(function(){r.clientHeight&&e(r.scrollTop,"vertical")})),bt(i,"scroll",(function(){i.clientWidth&&e(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};wi.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var i=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var o=t.viewWidth-t.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:e?r:0}},wi.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},wi.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},wi.prototype.zeroWidthHack=function(){var t=b&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new V,this.disableVert=new V},wi.prototype.enableZeroWidthBar=function(t,e,n){function r(){var i=t.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=t?t.style.visibility="hidden":e.set(1e3,r)}t.style.visibility="",e.set(1e3,r)},wi.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var xi=function(){};function Ci(t,e){e||(e=bi(t));var n=t.display.barWidth,r=t.display.barHeight;_i(t,e);for(var i=0;i<4&&n!=t.display.barWidth||r!=t.display.barHeight;i++)n!=t.display.barWidth&&t.options.lineWrapping&&ri(t),_i(t,bi(t)),n=t.display.barWidth,r=t.display.barHeight}function _i(t,e){var n=t.display,r=n.scrollbars.update(e);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&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}xi.prototype.update=function(){return{bottom:0,right:0}},xi.prototype.setScrollLeft=function(){},xi.prototype.setScrollTop=function(){},xi.prototype.clear=function(){};var Si={native:wi,null:xi};function Ai(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&T(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new Si[t.options.scrollbarStyle]((function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),bt(e,"mousedown",(function(){t.state.focused&&setTimeout((function(){return t.display.input.focus()}),0)})),e.setAttribute("cm-not-content","true")}),(function(e,n){"horizontal"==n?yi(t,e):gi(t,e)}),t),t.display.scrollbars.addClass&&I(t.display.wrapper,t.display.scrollbars.addClass)}var ki=0;function Ti(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ki,markArrays:null},Ln(t.curOp)}function Oi(t){var e=t.curOp;e&&En(e,(function(t){for(var e=0;e<t.ops.length;e++)t.ops[e].cm.curOp=null;Li(t)}))}function Li(t){for(var e=t.ops,n=0;n<e.length;n++)Mi(e[n]);for(var r=0;r<e.length;r++)Ei(e[r]);for(var i=0;i<e.length;i++)Pi(e[i]);for(var o=0;o<e.length;o++)Ni(e[o]);for(var a=0;a<e.length;a++)Ii(e[a])}function Mi(t){var e=t.cm,n=e.display;Hi(e),t.updateMaxLine&&dn(e),t.mustUpdate=t.viewChanged||t.forceUpdate||null!=t.scrollTop||t.scrollToPos&&(t.scrollToPos.from.line<n.viewFrom||t.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new Wi(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function Ei(t){t.updatedDisplay=t.mustUpdate&&qi(t.cm,t.update)}function Pi(t){var e=t.cm,n=e.display;t.updatedDisplay&&ri(e),t.barMeasure=bi(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=ir(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+Zn(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Jn(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection())}function Ni(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft<e.doc.scrollLeft&&yi(e,Math.min(e.display.scroller.scrollLeft,t.maxScrollLeft),!0),e.display.maxLineChanged=!1);var n=t.focus&&t.focus==N($(e));t.preparedSelection&&e.display.input.showSelection(t.preparedSelection,n),(t.updatedDisplay||t.startHeight!=e.doc.height)&&Ci(e,t.barMeasure),t.updatedDisplay&&Ki(e,t.barMeasure),t.selectionChanged&&Zr(e),e.state.focused&&t.updateInput&&e.display.input.reset(t.typing),n&&Jr(t.cm)}function Ii(t){var e=t.cm,n=e.display,r=e.doc;if(t.updatedDisplay&&Ui(e,t.update),null==n.wheelStartX||null==t.scrollTop&&null==t.scrollLeft&&!t.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=t.scrollTop&&mi(e,t.scrollTop,t.forceScroll),null!=t.scrollLeft&&yi(e,t.scrollLeft,!0,!0),t.scrollToPos){var i=si(e,ge(r,t.scrollToPos.from),ge(r,t.scrollToPos.to),t.scrollToPos.margin);ai(e,i)}var o=t.maybeHiddenMarkers,a=t.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||Ct(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&Ct(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=e.display.scroller.scrollTop),t.changeObjs&&Ct(e,"changes",e,t.changeObjs),t.update&&t.update.finish()}function Di(t,e){if(t.curOp)return e();Ti(t);try{return e()}finally{Oi(t)}}function ji(t,e){return function(){if(t.curOp)return e.apply(t,arguments);Ti(t);try{return e.apply(t,arguments)}finally{Oi(t)}}}function Fi(t){return function(){if(this.curOp)return t.apply(this,arguments);Ti(this);try{return t.apply(this,arguments)}finally{Oi(this)}}}function $i(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);Ti(e);try{return t.apply(this,arguments)}finally{Oi(e)}}}function Ri(t,e){t.doc.highlightFrontier<t.display.viewTo&&t.state.highlight.set(e,W(Bi,t))}function Bi(t){var e=t.doc;if(!(e.highlightFrontier>=t.display.viewTo)){var n=+new Date+t.options.workTime,r=_e(t,e.highlightFrontier),i=[];e.iter(r.line,Math.min(e.first+e.size,t.display.viewTo+500),(function(o){if(r.line>=t.display.viewFrom){var a=o.styles,s=o.text.length>t.options.maxHighlightLength?Qt(e.mode,r.state):null,l=xe(t,o,r,!0);s&&(r.state=s),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(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=t.options.maxHighlightLength&&Se(t,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return Ri(t,t.options.workDelay),!0})),e.highlightFrontier=r.line,e.modeFrontier=Math.max(e.modeFrontier,r.line),i.length&&Di(t,(function(){for(var e=0;e<i.length;e++)Hr(t,i[e],"text")}))}}var Wi=function(t,e,n){var r=t.display;this.viewport=e,this.visible=oi(r,t.doc,e),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Jn(t),this.force=n,this.dims=Dr(t),this.events=[]};function Hi(t){var e=t.display;!e.scrollbarsClipped&&e.scroller.offsetWidth&&(e.nativeBarWidth=e.scroller.offsetWidth-e.scroller.clientWidth,e.heightForcer.style.height=Zn(t)+"px",e.sizer.style.marginBottom=-e.nativeBarWidth+"px",e.sizer.style.borderRightWidth=Zn(t)+"px",e.scrollbarsClipped=!0)}function zi(t){if(t.hasFocus())return null;var e=N($(t));if(!e||!P(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var r=B(t).getSelection();r.anchorNode&&r.extend&&P(t.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Vi(t){if(t&&t.activeElt&&t.activeElt!=N(R(t.activeElt))&&(t.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(t.activeElt.nodeName)&&t.anchorNode&&P(document.body,t.anchorNode)&&P(document.body,t.focusNode))){var e=t.activeElt.ownerDocument,n=e.defaultView.getSelection(),r=e.createRange();r.setEnd(t.anchorNode,t.anchorOffset),r.collapse(!1),n.removeAllRanges(),n.addRange(r),n.extend(t.focusNode,t.focusOffset)}}function qi(t,e){var n=t.display,r=t.doc;if(e.editorIsHidden)return zr(t),!1;if(!e.force&&e.visible.from>=n.viewFrom&&e.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Ur(t))return!1;Zi(t)&&(zr(t),e.dims=Dr(t));var i=r.first+r.size,o=Math.max(e.visible.from-t.options.viewportMargin,r.first),a=Math.min(i,e.visible.to+t.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ie&&(o=an(t.doc,o),a=sn(t.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=e.wrapperHeight||n.lastWrapWidth!=e.wrapperWidth;qr(t,o,a),n.viewOffset=un(ee(t.doc,n.viewFrom)),t.display.mover.style.top=n.viewOffset+"px";var l=Ur(t);if(!s&&0==l&&!e.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=zi(t);return l>4&&(n.lineDiv.style.display="none"),Xi(t,n.updateLineNumbers,e.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Vi(c),O(n.cursorDiv),O(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=e.wrapperHeight,n.lastWrapWidth=e.wrapperWidth,Ri(t,400)),n.updateLineNumbers=null,!0}function Ui(t,e){for(var n=e.viewport,r=!0;;r=!1){if(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Jn(t))r&&(e.visible=oi(t.display,t.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(t.doc.height+Kn(t.display)-tr(t),n.top)}),e.visible=oi(t.display,t.doc,n),e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)break;if(!qi(t,e))break;ri(t);var i=bi(t);Gr(t),Ci(t,i),Ki(t,i),e.force=!1}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function Gi(t,e){var n=new Wi(t,e);if(qi(t,n)){ri(t),Ui(t,n);var r=bi(t);Gr(t),Ci(t,r),Ki(t,r),n.finish()}}function Xi(t,e,n){var r=t.display,i=t.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(e){var n=e.nextSibling;return l&&b&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var c=r.view,u=r.viewFrom,f=0;f<c.length;f++){var d=c[f];if(d.hidden);else if(d.node&&d.node.parentNode==o){while(a!=d.node)a=s(a);var h=i&&null!=e&&e<=u&&d.lineNumber;d.changes&&(q(d.changes,"gutter")>-1&&(h=!1),Dn(t,d,u,n)),h&&(O(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(le(t.options,u)))),a=d.node.nextSibling}else{var p=zn(t,d,u,n);o.insertBefore(p,a)}u+=d.size}while(a)a=s(a)}function Yi(t){var e=t.gutters.offsetWidth;t.sizer.style.marginLeft=e+"px",Nn(t,"gutterChanged",t)}function Ki(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+Zn(t)+"px"}function Qi(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=jr(e)-e.scroller.scrollLeft+t.doc.scrollLeft,i=e.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){t.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}t.options.fixedGutter&&(e.gutters.style.left=r+i+"px")}}function Zi(t){if(!t.options.lineNumbers)return!1;var e=t.doc,n=le(t.options,e.first+e.size-1),r=t.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(M("div",[M("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Yi(t.display),!0}return!1}function Ji(t,e){for(var n=[],r=!1,i=0;i<t.length;i++){var o=t[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!e)continue;r=!0}n.push({className:o,style:a})}return e&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function to(t){var e=t.gutters,n=t.gutterSpecs;O(e),t.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=e.appendChild(M("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(t.lineGutter=s,s.style.width=(t.lineNumWidth||1)+"px")}e.style.display=n.length?"":"none",Yi(t)}function eo(t){to(t.display),Wr(t),Qi(t)}function no(t,e,r,i){var o=this;this.input=r,o.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=E("div",null,"CodeMirror-code"),o.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=M("div",null,"CodeMirror-cursors"),o.measure=M("div",null,"CodeMirror-measure"),o.lineMeasure=M("div",null,"CodeMirror-measure"),o.lineSpace=E("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=E("div",[o.lineSpace],"CodeMirror-lines");o.mover=M("div",[c],null,"position: relative"),o.sizer=M("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=M("div",null,null,"position: absolute; height: "+U+"px; width: 1px;"),o.gutters=M("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=M("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=M("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),u&&f>=105&&(o.wrapper.style.clipPath="inset(0px)"),o.wrapper.setAttribute("translate","no"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&y||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.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,o.gutterSpecs=Ji(i.gutters,i.lineNumbers),to(o),r.init(o)}Wi.prototype.signal=function(t,e){At(t,e)&&this.events.push(arguments)},Wi.prototype.finish=function(){for(var t=0;t<this.events.length;t++)Ct.apply(null,this.events[t])};var ro=0,io=null;function oo(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function ao(t){var e=oo(t);return e.x*=io,e.y*=io,e}function so(t,e){u&&102==f&&(null==t.display.chromeScrollHack?t.display.sizer.style.pointerEvents="none":clearTimeout(t.display.chromeScrollHack),t.display.chromeScrollHack=setTimeout((function(){t.display.chromeScrollHack=null,t.display.sizer.style.pointerEvents=""}),100));var r=oo(e),i=r.x,o=r.y,a=io;0===e.deltaMode&&(i=e.deltaX,o=e.deltaY,a=1);var s=t.display,c=s.scroller,h=c.scrollWidth>c.clientWidth,p=c.scrollHeight>c.clientHeight;if(i&&h||o&&p){if(o&&b&&l)t:for(var v=e.target,g=s.view;v!=c;v=v.parentNode)for(var m=0;m<g.length;m++)if(g[m].node==v){t.display.currentWheelTarget=v;break t}if(i&&!n&&!d&&null!=a)return o&&p&&gi(t,Math.max(0,c.scrollTop+o*a)),yi(t,Math.max(0,c.scrollLeft+i*a)),(!o||o&&p)&&Tt(e),void(s.wheelStartX=null);if(o&&null!=a){var y=o*a,w=t.doc.scrollTop,x=w+s.wrapper.clientHeight;y<0?w=Math.max(0,w+y-50):x=Math.min(t.doc.height,x+y+50),Gi(t,{top:w,bottom:x})}ro<20&&0!==e.deltaMode&&(null==s.wheelStartX?(s.wheelStartX=c.scrollLeft,s.wheelStartY=c.scrollTop,s.wheelDX=i,s.wheelDY=o,setTimeout((function(){if(null!=s.wheelStartX){var t=c.scrollLeft-s.wheelStartX,e=c.scrollTop-s.wheelStartY,n=e&&s.wheelDY&&e/s.wheelDY||t&&s.wheelDX&&t/s.wheelDX;s.wheelStartX=s.wheelStartY=null,n&&(io=(io*ro+n)/(ro+1),++ro)}}),200)):(s.wheelDX+=i,s.wheelDY+=o))}}a?io=-.53:n?io=15:u?io=-.7:h&&(io=-1/3);var lo=function(t,e){this.ranges=t,this.primIndex=e};lo.prototype.primary=function(){return this.ranges[this.primIndex]},lo.prototype.equals=function(t){if(t==this)return!0;if(t.primIndex!=this.primIndex||t.ranges.length!=this.ranges.length)return!1;for(var e=0;e<this.ranges.length;e++){var n=this.ranges[e],r=t.ranges[e];if(!fe(n.anchor,r.anchor)||!fe(n.head,r.head))return!1}return!0},lo.prototype.deepCopy=function(){for(var t=[],e=0;e<this.ranges.length;e++)t[e]=new co(de(this.ranges[e].anchor),de(this.ranges[e].head));return new lo(t,this.primIndex)},lo.prototype.somethingSelected=function(){for(var t=0;t<this.ranges.length;t++)if(!this.ranges[t].empty())return!0;return!1},lo.prototype.contains=function(t,e){e||(e=t);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(ue(e,r.from())>=0&&ue(t,r.to())<=0)return n}return-1};var co=function(t,e){this.anchor=t,this.head=e};function uo(t,e,n){var r=t&&t.options.selectionsMayTouch,i=e[n];e.sort((function(t,e){return ue(t.from(),e.from())})),n=q(e,i);for(var o=1;o<e.length;o++){var a=e[o],s=e[o-1],l=ue(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=pe(s.from(),a.from()),u=he(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,e.splice(--o,2,new co(f?u:c,f?c:u))}}return new lo(e,n)}function fo(t,e){return new lo([new co(t,e||t)],0)}function ho(t){return t.text?ce(t.from.line+t.text.length-1,tt(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function po(t,e){if(ue(t,e.from)<0)return t;if(ue(t,e.to)<=0)return ho(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=ho(e).ch-e.to.ch),ce(n,r)}function vo(t,e){for(var n=[],r=0;r<t.sel.ranges.length;r++){var i=t.sel.ranges[r];n.push(new co(po(i.anchor,e),po(i.head,e)))}return uo(t.cm,n,t.sel.primIndex)}function go(t,e,n){return t.line==e.line?ce(n.line,t.ch-e.ch+n.ch):ce(n.line+(t.line-e.line),t.ch)}function mo(t,e,n){for(var r=[],i=ce(t.first,0),o=i,a=0;a<e.length;a++){var s=e[a],l=go(s.from,i,o),c=go(ho(s),i,o);if(i=s.to,o=c,"around"==n){var u=t.sel.ranges[a],f=ue(u.head,u.anchor)<0;r[a]=new co(f?c:l,f?l:c)}else r[a]=new co(l,l)}return new lo(r,t.sel.primIndex)}function yo(t){t.doc.mode=Xt(t.options,t.doc.modeOption),bo(t)}function bo(t){t.doc.iter((function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)})),t.doc.modeFrontier=t.doc.highlightFrontier=t.doc.first,Ri(t,100),t.state.modeGen++,t.curOp&&Wr(t)}function wo(t,e){return 0==e.from.ch&&0==e.to.ch&&""==tt(e.text)&&(!t.cm||t.cm.options.wholeLineUpdateBefore)}function xo(t,e,n,r){function i(t){return n?n[t]:null}function o(t,n,i){pn(t,n,i,r),Nn(t,"change",t,e)}function a(t,e){for(var n=[],o=t;o<e;++o)n.push(new hn(c[o],i(o),r));return n}var s=e.from,l=e.to,c=e.text,u=ee(t,s.line),f=ee(t,l.line),d=tt(c),h=i(c.length-1),p=l.line-s.line;if(e.full)t.insert(0,a(0,c.length)),t.remove(c.length,t.size-c.length);else if(wo(t,e)){var v=a(0,c.length-1);o(f,f.text,h),p&&t.remove(s.line,p),v.length&&t.insert(s.line,v)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+d+u.text.slice(l.ch),h);else{var g=a(1,c.length-1);g.push(new hn(d+u.text.slice(l.ch),h,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),t.insert(s.line+1,g)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),t.remove(s.line+1,p);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,d+f.text.slice(l.ch),h);var m=a(1,c.length-1);p>1&&t.remove(s.line+1,p-1),t.insert(s.line+1,m)}Nn(t,"change",t,e)}function Co(t,e,n){function r(t,i,o){if(t.linked)for(var a=0;a<t.linked.length;++a){var s=t.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(e(s.doc,l),r(s.doc,t,l))}}}r(t,null,!0)}function _o(t,e){if(e.cm)throw new Error("This document is already in use.");t.doc=e,e.cm=t,$r(t),yo(t),So(t),t.options.direction=e.direction,t.options.lineWrapping||dn(t),t.options.mode=e.modeOption,Wr(t)}function So(t){("rtl"==t.doc.direction?I:T)(t.display.lineDiv,"CodeMirror-rtl")}function Ao(t){Di(t,(function(){So(t),Wr(t)}))}function ko(t){this.done=[],this.undone=[],this.undoDepth=t?t.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=t?t.maxGeneration:1}function To(t,e){var n={from:de(e.from),to:ho(e),text:ne(t,e.from,e.to)};return Io(t,n,e.from.line,e.to.line+1),Co(t,(function(t){return Io(t,n,e.from.line,e.to.line+1)}),!0),n}function Oo(t){while(t.length){var e=tt(t);if(!e.ranges)break;t.pop()}}function Lo(t,e){return e?(Oo(t.done),tt(t.done)):t.done.length&&!tt(t.done).ranges?tt(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),tt(t.done)):void 0}function Mo(t,e,n,r){var i=t.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&i.lastModTime>s-(t.cm?t.cm.options.historyEventDelay:500)||"*"==e.origin.charAt(0)))&&(o=Lo(i,i.lastOp==r)))a=tt(o.changes),0==ue(e.from,e.to)&&0==ue(e.from,a.to)?a.to=ho(e):o.changes.push(To(t,e));else{var l=tt(i.done);l&&l.ranges||No(t.sel,i.done),o={changes:[To(t,e)],generation:i.generation},i.done.push(o);while(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=e.origin,a||Ct(t,"historyAdded")}function Eo(t,e,n,r){var i=e.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function Po(t,e,n,r){var i=t.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Eo(t,o,tt(i.done),e))?i.done[i.done.length-1]=e:No(e,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Oo(i.undone)}function No(t,e){var n=tt(e);n&&n.ranges&&n.equals(t)||e.push(t)}function Io(t,e,n,r){var i=e["spans_"+t.id],o=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,r),(function(n){n.markedSpans&&((i||(i=e["spans_"+t.id]={}))[o]=n.markedSpans),++o}))}function Do(t){if(!t)return null;for(var e,n=0;n<t.length;++n)t[n].marker.explicitlyCleared?e||(e=t.slice(0,n)):e&&e.push(t[n]);return e?e.length?e:null:t}function jo(t,e){var n=e["spans_"+t.id];if(!n)return null;for(var r=[],i=0;i<e.text.length;++i)r.push(Do(n[i]));return r}function Fo(t,e){var n=jo(t,e),r=ze(t,e);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)t: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 t;o.push(l)}else a&&(n[i]=a)}return n}function $o(t,e,n){for(var r=[],i=0;i<t.length;++i){var o=t[i];if(o.ranges)r.push(n?lo.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}),e)for(var f in c)(u=f.match(/^spans_(\d+)$/))&&q(e,Number(u[1]))>-1&&(tt(s)[f]=c[f],delete c[f])}}}return r}function Ro(t,e,n,r){if(r){var i=t.anchor;if(n){var o=ue(e,i)<0;o!=ue(n,i)<0?(i=e,e=n):o!=ue(e,n)<0&&(e=n)}return new co(i,e)}return new co(n||e,e)}function Bo(t,e,n,r,i){null==i&&(i=t.cm&&(t.cm.display.shift||t.extend)),Uo(t,new lo([Ro(t.sel.primary(),e,n,i)],0),r)}function Wo(t,e,n){for(var r=[],i=t.cm&&(t.cm.display.shift||t.extend),o=0;o<t.sel.ranges.length;o++)r[o]=Ro(t.sel.ranges[o],e[o],null,i);var a=uo(t.cm,r,t.sel.primIndex);Uo(t,a,n)}function Ho(t,e,n,r){var i=t.sel.ranges.slice(0);i[e]=n,Uo(t,uo(t.cm,i,t.sel.primIndex),r)}function zo(t,e,n,r){Uo(t,fo(e,n),r)}function Vo(t,e,n){var r={ranges:e.ranges,update:function(e){this.ranges=[];for(var n=0;n<e.length;n++)this.ranges[n]=new co(ge(t,e[n].anchor),ge(t,e[n].head))},origin:n&&n.origin};return Ct(t,"beforeSelectionChange",t,r),t.cm&&Ct(t.cm,"beforeSelectionChange",t.cm,r),r.ranges!=e.ranges?uo(t.cm,r.ranges,r.ranges.length-1):e}function qo(t,e,n){var r=t.history.done,i=tt(r);i&&i.ranges?(r[r.length-1]=e,Go(t,e,n)):Uo(t,e,n)}function Uo(t,e,n){Go(t,e,n),Po(t,t.sel,t.cm?t.cm.curOp.id:NaN,n)}function Go(t,e,n){(At(t,"beforeSelectionChange")||t.cm&&At(t.cm,"beforeSelectionChange"))&&(e=Vo(t,e,n));var r=n&&n.bias||(ue(e.primary().head,t.sel.primary().head)<0?-1:1);Xo(t,Ko(t,e,r,!0)),n&&!1===n.scroll||!t.cm||"nocursor"==t.cm.getOption("readOnly")||fi(t.cm)}function Xo(t,e){e.equals(t.sel)||(t.sel=e,t.cm&&(t.cm.curOp.updateInput=1,t.cm.curOp.selectionChanged=!0,St(t.cm)),Nn(t,"cursorActivity",t))}function Yo(t){Xo(t,Ko(t,t.sel,null,!1))}function Ko(t,e,n,r){for(var i,o=0;o<e.ranges.length;o++){var a=e.ranges[o],s=e.ranges.length==t.sel.ranges.length&&t.sel.ranges[o],l=Zo(t,a.anchor,s&&s.anchor,n,r),c=a.head==a.anchor?l:Zo(t,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=e.ranges.slice(0,o)),i[o]=new co(l,c))}return i?uo(t.cm,i,e.primIndex):e}function Qo(t,e,n,r,i){var o=ee(t,e.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=e.ch:s.from<e.ch))&&(null==s.to||(u?s.to>=e.ch:s.to>e.ch))){if(i&&(Ct(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(f=Jo(t,f,-r,f&&f.line==e.line?o:null)),f&&f.line==e.line&&(d=ue(f,n))&&(r<0?d<0:d>0))return Qo(t,f,e,r,i)}var h=l.find(r<0?-1:1);return(r<0?c:u)&&(h=Jo(t,h,r,h.line==e.line?o:null)),h?Qo(t,h,e,r,i):null}}return e}function Zo(t,e,n,r,i){var o=r||1,a=Qo(t,e,n,o,i)||!i&&Qo(t,e,n,o,!0)||Qo(t,e,n,-o,i)||!i&&Qo(t,e,n,-o,!0);return a||(t.cantEdit=!0,ce(t.first,0))}function Jo(t,e,n,r){return n<0&&0==e.ch?e.line>t.first?ge(t,ce(e.line-1)):null:n>0&&e.ch==(r||ee(t,e.line)).text.length?e.line<t.first+t.size-1?ce(e.line+1,0):null:new ce(e.line,e.ch+n)}function ta(t){t.setSelection(ce(t.firstLine(),0),ce(t.lastLine()),X)}function ea(t,e,n){var r={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(e,n,i,o){e&&(r.from=ge(t,e)),n&&(r.to=ge(t,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),Ct(t,"beforeChange",t,r),t.cm&&Ct(t.cm,"beforeChange",t.cm,r),r.canceled?(t.cm&&(t.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function na(t,e,n){if(t.cm){if(!t.cm.curOp)return ji(t.cm,na)(t,e,n);if(t.cm.state.suppressEdits)return}if(!(At(t,"beforeChange")||t.cm&&At(t.cm,"beforeChange"))||(e=ea(t,e,!0),e)){var r=Ne&&!n&&qe(t,e.from,e.to);if(r)for(var i=r.length-1;i>=0;--i)ra(t,{from:r[i].from,to:r[i].to,text:i?[""]:e.text,origin:e.origin});else ra(t,e)}}function ra(t,e){if(1!=e.text.length||""!=e.text[0]||0!=ue(e.from,e.to)){var n=vo(t,e);Mo(t,e,n,t.cm?t.cm.curOp.id:NaN),aa(t,e,n,ze(t,e));var r=[];Co(t,(function(t,n){n||-1!=q(r,t.history)||(fa(t.history,e),r.push(t.history)),aa(t,e,null,ze(t,e))}))}}function ia(t,e,n){var r=t.cm&&t.cm.state.suppressEdits;if(!r||n){for(var i,o=t.history,a=t.sel,s="undo"==e?o.done:o.undone,l="undo"==e?o.undone:o.done,c=0;c<s.length;c++)if(i=s[c],n?i.ranges&&!i.equals(t.sel):!i.ranges)break;if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(i=s.pop(),!i.ranges){if(r)return void s.push(i);break}if(No(i,l),n&&!i.equals(t.sel))return void Uo(t,i,{clearRedo:!1});a=i}var u=[];No(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=At(t,"beforeChange")||t.cm&&At(t.cm,"beforeChange"),d=function(n){var r=i.changes[n];if(r.origin=e,f&&!ea(t,r,!1))return s.length=0,{};u.push(To(t,r));var o=n?vo(t,r):tt(s);aa(t,r,o,Fo(t,r)),!n&&t.cm&&t.cm.scrollIntoView({from:r.from,to:ho(r)});var a=[];Co(t,(function(t,e){e||-1!=q(a,t.history)||(fa(t.history,r),a.push(t.history)),aa(t,r,null,Fo(t,r))}))},h=i.changes.length-1;h>=0;--h){var p=d(h);if(p)return p.v}}}}function oa(t,e){if(0!=e&&(t.first+=e,t.sel=new lo(et(t.sel.ranges,(function(t){return new co(ce(t.anchor.line+e,t.anchor.ch),ce(t.head.line+e,t.head.ch))})),t.sel.primIndex),t.cm)){Wr(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,r=n.viewFrom;r<n.viewTo;r++)Hr(t.cm,r,"gutter")}}function aa(t,e,n,r){if(t.cm&&!t.cm.curOp)return ji(t.cm,aa)(t,e,n,r);if(e.to.line<t.first)oa(t,e.text.length-1-(e.to.line-e.from.line));else if(!(e.from.line>t.lastLine())){if(e.from.line<t.first){var i=e.text.length-1-(t.first-e.from.line);oa(t,i),e={from:ce(t.first,0),to:ce(e.to.line+i,e.to.ch),text:[tt(e.text)],origin:e.origin}}var o=t.lastLine();e.to.line>o&&(e={from:e.from,to:ce(o,ee(t,o).text.length),text:[e.text[0]],origin:e.origin}),e.removed=ne(t,e.from,e.to),n||(n=vo(t,e)),t.cm?sa(t.cm,e,r):xo(t,e,r),Go(t,n,X),t.cantEdit&&Zo(t,ce(t.firstLine(),0))&&(t.cantEdit=!1)}}function sa(t,e,n){var r=t.doc,i=t.display,o=e.from,a=e.to,s=!1,l=o.line;t.options.lineWrapping||(l=oe(nn(ee(r,o.line))),r.iter(l,a.line+1,(function(t){if(t==i.maxLine)return s=!0,!0}))),r.sel.contains(e.from,e.to)>-1&&St(t),xo(r,e,n,Fr(t)),t.options.lineWrapping||(r.iter(l,o.line+e.text.length,(function(t){var e=fn(t);e>i.maxLineLength&&(i.maxLine=t,i.maxLineLength=e,i.maxLineChanged=!0,s=!1)})),s&&(t.curOp.updateMaxLine=!0)),Pe(r,o.line),Ri(t,400);var c=e.text.length-(a.line-o.line)-1;e.full?Wr(t):o.line!=a.line||1!=e.text.length||wo(t.doc,e)?Wr(t,o.line,a.line+1,c):Hr(t,o.line,"text");var u=At(t,"changes"),f=At(t,"change");if(f||u){var d={from:o,to:a,text:e.text,removed:e.removed,origin:e.origin};f&&Nn(t,"change",t,d),u&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(d)}t.display.selForContextMenu=null}function la(t,e,n,r,i){var o;r||(r=n),ue(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof e&&(e=t.splitLines(e)),na(t,{from:n,to:r,text:e,origin:i})}function ca(t,e,n,r){n<t.line?t.line+=r:e<t.line&&(t.line=e,t.ch=0)}function ua(t,e,n,r){for(var i=0;i<t.length;++i){var o=t[i],a=!0;if(o.ranges){o.copied||(o=t[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)ca(o.ranges[s].anchor,e,n,r),ca(o.ranges[s].head,e,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=ce(c.from.line+r,c.from.ch),c.to=ce(c.to.line+r,c.to.ch);else if(e<=c.to.line){a=!1;break}}a||(t.splice(0,i+1),i=0)}}}function fa(t,e){var n=e.from.line,r=e.to.line,i=e.text.length-(r-n)-1;ua(t.done,n,r,i),ua(t.undone,n,r,i)}function da(t,e,n,r){var i=e,o=e;return"number"==typeof e?o=ee(t,ve(t,e)):i=oe(e),null==i?null:(r(o,i)&&t.cm&&Hr(t.cm,i,n),o)}function ha(t){this.lines=t,this.parent=null;for(var e=0,n=0;n<t.length;++n)t[n].parent=this,e+=t[n].height;this.height=e}function pa(t){this.children=t;for(var e=0,n=0,r=0;r<t.length;++r){var i=t[r];e+=i.chunkSize(),n+=i.height,i.parent=this}this.size=e,this.height=n,this.parent=null}co.prototype.from=function(){return pe(this.anchor,this.head)},co.prototype.to=function(){return he(this.anchor,this.head)},co.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},ha.prototype={chunkSize:function(){return this.lines.length},removeInner:function(t,e){for(var n=t,r=t+e;n<r;++n){var i=this.lines[n];this.height-=i.height,vn(i),Nn(i,"delete")}this.lines.splice(t,e)},collapse:function(t){t.push.apply(t,this.lines)},insertInner:function(t,e,n){this.height+=n,this.lines=this.lines.slice(0,t).concat(e).concat(this.lines.slice(t));for(var r=0;r<e.length;++r)e[r].parent=this},iterN:function(t,e,n){for(var r=t+e;t<r;++t)if(n(this.lines[t]))return!0}},pa.prototype={chunkSize:function(){return this.size},removeInner:function(t,e){this.size-=e;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(t<i){var o=Math.min(e,i-t),a=r.height;if(r.removeInner(t,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(e-=o))break;t=0}else t-=i}if(this.size-e<25&&(this.children.length>1||!(this.children[0]instanceof ha))){var s=[];this.collapse(s),this.children=[new ha(s)],this.children[0].parent=this}},collapse:function(t){for(var e=0;e<this.children.length;++e)this.children[e].collapse(t)},insertInner:function(t,e,n){this.size+=e.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(t<=o){if(i.insertInner(t,e,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new ha(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}t-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var t=this;do{var e=t.children.splice(t.children.length-5,5),n=new pa(e);if(t.parent){t.size-=n.size,t.height-=n.height;var r=q(t.parent.children,t);t.parent.children.splice(r+1,0,n)}else{var i=new pa(t.children);i.parent=t,t.children=[i,n],t=i}n.parent=t.parent}while(t.children.length>10);t.parent.maybeSpill()}},iterN:function(t,e,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(t<o){var a=Math.min(e,o-t);if(i.iterN(t,a,n))return!0;if(0==(e-=a))break;t=0}else t-=o}}};var va=function(t,e,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=t,this.node=e};function ga(t,e,n){un(e)<(t.curOp&&t.curOp.scrollTop||t.doc.scrollTop)&&ui(t,n)}function ma(t,e,n,r){var i=new va(t,n,r),o=t.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),da(t,e,"widget",(function(e){var n=e.widgets||(e.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length,Math.max(0,i.insertAt)),0,i),i.line=e,o&&!ln(t,e)){var r=un(e)<t.scrollTop;ie(e,e.height+Gn(i)),r&&ui(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Nn(o,"lineWidgetAdded",o,i,"number"==typeof e?e:oe(e)),i}va.prototype.clear=function(){var t=this.doc.cm,e=this.line.widgets,n=this.line,r=oe(n);if(null!=r&&e){for(var i=0;i<e.length;++i)e[i]==this&&e.splice(i--,1);e.length||(n.widgets=null);var o=Gn(this);ie(n,Math.max(0,n.height-o)),t&&(Di(t,(function(){ga(t,n,-o),Hr(t,r,"widget")})),Nn(t,"lineWidgetCleared",t,this,r))}},va.prototype.changed=function(){var t=this,e=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Gn(this)-e;i&&(ln(this.doc,r)||ie(r,r.height+i),n&&Di(n,(function(){n.curOp.forceUpdate=!0,ga(n,r,i),Nn(n,"lineWidgetChanged",n,t,oe(r))})))},kt(va);var ya=0,ba=function(t,e){this.lines=[],this.type=e,this.doc=t,this.id=++ya};function wa(t,e,n,r,i){if(r&&r.shared)return Ca(t,e,n,r,i);if(t.cm&&!t.cm.curOp)return ji(t.cm,wa)(t,e,n,r,i);var o=new ba(t,i),a=ue(e,n);if(r&&H(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=E("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(en(t,e.line,e,n,o)||e.line!=n.line&&en(t,n.line,e,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");je()}o.addToHistory&&Mo(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var s,l=e.line,c=t.cm;if(t.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&nn(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=e.line&&ie(r,0),Be(r,new Fe(o,l==e.line?e.ch:null,l==n.line?n.ch:null),t.cm&&t.cm.curOp),++l})),o.collapsed&&t.iter(e.line,n.line+1,(function(e){ln(t,e)&&ie(e,0)})),o.clearOnEnter&&bt(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(De(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),o.collapsed&&(o.id=++ya,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Wr(c,e.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=e.line;u<=n.line;u++)Hr(c,u,"text");o.atomic&&Yo(c.doc),Nn(c,"markerAdded",c,o)}return o}ba.prototype.clear=function(){if(!this.explicitlyCleared){var t=this.doc.cm,e=t&&!t.curOp;if(e&&Ti(t),At(this,"clear")){var n=this.find();n&&Nn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=$e(a.markedSpans,this);t&&!this.collapsed?Hr(t,oe(a),"text"):t&&(null!=s.to&&(i=oe(a)),null!=s.from&&(r=oe(a))),a.markedSpans=Re(a.markedSpans,s),null==s.from&&this.collapsed&&!ln(this.doc,a)&&t&&ie(a,Nr(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=nn(this.lines[l]),u=fn(c);u>t.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=u,t.display.maxLineChanged=!0)}null!=r&&t&&this.collapsed&&Wr(t,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Yo(t.doc)),t&&Nn(t,"markerCleared",t,this,r,i),e&&Oi(t),this.parent&&this.parent.clear()}},ba.prototype.find=function(t,e){var n,r;null==t&&"bookmark"==this.type&&(t=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=$e(o.markedSpans,this);if(null!=a.from&&(n=ce(e?o:oe(o),a.from),-1==t))return n;if(null!=a.to&&(r=ce(e?o:oe(o),a.to),1==t))return r}return n&&{from:n,to:r}},ba.prototype.changed=function(){var t=this,e=this.find(-1,!0),n=this,r=this.doc.cm;e&&r&&Di(r,(function(){var i=e.line,o=oe(e.line),a=or(r,o);if(a&&(pr(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!ln(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Gn(n)-s;l&&ie(i,i.height+l)}Nn(r,"markerChanged",r,t)}))},ba.prototype.attachLine=function(t){if(!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=q(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(t)},ba.prototype.detachLine=function(t){if(this.lines.splice(q(this.lines,t),1),!this.lines.length&&this.doc.cm){var e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}},kt(ba);var xa=function(t,e){this.markers=t,this.primary=e;for(var n=0;n<t.length;++n)t[n].parent=this};function Ca(t,e,n,r,i){r=H(r),r.shared=!1;var o=[wa(t,e,n,r,i)],a=o[0],s=r.widgetNode;return Co(t,(function(t){s&&(r.widgetNode=s.cloneNode(!0)),o.push(wa(t,ge(t,e),ge(t,n),r,i));for(var l=0;l<t.linked.length;++l)if(t.linked[l].isParent)return;a=tt(o)})),new xa(o,a)}function _a(t){return t.findMarks(ce(t.first,0),t.clipPos(ce(t.lastLine())),(function(t){return t.parent}))}function Sa(t,e){for(var n=0;n<e.length;n++){var r=e[n],i=r.find(),o=t.clipPos(i.from),a=t.clipPos(i.to);if(ue(o,a)){var s=wa(t,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function Aa(t){for(var e=function(e){var n=t[e],r=[n.primary.doc];Co(n.primary.doc,(function(t){return r.push(t)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==q(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<t.length;n++)e(n)}xa.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)this.markers[t].clear();Nn(this,"clear")}},xa.prototype.find=function(t,e){return this.primary.find(t,e)},kt(xa);var ka=0,Ta=function(t,e,n,r,i){if(!(this instanceof Ta))return new Ta(t,e,n,r,i);null==n&&(n=0),pa.call(this,[new ha([new hn("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=ce(n,0);this.sel=fo(o),this.history=new ko(null),this.id=++ka,this.modeOption=e,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),xo(this,{from:o,to:o,text:t}),Uo(this,fo(o),X)};Ta.prototype=it(pa.prototype,{constructor:Ta,iter:function(t,e,n){n?this.iterN(t-this.first,e-t,n):this.iterN(this.first,this.first+this.size,t)},insert:function(t,e){for(var n=0,r=0;r<e.length;++r)n+=e[r].height;this.insertInner(t-this.first,e,n)},remove:function(t,e){this.removeInner(t-this.first,e)},getValue:function(t){var e=re(this,this.first,this.first+this.size);return!1===t?e:e.join(t||this.lineSeparator())},setValue:$i((function(t){var e=ce(this.first,0),n=this.first+this.size-1;na(this,{from:e,to:ce(n,ee(this,n).text.length),text:this.splitLines(t),origin:"setValue",full:!0},!0),this.cm&&di(this.cm,0,0),Uo(this,fo(e),X)})),replaceRange:function(t,e,n,r){e=ge(this,e),n=n?ge(this,n):e,la(this,t,e,n,r)},getRange:function(t,e,n){var r=ne(this,ge(this,t),ge(this,e));return!1===n?r:""===n?r.join(""):r.join(n||this.lineSeparator())},getLine:function(t){var e=this.getLineHandle(t);return e&&e.text},getLineHandle:function(t){if(se(this,t))return ee(this,t)},getLineNumber:function(t){return oe(t)},getLineHandleVisualStart:function(t){return"number"==typeof t&&(t=ee(this,t)),nn(t)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(t){return ge(this,t)},getCursor:function(t){var e,n=this.sel.primary();return e=null==t||"head"==t?n.head:"anchor"==t?n.anchor:"end"==t||"to"==t||!1===t?n.to():n.from(),e},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:$i((function(t,e,n){zo(this,ge(this,"number"==typeof t?ce(t,e||0):t),null,n)})),setSelection:$i((function(t,e,n){zo(this,ge(this,t),ge(this,e||t),n)})),extendSelection:$i((function(t,e,n){Bo(this,ge(this,t),e&&ge(this,e),n)})),extendSelections:$i((function(t,e){Wo(this,ye(this,t),e)})),extendSelectionsBy:$i((function(t,e){var n=et(this.sel.ranges,t);Wo(this,ye(this,n),e)})),setSelections:$i((function(t,e,n){if(t.length){for(var r=[],i=0;i<t.length;i++)r[i]=new co(ge(this,t[i].anchor),ge(this,t[i].head||t[i].anchor));null==e&&(e=Math.min(t.length-1,this.sel.primIndex)),Uo(this,uo(this.cm,r,e),n)}})),addSelection:$i((function(t,e,n){var r=this.sel.ranges.slice(0);r.push(new co(ge(this,t),ge(this,e||t))),Uo(this,uo(this.cm,r,r.length-1),n)})),getSelection:function(t){for(var e,n=this.sel.ranges,r=0;r<n.length;r++){var i=ne(this,n[r].from(),n[r].to());e=e?e.concat(i):i}return!1===t?e:e.join(t||this.lineSeparator())},getSelections:function(t){for(var e=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=ne(this,n[r].from(),n[r].to());!1!==t&&(i=i.join(t||this.lineSeparator())),e[r]=i}return e},replaceSelection:function(t,e,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=t;this.replaceSelections(r,e,n||"+input")},replaceSelections:$i((function(t,e,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(t[o]),origin:n}}for(var s=e&&"end"!=e&&mo(this,r,e),l=r.length-1;l>=0;l--)na(this,r[l]);s?qo(this,s):this.cm&&fi(this.cm)})),undo:$i((function(){ia(this,"undo")})),redo:$i((function(){ia(this,"redo")})),undoSelection:$i((function(){ia(this,"undo",!0)})),redoSelection:$i((function(){ia(this,"redo",!0)})),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,r=0;r<t.done.length;r++)t.done[r].ranges||++e;for(var i=0;i<t.undone.length;i++)t.undone[i].ranges||++n;return{undo:e,redo:n}},clearHistory:function(){var t=this;this.history=new ko(this.history),Co(this,(function(e){return e.history=t.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(t){return t&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(t){return this.history.generation==(t||this.cleanGeneration)},getHistory:function(){return{done:$o(this.history.done),undone:$o(this.history.undone)}},setHistory:function(t){var e=this.history=new ko(this.history);e.done=$o(t.done.slice(0),null,!0),e.undone=$o(t.undone.slice(0),null,!0)},setGutterMarker:$i((function(t,e,n){return da(this,t,"gutter",(function(t){var r=t.gutterMarkers||(t.gutterMarkers={});return r[e]=n,!n&&lt(r)&&(t.gutterMarkers=null),!0}))})),clearGutter:$i((function(t){var e=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[t]&&da(e,n,"gutter",(function(){return n.gutterMarkers[t]=null,lt(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(t){var e;if("number"==typeof t){if(!se(this,t))return null;if(e=t,t=ee(this,t),!t)return null}else if(e=oe(t),null==e)return null;return{line:e,handle:t,text:t.text,gutterMarkers:t.gutterMarkers,textClass:t.textClass,bgClass:t.bgClass,wrapClass:t.wrapClass,widgets:t.widgets}},addLineClass:$i((function(t,e,n){return da(this,t,"gutter"==e?"gutter":"class",(function(t){var r="text"==e?"textClass":"background"==e?"bgClass":"gutter"==e?"gutterClass":"wrapClass";if(t[r]){if(A(n).test(t[r]))return!1;t[r]+=" "+n}else t[r]=n;return!0}))})),removeLineClass:$i((function(t,e,n){return da(this,t,"gutter"==e?"gutter":"class",(function(t){var r="text"==e?"textClass":"background"==e?"bgClass":"gutter"==e?"gutterClass":"wrapClass",i=t[r];if(!i)return!1;if(null==n)t[r]=null;else{var o=i.match(A(n));if(!o)return!1;var a=o.index+o[0].length;t[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:$i((function(t,e,n){return ma(this,t,e,n)})),removeLineWidget:function(t){t.clear()},markText:function(t,e,n){return wa(this,ge(this,t),ge(this,e),n,n&&n.type||"range")},setBookmark:function(t,e){var n={replacedWith:e&&(null==e.nodeType?e.widget:e),insertLeft:e&&e.insertLeft,clearWhenEmpty:!1,shared:e&&e.shared,handleMouseEvents:e&&e.handleMouseEvents};return t=ge(this,t),wa(this,t,t,n,"bookmark")},findMarksAt:function(t){t=ge(this,t);var e=[],n=ee(this,t.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=t.ch)&&(null==i.to||i.to>=t.ch)&&e.push(i.marker.parent||i.marker)}return e},findMarks:function(t,e,n){t=ge(this,t),e=ge(this,e);var r=[],i=t.line;return this.iter(t.line,e.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==t.line&&t.ch>=l.to||null==l.from&&i!=t.line||null!=l.from&&i==e.line&&l.from>=e.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var t=[];return this.iter((function(e){var n=e.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&t.push(n[r].marker)})),t},posFromIndex:function(t){var e,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>t)return e=t,!0;t-=o,++n})),ge(this,ce(n,e))},indexFromPos:function(t){t=ge(this,t);var e=t.ch;if(t.line<this.first||t.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,t.line,(function(t){e+=t.text.length+n})),e},copy:function(t){var e=new Ta(re(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,e.sel=this.sel,e.extend=!1,t&&(e.history.undoDepth=this.history.undoDepth,e.setHistory(this.getHistory())),e},linkedDoc:function(t){t||(t={});var e=this.first,n=this.first+this.size;null!=t.from&&t.from>e&&(e=t.from),null!=t.to&&t.to<n&&(n=t.to);var r=new Ta(re(this,e,n),t.mode||this.modeOption,e,this.lineSep,this.direction);return t.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:t.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:t.sharedHist}],Sa(r,_a(this)),r},unlinkDoc:function(t){if(t instanceof Ws&&(t=t.doc),this.linked)for(var e=0;e<this.linked.length;++e){var n=this.linked[e];if(n.doc==t){this.linked.splice(e,1),t.unlinkDoc(this),Aa(_a(this));break}}if(t.history==this.history){var r=[t.id];Co(t,(function(t){return r.push(t.id)}),!0),t.history=new ko(null),t.history.done=$o(this.history.done,r),t.history.undone=$o(this.history.undone,r)}},iterLinkedDocs:function(t){Co(this,t)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(t){return this.lineSep?t.split(this.lineSep):$t(t)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:$i((function(t){"rtl"!=t&&(t="ltr"),t!=this.direction&&(this.direction=t,this.iter((function(t){return t.order=null})),this.cm&&Ao(this.cm))}))}),Ta.prototype.eachLine=Ta.prototype.iter;var Oa=0;function La(t){var e=this;if(Pa(e),!_t(e,t)&&!Xn(e.display,t)){Tt(t),a&&(Oa=+new Date);var n=Rr(e,t,!0),r=t.dataTransfer.files;if(n&&!e.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&ji(e,(function(){n=ge(e.doc,n);var t={from:n,to:n,text:e.doc.splitLines(o.filter((function(t){return null!=t})).join(e.doc.lineSeparator())),origin:"paste"};na(e.doc,t),qo(e.doc,fo(ge(e.doc,n),ge(e.doc,ho(t))))}))()},c=function(t,n){if(e.options.allowDropFileTypes&&-1==q(e.options.allowDropFileTypes,t.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var t=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(t)||(o[n]=t),l()},r.readAsText(t)}},u=0;u<r.length;u++)c(r[u],u);else{if(e.state.draggingText&&e.doc.sel.contains(n)>-1)return e.state.draggingText(t),void setTimeout((function(){return e.display.input.focus()}),20);try{var f=t.dataTransfer.getData("Text");if(f){var d;if(e.state.draggingText&&!e.state.draggingText.copy&&(d=e.listSelections()),Go(e.doc,fo(n,n)),d)for(var h=0;h<d.length;++h)la(e.doc,"",d[h].anchor,d[h].head,"drag");e.replaceSelection(f,"around","paste"),e.display.input.focus()}}catch(p){}}}}function Ma(t,e){if(a&&(!t.state.draggingText||+new Date-Oa<100))Mt(e);else if(!_t(t,e)&&!Xn(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!h)){var n=M("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}function Ea(t,e){var n=Rr(t,e);if(n){var r=document.createDocumentFragment();Yr(t,n,r),t.display.dragCursor||(t.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),L(t.display.dragCursor,r)}}function Pa(t){t.display.dragCursor&&(t.display.lineSpace.removeChild(t.display.dragCursor),t.display.dragCursor=null)}function Na(t){if(document.getElementsByClassName){for(var e=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<e.length;r++){var i=e[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var e=0;e<n.length;e++)t(n[e])}))}}var Ia=!1;function Da(){Ia||(ja(),Ia=!0)}function ja(){var t;bt(window,"resize",(function(){null==t&&(t=setTimeout((function(){t=null,Na(Fa)}),100))})),bt(window,"blur",(function(){return Na(ni)}))}function Fa(t){var e=t.display;e.cachedCharWidth=e.cachedTextHeight=e.cachedPaddingH=null,e.scrollbarsClipped=!1,t.setSize()}for(var $a={3:"Pause",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:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Ra=0;Ra<10;Ra++)$a[Ra+48]=$a[Ra+96]=String(Ra);for(var Ba=65;Ba<=90;Ba++)$a[Ba]=String.fromCharCode(Ba);for(var Wa=1;Wa<=12;Wa++)$a[Wa+111]=$a[Wa+63235]="F"+Wa;var Ha={};function za(t){var e,n,r,i,o=t.split(/-(?!$)/);t=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))e=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return e&&(t="Alt-"+t),n&&(t="Ctrl-"+t),i&&(t="Cmd-"+t),r&&(t="Shift-"+t),t}function Va(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete t[n];continue}for(var i=et(n.split(" "),za),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=e[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else e[s]=a}delete t[n]}for(var c in e)t[c]=e[c];return t}function qa(t,e,n,r){e=Ya(e);var i=e.call?e.call(t,r):e[t];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(e.fallthrough){if("[object Array]"!=Object.prototype.toString.call(e.fallthrough))return qa(t,e.fallthrough,n,r);for(var o=0;o<e.fallthrough.length;o++){var a=qa(t,e.fallthrough[o],n,r);if(a)return a}}}function Ua(t){var e="string"==typeof t?t:$a[t.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function Ga(t,e,n){var r=t;return e.altKey&&"Alt"!=r&&(t="Alt-"+t),(_?e.metaKey:e.ctrlKey)&&"Ctrl"!=r&&(t="Ctrl-"+t),(_?e.ctrlKey:e.metaKey)&&"Mod"!=r&&(t="Cmd-"+t),!n&&e.shiftKey&&"Shift"!=r&&(t="Shift-"+t),t}function Xa(t,e){if(d&&34==t.keyCode&&t["char"])return!1;var n=$a[t.keyCode];return null!=n&&!t.altGraphKey&&(3==t.keyCode&&t.code&&(n=t.code),Ga(n,t,e))}function Ya(t){return"string"==typeof t?Ha[t]:t}function Ka(t,e){for(var n=t.doc.sel.ranges,r=[],i=0;i<n.length;i++){var o=e(n[i]);while(r.length&&ue(o.from,tt(r).to)<=0){var a=r.pop();if(ue(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Di(t,(function(){for(var e=r.length-1;e>=0;e--)la(t.doc,"",r[e].from,r[e].to,"+delete");fi(t)}))}function Qa(t,e,n){var r=ft(t.text,e+n,n);return r<0||r>t.text.length?null:r}function Za(t,e,n){var r=Qa(t,e.ch,n);return null==r?null:new ce(e.line,r,n<0?"after":"before")}function Ja(t,e,n,r,i){if(t){"rtl"==e.doc.direction&&(i=-i);var o=mt(n,e.doc.direction);if(o){var a,s=i<0?tt(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==e.doc.direction){var u=ar(e,n);a=i<0?n.text.length-1:0;var f=sr(e,u,a).top;a=dt((function(t){return sr(e,u,t).top==f}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Qa(n,a,1))}else a=i<0?s.to:s.from;return new ce(r,a,c)}}return new ce(r,i<0?n.text.length:0,i<0?"before":"after")}function ts(t,e,n,r){var i=mt(e,t.doc.direction);if(!i)return Za(e,n,r);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=vt(i,n.ch,n.sticky),a=i[o];if("ltr"==t.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Za(e,n,r);var s,l=function(t,n){return Qa(e,t instanceof ce?t.ch:t,n)},c=function(n){return t.options.lineWrapping?(s=s||ar(t,e),Or(t,e,s,n)):{begin:0,end:e.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==t.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 h=f?"before":"after";return new ce(n.line,d,h)}}var p=function(t,e,r){for(var o=function(t,e){return e?new ce(n.line,l(t,1),"before"):new ce(n.line,t,"after")};t>=0&&t<i.length;t+=e){var a=i[t],s=e>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)}},v=p(o+r,r,u);if(v)return v;var g=r>0?u.end:l(u.begin,-1);return null==g||r>0&&g==e.text.length||(v=p(r>0?0:i.length-1,r,c(g)),!v)?null:v}Ha.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"},Ha.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"},Ha.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ha.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"]},Ha["default"]=b?Ha.macDefault:Ha.pcDefault;var es={selectAll:ta,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),X)},killLine:function(t){return Ka(t,(function(e){if(e.empty()){var n=ee(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line<t.lastLine()?{from:e.head,to:ce(e.head.line+1,0)}:{from:e.head,to:ce(e.head.line,n)}}return{from:e.from(),to:e.to()}}))},deleteLine:function(t){return Ka(t,(function(e){return{from:ce(e.from().line,0),to:ge(t.doc,ce(e.to().line+1,0))}}))},delLineLeft:function(t){return Ka(t,(function(t){return{from:ce(t.from().line,0),to:t.from()}}))},delWrappedLineLeft:function(t){return Ka(t,(function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:0,top:n},"div");return{from:r,to:e.from()}}))},delWrappedLineRight:function(t){return Ka(t,(function(e){var n=t.charCoords(e.head,"div").top+5,r=t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div");return{from:e.from(),to:r}}))},undo:function(t){return t.undo()},redo:function(t){return t.redo()},undoSelection:function(t){return t.undoSelection()},redoSelection:function(t){return t.redoSelection()},goDocStart:function(t){return t.extendSelection(ce(t.firstLine(),0))},goDocEnd:function(t){return t.extendSelection(ce(t.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy((function(e){return ns(t,e.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy((function(e){return is(t,e.head)}),{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy((function(e){return rs(t,e.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy((function(e){var n=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:n},"div")}),K)},goLineLeft:function(t){return t.extendSelectionsBy((function(e){var n=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:n},"div")}),K)},goLineLeftSmart:function(t){return t.extendSelectionsBy((function(e){var n=t.cursorCoords(e.head,"div").top+5,r=t.coordsChar({left:0,top:n},"div");return r.ch<t.getLine(r.line).search(/\S/)?is(t,e.head):r}),K)},goLineUp:function(t){return t.moveV(-1,"line")},goLineDown:function(t){return t.moveV(1,"line")},goPageUp:function(t){return t.moveV(-1,"page")},goPageDown:function(t){return t.moveV(1,"page")},goCharLeft:function(t){return t.moveH(-1,"char")},goCharRight:function(t){return t.moveH(1,"char")},goColumnLeft:function(t){return t.moveH(-1,"column")},goColumnRight:function(t){return t.moveH(1,"column")},goWordLeft:function(t){return t.moveH(-1,"word")},goGroupRight:function(t){return t.moveH(1,"group")},goGroupLeft:function(t){return t.moveH(-1,"group")},goWordRight:function(t){return t.moveH(1,"word")},delCharBefore:function(t){return t.deleteH(-1,"codepoint")},delCharAfter:function(t){return t.deleteH(1,"char")},delWordBefore:function(t){return t.deleteH(-1,"word")},delWordAfter:function(t){return t.deleteH(1,"word")},delGroupBefore:function(t){return t.deleteH(-1,"group")},delGroupAfter:function(t){return t.deleteH(1,"group")},indentAuto:function(t){return t.indentSelection("smart")},indentMore:function(t){return t.indentSelection("add")},indentLess:function(t){return t.indentSelection("subtract")},insertTab:function(t){return t.replaceSelection("\t")},insertSoftTab:function(t){for(var e=[],n=t.listSelections(),r=t.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=z(t.getLine(o.line),o.ch,r);e.push(J(r-a%r))}t.replaceSelections(e)},defaultTab:function(t){t.somethingSelected()?t.indentSelection("add"):t.execCommand("insertTab")},transposeChars:function(t){return Di(t,(function(){for(var e=t.listSelections(),n=[],r=0;r<e.length;r++)if(e[r].empty()){var i=e[r].head,o=ee(t.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new ce(i.line,i.ch-1)),i.ch>0)i=new ce(i.line,i.ch+1),t.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ce(i.line,i.ch-2),i,"+transpose");else if(i.line>t.doc.first){var a=ee(t.doc,i.line-1).text;a&&(i=new ce(i.line,1),t.replaceRange(o.charAt(0)+t.doc.lineSeparator()+a.charAt(a.length-1),ce(i.line-1,a.length-1),i,"+transpose"))}n.push(new co(i,i))}t.setSelections(n)}))},newlineAndIndent:function(t){return Di(t,(function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var r=0;r<e.length;r++)t.indentLine(e[r].from().line,null,!0);fi(t)}))},openLine:function(t){return t.replaceSelection("\n","start")},toggleOverwrite:function(t){return t.toggleOverwrite()}};function ns(t,e){var n=ee(t.doc,e),r=nn(n);return r!=n&&(e=oe(r)),Ja(!0,t,r,e,1)}function rs(t,e){var n=ee(t.doc,e),r=rn(n);return r!=n&&(e=oe(r)),Ja(!0,t,n,e,-1)}function is(t,e){var n=ns(t,e.line),r=ee(t.doc,n.line),i=mt(r,t.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=e.line==n.line&&e.ch<=o&&e.ch;return ce(n.line,a?0:o,n.sticky)}return n}function os(t,e,n){if("string"==typeof e&&(e=es[e],!e))return!1;t.display.input.ensurePolled();var r=t.display.shift,i=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),i=e(t)!=G}finally{t.display.shift=r,t.state.suppressEdits=!1}return i}function as(t,e,n){for(var r=0;r<t.state.keyMaps.length;r++){var i=qa(e,t.state.keyMaps[r],n,t);if(i)return i}return t.options.extraKeys&&qa(e,t.options.extraKeys,n,t)||qa(e,t.options.keyMap,n,t)}var ss=new V;function ls(t,e,n,r){var i=t.state.keySeq;if(i){if(Ua(e))return"handled";if(/\'$/.test(e)?t.state.keySeq=null:ss.set(50,(function(){t.state.keySeq==i&&(t.state.keySeq=null,t.display.input.reset())})),cs(t,i+" "+e,n,r))return!0}return cs(t,e,n,r)}function cs(t,e,n,r){var i=as(t,e,r);return"multi"==i&&(t.state.keySeq=e),"handled"==i&&Nn(t,"keyHandled",t,e,n),"handled"!=i&&"multi"!=i||(Tt(n),Zr(t)),!!i}function us(t,e){var n=Xa(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?ls(t,"Shift-"+n,e,(function(e){return os(t,e,!0)}))||ls(t,n,e,(function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return os(t,e)})):ls(t,n,e,(function(e){return os(t,e)})))}function fs(t,e,n){return ls(t,"'"+n+"'",e,(function(e){return os(t,e,!0)}))}var ds=null;function hs(t){var e=this;if((!t.target||t.target==e.display.input.getField())&&(e.curOp.focus=N($(e)),!_t(e,t))){a&&s<11&&27==t.keyCode&&(t.returnValue=!1);var r=t.keyCode;e.display.shift=16==r||t.shiftKey;var i=us(e,t);d&&(ds=i?r:null,i||88!=r||Bt||!(b?t.metaKey:t.ctrlKey)||e.replaceSelection("",null,"cut")),n&&!b&&!i&&46==r&&t.shiftKey&&!t.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(e.display.lineDiv.className)||ps(e)}}function ps(t){var e=t.display.lineDiv;function n(t){18!=t.keyCode&&t.altKey||(T(e,"CodeMirror-crosshair"),xt(document,"keyup",n),xt(document,"mouseover",n))}I(e,"CodeMirror-crosshair"),bt(document,"keyup",n),bt(document,"mouseover",n)}function vs(t){16==t.keyCode&&(this.doc.sel.shift=!1),_t(this,t)}function gs(t){var e=this;if((!t.target||t.target==e.display.input.getField())&&!(Xn(e.display,t)||_t(e,t)||t.ctrlKey&&!t.altKey||b&&t.metaKey)){var n=t.keyCode,r=t.charCode;if(d&&n==ds)return ds=null,void Tt(t);if(!d||t.which&&!(t.which<10)||!us(e,t)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(fs(e,t,i)||e.display.input.onKeyPress(t))}}}var ms,ys,bs=400,ws=function(t,e,n){this.time=t,this.pos=e,this.button=n};function xs(t,e){var n=+new Date;return ys&&ys.compare(n,t,e)?(ms=ys=null,"triple"):ms&&ms.compare(n,t,e)?(ys=new ws(n,t,e),ms=null,"double"):(ms=new ws(n,t,e),ys=null,"single")}function Cs(t){var e=this,n=e.display;if(!(_t(e,t)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=t.shiftKey,Xn(n,t))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!Es(e,t)){var r=Rr(e,t),i=Pt(t),o=r?xs(r,i):"single";B(e).focus(),1==i&&e.state.selectingText&&e.state.selectingText(t),r&&_s(e,i,r,o,t)||(1==i?r?As(e,r,o,t):Et(t)==n.scroller&&Tt(t):2==i?(r&&Bo(e.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(S?e.display.input.onContextMenu(t):ti(e)))}}function _s(t,e,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),o=(1==e?"Left":2==e?"Middle":"Right")+o,ls(t,Ga(o,i),i,(function(e){if("string"==typeof e&&(e=es[e]),!e)return!1;var r=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),r=e(t,n)!=G}finally{t.state.suppressEdits=!1}return r}))}function Ss(t,e,n){var r=t.getOption("configureMouse"),i=r?r(t,e,n):{};if(null==i.unit){var o=w?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==e?"char":"double"==e?"word":"line"}return(null==i.extend||t.doc.extend)&&(i.extend=t.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=b?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(b?n.altKey:n.ctrlKey)),i}function As(t,e,n,r){a?setTimeout(W(Jr,t),0):t.curOp.focus=N($(t));var i,o=Ss(t,n,r),s=t.doc.sel;t.options.dragDrop&&Dt&&!t.isReadOnly()&&"single"==n&&(i=s.contains(e))>-1&&(ue((i=s.ranges[i]).from(),e)<0||e.xRel>0)&&(ue(i.to(),e)>0||e.xRel<0)?ks(t,r,e,o):Os(t,r,e,o)}function ks(t,e,n,r){var i=t.display,o=!1,c=ji(t,(function(e){l&&(i.scroller.draggable=!1),t.state.draggingText=!1,t.state.delayingBlurEvent&&(t.hasFocus()?t.state.delayingBlurEvent=!1:ti(t)),xt(i.wrapper.ownerDocument,"mouseup",c),xt(i.wrapper.ownerDocument,"mousemove",u),xt(i.scroller,"dragstart",f),xt(i.scroller,"drop",c),o||(Tt(e),r.addNew||Bo(t.doc,n,null,null,r.extend),l&&!h||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(t){o=o||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),t.state.draggingText=c,c.copy=!r.moveOnDrag,bt(i.wrapper.ownerDocument,"mouseup",c),bt(i.wrapper.ownerDocument,"mousemove",u),bt(i.scroller,"dragstart",f),bt(i.scroller,"drop",c),t.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function Ts(t,e,n){if("char"==n)return new co(e,e);if("word"==n)return t.findWordAt(e);if("line"==n)return new co(ce(e.line,0),ge(t.doc,ce(e.line+1,0)));var r=n(t,e);return new co(r.from,r.to)}function Os(t,e,n,r){a&&ti(t);var i=t.display,o=t.doc;Tt(e);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new co(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new co(n,n)),n=Rr(t,e,!0,!0),l=-1;else{var f=Ts(t,n,r.unit);s=r.extend?Ro(s,f.anchor,f.head,r.extend):f}r.addNew?-1==l?(l=u.length,Uo(o,uo(t,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(Uo(o,uo(t,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):Ho(o,l,s,Y):(l=0,Uo(o,new lo([s],0),Y),c=o.sel);var d=n;function h(e){if(0!=ue(d,e))if(d=e,"rectangle"==r.unit){for(var i=[],a=t.options.tabSize,u=z(ee(o,n.line).text,n.ch,a),f=z(ee(o,e.line).text,e.ch,a),h=Math.min(u,f),p=Math.max(u,f),v=Math.min(n.line,e.line),g=Math.min(t.lastLine(),Math.max(n.line,e.line));v<=g;v++){var m=ee(o,v).text,y=Q(m,h,a);h==p?i.push(new co(ce(v,y),ce(v,y))):m.length>y&&i.push(new co(ce(v,y),ce(v,Q(m,p,a))))}i.length||i.push(new co(n,n)),Uo(o,uo(t,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var b,w=s,x=Ts(t,e,r.unit),C=w.anchor;ue(x.anchor,C)>0?(b=x.head,C=pe(w.from(),x.anchor)):(b=x.anchor,C=he(w.to(),x.head));var _=c.ranges.slice(0);_[l]=Ls(t,new co(ge(o,C),b)),Uo(o,uo(t,_,l),Y)}}var p=i.wrapper.getBoundingClientRect(),v=0;function g(e){var n=++v,a=Rr(t,e,!0,"rectangle"==r.unit);if(a)if(0!=ue(a,d)){t.curOp.focus=N($(t)),h(a);var s=oi(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(ji(t,(function(){v==n&&g(e)})),150)}else{var l=e.clientY<p.top?-20:e.clientY>p.bottom?20:0;l&&setTimeout(ji(t,(function(){v==n&&(i.scroller.scrollTop+=l,g(e))})),50)}}function m(e){t.state.selectingText=!1,v=1/0,e&&(Tt(e),i.input.focus()),xt(i.wrapper.ownerDocument,"mousemove",y),xt(i.wrapper.ownerDocument,"mouseup",b),o.history.lastSelOrigin=null}var y=ji(t,(function(t){0!==t.buttons&&Pt(t)?g(t):m(t)})),b=ji(t,m);t.state.selectingText=b,bt(i.wrapper.ownerDocument,"mousemove",y),bt(i.wrapper.ownerDocument,"mouseup",b)}function Ls(t,e){var n=e.anchor,r=e.head,i=ee(t.doc,n.line);if(0==ue(n,r)&&n.sticky==r.sticky)return e;var o=mt(i);if(!o)return e;var a=vt(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return e;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return e;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==t.doc.direction?1:-1)>0;else{var u=vt(o,r.ch,r.sticky),f=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var d=o[c+(l?-1:0)],h=l==(1==d.level),p=h?d.from:d.to,v=h?"after":"before";return n.ch==p&&n.sticky==v?e:new co(new ce(n.line,p,v),r)}function Ms(t,e,n,r){var i,o;if(e.touches)i=e.touches[0].clientX,o=e.touches[0].clientY;else try{i=e.clientX,o=e.clientY}catch(d){return!1}if(i>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&Tt(e);var a=t.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!At(t,n))return Lt(e);o-=s.top-a.viewOffset;for(var l=0;l<t.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){var u=ae(t.doc,o),f=t.display.gutterSpecs[l];return Ct(t,n,t,u,f.className,e),Lt(e)}}}function Es(t,e){return Ms(t,e,"gutterClick",!0)}function Ps(t,e){Xn(t.display,e)||Ns(t,e)||_t(t,e,"contextmenu")||S||t.display.input.onContextMenu(e)}function Ns(t,e){return!!At(t,"gutterContextMenu")&&Ms(t,e,"gutterContextMenu",!1)}function Is(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),gr(t)}ws.prototype.compare=function(t,e,n){return this.time+bs>t&&0==ue(e,this.pos)&&n==this.button};var Ds={toString:function(){return"CodeMirror.Init"}},js={},Fs={};function $s(t){var e=t.optionHandlers;function n(n,r,i,o){t.defaults[n]=r,i&&(e[n]=o?function(t,e,n){n!=Ds&&i(t,e,n)}:i)}t.defineOption=n,t.Init=Ds,n("value","",(function(t,e){return t.setValue(e)}),!0),n("mode",null,(function(t,e){t.doc.modeOption=e,yo(t)}),!0),n("indentUnit",2,yo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(t){bo(t),gr(t),Wr(t)}),!0),n("lineSeparator",null,(function(t,e){if(t.doc.lineSep=e,e){var n=[],r=t.doc.first;t.doc.iter((function(t){for(var i=0;;){var o=t.text.indexOf(e,i);if(-1==o)break;i=o+e.length,n.push(ce(r,o))}r++}));for(var i=n.length-1;i>=0;i--)la(t.doc,e,n[i],ce(n[i].line,n[i].ch+e.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,(function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Ds&&t.refresh()})),n("specialCharPlaceholder",wn,(function(t){return t.refresh()}),!0),n("electricChars",!0),n("inputStyle",y?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(t,e){return t.getInputField().spellcheck=e}),!0),n("autocorrect",!1,(function(t,e){return t.getInputField().autocorrect=e}),!0),n("autocapitalize",!1,(function(t,e){return t.getInputField().autocapitalize=e}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(t){Is(t),eo(t)}),!0),n("keyMap","default",(function(t,e,n){var r=Ya(e),i=n!=Ds&&Ya(n);i&&i.detach&&i.detach(t,r),r.attach&&r.attach(t,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Bs,!0),n("gutters",[],(function(t,e){t.display.gutterSpecs=Ji(e,t.options.lineNumbers),eo(t)}),!0),n("fixedGutter",!0,(function(t,e){t.display.gutters.style.left=e?jr(t.display)+"px":"0",t.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(t){return Ci(t)}),!0),n("scrollbarStyle","native",(function(t){Ai(t),Ci(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(t,e){t.display.gutterSpecs=Ji(t.options.gutters,e),eo(t)}),!0),n("firstLineNumber",1,eo,!0),n("lineNumberFormatter",(function(t){return t}),eo,!0),n("showCursorWhenSelecting",!1,Gr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(t,e){"nocursor"==e&&(ni(t),t.display.input.blur()),t.display.input.readOnlyChanged(e)})),n("screenReaderLabel",null,(function(t,e){e=""===e?null:e,t.display.input.screenReaderLabelChanged(e)})),n("disableInput",!1,(function(t,e){e||t.display.input.reset()}),!0),n("dragDrop",!0,Rs),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Gr,!0),n("singleCursorHeightPerLine",!0,Gr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,bo,!0),n("addModeClass",!1,bo,!0),n("pollInterval",100),n("undoDepth",200,(function(t,e){return t.doc.history.undoDepth=e})),n("historyEventDelay",1250),n("viewportMargin",10,(function(t){return t.refresh()}),!0),n("maxHighlightLength",1e4,bo,!0),n("moveInputWithCursor",!0,(function(t,e){e||t.display.input.resetPosition()})),n("tabindex",null,(function(t,e){return t.display.input.getField().tabIndex=e||""})),n("autofocus",null),n("direction","ltr",(function(t,e){return t.doc.setDirection(e)}),!0),n("phrases",null)}function Rs(t,e,n){var r=n&&n!=Ds;if(!e!=!r){var i=t.display.dragFunctions,o=e?bt:xt;o(t.display.scroller,"dragstart",i.start),o(t.display.scroller,"dragenter",i.enter),o(t.display.scroller,"dragover",i.over),o(t.display.scroller,"dragleave",i.leave),o(t.display.scroller,"drop",i.drop)}}function Bs(t){t.options.lineWrapping?(I(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(T(t.display.wrapper,"CodeMirror-wrap"),dn(t)),$r(t),Wr(t),gr(t),setTimeout((function(){return Ci(t)}),100)}function Ws(t,e){var n=this;if(!(this instanceof Ws))return new Ws(t,e);this.options=e=e?H(e):{},H(js,e,!1);var r=e.value;"string"==typeof r?r=new Ta(r,e.mode,null,e.lineSeparator,e.direction):e.mode&&(r.modeOption=e.mode),this.doc=r;var i=new Ws.inputStyles[e.inputStyle](this),o=this.display=new no(t,r,i,e);for(var c in o.wrapper.CodeMirror=this,Is(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ai(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 V,keySeq:null,specialChars:null},e.autofocus&&!y&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Hs(this),Da(),Ti(this),this.curOp.forceUpdate=!0,_o(this,r),e.autofocus&&!y||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&ei(n)}),20):ni(this),Fs)Fs.hasOwnProperty(c)&&Fs[c](this,e[c],Ds);Zi(this),e.finishInit&&e.finishInit(this);for(var u=0;u<zs.length;++u)zs[u](this);Oi(this),l&&e.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Hs(t){var e=t.display;bt(e.scroller,"mousedown",ji(t,Cs)),bt(e.scroller,"dblclick",a&&s<11?ji(t,(function(e){if(!_t(t,e)){var n=Rr(t,e);if(n&&!Es(t,e)&&!Xn(t.display,e)){Tt(e);var r=t.findWordAt(n);Bo(t.doc,r.anchor,r.head)}}})):function(e){return _t(t,e)||Tt(e)}),bt(e.scroller,"contextmenu",(function(e){return Ps(t,e)})),bt(e.input.getField(),"contextmenu",(function(n){e.scroller.contains(n.target)||Ps(t,n)}));var n,r={end:0};function i(){e.activeTouch&&(n=setTimeout((function(){return e.activeTouch=null}),1e3),r=e.activeTouch,r.end=+new Date)}function o(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function l(t,e){if(null==e.left)return!0;var n=e.left-t.left,r=e.top-t.top;return n*n+r*r>400}bt(e.scroller,"touchstart",(function(i){if(!_t(t,i)&&!o(i)&&!Es(t,i)){e.input.ensurePolled(),clearTimeout(n);var a=+new Date;e.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(e.activeTouch.left=i.touches[0].pageX,e.activeTouch.top=i.touches[0].pageY)}})),bt(e.scroller,"touchmove",(function(){e.activeTouch&&(e.activeTouch.moved=!0)})),bt(e.scroller,"touchend",(function(n){var r=e.activeTouch;if(r&&!Xn(e,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=t.coordsChar(e.activeTouch,"page");o=!r.prev||l(r,r.prev)?new co(a,a):!r.prev.prev||l(r,r.prev.prev)?t.findWordAt(a):new co(ce(a.line,0),ge(t.doc,ce(a.line+1,0))),t.setSelection(o.anchor,o.head),t.focus(),Tt(n)}i()})),bt(e.scroller,"touchcancel",i),bt(e.scroller,"scroll",(function(){e.scroller.clientHeight&&(gi(t,e.scroller.scrollTop),yi(t,e.scroller.scrollLeft,!0),Ct(t,"scroll",t))})),bt(e.scroller,"mousewheel",(function(e){return so(t,e)})),bt(e.scroller,"DOMMouseScroll",(function(e){return so(t,e)})),bt(e.wrapper,"scroll",(function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0})),e.dragFunctions={enter:function(e){_t(t,e)||Mt(e)},over:function(e){_t(t,e)||(Ea(t,e),Mt(e))},start:function(e){return Ma(t,e)},drop:ji(t,La),leave:function(e){_t(t,e)||Pa(t)}};var c=e.input.getField();bt(c,"keyup",(function(e){return vs.call(t,e)})),bt(c,"keydown",ji(t,hs)),bt(c,"keypress",ji(t,gs)),bt(c,"focus",(function(e){return ei(t,e)})),bt(c,"blur",(function(e){return ni(t,e)}))}Ws.defaults=js,Ws.optionHandlers=Fs;var zs=[];function Vs(t,e,n,r){var i,o=t.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=_e(t,e).state:n="prev");var a=t.options.tabSize,s=ee(o,e),l=z(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),c==G||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=e>o.first?z(ee(o,e-1).text,null,a):0:"add"==n?c=l+t.options.indentUnit:"subtract"==n?c=l-t.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var f="",d=0;if(t.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)d+=a,f+="\t";if(d<c&&(f+=J(c-d)),f!=u)return la(o,f,ce(e,0),ce(e,u.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var v=o.sel.ranges[p];if(v.head.line==e&&v.head.ch<u.length){var g=ce(e,u.length);Ho(o,p,new co(g,g));break}}}Ws.defineInitHook=function(t){return zs.push(t)};var qs=null;function Us(t){qs=t}function Gs(t,e,n,r,i){var o=t.doc;t.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||t.state.pasteIncoming>a,l=$t(e),c=null;if(s&&r.ranges.length>1)if(qs&&qs.text.join("\n")==e){if(r.ranges.length%qs.text.length==0){c=[];for(var u=0;u<qs.text.length;u++)c.push(o.splitLines(qs.text[u]))}}else l.length==r.ranges.length&&t.options.pasteLinesPerSelection&&(c=et(l,(function(t){return[t]})));for(var f=t.curOp.updateInput,d=r.ranges.length-1;d>=0;d--){var h=r.ranges[d],p=h.from(),v=h.to();h.empty()&&(n&&n>0?p=ce(p.line,p.ch-n):t.state.overwrite&&!s?v=ce(v.line,Math.min(ee(o,v.line).text.length,v.ch+tt(l).length)):s&&qs&&qs.lineWise&&qs.text.join("\n")==l.join("\n")&&(p=v=ce(p.line,0)));var g={from:p,to:v,text:c?c[d%c.length]:l,origin:i||(s?"paste":t.state.cutIncoming>a?"cut":"+input")};na(t.doc,g),Nn(t,"inputRead",t,g)}e&&!s&&Ys(t,e),fi(t),t.curOp.updateInput<2&&(t.curOp.updateInput=f),t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=-1}function Xs(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||!e.hasFocus()||Di(e,(function(){return Gs(e,n,0,null,"paste")})),!0}function Ys(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.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=t.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(e.indexOf(o.electricChars.charAt(s))>-1){a=Vs(t,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(ee(t.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Vs(t,i.head.line,"smart"));a&&Nn(t,"electricInput",t,i.head.line)}}}function Ks(t){for(var e=[],n=[],r=0;r<t.doc.sel.ranges.length;r++){var i=t.doc.sel.ranges[r].head.line,o={anchor:ce(i,0),head:ce(i+1,0)};n.push(o),e.push(t.getRange(o.anchor,o.head))}return{text:e,ranges:n}}function Qs(t,e,n,r){t.setAttribute("autocorrect",n?"on":"off"),t.setAttribute("autocapitalize",r?"on":"off"),t.setAttribute("spellcheck",!!e)}function Zs(){var t=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),e=M("div",[t],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?t.style.width="1000px":t.setAttribute("wrap","off"),g&&(t.style.border="1px solid black"),e}function Js(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){B(this).focus(),this.display.input.focus()},setOption:function(t,n){var r=this.options,i=r[t];r[t]==n&&"mode"!=t||(r[t]=n,e.hasOwnProperty(t)&&ji(this,e[t])(this,n,i),Ct(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](Ya(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;n<e.length;++n)if(e[n]==t||e[n].name==t)return e.splice(n,1),!0},addOverlay:Fi((function(e,n){var r=e.token?e:t.getMode(this.options,e);if(r.startState)throw new Error("Overlays may not be stateful.");nt(this.state.overlays,{mode:r,modeSpec:e,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(t){return t.priority})),this.state.modeGen++,Wr(this)})),removeOverlay:Fi((function(t){for(var e=this.state.overlays,n=0;n<e.length;++n){var r=e[n].modeSpec;if(r==t||"string"==typeof t&&r.name==t)return e.splice(n,1),this.state.modeGen++,void Wr(this)}})),indentLine:Fi((function(t,e,n){"string"!=typeof e&&"number"!=typeof e&&(e=null==e?this.options.smartIndent?"smart":"prev":e?"add":"subtract"),se(this.doc,t)&&Vs(this,t,e,n)})),indentSelection:Fi((function(t){for(var e=this.doc.sel.ranges,n=-1,r=0;r<e.length;r++){var i=e[r];if(i.empty())i.head.line>n&&(Vs(this,i.head.line,t,!0),n=i.head.line,r==this.doc.sel.primIndex&&fi(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Vs(this,l,t);var c=this.doc.sel.ranges;0==o.ch&&e.length==c.length&&c[r].from().ch>0&&Ho(this.doc,r,new co(o,c[r].to()),X)}}})),getTokenAt:function(t,e){return Oe(this,t,e)},getLineTokens:function(t,e){return Oe(this,ce(t),e,!0)},getTokenTypeAt:function(t){t=ge(this.doc,t);var e,n=Ce(this,ee(this.doc,t.line)),r=0,i=(n.length-1)/2,o=t.ch;if(0==o)e=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)){e=n[2*a+2];break}r=a+1}}var s=e?e.indexOf("overlay "):-1;return s<0?e:0==s?null:e.slice(0,s-1)},getModeAt:function(e){var n=this.doc.mode;return n.innerMode?t.innerMode(n,this.getTokenAt(e).state).mode:n},getHelper:function(t,e){return this.getHelpers(t,e)[0]},getHelpers:function(t,e){var r=[];if(!n.hasOwnProperty(e))return r;var i=n[e],o=this.getModeAt(t);if("string"==typeof o[e])i[o[e]]&&r.push(i[o[e]]);else if(o[e])for(var a=0;a<o[e].length;a++){var s=i[o[e][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==q(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(t,e){var n=this.doc;return t=ve(n,null==t?n.first+n.size-1:t),_e(this,t+1,e).state},cursorCoords:function(t,e){var n,r=this.doc.sel.primary();return n=null==t?r.head:"object"==typeof t?ge(this.doc,t):t?r.from():r.to(),_r(this,n,e||"page")},charCoords:function(t,e){return Cr(this,ge(this.doc,t),e||"page")},coordsChar:function(t,e){return t=xr(this,t,e||"page"),kr(this,t.left,t.top)},lineAtHeight:function(t,e){return t=xr(this,{top:t,left:0},e||"page").top,ae(this.doc,t+this.display.viewOffset)},heightAtLine:function(t,e,n){var r,i=!1;if("number"==typeof t){var o=this.doc.first+this.doc.size-1;t<this.doc.first?t=this.doc.first:t>o&&(t=o,i=!0),r=ee(this.doc,t)}else r=t;return wr(this,r,{top:0,left:0},e||"page",n||i).top+(i?this.doc.height-un(r):0)},defaultTextHeight:function(){return Nr(this.display)},defaultCharWidth:function(){return Ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,r,i){var o=this.display;t=_r(this,ge(this.doc,t));var a=t.bottom,s=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),o.sizer.appendChild(e),"over"==r)a=t.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||t.bottom+e.offsetHeight>l)&&t.top>e.offsetHeight?a=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=l&&(a=t.bottom),s+e.offsetWidth>c&&(s=c-e.offsetWidth)}e.style.top=a+"px",e.style.left=e.style.right="","right"==i?(s=o.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-e.offsetWidth)/2),e.style.left=s+"px"),n&&li(this,{left:s,top:a,right:s+e.offsetWidth,bottom:a+e.offsetHeight})},triggerOnKeyDown:Fi(hs),triggerOnKeyPress:Fi(gs),triggerOnKeyUp:vs,triggerOnMouseDown:Fi(Cs),execCommand:function(t){if(es.hasOwnProperty(t))return es[t].call(null,this)},triggerElectric:Fi((function(t){Ys(this,t)})),findPosH:function(t,e,n,r){var i=1;e<0&&(i=-1,e=-e);for(var o=ge(this.doc,t),a=0;a<e;++a)if(o=tl(this.doc,o,i,n,r),o.hitSide)break;return o},moveH:Fi((function(t,e){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?tl(n.doc,r.head,t,e,n.options.rtlMoveVisually):t<0?r.from():r.to()}),K)})),deleteH:Fi((function(t,e){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Ka(this,(function(n){var i=tl(r,n.head,t,e,!1);return t<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(t,e,n,r){var i=1,o=r;e<0&&(i=-1,e=-e);for(var a=ge(this.doc,t),s=0;s<e;++s){var l=_r(this,a,"div");if(null==o?o=l.left:l.left=o,a=el(this,l,i,n),a.hitSide)break}return a},moveV:Fi((function(t,e){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return t<0?a.from():a.to();var s=_r(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=el(n,s,t,e);return"page"==e&&a==r.sel.primary()&&ui(n,Cr(n,l,"div").top-s.top),l}),K),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(t){var e=this.doc,n=ee(e,t.line).text,r=t.ch,i=t.ch;if(n){var o=this.getHelper(t,"wordChars");"before"!=t.sticky&&i!=n.length||!r?++i:--r;var a=n.charAt(r),s=st(a,o)?function(t){return st(t,o)}:/\s/.test(a)?function(t){return/\s/.test(t)}:function(t){return!/\s/.test(t)&&!st(t)};while(r>0&&s(n.charAt(r-1)))--r;while(i<n.length&&s(n.charAt(i)))++i}return new co(ce(t.line,r),ce(t.line,i))},toggleOverwrite:function(t){null!=t&&t==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),Ct(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==N($(this))},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Fi((function(t,e){di(this,t,e)})),getScrollInfo:function(){var t=this.display.scroller;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight-Zn(this)-this.display.barHeight,width:t.scrollWidth-Zn(this)-this.display.barWidth,clientHeight:tr(this),clientWidth:Jn(this)}},scrollIntoView:Fi((function(t,e){null==t?(t={from:this.doc.sel.primary().head,to:null},null==e&&(e=this.options.cursorScrollMargin)):"number"==typeof t?t={from:ce(t,0),to:null}:null==t.from&&(t={from:t,to:null}),t.to||(t.to=t.from),t.margin=e||0,null!=t.from.line?hi(this,t):vi(this,t.from,t.to,t.margin)})),setSize:Fi((function(t,e){var n=this,r=function(t){return"number"==typeof t||/^\d+$/.test(String(t))?t+"px":t};null!=t&&(this.display.wrapper.style.width=r(t)),null!=e&&(this.display.wrapper.style.height=r(e)),this.options.lineWrapping&&vr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(t){if(t.widgets)for(var e=0;e<t.widgets.length;e++)if(t.widgets[e].noHScroll){Hr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,Ct(this,"refresh",this)})),operation:function(t){return Di(this,t)},startOperation:function(){return Ti(this)},endOperation:function(){return Oi(this)},refresh:Fi((function(){var t=this.display.cachedTextHeight;Wr(this),this.curOp.forceUpdate=!0,gr(this),di(this,this.doc.scrollLeft,this.doc.scrollTop),Yi(this.display),(null==t||Math.abs(t-Nr(this.display))>.5||this.options.lineWrapping)&&$r(this),Ct(this,"refresh",this)})),swapDoc:Fi((function(t){var e=this.doc;return e.cm=null,this.state.selectingText&&this.state.selectingText(),_o(this,t),gr(this),this.display.input.reset(),di(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Nn(this,"swapDoc",this,e),e})),phrase:function(t){var e=this.options.phrases;return e&&Object.prototype.hasOwnProperty.call(e,t)?e[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}},kt(t),t.registerHelper=function(e,r,i){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][r]=i},t.registerGlobalHelper=function(e,r,i,o){t.registerHelper(e,r,o),n[e]._global.push({pred:i,val:o})}}function tl(t,e,n,r,i){var o=e,a=n,s=ee(t,e.line),l=i&&"rtl"==t.direction?-n:n;function c(){var n=e.line+l;return!(n<t.first||n>=t.first+t.size)&&(e=new ce(n,e.ch,e.sticky),s=ee(t,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(e.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var f=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ce(e.line,Math.max(0,Math.min(s.text.length,e.ch+n*(f?2:1))),-n)}}else a=i?ts(t.cm,s,e,n):Za(s,e,n);if(null==a){if(o||!c())return!1;e=Ja(i,t.cm,s,e.line,l)}else e=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var f=null,d="group"==r,h=t.cm&&t.cm.getHelper(e,"wordChars"),p=!0;;p=!1){if(n<0&&!u(!p))break;var v=s.text.charAt(e.ch)||"\n",g=st(v,h)?"w":d&&"\n"==v?"n":!d||/\s/.test(v)?null:"p";if(!d||p||g||(g="s"),f&&f!=g){n<0&&(n=1,u(),e.sticky="after");break}if(g&&(f=g),n>0&&!u(!p))break}var m=Zo(t,e,o,a,!0);return fe(o,m)&&(m.hitSide=!0),m}function el(t,e,n,r){var i,o,a=t.doc,s=e.left;if("page"==r){var l=Math.min(t.display.wrapper.clientHeight,B(t).innerHeight||a(t).documentElement.clientHeight),c=Math.max(l-.5*Nr(t.display),3);i=(n>0?e.bottom:e.top)+n*c}else"line"==r&&(i=n>0?e.bottom+3:e.top-3);for(;;){if(o=kr(t,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var nl=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function rl(t,e){var n=or(t,e.line);if(!n||n.hidden)return null;var r=ee(t.doc,e.line),i=nr(n,r,e.line),o=mt(r,t.doc.direction),a="left";if(o){var s=vt(o,e.ch);a=s%2?"right":"left"}var l=ur(i.map,e.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function il(t){for(var e=t;e;e=e.parentNode)if(/CodeMirror-gutter-wrapper/.test(e.className))return!0;return!1}function ol(t,e){return e&&(t.bad=!0),t}function al(t,e,n,r,i){var o="",a=!1,s=t.doc.lineSeparator(),l=!1;function c(t){return function(e){return e.id==t}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function f(t){t&&(u(),o+=t)}function d(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(n)return void f(n);var o,h=e.getAttribute("cm-marker");if(h){var p=t.findMarks(ce(r,0),ce(i+1,0),c(+h));return void(p.length&&(o=p[0].find(0))&&f(ne(t.doc,o.from,o.to).join(s)))}if("false"==e.getAttribute("contenteditable"))return;var v=/^(pre|div|p|li|table|br)$/i.test(e.nodeName);if(!/^br$/i.test(e.nodeName)&&0==e.textContent.length)return;v&&u();for(var g=0;g<e.childNodes.length;g++)d(e.childNodes[g]);/^(pre|p)$/i.test(e.nodeName)&&(l=!0),v&&(a=!0)}else 3==e.nodeType&&f(e.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;;){if(d(e),e==n)break;e=e.nextSibling,l=!1}return o}function sl(t,e,n){var r;if(e==t.display.lineDiv){if(r=t.display.lineDiv.childNodes[n],!r)return ol(t.clipPos(ce(t.display.viewTo-1)),!0);e=null,n=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var i=0;i<t.display.view.length;i++){var o=t.display.view[i];if(o.node==r)return ll(o,e,n)}}function ll(t,e,n){var r=t.text.firstChild,i=!1;if(!e||!P(r,e))return ol(ce(oe(t.line),0),!0);if(e==r&&(i=!0,e=r.childNodes[n],n=0,!e)){var o=t.rest?tt(t.rest):t.line;return ol(ce(oe(o),o.text.length),i)}var a=3==e.nodeType?e:null,s=e;a||1!=e.childNodes.length||3!=e.firstChild.nodeType||(a=e.firstChild,n&&(n=a.nodeValue.length));while(s.parentNode!=r)s=s.parentNode;var l=t.measure,c=l.maps;function u(e,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==e||s==n){var u=oe(i<0?t.line:t.rest[i]),f=o[a]+r;return(r<0||s!=e)&&(f=o[a+(r?1:0)]),ce(u,f)}}}var f=u(a,s,n);if(f)return ol(f,i);for(var d=s.nextSibling,h=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(f=u(d,d.firstChild,0),f)return ol(ce(f.line,f.ch-h),i);h+=d.textContent.length}for(var p=s.previousSibling,v=n;p;p=p.previousSibling){if(f=u(p,p.firstChild,-1),f)return ol(ce(f.line,f.ch+v),i);v+=p.textContent.length}}nl.prototype.init=function(t){var e=this,n=this,r=n.cm,i=n.div=t.lineDiv;function o(t){for(var e=t.target;e;e=e.parentNode){if(e==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(e.className))break}return!1}function a(t){if(o(t)&&!_t(r,t)){if(r.somethingSelected())Us({lineWise:!1,text:r.getSelections()}),"cut"==t.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var e=Ks(r);Us({lineWise:!0,text:e.text}),"cut"==t.type&&r.operation((function(){r.setSelections(e.ranges,0,X),r.replaceSelection("",null,"cut")}))}if(t.clipboardData){t.clipboardData.clearData();var a=qs.text.join("\n");if(t.clipboardData.setData("Text",a),t.clipboardData.getData("Text")==a)return void t.preventDefault()}var s=Zs(),l=s.firstChild;Qs(l),r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=qs.text.join("\n");var c=N(R(i));j(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}i.contentEditable=!0,Qs(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),bt(i,"paste",(function(t){!o(t)||_t(r,t)||Xs(t,r)||s<=11&&setTimeout(ji(r,(function(){return e.updateFromDOM()})),20)})),bt(i,"compositionstart",(function(t){e.composing={data:t.data,done:!1}})),bt(i,"compositionupdate",(function(t){e.composing||(e.composing={data:t.data,done:!1})})),bt(i,"compositionend",(function(t){e.composing&&(t.data!=e.composing.data&&e.readFromDOMSoon(),e.composing.done=!0)})),bt(i,"touchstart",(function(){return n.forceCompositionEnd()})),bt(i,"input",(function(){e.composing||e.readFromDOMSoon()})),bt(i,"copy",a),bt(i,"cut",a)},nl.prototype.screenReaderLabelChanged=function(t){t?this.div.setAttribute("aria-label",t):this.div.removeAttribute("aria-label")},nl.prototype.prepareSelection=function(){var t=Xr(this.cm,!1);return t.focus=N(R(this.div))==this.div,t},nl.prototype.showSelection=function(t,e){t&&this.cm.display.view.length&&((t.focus||e)&&this.showPrimarySelection(),this.showMultipleSelections(t))},nl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},nl.prototype.showPrimarySelection=function(){var t=this.getSelection(),e=this.cm,r=e.doc.sel.primary(),i=r.from(),o=r.to();if(e.display.viewTo==e.display.viewFrom||i.line>=e.display.viewTo||o.line<e.display.viewFrom)t.removeAllRanges();else{var a=sl(e,t.anchorNode,t.anchorOffset),s=sl(e,t.focusNode,t.focusOffset);if(!a||a.bad||!s||s.bad||0!=ue(pe(a,s),i)||0!=ue(he(a,s),o)){var l=e.display.view,c=i.line>=e.display.viewFrom&&rl(e,i)||{node:l[0].measure.map[2],offset:0},u=o.line<e.display.viewTo&&rl(e,o);if(!u){var f=l[l.length-1].measure,d=f.maps?f.maps[f.maps.length-1]:f.map;u={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}if(c&&u){var h,p=t.rangeCount&&t.getRangeAt(0);try{h=k(c.node,c.offset,u.offset,u.node)}catch(v){}h&&(!n&&e.state.focused?(t.collapse(c.node,c.offset),h.collapsed||(t.removeAllRanges(),t.addRange(h))):(t.removeAllRanges(),t.addRange(h)),p&&null==t.anchorNode?t.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else t.removeAllRanges()}}},nl.prototype.startGracePeriod=function(){var t=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){t.gracePeriod=!1,t.selectionChanged()&&t.cm.operation((function(){return t.cm.curOp.selectionChanged=!0}))}),20)},nl.prototype.showMultipleSelections=function(t){L(this.cm.display.cursorDiv,t.cursors),L(this.cm.display.selectionDiv,t.selection)},nl.prototype.rememberSelection=function(){var t=this.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastFocusNode=t.focusNode,this.lastFocusOffset=t.focusOffset},nl.prototype.selectionInEditor=function(){var t=this.getSelection();if(!t.rangeCount)return!1;var e=t.getRangeAt(0).commonAncestorContainer;return P(this.div,e)},nl.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&N(R(this.div))==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},nl.prototype.blur=function(){this.div.blur()},nl.prototype.getField=function(){return this.div},nl.prototype.supportsTouch=function(){return!0},nl.prototype.receivedFocus=function(){var t=this,e=this;function n(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,n))}this.selectionInEditor()?setTimeout((function(){return t.pollSelection()}),20):Di(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,n)},nl.prototype.selectionChanged=function(){var t=this.getSelection();return t.anchorNode!=this.lastAnchorNode||t.anchorOffset!=this.lastAnchorOffset||t.focusNode!=this.lastFocusNode||t.focusOffset!=this.lastFocusOffset},nl.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var t=this.getSelection(),e=this.cm;if(m&&u&&this.cm.display.gutterSpecs.length&&il(t.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=sl(e,t.anchorNode,t.anchorOffset),r=sl(e,t.focusNode,t.focusOffset);n&&r&&Di(e,(function(){Uo(e.doc,fo(n,r),X),(n.bad||r.bad)&&(e.curOp.selectionChanged=!0)}))}}},nl.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var t,e,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=ce(a.line-1,ee(r.doc,a.line-1).length)),s.ch==ee(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ce(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(t=Br(r,a.line))?(e=oe(i.view[0].line),n=i.view[0].node):(e=oe(i.view[t].line),n=i.view[t-1].node.nextSibling);var l,c,u=Br(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=oe(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;var f=r.doc.splitLines(al(r,n,c,e,l)),d=ne(r.doc,ce(e,0),ce(l,ee(r.doc,l).text.length));while(f.length>1&&d.length>1)if(tt(f)==tt(d))f.pop(),d.pop(),l--;else{if(f[0]!=d[0])break;f.shift(),d.shift(),e++}var h=0,p=0,v=f[0],g=d[0],m=Math.min(v.length,g.length);while(h<m&&v.charCodeAt(h)==g.charCodeAt(h))++h;var y=tt(f),b=tt(d),w=Math.min(y.length-(1==f.length?h:0),b.length-(1==d.length?h:0));while(p<w&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1))++p;if(1==f.length&&1==d.length&&e==a.line)while(h&&h>a.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1))h--,p++;f[f.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),f[0]=f[0].slice(h).replace(/\u200b+$/,"");var x=ce(e,h),C=ce(l,d.length?tt(d).length-p:0);return f.length>1||f[0]||ue(x,C)?(la(r.doc,f,x,C,"+input"),!0):void 0},nl.prototype.ensurePolled=function(){this.forceCompositionEnd()},nl.prototype.reset=function(){this.forceCompositionEnd()},nl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},nl.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()}),80))},nl.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||Di(this.cm,(function(){return Wr(t.cm)}))},nl.prototype.setUneditable=function(t){t.contentEditable="false"},nl.prototype.onKeyPress=function(t){0==t.charCode||this.composing||(t.preventDefault(),this.cm.isReadOnly()||ji(this.cm,Gs)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},nl.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},nl.prototype.onContextMenu=function(){},nl.prototype.resetPosition=function(){},nl.prototype.needsContentAttribute=!0;var cl=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null,this.resetting=!1};function ul(t,e){if(e=e?H(e):{},e.value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var n=N(R(t));e.autofocus=n==t||null!=t.getAttribute("autofocus")&&n==document.body}function r(){t.value=s.getValue()}var i;if(t.form&&(bt(t.form,"submit",r),!e.leaveSubmitMethodAlone)){var o=t.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}e.finishInit=function(n){n.save=r,n.getTextArea=function(){return t},n.toTextArea=function(){n.toTextArea=isNaN,r(),t.parentNode.removeChild(n.getWrapperElement()),t.style.display="",t.form&&(xt(t.form,"submit",r),e.leaveSubmitMethodAlone||"function"!=typeof t.form.submit||(t.form.submit=i))}},t.style.display="none";var s=Ws((function(e){return t.parentNode.insertBefore(e,t.nextSibling)}),e);return s}function fl(t){t.off=xt,t.on=bt,t.wheelEventPixels=ao,t.Doc=Ta,t.splitLines=$t,t.countColumn=z,t.findColumn=Q,t.isWordChar=at,t.Pass=G,t.signal=Ct,t.Line=hn,t.changeEnd=ho,t.scrollbarModel=Si,t.Pos=ce,t.cmpPos=ue,t.modes=zt,t.mimeModes=Vt,t.resolveMode=Gt,t.getMode=Xt,t.modeExtensions=Yt,t.extendMode=Kt,t.copyState=Qt,t.startState=Jt,t.innerMode=Zt,t.commands=es,t.keyMap=Ha,t.keyName=Xa,t.isModifierKey=Ua,t.lookupKey=qa,t.normalizeKeyMap=Va,t.StringStream=te,t.SharedTextMarker=xa,t.TextMarker=ba,t.LineWidget=va,t.e_preventDefault=Tt,t.e_stopPropagation=Ot,t.e_stop=Mt,t.addClass=I,t.contains=P,t.rmClass=T,t.keyNames=$a}cl.prototype.init=function(t){var e=this,n=this,r=this.cm;this.createField(t);var i=this.textarea;function o(t){if(!_t(r,t)){if(r.somethingSelected())Us({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var e=Ks(r);Us({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,X):(n.prevInput="",i.value=e.text.join("\n"),j(i))}"cut"==t.type&&(r.state.cutIncoming=+new Date)}}t.wrapper.insertBefore(this.wrapper,t.wrapper.firstChild),g&&(i.style.width="0px"),bt(i,"input",(function(){a&&s>=9&&e.hasSelection&&(e.hasSelection=null),n.poll()})),bt(i,"paste",(function(t){_t(r,t)||Xs(t,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),bt(i,"cut",o),bt(i,"copy",o),bt(t.scroller,"paste",(function(e){if(!Xn(t,e)&&!_t(r,e)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=e.clipboardData,i.dispatchEvent(o)}})),bt(t.lineSpace,"selectstart",(function(e){Xn(t,e)||Tt(e)})),bt(i,"compositionstart",(function(){var t=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}})),bt(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},cl.prototype.createField=function(t){this.wrapper=Zs(),this.textarea=this.wrapper.firstChild;var e=this.cm.options;Qs(this.textarea,e.spellcheck,e.autocorrect,e.autocapitalize)},cl.prototype.screenReaderLabelChanged=function(t){t?this.textarea.setAttribute("aria-label",t):this.textarea.removeAttribute("aria-label")},cl.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,r=Xr(t);if(t.options.moveInputWithCursor){var i=_r(t,n.sel.primary().head,"div"),o=e.wrapper.getBoundingClientRect(),a=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},cl.prototype.showSelection=function(t){var e=this.cm,n=e.display;L(n.cursorDiv,t.cursors),L(n.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},cl.prototype.reset=function(t){if(!(this.contextMenuPending||this.composing&&t)){var e=this.cm;if(this.resetting=!0,e.somethingSelected()){this.prevInput="";var n=e.getSelection();this.textarea.value=n,e.state.focused&&j(this.textarea),a&&s>=9&&(this.hasSelection=n)}else t||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.resetting=!1}},cl.prototype.getField=function(){return this.textarea},cl.prototype.supportsTouch=function(){return!1},cl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!y||N(R(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(t){}},cl.prototype.blur=function(){this.textarea.blur()},cl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},cl.prototype.receivedFocus=function(){this.slowPoll()},cl.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){t.poll(),t.cm.state.focused&&t.slowPoll()}))},cl.prototype.fastPoll=function(){var t=!1,e=this;function n(){var r=e.poll();r||t?(e.pollingFast=!1,e.slowPoll()):(t=!0,e.polling.set(60,n))}e.pollingFast=!0,e.polling.set(20,n)},cl.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!e.state.focused||Rt(n)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var i=n.value;if(i==r&&!e.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||b&&/[\uf700-\uf7ff]/.test(i))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(r.length,i.length);while(l<c&&r.charCodeAt(l)==i.charCodeAt(l))++l;return Di(e,(function(){Gs(e,i.slice(l),r.length-l,null,t.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=i,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},cl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},cl.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},cl.prototype.onContextMenu=function(t){var e=this,n=e.cm,r=n.display,i=e.textarea;e.contextMenuPending&&e.contextMenuPending();var o=Rr(n,t),c=r.scroller.scrollTop;if(o&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(o)&&ji(n,Uo)(n.doc,fo(o),X);var f,h=i.style.cssText,p=e.wrapper.style.cssText,v=e.wrapper.offsetParent.getBoundingClientRect();if(e.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-v.top-5)+"px; left: "+(t.clientX-v.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(f=i.ownerDocument.defaultView.scrollY),r.input.focus(),l&&i.ownerDocument.defaultView.scrollTo(null,f),r.input.reset(),n.somethingSelected()||(i.value=e.prevInput=" "),e.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),S){Mt(t);var g=function(){xt(window,"mouseup",g),setTimeout(y,20)};bt(window,"mouseup",g)}else setTimeout(y,50)}function m(){if(null!=i.selectionStart){var t=n.somethingSelected(),o="​"+(t?i.value:"");i.value="⇚",i.value=o,e.prevInput=t?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function y(){if(e.contextMenuPending==y&&(e.contextMenuPending=!1,e.wrapper.style.cssText=p,i.style.cssText=h,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&m();var t=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==e.prevInput?ji(n,ta)(n):t++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},cl.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled="nocursor"==t,this.textarea.readOnly=!!t},cl.prototype.setUneditable=function(){},cl.prototype.needsContentAttribute=!1,$s(Ws),Js(Ws);var dl="iter insert remove copy getEditor constructor".split(" ");for(var hl in Ta.prototype)Ta.prototype.hasOwnProperty(hl)&&q(dl,hl)<0&&(Ws.prototype[hl]=function(t){return function(){return t.apply(this.doc,arguments)}}(Ta.prototype[hl]));return kt(Ta),Ws.inputStyles={textarea:cl,contenteditable:nl},Ws.defineMode=function(t){Ws.defaults.mode||"null"==t||(Ws.defaults.mode=t),qt.apply(this,arguments)},Ws.defineMIME=Ut,Ws.defineMode("null",(function(){return{token:function(t){return t.skipToEnd()}}})),Ws.defineMIME("text/plain","null"),Ws.defineExtension=function(t,e){Ws.prototype[t]=e},Ws.defineDocExtension=function(t,e){Ta.prototype[t]=e},Ws.fromTextArea=ul,fl(Ws),Ws.version="5.65.16",Ws}))},"584a":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),u=o(a,c);if(t&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},"5c95":function(t,e,n){var r=n("35e8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l="prototype",c=function(t,e,n){var u,f,d,h,p=t&c.F,v=t&c.G,g=t&c.S,m=t&c.P,y=t&c.B,b=v?r:g?r[e]||(r[e]={}):(r[e]||{})[l],w=v?i:i[e]||(i[e]={}),x=w[l]||(w[l]={});for(u in v&&(n=e),n)f=!p&&b&&void 0!==b[u],d=(f?b:n)[u],h=y&&f?s(d,r):m&&"function"==typeof d?s(Function.call,d):d,b&&a(b,u,d,t&c.U),w[u]!=d&&o(w,u,h),m&&x[u]!=d&&(x[u]=d)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),l="prototype",c=function(t,e,n){var u,f,d,h=t&c.F,p=t&c.G,v=t&c.S,g=t&c.P,m=t&c.B,y=t&c.W,b=p?i:i[e]||(i[e]={}),w=b[l],x=p?r:v?r[e]:(r[e]||{})[l];for(u in p&&(n=e),n)f=!h&&x&&void 0!==x[u],f&&s(b,u)||(d=f?x[u]:n[u],b[u]=p&&"function"!=typeof x[u]?n[u]:m&&f?o(d,r):y&&x[u]==d?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(d):g&&"function"==typeof d?o(Function.call,d):d,g&&((b.virtual||(b.virtual={}))[u]=d,t&c.R&&w&&!w[u]&&a(w,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"656e":function(t,e,n){"use strict";var r=n("79aa");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},"678c":function(t,e,n){"use strict";t.exports=function(t,e){return"object"===typeof t&&t.pos?t.pos:parseFloat(e?(1/(this.gradientLength-1)*e).toFixed(2):0)}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b93":function(t,e,n){"use strict";t.exports=function(){var t=this;function e(){var e,n;for(e=0;e<2;e++)n=e?"y":"x",r(n);function r(e){var n,r=t[e+"1"],i=t["x"===e?"imgOriginalWidth":"imgOriginalHeight"],o="x"===e?t.image.position[0]:t.image.position[1];switch(o){case"center":n=i>r?-(i-r)/2:(r-i)/2,t.imagePosition[e]=n,t.imagePosition["x"===e?"width":"height"]=i;break;case"top":t.imagePosition["y"]=0,t.imagePosition["height"]=i;break;case"bottom":t.imagePosition["y"]=r-i,t.imagePosition["height"]=i;break;case"right":t.imagePosition["x"]=r-i,t.imagePosition["width"]=i;break;case"left":t.imagePosition["x"]=0,t.imagePosition["width"]=i;break}if(t.image.stretchMode)switch(o="x"===e?t.image.stretchMode[0]:t.image.stretchMode[1],o){case"none":break;case"stretch":t.imagePosition[e]=0,t.imagePosition["x"===e?"width":"height"]=r;break;case"stretch-if-bigger":if(i<r)break;t.imagePosition[e]=0,t.imagePosition["x"===e?"width":"height"]=r;break;case"stretch-if-smaller":if(i>r)break;t.imagePosition[e]=0,t.imagePosition["x"===e?"width":"height"]=r;break}}}this.imagePosition||(this.imagePosition={x:0,y:0,width:0,height:0}),this.image.blendingMode&&(this.context.globalCompositeOperation=this.image.blendingMode),this.imageNode?e():(this.imageNode=new Image,this.imageNode.onerror=function(){throw new Error("Granim: The image source is invalid.")},this.imageNode.onload=function(){t.imgOriginalWidth=t.imageNode.width,t.imgOriginalHeight=t.imageNode.height,e(),t.refreshColorsAndPos(),t.isPausedWhenNotInView&&!t.isCanvasInWindowView||(t.animation=requestAnimationFrame(t.animateColors.bind(t))),t.isImgLoaded=!0},this.imageNode.src=this.image.source)}},"6bf6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.confetti=u;var r=["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"];function i(t,e,n,r,i){return Array.from({length:e}).map((function(e,o){var a=document.createElement("div"),s=n[o%n.length];return a.style["background-color"]=s,a.style.width=r,a.style.height=i,a.style.position="absolute",a.style.willChange="transform, opacity",a.style.visibility="hidden",t.appendChild(a),a}))}function o(t,e,n,r){var i=t*(Math.PI/180),o=e*(Math.PI/180);return{x:0,y:0,wobble:10*r(),wobbleSpeed:.1+.1*r(),velocity:.5*n+r()*n,angle2D:-i+(.5*o-r()*o),angle3D:-Math.PI/4+r()*(Math.PI/2),tiltAngle:r()*Math.PI,tiltAngleSpeed:.1+.3*r()}}function a(t,e,n,r){t.physics.x+=Math.cos(t.physics.angle2D)*t.physics.velocity,t.physics.y+=Math.sin(t.physics.angle2D)*t.physics.velocity,t.physics.z+=Math.sin(t.physics.angle3D)*t.physics.velocity,t.physics.wobble+=t.physics.wobbleSpeed,r?t.physics.velocity*=r:t.physics.velocity-=t.physics.velocity*n,t.physics.y+=3,t.physics.tiltAngle+=t.physics.tiltAngleSpeed;var i=t.physics,o=i.x,a=i.y,s=i.tiltAngle,l=i.wobble,c=o+10*Math.cos(l),u=a+10*Math.sin(l),f="translate3d("+c+"px, "+u+"px, 0) rotate3d(1, 1, 1, "+s+"rad)";t.element.style.visibility="visible",t.element.style.transform=f,t.element.style.opacity=1-e}function s(t,e,n,r,i,o){var s=void 0;return new Promise((function(l){function c(u){s||(s=u);var f=u-s,d=s===u?0:(u-s)/i;e.slice(0,Math.ceil(f/o)).forEach((function(t){a(t,d,n,r)})),u-s<i?requestAnimationFrame(c):(e.forEach((function(e){if(e.element.parentNode===t)return t.removeChild(e.element)})),l())}requestAnimationFrame(c)}))}var l={angle:90,spread:45,startVelocity:45,elementCount:50,width:"10px",height:"10px",colors:r,duration:3e3,stagger:0,dragFriction:.1,random:Math.random};function c(t){return!t.stagger&&t.delay&&(t.stagger=t.delay),t}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},l,c(e)),r=n.elementCount,a=n.colors,u=n.width,f=n.height,d=n.angle,h=n.spread,p=n.startVelocity,v=n.decay,g=n.dragFriction,m=n.duration,y=n.stagger,b=n.random,w=i(t,r,a,u,f),x=w.map((function(t){return{element:t,physics:o(d,h,p,b)}}));return s(t,x,g,v,m,y)}},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],f=u&&u.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},"6c51":function(t,e,n){"use strict";function r(t){this.getElement(t.element),this.x1=0,this.y1=0,this.name=t.name||!1,this.elToSetClassOn=t.elToSetClassOn||"body",this.direction=t.direction||"diagonal",this.customDirection=t.customDirection||{},this.validateInput("direction"),this.isPausedWhenNotInView=t.isPausedWhenNotInView||!1,this.states=t.states,this.stateTransitionSpeed=t.stateTransitionSpeed||1e3,this.previousTimeStamp=null,this.progress=0,this.isPaused=!1,this.isCleared=!1,this.isPausedBecauseNotInView=!1,this.context=this.canvas.getContext("2d"),this.channels={},this.channelsIndex=0,this.activeState=t.defaultStateName||"default-state",this.isChangingState=!1,this.currentColors=[],this.currentColorsPos=[],this.activetransitionSpeed=null,this.eventPolyfill(),this.scrollDebounceThreshold=t.scrollDebounceThreshold||300,this.scrollDebounceTimeout=null,this.isImgLoaded=!1,this.isCanvasInWindowView=!1,this.firstScrollInit=!0,this.animating=!1,this.gradientLength=this.states[this.activeState].gradients[0].length,t.image&&t.image.source&&(this.image={source:t.image.source,position:t.image.position||["center","center"],stretchMode:t.image.stretchMode||!1,blendingMode:t.image.blendingMode||!1}),this.events={start:new CustomEvent("granim:start"),end:new CustomEvent("granim:end"),gradientChange:function(t){return new CustomEvent("granim:gradientChange",{detail:{isLooping:t.isLooping,colorsFrom:t.colorsFrom,colorsTo:t.colorsTo,activeState:t.activeState},bubbles:!1,cancelable:!1})}},this.callbacks={onStart:"function"===typeof t.onStart&&t.onStart,onGradientChange:"function"===typeof t.onGradientChange&&t.onGradientChange,onEnd:"function"===typeof t.onEnd&&t.onEnd},this.getDimensions(),this.canvas.setAttribute("width",this.x1),this.canvas.setAttribute("height",this.y1),this.setColors(),this.image&&(this.validateInput("image"),this.prepareImage()),this.pauseWhenNotInViewNameSpace=this.pauseWhenNotInView.bind(this),this.setSizeAttributesNameSpace=this.setSizeAttributes.bind(this),this.onResize(),this.isPausedWhenNotInView?this.onScroll():this.image||(this.refreshColorsAndPos(),this.animation=requestAnimationFrame(this.animateColors.bind(this)),this.animating=!0),this.callbacks.onStart&&this.callbacks.onStart(),this.canvas.dispatchEvent(this.events.start)}r.prototype.animateColors=n("47e6"),r.prototype.changeBlendingMode=n("a495"),r.prototype.changeDirection=n("14f6"),r.prototype.changeState=n("12cb"),r.prototype.clear=n("4bd7"),r.prototype.convertColorToRgba=n("efb7"),r.prototype.destroy=n("6f44"),r.prototype.eventPolyfill=n("f543"),r.prototype.getColor=n("86b8"),r.prototype.getColorDiff=n("6d82"),r.prototype.getColorPos=n("678c"),r.prototype.getColorPosDiff=n("ab10"),r.prototype.getCurrentColors=n("1184"),r.prototype.getCurrentColorsPos=n("17bc"),r.prototype.getDimensions=n("b2c2"),r.prototype.getElement=n("278a"),r.prototype.getLightness=n("47be"),r.prototype.makeGradient=n("206f"),r.prototype.onResize=n("b77a"),r.prototype.onScroll=n("ccae"),r.prototype.pause=n("0660"),r.prototype.pauseWhenNotInView=n("35f5"),r.prototype.play=n("9b6c"),r.prototype.prepareImage=n("6b93"),r.prototype.refreshColorsAndPos=n("a833"),r.prototype.setColors=n("564d"),r.prototype.setDirection=n("4dca"),r.prototype.setSizeAttributes=n("720f"),r.prototype.triggerError=n("35c2"),r.prototype.validateInput=n("202e"),t.exports=r},"6d82":function(t,e,n){"use strict";t.exports=function(t,e){var n=0,r=[];for(n;n<4;n++)r.push(e[n]-t[n]);return r}},"6f44":function(t,e,n){"use strict";t.exports=function(){this.onResize("removeListeners"),this.onScroll("removeListeners"),this.clear()}},"71c1":function(t,e,n){var r=n("3a38"),i=n("25eb");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"720f":function(t,e,n){"use strict";t.exports=function(){this.getDimensions(),this.canvas.setAttribute("width",this.x1),this.canvas.setAttribute("height",this.y1),this.image&&this.prepareImage(),this.refreshColorsAndPos()}},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),l=n("626a"),c=Object.assign;t.exports=!c||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){var n=s(t),c=arguments.length,u=1,f=o.f,d=a.f;while(c>u){var h,p=l(arguments[u++]),v=f?i(p).concat(f(p)):i(p),g=v.length,m=0;while(g>m)h=v[m++],r&&!d.call(p,h)||(n[h]=p[h])}return n}:c},7397:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Tweet",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Moment",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Timeline",{enumerable:!0,get:function(){return o.default}});var r=a(n("8fea")),i=a(n("2f25")),o=a(n("f088"));function a(t){return t&&t.__esModule?t:{default:t}}},"744c":function(t,e,n){"use strict";(function(t){var r=n("7c76"),i={name:"VueFaqAccordion",components:{CollapseTransition:r["a"]},data:function(){return{activeTab:"",activeQuestionIndex:null,showAccordion:!0}},props:{items:{type:Array,required:!0},questionProperty:{type:String,default:"title"},answerProperty:{type:String,default:"value"},tabName:{type:String,default:"category"},activeColor:{type:String,default:"#D50000"},borderColor:{type:String,default:"#9E9E9E"},fontColor:{type:String,default:"#000000"},initialTab:{type:String,default:null},initialQuestionIndex:{type:Number,default:null}},computed:{categories:function(){var t=this,e=this.items.map((function(e){return e[t.tabName]})).filter((function(t,e,n){return n.indexOf(t)===e}));return this.activeTab=this.initialTab||e[0],this.activeQuestionIndex=this.initialQuestionIndex||null,e},categoryItems:function(){var t=this;return this.items.filter((function(e){return e[t.tabName]===t.activeTab}))},hasNavigation:function(){return!!this.categories[0]}},methods:{makeActive:function(t){this.activeQuestionIndex=this.activeQuestionIndex===t?null:t,this.$emit("itemSelect",{itemIndex:t})},generateButtonClasses:function(t){return["accordion__toggle-button",this.activeQuestionIndex===t?"accordion__toggle-button_active":null]},generateQuestionClasses:function(t){return["accordion__title",this.activeQuestionIndex===t?"accordion__title_active":null]},makeActiveCategory:function(t,e){var n=this;this.activeTab!==t&&(this.showAccordion=!1,this.activeTab=t,this.activeQuestionIndex=null,setTimeout((function(){n.$emit("categorySelect",{categoryIndex:e}),n.showAccordion=!0}),300))},generateCategoryClasses:function(t){return["faq__nav-item",this.activeTab===t?"faq__nav-item_active":null]}},mounted:function(){this.$refs.rootEl.style.setProperty("--active-color",this.activeColor),this.$refs.rootEl.style.setProperty("--border-color",this.borderColor),this.$refs.rootEl.style.setProperty("--font-color",this.fontColor)}};function o(t,e,n,r,i,o,a,s,l,c){"boolean"!==typeof a&&(l=s,s=a,a=!1);var u,f="function"===typeof n?n.options:n;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),r&&(f._scopeId=r),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},f._ssrRegister=u):e&&(u=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(f.functional){var d=f.render;f.render=function(t,e){return u.call(e),d(t,e)}}else{var h=f.beforeCreate;f.beforeCreate=h?[].concat(h,u):[u]}return n}var a,s="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function l(t){return function(t,e){return u(t,e)}}var c={};function u(t,e){var n=s?e.media||"default":t,r=c[n]||(c[n]={ids:new Set,styles:[]});if(!r.ids.has(t)){r.ids.add(t);var i=e.source;if(e.map&&(i+="\n/*# sourceURL="+e.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",e.media&&r.element.setAttribute("media",e.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(i),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var o=r.ids.size-1,l=document.createTextNode(i),u=r.element.childNodes;u[o]&&r.element.removeChild(u[o]),u.length?r.element.insertBefore(l,u[o]):r.element.appendChild(l)}}}var f=i,d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{ref:"rootEl",staticClass:"faq"},[n("div",{staticClass:"faq-wrapper"},[t.hasNavigation?n("nav",{staticClass:"faq__nav"},t._l(t.categories,(function(e,r){return n("div",{key:"category-"+r,class:t.generateCategoryClasses(e),domProps:{innerHTML:t._s(e)},on:{click:function(n){return t.makeActiveCategory(e,r)}}})})),0):t._e(),t._v(" "),n("transition",{attrs:{name:"accordion-fade-slide",mode:"out-in"}},[t.showAccordion?n("div",{staticClass:"accordion"},t._l(t.categoryItems,(function(e,r){return n("div",{key:"accordion-item-"+r,staticClass:"accordion__item"},[n("div",{class:t.generateQuestionClasses(r),on:{click:function(e){return t.makeActive(r)}}},[n("p",{staticClass:"accordion__title-text",domProps:{innerHTML:t._s(e[t.questionProperty])}}),t._v(" "),n("button",{class:t.generateButtonClasses(r)})]),t._v(" "),n("collapse-transition",[r===t.activeQuestionIndex?n("div",[n("div",{staticClass:"accordion__value"},[t._t("default",[n("div",{domProps:{innerHTML:t._s(e[t.answerProperty])}})],null,e)],2)]):t._e()])],1)})),0):t._e()])],1)])},h=[];d._withStripped=!0;var p=function(t){t&&t("data-v-5d9392b3_0",{source:'*[data-v-5d9392b3] {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\nbutton[data-v-5d9392b3] {\n border: none;\n background: none;\n outline: none;\n}\n.faq[data-v-5d9392b3] {\n width: 100%;\n padding: 0 10px;\n}\n.faq-wrapper[data-v-5d9392b3] {\n max-width: 825px;\n}\n.faq__title[data-v-5d9392b3] {\n text-align: center;\n margin-bottom: 25px;\n}\n.faq__nav[data-v-5d9392b3] {\n display: flex;\n justify-content: space-between;\n border: 2px solid var(--border-color);\n border-radius: 5px;\n}\n.faq__nav-item[data-v-5d9392b3] {\n height: 60px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n border-right: 2px solid var(--border-color);\n cursor: pointer;\n font-weight: 600;\n transition: all 0.3s;\n text-align: center;\n user-select: none;\n color: var(--font-color);\n}\n.faq__nav-item_active[data-v-5d9392b3] {\n color: var(--active-color);\n}\n.faq__nav-item[data-v-5d9392b3]:hover {\n color: var(--active-color);\n}\n.faq__nav-item[data-v-5d9392b3]:last-child {\n border-right: none;\n}\n.faq__accordion[data-v-5d9392b3] {\n min-height: 250px;\n}\n.accordion-fade-slide-enter-active[data-v-5d9392b3], .accordion-fade-slide-leave-active[data-v-5d9392b3] {\n transition: all 0.3s;\n}\n.accordion-fade-slide-enter[data-v-5d9392b3] {\n transform: translateY(-25px);\n opacity: 0;\n}\n.accordion-fade-slide-leave-to[data-v-5d9392b3] {\n transform: translateY(25px);\n opacity: 0;\n}\n.accordion[data-v-5d9392b3] {\n border: 2px solid var(--border-color);\n border-radius: 5px;\n margin-top: 15px;\n}\n.accordion__item[data-v-5d9392b3] {\n border-bottom: 2px solid var(--border-color);\n}\n.accordion__item[data-v-5d9392b3]:last-child {\n border-bottom: none;\n}\n.accordion__title[data-v-5d9392b3] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 25px;\n cursor: pointer;\n transition: all 0.3s;\n color: var(--font-color);\n}\n.accordion__title_active[data-v-5d9392b3] {\n color: var(--active-color);\n}\n.accordion__title[data-v-5d9392b3]:hover {\n color: var(--active-color);\n}\n.accordion__title:hover .accordion__toggle-button[data-v-5d9392b3]::before, .accordion__title:hover .accordion__toggle-button[data-v-5d9392b3]::after {\n background: var(--active-color);\n}\n.accordion__title-text[data-v-5d9392b3] {\n margin-right: 10px;\n}\n.accordion__value[data-v-5d9392b3] {\n padding: 0 25px 25px 25px;\n text-align: left;\n color: var(--font-color);\n}\n.accordion__toggle-button[data-v-5d9392b3] {\n position: relative;\n width: 16px;\n height: 16px;\n transition: all 0.3s;\n transform-origin: 50% 50%;\n padding-left: 16px;\n cursor: pointer;\n}\n.accordion__toggle-button[data-v-5d9392b3]::before, .accordion__toggle-button[data-v-5d9392b3]::after {\n content: "";\n position: absolute;\n left: 0;\n width: 100%;\n height: 2px;\n transition: all 0.3s;\n background: black;\n}\n.accordion__toggle-button[data-v-5d9392b3]::before {\n transform: rotate(90deg);\n}\n.accordion__toggle-button_active[data-v-5d9392b3] {\n transform: rotate(45deg);\n}\n.accordion__toggle-button_active[data-v-5d9392b3]::before, .accordion__toggle-button_active[data-v-5d9392b3]::after {\n background: var(--active-color);\n}\n\n/*# sourceMappingURL=vue-faq-accordion.vue.map */',map:{version:3,sources:["/Users/gerasimvol/Documents/Projects/Own/vue-faq-accordion/src/vue-faq-accordion.vue","vue-faq-accordion.vue"],names:[],mappings:"AAqMA;EACA,sBAAA;EACA,SAAA;EACA,UAAA;ACpMA;ADuMA;EACA,YAAA;EACA,gBAAA;EACA,aAAA;ACpMA;ADuMA;EACA,WAAA;EACA,eAAA;ACpMA;ADsMA;EACA,gBAAA;ACpMA;ADuMA;EACA,kBAAA;EACA,mBAAA;ACrMA;ADwMA;EACA,aAAA;EACA,8BAAA;EACA,qCAAA;EACA,kBAAA;ACtMA;ADyMA;EACA,YAAA;EACA,OAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;EACA,2CAAA;EACA,eAAA;EACA,gBAAA;EACA,oBAAA;EACA,kBAAA;EACA,iBAAA;EACA,wBAAA;ACvMA;ADyMA;EACA,0BAAA;ACvMA;AD0MA;EACA,0BAAA;ACxMA;AD2MA;EACA,kBAAA;ACzMA;AD6MA;EACA,iBAAA;AC3MA;ADgNA;EAEA,oBAAA;AC9MA;ADgNA;EACA,4BAAA;EACA,UAAA;AC9MA;ADgNA;EACA,2BAAA;EACA,UAAA;AC9MA;ADkNA;EACA,qCAAA;EACA,kBAAA;EACA,gBAAA;AC/MA;ADiNA;EACA,4CAAA;AC/MA;ADiNA;EACA,mBAAA;AC/MA;ADmNA;EACA,aAAA;EACA,8BAAA;EACA,mBAAA;EACA,aAAA;EACA,eAAA;EACA,oBAAA;EACA,wBAAA;ACjNA;ADmNA;EACA,0BAAA;ACjNA;ADoNA;EACA,0BAAA;AClNA;ADqNA;EAEA,+BAAA;ACpNA;ADyNA;EACA,kBAAA;ACvNA;AD2NA;EACA,yBAAA;EACA,gBAAA;EACA,wBAAA;ACzNA;AD4NA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;EACA,oBAAA;EACA,yBAAA;EACA,kBAAA;EACA,eAAA;AC1NA;AD4NA;EAEA,WAAA;EACA,kBAAA;EACA,OAAA;EACA,WAAA;EACA,WAAA;EACA,oBAAA;EACA,iBAAA;AC3NA;AD8NA;EACA,wBAAA;AC5NA;AD+NA;EACA,wBAAA;AC7NA;AD+NA;EAEA,+BAAA;AC9NA;;AAEA,gDAAgD",file:"vue-faq-accordion.vue",sourcesContent:['<template>\n<section class="faq" ref="rootEl">\n <div class="faq-wrapper">\n <nav v-if="hasNavigation" class="faq__nav">\n <div\n v-for="(category, i) in categories"\n :key="`category-${i}`"\n v-html="category"\n :class="generateCategoryClasses(category)"\n @click="makeActiveCategory(category, i)"\n ></div>\n </nav>\n\n <transition name="accordion-fade-slide" mode="out-in">\n <div v-if="showAccordion" class="accordion">\n <div\n class="accordion__item"\n v-for="(item, i) in categoryItems"\n :key="`accordion-item-${i}`"\n >\n <div :class="generateQuestionClasses(i)" @click="makeActive(i)">\n <p class="accordion__title-text" v-html="item[questionProperty]"></p>\n <button :class="generateButtonClasses(i)"></button>\n </div>\n <collapse-transition>\n <div v-if="i === activeQuestionIndex">\n <div class="accordion__value">\n <slot v-bind="item">\n <div v-html="item[answerProperty]"></div>\n </slot>\n </div>\n </div>\n </collapse-transition>\n </div>\n </div>\n </transition>\n </div>\n</section>\n</template>\n\n<script>\n import { CollapseTransition } from \'vue2-transitions\'\n\n export default {\n name: \'VueFaqAccordion\',\n\n components: {\n CollapseTransition\n },\n\n data () {\n return {\n activeTab: \'\',\n activeQuestionIndex: null,\n showAccordion: true\n }\n },\n\n props: {\n /**\n * Array of items\n * Object style {questionProperty: string, answerProperty: string, tabName: string}\n * You can change object keys names using other props (questionProperty, answerProperty, tabName)\n */\n items: {\n type: Array,\n required: true\n },\n /**\n * Key name of object in items array for specifying title of question\n */\n questionProperty: {\n type: String,\n default: \'title\'\n },\n /**\n * Key name of object in items array for specifying content text of open question\n */\n answerProperty: {\n type: String,\n default: \'value\'\n },\n /**\n * Key name of object in items array for specifying navigation tab name\n */\n tabName: {\n type: String,\n default: \'category\'\n },\n /**\n * Color for hover and active tab/question\n * possible values: \'red\', \'#F00\', \'rgb(255, 0, 0)\'\n */\n activeColor: {\n type: String,\n default: \'#D50000\'\n },\n /**\n * Color for borders\n */\n borderColor: {\n type: String,\n default: \'#9E9E9E\'\n },\n /**\n * Color for fonts\n */\n fontColor: {\n type: String,\n default: \'#000000\'\n },\n /**\n * Opened by default tabName (category)\n */\n initialTab: {\n type: String,\n default: null\n },\n /**\n * Opened by default question\n * All closed by default\n */\n initialQuestionIndex: {\n type: Number,\n default: null\n }\n },\n\n computed: {\n categories () {\n const uniqueCategories = this.items\n .map(item => item[this.tabName])\n .filter((category, index, categories) => categories.indexOf(category) === index)\n this.activeTab = this.initialTab || uniqueCategories[0]\n this.activeQuestionIndex = this.initialQuestionIndex || null\n return uniqueCategories\n },\n categoryItems () {\n return this.items\n .filter(item => item[this.tabName] === this.activeTab)\n },\n hasNavigation () {\n return !!this.categories[0]\n }\n },\n\n methods: {\n makeActive (itemIndex) {\n this.activeQuestionIndex = this.activeQuestionIndex === itemIndex ? null : itemIndex\n this.$emit(\'itemSelect\', { itemIndex })\n },\n generateButtonClasses (buttonIndex) {\n return [\n \'accordion__toggle-button\',\n this.activeQuestionIndex === buttonIndex\n ? \'accordion__toggle-button_active\'\n : null\n ]\n },\n generateQuestionClasses (questionIndex) {\n return [\n \'accordion__title\',\n this.activeQuestionIndex === questionIndex\n ? \'accordion__title_active\'\n : null\n ]\n },\n makeActiveCategory (category, categoryIndex) {\n if (this.activeTab === category) return\n\n this.showAccordion = false\n this.activeTab = category\n this.activeQuestionIndex = null\n setTimeout( () => {\n this.$emit(\'categorySelect\', { categoryIndex })\n this.showAccordion = true\n }, 300 )\n },\n generateCategoryClasses (category) {\n return [\n \'faq__nav-item\',\n this.activeTab === category\n ? \'faq__nav-item_active\'\n : null\n ]\n }\n },\n\n mounted () {\n this.$refs.rootEl.style.setProperty(\'--active-color\', this.activeColor)\n this.$refs.rootEl.style.setProperty(\'--border-color\', this.borderColor)\n this.$refs.rootEl.style.setProperty(\'--font-color\', this.fontColor)\n }\n }\n<\/script>\n\n<style lang="scss" scoped>\n * {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n }\n\n button {\n border: none;\n background: none;\n outline: none;\n }\n\n .faq {\n width: 100%;\n padding: 0 10px;\n\n &-wrapper {\n max-width: 825px;\n }\n\n &__title {\n text-align: center;\n margin-bottom: 25px;\n }\n\n &__nav {\n display: flex;\n justify-content: space-between;\n border: 2px solid var(--border-color);\n border-radius: 5px;\n }\n\n &__nav-item {\n height: 60px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n border-right: 2px solid var(--border-color);\n cursor: pointer;\n font-weight: 600;\n transition: all 0.3s;\n text-align: center;\n user-select: none;\n color: var(--font-color);\n\n &_active {\n color: var(--active-color);\n }\n\n &:hover {\n color: var(--active-color);\n }\n\n &:last-child {\n border-right: none;\n }\n }\n\n &__accordion {\n min-height: 250px;\n }\n }\n\n .accordion-fade-slide {\n &-enter-active,\n &-leave-active {\n transition: all 0.3s;\n }\n &-enter {\n transform: translateY(-25px);\n opacity: 0;\n }\n &-leave-to {\n transform: translateY(25px);\n opacity: 0;\n }\n }\n\n .accordion {\n border: 2px solid var(--border-color);\n border-radius: 5px;\n margin-top: 15px;\n\n &__item {\n border-bottom: 2px solid var(--border-color);\n\n &:last-child {\n border-bottom: none;\n }\n }\n\n &__title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 25px;\n cursor: pointer;\n transition: all 0.3s;\n color: var(--font-color);\n\n &_active {\n color: var(--active-color);\n }\n\n &:hover {\n color: var(--active-color);\n\n .accordion__toggle-button {\n &::before,\n &::after {\n background: var(--active-color);\n }\n }\n }\n\n &-text {\n margin-right: 10px;\n }\n }\n\n &__value {\n padding: 0 25px 25px 25px;\n text-align: left;\n color: var(--font-color);\n }\n\n &__toggle-button {\n position: relative;\n width: 16px;\n height: 16px;\n transition: all 0.3s;\n transform-origin: 50% 50%;\n padding-left: 16px;\n cursor: pointer;\n\n &::before,\n &::after {\n content: \'\';\n position: absolute;\n left: 0;\n width: 100%;\n height: 2px;\n transition: all 0.3s;\n background: black;\n }\n\n &::before {\n transform: rotate(90deg);\n }\n\n &_active {\n transform: rotate(45deg);\n\n &::before,\n &::after {\n background: var(--active-color);\n }\n }\n }\n }\n</style>\n','* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\nbutton {\n border: none;\n background: none;\n outline: none;\n}\n\n.faq {\n width: 100%;\n padding: 0 10px;\n}\n.faq-wrapper {\n max-width: 825px;\n}\n.faq__title {\n text-align: center;\n margin-bottom: 25px;\n}\n.faq__nav {\n display: flex;\n justify-content: space-between;\n border: 2px solid var(--border-color);\n border-radius: 5px;\n}\n.faq__nav-item {\n height: 60px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n border-right: 2px solid var(--border-color);\n cursor: pointer;\n font-weight: 600;\n transition: all 0.3s;\n text-align: center;\n user-select: none;\n color: var(--font-color);\n}\n.faq__nav-item_active {\n color: var(--active-color);\n}\n.faq__nav-item:hover {\n color: var(--active-color);\n}\n.faq__nav-item:last-child {\n border-right: none;\n}\n.faq__accordion {\n min-height: 250px;\n}\n\n.accordion-fade-slide-enter-active, .accordion-fade-slide-leave-active {\n transition: all 0.3s;\n}\n.accordion-fade-slide-enter {\n transform: translateY(-25px);\n opacity: 0;\n}\n.accordion-fade-slide-leave-to {\n transform: translateY(25px);\n opacity: 0;\n}\n\n.accordion {\n border: 2px solid var(--border-color);\n border-radius: 5px;\n margin-top: 15px;\n}\n.accordion__item {\n border-bottom: 2px solid var(--border-color);\n}\n.accordion__item:last-child {\n border-bottom: none;\n}\n.accordion__title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 25px;\n cursor: pointer;\n transition: all 0.3s;\n color: var(--font-color);\n}\n.accordion__title_active {\n color: var(--active-color);\n}\n.accordion__title:hover {\n color: var(--active-color);\n}\n.accordion__title:hover .accordion__toggle-button::before, .accordion__title:hover .accordion__toggle-button::after {\n background: var(--active-color);\n}\n.accordion__title-text {\n margin-right: 10px;\n}\n.accordion__value {\n padding: 0 25px 25px 25px;\n text-align: left;\n color: var(--font-color);\n}\n.accordion__toggle-button {\n position: relative;\n width: 16px;\n height: 16px;\n transition: all 0.3s;\n transform-origin: 50% 50%;\n padding-left: 16px;\n cursor: pointer;\n}\n.accordion__toggle-button::before, .accordion__toggle-button::after {\n content: "";\n position: absolute;\n left: 0;\n width: 100%;\n height: 2px;\n transition: all 0.3s;\n background: black;\n}\n.accordion__toggle-button::before {\n transform: rotate(90deg);\n}\n.accordion__toggle-button_active {\n transform: rotate(45deg);\n}\n.accordion__toggle-button_active::before, .accordion__toggle-button_active::after {\n background: var(--active-color);\n}\n\n/*# sourceMappingURL=vue-faq-accordion.vue.map */']},media:void 0})},v="data-v-5d9392b3",g=void 0,m=!1,y=o({render:d,staticRenderFns:h},p,f,v,m,g,!1,l,void 0,void 0);function b(t){b.installed||(b.installed=!0,t.component("VueFaqAccordion",y))}var w={install:b},x=null;"undefined"!==typeof window?x=window.Vue:"undefined"!==typeof t&&(x=t.Vue),x&&x.use(w),e["a"]=y}).call(this,n("c8ba"))},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"78ce":function(t,e,n){var r=n("5ca1");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a0f":function(t,e,n){},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},"7c76":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));
  13. /*!
  14. * vue2-transitions v0.3.0
  15. * (c) 2019-present cristij <joracristi@gmail.com>
  16. * Released under the MIT License.
  17. */
  18. var r={inheritAttrs:!1,props:{duration:{type:[Number,Object],default:300},delay:{type:[Number,Object],default:0},group:Boolean,tag:{type:String,default:"span"},origin:{type:String,default:""},styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"ease-out"}}}},computed:{componentType:function(){return this.group?"transition-group":"transition"},hooks:function(){return Object.assign({beforeEnter:this.beforeEnter,afterEnter:this.cleanUpStyles,beforeLeave:this.beforeLeave,leave:this.leave,afterLeave:this.cleanUpStyles},this.$listeners)}},methods:{beforeEnter:function(t){var e=this.duration.enter?this.duration.enter:this.duration;t.style.animationDuration=e+"ms";var n=this.delay.enter?this.delay.enter:this.delay;t.style.animationDelay=n+"ms",this.setStyles(t)},cleanUpStyles:function(t){var e=this;Object.keys(this.styles).forEach((function(n){var r=e.styles[n];r&&(t.style[n]="")})),t.style.animationDuration="",t.style.animationDelay=""},beforeLeave:function(t){var e=this.duration.leave?this.duration.leave:this.duration;t.style.animationDuration=e+"ms";var n=this.delay.leave?this.delay.leave:this.delay;t.style.animationDelay=n+"ms",this.setStyles(t)},leave:function(t){this.setAbsolutePosition(t)},setStyles:function(t){var e=this;this.setTransformOrigin(t),Object.keys(this.styles).forEach((function(n){var r=e.styles[n];r&&(t.style[n]=r)}))},setAbsolutePosition:function(t){return this.group&&(t.style.position="absolute"),this},setTransformOrigin:function(t){return this.origin&&(t.style.transformOrigin=this.origin),this}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=" @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fadeIn { animation-name: fadeIn; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .fadeOut { animation-name: fadeOut; } .fade-move { transition: transform .3s ease-out; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"fadeIn","move-class":"fade-move","leave-active-class":"fadeOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"fade-transition",mixins:[r]};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".zoom-move { transition: transform .3s ease-out; } @keyframes zoomIn { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } .zoomIn { animation-name: zoomIn; } @keyframes zoomOut { from { opacity: 1; } 50% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } to { opacity: 0; } } .zoomOut { animation-name: zoomOut; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"zoomIn","move-class":"zoom-move","leave-active-class":"zoomOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"zoom-center-transition",mixins:[r]};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".zoom-move { transition: transform .3s ease-out; } @keyframes zoomInX { from { opacity: 0; transform: scaleX(0); } 50% { opacity: 1; } } .zoomInX { animation-name: zoomInX; } @keyframes zoomOutX { from { opacity: 1; } 50% { opacity: 0; transform: scaleX(0); } to { opacity: 0; } } .zoomOutX { animation-name: zoomOutX; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"zoomInX","move-class":"zoom-move","leave-active-class":"zoomOutX"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"zoom-x-transition",props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.55,0,.1,1)"}}}},mixins:[r]};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".zoom-move { transition: transform .3s ease-out; } @keyframes zoomInY { from { opacity: 0; transform: scaleY(0); } 50% { opacity: 1; tranform: scaleY(1); } } .zoomInY { animation-name: zoomInY; } @keyframes zoomOutY { from { opacity: 1; } 50% { opacity: 0; transform: scaleY(0); } to { opacity: 0; } } .zoomOutY { animation-name: zoomOutY; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"zoomInY","move-class":"zoom-move","leave-active-class":"zoomOutY"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"zoom-y-transition",mixins:[r],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.55,0,.1,1)"}}}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=" .collapse-move { transition: transform .3s ease-in-out; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"move-class":"collapse-move"},on:{"before-enter":t.beforeEnter,"after-enter":t.afterEnter,enter:t.enter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},"component",t.$attrs,!1),t.$listeners),[t._t("default")],2)},staticRenderFns:[],name:"collapse-transition",mixins:[r],methods:{transitionStyle:function(t){void 0===t&&(t=300);var e=t/1e3,n=e+"s height ease-in-out, "+e+"s padding-top ease-in-out, "+e+"s padding-bottom ease-in-out";return n},beforeEnter:function(t){var e=this.duration.enter?this.duration.enter:this.duration;t.style.transition=this.transitionStyle(e),t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height="0",t.style.paddingTop=0,t.style.paddingBottom=0,this.setStyles(t)},enter:function(t){t.dataset.oldOverflow=t.style.overflow,0!==t.scrollHeight?(t.style.height=t.scrollHeight+"px",t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom):(t.style.height="",t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom),t.style.overflow="hidden"},afterEnter:function(t){t.style.transition="",t.style.height="",t.style.overflow=t.dataset.oldOverflow},beforeLeave:function(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.height=t.scrollHeight+"px",t.style.overflow="hidden",this.setStyles(t)},leave:function(t){var e=this.duration.leave?this.duration.leave:this.duration;0!==t.scrollHeight&&(t.style.transition=this.transitionStyle(e),t.style.height=0,t.style.paddingTop=0,t.style.paddingBottom=0),this.setAbsolutePosition(t)},afterLeave:function(t){t.style.transition="",t.style.height="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=" @keyframes scaleIn { from { opacity: 0; transform: scale(0) } to { opacity: 1; } } .scaleIn { animation-name: scaleIn; } @keyframes scaleOut { from { opacity: 1; } to { opacity: 0; transform: scale(0); } } .scaleOut { animation-name: scaleOut; } .scale-move { transition: transform .3s cubic-bezier(.25, .8, .50, 1); } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"scaleIn","move-class":"scale-move","leave-active-class":"scaleOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"scale-transition",mixins:[r],props:{origin:{type:String,default:"top left"},styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideYIn { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; } } .slideYIn { animation-name: slideYIn; } @keyframes slideYOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-15px); } } .slideYOut { animation-name: slideYOut; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var u={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,type:"animation","enter-active-class":"slideYIn","move-class":"slide-move","leave-active-class":"slideYOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"slide-y-up-transition",mixins:[r],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideYDownIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; } } .slideYDownIn { animation-name: slideYDownIn; } @keyframes slideYDownOut { from { opacity: 1; } to { opacity: 0; transform: translateY(15px); } } .slideYDownOut { animation-name: slideYDownOut; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var f={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"slideYDownIn","leave-active-class":"slideYDownOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"slide-y-down-transition",mixins:[r],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideXLeftIn { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; } } .slideXLeftIn { animation-name: slideXLeftIn; } @keyframes slideXLeftOut { from { opacity: 1; } to { opacity: 0; transform: translateX(-15px); } } .slideXLeftOut { animation-name: slideXLeftOut; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var d={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"slideXLeftIn","move-class":"slide-move","leave-active-class":"slideXLeftOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"slide-x-left-transition",mixins:[r],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),n=".slide-move { transition: transform .3s; } @keyframes slideXRightIn { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; } } .slideXRightIn { animation-name: slideXRightIn; } @keyframes slideXRightOut { from { opacity: 1; } to { opacity: 0; transform: translateX(15px); } } .slideXRightOut { animation-name: slideXRightOut; } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),t.appendChild(e)}})();var h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.componentType,t._g(t._b({tag:"component",attrs:{tag:t.tag,"enter-active-class":"slideXRightIn","move-class":"slide-move","leave-active-class":"slideXRightOut"}},"component",t.$attrs,!1),t.hooks),[t._t("default")],2)},staticRenderFns:[],name:"slide-x-right-transition",mixins:[r],props:{styles:{type:Object,default:function(){return{animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}}}}},p={};function v(t,e){e&&e.components?e.components.forEach((function(e){return t.component(e.name,p[e.name])})):Object.keys(p).forEach((function(e){t.component(e,p[e])}))}p[i.name]=i,p[o.name]=o,p[a.name]=a,p[s.name]=s,p[l.name]=l,p[c.name]=c,p[u.name]=u,p[f.name]=f,p[d.name]=d,p[h.name]=h,"undefined"!==typeof window&&window.Vue&&window.Vue.use({install:v})},"7cd6":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,l=0;while(s>l)r.f(t,n=a[l++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("2d95")(a);t.exports=function(){var t,e,n,c=function(){var r,i;l&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"845f":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=97)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},97:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-button-group"},[t._t("default")],2)},i=[];r._withStripped=!0;var o={name:"ElButtonGroup"},a=o,s=n(0),l=Object(s["a"])(a,r,i,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var c=l.exports;c.install=function(t){t.component(c.name,c)};e["default"]=c}})},"84f2":function(t,e){t.exports={}},"86b8":function(t,e,n){"use strict";t.exports=function(t){return"string"===typeof t?t:"object"===typeof t&&t.color?t.color:void this.triggerError("gradient.color")}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"8f94":function(t,e,n){!function(e,r){t.exports=r(n("56b3"))}(0,(function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=3)}([function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=function(t){return t&&t.__esModule?t:{default:t}}(r),o=window.CodeMirror||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},writable:!0,configurable:!0}),e.default={name:"codemirror",data:function(){return{content:"",codemirror:null,cminstance:null}},props:{code:String,value:String,marker:Function,unseenLines:Array,name:{type:String,default:"codemirror"},placeholder:{type:String,default:""},merge:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{}}},globalEvents:{type:Array,default:function(){return[]}}},watch:{options:{deep:!0,handler:function(t){for(var e in t)this.cminstance.setOption(e,t[e])}},merge:function(){this.$nextTick(this.switchMerge)},code:function(t){this.handerCodeChange(t)},value:function(t){this.handerCodeChange(t)}},methods:{initialize:function(){var t=this,e=Object.assign({},this.globalOptions,this.options);this.merge?(this.codemirror=o.MergeView(this.$refs.mergeview,e),this.cminstance=this.codemirror.edit):(this.codemirror=o.fromTextArea(this.$refs.textarea,e),this.cminstance=this.codemirror,this.cminstance.setValue(this.code||this.value||this.content)),this.cminstance.on("change",(function(e){t.content=e.getValue(),t.$emit&&t.$emit("input",t.content)}));var n={};["scroll","changes","beforeChange","cursorActivity","keyHandled","inputRead","electricInput","beforeSelectionChange","viewportChange","swapDoc","gutterClick","gutterContextMenu","focus","blur","refresh","optionChange","scrollCursorIntoView","update"].concat(this.events).concat(this.globalEvents).filter((function(t){return!n[t]&&(n[t]=!0)})).forEach((function(e){t.cminstance.on(e,(function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t.$emit.apply(t,[e].concat(r));var o=e.replace(/([A-Z])/g,"-$1").toLowerCase();o!==e&&t.$emit.apply(t,[o].concat(r))}))})),this.$emit("ready",this.codemirror),this.unseenLineMarkers(),this.refresh()},refresh:function(){var t=this;this.$nextTick((function(){t.cminstance.refresh()}))},destroy:function(){var t=this.cminstance.doc.cm.getWrapperElement();t&&t.remove&&t.remove()},handerCodeChange:function(t){if(t!==this.cminstance.getValue()){var e=this.cminstance.getScrollInfo();this.cminstance.setValue(t),this.content=t,this.cminstance.scrollTo(e.left,e.top)}this.unseenLineMarkers()},unseenLineMarkers:function(){var t=this;void 0!==this.unseenLines&&void 0!==this.marker&&this.unseenLines.forEach((function(e){var n=t.cminstance.lineInfo(e);t.cminstance.setGutterMarker(e,"breakpoints",n.gutterMarkers?null:t.marker())}))},switchMerge:function(){var t=this.cminstance.doc.history,e=this.cminstance.doc.cleanGeneration;this.options.value=this.cminstance.getValue(),this.destroy(),this.initialize(),this.cminstance.doc.history=t,this.cminstance.doc.cleanGeneration=e}},mounted:function(){this.initialize()},beforeDestroy:function(){this.destroy()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n.n(r);for(var o in r)["default","default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(5),s=n(4),l=s(i.a,a.a,!1,null,null,null);e.default=l.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.codemirror=e.CodeMirror=void 0;var i=n(0),o=r(i),a=n(2),s=r(a),l=window.CodeMirror||o.default,c=function(t,e){e&&(e.options&&(s.default.props.globalOptions.default=function(){return e.options}),e.events&&(s.default.props.globalEvents.default=function(){return e.events})),t.component(s.default.name,s.default)},u={CodeMirror:l,codemirror:s.default,install:c};e.default=u,e.CodeMirror=l,e.codemirror=s.default,e.install=c},function(t,e){t.exports=function(t,e,n,r,i,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=r),c){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-codemirror",class:{merge:t.merge}},[t.merge?n("div",{ref:"mergeview"}):n("textarea",{ref:"textarea",attrs:{name:t.name,placeholder:t.placeholder}})])},i=[],o={render:r,staticRenderFns:i};e.a=o}])}))},"8fea":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("44d8"),i=(0,r.twitterEmbedComponent)({embedComponent:function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(e=t.widgets).createTweetEmbed.apply(e,r)},props:{errorMessage:{type:String,default:"Whoops! We couldn't access this Tweet."},errorMessageClass:{type:String,required:!1},widgetClass:{type:String,required:!1}}}),o=i;e.default=o},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9138:function(t,e,n){t.exports=n("35e8")},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(N){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),s=new M(r||[]);return i(a,"_invoke",{value:k(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(N){return{type:"throw",arg:N}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",g={};function m(){}function y(){}function b(){}var w={};c(w,a,(function(){return this}));var x=Object.getPrototypeOf,C=x&&x(x(E([])));C&&C!==n&&r.call(C,a)&&(w=C);var _=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(i,o,a,s){var l=f(t[i],t,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"===typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var o;function a(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}i(this,"_invoke",{value:a})}function k(t,e,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return P()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=f(t,e,n);if("normal"===l.type){if(r=n.done?v:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=v,n.method="throw",n.arg=l.arg)}}}function T(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator["return"]&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(t){if(null!=t){var n=t[a];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){while(++i<t.length)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}function P(){return{value:e,done:!0}}return y.prototype=b,i(_,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},S(A.prototype),c(A.prototype,s,(function(){return this})),t.AsyncIterator=A,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new A(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(_),c(_,l,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){while(n.length){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=E,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:E(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9b6c":function(t,e,n){"use strict";t.exports=function(t){var e="isPlayedBecauseInView"===t;e||(this.isPaused=!1),this.isCleared=!1,this.animating||(this.animation=requestAnimationFrame(this.animateColors.bind(this)),this.animating=!0)}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},l="prototype",c=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),c=t.F;while(r--)delete c[l][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},a22a:function(t,e,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),a=n("e4ae"),s=n("b447"),l=n("7cd6"),c={},u={};e=t.exports=function(t,e,n,f,d){var h,p,v,g,m=d?function(){return t}:l(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(h=s(t.length);h>b;b++)if(g=e?y(a(p=t[b])[0],p[1]):y(t[b]),g===c||g===u)return g}else for(v=m.call(t);!(p=v.next()).done;)if(g=i(v,y,p.value,e),g===c||g===u)return g};e.BREAK=c,e.RETURN=u},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a495:function(t,e,n){"use strict";t.exports=function(t){this.context.clearRect(0,0,this.x1,this.y1),this.context.globalCompositeOperation=this.image.blendingMode=t,this.validateInput("blendingMode"),this.isPaused&&this.refreshColorsAndPos()}},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},a7be:function(t,e,n){},a833:function(t,e,n){"use strict";t.exports=function(t){var e,n,r,i,o=this;for(r=0;r<this.activeColors.length;r++){for(i=0;i<4;i++)e=o.activeColors[r][i]+(3!==i?Math.ceil(o.activeColorsDiff[r][i]/100*t):Math.round(o.activeColorsDiff[r][i]/100*t*100)/100),e<=255&&e>=0&&(o.currentColors[r][i]=e);n=parseFloat((o.activeColorsPos[r]+o.activeColorsPosDiff[r]/100*t).toFixed(4)),n<=1&&n>=0&&(o.currentColorsPos[r]=n)}this.makeGradient()}},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o((function(){return!!a[t]()||l[t]()!=l})),c=i[t]=s?e(d):a[t];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},d=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=f},ab10:function(t,e,n){"use strict";t.exports=function(t,e){return e-t}},aba2:function(t,e,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("6b4c")(a);t.exports=function(){var t,e,n,c=function(){var r,i;l&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),f=c("toStringTag"),d=l.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(h),v=0;v<p.length;v++){var g,m=p[v],y=h[m],b=a[m],w=b&&b.prototype;if(w&&(w[u]||s(w,u,d),w[f]||s(w,f,m),l[m]=d,y))for(g in r)w[g]||o(w,g,r[g],!0)}},ae26:function(t,e,n){},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0dc:function(t,e,n){var r=n("e4ae");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t["return"];throw void 0!==o&&r(o.call(t)),a}}},b2c2:function(t,e,n){"use strict";t.exports=function(){this.x1=this.canvas.offsetWidth,this.y1=this.canvas.offsetHeight}},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b77a:function(t,e,n){"use strict";t.exports=function(t){"removeListeners"!==t?window.addEventListener("resize",this.setSizeAttributesNameSpace):window.removeEventListener("resize",this.setSizeAttributesNameSpace)}},b8e3:function(t,e){t.exports=!0},bc13:function(t,e,n){var r=n("e53d"),i=r.navigator;t.exports=i&&i.userAgent||""},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c207:function(t,e){},c259:function(t,e,n){"use strict";var r=n("d138"),i=e.utils={$:function(t){return document.querySelector(t)},on:function(t,e,n){e instanceof Array||(e=[e]);for(var r=0;r<e.length;r++)t.addEventListener(e[r],n)},off:function(t,e,n){e instanceof Array||(e=[e]);for(var r=0;r<e.length;r++)t.removeEventListener(e[r],n)}};e.install=function(t){function n(t){t.preventDefault(),"object"===typeof this.value?e.scrollTo(this.value.el||this.value.element,this.value.duration||500,{easing:("string"===typeof this.value.easing?e.easing[this.value.easing]:this.value.easing)||e.easing["ease"],offset:this.value.offset||0,onDone:this.value.onDone,onCancel:this.value.onCancel}):e.scrollTo(this.value,500,{easing:e.easing["ease"]})}t.directive("scroll-to",{bind:function(t,e){i.on(t,"click",n.bind(e))},unbind:function(t){i.off(t,"click",n)}})},e.scrollTo=function(t,e,n){"string"===typeof t&&(t=i.$(t));var o=i.$("html, body"),a=["scroll","mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],s=!1,l=function(){s=!0};i.on(o,a,l);var c=window.pageYOffset,u=c+t.getBoundingClientRect().top,f=document.body.scrollHeight-u<window.innerHeight?document.body.scrollHeight-window.innerHeight:u;n.offset&&(f+=n.offset);var d,h=f-c,p=r.apply(r,n.easing),v=function(){i.off(o,a,l),s&&n.onCancel&&n.onCancel(),!s&&n.onDone&&n.onDone()};h&&window.requestAnimationFrame((function t(n){if(s)return v();d||(d=n);var r=n-d,i=Math.min(r/e,1);i=p(i),window.scrollTo(0,c+h*i),r<e?window.requestAnimationFrame(t):v()}))},e.easing={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]}},c2cc:function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=140)}({140:function(t,e,n){"use strict";n.r(e);var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){var t=this.$parent;while(t&&"ElRow"!==t.$options.componentName)t=t.$parent;return t?t.gutter:0}},render:function(t){var e=this,n=[],i={};return this.gutter&&(i.paddingLeft=this.gutter/2+"px",i.paddingRight=i.paddingLeft),["span","offset","pull","push"].forEach((function(t){(e[t]||0===e[t])&&n.push("span"!==t?"el-col-"+t+"-"+e[t]:"el-col-"+e[t])})),["xs","sm","md","lg","xl"].forEach((function(t){if("number"===typeof e[t])n.push("el-col-"+t+"-"+e[t]);else if("object"===r(e[t])){var i=e[t];Object.keys(i).forEach((function(e){n.push("span"!==e?"el-col-"+t+"-"+e+"-"+i[e]:"el-col-"+t+"-"+i[e])}))}})),t(this.tag,{class:["el-col",n],style:i},this.$slots.default)},install:function(t){t.component(i.name,i)}};e["default"]=i}})},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),u=o(a,c);if(t&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),a=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),a=n("5dbc"),s=n("6a99"),l=n("79e5"),c=n("9093").f,u=n("11e9").f,f=n("86cc").f,d=n("aa77").trim,h="Number",p=r[h],v=p,g=p.prototype,m=o(n("2aeb")(g))==h,y="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():d(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,l=e.slice(2),c=0,u=l.length;c<u;c++)if(a=l.charCodeAt(c),a<48||a>i)return NaN;return parseInt(l,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?l((function(){g.valueOf.call(n)})):o(n)!=h)?a(new v(b(e)),n,p):b(e)};for(var w,x=n("9e1e")?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;x.length>C;C++)i(v,w=x[C])&&!i(p,w)&&f(p,w,u(v,w));p.prototype=g,g.constructor=p,n("2aba")(r,h,p)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ccae:function(t,e,n){"use strict";t.exports=function(t){"removeListeners"!==t?(window.addEventListener("scroll",this.pauseWhenNotInViewNameSpace),this.pauseWhenNotInViewNameSpace()):window.removeEventListener("scroll",this.pauseWhenNotInViewNameSpace)}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},cd78:function(t,e,n){var r=n("e4ae"),i=n("f772"),o=n("656e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);while(e.length>l)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},d138:function(t,e){var n=4,r=.001,i=1e-7,o=10,a=11,s=1/(a-1),l="function"===typeof Float32Array;function c(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function f(t){return 3*t}function d(t,e,n){return((c(e,n)*t+u(e,n))*t+f(e))*t}function h(t,e,n){return 3*c(e,n)*t*t+2*u(e,n)*t+f(e)}function p(t,e,n,r,a){var s,l,c=0;do{l=e+(n-e)/2,s=d(l,r,a)-t,s>0?n=l:e=l}while(Math.abs(s)>i&&++c<o);return l}function v(t,e,r,i){for(var o=0;o<n;++o){var a=h(e,r,i);if(0===a)return e;var s=d(e,r,i)-t;e-=s/a}return e}function g(t){return t}t.exports=function(t,e,n,i){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&n===i)return g;for(var o=l?new Float32Array(a):new Array(a),c=0;c<a;++c)o[c]=d(c*s,t,n);function u(e){for(var i=0,l=1,c=a-1;l!==c&&o[l]<=e;++l)i+=s;--l;var u=(e-o[l])/(o[l+1]-o[l]),f=i+u*s,d=h(f,t,n);return d>=r?v(e,f,t,n):0===d?f:p(e,i,i+s,t,n)}return function(t){return 0===t?0:1===t?1:d(u(t),e,i)}}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),a=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e05f:function(t,e,n){},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);while(e.length>l)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},eedf:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=96)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},96:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"el-button",class:[t.type?"el-button--"+t.type:"",t.buttonSize?"el-button--"+t.buttonSize:"",{"is-disabled":t.buttonDisabled,"is-loading":t.loading,"is-plain":t.plain,"is-round":t.round,"is-circle":t.circle}],attrs:{disabled:t.buttonDisabled||t.loading,autofocus:t.autofocus,type:t.nativeType},on:{click:t.handleClick}},[t.loading?n("i",{staticClass:"el-icon-loading"}):t._e(),t.icon&&!t.loading?n("i",{class:t.icon}):t._e(),t.$slots.default?n("span",[t._t("default")],2):t._e()])},i=[];r._withStripped=!0;var o={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(t){this.$emit("click",t)}}},a=o,s=n(0),l=Object(s["a"])(a,r,i,!1,null,null,null);l.options.__file="packages/button/src/button.vue";var c=l.exports;c.install=function(t){t.component(c.name,c)};e["default"]=c}})},efb7:function(t,e,n){"use strict";var r,i={hexa:/^#(?:[0-9a-fA-F]{3}){1,2}$/,rgba:/^rgba\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3}), ?(.?\d{1,3})\)$/,rgb:/^rgb\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3})\)$/,hsla:/^hsla\((\d{1,3}), ?(\d{1,3})%, ?(\d{1,3})%, ?(.?\d{1,3})\)$/,hsl:/^hsl\((\d{1,3}), ?(\d{1,3})%, ?(\d{1,3})%\)$/};function o(t){var e=Object.keys(i),n=0;for(n;n<e.length;n++)if(r=i[e[n]].exec(t),r)return e[n];return!1}function a(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,(function(t,e,n,r){return e+e+n+n+r+r}));var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16),1]:null}function s(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r){var i,o,a,l,c;return 0===e?i=o=a=n:(l=n<.5?n*(1+e):n+e-n*e,c=2*n-l,i=s(c,l,t+1/3),o=s(c,l,t),a=s(c,l,t-1/3)),[Math.round(255*i),Math.round(255*o),Math.round(255*a),r]}t.exports=function(t){switch(o(t)){default:this.triggerError("colorType");case"hexa":return a(t);case"rgba":return[parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10),parseFloat(r[4])];case"rgb":return[parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10),1];case"hsla":return l(parseInt(r[1],10)/360,parseInt(r[2],10)/100,parseInt(r[3],10)/100,parseFloat(r[4]));case"hsl":return l(parseInt(r[1],10)/360,parseInt(r[2],10)/100,parseInt(r[3],10)/100,1)}}},f088:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("44d8"),i=(0,r.twitterEmbedComponent)({embedComponent:function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(e=t.widgets).createTimeline.apply(e,r)},props:{errorMessage:{type:String,default:"Whoops! We couldn't access this Timeline."},errorMessageClass:{type:String,required:!1},widgetClass:{type:String,required:!1}}}),o=i;e.default=o},f201:function(t,e,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},f3e2:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(0),o=n("2f21")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},f4f9:function(t,e,n){},f543:function(t,e,n){"use strict";t.exports=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!==typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)}},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
  19. //# sourceMappingURL=chunk-vendors.c7583f32.js.map