java-mall-admin/admin/static/js/chunk-19648027.6233a553.js
2025-09-22 11:02:52 +08:00

147 lines
4.8 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* build: xiaofa-admin
* copyright: https://www.lancerdt.com
* time: 2025-9-22 11:00:41
*/
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19648027"],{"00fd":function(e,t,n){var r=n("9e69"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=l},"0366":function(e,t,n){"use strict";var r=n("4625"),i=n("59ed"),o=n("40d5"),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"0b25":function(e,t,n){"use strict";var r=n("5926"),i=n("50c4"),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw new o("Wrong length or index");return n}},1146:function(e,t,n){(function(r,i,o){/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var a={};function s(t){t.version="0.17.5";var a=1200,s=1252;"undefined"===typeof cptable&&("undefined"!==typeof r?r.cptable=n("2244"):"undefined"!==typeof window&&(window.cptable=n("2244")));for(var l=[874,932,936,949,950],u=0;u<=8;++u)l.push(1250+u);var c={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},f=function(e){-1!=l.indexOf(e)&&(s=c[0]=e)};function h(){f(1252)}var d=function(e){a=e,f(e)};function p(){d(1200),h()}function g(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}function v(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}function y(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var m=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?v(e.slice(2)):254==t&&255==n?y(e.slice(2)):65279==t?e.slice(1):e},b=function(e){return String.fromCharCode(e)},_=function(e){return String.fromCharCode(e)};"undefined"!==typeof cptable&&(d=function(e){a=e,f(e)},m=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?cptable.utils.decode(1200,g(e.slice(2))):e},b=function(e){return 1200===a?String.fromCharCode(e):cptable.utils.decode(a,[255&e,e>>8])[0]},_=function(e){return cptable.utils.decode(s,[e])[0]});var x=null,w=!0,S=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(t){for(var n="",r=0,i=0,o=0,a=0,s=0,l=0,u=0,c=0;c<t.length;)r=t.charCodeAt(c++),a=r>>2,i=t.charCodeAt(c++),s=(3&r)<<4|i>>4,o=t.charCodeAt(c++),l=(15&i)<<2|o>>6,u=63&o,isNaN(i)?l=u=64:isNaN(o)&&(u=64),n+=e.charAt(a)+e.charAt(s)+e.charAt(l)+e.charAt(u);return n},decode:function(t){var n="",r=0,i=0,o=0,a=0,s=0,l=0,u=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)a=e.indexOf(t.charAt(c++)),s=e.indexOf(t.charAt(c++)),r=a<<2|s>>4,n+=String.fromCharCode(r),l=e.indexOf(t.charAt(c++)),i=(15&s)<<4|l>>2,64!==l&&(n+=String.fromCharCode(i)),u=e.indexOf(t.charAt(c++)),o=(3&l)<<6|u,64!==u&&(n+=String.fromCharCode(o));return n}}}(),k="undefined"!==typeof i&&"undefined"!==typeof o&&"undefined"!==typeof o.versions&&!!o.versions.node,E=function(){};if("undefined"!==typeof i){var O=!i.from;if(!O)try{i.from("foo","utf8")}catch(My){O=!0}E=O?function(e,t){return t?new i(e,t):new i(e)}:i.from.bind(i),i.alloc||(i.alloc=function(e){return new i(e)}),i.allocUnsafe||(i.allocUnsafe=function(e){return new i(e)})}function C(e){return k?i.alloc(e):new Array(e)}function A(e){return k?i.allocUnsafe(e):new Array(e)}var T=function(e){return k?E(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function P(e){if("undefined"===typeof ArrayBuffer)return T(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function M(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function D(e){if("undefined"===typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}function I(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return I(new Uint8Array(e));for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var L=function(e){return[].concat.apply([],e)},R=/\u0000/g,j=/[\u0001-\u0006]/g,N={},B=function(e){function t(e){var t="",n=e.length-1;while(n>=0)t+=e.charAt(n--);return t}function n(e,t){var n="";while(n.length<t)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function o(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}function a(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}function s(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}e.version="0.11.2";var l=Math.pow(2,32);function u(e,t){if(e>l||e<-l)return a(e,t);var n=Math.round(e);return s(n,t)}function c(e,t){return t=t||0,e.length>=7+t&&103===(32|e.charCodeAt(t))&&101===(32|e.charCodeAt(t+1))&&110===(32|e.charCodeAt(t+2))&&101===(32|e.charCodeAt(t+3))&&114===(32|e.charCodeAt(t+4))&&97===(32|e.charCodeAt(t+5))&&108===(32|e.charCodeAt(t+6))}var f=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],h=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function d(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "'}var p={};d(p);var g=[],v=0;for(v=5;v<=8;++v)g[v]=32+v;for(v=23;v<=26;++v)g[v]=0;for(v=27;v<=31;++v)g[v]=14;for(v=50;v<=58;++v)g[v]=14;for(v=59;v<=62;++v)g[v]=v-58;for(v=67;v<=68;++v)g[v]=v-58;for(v=72;v<=75;++v)g[v]=v-58;for(v=67;v<=68;++v)g[v]=v-57;for(v=76;v<=78;++v)g[v]=v-56;for(v=79;v<=81;++v)g[v]=v-34;var y=[];function m(e,t,n){var r=e<0?-1:1,i=e*r,o=0,a=1,s=0,l=1,u=0,c=0,f=Math.floor(i);while(u<t){if(f=Math.floor(i),s=f*a+o,c=f*u+l,i-f<5e-8)break;i=1/(i-f),o=a,a=s,l=u,u=c}if(c>t&&(u>t?(c=l,s=o):(c=u,s=a)),!n)return[0,r*s,c];var h=Math.floor(r*s/c);return[h,r*s-h*c,c]}function b(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),o=0,a=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)a=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)a=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=C(l,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}y[5]=y[63]='"$"#,##0_);\\("$"#,##0\\)',y[6]=y[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',y[7]=y[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',y[8]=y[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',y[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',y[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',y[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',y[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',e.parse_date_code=b;var _=new Date(1899,11,31,0,0,0),x=_.getTime(),w=new Date(1900,2,1,0,0,0);function S(e,t){var n=e.getTime();return t?n-=1262304e5:e>=w&&(n+=864e5),(n-(x+6e4*(e.getTimezoneOffset()-_.getTimezoneOffset())))/864e5}function k(e){return e.toString(10)}e._general_int=k;var E=function(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function t(t){return-1==t.indexOf(".")?t:t.replace(e,"$1")}var n=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,r=/(E[+-])(\d)$/;function i(e){return-1==e.indexOf("E")?e:e.replace(n,"$1E").replace(r,"$10$2")}function o(e){var n=e<0?12:11,r=t(e.toFixed(12));return r.length<=n?r:(r=e.toPrecision(10),r.length<=n?r:e.toExponential(5))}function a(e){var n=t(e.toFixed(11));return n.length>(e<0?12:11)||"0"===n||"-0"===n?e.toPrecision(6):n}function s(e){var n,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return n=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?o(e):10===r?e.toFixed(10).substr(0,12):a(e),t(i(n.toUpperCase()))}return s}();function O(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):E(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return F(14,S(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function C(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function A(e,t,n,i){var o,a="",s=0,l=0,u=n.y,c=0;switch(e){case 98:u=n.y+543;case 121:switch(t.length){case 1:case 2:o=u%100,c=2;break;default:o=u%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:o=n.m,c=t.length;break;case 3:return h[n.m-1][1];case 5:return h[n.m-1][0];default:return h[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=n.d,c=t.length;break;case 3:return f[n.q][0];default:return f[n.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(n.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=n.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=n.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(l=i>=2?3===i?1e3:100:1===i?10:1,s=Math.round(l*(n.S+n.u)),s>=60*l&&(s=0),"s"===t?0===s?"0":""+s/l:(a=r(s,2+i),"ss"===t?a.substr(0,2):"."+a.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":o=24*n.D+n.H;break;case"[m]":case"[mm]":o=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":o=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:o=u,c=1;break}var d=c>0?r(o,c):"";return d}function T(e){var t=3;if(e.length<=t)return e;for(var n=e.length%t,r=e.substr(0,n);n!=e.length;n+=t)r+=(r.length>0?",":"")+e.substr(n,t);return r}e._general_num=E,e._general=O;var P=function(){var e=/%/g;function a(t,r,i){var o=r.replace(e,""),a=r.length-o.length;return P(t,o,i*Math.pow(10,2*a))+n("%",a)}function s(e,t,n){var r=t.length-1;while(44===t.charCodeAt(r-1))--r;return P(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function l(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+l(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%i;if(o<0&&(o+=i),n=(t/Math.pow(10,o)).toPrecision(r+1+(i+o)%i),-1===n.indexOf("e")){var a=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(a-n.length+o):n+="E+"+(a-o);while("0."===n.substr(0,2))n=n.charAt(0)+n.substr(2,i)+"."+n.substr(2+i),n=n.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var c=/# (\?+)( ?)\/( ?)(\d+)/;function f(e,t,o){var a=parseInt(e[4],10),s=Math.round(t*a),l=Math.floor(s/a),u=s-l*a,c=a;return o+(0===l?"":""+l)+" "+(0===u?n(" ",e[1].length+1+e[4].length):i(u,e[1].length)+e[2]+"/"+e[3]+r(c,e[4].length))}function h(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}var d=/^#*0*\.([0#]+)/,p=/\).*[0#]/,g=/\(###\) ###\\?-####/;function v(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function y(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function b(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function _(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function x(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function w(e,h,S){if(40===e.charCodeAt(0)&&!h.match(p)){var k=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return S>=0?w("n",k,S):"("+w("n",k,-S)+")"}if(44===h.charCodeAt(h.length-1))return s(e,h,S);if(-1!==h.indexOf("%"))return a(e,h,S);if(-1!==h.indexOf("E"))return l(h,S);if(36===h.charCodeAt(0))return"$"+w(e,h.substr(" "==h.charAt(1)?2:1),S);var E,O,C,A,M=Math.abs(S),D=S<0?"-":"";if(h.match(/^00+$/))return D+u(M,h.length);if(h.match(/^[#?]+$/))return E=u(S,0),"0"===E&&(E=""),E.length>h.length?E:v(h.substr(0,h.length-E.length))+E;if(O=h.match(c))return f(O,M,D);if(h.match(/^#+0+$/))return D+u(M,h.length-h.indexOf("0"));if(O=h.match(d))return E=y(S,O[1].length).replace(/^([^\.]+)$/,"$1."+v(O[1])).replace(/\.$/,"."+v(O[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",v(O[1]).length-t.length)})),-1!==h.indexOf("0.")?E:E.replace(/^0\./,".");if(h=h.replace(/^#+([0.])/,"$1"),O=h.match(/^(0*)\.(#*)$/))return D+y(M,O[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,O[1].length?"0.":".");if(O=h.match(/^#{1,3},##0(\.?)$/))return D+T(u(M,0));if(O=h.match(/^#,##0\.([#0]*0)$/))return S<0?"-"+w(e,h,-S):T(""+(Math.floor(S)+_(S,O[1].length)))+"."+r(b(S,O[1].length),O[1].length);if(O=h.match(/^#,#*,#0/))return w(e,h.replace(/^#,#*,/,""),S);if(O=h.match(/^([0#]+)(\\?-([0#]+))+$/))return E=t(w(e,h.replace(/[\\-]/g,""),S)),C=0,t(t(h.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return C<E.length?E.charAt(C++):"0"===e?"0":""})));if(h.match(g))return E=w(e,"##########",S),"("+E.substr(0,3)+") "+E.substr(3,3)+"-"+E.substr(6);var I="";if(O=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return C=Math.min(O[4].length,7),A=m(M,Math.pow(10,C)-1,!1),E=""+D,I=P("n",O[1],A[1])," "==I.charAt(I.length-1)&&(I=I.substr(0,I.length-1)+"0"),E+=I+O[2]+"/"+O[3],I=o(A[2],C),I.length<O[4].length&&(I=v(O[4].substr(O[4].length-I.length))+I),E+=I,E;if(O=h.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return C=Math.min(Math.max(O[1].length,O[4].length),7),A=m(M,Math.pow(10,C)-1,!0),D+(A[0]||(A[1]?"":"0"))+" "+(A[1]?i(A[1],C)+O[2]+"/"+O[3]+o(A[2],C):n(" ",2*C+1+O[2].length+O[3].length));if(O=h.match(/^[#0?]+$/))return E=u(S,0),h.length<=E.length?E:v(h.substr(0,h.length-E.length))+E;if(O=h.match(/^([#0?]+)\.([#0]+)$/)){E=""+S.toFixed(Math.min(O[2].length,10)).replace(/([^0])0+$/,"$1"),C=E.indexOf(".");var L=h.indexOf(".")-C,R=h.length-E.length-L;return v(h.substr(0,L)+E+h.substr(h.length-R))}if(O=h.match(/^00,000\.([#0]*0)$/))return C=b(S,O[1].length),S<0?"-"+w(e,h,-S):T(x(S)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(C,O[1].length);switch(h){case"###,##0.00":return w(e,"#,##0.00",S);case"###,###":case"##,###":case"#,###":var j=T(u(M,0));return"0"!==j?D+j:"";case"###,###.00":return w(e,"###,##0.00",S).replace(/^0\./,".");case"#,###.00":return w(e,"#,##0.00",S).replace(/^0\./,".");default:}throw new Error("unsupported format |"+h+"|")}function S(e,t,n){var r=t.length-1;while(44===t.charCodeAt(r-1))--r;return P(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function k(t,r,i){var o=r.replace(e,""),a=r.length-o.length;return P(t,o,i*Math.pow(10,2*a))+n("%",a)}function E(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+E(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%i;if(o<0&&(o+=i),n=(t/Math.pow(10,o)).toPrecision(r+1+(i+o)%i),!n.match(/[Ee]/)){var a=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(a-n.length+o):n+="E+"+(a-o),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function O(e,a,s){if(40===e.charCodeAt(0)&&!a.match(p)){var l=a.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return s>=0?O("n",l,s):"("+O("n",l,-s)+")"}if(44===a.charCodeAt(a.length-1))return S(e,a,s);if(-1!==a.indexOf("%"))return k(e,a,s);if(-1!==a.indexOf("E"))return E(a,s);if(36===a.charCodeAt(0))return"$"+O(e,a.substr(" "==a.charAt(1)?2:1),s);var u,f,y,b,_=Math.abs(s),x=s<0?"-":"";if(a.match(/^00+$/))return x+r(_,a.length);if(a.match(/^[#?]+$/))return u=""+s,0===s&&(u=""),u.length>a.length?u:v(a.substr(0,a.length-u.length))+u;if(f=a.match(c))return h(f,_,x);if(a.match(/^#+0+$/))return x+r(_,a.length-a.indexOf("0"));if(f=a.match(d))return u=(""+s).replace(/^([^\.]+)$/,"$1."+v(f[1])).replace(/\.$/,"."+v(f[1])),u=u.replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",v(f[1]).length-t.length)})),-1!==a.indexOf("0.")?u:u.replace(/^0\./,".");if(a=a.replace(/^#+([0.])/,"$1"),f=a.match(/^(0*)\.(#*)$/))return x+(""+_).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,f[1].length?"0.":".");if(f=a.match(/^#{1,3},##0(\.?)$/))return x+T(""+_);if(f=a.match(/^#,##0\.([#0]*0)$/))return s<0?"-"+O(e,a,-s):T(""+s)+"."+n("0",f[1].length);if(f=a.match(/^#,#*,#0/))return O(e,a.replace(/^#,#*,/,""),s);if(f=a.match(/^([0#]+)(\\?-([0#]+))+$/))return u=t(O(e,a.replace(/[\\-]/g,""),s)),y=0,t(t(a.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return y<u.length?u.charAt(y++):"0"===e?"0":""})));if(a.match(g))return u=O(e,"##########",s),"("+u.substr(0,3)+") "+u.substr(3,3)+"-"+u.substr(6);var w="";if(f=a.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return y=Math.min(f[4].length,7),b=m(_,Math.pow(10,y)-1,!1),u=""+x,w=P("n",f[1],b[1])," "==w.charAt(w.length-1)&&(w=w.substr(0,w.length-1)+"0"),u+=w+f[2]+"/"+f[3],w=o(b[2],y),w.length<f[4].length&&(w=v(f[4].substr(f[4].length-w.length))+w),u+=w,u;if(f=a.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return y=Math.min(Math.max(f[1].length,f[4].length),7),b=m(_,Math.pow(10,y)-1,!0),x+(b[0]||(b[1]?"":"0"))+" "+(b[1]?i(b[1],y)+f[2]+"/"+f[3]+o(b[2],y):n(" ",2*y+1+f[2].length+f[3].length));if(f=a.match(/^[#0?]+$/))return u=""+s,a.length<=u.length?u:v(a.substr(0,a.length-u.length))+u;if(f=a.match(/^([#0]+)\.([#0]+)$/)){u=""+s.toFixed(Math.min(f[2].length,10)).replace(/([^0])0+$/,"$1"),y=u.indexOf(".");var C=a.indexOf(".")-y,A=a.length-u.length-C;return v(a.substr(0,C)+u+a.substr(a.length-A))}if(f=a.match(/^00,000\.([#0]*0)$/))return s<0?"-"+O(e,a,-s):T(""+s).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(0,f[1].length);switch(a){case"###,###":case"##,###":case"#,###":var M=T(""+_);return"0"!==M?x+M:"";default:if(a.match(/\.[0#?]*$/))return O(e,a.slice(0,a.lastIndexOf(".")),s)+v(a.slice(a.lastIndexOf(".")))}throw new Error("unsupported format |"+a+"|")}return function(e,t,n){return(0|n)===n?O(e,t,n):w(e,t,n)}}();function M(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=M;var D=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function I(e){var t=0,n="",r="";while(t<e.length)switch(n=e.charAt(t)){case"G":c(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":r=n;while("]"!==e.charAt(t++)&&t<e.length)r+=e.charAt(t);if(r.match(D))return!0;break;case".":case"0":case"#":while(t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1));break;case"?":while(e.charAt(++t)===n);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":while(t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1);break;case" ":++t;break;default:++t;break}return!1}function L(e,t,n,r){var i,o,a,s=[],l="",u=0,f="",h="t",d="H";while(u<e.length)switch(f=e.charAt(u)){case"G":if(!c(e,u))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"G",v:"General"},u+=7;break;case'"':for(l="";34!==(a=e.charCodeAt(++u))&&u<e.length;)l+=String.fromCharCode(a);s[s.length]={t:"t",v:l},++u;break;case"\\":var p=e.charAt(++u),g="("===p||")"===p?p:"t";s[s.length]={t:g,v:p},++u;break;case"_":s[s.length]={t:"t",v:" "},u+=2;break;case"@":s[s.length]={t:"T",v:t},++u;break;case"B":case"b":if("1"===e.charAt(u+1)||"2"===e.charAt(u+1)){if(null==i&&(i=b(t,n,"2"===e.charAt(u+1)),null==i))return"";s[s.length]={t:"X",v:e.substr(u,2)},h=f,u+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==i&&(i=b(t,n),null==i))return"";l=f;while(++u<e.length&&e.charAt(u).toLowerCase()===f)l+=f;"m"===f&&"h"===h.toLowerCase()&&(f="M"),"h"===f&&(f=d),s[s.length]={t:f,v:l},h=f;break;case"A":case"a":case"上":var v={t:f,v:f};if(null==i&&(i=b(t,n)),"A/P"===e.substr(u,3).toUpperCase()?(null!=i&&(v.v=i.H>=12?"P":"A"),v.t="T",d="h",u+=3):"AM/PM"===e.substr(u,5).toUpperCase()?(null!=i&&(v.v=i.H>=12?"PM":"AM"),v.t="T",u+=5,d="h"):"上午/下午"===e.substr(u,5).toUpperCase()?(null!=i&&(v.v=i.H>=12?"下午":"上午"),v.t="T",u+=5,d="h"):(v.t="t",++u),null==i&&"T"===v.t)return"";s[s.length]=v,h=f;break;case"[":l=f;while("]"!==e.charAt(u++)&&u<e.length)l+=e.charAt(u);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(D)){if(null==i&&(i=b(t,n),null==i))return"";s[s.length]={t:"Z",v:l.toLowerCase()},h=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",I(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){l=f;while(++u<e.length&&"0"===(f=e.charAt(u)))l+=f;s[s.length]={t:"s",v:l};break}case"0":case"#":l=f;while(++u<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(u))>-1)l+=f;s[s.length]={t:"n",v:l};break;case"?":l=f;while(e.charAt(++u)===f)l+=f;s[s.length]={t:f,v:l},h=f;break;case"*":++u," "!=e.charAt(u)&&"*"!=e.charAt(u)||++u;break;case"(":case")":s[s.length]={t:1===r?"t":f,v:f},++u;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":l=f;while(u<e.length&&"0123456789".indexOf(e.charAt(++u))>-1)l+=e.charAt(u);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:f,v:f},++u;break;case"$":s[s.length]={t:"t",v:"$"},++u;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"t",v:f},++u;break}var y,m=0,_=0;for(u=s.length-1,h="t";u>=0;--u)switch(s[u].t){case"h":case"H":s[u].t=d,h="h",m<1&&(m=1);break;case"s":(y=s[u].v.match(/\.0+$/))&&(_=Math.max(_,y[0].length-1)),m<3&&(m=3);case"d":case"y":case"M":case"e":h=s[u].t;break;case"m":"s"===h&&(s[u].t="M",m<2&&(m=2));break;case"X":break;case"Z":m<1&&s[u].v.match(/[Hh]/)&&(m=1),m<2&&s[u].v.match(/[Mm]/)&&(m=2),m<3&&s[u].v.match(/[Ss]/)&&(m=3)}switch(m){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M);break}var x,w="";for(u=0;u<s.length;++u)switch(s[u].t){case"t":case"T":case" ":case"D":break;case"X":s[u].v="",s[u].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[u].v=A(s[u].t.charCodeAt(0),s[u].v,i,_),s[u].t="t";break;case"n":case"?":x=u+1;while(null!=s[x]&&("?"===(f=s[x].t)||"D"===f||(" "===f||"t"===f)&&null!=s[x+1]&&("?"===s[x+1].t||"t"===s[x+1].t&&"/"===s[x+1].v)||"("===s[u].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===s[x].v||" "===s[x].v&&null!=s[x+1]&&"?"==s[x+1].t)))s[u].v+=s[x].v,s[x]={v:"",t:";"},++x;w+=s[u].v,u=x-1;break;case"G":s[u].t="t",s[u].v=O(t,n);break}var S,k,E="";if(w.length>0){40==w.charCodeAt(0)?(S=t<0&&45===w.charCodeAt(0)?-t:t,k=P("n",w,S)):(S=t<0&&r>1?-t:t,k=P("n",w,S),S<0&&s[0]&&"t"==s[0].t&&(k=k.substr(1),s[0].v="-"+s[0].v)),x=k.length-1;var C=s.length;for(u=0;u<s.length;++u)if(null!=s[u]&&"t"!=s[u].t&&s[u].v.indexOf(".")>-1){C=u;break}var T=s.length;if(C===s.length&&-1===k.indexOf("E")){for(u=s.length-1;u>=0;--u)null!=s[u]&&-1!=="n?".indexOf(s[u].t)&&(x>=s[u].v.length-1?(x-=s[u].v.length,s[u].v=k.substr(x+1,s[u].v.length)):x<0?s[u].v="":(s[u].v=k.substr(0,x+1),x=-1),s[u].t="t",T=u);x>=0&&T<s.length&&(s[T].v=k.substr(0,x+1)+s[T].v)}else if(C!==s.length&&-1===k.indexOf("E")){for(x=k.indexOf(".")-1,u=C;u>=0;--u)if(null!=s[u]&&-1!=="n?".indexOf(s[u].t)){for(o=s[u].v.indexOf(".")>-1&&u===C?s[u].v.indexOf(".")-1:s[u].v.length-1,E=s[u].v.substr(o+1);o>=0;--o)x>=0&&("0"===s[u].v.charAt(o)||"#"===s[u].v.charAt(o))&&(E=k.charAt(x--)+E);s[u].v=E,s[u].t="t",T=u}for(x>=0&&T<s.length&&(s[T].v=k.substr(0,x+1)+s[T].v),x=k.indexOf(".")+1,u=C;u<s.length;++u)if(null!=s[u]&&(-1!=="n?(".indexOf(s[u].t)||u===C)){for(o=s[u].v.indexOf(".")>-1&&u===C?s[u].v.indexOf(".")+1:0,E=s[u].v.substr(0,o);o<s[u].v.length;++o)x<k.length&&(E+=k.charAt(x++));s[u].v=E,s[u].t="t",T=u}}}for(u=0;u<s.length;++u)null!=s[u]&&"n?".indexOf(s[u].t)>-1&&(S=r>1&&t<0&&u>0&&"-"===s[u-1].v?-t:t,s[u].v=P(s[u].t,s[u].v,S),s[u].t="t");var M="";for(u=0;u!==s.length;++u)null!=s[u]&&(M+=s[u].v);return M}e.is_date=I,e._eval=L;var R=/\[[=<>]/,j=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function N(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0;break}return!1}function B(e,t){var n=M(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!==typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"];break;case 4:break}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(R)||null!=n[1].match(R)){var a=n[0].match(j),s=n[1].match(j);return N(t,a)?[r,n[0]]:N(t,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}function F(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:p)[e],null==r&&(r=n.table&&n.table[g[e]]||p[g[e]]),null==r&&(r=y[e]||"General");break}if(c(r,0))return O(t,n);t instanceof Date&&(t=S(t,n.date1904));var i=B(r,t);if(c(i[1]))return O(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return L(i[1],t,n,i[0])}function z(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=p[n]){if(p[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return p[t]=e,t}e.load=z,e._table=p,e.get_table=function(){return p},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&z(e[t],t)},e.init_table=d,e.format=F};B(N);var F={"General Number":"General","General Date":N._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":N._table[15],"Short Date":N._table[14],"Long Time":N._table[19],"Medium Time":N._table[18],"Short Time":N._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:N._table[2],Standard:N._table[4],Percent:N._table[10],Scientific:N._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},z={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},U=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function H(e){var t="number"==typeof e?N._table[e]:e;return t=t.replace(U,"(\\d+)"),new RegExp("^"+t+"$")}function V(e,t,n){var r=-1,i=-1,o=-1,a=-1,s=-1,l=-1;(t.match(U)||[]).forEach((function(e,t){var u=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=u;break;case"d":o=u;break;case"h":a=u;break;case"s":l=u;break;case"m":a>=0?s=u:i=u;break}})),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var u=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==u.length&&(u="0"+u),8==u.length&&(u="20"+u);var c=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==a&&-1==s&&-1==l?u:-1==r&&-1==i&&-1==o?c:u+"T"+c}var G,W=!0;(function(e){e(G={})})((function(e){function t(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=n,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var n=t();function r(e,t){for(var r=-1^t,i=e.length-1,o=0;o<i;)r=r>>>8^n[255&(r^e.charCodeAt(o++))],r=r>>>8^n[255&(r^e.charCodeAt(o++))];return o===i&&(r=r>>>8^n[255&(r^e.charCodeAt(o))]),-1^r}function i(e,t){if(e.length>1e4)return o(e,t);for(var r=-1^t,i=e.length-3,a=0;a<i;)r=r>>>8^n[255&(r^e[a++])],r=r>>>8^n[255&(r^e[a++])],r=r>>>8^n[255&(r^e[a++])],r=r>>>8^n[255&(r^e[a++])];while(a<i+3)r=r>>>8^n[255&(r^e[a++])];return-1^r}function o(e,t){for(var r=-1^t,i=e.length-7,o=0;o<i;)r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])],r=r>>>8^n[255&(r^e[o++])];while(o<i+7)r=r>>>8^n[255&(r^e[o++])];return-1^r}function a(e,t){for(var r,i,o=-1^t,a=0,s=e.length;a<s;)r=e.charCodeAt(a++),r<128?o=o>>>8^n[255&(o^r)]:r<2048?(o=o>>>8^n[255&(o^(192|r>>6&31))],o=o>>>8^n[255&(o^(128|63&r))]):r>=55296&&r<57344?(r=64+(1023&r),i=1023&e.charCodeAt(a++),o=o>>>8^n[255&(o^(240|r>>8&7))],o=o>>>8^n[255&(o^(128|r>>2&63))],o=o>>>8^n[255&(o^(128|i>>6&15|(3&r)<<4))],o=o>>>8^n[255&(o^(128|63&i))]):(o=o>>>8^n[255&(o^(224|r>>12&15))],o=o>>>8^n[255&(o^(128|r>>6&63))],o=o>>>8^n[255&(o^(128|63&r))]);return-1^o}e.table=n,e.bstr=r,e.buf=i,e.str=a}));var q,X=function(){var e,t={};function r(e,t){for(var n=e.split("/"),r=t.split("/"),i=0,o=0,a=Math.min(n.length,r.length);i<a;++i){if(o=n[i].length-r[i].length)return o;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}function i(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:i(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function o(e){if("/"==e.charAt(e.length-1))return o(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"===typeof t&&(t=new Date(t));var n=t.getHours();n=n<<6|t.getMinutes(),n=n<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e.write_shift(2,r)}function s(e){var t=65535&e.read_shift(2),n=65535&e.read_shift(2),r=new Date,i=31&n;n>>>=5;var o=15&n;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(i);var a=31&t;t>>>=5;var s=63&t;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(a<<1),r}function l(e){Qt(e,0);var t={},n=0;while(e.l<=e.length-4){var r=e.read_shift(2),i=e.read_shift(2),o=e.l+i,a={};switch(r){case 21589:n=e.read_shift(1),1&n&&(a.mtime=e.read_shift(4)),i>5&&(2&n&&(a.atime=e.read_shift(4)),4&n&&(a.ctime=e.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime));break}e.l=o,t[r]=a}return t}function u(){return e||(e=n(2))}function c(e,t){if(80==e[0]&&75==e[1])return Ce(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n=3,r=512,i=0,o=0,a=0,s=0,l=0,u=[],c=e.slice(0,512);Qt(c,0);var g=f(c);switch(n=g[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(0==g[1])return Ce(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==r&&(c=e.slice(0,r),Qt(c,28));var y=e.slice(0,r);h(c,n);var _=c.read_shift(4,"i");if(3===n&&0!==_)throw new Error("# Directory Sectors: Expected 0 saw "+_);c.l+=4,a=c.read_shift(4,"i"),c.l+=4,c.chk("00100000","Mini Stream Cutoff Size: "),s=c.read_shift(4,"i"),i=c.read_shift(4,"i"),l=c.read_shift(4,"i"),o=c.read_shift(4,"i");for(var x=-1,w=0;w<109;++w){if(x=c.read_shift(4,"i"),x<0)break;u[w]=x}var S=d(e,r);v(l,o,S,r,u);var k=m(S,a,u,r);k[a].name="!Directory",i>0&&s!==B&&(k[s].name="!MiniFAT"),k[u[0]].name="!FAT",k.fat_addrs=u,k.ssz=r;var E={},O=[],C=[],A=[];b(a,k,S,O,i,E,C,s),p(C,A,O),O.shift();var T={FileIndex:C,FullPaths:A};return t&&t.raw&&(T.raw={header:y,sectors:S}),T}function f(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(F,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}function h(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}function d(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}function p(e,t,n){for(var r=0,i=0,o=0,a=0,s=0,l=n.length,u=[],c=[];r<l;++r)u[r]=c[r]=r,t[r]=n[r];for(;s<c.length;++s)r=c[s],i=e[r].L,o=e[r].R,a=e[r].C,u[r]===r&&(-1!==i&&u[i]!==i&&(u[r]=u[i]),-1!==o&&u[o]!==o&&(u[r]=u[o])),-1!==a&&(u[a]=r),-1!==i&&r!=u[r]&&(u[i]=u[r],c.lastIndexOf(i)<s&&c.push(i)),-1!==o&&r!=u[r]&&(u[o]=u[r],c.lastIndexOf(o)<s&&c.push(o));for(r=1;r<l;++r)u[r]===r&&(-1!==o&&u[o]!==o?u[r]=u[o]:-1!==i&&u[i]!==i&&(u[r]=u[i]));for(r=1;r<l;++r)if(0!==e[r].type){if(s=r,s!=u[s])do{s=u[s],t[r]=t[s]+"/"+t[r]}while(0!==s&&-1!==u[s]&&s!=u[s]);u[r]=-1}for(t[0]+="/",r=1;r<l;++r)2!==e[r].type&&(t[r]+="/")}function g(e,t,n){var r=e.start,i=e.size,o=[],a=r;while(n&&i>0&&a>=0)o.push(t.slice(a*N,a*N+N)),i-=N,a=Wt(n,4*a);return 0===o.length?tn(0):L(o).slice(0,e.size)}function v(e,t,n,r,i){var o=B;if(e===B){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var a=n[e],s=(r>>>2)-1;if(!a)return;for(var l=0;l<s;++l){if((o=Wt(a,4*l))===B)break;i.push(o)}t>=1&&v(Wt(a,r-4),t-1,n,r,i)}}function y(e,t,n,r,i){var o=[],a=[];i||(i=[]);var s=r-1,l=0,u=0;for(l=t;l>=0;){i[l]=!0,o[o.length]=l,a.push(e[l]);var c=n[Math.floor(4*l/r)];if(u=4*l&s,r<4+u)throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[c])break;l=Wt(e[c],u)}return{nodes:o,data:wt([a])}}function m(e,t,n,r){var i=e.length,o=[],a=[],s=[],l=[],u=r-1,c=0,f=0,h=0,d=0;for(c=0;c<i;++c)if(s=[],h=c+t,h>=i&&(h-=i),!a[h]){l=[];var p=[];for(f=h;f>=0;){p[f]=!0,a[f]=!0,s[s.length]=f,l.push(e[f]);var g=n[Math.floor(4*f/r)];if(d=4*f&u,r<4+d)throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[g])break;if(f=Wt(e[g],d),p[f])break}o[h]={nodes:s,data:wt([l])}}return o}function b(e,t,n,r,i,o,a,s){for(var l,u=0,c=r.length?2:0,f=t[e].data,h=0,d=0;h<f.length;h+=128){var p=f.slice(h,h+128);Qt(p,64),d=p.read_shift(2),l=kt(p,0,d-c),r.push(l);var v={name:l,type:p.read_shift(1),color:p.read_shift(1),L:p.read_shift(4,"i"),R:p.read_shift(4,"i"),C:p.read_shift(4,"i"),clsid:p.read_shift(16),state:p.read_shift(4,"i"),start:0,size:0},m=p.read_shift(2)+p.read_shift(2)+p.read_shift(2)+p.read_shift(2);0!==m&&(v.ct=_(p,p.l-8));var b=p.read_shift(2)+p.read_shift(2)+p.read_shift(2)+p.read_shift(2);0!==b&&(v.mt=_(p,p.l-8)),v.start=p.read_shift(4,"i"),v.size=p.read_shift(4,"i"),v.size<0&&v.start<0&&(v.size=v.type=0,v.start=B,v.name=""),5===v.type?(u=v.start,i>0&&u!==B&&(t[u].name="!StreamData")):v.size>=4096?(v.storage="fat",void 0===t[v.start]&&(t[v.start]=y(n,v.start,t.fat_addrs,t.ssz)),t[v.start].name=v.name,v.content=t[v.start].data.slice(0,v.size)):(v.storage="minifat",v.size<0?v.size=0:u!==B&&v.start!==B&&t[u]&&(v.content=g(v,t[u].data,(t[s]||{}).data))),v.content&&Qt(v.content,0),o[l]=v,a.push(v)}}function _(e,t){return new Date(1e3*(Gt(e,t+4)/1e7*Math.pow(2,32)+Gt(e,t)/1e7-11644473600))}function x(t,n){return u(),c(e.readFileSync(t),n)}function w(e,t){switch(t&&t.type||"base64"){case"file":return x(e,t);case"base64":return c(T(S.decode(e)),t);case"binary":return c(T(e),t)}return c(e,t)}function E(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),O(e)}function O(e){var t="Sh33tJ5";if(!X.find(e,"/"+t)){var n=tn(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),P(e)}}function P(e,t){E(e);for(var n=!1,a=!1,s=e.FullPaths.length-1;s>=0;--s){var l=e.FileIndex[s];switch(l.type){case 0:a?n=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!0,isNaN(l.R*l.L*l.C)&&(n=!0),l.R>-1&&l.L>-1&&l.R==l.L&&(n=!0);break;default:n=!0;break}}if(n||t){var u=new Date(1987,1,19),c=0,f=[];for(s=0;s<e.FullPaths.length;++s)0!==e.FileIndex[s].type&&f.push([e.FullPaths[s],e.FileIndex[s]]);for(s=0;s<f.length;++s){var h=i(f[s][0]);for(a=!1,c=0;c<f.length;++c)f[c][0]===h&&(a=!0);a||f.push([h,{name:o(h).replace("/",""),type:1,clsid:U,ct:u,mt:u,content:null}])}for(f.sort((function(e,t){return r(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],s=0;s<f.length;++s)e.FullPaths[s]=f[s][0],e.FileIndex[s]=f[s][1];for(s=0;s<f.length;++s){var d=e.FileIndex[s],p=e.FullPaths[s];if(d.name=o(p).replace("/",""),d.L=d.R=d.C=-(d.color=1),d.size=d.content?d.content.length:0,d.start=0,d.clsid=d.clsid||U,0===s)d.C=f.length>1?1:-1,d.size=0,d.type=5;else if("/"==p.slice(-1)){for(c=s+1;c<f.length;++c)if(i(e.FullPaths[c])==p)break;for(d.C=c>=f.length?-1:c,c=s+1;c<f.length;++c)if(i(e.FullPaths[c])==i(p))break;d.R=c>=f.length?-1:c,d.type=1}else i(e.FullPaths[s+1]||"")==i(p)&&(d.R=s+1),d.type=2}}}function M(e,t){var n=t||{};if(P(e),"zip"==n.fileType)return Te(e,n);var r=function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var o=i.content.length;o>0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}var a=e.FullPaths.length+3>>2,s=t+7>>3,l=t+127>>7,u=s+n+a+l,c=u+127>>7,f=c<=109?0:Math.ceil((c-109)/127);while(u+c+f+127>>7>c)f=++c<=109?0:Math.ceil((c-109)/127);var h=[1,f,c,l,a,n,t,0];return e.FileIndex[0].size=t<<6,h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3),h}(e),i=tn(r[7]<<9),o=0,a=0;for(o=0;o<8;++o)i.write_shift(1,z[o]);for(o=0;o<8;++o)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),o=0;o<3;++o)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:B),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:B),i.write_shift(4,r[1]),o=0;o<109;++o)i.write_shift(-4,o<r[2]?r[1]+o:-1);if(r[1])for(a=0;a<r[1];++a){for(;o<236+127*a;++o)i.write_shift(-4,o<r[2]?r[1]+o:-1);i.write_shift(-4,a===r[1]-1?B:a+1)}var s=function(e){for(a+=e;o<a-1;++o)i.write_shift(-4,o+1);e&&(++o,i.write_shift(-4,B))};for(a=o=0,a+=r[1];o<a;++o)i.write_shift(-4,H.DIFSECT);for(a+=r[2];o<a;++o)i.write_shift(-4,H.FATSECT);s(r[3]),s(r[4]);for(var l=0,u=0,c=e.FileIndex[0];l<e.FileIndex.length;++l)c=e.FileIndex[l],c.content&&(u=c.content.length,u<4096||(c.start=a,s(u+511>>9)));s(r[6]+7>>3);while(511&i.l)i.write_shift(-4,H.ENDOFCHAIN);for(a=o=0,l=0;l<e.FileIndex.length;++l)c=e.FileIndex[l],c.content&&(u=c.content.length,!u||u>=4096||(c.start=a,s(u+63>>6)));while(511&i.l)i.write_shift(-4,H.ENDOFCHAIN);for(o=0;o<r[4]<<2;++o){var f=e.FullPaths[o];if(f&&0!==f.length){c=e.FileIndex[o],0===o&&(c.start=c.size?c.start-1:B);var h=0===o&&n.root||c.name;if(u=2*(h.length+1),i.write_shift(64,h,"utf16le"),i.write_shift(2,u),i.write_shift(1,c.type),i.write_shift(1,c.color),i.write_shift(-4,c.L),i.write_shift(-4,c.R),i.write_shift(-4,c.C),c.clsid)i.write_shift(16,c.clsid,"hex");else for(l=0;l<4;++l)i.write_shift(4,0);i.write_shift(4,c.state||0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,c.start),i.write_shift(4,c.size),i.write_shift(4,0)}else{for(l=0;l<17;++l)i.write_shift(4,0);for(l=0;l<3;++l)i.write_shift(4,-1);for(l=0;l<12;++l)i.write_shift(4,0)}}for(o=1;o<e.FileIndex.length;++o)if(c=e.FileIndex[o],c.size>=4096){for(i.l=c.start+1<<9,l=0;l<c.size;++l)i.write_shift(1,c.content[l]);for(;511&l;++l)i.write_shift(1,0)}for(o=1;o<e.FileIndex.length;++o)if(c=e.FileIndex[o],c.size>0&&c.size<4096){for(l=0;l<c.size;++l)i.write_shift(1,c.content[l]);for(;63&l;++l)i.write_shift(1,0)}while(i.l<i.length)i.write_shift(1,0);return i}function D(e,t){var n=e.FullPaths.map((function(e){return e.toUpperCase()})),r=n.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),i=!1;47===t.charCodeAt(0)?(i=!0,t=n[0].slice(0,-1)+t):i=-1!==t.indexOf("/");var o=t.toUpperCase(),a=!0===i?n.indexOf(o):r.indexOf(o);if(-1!==a)return e.FileIndex[a];var s=!o.match(j);for(o=o.replace(R,""),s&&(o=o.replace(j,"!")),a=0;a<n.length;++a){if((s?n[a].replace(j,"!"):n[a]).replace(R,"")==o)return e.FileIndex[a];if((s?r[a].replace(j,"!"):r[a]).replace(R,"")==o)return e.FileIndex[a]}return null}t.version="1.1.4";var I,N=64,B=-2,F="d0cf11e0a1b11ae1",z=[208,207,17,224,161,177,26,225],U="00000000000000000000000000000000",H={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:B,FREESECT:-1,HEADER_SIGNATURE:F,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:U,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(t,n,r){u();var i=M(t,r);e.writeFileSync(n,i)}function W(e){for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function q(t,n){var r=M(t,n);switch(n&&n.type){case"file":return u(),e.writeFileSync(n.filename,r),r;case"binary":return W(r);case"base64":return S.encode(W(r))}return r}function Y(e){try{var t=e.InflateRaw,n=new t;if(n._processChunk(new Uint8Array([3,0]),n._finishFlushFlag),!n.bytesRead)throw new Error("zlib does not expose bytesRead");I=e}catch(My){console.error("cannot use native zlib: "+(My.message||My))}}function K(e,t){if(!I)return Ee(e,t);var n=I.InflateRaw,r=new n,i=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,i}function $(e){return I?I.deflateRawSync(e):de(e)}var Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],J=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],Q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function ee(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var te="undefined"!==typeof Uint8Array,ne=te?new Uint8Array(256):[],re=0;re<256;++re)ne[re]=ee(re);function ie(e,t){var n=ne[255&e];return t<=8?n>>>8-t:(n=n<<8|ne[e>>8&255],t<=16?n>>>16-t:(n=n<<8|ne[e>>16&255],n>>>24-t))}function oe(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function ae(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function se(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function le(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function ue(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function ce(e,t,n){var r=7&t,i=t>>>3,o=(1<<n)-1,a=e[i]>>>r;return n<8-r?a&o:(a|=e[i+1]<<8-r,n<16-r?a&o:(a|=e[i+2]<<16-r,n<24-r||(a|=e[i+3]<<24-r),a&o))}function fe(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(k){var o=A(r);if(e.copy)e.copy(o);else for(;i<e.length;++i)o[i]=e[i];return o}if(te){var a=new Uint8Array(r);if(a.set)a.set(e);else for(;i<e.length;++i)a[i]=e[i];return a}return e.length=r,e}function he(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=0;return t}var de=function(){var e=function(){return function(e,t){var n=0;while(n<e.length){var r=Math.min(65535,e.length-n),i=n+r==e.length;t.write_shift(1,+i),t.write_shift(2,r),t.write_shift(2,65535&~r);while(r-- >0)t[t.l++]=e[n++]}return t.l}}();return function(t){var n=tn(50+Math.floor(1.1*t.length)),r=e(t,n);return n.slice(0,r)}}();function pe(e,t,n){var r=1,i=0,o=0,a=0,s=0,l=e.length,u=te?new Uint16Array(32):he(32);for(o=0;o<32;++o)u[o]=0;for(o=l;o<n;++o)e[o]=0;l=e.length;var c=te?new Uint16Array(l):he(l);for(o=0;o<l;++o)u[i=e[o]]++,r<i&&(r=i),c[o]=0;for(u[0]=0,o=1;o<=r;++o)u[o+16]=s=s+u[o-1]<<1;for(o=0;o<l;++o)s=e[o],0!=s&&(c[o]=u[s+16]++);var f=0;for(o=0;o<l;++o)if(f=e[o],0!=f)for(s=ie(c[o],r)>>r-f,a=(1<<r+4-f)-1;a>=0;--a)t[s|a<<f]=15&f|o<<4;return r}var ge=te?new Uint16Array(512):he(512),ve=te?new Uint16Array(32):he(32);if(!te){for(var ye=0;ye<512;++ye)ge[ye]=0;for(ye=0;ye<32;++ye)ve[ye]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);pe(e,ve,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);pe(n,ge,288)})();var me=te?new Uint16Array(32768):he(32768),be=te?new Uint16Array(32768):he(32768),_e=te?new Uint16Array(128):he(128),xe=1,we=1;function Se(e,t){var n=le(e,t)+257;t+=5;var r=le(e,t)+1;t+=5;var i=se(e,t)+4;t+=4;for(var o=0,a=te?new Uint8Array(19):he(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,u=te?new Uint8Array(8):he(8),c=te?new Uint8Array(8):he(8),f=a.length,h=0;h<i;++h)a[Z[h]]=o=ae(e,t),l<o&&(l=o),u[o]++,t+=3;var d=0;for(u[0]=0,h=1;h<=l;++h)c[h]=d=d+u[h-1]<<1;for(h=0;h<f;++h)0!=(d=a[h])&&(s[h]=c[d]++);var p=0;for(h=0;h<f;++h)if(p=a[h],0!=p){d=ne[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)_e[d|g<<p]=7&p|h<<3}var v=[];for(l=1;v.length<n+r;)switch(d=_e[ue(e,t)],t+=7&d,d>>>=3){case 16:o=3+oe(e,t),t+=2,d=v[v.length-1];while(o-- >0)v.push(d);break;case 17:o=3+ae(e,t),t+=3;while(o-- >0)v.push(0);break;case 18:o=11+ue(e,t),t+=7;while(o-- >0)v.push(0);break;default:v.push(d),l<d&&(l=d);break}var y=v.slice(0,n),m=v.slice(n);for(h=n;h<286;++h)y[h]=0;for(h=r;h<30;++h)m[h]=0;return xe=pe(y,me,286),we=pe(m,be,30),t}function ke(e,t){if(3==e[0]&&!(3&e[1]))return[C(t),2];var n=0,r=0,i=A(t||1<<18),o=0,a=i.length>>>0,s=0,l=0;while(0==(1&r))if(r=ae(e,n),n+=3,r>>>1!=0)for(r>>>1==1?(s=9,l=5):(n=Se(e,n),s=xe,l=we),!t&&a<o+32767&&(i=fe(i,o+32767),a=i.length);;){var u=ce(e,n,s),c=r>>>1==1?ge[u]:me[u];if(n+=15&c,c>>>=4,0===(c>>>8&255))i[o++]=c;else{if(256==c)break;c-=257;var f=c<8?0:c-4>>2;f>5&&(f=0);var h=o+J[c];f>0&&(h+=ce(e,n,f),n+=f),u=ce(e,n,l),c=r>>>1==1?ve[u]:be[u],n+=15&c,c>>>=4;var d=c<4?0:c-2>>1,p=Q[c];d>0&&(p+=ce(e,n,d),n+=d),!t&&a<h&&(i=fe(i,h),a=i.length);while(o<h)i[o]=i[o-p],++o}}else{7&n&&(n+=8-(7&n));var g=e[n>>>3]|e[1+(n>>>3)]<<8;if(n+=32,!t&&a<o+g&&(i=fe(i,o+g),a=i.length),"function"===typeof e.copy)e.copy(i,o,n>>>3,(n>>>3)+g),o+=g,n+=8*g;else while(g-- >0)i[o++]=e[n>>>3],n+=8}return[t?i:i.slice(0,o),n+7>>>3]}function Ee(e,t){var n=e.slice(e.l||0),r=ke(n,t);return e.l+=r[1],r[0]}function Oe(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Ce(e,t){var n=e;Qt(n,0);var r=[],i=[],o={FileIndex:r,FullPaths:i};E(o,{root:t.root});var a=n.length-4;while((80!=n[a]||75!=n[a+1]||5!=n[a+2]||6!=n[a+3])&&a>=0)--a;n.l=a+4,n.l+=4;var s=n.read_shift(2);n.l+=6;var u=n.read_shift(4);for(n.l=u,a=0;a<s;++a){n.l+=20;var c=n.read_shift(4),f=n.read_shift(4),h=n.read_shift(2),d=n.read_shift(2),p=n.read_shift(2);n.l+=8;var g=n.read_shift(4),v=l(n.slice(n.l+h,n.l+h+d));n.l+=h+d+p;var y=n.l;n.l=g+4,Ae(n,c,f,o,v),n.l=y}return o}function Ae(e,t,n,r,i){e.l+=2;var o=e.read_shift(2),a=e.read_shift(2),u=s(e);if(8257&o)throw new Error("Unsupported ZIP encryption");for(var c=e.read_shift(4),f=e.read_shift(4),h=e.read_shift(4),d=e.read_shift(2),p=e.read_shift(2),g="",v=0;v<d;++v)g+=String.fromCharCode(e[e.l++]);if(p){var y=l(e.slice(e.l,e.l+p));(y[21589]||{}).mt&&(u=y[21589].mt),((i||{})[21589]||{}).mt&&(u=i[21589].mt)}e.l+=p;var m=e.slice(e.l,e.l+f);switch(a){case 8:m=K(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+a)}var b=!1;8&o&&(c=e.read_shift(4),134695760==c&&(c=e.read_shift(4),b=!0),f=e.read_shift(4),h=e.read_shift(4)),f!=t&&Oe(b,"Bad compressed size: "+t+" != "+f),h!=n&&Oe(b,"Bad uncompressed size: "+n+" != "+h);var _=G.buf(m,0);c>>0!=_>>0&&Oe(b,"Bad CRC32 checksum: "+c+" != "+_),Me(r,g,m,{unsafe:!0,mt:u})}function Te(e,t){var n=t||{},r=[],i=[],o=tn(1),s=n.compression?8:0,l=0,u=!1;u&&(l|=8);var c=0,f=0,h=0,d=0,p=e.FullPaths[0],g=p,v=e.FileIndex[0],y=[],m=0;for(c=1;c<e.FullPaths.length;++c)if(g=e.FullPaths[c].slice(p.length),v=e.FileIndex[c],v.size&&v.content&&"Sh33tJ5"!=g){var b=h,_=tn(g.length);for(f=0;f<g.length;++f)_.write_shift(1,127&g.charCodeAt(f));_=_.slice(0,_.l),y[d]=G.buf(v.content,0);var x=v.content;8==s&&(x=$(x)),o=tn(30),o.write_shift(4,67324752),o.write_shift(2,20),o.write_shift(2,l),o.write_shift(2,s),v.mt?a(o,v.mt):o.write_shift(4,0),o.write_shift(-4,8&l?0:y[d]),o.write_shift(4,8&l?0:x.length),o.write_shift(4,8&l?0:v.content.length),o.write_shift(2,_.length),o.write_shift(2,0),h+=o.length,r.push(o),h+=_.length,r.push(_),h+=x.length,r.push(x),8&l&&(o=tn(12),o.write_shift(-4,y[d]),o.write_shift(4,x.length),o.write_shift(4,v.content.length),h+=o.l,r.push(o)),o=tn(46),o.write_shift(4,33639248),o.write_shift(2,0),o.write_shift(2,20),o.write_shift(2,l),o.write_shift(2,s),o.write_shift(4,0),o.write_shift(-4,y[d]),o.write_shift(4,x.length),o.write_shift(4,v.content.length),o.write_shift(2,_.length),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(4,0),o.write_shift(4,b),m+=o.l,i.push(o),m+=_.length,i.push(_),++d}return o=tn(22),o.write_shift(4,101010256),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,d),o.write_shift(2,d),o.write_shift(4,m),o.write_shift(4,h),o.write_shift(2,0),L([L(r),L(i),o])}function Pe(e){var t={};return E(t,e),t}function Me(e,t,n,r){var i=r&&r.unsafe;i||E(e);var a=!i&&X.find(e,t);if(!a){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),a={name:o(t),type:2},e.FileIndex.push(a),e.FullPaths.push(s),i||X.utils.cfb_gc(e)}return a.content=n,a.size=n?n.length:0,r&&(r.CLSID&&(a.clsid=r.CLSID),r.mt&&(a.mt=r.mt),r.ct&&(a.ct=r.ct)),a}function De(e,t){E(e);var n=X.find(e,t);if(n)for(var r=0;r<e.FileIndex.length;++r)if(e.FileIndex[r]==n)return e.FileIndex.splice(r,1),e.FullPaths.splice(r,1),!0;return!1}function Ie(e,t,n){E(e);var r=X.find(e,t);if(r)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==r)return e.FileIndex[i].name=o(n),e.FullPaths[i]=n,!0;return!1}function Le(e){P(e,!0)}return t.find=D,t.read=w,t.parse=c,t.write=q,t.writeFile=V,t.utils={cfb_new:Pe,cfb_add:Me,cfb_del:De,cfb_mov:Ie,cfb_gc:Le,ReadShift:Xt,CheckField:Jt,prep_blob:Qt,bconcat:L,use_zlib:Y,_deflateRaw:de,_inflateRaw:Ee,consts:H},t}();"undefined"===typeof W&&(e.exports=X);try{q=n(2)}catch(My){}function Y(e){return"string"===typeof e?P(e):Array.isArray(e)?D(e):e}function K(e,t,n){if("undefined"!==typeof q&&q.writeFileSync)return n?q.writeFileSync(e,t,n):q.writeFileSync(e,t);var r="utf8"==n?et(t):t;if("undefined"!==typeof IE_SaveFile)return IE_SaveFile(r,e);if("undefined"!==typeof Blob){var i=new Blob([Y(r)],{type:"application/octet-stream"});if("undefined"!==typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if("undefined"!==typeof saveAs)return saveAs(i,e);if("undefined"!==typeof URL&&"undefined"!==typeof document&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(i);if("object"===typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),chrome.downloads.download({url:o,filename:e,saveAs:!0});var a=document.createElement("a");if(null!=a.download)return a.download=e,a.href=o,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),o}}if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=M(t)),s.write(t),s.close(),t}catch(My){if(!My.message||!My.message.match(/onstruct/))throw My}throw new Error("cannot save file "+e)}function Z(e){if("undefined"!==typeof q)return q.readFileSync(e);if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var n=t.read();return t.close(),n}catch(My){if(!My.message||!My.message.match(/onstruct/))throw My}throw new Error("Cannot access file "+e)}function J(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;++r)Object.prototype.hasOwnProperty.call(e,t[r])&&n.push(t[r]);return n}function Q(e,t){for(var n=[],r=J(e),i=0;i!==r.length;++i)null==n[e[r[i]][t]]&&(n[e[r[i]][t]]=r[i]);return n}function ee(e){for(var t=[],n=J(e),r=0;r!==n.length;++r)t[e[n[r]]]=n[r];return t}function te(e){for(var t=[],n=J(e),r=0;r!==n.length;++r)t[e[n[r]]]=parseInt(n[r],10);return t}function ne(e){for(var t=[],n=J(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}var re=new Date(1899,11,30,0,0,0);function ie(e,t){var n=e.getTime();t&&(n-=1263168e5);var r=re.getTime()+6e4*(e.getTimezoneOffset()-re.getTimezoneOffset());return(n-r)/864e5}var oe=new Date,ae=re.getTime()+6e4*(oe.getTimezoneOffset()-re.getTimezoneOffset()),se=oe.getTimezoneOffset();function le(e){var t=new Date;return t.setTime(24*e*60*60*1e3+ae),t.getTimezoneOffset()!==se&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-se)),t}function ue(e){var t=0,n=0,r=!1,i=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var o=1;o!=i.length;++o)if(i[o]){switch(n=1,o>3&&(r=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60;case"S":break}t+=n*parseInt(i[o],10)}return t}var ce=new Date("2017-02-19T19:06:09.000Z");isNaN(ce.getFullYear())&&(ce=new Date("2/19/17"));var fe=2017==ce.getFullYear();function he(e,t){var n=new Date(e);if(fe)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==ce.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function de(e){for(var t="",n=0;n!=e.length;++n)t+=String.fromCharCode(e[n]);return t}function pe(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=pe(e[n]));return t}function ge(e,t){var n="";while(n.length<t)n+=e;return n}function ve(e){var t=Number(e);if(isFinite(t))return t;if(!isNaN(t))return NaN;if(!/\d/.test(e))return t;var n=1,r=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""}));return isNaN(t=Number(r))?(r=r.replace(/[(](.*)[)]/,(function(e,t){return n=-n,t})),isNaN(t=Number(r))?t:t/n):t/n}function ye(e){var t=new Date(e),n=new Date(NaN),r=t.getYear(),i=t.getMonth(),o=t.getDate();return isNaN(o)||r<0||r>8099?n:(i>0||o>1)&&101!=r||e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?n:t}var me,be=5=="abacaba".split(/(:?b)/i).length;function _e(e,t,n){if(be||"string"==typeof t)return e.split(t);for(var r=e.split(t),i=[r[0]],o=1;o<r.length;++o)i.push(n),i.push(r[o]);return i}function xe(e){return e?e.data?m(e.data):e.asNodeBuffer&&k?m(e.asNodeBuffer().toString("binary")):e.asBinary?m(e.asBinary()):e._data&&e._data.getContent?m(de(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?m(de(e.content)):null:null}function we(e){if(!e)return null;if(e.data)return g(e.data);if(e.asNodeBuffer&&k)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?g(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Se(e){return e&&".bin"===e.name.slice(-4)?we(e):xe(e)}function ke(e,t){for(var n=e.FullPaths||J(e.files),r=t.toLowerCase().replace(/[\/]/g,"\\"),i=r.replace(/\\/g,"/"),o=0;o<n.length;++o){var a=n[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(r==a||i==a)return e.files?e.files[n[o]]:e.FileIndex[o]}return null}function Ee(e,t){var n=ke(e,t);if(null==n)throw new Error("Cannot find file "+t+" in zip");return n}function Oe(e,t,n){if(!n)return Se(Ee(e,t));if(!t)return null;try{return Oe(e,t)}catch(My){return null}}function Ce(e,t,n){if(!n)return xe(Ee(e,t));if(!t)return null;try{return Ce(e,t)}catch(My){return null}}function Ae(e){for(var t=e.FullPaths||J(e.files),n=[],r=0;r<t.length;++r)"/"!=t[r].slice(-1)&&n.push(t[r]);return n.sort()}function Te(e,t,n){e.FullPaths?X.utils.cfb_add(e,t,n):e.file(t,n)}function Pe(){return me?new me:X.utils.cfb_new()}function Me(e,t){var n;if(me)switch(t.type){case"base64":n=new me(e,{base64:!0});break;case"binary":case"array":n=new me(e,{base64:!1});break;case"buffer":n=new me(e);break;default:throw new Error("Unrecognized type "+t.type)}else switch(t.type){case"base64":n=X.read(e,{type:"base64"});break;case"binary":n=X.read(e,{type:"binary"});break;case"buffer":case"array":n=X.read(e,{type:"buffer"});break;default:throw new Error("Unrecognized type "+t.type)}return n}function De(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();var r=e.split("/");while(0!==r.length){var i=r.shift();".."===i?n.pop():"."!==i&&n.push(i)}return n.join("/")}"undefined"!==typeof JSZipSync&&(me=JSZipSync),e.exports&&"undefined"===typeof me&&(me=n("15a4"));var Ie='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',Le=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Re=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm;Ie.match(Re)||(Re=/<[^>]*>/g);var je=/<\w*:/,Ne=/<(\/?)\w+:/;function Be(e,t,n){for(var r={},i=0,o=0;i!==e.length;++i)if(32===(o=e.charCodeAt(i))||10===o||13===o)break;if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var a=e.match(Le),s=0,l="",u=0,c="",f="",h=1;if(a)for(u=0;u!=a.length;++u){for(f=a[u],o=0;o!=f.length;++o)if(61===f.charCodeAt(o))break;c=f.slice(0,o).trim();while(32==f.charCodeAt(o+1))++o;for(h=34==(i=f.charCodeAt(o+1))||39==i?1:0,l=f.slice(o+1+h,f.length-h),s=0;s!=c.length;++s)if(58===c.charCodeAt(s))break;if(s===c.length)c.indexOf("_")>0&&(c=c.slice(0,c.indexOf("_"))),r[c]=l,n||(r[c.toLowerCase()]=l);else{var d=(5===s&&"xmlns"===c.slice(0,5)?"xmlns":"")+c.slice(s+1);if(r[d]&&"ext"==c.slice(s-3,s))continue;r[d]=l,n||(r[d.toLowerCase()]=l)}}return r}function Fe(e){return e.replace(Ne,"<$1")}var ze={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},Ue=ee(ze),He=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(r){var i=r+"",o=i.indexOf("<![CDATA[");if(-1==o)return i.replace(e,(function(e,t){return ze[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var a=i.indexOf("]]>");return n(i.slice(0,o))+i.slice(o+9,a)+n(i.slice(a+3))}}(),Ve=/[&<>'"]/g,Ge=/[\u0000-\u0008\u000b-\u001f]/g;function We(e){var t=e+"";return t.replace(Ve,(function(e){return Ue[e]})).replace(Ge,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function qe(e){return We(e).replace(/ /g,"_x0020_")}var Xe=/[\u0000-\u001f]/g;function Ye(e){var t=e+"";return t.replace(Ve,(function(e){return Ue[e]})).replace(/\n/g,"<br/>").replace(Xe,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function Ke(e){var t=e+"";return t.replace(Ve,(function(e){return Ue[e]})).replace(Xe,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var $e=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}(),Ze=function(){return function(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}}();function Je(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Qe=function(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0;while(n<e.length)r=e.charCodeAt(n++),r<128?t+=String.fromCharCode(r):(i=e.charCodeAt(n++),r>191&&r<224?(a=(31&r)<<6,a|=63&i,t+=String.fromCharCode(a)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o):(a=e.charCodeAt(n++),s=((7&r)<<18|(63&i)<<12|(63&o)<<6|63&a)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t},et=function(e){var t=[],n=0,r=0,i=0;while(n<e.length)switch(r=e.charCodeAt(n++),!0){case r<128:t.push(String.fromCharCode(r));break;case r<2048:t.push(String.fromCharCode(192+(r>>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")};if(k){var tt=function(e){var t,n,r,o=i.alloc(2*e.length),a=1,s=0,l=0;for(n=0;n<e.length;n+=a)a=1,(r=e.charCodeAt(n))<128?t=r:r<224?(t=64*(31&r)+(63&e.charCodeAt(n+1)),a=2):r<240?(t=4096*(15&r)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),a=3):(a=4,t=262144*(7&r)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),t-=65536,l=55296+(t>>>10&1023),t=56320+(1023&t)),0!==l&&(o[s++]=255&l,o[s++]=l>>>8,l=0),o[s++]=t%256,o[s++]=t>>>8;return o.slice(0,s).toString("ucs2")},nt="foo bar baz☃🍣";Qe(nt)==tt(nt)&&(Qe=tt);var rt=function(e){return E(e,"binary").toString("utf8")};Qe(nt)==rt(nt)&&(Qe=rt),et=function(e){return E(e,"utf8").toString("binary")}}var it=function(){var e={};return function(t,n){var r=t+"|"+(n||"");return e[r]?e[r]:e[r]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",n||"")}}(),ot=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),r=0;r<e.length;++r)n=n.replace(e[r][0],e[r][1]);return n}}(),at=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),st=/<\/?(?:vt:)?variant>/g,lt=/<(?:vt:)([^>]*)>([\s\S]*)</;function ut(e,t){var n=Be(e),r=e.match(at(n.baseType))||[],i=[];if(r.length!=n.size){if(t.WTF)throw new Error("unexpected vector length "+r.length+" != "+n.size);return i}return r.forEach((function(e){var t=e.replace(st,"").match(lt);t&&i.push({v:Qe(t[2]),t:t[1]})})),i}var ct=/(^\s|\s$|\n)/;function ft(e,t){return"<"+e+(t.match(ct)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function ht(e){return J(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function dt(e,t,n){return"<"+e+(null!=n?ht(n):"")+(null!=t?(t.match(ct)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function pt(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(My){if(t)throw My}return""}function gt(e,t){switch(typeof e){case"string":var n=dt("vt:lpwstr",We(e));return t&&(n=n.replace(/&quot;/g,"_x0022_")),n;case"number":return dt((0|e)==e?"vt:i4":"vt:r8",We(String(e)));case"boolean":return dt("vt:bool",e?"true":"false")}if(e instanceof Date)return dt("vt:filetime",pt(e));throw new Error("Unable to serialize "+e)}var vt={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema",main:["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"]},yt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function mt(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],o=5;o>=0;--o)i=256*i+e[t+o];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}function bt(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,o=0,a=r?-t:t;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?i=-1022:(o-=Math.pow(2,52),i+=1023)):(i=2047,o=isNaN(t)?26985:0);for(var s=0;s<=5;++s,o/=256)e[n+s]=255&o;e[n+6]=(15&i)<<4|15&o,e[n+7]=i>>4|r}var _t,xt,wt=function(e){for(var t=[],n=10240,r=0;r<e[0].length;++r)if(e[0][r])for(var i=0,o=e[0][r].length;i<o;i+=n)t.push.apply(t,e[0][r].slice(i,i+n));return t},St=wt,kt=function(e,t,n){for(var r=[],i=t;i<n;i+=2)r.push(String.fromCharCode(Ht(e,i)));return r.join("").replace(R,"")},Et=kt,Ot=function(e,t,n){for(var r=[],i=t;i<t+n;++i)r.push(("0"+e[i].toString(16)).slice(-2));return r.join("")},Ct=Ot,At=function(e,t,n){for(var r=[],i=t;i<n;i++)r.push(String.fromCharCode(Ut(e,i)));return r.join("")},Tt=At,Pt=function(e,t){var n=Gt(e,t);return n>0?At(e,t+4,t+4+n-1):""},Mt=Pt,Dt=function(e,t){var n=Gt(e,t);return n>0?At(e,t+4,t+4+n-1):""},It=Dt,Lt=function(e,t){var n=2*Gt(e,t);return n>0?At(e,t+4,t+4+n-1):""},Rt=Lt;_t=xt=function(e,t){var n=Gt(e,t);return n>0?kt(e,t+4,t+4+n):""};var jt,Nt,Bt=function(e,t){var n=Gt(e,t);return n>0?At(e,t+4,t+4+n):""},Ft=Bt;jt=Nt=function(e,t){return mt(e,t)};var zt=function(e){return Array.isArray(e)};k&&(kt=function(e,t,n){return i.isBuffer(e)?e.toString("utf16le",t,n).replace(R,""):Et(e,t,n)},Ot=function(e,t,n){return i.isBuffer(e)?e.toString("hex",t,t+n):Ct(e,t,n)},Pt=function(e,t){if(!i.isBuffer(e))return Mt(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Dt=function(e,t){if(!i.isBuffer(e))return It(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Lt=function(e,t){if(!i.isBuffer(e))return Rt(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},_t=function(e,t){if(!i.isBuffer(e))return xt(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},Bt=function(e,t){if(!i.isBuffer(e))return Ft(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},At=function(e,t,n){return i.isBuffer(e)?e.toString("utf8",t,n):Tt(e,t,n)},wt=function(e){return e[0].length>0&&i.isBuffer(e[0][0])?i.concat(e[0]):St(e)},L=function(e){return i.isBuffer(e[0])?i.concat(e):[].concat.apply([],e)},jt=function(e,t){return i.isBuffer(e)?e.readDoubleLE(t):Nt(e,t)},zt=function(e){return i.isBuffer(e)||Array.isArray(e)}),"undefined"!==typeof cptable&&(kt=function(e,t,n){return cptable.utils.decode(1200,e.slice(t,n)).replace(R,"")},At=function(e,t,n){return cptable.utils.decode(65001,e.slice(t,n))},Pt=function(e,t){var n=Gt(e,t);return n>0?cptable.utils.decode(s,e.slice(t+4,t+4+n-1)):""},Dt=function(e,t){var n=Gt(e,t);return n>0?cptable.utils.decode(a,e.slice(t+4,t+4+n-1)):""},Lt=function(e,t){var n=2*Gt(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},_t=function(e,t){var n=Gt(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n)):""},Bt=function(e,t){var n=Gt(e,t);return n>0?cptable.utils.decode(65001,e.slice(t+4,t+4+n)):""});var Ut=function(e,t){return e[t]},Ht=function(e,t){return 256*e[t+1]+e[t]},Vt=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Gt=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Wt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},qt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Xt(e,t){var n,r,o,s,l,u,c="",f=[];switch(t){case"dbcs":if(u=this.l,k&&i.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l<e;++l)c+=String.fromCharCode(Ht(this,u)),u+=2;e*=2;break;case"utf8":c=At(this,this.l,this.l+e);break;case"utf16le":e*=2,c=kt(this,this.l,this.l+e);break;case"wstr":if("undefined"===typeof cptable)return Xt.call(this,e,"dbcs");c=cptable.utils.decode(a,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":c=Pt(this,this.l),e=4+Gt(this,this.l);break;case"lpstr-cp":c=Dt(this,this.l),e=4+Gt(this,this.l);break;case"lpwstr":c=Lt(this,this.l),e=4+2*Gt(this,this.l);break;case"lpp4":e=4+Gt(this,this.l),c=_t(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+Gt(this,this.l),c=Bt(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":e=0,c="";while(0!==(o=Ut(this,this.l+e++)))f.push(b(o));c=f.join("");break;case"_wstr":e=0,c="";while(0!==(o=Ht(this,this.l+e)))f.push(b(o)),e+=2;e+=2,c=f.join("");break;case"dbcs-cont":for(c="",u=this.l,l=0;l<e;++l){if(this.lens&&-1!==this.lens.indexOf(u))return o=Ut(this,u),this.l=u+1,s=Xt.call(this,e-l,o?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(b(Ht(this,u))),u+=2}c=f.join(""),e*=2;break;case"cpstr":if("undefined"!==typeof cptable){c=cptable.utils.decode(a,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(c="",u=this.l,l=0;l!=e;++l){if(this.lens&&-1!==this.lens.indexOf(u))return o=Ut(this,u),this.l=u+1,s=Xt.call(this,e-l,o?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(b(Ut(this,u))),u+=1}c=f.join("");break;default:switch(e){case 1:return n=Ut(this,this.l),this.l++,n;case 2:return n=("i"===t?Vt:Ht)(this,this.l),this.l+=2,n;case 4:case-4:return"i"===t||0===(128&this[this.l+3])?(n=(e>0?Wt:qt)(this,this.l),this.l+=4,n):(r=Gt(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return r=8==e?jt(this,this.l):jt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;e=8;case 16:c=Ot(this,this.l,e);break}}return this.l+=e,c}var Yt=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Kt=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},$t=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Zt(e,t,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=t.length;++i)$t(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!==typeof cptable&&874==s)for(i=0;i!=t.length;++i){var o=cptable.utils.encode(s,t.charAt(i));this[this.l+i]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);r=t.length}else{if("hex"===n){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===n){var a=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var l=t.charCodeAt(i);this[this.l++]=255&l,this[this.l++]=l>>8}while(this.l<a)this[this.l++]=0;return this}switch(e){case 1:r=1,this[this.l]=255&t;break;case 2:r=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,Yt(this,t,this.l);break;case 8:if(r=8,"f"===n){bt(this,t,this.l);break}case 16:break;case-4:r=4,Kt(this,t,this.l);break}}return this.l+=r,this}function Jt(e,t){var n=Ot(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Qt(e,t){e.l=t,e.read_shift=Xt,e.chk=Jt,e.write_shift=Zt}function en(e,t){e.l+=t}function tn(e){var t=C(e);return Qt(t,0),t}function nn(e,t,n){if(e){var r,i,o;Qt(e,e.l||0);var a=e.length,s=0,l=0;while(e.l<a){s=e.read_shift(1),128&s&&(s=(127&s)+((127&e.read_shift(1))<<7));var u=Jg[s]||Jg[65535];for(r=e.read_shift(1),o=127&r,i=1;i<4&&128&r;++i)o+=(127&(r=e.read_shift(1)))<<7*i;l=e.l+o;var c=u.f&&u.f(e,o,n);if(e.l=l,t(c,u.n,s))return}}}function rn(){var e=[],t=k?256:2048,n=function(e){var t=tn(e);return Qt(t,0),t},r=n(t),i=function(){r&&(r.length>r.l&&(r=r.slice(0,r.l),r.l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e<r.length-r.l?r:(i(),r=n(Math.max(e+1,t)))},a=function(){return i(),wt([e])},s=function(e){i(),r=e,null==r.l&&(r.l=r.length),o(t)};return{next:o,push:s,end:a,_bufs:e}}function on(e,t,n,r){var i,o=+Qg[t];if(!isNaN(o)){r||(r=Jg[o].p||(n||[]).length||0),i=1+(o>=128?1:0)+1,r>=128&&++i,r>=16384&&++i,r>=2097152&&++i;var a=e.next(i);o<=127?a.write_shift(1,o):(a.write_shift(1,128+(127&o)),a.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(r>=128)){a.write_shift(1,r);break}a.write_shift(1,128+(127&r)),r>>=7}r>0&&zt(n)&&e.push(n)}}function an(e,t,n){var r=pe(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){while(r.c>=256)r.c-=256;while(r.r>=65536)r.r-=65536}return r}function sn(e,t,n){var r=pe(e);return r.s=an(r.s,t.s,n),r.e=an(r.e,t.s,n),r}function ln(e,t){if(e.cRel&&e.c<0){e=pe(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=pe(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var n=wn(e);return e.cRel||null==e.cRel||(n=mn(n)),e.rRel||null==e.rRel||(n=pn(n)),n}function un(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?ln(e.s,t.biff)+":"+ln(e.e,t.biff):(e.s.rRel?"":"$")+dn(e.s.r)+":"+(e.e.rRel?"":"$")+dn(e.e.r):(e.s.cRel?"":"$")+yn(e.s.c)+":"+(e.e.cRel?"":"$")+yn(e.e.c)}var cn={},fn=function(e,t){var r;if("undefined"!==typeof t)r=t;else{try{r=n(3)}catch(My){r=null}}e.rc4=function(e,t){var n=new Array(256),r=0,i=0,o=0,a=0;for(i=0;256!=i;++i)n[i]=i;for(i=0;256!=i;++i)o=o+n[i]+e[i%e.length].charCodeAt(0)&255,a=n[i],n[i]=n[o],n[o]=a;i=o=0;var s=C(t.length);for(r=0;r!=t.length;++r)i=i+1&255,o=(o+n[i])%256,a=n[i],n[i]=n[o],n[o]=a,s[r]=t[r]^n[n[i]+n[o]&255];return s},e.md5=function(e){if(!r)throw new Error("Unsupported crypto");return r.createHash("md5").update(e).digest("hex")}};function hn(e){return parseInt(gn(e),10)-1}function dn(e){return""+(e+1)}function pn(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function gn(e){return e.replace(/\$(\d+)$/,"$1")}function vn(e){for(var t=bn(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function yn(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function mn(e){return e.replace(/^([A-Z])/,"$$$1")}function bn(e){return e.replace(/^\$([A-Z])/,"$1")}function _n(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function xn(e){for(var t=0,n=0,r=0;r<e.length;++r){var i=e.charCodeAt(r);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function wn(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function Sn(e){var t=e.indexOf(":");return-1==t?{s:xn(e),e:xn(e)}:{s:xn(e.slice(0,t)),e:xn(e.slice(t+1))}}function kn(e,t){return"undefined"===typeof t||"number"===typeof t?kn(e.s,e.e):("string"!==typeof e&&(e=wn(e)),"string"!==typeof t&&(t=wn(t)),e==t?e:e+":"+t)}function En(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,o=e.length;for(n=0;r<o;++r){if((i=e.charCodeAt(r)-64)<1||i>26)break;n=26*n+i}for(t.s.c=--n,n=0;r<o;++r){if((i=e.charCodeAt(r)-48)<0||i>9)break;n=10*n+i}if(t.s.r=--n,r===o||10!=i)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o;++r){if((i=e.charCodeAt(r)-64)<1||i>26)break;n=26*n+i}for(t.e.c=--n,n=0;r!=o;++r){if((i=e.charCodeAt(r)-48)<0||i>9)break;n=10*n+i}return t.e.r=--n,t}function On(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=N.format(e.z,n?ie(t):t)}catch(My){}try{return e.w=N.format((e.XF||{}).numFmtId||(n?14:0),n?ie(t):t)}catch(My){return""+t}}function Cn(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?Lr[e.v]||e.v:On(e,void 0==t?e.v:t))}function An(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function Tn(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=x&&null==i&&(i=x);var o=e||(i?[]:{}),a=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)a=r.origin;else{var l="string"==typeof r.origin?xn(r.origin):r.origin;a=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var c=En(o["!ref"]);u.s.c=c.s.c,u.s.r=c.s.r,u.e.c=Math.max(u.e.c,c.e.c),u.e.r=Math.max(u.e.r,c.e.r),-1==a&&(u.e.r=a=c.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if("undefined"!==typeof t[f][h]){var d={v:t[f][h]},p=a+f,g=s+h;if(u.s.r>p&&(u.s.r=p),u.s.c>g&&(u.s.c=g),u.e.r<p&&(u.e.r=p),u.e.c<g&&(u.e.c=g),!t[f][h]||"object"!==typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(r.nullError)d.t="e",d.v=0;else{if(!r.sheetStubs)continue;d.t="z"}else"number"===typeof d.v?d.t="n":"boolean"===typeof d.v?d.t="b":d.v instanceof Date?(d.z=r.dateNF||N._table[14],r.cellDates?(d.t="d",d.w=N.format(d.z,ie(d.v))):(d.t="n",d.v=ie(d.v),d.w=N.format(d.z,d.v))):d.t="s";else d=t[f][h];if(i)o[p]||(o[p]=[]),o[p][g]&&o[p][g].z&&(d.z=o[p][g].z),o[p][g]=d;else{var v=wn({c:g,r:p});o[v]&&o[v].z&&(d.z=o[v].z),o[v]=d}}}return u.s.c<1e7&&(o["!ref"]=kn(u)),o}function Pn(e,t){return Tn(null,e,t)}function Mn(e,t){return t||(t=tn(4)),t.write_shift(4,e),t}function Dn(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function In(e,t){var n=!1;return null==t&&(n=!0,t=tn(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function Ln(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Rn(e,t){return t||(t=tn(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function jn(e,t){var n=e.l,r=e.read_shift(1),i=Dn(e),o=[],a={t:i,h:i};if(0!==(1&r)){for(var s=e.read_shift(4),l=0;l!=s;++l)o.push(Ln(e));a.r=o}else a.r=[{ich:0,ifnt:0}];return e.l=n+t,a}function Nn(e,t){var n=!1;return null==t&&(n=!0,t=tn(15+4*e.t.length)),t.write_shift(1,0),In(e.t,t),n?t.slice(0,t.l):t}fn(cn,"undefined"!==typeof crypto?crypto:void 0);var Bn=jn;function Fn(e,t){var n=!1;return null==t&&(n=!0,t=tn(23+4*e.t.length)),t.write_shift(1,1),In(e.t,t),t.write_shift(4,1),Rn({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function zn(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function Un(e,t){return null==t&&(t=tn(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function Hn(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Vn(e,t){return null==t&&(t=tn(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Gn=Dn,Wn=In;function qn(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Xn(e,t){var n=!1;return null==t&&(n=!0,t=tn(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var Yn=Dn,Kn=qn,$n=Xn;function Zn(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4,t[0]&=252;var i=0===r?jt([0,0,0,0,t[0],t[1],t[2],t[3]],0):Wt(t,0)>>2;return n?i/100:i}function Jn(e,t){null==t&&(t=tn(4));var n=0,r=0,i=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?i:e)<<2)+(n+2))}function Qn(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function er(e,t){return t||(t=tn(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var tr=Qn,nr=er;function rr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function ir(e,t){return(t||tn(8)).write_shift(8,e,"f")}function or(e){var t={},n=e.read_shift(1),r=n>>>1,i=e.read_shift(1),o=e.read_shift(2,"i"),a=e.read_shift(1),s=e.read_shift(1),l=e.read_shift(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=i;var u=Ir[i];u&&(t.rgb=pl(u));break;case 2:t.rgb=pl([a,s,l]);break;case 3:t.theme=i;break}return 0!=o&&(t.tint=o>0?o/32767:o/32768),t}function ar(e,t){if(t||(t=tn(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t.write_shift(1,parseInt(r.slice(0,2),16)),t.write_shift(1,parseInt(r.slice(2,4),16)),t.write_shift(1,parseInt(r.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function sr(e){var t=e.read_shift(1);e.l++;var n={fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t};return n}function lr(e,t){t||(t=tn(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,n),t.write_shift(1,0),t}function ur(e,t){var n={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return n[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}function cr(e){return ur(e,1)}function fr(e){return ur(e,2)}var hr=2,dr=3,pr=11,gr=12,vr=19,yr=30,mr=64,br=65,_r=71,xr=4096,wr=80,Sr=81,kr=[wr,Sr],Er={1:{n:"CodePage",t:hr},2:{n:"Category",t:wr},3:{n:"PresentationFormat",t:wr},4:{n:"ByteCount",t:dr},5:{n:"LineCount",t:dr},6:{n:"ParagraphCount",t:dr},7:{n:"SlideCount",t:dr},8:{n:"NoteCount",t:dr},9:{n:"HiddenCount",t:dr},10:{n:"MultimediaClipCount",t:dr},11:{n:"ScaleCrop",t:pr},12:{n:"HeadingPairs",t:xr|gr},13:{n:"TitlesOfParts",t:xr|yr},14:{n:"Manager",t:wr},15:{n:"Company",t:wr},16:{n:"LinksUpToDate",t:pr},17:{n:"CharacterCount",t:dr},19:{n:"SharedDoc",t:pr},22:{n:"HyperlinksChanged",t:pr},23:{n:"AppVersion",t:dr,p:"version"},24:{n:"DigSig",t:br},26:{n:"ContentType",t:wr},27:{n:"ContentStatus",t:wr},28:{n:"Language",t:wr},29:{n:"Version",t:wr},255:{},2147483648:{n:"Locale",t:vr},2147483651:{n:"Behavior",t:vr},1919054434:{}},Or={1:{n:"CodePage",t:hr},2:{n:"Title",t:wr},3:{n:"Subject",t:wr},4:{n:"Author",t:wr},5:{n:"Keywords",t:wr},6:{n:"Comments",t:wr},7:{n:"Template",t:wr},8:{n:"LastAuthor",t:wr},9:{n:"RevNumber",t:wr},10:{n:"EditTime",t:mr},11:{n:"LastPrinted",t:mr},12:{n:"CreatedDate",t:mr},13:{n:"ModifiedDate",t:mr},14:{n:"PageCount",t:dr},15:{n:"WordCount",t:dr},16:{n:"CharCount",t:dr},17:{n:"Thumbnail",t:_r},18:{n:"Application",t:wr},19:{n:"DocSecurity",t:dr},255:{},2147483648:{n:"Locale",t:vr},2147483651:{n:"Behavior",t:vr},1919054434:{}},Cr=Q(Er,"n"),Ar=Q(Or,"n"),Tr={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Pr=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Mr(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Dr=Mr([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Ir=pe(Dr),Lr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Rr=te(Lr),jr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Nr=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return J(e).forEach((function(t){["xlsm","xlam"].forEach((function(n){e[t][n]||(e[t][n]=e[t].xlsx)}))})),J(e).forEach((function(t){J(e[t]).forEach((function(n){jr[e[t][n]]=t}))})),e}(),Br=ne(jr);function Fr(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function zr(e){var t=Fr();if(!e||!e.match)return t;var n={};if((e.match(Re)||[]).forEach((function(e){var r=Be(e);switch(r[0].replace(je,"<")){case"<?xml":break;case"<Types":t.xmlns=r["xmlns"+(r[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":n[r.Extension]=r.ContentType;break;case"<Override":void 0!==t[jr[r.ContentType]]&&t[jr[r.ContentType]].push(r.PartName);break}})),t.xmlns!==vt.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}vt.CT="http://schemas.openxmlformats.org/package/2006/content-types";var Ur=dt("Types",null,{xmlns:vt.CT,"xmlns:xsd":vt.xsd,"xmlns:xsi":vt.xsi}),Hr=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",Br.rels[0]]].map((function(e){return dt("Default",null,{Extension:e[0],ContentType:e[1]})}));function Vr(e,t){var n,r=[];r[r.length]=Ie,r[r.length]=Ur,r=r.concat(Hr);var i=function(i){e[i]&&e[i].length>0&&(n=e[i][0],r[r.length]=dt("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:Nr[i][t.bookType||"xlsx"]}))},o=function(n){(e[n]||[]).forEach((function(e){r[r.length]=dt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Nr[n][t.bookType||"xlsx"]})}))},a=function(t){(e[t]||[]).forEach((function(e){r[r.length]=dt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Br[t][0]})}))};return i("workbooks"),o("sheets"),o("charts"),a("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(a),a("vba"),a("comments"),a("drawings"),r.length>2&&(r[r.length]="</Types>",r[1]=r[1].replace("/>",">")),r.join("")}var Gr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Wr(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function qr(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(Re)||[]).forEach((function(e){var i=Be(e);if("<Relationship"===i[0]){var o={};o.Type=i.Type,o.Target=i.Target,o.Id=i.Id,i.TargetMode&&(o.TargetMode=i.TargetMode);var a="External"===i.TargetMode?i.Target:De(i.Target,t);n[a]=o,r[i.Id]=o}})),n["!id"]=r,n}vt.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var Xr=dt("Relationships",null,{xmlns:vt.RELS});function Yr(e){var t=[Ie,Xr];return J(e["!id"]).forEach((function(n){t[t.length]=dt("Relationship",null,e["!id"][n])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}var Kr=[Gr.HLINK,Gr.XPATH,Gr.XMISS];function $r(e,t,n,r,i,o){if(i||(i={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(i.Id="rId"+t,i.Type=r,i.Target=n,o?i.TargetMode=o:Kr.indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,t}var Zr="application/vnd.oasis.opendocument.spreadsheet";function Jr(e,t){var n,r,i=Eg(e);while(n=Og.exec(i))switch(n[3]){case"manifest":break;case"file-entry":if(r=Be(n[0],!1),"/"==r.path&&r.type!==Zr)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}function Qr(e){var t=[Ie];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var n=0;n<e.length;++n)t.push(' <manifest:file-entry manifest:full-path="'+e[n][0]+'" manifest:media-type="'+e[n][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}function ei(e,t,n){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(n||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function ti(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function ni(e){var t=[Ie];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var n=0;n!=e.length;++n)t.push(ei(e[n][0],e[n][1])),t.push(ti("",e[n][0]));return t.push(ei("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}var ri=function(){var e='<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+t.version+"</meta:generator></office:meta></office:document-meta>";return function(){return e}}(),ii=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];vt.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Gr.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var oi=function(){for(var e=new Array(ii.length),t=0;t<ii.length;++t){var n=ii[t],r="(?:"+n[0].slice(0,n[0].indexOf(":"))+":)"+n[0].slice(n[0].indexOf(":")+1);e[t]=new RegExp("<"+r+"[^>]*>([\\s\\S]*?)</"+r+">")}return e}();function ai(e){var t={};e=Qe(e);for(var n=0;n<ii.length;++n){var r=ii[n],i=e.match(oi[n]);null!=i&&i.length>0&&(t[r[1]]=He(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=he(t[r[1]]))}return t}var si=dt("cp:coreProperties",null,{"xmlns:cp":vt.CORE_PROPS,"xmlns:dc":vt.dc,"xmlns:dcterms":vt.dcterms,"xmlns:dcmitype":vt.dcmitype,"xmlns:xsi":vt.xsi});function li(e,t,n,r,i){null==i[e]&&null!=t&&""!==t&&(i[e]=t,t=We(t),r[r.length]=n?dt(e,t,n):ft(e,t))}function ui(e,t){var n=t||{},r=[Ie,si],i={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&li("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:pt(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i),null!=e.ModifiedDate&&li("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:pt(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i));for(var o=0;o!=ii.length;++o){var a=ii[o],s=n.Props&&null!=n.Props[a[1]]?n.Props[a[1]]:e?e[a[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&li(a[0],s,null,r,i)}return r.length>2&&(r[r.length]="</cp:coreProperties>",r[1]=r[1].replace("/>",">")),r.join("")}var ci=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];vt.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Gr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var fi=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function hi(e,t,n,r){var i=[];if("string"==typeof e)i=ut(e,r);else for(var o=0;o<e.length;++o)i=i.concat(e[o].map((function(e){return{v:e}})));var a="string"==typeof t?ut(t,r).map((function(e){return e.v})):t,s=0,l=0;if(a.length>0)for(var u=0;u!==i.length;u+=2){switch(l=+i[u+1].v,i[u].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=l,n.SheetNames=a.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=a.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=a.slice(s,s+l);break}s+=l}}function di(e,t,n){var r={};return t||(t={}),e=Qe(e),ci.forEach((function(n){var i=(e.match(it(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=He(i));break;case"bool":t[n[1]]="true"===i;break;case"raw":var o=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)</"+n[0]+">"));o&&o.length>0&&(r[n[1]]=o[1]);break}})),r.HeadingPairs&&r.TitlesOfParts&&hi(r.HeadingPairs,r.TitlesOfParts,t,n),t}var pi=dt("Properties",null,{xmlns:vt.EXT_PROPS,"xmlns:vt":vt.vt});function gi(e){var t=[],n=dt;return e||(e={}),e.Application="SheetJS",t[t.length]=Ie,t[t.length]=pi,ci.forEach((function(r){if(void 0!==e[r[1]]){var i;switch(r[2]){case"string":i=We(String(e[r[1]]));break;case"bool":i=e[r[1]]?"true":"false";break}void 0!==i&&(t[t.length]=n(r[0],i))}})),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+We(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}vt.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Gr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var vi=/<[^>]+>[^<]*/g;function yi(e,t){var n={},r="",i=e.match(vi);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=Be(a);switch(s[0]){case"<?xml":break;case"<Properties":break;case"<property":r=He(s.name);break;case"</property>":r=null;break;default:if(0===a.indexOf("<vt:")){var l=a.split(">"),u=l[0].slice(4),c=l[1];switch(u){case"lpstr":case"bstr":case"lpwstr":n[r]=He(c);break;case"bool":n[r]=Je(c);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(c,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(c);break;case"filetime":case"date":n[r]=he(c);break;case"cy":case"error":n[r]=He(c);break;default:if("/"==u.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",a,u,l)}}else if("</"===a.slice(0,2));else if(t.WTF)throw new Error(a)}}return n}var mi=dt("Properties",null,{xmlns:vt.CUST_PROPS,"xmlns:vt":vt.vt});function bi(e){var t=[Ie,mi];if(!e)return t.join("");var n=1;return J(e).forEach((function(r){++n,t[t.length]=dt("property",gt(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:We(r)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var _i={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},xi=ee(_i);function wi(e,t,n){t=xi[t]||t,e[t]=n}function Si(e,t){var n=[];return J(_i).map((function(e){for(var t=0;t<ii.length;++t)if(ii[t][1]==e)return ii[t];for(t=0;t<ci.length;++t)if(ci[t][1]==e)return ci[t];throw e})).forEach((function(r){if(null!=e[r[1]]){var i=t&&t.Props&&null!=t.Props[r[1]]?t.Props[r[1]]:e[r[1]];switch(r[2]){case"date":i=new Date(i).toISOString().replace(/\.\d*Z/,"Z");break}"number"==typeof i?i=String(i):!0===i||!1===i?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),n.push(ft(_i[r[1]]||r[1],i))}})),dt("DocumentProperties",n.join(""),{xmlns:yt.o})}function ki(e,t){var n=["Worksheets","SheetNames"],r="CustomDocumentProperties",i=[];return e&&J(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var r=0;r<ii.length;++r)if(t==ii[r][1])return;for(r=0;r<ci.length;++r)if(t==ci[r][1])return;for(r=0;r<n.length;++r)if(t==n[r])return;var o=e[t],a="string";"number"==typeof o?(a="float",o=String(o)):!0===o||!1===o?(a="boolean",o=o?"1":"0"):o=String(o),i.push(dt(qe(t),o,{"dt:dt":a}))}})),t&&J(t).forEach((function(n){if(Object.prototype.hasOwnProperty.call(t,n)&&(!e||!Object.prototype.hasOwnProperty.call(e,n))){var r=t[n],o="string";"number"==typeof r?(o="float",r=String(r)):!0===r||!1===r?(o="boolean",r=r?"1":"0"):r instanceof Date?(o="dateTime.tz",r=r.toISOString()):r=String(r),i.push(dt(qe(n),r,{"dt:dt":o}))}})),"<"+r+' xmlns="'+yt.o+'">'+i.join("")+"</"+r+">"}function Ei(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Oi(e){var t="string"==typeof e?new Date(Date.parse(e)):e,n=t.getTime()/1e3+11644473600,r=n%Math.pow(2,32),i=(n-r)/Math.pow(2,32);r*=1e7,i*=1e7;var o=r/Math.pow(2,32)|0;o>0&&(r%=Math.pow(2,32),i+=o);var a=tn(8);return a.write_shift(4,r),a.write_shift(4,i),a}function Ci(e,t,n){var r=e.l,i=e.read_shift(0,"lpstr-cp");if(n)while(e.l-r&3)++e.l;return i}function Ai(e,t,n){var r=e.read_shift(0,"lpwstr");return n&&(e.l+=4-(r.length+1&3)&3),r}function Ti(e,t,n){return 31===t?Ai(e):Ci(e,t,n)}function Pi(e,t,n){return Ti(e,t,!1===n?0:4)}function Mi(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Ti(e,t,0)}function Di(e){for(var t=e.read_shift(4),n=[],r=0;r!=t;++r){var i=e.l;n[r]=e.read_shift(0,"lpwstr").replace(R,""),e.l-i&2&&(e.l+=2)}return n}function Ii(e){for(var t=e.read_shift(4),n=[],r=0;r!=t;++r)n[r]=e.read_shift(0,"lpstr-cp").replace(R,"");return n}function Li(e){var t=e.l,n=Fi(e,Sr);0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2);var r=Fi(e,dr);return[n,r]}function Ri(e){for(var t=e.read_shift(4),n=[],r=0;r<t/2;++r)n.push(Li(e));return n}function ji(e,t){for(var n=e.read_shift(4),r={},i=0;i!=n;++i){var o=e.read_shift(4),a=e.read_shift(4);r[o]=e.read_shift(a,1200===t?"utf16le":"utf8").replace(R,"").replace(j,"!"),1200===t&&a%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),r}function Ni(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function Bi(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Fi(e,t,n){var r,i=e.read_shift(2),o=n||{};if(e.l+=2,t!==gr&&i!==t&&-1===kr.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&i)))throw new Error("Expected type "+t+" saw "+i);switch(t===gr?i:t){case 2:return r=e.read_shift(2,"i"),o.raw||(e.l+=2),r;case 3:return r=e.read_shift(4,"i"),r;case 11:return 0!==e.read_shift(4);case 19:return r=e.read_shift(4),r;case 30:return Ci(e,i,4).replace(R,"");case 31:return Ai(e);case 64:return Ei(e);case 65:return Ni(e);case 71:return Bi(e);case 80:return Pi(e,i,!o.raw).replace(R,"");case 81:return Mi(e,i).replace(R,"");case 4108:return Ri(e);case 4126:case 4127:return 4127==i?Di(e):Ii(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function zi(e,t){var n=tn(4),r=tn(4);switch(n.write_shift(4,80==e?31:e),e){case 3:r.write_shift(-4,t);break;case 5:r=tn(8),r.write_shift(8,t,"f");break;case 11:r.write_shift(4,t?1:0);break;case 64:r=Oi(t);break;case 31:case 80:r=tn(4+2*(t.length+1)+(t.length%2?0:2)),r.write_shift(4,t.length+1),r.write_shift(0,t,"dbcs");while(r.l!=r.length)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return L([n,r])}function Ui(e,t){var n=e.l,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0,s=0,l=-1,u={};for(a=0;a!=i;++a){var c=e.read_shift(4),f=e.read_shift(4);o[a]=[c,f+n]}o.sort((function(e,t){return e[1]-t[1]}));var h={};for(a=0;a!=i;++a){if(e.l!==o[a][1]){var p=!0;if(a>0&&t)switch(t[o[a-1][0]].t){case 2:e.l+2===o[a][1]&&(e.l+=2,p=!1);break;case 80:e.l<=o[a][1]&&(e.l=o[a][1],p=!1);break;case 4108:e.l<=o[a][1]&&(e.l=o[a][1],p=!1);break}if((!t||0==a)&&e.l<=o[a][1]&&(p=!1,e.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+e.l+" :"+a)}if(t){var g=t[o[a][0]];if(h[g.n]=Fi(e,g.t,{raw:!0}),"version"===g.p&&(h[g.n]=String(h[g.n]>>16)+"."+("0000"+String(65535&h[g.n])).slice(-4)),"CodePage"==g.n)switch(h[g.n]){case 0:h[g.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:d(s=h[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+h[g.n])}}else if(1===o[a][0]){if(s=h.CodePage=Fi(e,hr),d(s),-1!==l){var v=e.l;e.l=o[l][1],u=ji(e,s),e.l=v}}else if(0===o[a][0]){if(0===s){l=a,e.l=o[a+1][1];continue}u=ji(e,s)}else{var y,m=u[o[a][0]];switch(e[e.l]){case 65:e.l+=4,y=Ni(e);break;case 30:e.l+=4,y=Pi(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,y=Pi(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,y=e.read_shift(4,"i");break;case 19:e.l+=4,y=e.read_shift(4);break;case 5:e.l+=4,y=e.read_shift(8,"f");break;case 11:e.l+=4,y=$i(e,4);break;case 64:e.l+=4,y=he(Ei(e));break;default:throw new Error("unparsed value: "+e[e.l])}h[m]=y}}return e.l=n+r,h}var Hi=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(fi);function Vi(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Gi(e,t,n){var r=tn(8),i=[],o=[],a=8,s=0,l=tn(8),u=tn(8);if(l.write_shift(4,2),l.write_shift(4,1200),u.write_shift(4,1),o.push(l),i.push(u),a+=8+l.length,!t){u=tn(8),u.write_shift(4,0),i.unshift(u);var c=[tn(4)];for(c[0].write_shift(4,e.length),s=0;s<e.length;++s){var f=e[s][0];l=tn(8+2*(f.length+1)+(f.length%2?0:2)),l.write_shift(4,s+2),l.write_shift(4,f.length+1),l.write_shift(0,f,"dbcs");while(l.l!=l.length)l.write_shift(1,0);c.push(l)}l=L(c),o.unshift(l),a+=8+l.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(Hi.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){d=+t[e[s][0]];var p=n[d];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}l=zi(p.t,h)}else{var v=Vi(h);-1==v&&(v=31,h=String(h)),l=zi(v,h)}o.push(l),u=tn(8),u.write_shift(4,t?d:2+s),i.push(u),a+=8+l.length}var y=8*(o.length+1);for(s=0;s<o.length;++s)i[s].write_shift(4,y),y+=o[s].length;return r.write_shift(4,a),r.write_shift(4,o.length),L([r].concat(i).concat(o))}function Wi(e,t,n){var r=e.content;if(!r)return{};Qt(r,0);var i,o,a,s,l=0;r.chk("feff","Byte Order: "),r.read_shift(2);var u=r.read_shift(4),c=r.read_shift(16);if(c!==X.utils.consts.HEADER_CLSID&&c!==n)throw new Error("Bad PropertySet CLSID "+c);if(i=r.read_shift(4),1!==i&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=r.read_shift(16),s=r.read_shift(4),1===i&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===i&&(a=r.read_shift(16),l=r.read_shift(4));var f,h=Ui(r,t),d={SystemIdentifier:u};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===i)return d;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{f=Ui(r,null)}catch(My){}for(p in f)d[p]=f[p];return d.FMTID=[o,a],d}function qi(e,t,n,r,i,o){var a=tn(i?68:48),s=[a];a.write_shift(2,65534),a.write_shift(2,0),a.write_shift(4,842412599),a.write_shift(16,X.utils.consts.HEADER_CLSID,"hex"),a.write_shift(4,i?2:1),a.write_shift(16,t,"hex"),a.write_shift(4,i?68:48);var l=Gi(e,n,r);if(s.push(l),i){var u=Gi(i,null,null);a.write_shift(16,o,"hex"),a.write_shift(4,68+l.length),s.push(u)}return L(s)}function Xi(e,t){return e.read_shift(t),null}function Yi(e,t){t||(t=tn(e));for(var n=0;n<e;++n)t.write_shift(1,0);return t}function Ki(e,t,n){var r=[],i=e.l+t;while(e.l<i)r.push(n(e,i-e.l));if(i!==e.l)throw new Error("Slurp error");return r}function $i(e,t){return 1===e.read_shift(t)}function Zi(e,t){return t||(t=tn(2)),t.write_shift(2,+!!e),t}function Ji(e){return e.read_shift(2,"u")}function Qi(e,t){return t||(t=tn(2)),t.write_shift(2,e),t}function eo(e,t){return Ki(e,t,Ji)}function to(e){var t=e.read_shift(1),n=e.read_shift(1);return 1===n?t:1===t}function no(e,t,n){return n||(n=tn(2)),n.write_shift(1,"e"==t?+e:+!!e),n.write_shift(1,"e"==t?1:0),n}function ro(e,t,n){var r=e.read_shift(n&&n.biff>=12?2:1),i="sbcs-cont",o=a;if(n&&n.biff>=8&&(a=1200),n&&8!=n.biff)12==n.biff&&(i="wstr");else{var s=e.read_shift(1);s&&(i="dbcs-cont")}n.biff>=2&&n.biff<=5&&(i="cpstr");var l=r?e.read_shift(r,i):"";return a=o,l}function io(e){var t=a;a=1200;var n,r=e.read_shift(2),i=e.read_shift(1),o=4&i,s=8&i,l=1+(1&i),u=0,c={};s&&(u=e.read_shift(2)),o&&(n=e.read_shift(4));var f=2==l?"dbcs-cont":"sbcs-cont",h=0===r?"":e.read_shift(r,f);return s&&(e.l+=4*u),o&&(e.l+=n),c.t=h,s||(c.raw="<t>"+c.t+"</t>",c.r=c.t),a=t,c}function oo(e){var t=e.t||"",n=1,r=tn(3+(n>1?2:0));r.write_shift(2,t.length),r.write_shift(1,1|(n>1?8:0)),n>1&&r.write_shift(2,n);var i=tn(2*t.length);i.write_shift(2*t.length,t,"utf16le");var o=[r,i];return L(o)}function ao(e,t,n){var r;if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}var i=e.read_shift(1);return r=0===i?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),r}function so(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):ao(e,r,n)}function lo(e,t,n){if(n.biff>5)return so(e,t,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function uo(e,t,n){return n||(n=tn(3+2*e.length)),n.write_shift(2,e.length),n.write_shift(1,1),n.write_shift(31,e,"utf16le"),n}function co(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}function fo(e){var t=e.read_shift(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(r=!0),e.l=n);var i=e.read_shift((r?t-24:t)>>1,"utf16le").replace(R,"");return r&&(e.l+=24),i}function ho(e){var t=e.read_shift(2),n="";while(t-- >0)n+="../";var r=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");var i=e.read_shift(4);if(0===i)return n+r.replace(/\\/g,"/");var o=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");var a=e.read_shift(o>>1,"utf16le").replace(R,"");return n+a}function po(e,t){var n=e.read_shift(16);switch(t-=16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return fo(e,t);case"0303000000000000c000000000000046":return ho(e,t);default:throw new Error("Unsupported Moniker "+n)}}function go(e){var t=e.read_shift(4),n=t>0?e.read_shift(t,"utf16le").replace(R,""):"";return n}function vo(e,t){t||(t=tn(6+2*e.length)),t.write_shift(4,1+e.length);for(var n=0;n<e.length;++n)t.write_shift(2,e.charCodeAt(n));return t.write_shift(2,0),t}function yo(e,t){var n=e.l+t,r=e.read_shift(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var i=e.read_shift(2);e.l+=2;var o,a,s,l,u,c,f="";16&i&&(o=go(e,n-e.l)),128&i&&(a=go(e,n-e.l)),257===(257&i)&&(s=go(e,n-e.l)),1===(257&i)&&(l=po(e,n-e.l)),8&i&&(f=go(e,n-e.l)),32&i&&(u=e.read_shift(16)),64&i&&(c=Ei(e)),e.l=n;var h=a||s||l||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&i&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return u&&(d.guid=u),c&&(d.time=c),o&&(d.Tooltip=o),d}function mo(e){var t=tn(512),n=0,r=e.Target;"file://"==r.slice(0,7)&&(r=r.slice(7));var i=r.indexOf("#"),o=i>-1?31:23;switch(r.charAt(0)){case"#":o=28;break;case".":o&=-3;break}t.write_shift(4,2),t.write_shift(4,o);var a=[8,6815827,6619237,4849780,83];for(n=0;n<a.length;++n)t.write_shift(4,a[n]);if(28==o)r=r.slice(1),vo(r,t);else if(2&o){for(a="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<a.length;++n)t.write_shift(1,parseInt(a[n],16));var s=i>-1?r.slice(0,i):r;for(t.write_shift(4,2*(s.length+1)),n=0;n<s.length;++n)t.write_shift(2,s.charCodeAt(n));t.write_shift(2,0),8&o&&vo(i>-1?r.slice(i+1):"",t)}else{for(a="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n<a.length;++n)t.write_shift(1,parseInt(a[n],16));var l=0;while("../"==r.slice(3*l,3*l+3)||"..\\"==r.slice(3*l,3*l+3))++l;for(t.write_shift(2,l),t.write_shift(4,r.length-3*l+1),n=0;n<r.length-3*l;++n)t.write_shift(1,255&r.charCodeAt(n+3*l));for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),n=0;n<6;++n)t.write_shift(4,0)}return t.slice(0,t.l)}function bo(e){var t=e.read_shift(1),n=e.read_shift(1),r=e.read_shift(1),i=e.read_shift(1);return[t,n,r,i]}function _o(e,t){var n=bo(e,t);return n[3]=0,n}function xo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return{r:t,c:n,ixfe:r}}function wo(e,t,n,r){return r||(r=tn(6)),r.write_shift(2,e),r.write_shift(2,t),r.write_shift(2,n||0),r}function So(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}function ko(e,t,n){return 0===t?"":lo(e,t,n)}function Eo(e,t,n){var r=n.biff>8?4:2,i=e.read_shift(r),o=e.read_shift(r,"i"),a=e.read_shift(r,"i");return[i,o,a]}function Oo(e){var t=e.read_shift(2),n=Zn(e);return[t,n]}function Co(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=ro(e,t,n),o=e.read_shift(2);if(r-=e.l,o!==r)throw new Error("Malformed AddinUdf: padding = "+r+" != "+o);return e.l+=o,i}function Ao(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2);return{s:{c:r,r:t},e:{c:i,r:n}}}function To(e,t){return t||(t=tn(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function Po(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(1),i=e.read_shift(1);return{s:{c:r,r:t},e:{c:i,r:n}}}var Mo=Po;function Do(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return e.l+=12,[n,t,r]}function Io(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Lo(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function Ro(e){e.l+=2,e.l+=e.read_shift(2)}var jo={0:Ro,4:Ro,5:Ro,6:Ro,7:Lo,8:Ro,9:Ro,10:Ro,11:Ro,12:Ro,13:Io,14:Ro,15:Ro,16:Ro,17:Ro,18:Ro,19:Ro,20:Ro,21:Do};function No(e,t){var n=e.l+t,r=[];while(e.l<n){var i=e.read_shift(2);e.l-=2;try{r.push(jo[i](e,n-e.l))}catch(My){return e.l=n,r}}return e.l!=n&&(e.l=n),r}function Bo(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),t-=2,t>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function Fo(e,t,n){var r=1536,i=16;switch(n.bookType){case"biff8":break;case"biff5":r=1280,i=8;break;case"biff4":r=4,i=6;break;case"biff3":r=3,i=6;break;case"biff2":r=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var o=tn(i);return o.write_shift(2,r),o.write_shift(2,t),i>4&&o.write_shift(2,29282),i>6&&o.write_shift(2,1997),i>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function zo(e,t){return 0===t||e.read_shift(2),1200}function Uo(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,i=lo(e,0,n);return e.read_shift(t+r-e.l),i}function Ho(e,t){var n=!t||8==t.biff,r=tn(n?112:54);r.write_shift(8==t.biff?2:1,7),n&&r.write_shift(1,0),r.write_shift(4,859007059),r.write_shift(4,5458548|(n?0:536870912));while(r.l<r.length)r.write_shift(1,n?0:32);return r}function Vo(e,t,n){var r=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&r,fBelow:64&r,fRight:128&r}}function Go(e,t,n){var r=e.read_shift(4),i=3&e.read_shift(1),o=e.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule";break}var a=ro(e,0,n);return 0===a.length&&(a="Sheet1"),{pos:r,hs:i,dt:o,name:a}}function Wo(e,t){var n=!t||t.biff>=8?2:1,r=tn(8+n*e.name.length);r.write_shift(4,e.pos),r.write_shift(1,e.hs||0),r.write_shift(1,e.dt),r.write_shift(1,e.name.length),t.biff>=8&&r.write_shift(1,1),r.write_shift(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var i=r.slice(0,r.l);return i.l=r.l,i}function qo(e,t){for(var n=e.l+t,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0;a!=i&&e.l<n;++a)o.push(io(e));return o.Count=r,o.Unique=i,o}function Xo(e,t){var n=tn(8);n.write_shift(4,e.Count),n.write_shift(4,e.Unique);for(var r=[],i=0;i<e.length;++i)r[i]=oo(e[i],t);var o=L([n].concat(r));return o.parts=[n.length].concat(r.map((function(e){return e.length}))),o}function Yo(e,t){var n={};return n.dsst=e.read_shift(2),e.l+=t-2,n}function Ko(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var r=e.read_shift(1);return e.l+=3,7&r&&(t.level=7&r),32&r&&(t.hidden=!0),64&r&&(t.hpt=n/20),t}function $o(e){var t=So(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);var n=e.read_shift(4);return 0!==n}function Zo(e){return e.read_shift(2),e.read_shift(4)}function Jo(e,t,n){var r=0;n&&2==n.biff||(r=e.read_shift(2));var i=e.read_shift(2);n&&2==n.biff&&(r=1-(i>>15),i&=32767);var o={Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3};return[o,i]}function Qo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),l=e.read_shift(2),u=e.read_shift(2);return{Pos:[t,n],Dim:[r,i],Flags:o,CurTab:a,FirstTab:s,Selected:l,TabRatio:u}}function ea(){var e=tn(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function ta(e,t,n){if(n&&n.biff>=2&&n.biff<5)return{};var r=e.read_shift(2);return{RTL:64&r}}function na(e){var t=tn(18),n=1718;return e&&e.RTL&&(n|=64),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function ra(){}function ia(e,t,n){var r={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return r.name=ro(e,0,n),r}function oa(e,t){var n=e.name||"Arial",r=t&&5==t.biff,i=r?15+n.length:16+2*n.length,o=tn(i);return o.write_shift(2,20*(e.sz||12)),o.write_shift(4,0),o.write_shift(2,400),o.write_shift(4,0),o.write_shift(2,0),o.write_shift(1,n.length),r||o.write_shift(1,1),o.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le"),o}function aa(e){var t=xo(e);return t.isst=e.read_shift(4),t}function sa(e,t,n,r){var i=tn(10);return wo(e,t,r,i),i.write_shift(4,n),i}function la(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=e.l+t,i=xo(e,6);2==n.biff&&e.l++;var o=so(e,r-e.l,n);return i.val=o,i}function ua(e,t,n,r,i){var o=!i||8==i.biff,a=tn(+o+8+(1+o)*n.length);return wo(e,t,r,a),a.write_shift(2,n.length),o&&a.write_shift(1,1),a.write_shift((1+o)*n.length,n,o?"utf16le":"sbcs"),a}function ca(e,t,n){var r=e.read_shift(2),i=lo(e,0,n);return[r,i]}function fa(e,t,n,r){var i=n&&5==n.biff;r||(r=tn(i?3+t.length:5+2*t.length)),r.write_shift(2,e),r.write_shift(i?1:2,t.length),i||r.write_shift(1,1),r.write_shift((i?1:2)*t.length,t,i?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}var ha=lo;function da(e,t,n){var r=e.l+t,i=8!=n.biff&&n.biff?2:4,o=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(2),l=e.read_shift(2);return e.l=r,{s:{r:o,c:s},e:{r:a,c:l}}}function pa(e,t){var n=8!=t.biff&&t.biff?2:4,r=tn(2*n+6);return r.write_shift(n,e.s.r),r.write_shift(n,e.e.r+1),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c+1),r.write_shift(2,0),r}function ga(e){var t=e.read_shift(2),n=e.read_shift(2),r=Oo(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}function va(e,t){var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),o=[];while(e.l<n)o.push(Oo(e));if(e.l!==n)throw new Error("MulRK read error");var a=e.read_shift(2);if(o.length!=a-i+1)throw new Error("MulRK length mismatch");return{r:r,c:i,C:a,rkrec:o}}function ya(e,t){var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),o=[];while(e.l<n)o.push(e.read_shift(2));if(e.l!==n)throw new Error("MulBlank read error");var a=e.read_shift(2);if(o.length!=a-i+1)throw new Error("MulBlank length mismatch");return{r:r,c:i,C:a,ixfe:o}}function ma(e,t,n,r){var i={},o=e.read_shift(4),a=e.read_shift(4),s=e.read_shift(4),l=e.read_shift(2);return i.patternType=Pr[s>>26],r.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&l,i.icvBack=l>>7&127,i.fsxButton=l>>14&1,i):i}function ba(e,t,n){var r={};return r.ifnt=e.read_shift(2),r.numFmtId=e.read_shift(2),r.flags=e.read_shift(2),r.fStyle=r.flags>>2&1,t-=6,r.data=ma(e,t,r.fStyle,n),r}function _a(e,t,n,r){var i=n&&5==n.biff;r||(r=tn(i?16:20)),r.write_shift(2,0),e.style?(r.write_shift(2,e.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,e.numFmtId||0),r.write_shift(2,t<<4));var o=0;return e.numFmtId>0&&i&&(o|=1024),r.write_shift(4,o),r.write_shift(4,0),i||r.write_shift(4,0),r.write_shift(2,0),r}function xa(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function wa(e){var t=tn(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function Sa(e,t,n){var r=xo(e,6);2!=n.biff&&9!=t||++e.l;var i=to(e,2);return r.val=i,r.t=!0===i||!1===i?"b":"e",r}function ka(e,t,n,r,i,o){var a=tn(8);return wo(e,t,r,a),no(n,o,a),a}function Ea(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=xo(e,6),i=rr(e,8);return r.val=i,r}function Oa(e,t,n,r){var i=tn(14);return wo(e,t,r,i),ir(n,i),i}var Ca=ko;function Aa(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(2);if(n.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);var a=ao(e,o),s=[];while(r>e.l)s.push(so(e));return[o,i,a,s]}function Ta(e,t,n){var r,i=e.read_shift(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===n.sbcch&&(r=Co(e,t-2,n)),o.body=r||e.read_shift(t-2),"string"===typeof r&&(o.Name=r),o}var Pa=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ma(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(1),a=e.read_shift(1),s=e.read_shift(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var u=ao(e,a,n);32&i&&(u=Pa[u.charCodeAt(0)]);var c=r-e.l;n&&2==n.biff&&--c;var f=r!=e.l&&0!==s&&c>0?Kf(e,c,n,s):[];return{chKey:o,Name:u,itab:l,rgce:f}}function Da(e,t,n){if(n.biff<8)return Ia(e,t,n);var r=[],i=e.l+t,o=e.read_shift(n.biff>8?4:2);while(0!==o--)r.push(Eo(e,n.biff>8?12:6,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function Ia(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=ro(e,t,n);return 3==r.charCodeAt(0)?r.slice(1):r}function La(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=ao(e,r,n),a=ao(e,i,n);return[o,a]}e.l+=t}function Ra(e,t,n){var r=Po(e,6);e.l++;var i=e.read_shift(1);return t-=8,[$f(e,t,n),i,r]}function ja(e,t,n){var r=Mo(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,Xf(e,t,n,r)]}function Na(e){var t=0!==e.read_shift(4),n=0!==e.read_shift(4),r=e.read_shift(4);return[t,n,r]}function Ba(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=lo(e,0,n);return n.biff<8&&e.read_shift(1),[{r:r,c:i},s,a,o]}}function Fa(e,t,n){return Ba(e,t,n)}function za(e,t){var n=[],r=e.read_shift(2);while(r--)n.push(Ao(e,t));return n}function Ua(e){var t=tn(2+8*e.length);t.write_shift(2,e.length);for(var n=0;n<e.length;++n)To(e[n],t);return t}function Ha(e,t,n){if(n&&n.biff<8)return Ga(e,t,n);var r=Do(e,22),i=No(e,t-22,r[1]);return{cmo:r,ft:i}}var Va=[];function Ga(e,t,n){e.l+=4;var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var a=[];return a.push((Va[r]||en)(e,t,n)),{cmo:[i,r,o],ft:a}}function Wa(e,t,n){var r=e.l,i="";try{e.l+=4;var o=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:co(e,6,n);var a=e.read_shift(2);e.read_shift(2),Ji(e,2);var s=e.read_shift(2);e.l+=s;for(var l=1;l<e.lens.length-1;++l){if(e.l-r!=e.lens[l])throw new Error("TxO: bad continue record");var u=e[e.l],c=ao(e,e.lens[l+1]-e.lens[l]-1);if(i+=c,i.length>=(u?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return e.l=r+t,{t:i}}catch(My){return e.l=r+t,{t:i}}}function qa(e,t){var n=Ao(e,8);e.l+=16;var r=yo(e,t-24);return[n,r]}function Xa(e){var t=tn(24),n=xn(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)t.write_shift(1,parseInt(r[i],16));return L([t,mo(e[1])])}function Ya(e,t){e.read_shift(2);var n=Ao(e,8),r=e.read_shift((t-10)/2,"dbcs-cont");return r=r.replace(R,""),[n,r]}function Ka(e){var t=e[1].Tooltip,n=tn(10+2*(t.length+1));n.write_shift(2,2048);var r=xn(e[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var i=0;i<t.length;++i)n.write_shift(2,t.charCodeAt(i));return n.write_shift(2,0),n}function $a(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=Tr[t]||t,t=e.read_shift(2),n[1]=Tr[t]||t,n}function Za(e){return e||(e=tn(4)),e.write_shift(2,1),e.write_shift(2,1),e}function Ja(e){var t=e.read_shift(2),n=[];while(t-- >0)n.push(_o(e,8));return n}function Qa(e){var t=e.read_shift(2),n=[];while(t-- >0)n.push(_o(e,8));return n}function es(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function ts(e,t,n){if(!n.cellStyles)return en(e,t);var r=n&&n.biff>=12?4:2,i=e.read_shift(r),o=e.read_shift(r),a=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var u={s:i,e:o,w:a,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(u.level=l>>8&7),u}function ns(e,t){var n=tn(12);n.write_shift(2,t),n.write_shift(2,t),n.write_shift(2,256*e.width),n.write_shift(2,0);var r=0;return e.hidden&&(r|=1),n.write_shift(1,r),r=e.level||0,n.write_shift(1,r),n.write_shift(2,0),n}function rs(e,t){var n={};return t<32||(e.l+=16,n.header=rr(e,8),n.footer=rr(e,8),e.l+=2),n}function is(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var i=e.read_shift(1);return e.l+=3,16&i&&(r.area=!0),r}function os(e){for(var t=tn(2*e),n=0;n<e;++n)t.write_shift(2,n+1);return t}Va[8]=function(e,t){var n=e.l+t;e.l+=10;var r=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e.read_shift(1);return e.l+=i,e.l=n,{fmt:r}};var as=xo,ss=eo,ls=so;function us(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}function cs(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var r=xo(e,6);++e.l;var i=lo(e,t-7,n);return r.t="str",r.val=i,r}function fs(e){var t=xo(e,6);++e.l;var n=rr(e,8);return t.t="n",t.val=n,t}function hs(e,t,n){var r=tn(15);return iv(r,e,t),r.write_shift(8,n,"f"),r}function ds(e){var t=xo(e,6);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}function ps(e,t,n){var r=tn(9);return iv(r,e,t),r.write_shift(2,n),r}function gs(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}function vs(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function ys(e,t,n){var r=e.l+t,i=xo(e,6),o=e.read_shift(2),a=ao(e,o,n);return e.l=r,i.t="str",i.val=a,i}var ms=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=ee({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127}),n=[2,3,48,49,131,139,140,245];function r(t,n){var r=[],i=C(1);switch(n.type){case"base64":i=T(S.decode(t));break;case"binary":i=T(t);break;case"buffer":case"array":i=t;break}Qt(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,l=!1;switch(o){case 2:break;case 3:break;case 48:s=!0,a=!0;break;case 49:s=!0,a=!0;break;case 131:break;case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var u=0,c=521;2==o&&(u=i.read_shift(2)),i.l+=3,2!=o&&(u=i.read_shift(4)),u>1048576&&(u=1e6),2!=o&&(c=i.read_shift(2));var f=i.read_shift(2),h=n.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(h=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);var d=[],p={},g=Math.min(i.length,2==o?521:c-10-(s?264:0)),v=l?32:11;while(i.l<g&&13!=i[i.l])switch(p={},p.name=cptable.utils.decode(h,i.slice(i.l,i.l+v)).replace(/[\u0000\r\n].*$/g,""),i.l+=v,p.type=String.fromCharCode(i.read_shift(1)),2==o||l||(p.offset=i.read_shift(4)),p.len=i.read_shift(1),2==o&&(p.offset=i.read_shift(2)),p.dec=i.read_shift(1),p.name.length&&d.push(p),2!=o&&(i.l+=l?13:14),p.type){case"B":s&&8==p.len||!n.WTF||console.log("Skipping "+p.name+":"+p.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+p.name+":"+p.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==i[i.l]&&(i.l=c-1),13!==i.read_shift(1))throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=c;var y=0,m=0;for(r[0]=[],m=0;m!=d.length;++m)r[0][m]=d[m].name;while(u-- >0)if(42!==i[i.l])for(++i.l,r[++y]=[],m=0,m=0;m!=d.length;++m){var b=i.slice(i.l,i.l+d[m].len);i.l+=d[m].len,Qt(b,0);var _=cptable.utils.decode(h,b);switch(d[m].type){case"C":_.trim().length&&(r[y][m]=_.replace(/\s+$/,""));break;case"D":8===_.length?r[y][m]=new Date(+_.slice(0,4),+_.slice(4,6)-1,+_.slice(6,8)):r[y][m]=_;break;case"F":r[y][m]=parseFloat(_.trim());break;case"+":case"I":r[y][m]=l?2147483648^b.read_shift(-4,"i"):b.read_shift(4,"i");break;case"L":switch(_.trim().toUpperCase()){case"Y":case"T":r[y][m]=!0;break;case"N":case"F":r[y][m]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+_+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[y][m]="##MEMO##"+(l?parseInt(_.trim(),10):b.read_shift(4));break;case"N":_=_.replace(/\u0000/g,"").trim(),_&&"."!=_&&(r[y][m]=+_||0);break;case"@":r[y][m]=new Date(b.read_shift(-8,"f")-621356832e5);break;case"T":r[y][m]=new Date(864e5*(b.read_shift(4)-2440588)+b.read_shift(4));break;case"Y":r[y][m]=b.read_shift(4,"i")/1e4;break;case"O":r[y][m]=-b.read_shift(-8,"f");break;case"B":if(s&&8==d[m].len){r[y][m]=b.read_shift(8,"f");break}case"G":case"P":b.l+=d[m].len;break;case"0":if("_NullFlags"===d[m].name)break;default:throw new Error("DBF Unsupported data type "+d[m].type)}}else i.l+=f;if(2!=o&&i.l<i.length&&26!=i[i.l++])throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));return n&&n.sheetRows&&(r=r.slice(0,n.sheetRows)),r}function i(e,t){var n=t||{};return n.dateNF||(n.dateNF="yyyymmdd"),Pn(r(e,n),n)}function o(e,t){try{return An(i(e,t),t)}catch(My){if(t&&t.WTF)throw My}return{SheetNames:[],Sheets:{}}}var a={B:8,C:250,L:1,D:8,"?":0,"":0};function l(e,n){var r=n||{};if(+r.codepage>=0&&d(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");var i=rn(),o=wy(e,{header:1,raw:!0,cellDates:!0}),l=o[0],u=o.slice(1),c=0,f=0,h=0,p=1;for(c=0;c<l.length;++c)if(null!=c){if(++h,"number"===typeof l[c]&&(l[c]=l[c].toString(10)),"string"!==typeof l[c])throw new Error("DBF Invalid column name "+l[c]+" |"+typeof l[c]+"|");if(l.indexOf(l[c])!==c)for(f=0;f<1024;++f)if(-1==l.indexOf(l[c]+"_"+f)){l[c]+="_"+f;break}}var g=En(e["!ref"]),v=[];for(c=0;c<=g.e.c-g.s.c;++c){var y=[];for(f=0;f<u.length;++f)null!=u[f][c]&&y.push(u[f][c]);if(0!=y.length&&null!=l[c]){var m="",b="";for(f=0;f<y.length;++f){switch(typeof y[f]){case"number":b="B";break;case"string":b="C";break;case"boolean":b="L";break;case"object":b=y[f]instanceof Date?"D":"C";break;default:b="C"}if(m=m&&m!=b?"C":b,"C"==m)break}p+=a[m]||0,v[c]=m}else v[c]="?"}var _=i.next(32);for(_.write_shift(4,318902576),_.write_shift(4,u.length),_.write_shift(2,296+32*h),_.write_shift(2,p),c=0;c<4;++c)_.write_shift(4,0);for(_.write_shift(4,0|(+t[s]||3)<<8),c=0,f=0;c<l.length;++c)if(null!=l[c]){var x=i.next(32),w=(l[c].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);x.write_shift(1,w,"sbcs"),x.write_shift(1,"?"==v[c]?"C":v[c],"sbcs"),x.write_shift(4,f),x.write_shift(1,a[v[c]]||0),x.write_shift(1,0),x.write_shift(1,2),x.write_shift(4,0),x.write_shift(1,0),x.write_shift(4,0),x.write_shift(4,0),f+=a[v[c]]||0}var S=i.next(264);for(S.write_shift(4,13),c=0;c<65;++c)S.write_shift(4,0);for(c=0;c<u.length;++c){var k=i.next(p);for(k.write_shift(1,0),f=0;f<l.length;++f)if(null!=l[f])switch(v[f]){case"L":k.write_shift(1,null==u[c][f]?63:u[c][f]?84:70);break;case"B":k.write_shift(8,u[c][f]||0,"f");break;case"D":u[c][f]?(k.write_shift(4,("0000"+u[c][f].getFullYear()).slice(-4),"sbcs"),k.write_shift(2,("00"+(u[c][f].getMonth()+1)).slice(-2),"sbcs"),k.write_shift(2,("00"+u[c][f].getDate()).slice(-2),"sbcs")):k.write_shift(8,"00000000","sbcs");break;case"C":var E=String(u[c][f]||"");for(k.write_shift(1,E,"sbcs"),h=0;h<250-E.length;++h)k.write_shift(1,32);break}}return i.next(1).write_shift(1,26),i.end()}return{versions:n,to_workbook:o,to_sheet:i,from_sheet:l}}(),bs=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("N("+J(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?_(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:_(r)};function o(e,t){switch(t.type){case"base64":return a(S.decode(e),t);case"binary":return a(e,t);case"buffer":return a(k&&i.isBuffer(e)?e.toString("binary"):M(e),t);case"array":return a(de(e),t)}throw new Error("Unrecognized type "+t.type)}function a(e,i){var o,a=e.split(/[\n\r]+/),s=-1,l=-1,u=0,c=0,f=[],h=[],p=null,g={},v=[],y=[],m=[],b=0;for(+i.codepage>=0&&d(+i.codepage);u!==a.length;++u){b=0;var _,x=a[u].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),w=x.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),S=w[0];if(x.length>0)switch(S){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==w[1].charAt(0)&&h.push(x.slice(3).replace(/;;/g,";"));break;case"C":var k=!1,E=!1,O=!1,C=!1,A=-1,T=-1;for(c=1;c<w.length;++c)switch(w[c].charAt(0)){case"A":break;case"X":l=parseInt(w[c].slice(1))-1,E=!0;break;case"Y":for(s=parseInt(w[c].slice(1))-1,E||(l=0),o=f.length;o<=s;++o)f[o]=[];break;case"K":_=w[c].slice(1),'"'===_.charAt(0)?_=_.slice(1,_.length-1):"TRUE"===_?_=!0:"FALSE"===_?_=!1:isNaN(ve(_))?isNaN(ye(_).getDate())||(_=he(_)):(_=ve(_),null!==p&&N.is_date(p)&&(_=le(_))),"undefined"!==typeof cptable&&"string"==typeof _&&"string"!=(i||{}).type&&(i||{}).codepage&&(_=cptable.utils.decode(i.codepage,_)),k=!0;break;case"E":C=!0;var P=uc(w[c].slice(1),{r:s,c:l});f[s][l]=[f[s][l],P];break;case"S":O=!0,f[s][l]=[f[s][l],"S5S"];break;case"G":break;case"R":A=parseInt(w[c].slice(1))-1;break;case"C":T=parseInt(w[c].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+x)}if(k&&(f[s][l]&&2==f[s][l].length?f[s][l][0]=_:f[s][l]=_,p=null),O){if(C)throw new Error("SYLK shared formula cannot have own formula");var M=A>-1&&f[A][T];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");f[s][l][1]=hc(M[1],{r:s-A,c:l-T})}break;case"F":var D=0;for(c=1;c<w.length;++c)switch(w[c].charAt(0)){case"X":l=parseInt(w[c].slice(1))-1,++D;break;case"Y":for(s=parseInt(w[c].slice(1))-1,o=f.length;o<=s;++o)f[o]=[];break;case"M":b=parseInt(w[c].slice(1))/20;break;case"F":break;case"G":break;case"P":p=h[parseInt(w[c].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(m=w[c].slice(1).split(" "),o=parseInt(m[0],10);o<=parseInt(m[1],10);++o)b=parseInt(m[2],10),y[o-1]=0===b?{hidden:!0}:{wch:b},Cl(y[o-1]);break;case"C":l=parseInt(w[c].slice(1))-1,y[l]||(y[l]={});break;case"R":s=parseInt(w[c].slice(1))-1,v[s]||(v[s]={}),b>0?(v[s].hpt=b,v[s].hpx=Ml(b)):0===b&&(v[s].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+x)}D<1&&(p=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+x)}}return v.length>0&&(g["!rows"]=v),y.length>0&&(g["!cols"]=y),i&&i.sheetRows&&(f=f.slice(0,i.sheetRows)),[f,g]}function s(e,t){var n=o(e,t),r=n[0],i=n[1],a=Pn(r,t);return J(i).forEach((function(e){a[e]=i[e]})),a}function l(e,t){return An(s(e,t),t)}function u(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+fc(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"';break}return i}function c(e,t){t.forEach((function(t,n){var r="F;W"+(n+1)+" "+(n+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=wl(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=Sl(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)}))}function f(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*Pl(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}function h(e,t){var n,r=["ID;PWXL;N;E"],i=[],o=En(e["!ref"]),a=Array.isArray(e),s="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&c(r,e["!cols"]),e["!rows"]&&f(r,e["!rows"]),r.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var l=o.s.r;l<=o.e.r;++l)for(var h=o.s.c;h<=o.e.c;++h){var d=wn({r:l,c:h});n=a?(e[l]||[])[h]:e[d],n&&(null!=n.v||n.f&&!n.F)&&i.push(u(n,e,l,h,t))}return r.join(s)+s+i.join(s)+s+"E"+s}return e["|"]=254,{to_workbook:l,to_sheet:s,from_sheet:h}}(),_s=function(){function e(e,n){switch(n.type){case"base64":return t(S.decode(e),n);case"binary":return t(e,n);case"buffer":return t(k&&i.isBuffer(e)?e.toString("binary"):M(e),n);case"array":return t(de(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){for(var n=e.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){var s=n[o].trim().split(","),l=s[0],u=s[1];++o;var c=n[o]||"";while(1&(c.match(/["]/g)||[]).length&&o<n.length-1)c+="\n"+n[++o];switch(c=c.trim(),+l){case-1:if("BOT"===c){a[++r]=[],i=0;continue}if("EOD"!==c)throw new Error("Unrecognized DIF special command "+c);break;case 0:"TRUE"===c?a[r][i]=!0:"FALSE"===c?a[r][i]=!1:isNaN(ve(u))?isNaN(ye(u).getDate())?a[r][i]=u:a[r][i]=he(u):a[r][i]=ve(u),++i;break;case 1:c=c.slice(1,c.length-1),c=c.replace(/""/g,'"'),w&&c&&c.match(/^=".*"$/)&&(c=c.slice(2,-1)),a[r][i++]=""!==c?c:null;break}if("EOD"===c)break}}else a[++r]=[],i=0;return t&&t.sheetRows&&(a=a.slice(0,t.sheetRows)),a}function n(t,n){return Pn(e(t,n),n)}function r(e,t){return An(n(e,t),t)}var o=function(){var e=function(e,t,n,r,i){e.push(t),e.push(n+","+r),e.push('"'+i.replace(/"/g,'""')+'"')},t=function(e,t,n,r){e.push(t+","+n),e.push(1==t?'"'+r.replace(/"/g,'""')+'"':r)};return function(n){var r,i=[],o=En(n["!ref"]),a=Array.isArray(n);e(i,"TABLE",0,1,"sheetjs"),e(i,"VECTORS",0,o.e.r-o.s.r+1,""),e(i,"TUPLES",0,o.e.c-o.s.c+1,""),e(i,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){t(i,-1,0,"BOT");for(var l=o.s.c;l<=o.e.c;++l){var u=wn({r:s,c:l});if(r=a?(n[s]||[])[l]:n[u],r)switch(r.t){case"n":var c=w?r.w:r.v;c||null==r.v||(c=r.v),null==c?w&&r.f&&!r.F?t(i,1,0,"="+r.f):t(i,1,0,""):t(i,0,c,"V");break;case"b":t(i,0,r.v?1:0,r.v?"TRUE":"FALSE");break;case"s":t(i,1,0,!w||isNaN(r.v)?r.v:'="'+r.v+'"');break;case"d":r.w||(r.w=N.format(r.z||N._table[14],ie(he(r.v)))),w?t(i,0,r.w,"V"):t(i,1,0,r.w);break;default:t(i,1,0,"")}else t(i,1,0,"")}}t(i,-1,0,"EOD");var f="\r\n",h=i.join(f);return h}}();return{to_workbook:r,to_sheet:n,from_sheet:o}}(),xs=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function n(t,n){for(var r=t.split("\n"),i=-1,o=-1,a=0,s=[];a!==r.length;++a){var l=r[a].trim().split(":");if("cell"===l[0]){var u=xn(l[1]);if(s.length<=u.r)for(i=s.length;i<=u.r;++i)s[i]||(s[i]=[]);switch(i=u.r,o=u.c,l[2]){case"t":s[i][o]=e(l[3]);break;case"v":s[i][o]=+l[3];break;case"vtf":var c=l[l.length-1];case"vtc":switch(l[3]){case"nl":s[i][o]=!!+l[4];break;default:s[i][o]=+l[4];break}"vtf"==l[2]&&(s[i][o]=[s[i][o],c])}}}return n&&n.sheetRows&&(s=s.slice(0,n.sheetRows)),s}function r(e,t){return Pn(n(e,t),t)}function i(e,t){return An(r(e,t),t)}var o=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),a=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",s=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),l="--SocialCalcSpreadsheetControlSave--";function u(e){if(!e||!e["!ref"])return"";for(var n,r=[],i=[],o="",a=Sn(e["!ref"]),s=Array.isArray(e),l=a.s.r;l<=a.e.r;++l)for(var u=a.s.c;u<=a.e.c;++u)if(o=wn({r:l,c:u}),n=s?(e[l]||[])[u]:e[o],n&&null!=n.v&&"z"!==n.t){switch(i=["cell",o,"t"],n.t){case"s":case"str":i.push(t(n.v));break;case"n":n.f?(i[2]="vtf",i[3]="n",i[4]=n.v,i[5]=t(n.f)):(i[2]="v",i[3]=n.v);break;case"b":i[2]="vt"+(n.f?"f":"c"),i[3]="nl",i[4]=n.v?"1":"0",i[5]=t(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var c=ie(he(n.v));i[2]="vtc",i[3]="nd",i[4]=""+c,i[5]=n.w||N.format(n.z||N._table[14],c);break;case"e":continue}r.push(i.join(":"))}return r.push("sheet:c:"+(a.e.c-a.s.c+1)+":r:"+(a.e.r-a.s.r+1)+":tvf:1"),r.push("valueformat:1:text-wiki"),r.join("\n")}function c(e){return[o,a,s,a,u(e),l].join("\n")}return{to_workbook:i,to_sheet:r,from_sheet:c}}(),ws=function(){function e(e,t,n,r,i){i.raw?t[n][r]=e:""===e||("TRUE"===e?t[n][r]=!0:"FALSE"===e?t[n][r]=!1:isNaN(ve(e))?isNaN(ye(e).getDate())?t[n][r]=e:t[n][r]=he(e):t[n][r]=ve(e))}function t(t,n){var r=n||{},i=[];if(!t||0===t.length)return i;var o=t.split(/[\r\n]/),a=o.length-1;while(a>=0&&0===o[a].length)--a;for(var s=10,l=0,u=0;u<=a;++u)l=o[u].indexOf(" "),-1==l?l=o[u].length:l++,s=Math.max(s,l);for(u=0;u<=a;++u){i[u]=[];var c=0;for(e(o[u].slice(0,s).trim(),i,u,c,r),c=1;c<=(o[u].length-s)/10+1;++c)e(o[u].slice(s+10*(c-1),s+10*c).trim(),i,u,c,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}var n={44:",",9:"\t",59:";",124:"|"},r={44:3,9:2,59:1,124:0};function o(e){for(var t={},i=!1,o=0,a=0;o<e.length;++o)34==(a=e.charCodeAt(o))?i=!i:!i&&a in n&&(t[a]=(t[a]||0)+1);for(o in a=[],t)Object.prototype.hasOwnProperty.call(t,o)&&a.push([t[o],o]);if(!a.length)for(o in t=r,t)Object.prototype.hasOwnProperty.call(t,o)&&a.push([t[o],o]);return a.sort((function(e,t){return e[0]-t[0]||r[e[1]]-r[t[1]]})),n[a.pop()[1]]||44}function a(e,t){var n=t||{},r="";null!=x&&null==n.dense&&(n.dense=x);var i=n.dense?[]:{},a={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(r=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(r=e.charAt(4),e=e.slice(6)):r=o(e.slice(0,1024)):r=n&&n.FS?n.FS:o(e.slice(0,1024));var s=0,l=0,u=0,c=0,f=0,h=r.charCodeAt(0),d=!1,p=0,g=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var v=null!=n.dateNF?H(n.dateNF):null;function y(){var t=e.slice(c,f),r={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)r.t="z";else if(n.raw)r.t="s",r.v=t;else if(0===t.trim().length)r.t="s",r.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(r.t="s",r.v=t.slice(2,-1).replace(/""/g,'"')):pc(t)?(r.t="n",r.f=t.slice(1)):(r.t="s",r.v=t);else if("TRUE"==t)r.t="b",r.v=!0;else if("FALSE"==t)r.t="b",r.v=!1;else if(isNaN(u=ve(t)))if(!isNaN(ye(t).getDate())||v&&t.match(v)){r.z=n.dateNF||N._table[14];var o=0;v&&t.match(v)&&(t=V(t,n.dateNF,t.match(v)||[]),o=1),n.cellDates?(r.t="d",r.v=he(t,o)):(r.t="n",r.v=ie(he(t,o))),!1!==n.cellText&&(r.w=N.format(r.z,r.v instanceof Date?ie(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=u;if("z"==r.t||(n.dense?(i[s]||(i[s]=[]),i[s][l]=r):i[wn({c:l,r:s})]=r),c=f+1,g=e.charCodeAt(c),a.e.c<l&&(a.e.c=l),a.e.r<s&&(a.e.r=s),p==h)++l;else if(l=0,++s,n.sheetRows&&n.sheetRows<=s)return!0}e:for(;f<e.length;++f)switch(p=e.charCodeAt(f)){case 34:34===g&&(d=!d);break;case h:case 10:case 13:if(!d&&y())break e;break;default:break}return f-c>0&&y(),i["!ref"]=kn(a),i}function s(e,n){return n&&n.PRN?n.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?a(e,n):Pn(t(e,n),n):a(e,n)}function l(e,t){var n="",r="string"==t.type?[0,0,0,0]:ty(e,t);switch(t.type){case"base64":n=S.decode(e);break;case"binary":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof cptable?cptable.utils.decode(t.codepage,e):k&&i.isBuffer(e)?e.toString("binary"):M(e);break;case"array":n=de(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=Qe(n.slice(3)):"string"!=t.type&&65001==t.codepage?n=Qe(n):"binary"==t.type&&"undefined"!==typeof cptable&&t.codepage&&(n=cptable.utils.decode(t.codepage,cptable.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?xs.to_sheet("string"==t.type?n:Qe(n),t):s(n,t)}function u(e,t){return An(l(e,t),t)}function c(e){for(var t,n=[],r=En(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var a=[],s=r.s.c;s<=r.e.c;++s){var l=wn({r:o,c:s});if(t=i?(e[o]||[])[s]:e[l],t&&null!=t.v){var u=(t.w||(Cn(t),t.w)||"").slice(0,10);while(u.length<10)u+=" ";a.push(u+(0===s?" ":""))}else a.push(" ")}n.push(a.join(""))}return n.join("\n")}return{to_workbook:u,to_sheet:l,from_sheet:c}}();function Ss(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=bs.to_workbook(e,n);return n.WTF=r,i}catch(My){if(n.WTF=r,!My.message.match(/SYLK bad record ID/)&&r)throw My;return ws.to_workbook(e,t)}}var ks=function(){function e(e,t,n){if(e){Qt(e,e.l||0);var r=n.Enum||U;while(e.l<e.length){var i=e.read_shift(2),o=r[i]||r[65535],a=e.read_shift(2),s=e.l+a,l=o.f&&o.f(e,a,n);if(e.l=s,t(l,o,i))return}}}function t(e,t){switch(t.type){case"base64":return n(T(S.decode(e)),t);case"binary":return n(T(e),t);case"buffer":case"array":return n(e,t)}throw"Unsupported type "+t.type}function n(t,n){if(!t)return t;var r=n||{};null!=x&&null==r.dense&&(r.dense=x);var i=r.dense?[]:{},o="Sheet1",a="",s=0,l={},u=[],c=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=r.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=U,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:f=e;break;case 204:e&&(a=e);break;case 222:a=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||N._table[14],r.cellDates&&(e[1].t="d",e[1].v=le(e[1].v))),r.qpro&&e[3]>s&&(i["!ref"]=kn(f),l[o]=i,u.push(o),i=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=a||"Sheet"+(s+1),a="");var c=r.dense?(i[e[0].r]||[])[e[0].c]:i[wn(e[0])];if(c){c.t=e[1].t,c.v=e[1].v,null!=e[1].z&&(c.z=e[1].z),null!=e[1].f&&(c.f=e[1].f);break}r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[wn(e[0])]=e[1];break;default:}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=H,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(i["!ref"]=kn(f),l[o]=i,u.push(o),i=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),h>0&&e[0].r>=h)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[wn(e[0])]=e[1],f.e.c<e[0].c&&(f.e.c=e[0].c),f.e.r<e[0].r&&(f.e.r=e[0].r);break;case 27:e[14e3]&&(c[e[14e3][0]]=e[14e3][1]);break;case 1537:c[e[0]]=e[1],e[0]==s&&(o=e[1]);break;default:break}}),r)}if(i["!ref"]=kn(f),l[a||o]=i,u.push(a||o),!c.length)return{SheetNames:u,Sheets:l};for(var d={},p=[],g=0;g<c.length;++g)l[u[g]]?(p.push(c[g]||u[g]),d[c[g]]=l[c[g]]||l[u[g]]):(p.push(c[g]),d[c[g]]={"!ref":"A1"});return{SheetNames:p,Sheets:d}}function r(e,t){var n=t||{};if(+n.codepage>=0&&d(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=rn(),i=En(e["!ref"]),a=Array.isArray(e),s=[];nv(r,0,o(1030)),nv(r,6,l(i));for(var u=Math.min(i.e.r,8191),c=i.s.r;c<=u;++c)for(var h=dn(c),g=i.s.c;g<=i.e.c;++g){c===i.s.r&&(s[g]=yn(g));var y=s[g]+h,m=a?(e[c]||[])[g]:e[y];if(m&&"z"!=m.t)if("n"==m.t)(0|m.v)==m.v&&m.v>=-32768&&m.v<=32767?nv(r,13,p(c,g,m.v)):nv(r,14,v(c,g,m.v));else{var b=Cn(m);nv(r,15,f(c,g,b.slice(0,239)))}}return nv(r,1),r.end()}function i(e,t){var n=t||{};if(+n.codepage>=0&&d(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=rn();nv(r,0,a(e));for(var i=0,o=0;i<e.SheetNames.length;++i)(e.Sheets[e.SheetNames[i]]||{})["!ref"]&&nv(r,27,z(e.SheetNames[i],o++));var s=0;for(i=0;i<e.SheetNames.length;++i){var l=e.Sheets[e.SheetNames[i]];if(l&&l["!ref"]){for(var u=En(l["!ref"]),c=Array.isArray(l),f=[],h=Math.min(u.e.r,8191),p=u.s.r;p<=h;++p)for(var g=dn(p),v=u.s.c;v<=u.e.c;++v){p===u.s.r&&(f[v]=yn(v));var y=f[v]+g,m=c?(l[p]||[])[v]:l[y];if(m&&"z"!=m.t)if("n"==m.t)nv(r,23,P(p,v,s,m.v));else{var b=Cn(m);nv(r,22,O(p,v,s,b.slice(0,239)))}}++s}}return nv(r,1),r.end()}function o(e){var t=tn(2);return t.write_shift(2,e),t}function a(e){var t=tn(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,r=0,i=0,o=0;o<e.SheetNames.length;++o){var a=e.SheetNames[o],s=e.Sheets[a];if(s&&s["!ref"]){++i;var l=Sn(s["!ref"]);n<l.e.r&&(n=l.e.r),r<l.e.c&&(r=l.e.c)}}return n>8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,i),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function s(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}function l(e){var t=tn(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function u(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0,0];return n.qpro&&20768!=n.vers?(r[0].c=e.read_shift(1),r[3]=e.read_shift(1),r[0].r=e.read_shift(2),e.l+=2):(r[2]=e.read_shift(1),r[0].c=e.read_shift(2),r[0].r=e.read_shift(2)),r}function c(e,t,n){var r=e.l+t,i=u(e,t,n);if(i[1].t="s",20768==n.vers){e.l++;var o=e.read_shift(1);return i[1].v=e.read_shift(o,"utf8"),i}return n.qpro&&e.l++,i[1].v=e.read_shift(r-e.l,"cstr"),i}function f(e,t,n){var r=tn(7+n.length);r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(1,39);for(var i=0;i<r.length;++i){var o=n.charCodeAt(i);r.write_shift(1,o>=128?95:o)}return r.write_shift(1,0),r}function h(e,t,n){var r=u(e,t,n);return r[1].v=e.read_shift(2,"i"),r}function p(e,t,n){var r=tn(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function g(e,t,n){var r=u(e,t,n);return r[1].v=e.read_shift(8,"f"),r}function v(e,t,n){var r=tn(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function y(e,t,n){var r=e.l+t,i=u(e,t,n);if(i[1].v=e.read_shift(8,"f"),n.qpro)e.l=r;else{var o=e.read_shift(2);w(e.slice(e.l,e.l+o),i),e.l+=o}return i}function m(e,t,n){var r=32768&t;return t&=-32769,t=(r?e:0)+(t>=8192?t-16384:t),(r?"":"$")+(n?yn(t):dn(t))}var b={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},_=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function w(e,t){Qt(e,0);var n=[],r=0,i="",o="",a="",s="";while(e.l<e.length){var l=e[e.l++];switch(l){case 0:n.push(e.read_shift(8,"f"));break;case 1:o=m(t[0].c,e.read_shift(2),!0),i=m(t[0].r,e.read_shift(2),!1),n.push(o+i);break;case 2:var u=m(t[0].c,e.read_shift(2),!0),c=m(t[0].r,e.read_shift(2),!1);o=m(t[0].c,e.read_shift(2),!0),i=m(t[0].r,e.read_shift(2),!1),n.push(u+c+":"+o+i);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:n.push("("+n.pop()+")");break;case 5:n.push(e.read_shift(2));break;case 6:var f="";while(l=e[e.l++])f+=String.fromCharCode(l);n.push('"'+f.replace(/"/g,'""')+'"');break;case 8:n.push("-"+n.pop());break;case 23:n.push("+"+n.pop());break;case 22:n.push("NOT("+n.pop()+")");break;case 20:case 21:s=n.pop(),a=n.pop(),n.push(["AND","OR"][l-20]+"("+a+","+s+")");break;default:if(l<32&&_[l])s=n.pop(),a=n.pop(),n.push(a+_[l]+s);else{if(!b[l])return l<=7?console.error("WK1 invalid opcode "+l.toString(16)):l<=24?console.error("WK1 unsupported op "+l.toString(16)):l<=30?console.error("WK1 invalid opcode "+l.toString(16)):l<=115?console.error("WK1 unsupported function opcode "+l.toString(16)):console.error("WK1 unrecognized opcode "+l.toString(16));if(r=b[l][1],69==r&&(r=e[e.l++]),r>n.length)return void console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+n.join("|")+"|");var h=n.slice(-r);n.length-=r,n.push(b[l][0]+"("+h.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}function k(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function E(e,t){var n=k(e,t);return n[1].t="s",n[1].v=e.read_shift(t-4,"cstr"),n}function O(e,t,n,r){var i=tn(6+r.length);i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),i.write_shift(1,39);for(var o=0;o<r.length;++o){var a=r.charCodeAt(o);i.write_shift(1,a>=128?95:a)}return i.write_shift(1,0),i}function C(e,t){var n=k(e,t);n[1].v=e.read_shift(2);var r=n[1].v>>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64;break}return n[1].v=r,n}function A(e,t){var n=k(e,t),r=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===i?(n[1].t="e",n[1].v=15):0===r&&3489660928===i?(n[1].t="e",n[1].v=42):n[1].v=0,n;var a=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*a)*(i*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function P(e,t,n,r){var i=tn(14);if(i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),0==r)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o=0,a=0,s=0,l=0;return r<0&&(o=1,r=-r),a=0|Math.log2(r),r/=Math.pow(2,a-31),l=r>>>0,0==(2147483648&l)&&(r/=2,++a,l=r>>>0),r-=l,l|=2147483648,l>>>=0,r*=Math.pow(2,32),s=r>>>0,i.write_shift(4,s),i.write_shift(4,l),a+=16383+(o?32768:0),i.write_shift(2,a),i}function M(e,t){var n=A(e,14);return e.l+=t-14,n}function D(e,t){var n=k(e,t),r=e.read_shift(4);return n[1].v=r>>6,n}function I(e,t){var n=k(e,t),r=e.read_shift(8,"f");return n[1].v=r,n}function L(e,t){var n=I(e,14);return e.l+=t-10,n}function R(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function j(e,t){var n=e[e.l++];n>t-1&&(n=t-1);var r="";while(r.length<n)r+=String.fromCharCode(e[e.l++]);return r}function B(e,t,n){if(n.qpro&&!(t<21)){var r=e.read_shift(1);e.l+=17;e.read_shift(1);e.l+=2;var i=e.read_shift(t-21,"cstr");return[r,i]}}function F(e,t){var n={},r=e.l+t;while(e.l<r){var i=e.read_shift(2);if(14e3==i){n[i]=[0,""],n[i][0]=e.read_shift(2);while(e[e.l])n[i][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return n}function z(e,t){var n=tn(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var r=0;r<e.length;++r){var i=e.charCodeAt(r);n[n.l++]=i>127?95:i}return n[n.l++]=0,n}var U={0:{n:"BOF",f:Ji},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:s},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:h},14:{n:"NUMBER",f:g},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:y},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:c},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:R},222:{n:"SHEETNAMELP",f:j},65535:{n:""}},H={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:E},23:{n:"NUMBER17",f:A},24:{n:"NUMBER18",f:C},25:{n:"FORMULA19",f:M},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:F},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:D},38:{n:"??"},39:{n:"NUMBER27",f:I},40:{n:"FORMULA28",f:L},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:R},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:B},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:r,book_to_wk3:i,to_workbook:t}}();function Es(e){var t={},n=e.match(Re),r=0,i=!1;if(n)for(;r!=n.length;++r){var o=Be(n[r]);switch(o[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!o.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==o.val)break;t.cp=c[parseInt(o.val,10)];break;case"<outline":if(!o.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=o.val;break;case"<sz":t.sz=o.val;break;case"<strike":if(!o.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!o.val)break;switch(o.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting";break}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==o.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==o.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":o.rgb&&(t.color=o.rgb.slice(2,8));break;case"<family":t.family=o.val;break;case"<vertAlign":t.valign=o.val;break;case"<scheme":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return t}var Os=function(){var e=it("t"),t=it("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var i={t:"s",v:He(r[1])},o=n.match(t);return o&&(i.s=Es(o[1])),i}var r=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(i).map(n).filter((function(e){return e.v}))}}(),Cs=function(){var e=/(\r\n|\n)/g;function t(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push('<span style="'+r.join("")+'">'),e.b&&(t.push("<b>"),n.push("</b>")),e.i&&(t.push("<i>"),n.push("</i>")),e.strike&&(t.push("<s>"),n.push("</s>"));var i=e.valign||"";return"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(t.push("<"+i+">"),n.push("</"+i+">")),n.push("</span>"),e}function n(n){var r=[[],n.v,[]];return n.v?(n.s&&t(n.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"<br/>")+r[2].join("")):""}return function(e){return e.map(n).join("")}}(),As=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ts=/<(?:\w+:)?r>/,Ps=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ms(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=He(Qe(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Qe(e),n&&(r.h=Ye(r.t))):e.match(Ts)&&(r.r=Qe(e),r.t=He(Qe((e.replace(Ps,"").match(As)||[]).join("").replace(Re,""))),n&&(r.h=Cs(Os(r.r)))),r):{t:""}}var Ds=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Is=/<(?:\w+:)?(?:si|sstItem)>/g,Ls=/<\/(?:\w+:)?(?:si|sstItem)>/;function Rs(e,t){var n=[],r="";if(!e)return n;var i=e.match(Ds);if(i){r=i[2].replace(Is,"").split(Ls);for(var o=0;o!=r.length;++o){var a=Ms(r[o].trim(),t);null!=a&&(n[n.length]=a)}i=Be(i[1]),n.Count=i.count,n.Unique=i.uniqueCount}return n}Gr.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var js=/^\s|\s$|[\t\n\r]/;function Ns(e,t){if(!t.bookSST)return"";var n=[Ie];n[n.length]=dt("sst",null,{xmlns:vt.main[0],count:e.Count,uniqueCount:e.Unique});for(var r=0;r!=e.length;++r)if(null!=e[r]){var i=e[r],o="<si>";i.r?o+=i.r:(o+="<t",i.t||(i.t=""),i.t.match(js)&&(o+=' xml:space="preserve"'),o+=">"+We(i.t)+"</t>"),o+="</si>",n[n.length]=o}return n.length>2&&(n[n.length]="</sst>",n[1]=n[1].replace("/>",">")),n.join("")}function Bs(e){return[e.read_shift(4),e.read_shift(4)]}function Fs(e,t){var n=[],r=!1;return nn(e,(function(e,i,o){switch(o){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.indexOf("Begin")>0||i.indexOf("End"),!r||t.WTF)throw new Error("Unexpected record "+o+" "+i)}})),n}function zs(e,t){return t||(t=tn(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var Us=Nn;function Hs(e){var t=rn();on(t,"BrtBeginSst",zs(e));for(var n=0;n<e.length;++n)on(t,"BrtSSTItem",Us(e[n]));return on(t,"BrtEndSst"),t.end()}function Vs(e){if("undefined"!==typeof cptable)return cptable.utils.encode(s,e);for(var t=[],n=e.split(""),r=0;r<n.length;++r)t[r]=n[r].charCodeAt(0);return t}function Gs(e,t){var n={};return n.Major=e.read_shift(2),n.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),n}function Ws(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=Gs(e,4),t.U=Gs(e,4),t.W=Gs(e,4),t}function qs(e){var t=e.read_shift(4),n=e.l+t-4,r={},i=e.read_shift(4),o=[];while(i-- >0)o.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(r.name=e.read_shift(0,"lpp4"),r.comps=o,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function Xs(e){var t=[];e.l+=4;var n=e.read_shift(4);while(n-- >0)t.push(qs(e));return t}function Ys(e){var t=[];e.l+=4;var n=e.read_shift(4);while(n-- >0)t.push(e.read_shift(0,"lpp4"));return t}function Ks(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=Gs(e,4),t.U=Gs(e,4),t.W=Gs(e,4),t}function $s(e){var t=Ks(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function Zs(e,t){var n=e.l+t,r={};r.Flags=63&e.read_shift(4),e.l+=4,r.AlgID=e.read_shift(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=36==r.Flags;break;case 26625:i=4==r.Flags;break;case 0:i=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e.read_shift(4),r.KeySize=e.read_shift(4),r.ProviderType=e.read_shift(4),e.l+=8,r.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,r}function Js(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function Qs(e){var t=Gs(e);switch(t.Minor){case 2:return[t.Minor,el(e,t)];case 3:return[t.Minor,tl(e,t)];case 4:return[t.Minor,nl(e,t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function el(e){var t=e.read_shift(4);if(36!=(63&t))throw new Error("EncryptionInfo mismatch");var n=e.read_shift(4),r=Zs(e,n),i=Js(e,e.length-e.l);return{t:"Std",h:r,v:i}}function tl(){throw new Error("File is password-protected: ECMA-376 Extensible")}function nl(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),r={};return n.replace(Re,(function(e){var n=Be(e);switch(Fe(n[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach((function(e){r[e]=n[e]}));break;case"<dataIntegrity":r.encryptedHmacKey=n.encryptedHmacKey,r.encryptedHmacValue=n.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":r.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":r.uri=n.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":r.encs.push(n);break;default:throw n[0]}})),r}function rl(e,t){var n={},r=n.EncryptionVersionInfo=Gs(e,4);if(t-=4,2!=r.Minor)throw new Error("unrecognized minor version code: "+r.Minor);if(r.Major>4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e.read_shift(4),t-=4;var i=e.read_shift(4);return t-=4,n.EncryptionHeader=Zs(e,i),t-=i,n.EncryptionVerifier=Js(e,t),n}function il(e){var t={},n=t.EncryptionVersionInfo=Gs(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function ol(e){var t,n,r,i,o,a,s=0,l=Vs(e),u=l.length+1;for(t=C(u),t[0]=l.length,n=1;n!=u;++n)t[n]=l[n-1];for(n=u-1;n>=0;--n)r=t[n],i=0===(16384&s)?0:1,o=s<<1&32767,a=i|o,s=a^r;return 52811^s}var al=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e){return 255&(e/2|128*e)},i=function(e,t){return r(e^t)},o=function(e){for(var r=t[e.length-1],i=104,o=e.length-1;o>=0;--o)for(var a=e[o],s=0;7!=s;++s)64&a&&(r^=n[i]),a*=2,--i;return r};return function(t){for(var n,r,a,s=Vs(t),l=o(s),u=s.length,c=C(16),f=0;16!=f;++f)c[f]=0;1===(1&u)&&(n=l>>8,c[u]=i(e[0],n),--u,n=255&l,r=s[s.length-1],c[u]=i(r,n));while(u>0)--u,n=l>>8,c[u]=i(s[u],n),--u,n=255&l,c[u]=i(s[u],n);u=15,a=15-s.length;while(a>0)n=l>>8,c[u]=i(e[a],n),--u,--a,n=255&l,c[u]=i(s[u],n),--u,--a;return c}}(),sl=function(e,t,n,r,i){var o,a;for(i||(i=t),r||(r=al(e)),o=0;o!=t.length;++o)a=t[o],a^=r[n],a=255&(a>>5|a<<3),i[o]=a,++n;return[i,n,r]},ll=function(e){var t=0,n=al(e);return function(e){var r=sl("",e,t,n);return t=r[1],r[0]}};function ul(e,t,n,r){var i={key:Ji(e),verificationBytes:Ji(e)};return n.password&&(i.verifier=ol(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=ll(n.password)),i}function cl(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=il(e,t):r.Data=rl(e,t),r}function fl(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?cl(e,t-2,r):ul(e,n.biff>=8?t:t-2,n,r),r}var hl=function(){function e(e,n){switch(n.type){case"base64":return t(S.decode(e),n);case"binary":return t(e,n);case"buffer":return t(k&&i.isBuffer(e)?e.toString("binary"):M(e),n);case"array":return t(de(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=t||{},r=n.dense?[]:{},i=e.match(/\\trowd.*?\\row\b/g);if(!i.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:i.length-1}};return i.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);var n,i=/\\\w+\b/g,a=0,s=-1;while(n=i.exec(e)){switch(n[0]){case"\\cell":var l=e.slice(a,i.lastIndex-n[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var u={v:l,t:"s"};Array.isArray(r)?r[t][s]=u:r[wn({r:t,c:s})]=u}break}a=i.lastIndex}s>o.e.c&&(o.e.c=s)})),r["!ref"]=kn(o),r}function n(t,n){return An(e(t,n),n)}function r(e){for(var t,n=["{\\rtf1\\ansi"],r=En(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var a=r.s.c;a<=r.e.c;++a)n.push("\\cellx"+(a+1));for(n.push("\\pard\\intbl"),a=r.s.c;a<=r.e.c;++a){var s=wn({r:o,c:a});t=i?(e[o]||[])[a]:e[s],t&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(Cn(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}return{to_workbook:n,to_sheet:e,from_sheet:r}}();function dl(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function pl(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function gl(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=i-o;if(0===a)return[0,0,t];var s=0,l=0,u=i+o;switch(l=a/(u>1?2-u:u),i){case t:s=((n-r)/a+6)%6;break;case n:s=(r-t)/a+2;break;case r:s=(t-n)/a+4;break}return[s/6,l,u/2]}function vl(e){var t,n=e[0],r=e[1],i=e[2],o=2*r*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=o*l,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-l),s[0]+=t,s[1]+=o;break;case 2:t=o*(l-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-l),s[1]+=t,s[2]+=o;break;case 4:t=o*(l-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-l),s[2]+=t,s[0]+=o;break}for(var u=0;3!=u;++u)s[u]=Math.round(255*s[u]);return s}function yl(e,t){if(0===t)return e;var n=gl(dl(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),pl(vl(n))}var ml=6,bl=15,_l=1,xl=ml;function wl(e){return Math.floor((e+Math.round(128/xl)/256)*xl)}function Sl(e){return Math.floor((e-5)/xl*100+.5)/100}function kl(e){return Math.round((e*xl+5)/xl*256)/256}function El(e){return kl(Sl(wl(e)))}function Ol(e){var t=Math.abs(e-El(e)),n=xl;if(t>.005)for(xl=_l;xl<bl;++xl)Math.abs(e-El(e))<=t&&(t=Math.abs(e-El(e)),n=xl);xl=n}function Cl(e){e.width?(e.wpx=wl(e.width),e.wch=Sl(e.wpx),e.MDW=xl):e.wpx?(e.wch=Sl(e.wpx),e.width=kl(e.wch),e.MDW=xl):"number"==typeof e.wch&&(e.width=kl(e.wch),e.wpx=wl(e.width),e.MDW=xl),e.customWidth&&delete e.customWidth}var Al=96,Tl=Al;function Pl(e){return 96*e/Tl}function Ml(e){return e*Tl/96}var Dl={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Il(e,t,n,r){t.Borders=[];var i={},o=!1;(e[0].match(Re)||[]).forEach((function(e){var n=Be(e);switch(Fe(n[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},n.diagonalUp&&(i.diagonalUp=Je(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=Je(n.diagonalDown)),t.Borders.push(i);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in borders")}}))}function Ll(e,t,n,r){t.Fills=[];var i={},o=!1;(e[0].match(Re)||[]).forEach((function(e){var n=Be(e);switch(Fe(n[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":i={},t.Fills.push(i);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":n.patternType&&(i.patternType=n.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),n.indexed&&(i.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(i.bgColor.theme=parseInt(n.theme,10)),n.tint&&(i.bgColor.tint=parseFloat(n.tint)),n.rgb&&(i.bgColor.rgb=n.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),n.theme&&(i.fgColor.theme=parseInt(n.theme,10)),n.tint&&(i.fgColor.tint=parseFloat(n.tint)),null!=n.rgb&&(i.fgColor.rgb=n.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":break;case"</stop>":break;case"<color":case"<color/>":break;case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in fills")}}))}function Rl(e,t,n,r){t.Fonts=[];var i={},o=!1;(e[0].match(Re)||[]).forEach((function(e){var a=Be(e);switch(Fe(a[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(i),i={};break;case"<name":a.val&&(i.name=Qe(a.val));break;case"<name/>":case"</name>":break;case"<b":i.bold=a.val?Je(a.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=a.val?Je(a.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(a.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34;break}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=a.val?Je(a.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=a.val?Je(a.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=a.val?Je(a.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=a.val?Je(a.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=a.val?Je(a.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":a.val&&(i.sz=+a.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":a.val&&(i.vertAlign=a.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":a.val&&(i.family=parseInt(a.val,10));break;case"<family/>":case"</family>":break;case"<scheme":a.val&&(i.scheme=a.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==a.val)break;a.codepage=c[parseInt(a.val,10)];break;case"<color":if(i.color||(i.color={}),a.auto&&(i.color.auto=Je(a.auto)),a.rgb)i.color.rgb=a.rgb.slice(-6);else if(a.indexed){i.color.index=parseInt(a.indexed,10);var s=Ir[i.color.index];81==i.color.index&&(s=Ir[1]),s||(s=Ir[1]),i.color.rgb=s[0].toString(16)+s[1].toString(16)+s[2].toString(16)}else a.theme&&(i.color.theme=parseInt(a.theme,10),a.tint&&(i.color.tint=parseFloat(a.tint)),a.theme&&n.themeElements&&n.themeElements.clrScheme&&(i.color.rgb=yl(n.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":o=!0;break;case"</AlternateContent>":o=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+a[0]+" in fonts")}}))}function jl(e,t,n){t.NumberFmt=[];for(var r=J(N._table),i=0;i<r.length;++i)t.NumberFmt[r[i]]=N._table[r[i]];var o=e[0].match(Re);if(o)for(i=0;i<o.length;++i){var a=Be(o[i]);switch(Fe(a[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=He(Qe(a.formatCode)),l=parseInt(a.numFmtId,10);if(t.NumberFmt[l]=s,l>0){if(l>392){for(l=392;l>60;--l)if(null==t.NumberFmt[l])break;t.NumberFmt[l]=s}N.load(s,l)}break;case"</numFmt>":break;default:if(n.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}function Nl(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=dt("numFmt",null,{numFmtId:r,formatCode:We(e[r])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=dt("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Bl=["numFmtId","fillId","fontId","borderId","xfId"],Fl=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function zl(e,t,n){var r;t.CellXf=[];var i=!1;(e[0].match(Re)||[]).forEach((function(e){var o=Be(e),a=0;switch(Fe(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(r=o,delete r[0],a=0;a<Bl.length;++a)r[Bl[a]]&&(r[Bl[a]]=parseInt(r[Bl[a]],10));for(a=0;a<Fl.length;++a)r[Fl[a]]&&(r[Fl[a]]=Je(r[Fl[a]]));if(t.NumberFmt&&r.numFmtId>392)for(a=392;a>60;--a)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[a]){r.numFmtId=a;break}t.CellXf.push(r);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=Je(o.wrapText)),r.alignment=s;break;case"</alignment>":break;case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}function Ul(e){var t=[];return t[t.length]=dt("cellXfs",null),e.forEach((function(e){t[t.length]=dt("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=dt("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Hl=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,a,s){var l,u={};return o?(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""),(l=o.match(e))&&jl(l,u,s),(l=o.match(r))&&Rl(l,u,a,s),(l=o.match(n))&&Ll(l,u,a,s),(l=o.match(i))&&Il(l,u,a,s),(l=o.match(t))&&zl(l,u,s),u):u}}(),Vl=dt("styleSheet",null,{xmlns:vt.main[0],"xmlns:vt":vt.vt});function Gl(e,t){var n,r=[Ie,Vl];return e.SSF&&null!=(n=Nl(e.SSF))&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=Ul(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function Wl(e,t){var n=e.read_shift(2),r=Dn(e,t-2);return[n,r]}function ql(e,t,n){n||(n=tn(6+4*t.length)),n.write_shift(2,e),In(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function Xl(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=sr(e,2,n);i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1);var o=e.read_shift(2);switch(700===o&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript";break}var a=e.read_shift(1);0!=a&&(r.underline=a);var s=e.read_shift(1);s>0&&(r.family=s);var l=e.read_shift(1);switch(l>0&&(r.charset=l),e.l++,r.color=or(e,8),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor";break}return r.name=Dn(e,t-21),r}function Yl(e,t){t||(t=tn(153)),t.write_shift(2,20*e.sz),lr(e,t),t.write_shift(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t.write_shift(2,n),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),ar(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t.write_shift(1,r),In(e.name,t),t.length>t.l?t.slice(0,t.l):t}Gr.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var Kl=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],$l=ee(Kl),Zl=en;function Jl(e,t){t||(t=tn(84));var n=$l[e.patternType];null==n&&(n=40),t.write_shift(4,n);var r=0;if(40!=n)for(ar({auto:1},t),ar({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Ql(e,t){var n=e.l+t,r=e.read_shift(2),i=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:i}}function eu(e,t,n){n||(n=tn(16)),n.write_shift(2,t||0),n.write_shift(2,e.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);var r=0;return n.write_shift(1,r),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function tu(e,t){return t||(t=tn(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var nu=en;function ru(e,t){return t||(t=tn(51)),t.write_shift(1,0),tu(null,t),tu(null,t),tu(null,t),tu(null,t),tu(null,t),t.length>t.l?t.slice(0,t.l):t}function iu(e,t){return t||(t=tn(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),Xn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function ou(e,t,n){var r=tn(2052);return r.write_shift(4,e),Xn(t,r),Xn(n,r),r.length>r.l?r.slice(0,r.l):r}function au(e,t,n){var r={NumberFmt:[]};for(var i in N._table)r.NumberFmt[i]=N._table[i];r.CellXf=[],r.Fonts=[];var o=[],a=!1;return nn(e,(function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],N.load(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=yl(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:"BrtBeginCellXFs"==o[o.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(i),a=!0;break;case 38:o.pop(),a=!1;break;default:if((i||"").indexOf("Begin")>0)o.push(i);else if((i||"").indexOf("End")>0)o.pop();else if(!a||n.WTF&&"BrtACBegin"!=o[o.length-1])throw new Error("Unexpected record "+s+" "+i)}})),r}function su(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n})),0!=n&&(on(e,"BrtBeginFmts",Mn(n)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&on(e,"BrtFmt",ql(r,t[r]))})),on(e,"BrtEndFmts"))}}function lu(e){var t=1;0!=t&&(on(e,"BrtBeginFonts",Mn(t)),on(e,"BrtFont",Yl({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),on(e,"BrtEndFonts"))}function uu(e){var t=2;0!=t&&(on(e,"BrtBeginFills",Mn(t)),on(e,"BrtFill",Jl({patternType:"none"})),on(e,"BrtFill",Jl({patternType:"gray125"})),on(e,"BrtEndFills"))}function cu(e){var t=1;0!=t&&(on(e,"BrtBeginBorders",Mn(t)),on(e,"BrtBorder",ru({})),on(e,"BrtEndBorders"))}function fu(e){var t=1;on(e,"BrtBeginCellStyleXFs",Mn(t)),on(e,"BrtXF",eu({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),on(e,"BrtEndCellStyleXFs")}function hu(e,t){on(e,"BrtBeginCellXFs",Mn(t.length)),t.forEach((function(t){on(e,"BrtXF",eu(t,0))})),on(e,"BrtEndCellXFs")}function du(e){var t=1;on(e,"BrtBeginStyles",Mn(t)),on(e,"BrtStyle",iu({xfId:0,builtinId:0,name:"Normal"})),on(e,"BrtEndStyles")}function pu(e){var t=0;on(e,"BrtBeginDXFs",Mn(t)),on(e,"BrtEndDXFs")}function gu(e){var t=0;on(e,"BrtBeginTableStyles",ou(t,"TableStyleMedium9","PivotStyleMedium4")),on(e,"BrtEndTableStyles")}function vu(){}function yu(e,t){var n=rn();return on(n,"BrtBeginStyleSheet"),su(n,e.SSF),lu(n,e),uu(n,e),cu(n,e),fu(n,e),hu(n,t.cellXfs),du(n,e),pu(n,e),gu(n,e),vu(n,e),on(n,"BrtEndStyleSheet"),n.end()}Gr.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var mu=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function bu(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(Re)||[]).forEach((function(e){var i=Be(e);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":r.rgb=i.val;break;case"<a:sysClr":r.rgb=i.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===i[0].charAt(1)?(t.themeElements.clrScheme[mu.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function _u(){}function xu(){}var wu=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Su=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,ku=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function Eu(e,t,n){var r;t.themeElements={},[["clrScheme",wu,bu],["fontScheme",Su,_u],["fmtScheme",ku,xu]].forEach((function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)}))}var Ou=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Cu(e,t){if(!e||0===e.length)return Cu(Au());var n,r={};if(!(n=e.match(Ou)))throw new Error("themeElements not found in theme");return Eu(n[0],r,t),r.raw=e,r}function Au(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[Ie];return n[n.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',n[n.length]="<a:themeElements>",n[n.length]='<a:clrScheme name="Office">',n[n.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',n[n.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',n[n.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',n[n.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',n[n.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',n[n.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',n[n.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',n[n.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',n[n.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',n[n.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',n[n.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',n[n.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',n[n.length]="</a:clrScheme>",n[n.length]='<a:fontScheme name="Office">',n[n.length]="<a:majorFont>",n[n.length]='<a:latin typeface="Cambria"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Times New Roman"/>',n[n.length]='<a:font script="Hebr" typeface="Times New Roman"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="MoolBoran"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Times New Roman"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:majorFont>",n[n.length]="<a:minorFont>",n[n.length]='<a:latin typeface="Calibri"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Arial"/>',n[n.length]='<a:font script="Hebr" typeface="Arial"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="DaunPenh"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Arial"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:minorFont>",n[n.length]="</a:fontScheme>",n[n.length]='<a:fmtScheme name="Office">',n[n.length]="<a:fillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="1"/>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="0"/>',n[n.length]="</a:gradFill>",n[n.length]="</a:fillStyleLst>",n[n.length]="<a:lnStyleLst>",n[n.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]="</a:lnStyleLst>",n[n.length]="<a:effectStyleLst>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',n[n.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',n[n.length]="</a:effectStyle>",n[n.length]="</a:effectStyleLst>",n[n.length]="<a:bgFillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]="</a:bgFillStyleLst>",n[n.length]="</a:fmtScheme>",n[n.length]="</a:themeElements>",n[n.length]="<a:objectDefaults>",n[n.length]="<a:spDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',n[n.length]="</a:spDef>",n[n.length]="<a:lnDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',n[n.length]="</a:lnDef>",n[n.length]="</a:objectDefaults>",n[n.length]="<a:extraClrSchemeLst/>",n[n.length]="</a:theme>",n.join("")}function Tu(e,t,n){var r=e.l+t,i=e.read_shift(4);if(124226!==i)if(n.cellStyles){var o,a=e.slice(e.l);e.l=r;try{o=Me(a,{type:"array"})}catch(My){return}var s=Ce(o,"theme/theme/theme1.xml",!0);if(s)return Cu(s,n)}else e.l=r}function Pu(e){return e.read_shift(4)}function Mu(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Du(e,4);break;case 2:t.xclrValue=bo(e,4);break;case 3:t.xclrValue=Pu(e,4);break;case 4:e.l+=4;break}return e.l+=8,t}function Du(e,t){return en(e,t)}function Iu(e,t){return en(e,t)}function Lu(e){var t=e.read_shift(2),n=e.read_shift(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=Mu(e,n);break;case 6:r[1]=Iu(e,n);break;case 14:case 15:r[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}function Ru(e,t){var n=e.l+t;e.l+=2;var r=e.read_shift(2);e.l+=2;var i=e.read_shift(2),o=[];while(i-- >0)o.push(Lu(e,n-e.l));return{ixfe:r,ext:o}}function ju(e,t){t.forEach((function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}}))}function Nu(e){var t=[];if(!e)return t;var n=1;return(e.match(Re)||[]).forEach((function(e){var r=Be(e);switch(r[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete r[0],r.i?n=r.i:r.i=n,t.push(r);break}})),t}function Bu(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=wn(n);var r=e.read_shift(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}function Fu(e,t,n){var r=[],i=!1;return nn(e,(function(e,t,o){switch(o){case 63:r.push(e);break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!i||n.WTF)throw new Error("Unexpected record "+o+" "+t)}})),r}function zu(){}function Uu(e,t,n,r){if(!e)return e;var i=r||{},o=!1,a=!1;nn(e,(function(e,t,n){if(!a)switch(n){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!o||i.WTF)throw new Error("Unexpected record "+n.toString(16)+" "+t)}}),i)}function Hu(e,t){if(!e)return"??";var n=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}Gr.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Gr.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var Vu=1024;function Gu(e,t){var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),i=[dt("xml",null,{"xmlns:v":yt.v,"xmlns:o":yt.o,"xmlns:x":yt.x,"xmlns:mv":yt.mv}).replace(/\/>/,">"),dt("o:shapelayout",dt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),dt("v:shapetype",[dt("v:stroke",null,{joinstyle:"miter"}),dt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];while(Vu<1e3*e)Vu+=1e3;return t.forEach((function(e){var t=xn(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?dt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=dt("v:fill",r,n),a={on:"t",obscured:"t"};++Vu,i=i.concat(["<v:shape"+ht({id:"_x0000_s"+Vu,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,dt("v:shadow",null,a),dt("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",ft("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),ft("x:AutoFill","False"),ft("x:Row",String(t.r)),ft("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),i.push("</xml>"),i.join("")}function Wu(e,t){var n,r=Array.isArray(e);t.forEach((function(t){var i=xn(t.ref);if(r?(e[i.r]||(e[i.r]=[]),n=e[i.r][i.c]):n=e[t.ref],!n){n={t:"z"},r?e[i.r][i.c]=n:e[t.ref]=n;var o=En(e["!ref"]||"BDWGO1000001:A1");o.s.r>i.r&&(o.s.r=i.r),o.e.r<i.r&&(o.e.r=i.r),o.s.c>i.c&&(o.s.c=i.c),o.e.c<i.c&&(o.e.c=i.c);var a=kn(o);a!==e["!ref"]&&(e["!ref"]=a)}n.c||(n.c=[]);var s={a:t.author,t:t.t,r:t.r};t.h&&(s.h=t.h),n.c.push(s)}))}function qu(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=Be(i[0]),a={author:o.authorId&&n[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=xn(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),u=!!l&&!!l[1]&&Ms(l[1])||{r:"",t:"",h:""};a.r=u.r,"<t></t>"==u.r&&(u.t=u.h=""),a.t=(u.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(a.h=u.h),r.push(a)}}}})),r}Gr.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var Xu=dt("comments",null,{xmlns:vt.main[0]});function Yu(e){var t=[Ie,Xu],n=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var r=We(e.a);n.indexOf(r)>-1||(n.push(r),t.push("<author>"+r+"</author>"))}))})),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){e[1].forEach((function(r){t.push('<comment ref="'+e[0]+'" authorId="'+n.indexOf(We(r.a))+'"><text>'),t.push(ft("t",null==r.t?"":We(r.t))),t.push("</text></comment>")}))})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function Ku(e){var t={};t.iauthor=e.read_shift(4);var n=tr(e,16);return t.rfx=n.s,t.ref=wn(n.s),e.l+=16,t}function $u(e,t){return null==t&&(t=tn(36)),t.write_shift(4,e[1].iauthor),nr(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var Zu=Dn;function Ju(e){return In(e.slice(0,54))}function Qu(e,t){var n=[],r=[],i={},o=!1;return nn(e,(function(e,a,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if((a||"").indexOf("Begin")>0);else if((a||"").indexOf("End")>0);else if(!o||t.WTF)throw new Error("Unexpected record "+s+" "+a)}})),n}function ec(e){var t=rn(),n=[];return on(t,"BrtBeginComments"),on(t,"BrtBeginCommentAuthors"),e.forEach((function(e){e[1].forEach((function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),on(t,"BrtCommentAuthor",Ju(e.a)))}))})),on(t,"BrtEndCommentAuthors"),on(t,"BrtBeginCommentList"),e.forEach((function(e){e[1].forEach((function(r){r.iauthor=n.indexOf(r.a);var i={s:xn(e[0]),e:xn(e[0])};on(t,"BrtBeginComment",$u([i,r])),r.t&&r.t.length>0&&on(t,"BrtCommentText",Fn(r)),on(t,"BrtEndComment"),delete r.iauthor}))})),on(t,"BrtEndCommentList"),on(t,"BrtEndComments"),t.end()}var tc="application/vnd.ms-office.vbaProject";function nc(e){var t=X.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var i=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");X.utils.cfb_add(t,i,e.FileIndex[r].content)}})),X.write(t)}function rc(e,t){t.FullPaths.forEach((function(n,r){if(0!=r){var i=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&X.utils.cfb_add(e,i,t.FileIndex[r].content)}}))}var ic=["xlsb","xlsm","xlam","biff8","xla"];function oc(){return{"!type":"dialog"}}function ac(){return{"!type":"dialog"}}function sc(){return{"!type":"macro"}}function lc(){return{"!type":"macro"}}Gr.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Gr.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var uc=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var o=!1,a=!1;0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return o?l+=t.c:--l,a?s+=t.r:--s,n+(o?"":"$")+yn(l)+(a?"":"$")+dn(s)}return function(r,i){return t=i,r.replace(e,n)}}(),cc=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,fc=function(){return function(e,t){return e.replace(cc,(function(e,n,r,i,o,a){var s=vn(i)-(r?0:t.c),l=hn(a)-(o?0:t.r),u=0==l?"":o?l+1:"["+l+"]",c=0==s?"":r?s+1:"["+s+"]";return n+"R"+u+"C"+c}))}}();function hc(e,t){return e.replace(cc,(function(e,n,r,i,o,a){return n+("$"==r?r+i:yn(vn(i)+t.c))+("$"==o?o+a:dn(hn(a)+t.r))}))}function dc(e,t,n){var r=Sn(t),i=r.s,o=xn(n),a={r:o.r-i.r,c:o.c-i.c};return hc(e,a)}function pc(e){return 1!=e.length}function gc(e){return e.replace(/_xlfn\./g,"")}function vc(e){e.l+=1}function yc(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function mc(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return bc(e,t,n);12==n.biff&&(r=4)}var i=e.read_shift(r),o=e.read_shift(r),a=yc(e,2),s=yc(e,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function bc(e){var t=yc(e,2),n=yc(e,2),r=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function _c(e,t,n){if(n.biff<8)return bc(e,t,n);var r=e.read_shift(12==n.biff?4:2),i=e.read_shift(12==n.biff?4:2),o=yc(e,2),a=yc(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}function xc(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return wc(e,t,n);var r=e.read_shift(n&&12==n.biff?4:2),i=yc(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function wc(e){var t=yc(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}function Sc(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function kc(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return Ec(e,t,n);var i=e.read_shift(r>=12?4:2),o=e.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)while(i>524287)i-=1048576;if(1==a)while(o>8191)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}function Ec(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}function Oc(e,t,n){var r=(96&e[e.l++])>>5,i=mc(e,n.biff>=2&&n.biff<=5?6:8,n);return[r,i]}function Cc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2,"i"),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12;break}var a=mc(e,o,n);return[r,i,a]}function Ac(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}function Tc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12;break}return e.l+=o,[r,i]}function Pc(e,t,n){var r=(96&e[e.l++])>>5,i=_c(e,t-1,n);return[r,i]}function Mc(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}function Dc(e){var t=1&e[e.l+1],n=1;return e.l+=4,[t,n]}function Ic(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),i=[],o=0;o<=r;++o)i.push(e.read_shift(n&&2==n.biff?1:2));return i}function Lc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}function Rc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}function jc(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function Nc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}function Bc(e){var t=e.read_shift(1),n=e.read_shift(1);return[t,n]}function Fc(e){return e.read_shift(2),Bc(e,2)}function zc(e){return e.read_shift(2),Bc(e,2)}function Uc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=xc(e,0,n);return[r,i]}function Hc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=kc(e,0,n);return[r,i]}function Vc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(2);n&&5==n.biff&&(e.l+=12);var o=xc(e,0,n);return[r,i,o]}function Gc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(n&&n.biff<=3?1:2);return[lh[i],sh[i],r]}function Wc(e,t,n){var r=e[e.l++],i=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:qc(e);return[i,(0===o[0]?sh:ah)[o[1]]]}function qc(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function Xc(e,t,n){e.l+=n&&2==n.biff?3:4}function Yc(e,t,n){if(e.l++,n&&12==n.biff)return[e.read_shift(4,"i"),0];var r=e.read_shift(2),i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Kc(e){return e.l++,Lr[e.read_shift(1)]}function $c(e){return e.l++,e.read_shift(2)}function Zc(e){return e.l++,0!==e.read_shift(1)}function Jc(e){return e.l++,rr(e,8)}function Qc(e,t,n){return e.l++,ro(e,t-1,n)}function ef(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2;break}switch(n[0]){case 4:n[1]=$i(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=Lr[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=rr(e,8);break;case 2:n[1]=lo(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function tf(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),i=[],o=0;o!=r;++o)i.push((12==n.biff?tr:Ao)(e,8));return i}function nf(e,t,n){var r=0,i=0;12==n.biff?(r=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var o=0,a=[];o!=r&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=ef(e,n.biff);return a}function rf(e,t,n){var r=e.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,o=e.read_shift(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[r,0,o]}function of(e,t,n){if(5==n.biff)return af(e,t,n);var r=e.read_shift(1)>>>5&3,i=e.read_shift(2),o=e.read_shift(4);return[r,i,o]}function af(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}function sf(e,t,n){var r=e.read_shift(1)>>>5&3;e.l+=n&&2==n.biff?3:4;var i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function lf(e,t,n){var r=e.read_shift(1)>>>5&3,i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function uf(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}function cf(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6;break}return e.l+=o,[r,i]}var ff=en,hf=en,df=en;function pf(e,t,n){return e.l+=2,[Sc(e,4,n)]}function gf(e){return e.l+=6,[]}var vf=pf,yf=gf,mf=gf,bf=pf;function _f(e){return e.l+=2,[Ji(e),1&e.read_shift(2)]}var xf=pf,wf=_f,Sf=gf,kf=pf,Ef=pf,Of=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Cf(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i=e.read_shift(2),o=e.read_shift(2),a=Of[n>>2&31];return{ixti:t,coltype:3&n,rt:a,idx:r,c:i,C:o}}function Af(e){return e.l+=2,[e.read_shift(4)]}function Tf(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}function Pf(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}function Mf(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function Df(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function If(e){return e.l+=4,[0,0]}var Lf={1:{n:"PtgExp",f:Yc},2:{n:"PtgTbl",f:df},3:{n:"PtgAdd",f:vc},4:{n:"PtgSub",f:vc},5:{n:"PtgMul",f:vc},6:{n:"PtgDiv",f:vc},7:{n:"PtgPower",f:vc},8:{n:"PtgConcat",f:vc},9:{n:"PtgLt",f:vc},10:{n:"PtgLe",f:vc},11:{n:"PtgEq",f:vc},12:{n:"PtgGe",f:vc},13:{n:"PtgGt",f:vc},14:{n:"PtgNe",f:vc},15:{n:"PtgIsect",f:vc},16:{n:"PtgUnion",f:vc},17:{n:"PtgRange",f:vc},18:{n:"PtgUplus",f:vc},19:{n:"PtgUminus",f:vc},20:{n:"PtgPercent",f:vc},21:{n:"PtgParen",f:vc},22:{n:"PtgMissArg",f:vc},23:{n:"PtgStr",f:Qc},26:{n:"PtgSheet",f:Tf},27:{n:"PtgEndSheet",f:Pf},28:{n:"PtgErr",f:Kc},29:{n:"PtgBool",f:Zc},30:{n:"PtgInt",f:$c},31:{n:"PtgNum",f:Jc},32:{n:"PtgArray",f:Mc},33:{n:"PtgFunc",f:Gc},34:{n:"PtgFuncVar",f:Wc},35:{n:"PtgName",f:rf},36:{n:"PtgRef",f:Uc},37:{n:"PtgArea",f:Oc},38:{n:"PtgMemArea",f:sf},39:{n:"PtgMemErr",f:ff},40:{n:"PtgMemNoMem",f:hf},41:{n:"PtgMemFunc",f:lf},42:{n:"PtgRefErr",f:uf},43:{n:"PtgAreaErr",f:Ac},44:{n:"PtgRefN",f:Hc},45:{n:"PtgAreaN",f:Pc},46:{n:"PtgMemAreaN",f:Mf},47:{n:"PtgMemNoMemN",f:Df},57:{n:"PtgNameX",f:of},58:{n:"PtgRef3d",f:Vc},59:{n:"PtgArea3d",f:Cc},60:{n:"PtgRefErr3d",f:cf},61:{n:"PtgAreaErr3d",f:Tc},255:{}},Rf={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var e in Rf)Lf[e]=Lf[Rf[e]]})();var jf={1:{n:"PtgElfLel",f:_f},2:{n:"PtgElfRw",f:kf},3:{n:"PtgElfCol",f:vf},6:{n:"PtgElfRwV",f:Ef},7:{n:"PtgElfColV",f:bf},10:{n:"PtgElfRadical",f:xf},11:{n:"PtgElfRadicalS",f:Sf},13:{n:"PtgElfColS",f:yf},15:{n:"PtgElfColSV",f:mf},16:{n:"PtgElfRadicalLel",f:wf},25:{n:"PtgList",f:Cf},29:{n:"PtgSxName",f:Af},255:{}},Nf={0:{n:"PtgAttrNoop",f:If},1:{n:"PtgAttrSemi",f:Nc},2:{n:"PtgAttrIf",f:Rc},4:{n:"PtgAttrChoose",f:Ic},8:{n:"PtgAttrGoto",f:Lc},16:{n:"PtgAttrSum",f:Xc},32:{n:"PtgAttrBaxcel",f:Dc},64:{n:"PtgAttrSpace",f:Fc},65:{n:"PtgAttrSpaceSemi",f:zc},128:{n:"PtgAttrIfError",f:jc},255:{}};function Bf(e,t,n,r){if(r.biff<8)return en(e,t);for(var i=e.l+t,o=[],a=0;a!==n.length;++a)switch(n[a][0]){case"PtgArray":n[a][1]=nf(e,0,r),o.push(n[a][1]);break;case"PtgMemArea":n[a][2]=tf(e,n[a][1],r),o.push(n[a][2]);break;case"PtgExp":r&&12==r.biff&&(n[a][1][1]=e.read_shift(4),o.push(n[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[a][0];default:break}return t=i-e.l,0!==t&&o.push(en(e,t)),o}function Ff(e,t,n){var r,i,o=e.l+t,a=[];while(o!=e.l)t=o-e.l,i=e[e.l],r=Lf[i],24!==i&&25!==i||(r=(24===i?jf:Nf)[e[e.l+1]]),r&&r.f?a.push([r.n,r.f(e,t,n)]):en(e,t);return a}function zf(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n],i=[],o=0;o<r.length;++o){var a=r[o];if(a)switch(a[0]){case 2:i.push('"'+a[1].replace(/"/g,'""')+'"');break;default:i.push(a[1])}else i.push("")}t.push(i.join(","))}return t.join(";")}Nf[33]=Nf[32];var Uf={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Hf=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Vf(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return Hf.test(e)?"'"+e+"'":e}function Gf(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function Wf(e,t,n){var r=Gf(e,t,n);return"#REF"==r?r:Vf(r,n)}function qf(e,t,n,r,i){var o,a,s,l,u=i&&i.biff||8,c={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,v="",y=0,m=e[0].length;y<m;++y){var b=e[0][y];switch(b[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),a=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:v=ge(" ",e[0][g][1][1]);break;case 1:v=ge("\r",e[0][g][1][1]);break;default:if(v="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}a+=v,g=-1}f.push(a+Uf[b[0]]+o);break;case"PtgIsect":o=f.pop(),a=f.pop(),f.push(a+" "+o);break;case"PtgUnion":o=f.pop(),a=f.pop(),f.push(a+","+o);break;case"PtgRange":o=f.pop(),a=f.pop(),f.push(a+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":s=an(b[1][1],c,i),f.push(ln(s,u));break;case"PtgRefN":s=n?an(b[1][1],n,i):b[1][1],f.push(ln(s,u));break;case"PtgRef3d":h=b[1][1],s=an(b[1][2],c,i),p=Wf(r,h,i);f.push(p+"!"+ln(s,u));break;case"PtgFunc":case"PtgFuncVar":var _=b[1][0],x=b[1][1];_||(_=0),_&=127;var w=0==_?[]:f.slice(-_);f.length-=_,"User"===x&&(x=w.shift()),f.push(x+"("+w.join(",")+")");break;case"PtgBool":f.push(b[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(b[1]);break;case"PtgNum":f.push(String(b[1]));break;case"PtgStr":f.push('"'+b[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(b[1]);break;case"PtgAreaN":l=sn(b[1][1],n?{s:n}:c,i),f.push(un(l,i));break;case"PtgArea":l=sn(b[1][1],c,i),f.push(un(l,i));break;case"PtgArea3d":h=b[1][1],l=b[1][2],p=Wf(r,h,i),f.push(p+"!"+un(l,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=b[1][2];var S=(r.names||[])[d-1]||(r[0]||[])[d],k=S?S.Name:"SH33TJSNAME"+String(d);k in uh&&(k=uh[k]),f.push(k);break;case"PtgNameX":var E,O=b[1][1];if(d=b[1][2],!(i.biff<=5)){var C="";if(14849==((r[O]||[])[0]||[])[0]||(1025==((r[O]||[])[0]||[])[0]?r[O][d]&&r[O][d].itab>0&&(C=r.SheetNames[r[O][d].itab-1]+"!"):C=r.SheetNames[d-1]+"!"),r[O]&&r[O][d])C+=r[O][d].Name;else if(r[0]&&r[0][d])C+=r[0][d].Name;else{var A=(Gf(r,O,i)||"").split(";;");A[d-1]?C=A[d-1]:C+="SH33TJSERRX"}f.push(C);break}O<0&&(O=-O),r[O]&&(E=r[O][d]),E||(E={Name:"SH33TJSERRY"}),f.push(E.Name);break;case"PtgParen":var T="(",P=")";if(g>=0){switch(v="",e[0][g][1][0]){case 2:T=ge(" ",e[0][g][1][1])+T;break;case 3:T=ge("\r",e[0][g][1][1])+T;break;case 4:P=ge(" ",e[0][g][1][1])+P;break;case 5:P=ge("\r",e[0][g][1][1])+P;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(T+f.pop()+P);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:b[1][1],r:b[1][0]};var M={c:n.c,r:n.r};if(r.sharedf[wn(s)]){var D=r.sharedf[wn(s)];f.push(qf(D,c,M,r,i))}else{var I=!1;for(o=0;o!=r.arrayf.length;++o)if(a=r.arrayf[o],!(s.c<a[0].s.c||s.c>a[0].e.c)&&!(s.r<a[0].s.r||s.r>a[0].e.r)){f.push(qf(a[1],c,M,r,i)),I=!0;break}I||f.push(b[1])}break;case"PtgArray":f.push("{"+zf(b[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=y;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+b[1].idx+"[#"+b[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(b));default:throw new Error("Unrecognized Formula Token: "+String(b))}var L=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=i.biff&&g>=0&&-1==L.indexOf(e[0][y][0])){b=e[0][g];var R=!0;switch(b[1][0]){case 4:R=!1;case 0:v=ge(" ",b[1][1]);break;case 5:R=!1;case 1:v=ge("\r",b[1][1]);break;default:if(v="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[1][0])}f.push((R?v:"")+f.pop()+(R?"":v)),g=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function Xf(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],en(e,t-2)];var s=Ff(e,a,n);return t!==a+o&&(r=Bf(e,t-a-o,s,n)),e.l=i,[s,r]}function Yf(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],en(e,t-2)];var s=Ff(e,a,n);return t!==a+o&&(r=Bf(e,t-a-o,s,n)),e.l=i,[s,r]}function Kf(e,t,n,r){var i,o=e.l+t,a=Ff(e,r,n);return o!==e.l&&(i=Bf(e,o-e.l,a,n)),[a,i]}function $f(e,t,n){var r,i=e.l+t,o=e.read_shift(2),a=Ff(e,o,n);return 65535==o?[[],en(e,t-2)]:(t!==o+2&&(r=Bf(e,i-o-2,a,n)),[a,r])}function Zf(e){var t;if(65535!==Ht(e,e.l+6))return[rr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function Jf(e){if(null==e){var t=tn(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return ir("number"==typeof e?e:0)}function Qf(e,t,n){var r=e.l+t,i=xo(e,6);2==n.biff&&++e.l;var o=Zf(e,8),a=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=Yf(e,r-e.l,n);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function eh(e,t,n,r,i){var o=wo(t,n,i),a=Jf(e.v),s=tn(6),l=33;s.write_shift(2,l),s.write_shift(4,0);for(var u=tn(e.bf.length),c=0;c<e.bf.length;++c)u[c]=e.bf[c];var f=L([o,a,s,u]);return f}function th(e,t,n){var r=e.read_shift(4),i=Ff(e,r,n),o=e.read_shift(4),a=o>0?Bf(e,o,i,n):null;return[i,a]}var nh=th,rh=th,ih=th,oh=th,ah={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},sh={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},lh={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},uh={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function ch(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&(e=e.slice(1),61==e.charCodeAt(0)&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function fh(e){var t="of:="+e.replace(cc,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function hh(e){var t=e.split(":"),n=t[0].split(".")[0];return[n,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function dh(e){return e.replace(/\./,"!")}var ph={},gh={};Gr.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var vh="undefined"!==typeof Map;function yh(e,t,n){var r=0,i=e.length;if(n){if(vh?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var o=vh?n.get(t):n[t];r<o.length;++r)if(e[o[r]].t===t)return e.Count++,o[r]}else for(;r<i;++r)if(e[r].t===t)return e.Count++,r;return e[i]={t:t},e.Count++,e.Unique++,n&&(vh?(n.has(t)||n.set(t,[]),n.get(t).push(i)):(Object.prototype.hasOwnProperty.call(n,t)||(n[t]=[]),n[t].push(i))),i}function mh(e,t){var n={min:e+1,max:e+1},r=-1;return t.MDW&&(xl=t.MDW),null!=t.width?n.customWidth=1:null!=t.wpx?r=Sl(t.wpx):null!=t.wch&&(r=t.wch),r>-1?(n.width=kl(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function bh(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function _h(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],i=60,o=e.length;if(null==r&&n.ssf)for(;i<392;++i)if(null==n.ssf[i]){N.load(t.z,i),n.ssf[i]=t.z,n.revssf[t.z]=r=i;break}for(i=0;i!=o;++i)if(e[i].numFmtId===r)return i;return e[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function xh(e,t,n,r,i,o){try{r.cellNF&&(e.z=N._table[t])}catch(My){if(r.WTF)throw My}if("z"!==e.t||r.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=he(e.v)),(!r||!1!==r.cellText)&&"z"!==e.t)try{if(null==N._table[t]&&N.load(z[t]||"General",t),"e"===e.t)e.w=e.w||Lr[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=N._general_int(e.v):e.w=N._general_num(e.v);else if("d"===e.t){var a=ie(e.v);e.w=(0|a)===a?N._general_int(a):N._general_num(a)}else{if(void 0===e.v)return"";e.w=N._general(e.v,gh)}else"d"===e.t?e.w=N.format(t,ie(e.v),gh):e.w=N.format(t,e.v,gh)}catch(My){if(r.WTF)throw My}if(r.cellStyles&&null!=n)try{e.s=o.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=yl(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=yl(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(My){if(r.WTF&&o.Fills)throw My}}}function wh(e,t,n){if(e&&e["!ref"]){var r=En(e["!ref"]);if(r.e.c<r.s.c||r.e.r<r.s.r)throw new Error("Bad range ("+n+"): "+e["!ref"])}}function Sh(e,t){var n=En(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=kn(n))}var kh=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Eh=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Oh=/<(?:\w:)?hyperlink [^>]*>/gm,Ch=/"(\w*:\w*)"/,Ah=/<(?:\w:)?col\b[^>]*[\/]?>/g,Th=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Ph=/<(?:\w:)?pageMargins[^>]*\/>/g,Mh=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Dh=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ih=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Lh(e,t,n,r,i,o,a){if(!e)return e;r||(r={"!id":{}}),null!=x&&null==t.dense&&(t.dense=x);var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},u="",c="",f=e.match(Eh);f?(u=e.slice(0,f.index),c=e.slice(f.index+f[0].length)):u=c=e;var h=u.match(Mh);h?jh(h[0],s,i,n):(h=u.match(Dh))&&Nh(h[0],h[1]||"",s,i,n,a,o);var d=(u.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=u.slice(d,d+50).match(Ch);p&&Sh(s,p[1])}var g=u.match(Ih);g&&g[1]&&$h(g[1],i);var v=[];if(t.cellStyles){var y=u.match(Ah);y&&Wh(v,y)}f&&Qh(f[1],s,t,l,o,a);var m=c.match(Th);m&&(s["!autofilter"]=Xh(m[0]));var b=[],_=c.match(kh);if(_)for(d=0;d!=_.length;++d)b[d]=En(_[d].slice(_[d].indexOf('"')+1));var w=c.match(Oh);w&&Hh(s,w,r);var S=c.match(Ph);if(S&&(s["!margins"]=Vh(Be(S[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=kn(l)),t.sheetRows>0&&s["!ref"]){var k=En(s["!ref"]);t.sheetRows<=+k.e.r&&(k.e.r=t.sheetRows-1,k.e.r>l.e.r&&(k.e.r=l.e.r),k.e.r<k.s.r&&(k.s.r=k.e.r),k.e.c>l.e.c&&(k.e.c=l.e.c),k.e.c<k.s.c&&(k.s.c=k.e.c),s["!fullref"]=s["!ref"],s["!ref"]=kn(k))}return v.length>0&&(s["!cols"]=v),b.length>0&&(s["!merges"]=b),s}function Rh(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',n=0;n!=e.length;++n)t+='<mergeCell ref="'+kn(e[n])+'"/>';return t+"</mergeCells>"}function jh(e,t,n,r){var i=Be(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=He(Qe(i.codeName)))}function Nh(e,t,n,r,i,o,a){jh(e.slice(0,e.indexOf(">")),n,r,i)}function Bh(e,t,n,r,i){var o=!1,a={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(My){}o=!0,a.codeName=et(We(l))}if(e&&e["!outline"]){var u={summaryBelow:1,summaryRight:1};e["!outline"].above&&(u.summaryBelow=0),e["!outline"].left&&(u.summaryRight=0),s=(s||"")+dt("outlinePr",null,u)}(o||s)&&(i[i.length]=dt("sheetPr",s,a))}var Fh=["objects","scenarios","selectLockedCells","selectUnlockedCells"],zh=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Uh(e){var t={sheet:1};return Fh.forEach((function(n){null!=e[n]&&e[n]&&(t[n]="1")})),zh.forEach((function(n){null==e[n]||e[n]||(t[n]="0")})),e.password&&(t.password=ol(e.password).toString(16).toUpperCase()),dt("sheetProtection",null,t)}function Hh(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var o=Be(Qe(t[i]),!0);if(!o.ref)return;var a=((n||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+He(o.location))):(o.Target="#"+He(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=En(o.ref),l=s.s.r;l<=s.e.r;++l)for(var u=s.s.c;u<=s.e.c;++u){var c=wn({c:u,r:l});r?(e[l]||(e[l]=[]),e[l][u]||(e[l][u]={t:"z",v:void 0}),e[l][u].l=o):(e[c]||(e[c]={t:"z",v:void 0}),e[c].l=o)}}}function Vh(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(n){e[n]&&(t[n]=parseFloat(e[n]))})),t}function Gh(e){return bh(e),dt("pageMargins",null,e)}function Wh(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=Be(t[r],!0);i.hidden&&(i.hidden=Je(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,Ol(i.width)),Cl(i);while(o<=a)e[o++]=pe(i)}}function qh(e,t){for(var n,r=["<cols>"],i=0;i!=t.length;++i)(n=t[i])&&(r[r.length]=dt("col",null,mh(i,n)));return r[r.length]="</cols>",r.join("")}function Xh(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function Yh(e,t,n,r){var i="string"==typeof e.ref?e.ref:kn(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,a=Sn(i);a.s.r==a.e.r&&(a.e.r=Sn(t["!ref"]).e.r,i=kn(a));for(var s=0;s<o.length;++s){var l=o[s];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==r){l.Ref="'"+n.SheetNames[r]+"'!"+i;break}}return s==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+i}),dt("autoFilter",null,{ref:i})}var Kh=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function $h(e,t){t.Views||(t.Views=[{}]),(e.match(Kh)||[]).forEach((function(e,n){var r=Be(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),Je(r.rightToLeft)&&(t.Views[n].RTL=!0)}))}function Zh(e,t,n,r){var i={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),dt("sheetViews",dt("sheetView",null,i),{})}function Jh(e,t,n,r){if(void 0===e.v&&"string"!==typeof e.f||"z"===e.t)return"";var i="",o=e.t,a=e.v;if("z"!==e.t)switch(e.t){case"b":i=e.v?"1":"0";break;case"n":i=""+e.v;break;case"e":i=Lr[e.v];break;case"d":r&&r.cellDates?i=he(e.v,-1).toISOString():(e=pe(e),e.t="n",i=""+(e.v=ie(he(e.v)))),"undefined"===typeof e.z&&(e.z=N._table[14]);break;default:i=e.v;break}var s=ft("v",We(i)),l={r:t},u=_h(r.cellXfs,e,r);switch(0!==u&&(l.s=u),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=ft("v",""+yh(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=o&&(e.t=o,e.v=a),"string"==typeof e.f&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=dt("f",We(e.f),c)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.c&&n["!comments"].push([t,e.c]),dt("c",s,l)}var Qh=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=it("v"),a=it("f");return function(s,l,u,c,f,h){for(var d,p,g,v,y,m=0,b="",_=[],x=[],w=0,S=0,k=0,E="",O=0,C=0,A=0,T=0,P=Array.isArray(h.CellXf),M=[],D=[],I=Array.isArray(l),L=[],R={},j=!1,B=!!u.sheetStubs,F=s.split(t),z=0,U=F.length;z!=U;++z){b=F[z].trim();var H=b.length;if(0!==H){var V=0;e:for(m=0;m<H;++m)switch(b[m]){case">":if("/"!=b[m-1]){++m;break e}if(u&&u.cellStyles){if(p=Be(b.slice(V,m),!0),O=null!=p.r?parseInt(p.r,10):O+1,C=-1,u.sheetRows&&u.sheetRows<O)continue;R={},j=!1,p.ht&&(j=!0,R.hpt=parseFloat(p.ht),R.hpx=Ml(R.hpt)),"1"==p.hidden&&(j=!0,R.hidden=!0),null!=p.outlineLevel&&(j=!0,R.level=+p.outlineLevel),j&&(L[O-1]=R)}break;case"<":V=m;break}if(V>=m)break;if(p=Be(b.slice(V,m),!0),O=null!=p.r?parseInt(p.r,10):O+1,C=-1,!(u.sheetRows&&u.sheetRows<O)){c.s.r>O-1&&(c.s.r=O-1),c.e.r<O-1&&(c.e.r=O-1),u&&u.cellStyles&&(R={},j=!1,p.ht&&(j=!0,R.hpt=parseFloat(p.ht),R.hpx=Ml(R.hpt)),"1"==p.hidden&&(j=!0,R.hidden=!0),null!=p.outlineLevel&&(j=!0,R.level=+p.outlineLevel),j&&(L[O-1]=R)),_=b.slice(m).split(e);for(var G=0;G!=_.length;++G)if("<"!=_[G].trim().charAt(0))break;for(_=_.slice(G),m=0;m!=_.length;++m)if(b=_[m].trim(),0!==b.length){if(x=b.match(n),w=m,S=0,k=0,b="<c "+("<"==b.slice(0,1)?">":"")+b,null!=x&&2===x.length){for(w=0,E=x[1],S=0;S!=E.length;++S){if((k=E.charCodeAt(S)-64)<1||k>26)break;w=26*w+k}--w,C=w}else++C;for(S=0;S!=b.length;++S)if(62===b.charCodeAt(S))break;if(++S,p=Be(b.slice(0,S),!0),p.r||(p.r=wn({r:O-1,c:C})),E=b.slice(S),d={t:""},null!=(x=E.match(o))&&""!==x[1]&&(d.v=He(x[1])),u.cellFormula){if(null!=(x=E.match(a))&&""!==x[1]){if(d.f=He(Qe(x[1])).replace(/\r\n/g,"\n"),u.xlfn||(d.f=gc(d.f)),x[0].indexOf('t="array"')>-1)d.F=(E.match(i)||[])[1],d.F.indexOf(":")>-1&&M.push([En(d.F),d.F]);else if(x[0].indexOf('t="shared"')>-1){v=Be(x[0]);var W=He(Qe(x[1]));u.xlfn||(W=gc(W)),D[parseInt(v.si,10)]=[v,W,p.r]}}else(x=E.match(/<f[^>]*\/>/))&&(v=Be(x[0]),D[v.si]&&(d.f=dc(D[v.si][1],D[v.si][2],p.r)));var q=xn(p.r);for(S=0;S<M.length;++S)q.r>=M[S][0].s.r&&q.r<=M[S][0].e.r&&q.c>=M[S][0].s.c&&q.c<=M[S][0].e.c&&(d.F=M[S][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!B)continue;d.t="z"}else d.t=p.t||"n";switch(c.s.c>C&&(c.s.c=C),c.e.c<C&&(c.e.c=C),d.t){case"n":if(""==d.v||null==d.v){if(!B)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if("undefined"==typeof d.v){if(!B)continue;d.t="z"}else g=ph[parseInt(d.v,10)],d.v=g.t,d.r=g.r,u.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Qe(d.v):"",u.cellHTML&&(d.h=Ye(d.v));break;case"inlineStr":x=E.match(r),d.t="s",null!=x&&(g=Ms(x[1]))?(d.v=g.t,u.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=Je(d.v);break;case"d":u.cellDates?d.v=he(d.v,1):(d.v=ie(he(d.v,1)),d.t="n");break;case"e":u&&!1===u.cellText||(d.w=d.v),d.v=Rr[d.v];break}if(A=T=0,y=null,P&&void 0!==p.s&&(y=h.CellXf[p.s],null!=y&&(null!=y.numFmtId&&(A=y.numFmtId),u.cellStyles&&null!=y.fillId&&(T=y.fillId))),xh(d,A,T,u,f,h),u.cellDates&&P&&"n"==d.t&&N.is_date(N._table[A])&&(d.t="d",d.v=le(d.v)),I){var X=xn(p.r);l[X.r]||(l[X.r]=[]),l[X.r][X.c]=d}else l[p.r]=d}}}}L.length>0&&(l["!rows"]=L)}}();function ed(e,t,n,r){var i,o,a=[],s=[],l=En(e["!ref"]),u="",c="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),v={r:c},y=-1;for(d=l.s.c;d<=l.e.c;++d)f[d]=yn(d);for(h=l.s.r;h<=l.e.r;++h){for(s=[],c=dn(h),d=l.s.c;d<=l.e.c;++d){i=f[d]+c;var m=g?(e[h]||[])[d]:e[i];void 0!==m&&(null!=(u=Jh(m,i,e,t,n,r))&&s.push(u))}(s.length>0||p&&p[h])&&(v={r:c},p&&p[h]&&(o=p[h],o.hidden&&(v.hidden=1),y=-1,o.hpx?y=Pl(o.hpx):o.hpt&&(y=o.hpt),y>-1&&(v.ht=y,v.customHeight=1),o.level&&(v.outlineLevel=o.level)),a[a.length]=dt("row",s.join(""),v))}if(p)for(;h<p.length;++h)p&&p[h]&&(v={r:h+1},o=p[h],o.hidden&&(v.hidden=1),y=-1,o.hpx?y=Pl(o.hpx):o.hpt&&(y=o.hpt),y>-1&&(v.ht=y,v.customHeight=1),o.level&&(v.outlineLevel=o.level),a[a.length]=dt("row","",v));return a.join("")}var td=dt("worksheet",null,{xmlns:vt.main[0],"xmlns:r":vt.r});function nd(e,t,n,r){var i=[Ie,td],o=n.SheetNames[e],a=0,s="",l=n.Sheets[o];null==l&&(l={});var u=l["!ref"]||"A1",c=En(u);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+u+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),u=kn(c)}r||(r={}),l["!comments"]=[];var f=[];Bh(l,n,e,t,i),i[i.length]=dt("dimension",null,{ref:u}),i[i.length]=Zh(l,t,e,n),t.sheetFormat&&(i[i.length]=dt("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(i[i.length]=qh(l,l["!cols"])),i[a=i.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(s=ed(l,t,e,n,r),s.length>0&&(i[i.length]=s)),i.length>a+1&&(i[i.length]="</sheetData>",i[a]=i[a].replace("/>",">")),l["!protect"]&&(i[i.length]=Uh(l["!protect"])),null!=l["!autofilter"]&&(i[i.length]=Yh(l["!autofilter"],l,n,e)),null!=l["!merges"]&&l["!merges"].length>0&&(i[i.length]=Rh(l["!merges"]));var h,d=-1,p=-1;return l["!links"].length>0&&(i[i.length]="<hyperlinks>",l["!links"].forEach((function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=$r(r,-1,We(e[1].Target).replace(/#.*$/,""),Gr.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=We(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=We(e[1].Tooltip)),i[i.length]=dt("hyperlink",null,h))})),i[i.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(i[i.length]=Gh(l["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(i[i.length]=ft("ignoredErrors",dt("ignoredError",null,{numberStoredAsText:1,sqref:u}))),f.length>0&&(p=$r(r,-1,"../drawings/drawing"+(e+1)+".xml",Gr.DRAW),i[i.length]=dt("drawing",null,{"r:id":"rId"+p}),l["!drawing"]=f),l["!comments"].length>0&&(p=$r(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Gr.VML),i[i.length]=dt("legacyDrawing",null,{"r:id":"rId"+p}),l["!legacy"]=p),i.length>1&&(i[i.length]="</worksheet>",i[1]=i[1].replace("/>",">")),i.join("")}function rd(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var o=e.read_shift(1);return e.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=i/20),n}function id(e,t,n){var r=tn(145),i=(n["!rows"]||[])[e]||{};r.write_shift(4,e),r.write_shift(4,0);var o=320;i.hpx?o=20*Pl(i.hpx):i.hpt&&(o=20*i.hpt),r.write_shift(2,o),r.write_shift(1,0);var a=0;i.level&&(a|=i.level),i.hidden&&(a|=16),(i.hpx||i.hpt)&&(a|=32),r.write_shift(1,a),r.write_shift(1,0);var s=0,l=r.l;r.l+=4;for(var u={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.c<c<<10)){for(var f=-1,h=-1,d=c<<10;d<c+1<<10;++d){u.c=d;var p=Array.isArray(n)?(n[u.r]||[])[u.c]:n[wn(u)];p&&(f<0&&(f=d),h=d)}f<0||(++s,r.write_shift(4,f),r.write_shift(4,h))}var g=r.l;return r.l=l,r.write_shift(4,s),r.l=g,r.length>r.l?r.slice(0,r.l):r}function od(e,t,n,r){var i=id(r,n,t);(i.length>17||(t["!rows"]||[])[r])&&on(e,"BrtRowHdr",i)}var ad=tr,sd=nr;function ld(){}function ud(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=Gn(e,t-19),n}function cd(e,t,n){null==n&&(n=tn(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n.write_shift(1,r);for(var i=1;i<3;++i)n.write_shift(1,0);return ar({auto:1},n),n.write_shift(-4,-1),n.write_shift(-4,-1),Wn(e,n),n.slice(0,n.l)}function fd(e){var t=zn(e);return[t]}function hd(e,t,n){return null==n&&(n=tn(8)),Un(t,n)}function dd(e){var t=Hn(e);return[t]}function pd(e,t,n){return null==n&&(n=tn(4)),Vn(t,n)}function gd(e){var t=zn(e),n=e.read_shift(1);return[t,n,"b"]}function vd(e,t,n){return null==n&&(n=tn(9)),Un(t,n),n.write_shift(1,e.v?1:0),n}function yd(e){var t=Hn(e),n=e.read_shift(1);return[t,n,"b"]}function md(e,t,n){return null==n&&(n=tn(5)),Vn(t,n),n.write_shift(1,e.v?1:0),n}function bd(e){var t=zn(e),n=e.read_shift(1);return[t,n,"e"]}function _d(e,t,n){return null==n&&(n=tn(9)),Un(t,n),n.write_shift(1,e.v),n}function xd(e){var t=Hn(e),n=e.read_shift(1);return[t,n,"e"]}function wd(e,t,n){return null==n&&(n=tn(8)),Vn(t,n),n.write_shift(1,e.v),n.write_shift(2,0),n.write_shift(1,0),n}function Sd(e){var t=zn(e),n=e.read_shift(4);return[t,n,"s"]}function kd(e,t,n){return null==n&&(n=tn(12)),Un(t,n),n.write_shift(4,t.v),n}function Ed(e){var t=Hn(e),n=e.read_shift(4);return[t,n,"s"]}function Od(e,t,n){return null==n&&(n=tn(8)),Vn(t,n),n.write_shift(4,t.v),n}function Cd(e){var t=zn(e),n=rr(e);return[t,n,"n"]}function Ad(e,t,n){return null==n&&(n=tn(16)),Un(t,n),ir(e.v,n),n}function Td(e){var t=Hn(e),n=rr(e);return[t,n,"n"]}function Pd(e,t,n){return null==n&&(n=tn(12)),Vn(t,n),ir(e.v,n),n}function Md(e){var t=zn(e),n=Zn(e);return[t,n,"n"]}function Dd(e,t,n){return null==n&&(n=tn(12)),Un(t,n),Jn(e.v,n),n}function Id(e){var t=Hn(e),n=Zn(e);return[t,n,"n"]}function Ld(e,t,n){return null==n&&(n=tn(8)),Vn(t,n),Jn(e.v,n),n}function Rd(e){var t=zn(e),n=Dn(e);return[t,n,"str"]}function jd(e,t,n){return null==n&&(n=tn(12+4*e.v.length)),Un(t,n),In(e.v,n),n.length>n.l?n.slice(0,n.l):n}function Nd(e){var t=Hn(e),n=Dn(e);return[t,n,"str"]}function Bd(e,t,n){return null==n&&(n=tn(8+4*e.v.length)),Vn(t,n),In(e.v,n),n.length>n.l?n.slice(0,n.l):n}function Fd(e,t,n){var r=e.l+t,i=zn(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"b"];if(n.cellFormula){e.l+=2;var s=rh(e,r-e.l,n);a[3]=qf(s,null,i,n.supbooks,n)}else e.l=r;return a}function zd(e,t,n){var r=e.l+t,i=zn(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"e"];if(n.cellFormula){e.l+=2;var s=rh(e,r-e.l,n);a[3]=qf(s,null,i,n.supbooks,n)}else e.l=r;return a}function Ud(e,t,n){var r=e.l+t,i=zn(e);i.r=n["!row"];var o=rr(e),a=[i,o,"n"];if(n.cellFormula){e.l+=2;var s=rh(e,r-e.l,n);a[3]=qf(s,null,i,n.supbooks,n)}else e.l=r;return a}function Hd(e,t,n){var r=e.l+t,i=zn(e);i.r=n["!row"];var o=Dn(e),a=[i,o,"str"];if(n.cellFormula){e.l+=2;var s=rh(e,r-e.l,n);a[3]=qf(s,null,i,n.supbooks,n)}else e.l=r;return a}var Vd=tr,Gd=nr;function Wd(e,t){return null==t&&(t=tn(4)),t.write_shift(4,e),t}function qd(e,t){var n=e.l+t,r=tr(e,16),i=qn(e),o=Dn(e),a=Dn(e),s=Dn(e);e.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}function Xd(e,t){var n=tn(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));nr({s:xn(e[0]),e:xn(e[0])},n),$n("rId"+t,n);var r=e[1].Target.indexOf("#"),i=-1==r?"":e[1].Target.slice(r+1);return In(i||"",n),In(e[1].Tooltip||"",n),In("",n),n.slice(0,n.l)}function Yd(){}function Kd(e,t,n){var r=e.l+t,i=Qn(e,16),o=e.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=nh(e,r-e.l,n);a[1]=s}else e.l=r;return a}function $d(e,t,n){var r=e.l+t,i=tr(e,16),o=[i];if(n.cellFormula){var a=oh(e,r-e.l,n);o[1]=a,e.l=r}else e.l=r;return o}function Zd(e,t,n){null==n&&(n=tn(18));var r=mh(e,t);n.write_shift(-4,e),n.write_shift(-4,e),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var i=0;return t.hidden&&(i|=1),"number"==typeof r.width&&(i|=2),t.level&&(i|=t.level<<8),n.write_shift(2,i),n}var Jd=["left","right","top","bottom","header","footer"];function Qd(e){var t={};return Jd.forEach((function(n){t[n]=rr(e,8)})),t}function ep(e,t){return null==t&&(t=tn(48)),bh(e),Jd.forEach((function(n){ir(e[n],t)})),t}function tp(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function np(e,t,n){null==n&&(n=tn(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}function rp(e){var t=tn(24);return t.write_shift(4,4),t.write_shift(4,1),nr(e,t),t}function ip(e,t){return null==t&&(t=tn(66)),t.write_shift(2,e.password?ol(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(n){n[1]?t.write_shift(4,null==e[n[0]]||e[n[0]]?0:1):t.write_shift(4,null!=e[n[0]]&&e[n[0]]?0:1)})),t}function op(){}function ap(){}function sp(e,t,n,r,i,o,a){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=x&&null==s.dense&&(s.dense=x);var l,u,c,f,h,d,p,g,v,y,m=s.dense?[]:{},b={s:{r:2e6,c:2e6},e:{r:0,c:0}},_=[],w=!1,S=!1,k=[];s.biff=12,s["!row"]=0;var E=0,O=!1,C=[],A={},T=s.supbooks||i.supbooks||[[]];if(T.sharedf=A,T.arrayf=C,T.SheetNames=i.SheetNames||i.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=T,i.Names))for(var P=0;P<i.Names.length;++P)T[0][P+1]=i.Names[P];var M=[],D=[],I=!1;if(Jg[16]={n:"BrtShortReal",f:Td},nn(e,(function(e,t,x){if(!S)switch(x){case 148:l=e;break;case 0:u=e,s.sheetRows&&s.sheetRows<=u.r&&(S=!0),v=dn(h=u.r),s["!row"]=u.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Ml(e.hpt)),D[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:switch(c={t:e[2]},e[2]){case"n":c.v=e[1];break;case"s":g=ph[e[1]],c.v=g.t,c.r=g.r;break;case"b":c.v=!!e[1];break;case"e":c.v=e[1],!1!==s.cellText&&(c.w=Lr[c.v]);break;case"str":c.t="s",c.v=e[1];break}if((f=a.CellXf[e[0].iStyleRef])&&xh(c,f.numFmtId,null,s,o,a),d=-1==e[0].c?d+1:e[0].c,s.dense?(m[h]||(m[h]=[]),m[h][d]=c):m[yn(d)+v]=c,s.cellFormula){for(O=!1,E=0;E<C.length;++E){var P=C[E];u.r>=P[0].s.r&&u.r<=P[0].e.r&&d>=P[0].s.c&&d<=P[0].e.c&&(c.F=kn(P[0]),O=!0)}!O&&e.length>3&&(c.f=e[3])}if(b.s.r>u.r&&(b.s.r=u.r),b.s.c>d&&(b.s.c=d),b.e.r<u.r&&(b.e.r=u.r),b.e.c<d&&(b.e.c=d),s.cellDates&&f&&"n"==c.t&&N.is_date(N._table[f.numFmtId])){var L=N.parse_date_code(c.v);L&&(c.t="d",c.v=new Date(L.y,L.m-1,L.d,L.H,L.M,L.S,L.u))}break;case 1:case 12:if(!s.sheetStubs||w)break;c={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,s.dense?(m[h]||(m[h]=[]),m[h][d]=c):m[yn(d)+v]=c,b.s.r>u.r&&(b.s.r=u.r),b.s.c>d&&(b.s.c=d),b.e.r<u.r&&(b.e.r=u.r),b.e.c<d&&(b.e.c=d);break;case 176:k.push(e);break;case 494:var R=r["!id"][e.relId];for(R?(e.Target=R.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=R):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)s.dense?(m[h]||(m[h]=[]),m[h][d]||(m[h][d]={t:"z",v:void 0}),m[h][d].l=e):(p=wn({c:d,r:h}),m[p]||(m[p]={t:"z",v:void 0}),m[p].l=e);break;case 426:if(!s.cellFormula)break;C.push(e),y=s.dense?m[h][d]:m[yn(d)+v],y.f=qf(e[1],b,{r:u.r,c:d},T,s),y.F=kn(e[0]);break;case 427:if(!s.cellFormula)break;A[wn(e[0].s)]=e[1],y=s.dense?m[h][d]:m[yn(d)+v],y.f=qf(e[1],b,{r:u.r,c:d},T,s);break;case 60:if(!s.cellStyles)break;while(e.e>=e.s)M[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},I||(I=!0,Ol(e.w/256)),Cl(M[e.e+1]);break;case 161:m["!autofilter"]={ref:kn(e)};break;case 476:m["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name),(e.above||e.left)&&(m["!outline"]={above:e.above,left:e.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),e.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:w=!0;break;case 36:w=!1;break;case 37:_.push(t),w=!0;break;case 38:_.pop(),w=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!w||s.WTF)throw new Error("Unexpected record "+x+" "+t)}}),s),delete s.supbooks,delete s["!row"],!m["!ref"]&&(b.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(m["!ref"]=kn(l||b)),s.sheetRows&&m["!ref"]){var L=En(m["!ref"]);s.sheetRows<=+L.e.r&&(L.e.r=s.sheetRows-1,L.e.r>b.e.r&&(L.e.r=b.e.r),L.e.r<L.s.r&&(L.s.r=L.e.r),L.e.c>b.e.c&&(L.e.c=b.e.c),L.e.c<L.s.c&&(L.s.c=L.e.c),m["!fullref"]=m["!ref"],m["!ref"]=kn(L))}return k.length>0&&(m["!merges"]=k),M.length>0&&(m["!cols"]=M),D.length>0&&(m["!rows"]=D),m}function lp(e,t,n,r,i,o,a){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":t=pe(t),t.z=t.z||N._table[14],t.v=ie(he(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v;break}var l={r:n,c:r};switch(l.s=_h(i.cellXfs,t,i),t.l&&o["!links"].push([wn(l),t.l]),t.c&&o["!comments"].push([wn(l),t.c]),t.t){case"s":case"str":return i.bookSST?(s=yh(i.Strings,t.v,i.revStrings),l.t="s",l.v=s,a?on(e,"BrtShortIsst",Od(t,l)):on(e,"BrtCellIsst",kd(t,l))):(l.t="str",a?on(e,"BrtShortSt",Bd(t,l)):on(e,"BrtCellSt",jd(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?a?on(e,"BrtShortRk",Ld(t,l)):on(e,"BrtCellRk",Dd(t,l)):a?on(e,"BrtShortReal",Pd(t,l)):on(e,"BrtCellReal",Ad(t,l)),!0;case"b":return l.t="b",a?on(e,"BrtShortBool",md(t,l)):on(e,"BrtCellBool",vd(t,l)),!0;case"e":return l.t="e",a?on(e,"BrtShortError",wd(t,l)):on(e,"BrtCellError",_d(t,l)),!0}return a?on(e,"BrtShortBlank",pd(t,l)):on(e,"BrtCellBlank",hd(t,l)),!0}function up(e,t,n,r){var i,o=En(t["!ref"]||"A1"),a="",s=[];on(e,"BrtBeginSheetData");var l=Array.isArray(t),u=o.e.r;t["!rows"]&&(u=Math.max(o.e.r,t["!rows"].length-1));for(var c=o.s.r;c<=u;++c){a=dn(c),od(e,t,o,c);var f=!1;if(c<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){c===o.s.r&&(s[h]=yn(h)),i=s[h]+a;var d=l?(t[c]||[])[h]:t[i];d?f=lp(e,d,c,h,r,t,f):f=!1}}on(e,"BrtEndSheetData")}function cp(e,t){t&&t["!merges"]&&(on(e,"BrtBeginMergeCells",Wd(t["!merges"].length)),t["!merges"].forEach((function(t){on(e,"BrtMergeCell",Gd(t))})),on(e,"BrtEndMergeCells"))}function fp(e,t){t&&t["!cols"]&&(on(e,"BrtBeginColInfos"),t["!cols"].forEach((function(t,n){t&&on(e,"BrtColInfo",Zd(n,t))})),on(e,"BrtEndColInfos"))}function hp(e,t){t&&t["!ref"]&&(on(e,"BrtBeginCellIgnoreECs"),on(e,"BrtCellIgnoreEC",rp(En(t["!ref"]))),on(e,"BrtEndCellIgnoreECs"))}function dp(e,t,n){t["!links"].forEach((function(t){if(t[1].Target){var r=$r(n,-1,t[1].Target.replace(/#.*$/,""),Gr.HLINK);on(e,"BrtHLink",Xd(t,r))}})),delete t["!links"]}function pp(e,t,n,r){if(t["!comments"].length>0){var i=$r(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",Gr.VML);on(e,"BrtLegacyDrawing",$n("rId"+i)),t["!legacy"]=i}}function gp(e,t,n,r){if(t["!autofilter"]){var i=t["!autofilter"],o="string"===typeof i.ref?i.ref:kn(i.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var a=n.Workbook.Names,s=Sn(o);s.s.r==s.e.r&&(s.e.r=Sn(t["!ref"]).e.r,o=kn(s));for(var l=0;l<a.length;++l){var u=a[l];if("_xlnm._FilterDatabase"==u.Name&&u.Sheet==r){u.Ref="'"+n.SheetNames[r]+"'!"+o;break}}l==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+o}),on(e,"BrtBeginAFilter",nr(En(o))),on(e,"BrtEndAFilter")}}function vp(e,t,n){on(e,"BrtBeginWsViews"),on(e,"BrtBeginWsView",np(t,n)),on(e,"BrtEndWsView"),on(e,"BrtEndWsViews")}function yp(){}function mp(e,t){t["!protect"]&&on(e,"BrtSheetProtection",ip(t["!protect"]))}function bp(e,t,n,r){var i=rn(),o=n.SheetNames[e],a=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(My){}var l=En(a["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return a["!links"]=[],a["!comments"]=[],on(i,"BrtBeginSheet"),(n.vbaraw||a["!outline"])&&on(i,"BrtWsProp",cd(s,a["!outline"])),on(i,"BrtWsDim",sd(l)),vp(i,a,n.Workbook),yp(i,a),fp(i,a,e,t,n),up(i,a,e,t,n),mp(i,a),gp(i,a,n,e),cp(i,a),dp(i,a,r),a["!margins"]&&on(i,"BrtMargins",ep(a["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||hp(i,a),pp(i,a,e,r),on(i,"BrtEndSheet"),i.end()}function _p(e){var t,n=[],r=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])}));var i=He((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,i,t]}function xp(e,t,n,r,i,o){var a=o||{"!type":"chart"};if(!e)return o;var s=0,l=0,u="A",c={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=_p(e);c.s.r=c.s.c=0,c.e.c=s,u=yn(s),t[0].forEach((function(e,n){a[u+dn(n)]={t:"n",v:e,z:t[1]},l=n})),c.e.r<l&&(c.e.r=l),++s})),s>0&&(a["!ref"]=kn(c)),a}Gr.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Gr.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",Gr.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";dt("chartsheet",null,{xmlns:vt.main[0],"xmlns:r":vt.r});function wp(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=e.match(Mh);return s&&jh(s[0],a,i,n),(o=e.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),r["!id"][a["!rel"]]&&(a["!drawel"]=r["!id"][a["!rel"]]),a}function Sp(e,t){e.l+=10;var n=Dn(e,t-10);return{name:n}}function kp(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return nn(e,(function(e,r,l){switch(l){case 550:o["!rel"]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(r);break;case 38:a.pop();break;default:if((r||"").indexOf("Begin")>0)a.push(r);else if((r||"").indexOf("End")>0)a.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+l+" "+r)}}),t),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}var Ep=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Op=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Cp=[],Ap=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Tp(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var o=t[i];if(null==r[o[0]])r[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof r[o[0]]&&(r[o[0]]=Je(r[o[0]]));break;case"int":"string"==typeof r[o[0]]&&(r[o[0]]=parseInt(r[o[0]],10));break}}}function Pp(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=Je(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10));break}}}function Mp(e){Pp(e.WBProps,Ep),Pp(e.CalcPr,Ap),Tp(e.WBView,Op),Tp(e.Sheets,Cp),gh.date1904=Je(e.WBProps.date1904)}function Dp(e){return e.Workbook&&e.Workbook.WBProps&&Je(e.Workbook.WBProps.date1904)?"true":"false"}var Ip="][*?/\\".split("");function Lp(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return Ip.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}function Rp(e,t,n){e.forEach((function(r,i){Lp(r);for(var o=0;o<i;++o)if(r==e[o])throw new Error("Duplicate Sheet Name: "+r);if(n){var a=t&&t[i]&&t[i].CodeName||r;if(95==a.charCodeAt(0)&&a.length>22)throw new Error("Bad Code Name: Worksheet"+a)}}))}function jp(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];Rp(e.SheetNames,t,!!e.vbaraw);for(var n=0;n<e.SheetNames.length;++n)wh(e.Sheets[e.SheetNames[n]],e.SheetNames[n],n)}var Np=/<\w+:workbook/;function Bp(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,i="xmlns",o={},a=0;if(e.replace(Re,(function(s,l){var u=Be(s);switch(Fe(u[0])){case"<?xml":break;case"<workbook":s.match(Np)&&(i="xmlns"+s.match(/<(\w+):/)[1]),n.xmlns=u[i];break;case"</workbook>":break;case"<fileVersion":delete u[0],n.AppVersion=u;break;case"<fileVersion/>":case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Ep.forEach((function(e){if(null!=u[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=Je(u[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(u[e[0]],10);break;default:n.WBProps[e[0]]=u[e[0]]}})),u.codeName&&(n.WBProps.CodeName=Qe(u.codeName));break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete u[0],n.WBView.push(u);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(u.state){case"hidden":u.Hidden=1;break;case"veryHidden":u.Hidden=2;break;default:u.Hidden=0}delete u.state,u.name=He(Qe(u.name)),delete u[0],n.Sheets.push(u);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":case"<definedNames":r=!0;break;case"</definedNames>":r=!1;break;case"<definedName":o={},o.Name=Qe(u.name),u.comment&&(o.Comment=u.comment),u.localSheetId&&(o.Sheet=+u.localSheetId),Je(u.hidden||"0")&&(o.Hidden=!0),a=l+s.length;break;case"</definedName>":o.Ref=He(Qe(e.slice(a,l))),n.Names.push(o);break;case"<definedName/>":break;case"<calcPr":delete u[0],n.CalcPr=u;break;case"<calcPr/>":delete u[0],n.CalcPr=u;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":r=!0;break;case"</ext>":r=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":r=!0;break;case"</AlternateContent>":r=!1;break;case"<revisionPtr":break;default:if(!r&&t.WTF)throw new Error("unrecognized "+u[0]+" in workbook")}return s})),-1===vt.main.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return Mp(n),n}var Fp=dt("workbook",null,{xmlns:vt.main[0],"xmlns:r":vt.r});function zp(e){var t=[Ie];t[t.length]=Fp;var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Ep.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=dt("workbookPr",null,r);var i=e.Workbook&&e.Workbook.Sheets||[],o=0;if(i&&i[0]&&i[0].Hidden){for(t[t.length]="<bookViews>",o=0;o!=e.SheetNames.length;++o){if(!i[o])break;if(!i[o].Hidden)break}o==e.SheetNames.length&&(o=0),t[t.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",o=0;o!=e.SheetNames.length;++o){var a={name:We(e.SheetNames[o].slice(0,31))};if(a.sheetId=""+(o+1),a["r:id"]="rId"+(o+1),i[o])switch(i[o].Hidden){case 1:a.state="hidden";break;case 2:a.state="veryHidden";break}t[t.length]=dt("sheet",null,a)}return t[t.length]="</sheets>",n&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=dt("definedName",We(e.Ref),n))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function Up(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=Kn(e,t-8),n.name=Dn(e),n}function Hp(e,t){return t||(t=tn(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),$n(e.strRelID,t),In(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function Vp(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var i=t>8?Dn(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}function Gp(e,t){t||(t=tn(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t.write_shift(4,n),t.write_shift(4,0),Wn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function Wp(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function qp(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e.read_shift(4),o=Yn(e),a=ih(e,0,n),s=qn(e);e.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}function Xp(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],i=!1;t||(t={}),t.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],Jg[16]={n:"BrtFRTArchID$",f:Wp},nn(e,(function(e,s,l){switch(l){case 156:a.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=qf(e.Ptg,null,null,a,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:a[0].length?a.push([l,e]):a[0]=[l,e],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(e),a.XTI=a.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(s),i=!0;break;case 36:r.pop(),i=!1;break;case 37:r.push(s),i=!0;break;case 38:r.pop(),i=!1;break;case 16:break;default:if((s||"").indexOf("Begin")>0);else if((s||"").indexOf("End")>0);else if(!i||t.WTF&&"BrtACBegin"!=r[r.length-1]&&"BrtFRTBegin"!=r[r.length-1])throw new Error("Unexpected record "+l+" "+s)}}),t),Mp(n),n.Names=o,n.supbooks=a,n}function Yp(e,t){on(e,"BrtBeginBundleShs");for(var n=0;n!=t.SheetNames.length;++n){var r=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,i={Hidden:r,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]};on(e,"BrtBundleSh",Hp(i))}on(e,"BrtEndBundleShs")}function Kp(e,n){n||(n=tn(127));for(var r=0;4!=r;++r)n.write_shift(4,0);return In("SheetJS",n),In(t.version,n),In(t.version,n),In("7262",n),n.length>n.l?n.slice(0,n.l):n}function $p(e,t){t||(t=tn(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var n=120;return t.write_shift(1,n),t.length>t.l?t.slice(0,t.l):t}function Zp(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n=t.Workbook.Sheets,r=0,i=-1,o=-1;r<n.length;++r)!n[r]||!n[r].Hidden&&-1==i?i=r:1==n[r].Hidden&&-1==o&&(o=r);o>i||(on(e,"BrtBeginBookViews"),on(e,"BrtBookView",$p(i)),on(e,"BrtEndBookViews"))}}function Jp(e,t){var n=rn();return on(n,"BrtBeginBook"),on(n,"BrtFileVersion",Kp()),on(n,"BrtWbProp",Gp(e.Workbook&&e.Workbook.WBProps||null)),Zp(n,e,t),Yp(n,e,t),on(n,"BrtEndBook"),n.end()}function Qp(e,t,n){return".bin"===t.slice(-4)?Xp(e,n):Bp(e,n)}function eg(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?sp(e,r,n,i,o,a,s):Lh(e,r,n,i,o,a,s)}function tg(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?kp(e,r,n,i,o,a,s):wp(e,r,n,i,o,a,s)}function ng(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?sc(e,r,n,i,o,a,s):lc(e,r,n,i,o,a,s)}function rg(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?oc(e,r,n,i,o,a,s):ac(e,r,n,i,o,a,s)}function ig(e,t,n,r){return".bin"===t.slice(-4)?au(e,n,r):Hl(e,n,r)}function og(e,t,n){return Cu(e,n)}function ag(e,t,n){return".bin"===t.slice(-4)?Fs(e,n):Rs(e,n)}function sg(e,t,n){return".bin"===t.slice(-4)?Qu(e,n):qu(e,n)}function lg(e,t,n){return".bin"===t.slice(-4)?Fu(e,t,n):Nu(e,t,n)}function ug(e,t,n,r){return".bin"===n.slice(-4)?Uu(e,t,n,r):zu(e,t,n,r)}function cg(e,t,n){return(".bin"===t.slice(-4)?Jp:zp)(e,n)}function fg(e,t,n,r,i){return(".bin"===t.slice(-4)?bp:nd)(e,n,r,i)}function hg(e,t,n){return(".bin"===t.slice(-4)?yu:Gl)(e,n)}function dg(e,t,n){return(".bin"===t.slice(-4)?Hs:Ns)(e,n)}function pg(e,t,n){return(".bin"===t.slice(-4)?ec:Yu)(e,n)}var gg=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,vg=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function yg(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var i,o,a,s,l=e.match(gg);if(l)for(s=0;s!=l.length;++s)i=l[s].match(vg),-1===(o=i[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):(a="xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1),r[a]=i[2].slice(1,i[2].length-1));return r}function mg(e){var t=e.split(/\s+/),n={};if(1===t.length)return n;var r,i,o,a,s=e.match(gg);if(s)for(a=0;a!=s.length;++a)r=s[a].match(vg),-1===(i=r[1].indexOf(":"))?n[r[1]]=r[2].slice(1,r[2].length-1):(o="xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(i+1),n[o]=r[2].slice(1,r[2].length-1));return n}function bg(e,t){var n=F[e]||He(e);return"General"===n?N._general(t):N.format(n,t)}function _g(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=Je(r);break;case"i2":case"int":i=parseInt(r,10);break;case"r4":case"float":i=parseFloat(r);break;case"date":case"dateTime.tz":i=he(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[He(t)]=i}function xg(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||Lr[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=N._general_int(e.v):e.w=N._general_num(e.v):e.w=N._general(e.v):e.w=bg(t||"General",e.v)}catch(My){if(n.WTF)throw My}try{var r=F[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&N.is_date(r)){var i=N.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(My){if(n.WTF)throw My}}}function wg(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Dl[r.Pattern]||r.Pattern)}e[t.ID]=t}function Sg(e,t,n,r,i,o,a,s,l,u){var c="General",f=r.StyleID,h={};u=u||{};var d=[],p=0;void 0===f&&s&&(f=s.StyleID),void 0===f&&a&&(f=a.StyleID);while(void 0!==o[f]){if(o[f].nf&&(c=o[f].nf),o[f].Interior&&d.push(o[f].Interior),!o[f].Parent)break;f=o[f].Parent}switch(n.Type){case"Boolean":r.t="b",r.v=Je(e);break;case"String":r.t="s",r.r=$e(He(e)),r.v=e.indexOf("<")>-1?He(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(he(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!==r.v?r.v=He(e):r.v<60&&(r.v=r.v-1),c&&"General"!=c||(c="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=Rr[e],!1!==u.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=$e(t||e));break}if(xg(r,c,u),!1!==u.cellFormula)if(r.Formula){var g=He(r.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),r.f=uc(g,i),delete r.Formula,"RC"==r.ArrayRange?r.F=uc("RC:RC",i):r.ArrayRange&&(r.F=uc(r.ArrayRange,i),l.push([En(r.F),r.F]))}else for(p=0;p<l.length;++p)i.r>=l[p][0].s.r&&i.r<=l[p][0].e.r&&i.c>=l[p][0].s.c&&i.c<=l[p][0].e.c&&(r.F=l[p][1]);u.cellStyles&&(d.forEach((function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)})),r.s=h),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function kg(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Eg(e){if(k&&i.isBuffer(e))return e.toString("utf8");if("string"===typeof e)return e;if("undefined"!==typeof Uint8Array&&e instanceof Uint8Array)return Qe(M(I(e)));throw new Error("Bad input format: expected Buffer or string")}var Og=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;function Cg(e,t){var n=t||{};B(N);var r=m(Eg(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!==typeof cptable?cptable.utils.decode(65001,g(r)):Qe(r));var i,o=r.slice(0,1024).toLowerCase(),a=!1;if(o=o.replace(/".*?"/g,""),(1023&o.indexOf(">"))>Math.min(1023&o.indexOf(","),1023&o.indexOf(";"))){var s=pe(n);return s.type="string",ws.to_workbook(r,s)}if(-1==o.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){o.indexOf("<"+e)>=0&&(a=!0)})),a)return xv.to_workbook(r,n);var l,u=[];null!=x&&null==n.dense&&(n.dense=x);var c,f={},h=[],d=n.dense?[]:{},p="",v={},y={},b=yg('<Data ss:Type="String">'),_=0,w=0,S=0,k={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},O={},C="",A=0,T=[],P={},M={},D=0,I=[],L=[],R={},j=[],z=!1,U=[],H=[],V={},G=0,W=0,q={Sheets:[],WBProps:{date1904:!1}},X={};Og.lastIndex=0,r=r.replace(/<!--([\s\S]*?)-->/gm,"");var Y="";while(i=Og.exec(r))switch(i[3]=(Y=i[3]).toLowerCase()){case"data":if("data"==Y){if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break}if(u[u.length-1][1])break;"/"===i[1]?Sg(r.slice(_,i.index),C,b,"comment"==u[u.length-1][0]?R:v,{c:w,r:S},E,j[w],y,U,n):(C="",b=yg(i[0]),_=i.index+i[0].length);break;case"cell":if("/"===i[1])if(L.length>0&&(v.c=L),(!n.sheetRows||n.sheetRows>S)&&void 0!==v.v&&(n.dense?(d[S]||(d[S]=[]),d[S][w]=v):d[yn(w)+dn(S)]=v),v.HRef&&(v.l={Target:He(v.HRef)},v.HRefScreenTip&&(v.l.Tooltip=v.HRefScreenTip),delete v.HRef,delete v.HRefScreenTip),(v.MergeAcross||v.MergeDown)&&(G=w+(0|parseInt(v.MergeAcross,10)),W=S+(0|parseInt(v.MergeDown,10)),T.push({s:{c:w,r:S},e:{c:G,r:W}})),n.sheetStubs)if(v.MergeAcross||v.MergeDown){for(var K=w;K<=G;++K)for(var $=S;$<=W;++$)(K>w||$>S)&&(n.dense?(d[$]||(d[$]=[]),d[$][K]={t:"z"}):d[yn(K)+dn($)]={t:"z"});w=G+1}else++w;else v.MergeAcross?w=G+1:++w;else v=mg(i[0]),v.Index&&(w=+v.Index-1),w<k.s.c&&(k.s.c=w),w>k.e.c&&(k.e.c=w),"/>"===i[0].slice(-2)&&++w,L=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(S<k.s.r&&(k.s.r=S),S>k.e.r&&(k.e.r=S),"/>"===i[0].slice(-2)&&(y=yg(i[0]),y.Index&&(S=+y.Index-1)),w=0,++S):(y=yg(i[0]),y.Index&&(S=+y.Index-1),V={},("0"==y.AutoFitHeight||y.Height)&&(V.hpx=parseInt(y.Height,10),V.hpt=Pl(V.hpx),H[S]=V),"1"==y.Hidden&&(V.hidden=!0,H[S]=V));break;case"worksheet":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));h.push(p),k.s.r<=k.e.r&&k.s.c<=k.e.c&&(d["!ref"]=kn(k),n.sheetRows&&n.sheetRows<=k.e.r&&(d["!fullref"]=d["!ref"],k.e.r=n.sheetRows-1,d["!ref"]=kn(k))),T.length&&(d["!merges"]=T),j.length>0&&(d["!cols"]=j),H.length>0&&(d["!rows"]=H),f[p]=d}else k={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=w=0,u.push([i[3],!1]),l=yg(i[0]),p=He(l.Name),d=n.dense?[]:{},T=[],U=[],H=[],X={name:p,Hidden:0},q.Sheets.push(X);break;case"table":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==i[0].slice(-2))break;yg(i[0]),u.push([i[3],!1]),j=[],z=!1}break;case"style":"/"===i[1]?wg(E,O,n):O=yg(i[0]);break;case"numberformat":O.nf=He(yg(i[0]).Format||"General"),F[O.nf]&&(O.nf=F[O.nf]);for(var Z=0;392!=Z;++Z)if(N._table[Z]==O.nf)break;if(392==Z)for(Z=57;392!=Z;++Z)if(null==N._table[Z]){N.load(O.nf,Z);break}break;case"column":if("table"!==u[u.length-1][0])break;if(c=yg(i[0]),c.Hidden&&(c.hidden=!0,delete c.Hidden),c.Width&&(c.wpx=parseInt(c.Width,10)),!z&&c.wpx>10){z=!0,xl=ml;for(var J=0;J<j.length;++J)j[J]&&Cl(j[J])}z&&Cl(c),j[c.Index-1||j.length]=c;for(var Q=0;Q<+c.Span;++Q)j[j.length]=pe(c);break;case"namedrange":if("/"===i[1])break;q.Names||(q.Names=[]);var ee=Be(i[0]),te={Name:ee.Name,Ref:uc(ee.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(te.Sheet=q.Sheets.length-1),q.Names.push(te);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if("/>"===i[0].slice(-2))break;"/"===i[1]?C+=r.slice(A,i.index):A=i.index+i[0].length;break;case"interior":if(!n.cellStyles)break;O.Interior=yg(i[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===i[0].slice(-2))break;"/"===i[1]?wi(P,Y,r.slice(D,i.index)):D=i.index+i[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else u.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));kg(R),L.push(R)}else u.push([i[3],!1]),l=yg(i[0]),R={a:l.Author};break;case"autofilter":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var ne=yg(i[0]);d["!autofilter"]={ref:uc(ne.Range).replace(/\$/g,"")},u.push([i[3],!0])}break;case"name":break;case"datavalidation":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===i[1]){if((l=u.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break;case"null":break;default:if(0==u.length&&"document"==i[3])return Tv(r,n);if(0==u.length&&"uof"==i[3])return Tv(r,n);var re=!0;switch(u[u.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(i[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(i[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:re=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":break;case"height":break;case"width":break;default:re=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(r.slice(D,i.index)){case"SheetHidden":X.Hidden=1;break;case"SheetVeryHidden":X.Hidden=2;break}else D=i.index+i[0].length;break;case"header":d["!margins"]||bh(d["!margins"]={},"xlml"),d["!margins"].header=Be(i[0]).Margin;break;case"footer":d["!margins"]||bh(d["!margins"]={},"xlml"),d["!margins"].footer=Be(i[0]).Margin;break;case"pagemargins":var ie=Be(i[0]);d["!margins"]||bh(d["!margins"]={},"xlml"),ie.Top&&(d["!margins"].top=ie.Top),ie.Left&&(d["!margins"].left=ie.Left),ie.Right&&(d["!margins"].right=ie.Right),ie.Bottom&&(d["!margins"].bottom=ie.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:re=!1}break;case"pivottable":case"pivotcache":switch(i[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:re=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:re=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:re=!1}break;case"querytable":switch(i[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:re=!1}break;case"datavalidation":switch(i[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:re=!1}break;case"sorting":case"conditionalformatting":switch(i[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:re=!1}break;case"mapinfo":case"schema":case"data":switch(i[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:re=!1}break;case"smarttags":break;default:re=!1;break}if(re)break;if(i[3].match(/!\[CDATA/))break;if(!u[u.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+u.join("|");if("customdocumentproperties"===u[u.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?_g(M,Y,I,r.slice(D,i.index)):(I=i,D=i.index+i[0].length);break}if(n.WTF)throw"Unrecognized tag: "+i[3]+"|"+u.join("|")}var oe={};return n.bookSheets||n.bookProps||(oe.Sheets=f),oe.SheetNames=h,oe.Workbook=q,oe.SSF=N.get_table(),oe.Props=P,oe.Custprops=M,oe}function Ag(e,t){switch(qv(t=t||{}),t.type||"base64"){case"base64":return Cg(S.decode(e),t);case"binary":case"buffer":case"file":return Cg(e,t);case"array":return Cg(M(e),t)}}function Tg(e,t){var n=[];return e.Props&&n.push(Si(e.Props,t)),e.Custprops&&n.push(ki(e.Props,e.Custprops,t)),n.join("")}function Pg(){return""}function Mg(e,t){var n=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var r=[];r.push(dt("NumberFormat",null,{"ss:Format":We(N._table[e.numFmtId])}));var i={"ss:ID":"s"+(21+t)};n.push(dt("Style",r.join(""),i))})),dt("Styles",n.join(""))}function Dg(e){return dt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+fc(e.Ref,{r:0,c:0})})}function Ig(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r<t.length;++r){var i=t[r];null==i.Sheet&&(i.Name.match(/^_xlfn\./)||n.push(Dg(i)))}return dt("Names",n.join(""))}function Lg(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var i=r.Workbook.Names,o=[],a=0;a<i.length;++a){var s=i[a];s.Sheet==n&&(s.Name.match(/^_xlfn\./)||o.push(Dg(s)))}return o.join("")}function Rg(e,t,n,r){if(!e)return"";var i=[];if(e["!margins"]&&(i.push("<PageSetup>"),e["!margins"].header&&i.push(dt("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(dt("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(dt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("</PageSetup>")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)i.push(dt("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<n;++o)if(r.Workbook.Sheets[o]&&!r.Workbook.Sheets[o].Hidden)break;o==n&&i.push("<Selected/>")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),e["!protect"]&&(i.push(ft("ProtectContents","True")),e["!protect"].objects&&i.push(ft("ProtectObjects","True")),e["!protect"].scenarios&&i.push(ft("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||i.push(ft("EnableSelection","UnlockedCells")):i.push(ft("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&i.push("<"+t[1]+"/>")}))),0==i.length?"":dt("WorksheetOptions",i.join(""),{xmlns:yt.x})}function jg(e){return e.map((function(e){var t=Ze(e.t||""),n=dt("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return dt("Comment",n,{"ss:Author":e.a})})).join("")}function Ng(e,t,n,r,i,o,a){if(!e||void 0==e.v&&void 0==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+We(fc(e.f,a))),e.F&&e.F.slice(0,t.length)==t){var l=xn(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==a.r?"":"["+(l.r-a.r)+"]")+"C"+(l.c==a.c?"":"["+(l.c-a.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=We(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=We(e.l.Tooltip))),n["!merges"])for(var u=n["!merges"],c=0;c!=u.length;++c)u[c].s.c==a.c&&u[c].s.r==a.r&&(u[c].e.c>u[c].s.c&&(s["ss:MergeAcross"]=u[c].e.c-u[c].s.c),u[c].e.r>u[c].s.r&&(s["ss:MergeDown"]=u[c].e.r-u[c].s.r));var f="",h="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=Lr[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||N._table[14]);break;case"s":f="String",h=Ke(e.v||"");break}var d=_h(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=a.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=jg(e.c)),dt("Cell",g,s)}function Bg(e,t){var n='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Ml(t.hpt)),t.hpx&&(n+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(n+=' ss:Hidden="1"')),n+">"}function Fg(e,t,n,r){if(!e["!ref"])return"";var i=En(e["!ref"]),o=e["!merges"]||[],a=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Cl(e);var n=!!e.width,r=mh(t,e),i={"ss:Index":t+1};n&&(i["ss:Width"]=wl(r.width)),e.hidden&&(i["ss:Hidden"]="1"),s.push(dt("Column",null,i))}));for(var l=Array.isArray(e),u=i.s.r;u<=i.e.r;++u){for(var c=[Bg(u,(e["!rows"]||[])[u])],f=i.s.c;f<=i.e.c;++f){var h=!1;for(a=0;a!=o.length;++a)if(!(o[a].s.c>f)&&!(o[a].s.r>u)&&!(o[a].e.c<f)&&!(o[a].e.r<u)){o[a].s.c==f&&o[a].s.r==u||(h=!0);break}if(!h){var d={r:u,c:f},p=wn(d),g=l?(e[u]||[])[f]:e[p];c.push(Ng(g,p,e,t,n,r,d))}}c.push("</Row>"),c.length>2&&s.push(c.join(""))}return s.join("")}function zg(e,t,n){var r=[],i=n.SheetNames[e],o=n.Sheets[i],a=o?Lg(o,t,e,n):"";return a.length>0&&r.push("<Names>"+a+"</Names>"),a=o?Fg(o,t,e,n):"",a.length>0&&r.push("<Table>"+a+"</Table>"),r.push(Rg(o,t,e,n)),r.join("")}function Ug(e,t){t||(t={}),e.SSF||(e.SSF=N.get_table()),e.SSF&&(B(N),N.load_table(e.SSF),t.revssf=te(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],_h(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(Tg(e,t)),n.push(Pg(e,t)),n.push(""),n.push("");for(var r=0;r<e.SheetNames.length;++r)n.push(dt("Worksheet",zg(r,t,e),{"ss:Name":We(e.SheetNames[r])}));return n[2]=Mg(e,t),n[3]=Ig(e,t),Ie+dt("Workbook",n.join(""),{xmlns:yt.ss,"xmlns:o":yt.o,"xmlns:x":yt.x,"xmlns:ss":yt.ss,"xmlns:dt":yt.dt,"xmlns:html":yt.html})}function Hg(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=cr(n),n.length-n.l<=4)return t;var r=n.read_shift(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4?t:(r=n.read_shift(4),1907505652!==r?t:(t.UnicodeClipboardFormat=fr(n),r=n.read_shift(4),0==r||r>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr"))))))}function Vg(e,t,n,r){var i=n,o=[],a=t.slice(t.l,t.l+i);if(r&&r.enc&&r.enc.insitu&&a.length>0)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":case"EOF":break;case"BoundSheet8":break;default:r.enc.insitu(a)}o.push(a),t.l+=i;var s=ev[Ht(t,t.l)],l=0;while(null!=s&&"Continue"===s.n.slice(0,8))i=Ht(t,t.l+2),l=t.l+4,"ContinueFrt"==s.n?l+=4:"ContinueFrt"==s.n.slice(0,11)&&(l+=12),a=t.slice(l,t.l+4+i),o.push(a),t.l+=4+i,s=ev[Ht(t,t.l)];var u=L(o);Qt(u,0);var c=0;u.lens=[];for(var f=0;f<o.length;++f)u.lens.push(c),c+=o[f].length;if(u.length<n)throw"XLS Record "+(e&&e.n||"??")+" Truncated: "+u.length+" < "+n;return e.f(u,u.length,r)}function Gg(e,t,n){if("z"!==e.t&&e.XF){var r=0;try{r=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=N._table[r])}catch(My){if(t.WTF)throw My}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Lr[e.v]:0===r||"General"==r?"n"===e.t?(0|e.v)===e.v?e.w=N._general_int(e.v):e.w=N._general_num(e.v):e.w=N._general(e.v):e.w=N.format(r,e.v,{date1904:!!n,dateNF:t&&t.dateNF})}catch(My){if(t.WTF)throw My}if(t.cellDates&&r&&"n"==e.t&&N.is_date(N._table[r]||String(r))){var i=N.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function Wg(e,t,n){return{v:e,ixfe:t,t:n}}function qg(e,t){var n={opts:{}},r={};null!=x&&null==t.dense&&(t.dense=x);var i,o,a,s,l,u,c,f,h=t.dense?[]:{},p={},g={},v=null,y=[],m="",b={},_="",w={},S=[],k=[],E=[],O={Sheets:[],WBProps:{date1904:!1},Views:[{}]},C={},A=function(e){return e<8?Ir[e]:e<64&&E[e-8]||Ir[e]},T=function(e,t,n){var r,i=t.XF.data;i&&i.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=i.patternType,(r=pl(A(i.icvFore)))&&(t.s.fgColor={rgb:r}),(r=pl(A(i.icvBack)))&&(t.s.bgColor={rgb:r}))},P=function(e,t,n){if(!(U>1)&&!(n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&T(e,t,n),delete t.ixfe,delete t.XF,i=e,_=wn(e),g&&g.s&&g.e||(g={s:{r:0,c:0},e:{r:0,c:0}}),e.r<g.s.r&&(g.s.r=e.r),e.c<g.s.c&&(g.s.c=e.c),e.r+1>g.e.r&&(g.e.r=e.r+1),e.c+1>g.e.c&&(g.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;r<S.length;++r)if(!(S[r][0].s.c>e.c||S[r][0].s.r>e.r)&&!(S[r][0].e.c<e.c||S[r][0].e.r<e.r)){t.F=kn(S[r][0]),S[r][0].s.c==e.c&&S[r][0].s.r==e.r||delete t.f,t.f&&(t.f=""+qf(S[r][1],g,e,B,M));break}n.dense?(h[e.r]||(h[e.r]=[]),h[e.r][e.c]=t):h[_]=t}},M={enc:!1,sbcch:0,snames:[],sharedf:w,arrayf:S,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(M.password=t.password);var D=[],I=[],L=[],R=[],j=!1,B=[];B.SheetNames=M.snames,B.sharedf=M.sharedf,B.arrayf=M.arrayf,B.names=[],B.XTI=[];var F,z="",U=0,H=0,V=[],G=[];M.codepage=1200,d(1200);var W=!1;while(e.l<e.length-1){var q=e.l,X=e.read_shift(2);if(0===X&&"EOF"===z)break;var Y=e.l===e.length?0:e.read_shift(2),K=ev[X];if(K&&K.f){if(t.bookSheets&&"BoundSheet8"===z&&"BoundSheet8"!==K.n)break;if(z=K.n,2===K.r||12==K.r){var $=e.read_shift(2);if(Y-=2,!M.enc&&$!==X&&((255&$)<<8|$>>8)!==X)throw new Error("rt mismatch: "+$+"!="+X);12==K.r&&(e.l+=10,Y-=10)}var Z={};Z="EOF"===K.n?K.f(e,Y,M):Vg(K,e,Y,M);var Q=K.n;if(0==U&&"BOF"!=Q)continue;switch(Q){case"Date1904":n.opts.Date1904=O.WBProps.date1904=Z;break;case"WriteProtect":n.opts.WriteProtect=!0;break;case"FilePass":if(M.enc||(e.l=0),M.enc=Z,!t.password)throw new Error("File is password-protected");if(null==Z.valid)throw new Error("Encryption scheme unsupported");if(!Z.valid)throw new Error("Password is incorrect");break;case"WriteAccess":M.lastuser=Z;break;case"FileSharing":break;case"CodePage":var ee=Number(Z);switch(ee){case 21010:ee=1200;break;case 32768:ee=1e4;break;case 32769:ee=1252;break}d(M.codepage=ee),W=!0;break;case"RRTabId":M.rrtabid=Z;break;case"WinProtect":M.winlocked=Z;break;case"Template":break;case"BookBool":break;case"UsesELFs":break;case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":n.opts[Q]=Z;break;case"CalcRefMode":M.CalcRefMode=Z;break;case"Uncalced":break;case"ForceFullCalculation":n.opts.FullCalc=Z;break;case"WsBool":Z.fDialog&&(h["!type"]="dialog"),Z.fBelow||((h["!outline"]||(h["!outline"]={})).above=!0),Z.fRight||((h["!outline"]||(h["!outline"]={})).left=!0);break;case"XF":k.push(Z);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":B.push([Z]),B[B.length-1].XTI=[];break;case"ExternName":B[B.length-1].push(Z);break;case"Index":break;case"Lbl":F={Name:Z.Name,Ref:qf(Z.rgce,g,null,B,M)},Z.itab>0&&(F.Sheet=Z.itab-1),B.names.push(F),B[0]||(B[0]=[],B[0].XTI=[]),B[B.length-1].push(Z),"_xlnm._FilterDatabase"==Z.Name&&Z.itab>0&&Z.rgce&&Z.rgce[0]&&Z.rgce[0][0]&&"PtgArea3d"==Z.rgce[0][0][0]&&(G[Z.itab-1]={ref:kn(Z.rgce[0][0][1][2])});break;case"ExternCount":M.ExternCount=Z;break;case"ExternSheet":0==B.length&&(B[0]=[],B[0].XTI=[]),B[B.length-1].XTI=B[B.length-1].XTI.concat(Z),B.XTI=B.XTI.concat(Z);break;case"NameCmt":if(M.biff<8)break;null!=F&&(F.Comment=Z[1]);break;case"Protect":h["!protect"]=Z;break;case"Password":0!==Z&&M.WTF&&console.error("Password verifier: "+Z);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":p[Z.pos]=Z,M.snames.push(Z.name);break;case"EOF":if(--U)break;if(g.e){if(g.e.r>0&&g.e.c>0){if(g.e.r--,g.e.c--,h["!ref"]=kn(g),t.sheetRows&&t.sheetRows<=g.e.r){var te=g.e.r;g.e.r=t.sheetRows-1,h["!fullref"]=h["!ref"],h["!ref"]=kn(g),g.e.r=te}g.e.r++,g.e.c++}D.length>0&&(h["!merges"]=D),I.length>0&&(h["!objects"]=I),L.length>0&&(h["!cols"]=L),R.length>0&&(h["!rows"]=R),O.Sheets.push(C)}""===m?b=h:r[m]=h,h=t.dense?[]:{};break;case"BOF":if(8===M.biff&&(M.biff={9:2,521:3,1033:4}[X]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Z.BIFFVer]||8),M.biffguess=0==Z.BIFFVer,0==Z.BIFFVer&&4096==Z.dt&&(M.biff=5,W=!0,d(M.codepage=28591)),8==M.biff&&0==Z.BIFFVer&&16==Z.dt&&(M.biff=2),U++)break;if(h=t.dense?[]:{},M.biff<8&&!W&&(W=!0,d(M.codepage=t.codepage||1252)),M.biff<5||0==Z.BIFFVer&&4096==Z.dt){""===m&&(m="Sheet1"),g={s:{r:0,c:0},e:{r:0,c:0}};var ne={pos:e.l-Y,name:m};p[ne.pos]=ne,M.snames.push(m)}else m=(p[q]||{name:""}).name;32==Z.dt&&(h["!type"]="chart"),64==Z.dt&&(h["!type"]="macro"),D=[],I=[],M.arrayf=S=[],L=[],R=[],0,j=!1,C={Hidden:(p[q]||{hs:0}).hs,name:m};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==h["!type"]&&(t.dense?(h[Z.r]||[])[Z.c]:h[wn({c:Z.c,r:Z.r})])&&++Z.c,u={ixfe:Z.ixfe,XF:k[Z.ixfe]||{},v:Z.val,t:"n"},H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:Z.c,r:Z.r},u,t);break;case"BoolErr":u={ixfe:Z.ixfe,XF:k[Z.ixfe],v:Z.val,t:Z.t},H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:Z.c,r:Z.r},u,t);break;case"RK":u={ixfe:Z.ixfe,XF:k[Z.ixfe],v:Z.rknum,t:"n"},H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:Z.c,r:Z.r},u,t);break;case"MulRk":for(var re=Z.c;re<=Z.C;++re){var ie=Z.rkrec[re-Z.c][0];u={ixfe:ie,XF:k[ie],v:Z.rkrec[re-Z.c][1],t:"n"},H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:re,r:Z.r},u,t)}break;case"Formula":if("String"==Z.val){v=Z;break}if(u=Wg(Z.val,Z.cell.ixfe,Z.tt),u.XF=k[u.ixfe],t.cellFormula){var oe=Z.formula;if(oe&&oe[0]&&oe[0][0]&&"PtgExp"==oe[0][0][0]){var ae=oe[0][0][1][0],se=oe[0][0][1][1],le=wn({r:ae,c:se});w[le]?u.f=""+qf(Z.formula,g,Z.cell,B,M):u.F=((t.dense?(h[ae]||[])[se]:h[le])||{}).F}else u.f=""+qf(Z.formula,g,Z.cell,B,M)}H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P(Z.cell,u,t),v=Z;break;case"String":if(!v)throw new Error("String record expects Formula");v.val=Z,u=Wg(Z,v.cell.ixfe,"s"),u.XF=k[u.ixfe],t.cellFormula&&(u.f=""+qf(v.formula,g,v.cell,B,M)),H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P(v.cell,u,t),v=null;break;case"Array":S.push(Z);var ue=wn(Z[0].s);if(o=t.dense?(h[Z[0].s.r]||[])[Z[0].s.c]:h[ue],t.cellFormula&&o){if(!v)break;if(!ue||!o)break;o.f=""+qf(Z[1],g,Z[0],B,M),o.F=kn(Z[0])}break;case"ShrFmla":if(!t.cellFormula)break;if(_){if(!v)break;w[wn(v.cell)]=Z[0],o=t.dense?(h[v.cell.r]||[])[v.cell.c]:h[wn(v.cell)],(o||{}).f=""+qf(Z[0],g,i,B,M)}break;case"LabelSst":u=Wg(y[Z.isst].t,Z.ixfe,"s"),y[Z.isst].h&&(u.h=y[Z.isst].h),u.XF=k[u.ixfe],H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:Z.c,r:Z.r},u,t);break;case"Blank":t.sheetStubs&&(u={ixfe:Z.ixfe,XF:k[Z.ixfe],t:"z"},H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:Z.c,r:Z.r},u,t));break;case"MulBlank":if(t.sheetStubs)for(var ce=Z.c;ce<=Z.C;++ce){var fe=Z.ixfe[ce-Z.c];u={ixfe:fe,XF:k[fe],t:"z"},H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:ce,r:Z.r},u,t)}break;case"RString":case"Label":case"BIFF2STR":u=Wg(Z.val,Z.ixfe,"s"),u.XF=k[u.ixfe],H>0&&(u.z=V[u.ixfe>>8&63]),Gg(u,t,n.opts.Date1904),P({c:Z.c,r:Z.r},u,t);break;case"Dimensions":1===U&&(g=Z);break;case"SST":y=Z;break;case"Format":if(4==M.biff){V[H++]=Z[1];for(var he=0;he<H+163;++he)if(N._table[he]==Z[1])break;he>=163&&N.load(Z[1],H+163)}else N.load(Z[1],Z[0]);break;case"BIFF2FORMAT":V[H++]=Z;for(var de=0;de<H+163;++de)if(N._table[de]==Z)break;de>=163&&N.load(Z,H+163);break;case"MergeCells":D=D.concat(Z);break;case"Obj":I[Z.cmo[0]]=M.lastobj=Z;break;case"TxO":M.lastobj.TxO=Z;break;case"ImData":M.lastobj.ImData=Z;break;case"HLink":for(l=Z[0].s.r;l<=Z[0].e.r;++l)for(s=Z[0].s.c;s<=Z[0].e.c;++s)o=t.dense?(h[l]||[])[s]:h[wn({c:s,r:l})],o&&(o.l=Z[1]);break;case"HLinkTooltip":for(l=Z[0].s.r;l<=Z[0].e.r;++l)for(s=Z[0].s.c;s<=Z[0].e.c;++s)o=t.dense?(h[l]||[])[s]:h[wn({c:s,r:l})],o&&o.l&&(o.l.Tooltip=Z[1]);break;case"Note":if(M.biff<=5&&M.biff>=2)break;o=t.dense?(h[Z[0].r]||[])[Z[0].c]:h[wn(Z[0])];var pe=I[Z[2]];o||(t.dense?(h[Z[0].r]||(h[Z[0].r]=[]),o=h[Z[0].r][Z[0].c]={t:"z"}):o=h[wn(Z[0])]={t:"z"},g.e.r=Math.max(g.e.r,Z[0].r),g.s.r=Math.min(g.s.r,Z[0].r),g.e.c=Math.max(g.e.c,Z[0].c),g.s.c=Math.min(g.s.c,Z[0].c)),o.c||(o.c=[]),a={a:Z[1],t:pe.TxO.t},o.c.push(a);break;default:switch(K.n){case"ClrtClient":break;case"XFExt":ju(k[Z.ixfe],Z.ext);break;case"DefColWidth":Z;break;case"DefaultRowHeight":Z[1];break;case"ColInfo":if(!M.cellStyles)break;while(Z.e>=Z.s)L[Z.e--]={width:Z.w/256,level:Z.level||0,hidden:!!(1&Z.flags)},j||(j=!0,Ol(Z.w/256)),Cl(L[Z.e+1]);break;case"Row":var ge={};null!=Z.level&&(R[Z.r]=ge,ge.level=Z.level),Z.hidden&&(R[Z.r]=ge,ge.hidden=!0),Z.hpt&&(R[Z.r]=ge,ge.hpt=Z.hpt,ge.hpx=Ml(Z.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":h["!margins"]||bh(h["!margins"]={}),h["!margins"][Q.slice(0,-6).toLowerCase()]=Z;break;case"Selection":break;case"Setup":h["!margins"]||bh(h["!margins"]={}),h["!margins"].header=Z.header,h["!margins"].footer=Z.footer;break;case"Window2":Z.RTL&&(O.Views[0].RTL=!0);break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":c=Z;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":E=Z;break;case"Theme":f=Z;break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":break;case"SheetExt":break;case"SheetExtOptional":break;case"ObNoMacros":break;case"ObProj":break;case"CodeName":m?C.CodeName=Z||C.name:O.WBProps.CodeName=Z||"ThisWorkbook";break;case"GUIDTypeLib":break;case"WOpt":break;case"PhoneticInfo":break;case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":break;case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":break;case"Pane":break;default:switch(K.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":break;case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":break;case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":break;case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(K.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":break;case"BIFF2XFINDEX":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":break;case"RRSort":break;case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":break;case"DDEObjName":break;case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+K.n}}}}}else e.l+=Y}return n.SheetNames=J(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&b["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets["Sheet1"]=b)):n.Preamble=b,n.Sheets&&G.forEach((function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e})),n.Strings=y,n.SSF=N.get_table(),M.enc&&(n.Encryption=M.enc),f&&(n.Themes=f),n.Metadata={},void 0!==c&&(n.Metadata.Country=c),B.names.length>0&&(O.Names=B.names),n.Workbook=O,n}var Xg={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Yg(e,t,n){var r=X.find(e,"!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Wi(r,Er,Xg.DSI);for(var o in i)t[o]=i[o]}catch(My){if(n.WTF)throw My}var a=X.find(e,"!SummaryInformation");if(a&&a.size>0)try{var s=Wi(a,Or,Xg.SI);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(My){if(n.WTF)throw My}t.HeadingPairs&&t.TitlesOfParts&&(hi(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}function Kg(e,t){var n,r=[],i=[],o=[],a=0;if(e.Props)for(n=J(e.Props),a=0;a<n.length;++a)(Object.prototype.hasOwnProperty.call(Cr,n[a])?r:Object.prototype.hasOwnProperty.call(Ar,n[a])?i:o).push([n[a],e.Props[n[a]]]);if(e.Custprops)for(n=J(e.Custprops),a=0;a<n.length;++a)Object.prototype.hasOwnProperty.call(e.Props||{},n[a])||(Object.prototype.hasOwnProperty.call(Cr,n[a])?r:Object.prototype.hasOwnProperty.call(Ar,n[a])?i:o).push([n[a],e.Custprops[n[a]]]);var s=[];for(a=0;a<o.length;++a)Hi.indexOf(o[a][0])>-1||null!=o[a][1]&&s.push(o[a]);i.length&&X.utils.cfb_add(t,"/SummaryInformation",qi(i,Xg.SI,Ar,Or)),(r.length||s.length)&&X.utils.cfb_add(t,"/DocumentSummaryInformation",qi(r,Xg.DSI,Cr,Er,s.length?s:null,Xg.UDI))}function $g(e,t){var n,r,i,o;if(t||(t={}),qv(t),p(),t.codepage&&f(t.codepage),e.FullPaths){if(X.find(e,"/encryption"))throw new Error("File is password-protected");n=X.find(e,"!CompObj"),r=X.find(e,"/Workbook")||X.find(e,"/Book")}else{switch(t.type){case"base64":e=T(S.decode(e));break;case"binary":e=T(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}Qt(e,0),r={content:e}}if(n&&Hg(n),t.bookProps&&!t.bookSheets)i={};else{var a=k?"buffer":"array";if(r&&r.content)i=qg(r.content,t);else if((o=X.find(e,"PerfectOffice_MAIN"))&&o.content)i=ks.to_workbook(o.content,(t.type=a,t));else{if(!(o=X.find(e,"NativeContent_MAIN"))||!o.content)throw(o=X.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=ks.to_workbook(o.content,(t.type=a,t))}t.bookVBA&&e.FullPaths&&X.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=nc(e))}var s={};return e.FullPaths&&Yg(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}function Zg(e,t){var n=t||{},r=X.utils.cfb_new({root:"R"}),i="/Workbook";switch(n.bookType||"xls"){case"xls":n.bookType="biff8";case"xla":n.bookType||(n.bookType="xla");case"biff8":i="/Workbook",n.biff=8;break;case"biff5":i="/Book",n.biff=5;break;default:throw new Error("invalid type "+n.bookType+" for XLS CFB")}return X.utils.cfb_add(r,i,_v(e,n)),8==n.biff&&(e.Props||e.Custprops)&&Kg(e,r),8==n.biff&&e.vbaraw&&rc(r,X.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}var Jg={0:{n:"BrtRowHdr",f:rd},1:{n:"BrtCellBlank",f:fd},2:{n:"BrtCellRk",f:Md},3:{n:"BrtCellError",f:bd},4:{n:"BrtCellBool",f:gd},5:{n:"BrtCellReal",f:Cd},6:{n:"BrtCellSt",f:Rd},7:{n:"BrtCellIsst",f:Sd},8:{n:"BrtFmlaString",f:Hd},9:{n:"BrtFmlaNum",f:Ud},10:{n:"BrtFmlaBool",f:Fd},11:{n:"BrtFmlaError",f:zd},12:{n:"BrtShortBlank",f:dd},13:{n:"BrtShortRk",f:Id},14:{n:"BrtShortError",f:xd},15:{n:"BrtShortBool",f:yd},16:{n:"BrtShortReal",f:Td},17:{n:"BrtShortSt",f:Nd},18:{n:"BrtShortIsst",f:Ed},19:{n:"BrtSSTItem",f:jn},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:qp},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:Xl},44:{n:"BrtFmt",f:Wl},45:{n:"BrtFill",f:Zl},46:{n:"BrtBorder",f:nu},47:{n:"BrtXF",f:Ql},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:ts},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:Bu},64:{n:"BrtDVal",f:op},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:en,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:tp},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:ud},148:{n:"BrtWsDim",f:ad,p:16},151:{n:"BrtPane",f:Yd},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:Vp},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:Up},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:Bs},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:tr},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:Vd},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:Kn},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:Da},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:Kd},427:{n:"BrtShrFmla",f:$d},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:Qd},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:ld},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:qd},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:Kn},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:Zu},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:Ku},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:Bn},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:Sp},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:ap},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},Qg=Q(Jg,"n");Qg["BrtFRTArchID$"]=16;var ev={6:{n:"Formula",f:Qf},10:{n:"EOF",f:Xi},12:{n:"CalcCount",f:Ji},13:{n:"CalcMode",f:Ji},14:{n:"CalcPrecision",f:$i},15:{n:"CalcRefMode",f:$i},16:{n:"CalcDelta",f:rr},17:{n:"CalcIter",f:$i},18:{n:"Protect",f:$i},19:{n:"Password",f:Ji},20:{n:"Header",f:Ca},21:{n:"Footer",f:Ca},23:{n:"ExternSheet",f:Da},24:{n:"Lbl",f:Ma},25:{n:"WinProtect",f:$i},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:Fa},29:{n:"Selection"},34:{n:"Date1904",f:$i},35:{n:"ExternName",f:Ta},38:{n:"LeftMargin",f:rr},39:{n:"RightMargin",f:rr},40:{n:"TopMargin",f:rr},41:{n:"BottomMargin",f:rr},42:{n:"PrintRowCol",f:$i},43:{n:"PrintGrid",f:$i},47:{n:"FilePass",f:fl},49:{n:"Font",f:ia},51:{n:"PrintSize",f:Ji},60:{n:"Continue"},61:{n:"Window1",f:Qo},64:{n:"Backup",f:$i},65:{n:"Pane",f:ra},66:{n:"CodePage",f:Ji},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Ji},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:Uo},93:{n:"Obj",f:Ha},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:$i},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:$i},125:{n:"ColInfo",f:ts},128:{n:"Guts",f:xa},129:{n:"WsBool",f:Vo},130:{n:"GridSet",f:Ji},131:{n:"HCenter",f:$i},132:{n:"VCenter",f:$i},133:{n:"BoundSheet8",f:Go},134:{n:"WriteProtect"},140:{n:"Country",f:$a},141:{n:"HideObj",f:Ji},144:{n:"Sort"},146:{n:"Palette",f:Qa},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Ji},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:ss},161:{n:"Setup",f:rs},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:va},190:{n:"MulBlank",f:ya},193:{n:"Mms",f:Xi},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:$i},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Ji},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:$i},222:{n:"OleObjectSize"},224:{n:"XF",f:ba},225:{n:"InterfaceHdr",f:zo},226:{n:"InterfaceEnd",f:Xi},227:{n:"SXVS"},229:{n:"MergeCells",f:za},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:qo},253:{n:"LabelSst",f:aa},255:{n:"ExtSST",f:Yo},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:eo},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:$i},353:{n:"DSF",f:Xi},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:Aa},431:{n:"Prot4Rev",f:$i},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:Wa},439:{n:"RefreshAll",f:$i},440:{n:"HLink",f:qa},441:{n:"Lel"},442:{n:"CodeName",f:so},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Ji},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Xi},449:{n:"RecalcId",f:Zo,r:2},450:{n:"EntExU2",f:Xi},512:{n:"Dimensions",f:da},513:{n:"Blank",f:as},515:{n:"Number",f:Ea},516:{n:"Label",f:la},517:{n:"BoolErr",f:Sa},519:{n:"String",f:ls},520:{n:"Row",f:Ko},523:{n:"Index"},545:{n:"Array",f:ja},549:{n:"DefaultRowHeight",f:Jo},566:{n:"Table"},574:{n:"Window2",f:ta},638:{n:"RK",f:ga},659:{n:"Style"},1048:{n:"BigName"},1054:{n:"Format",f:ca},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:Ra},2048:{n:"HLinkTooltip",f:Ya},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:Bo},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Xi},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:es,r:12},2173:{n:"XFExt",f:Ru,r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:$i,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:La,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:Tu,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:Na,r:12},2203:{n:"CompressPictures",f:Xi},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:$o},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Ji},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:is},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:Ja},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:da},1:{n:"BIFF2BLANK"},2:{n:"BIFF2INT",f:ds},3:{n:"BIFF2NUM",f:fs},4:{n:"BIFF2STR",f:cs},5:{n:"BoolErr",f:Sa},7:{n:"String",f:gs},8:{n:"BIFF2ROW"},9:{n:"BOF",f:Bo},11:{n:"Index"},22:{n:"ExternCount",f:Ji},30:{n:"BIFF2FORMAT",f:ha},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:ja},36:{n:"COLWIDTH"},37:{n:"DefaultRowHeight",f:Jo},50:{n:"BIFF2FONTXTRA",f:vs},62:{n:"BIFF2WINDOW2"},52:{n:"DDEObjName"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Ji},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:us},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:ys},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},518:{n:"Formula",f:Qf},521:{n:"BOF",f:Bo},536:{n:"Lbl",f:Ma},547:{n:"ExternName",f:Ta},561:{n:"Font"},579:{n:"BIFF3XF"},1030:{n:"Formula",f:Qf},1033:{n:"BOF",f:Bo},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},tv=Q(ev,"n");function nv(e,t,n,r){var i="number"==typeof t?t:+t||+tv[t];if(!isNaN(i)){var o=r||(n||[]).length||0,a=e.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&zt(n)&&e.push(n)}}function rv(e,t,n,r){var i=r||(n||[]).length||0;if(i<=8224)return nv(e,t,n,i);var o=+t||+tv[t];if(!isNaN(o)){var a=n.parts||[],s=0,l=0,u=0;while(u+(a[s]||8224)<=8224)u+=a[s]||8224,s++;var c=e.next(4);c.write_shift(2,o),c.write_shift(2,u),e.push(n.slice(l,l+u)),l+=u;while(l<i){c=e.next(4),c.write_shift(2,60),u=0;while(u+(a[s]||8224)<=8224)u+=a[s]||8224,s++;c.write_shift(2,u),e.push(n.slice(l,l+u)),l+=u}}}function iv(e,t,n){return e||(e=tn(7)),e.write_shift(2,t),e.write_shift(2,n),e.write_shift(2,0),e.write_shift(1,0),e}function ov(e,t,n,r){var i=tn(9);return iv(i,e,t),no(n,r||"b",i),i}function av(e,t,n){var r=tn(8+2*n.length);return iv(r,e,t),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l<r.length?r.slice(0,r.l):r}function sv(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var i="d"==t.t?ie(he(t.v)):t.v;return void(i==(0|i)&&i>=0&&i<65536?nv(e,2,ps(n,r,i)):nv(e,3,hs(n,r,i)));case"b":case"e":return void nv(e,5,ov(n,r,t.v,t.t));case"s":case"str":return void nv(e,4,av(n,r,(t.v||"").slice(0,255)))}nv(e,1,iv(null,n,r))}function lv(e,t,n,r){var i,o=Array.isArray(t),a=En(t["!ref"]||"A1"),s="",l=[];if(a.e.c>255||a.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),i=kn(a)}for(var u=a.s.r;u<=a.e.r;++u){s=dn(u);for(var c=a.s.c;c<=a.e.c;++c){u===a.s.r&&(l[c]=yn(c)),i=l[c]+s;var f=o?(t[u]||[])[c]:t[i];f&&sv(e,f,u,c,r)}}}function uv(e,t){var n=t||{};null!=x&&null==n.dense&&(n.dense=x);for(var r=rn(),i=0,o=0;o<e.SheetNames.length;++o)e.SheetNames[o]==n.sheet&&(i=o);if(0==i&&n.sheet&&e.SheetNames[0]!=n.sheet)throw new Error("Sheet not found: "+n.sheet);return nv(r,4==n.biff?1033:3==n.biff?521:9,Fo(e,16,n)),lv(r,e.Sheets[e.SheetNames[i]],i,n,e),nv(r,10),r.end()}function cv(e,t,n){nv(e,"Font",oa({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function fv(e,t,n){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var i=r[0];i<=r[1];++i)null!=t[i]&&nv(e,"Format",fa(i,t[i],n))}))}function hv(e,t){var n=tn(19);n.write_shift(4,2151),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(2,3),n.write_shift(1,1),n.write_shift(4,0),nv(e,"FeatHdr",n),n=tn(39),n.write_shift(4,2152),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(2,3),n.write_shift(1,0),n.write_shift(4,0),n.write_shift(2,1),n.write_shift(4,4),n.write_shift(2,0),To(En(t["!ref"]||"A1"),n),n.write_shift(4,4),nv(e,"Feat",n)}function dv(e,t){for(var n=0;n<16;++n)nv(e,"XF",_a({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(n){nv(e,"XF",_a(n,0,t))}))}function pv(e,t){for(var n=0;n<t["!links"].length;++n){var r=t["!links"][n];nv(e,"HLink",Xa(r)),r[1].Tooltip&&nv(e,"HLinkTooltip",Ka(r))}delete t["!links"]}function gv(e,t,n){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&nv(e,"ColInfo",ns(mh(n,t),n))}))}}function vv(e,t,n,r,i){var o=16+_h(i.cellXfs,t,i);if(null!=t.v||t.bf)if(t.bf)nv(e,"Formula",eh(t,n,r,i,o));else switch(t.t){case"d":case"n":var a="d"==t.t?ie(he(t.v)):t.v;nv(e,"Number",Oa(n,r,a,o,i));break;case"b":case"e":nv(e,517,ka(n,r,t.v,o,i,t.t));break;case"s":case"str":if(i.bookSST){var s=yh(i.Strings,t.v,i.revStrings);nv(e,"LabelSst",sa(n,r,s,o,i))}else nv(e,"Label",ua(n,r,(t.v||"").slice(0,255),o,i));break;default:nv(e,"Blank",wo(n,r,o))}else nv(e,"Blank",wo(n,r,o))}function yv(e,t,n){var r,i=rn(),o=n.SheetNames[e],a=n.Sheets[o]||{},s=(n||{}).Workbook||{},l=(s.Sheets||[])[e]||{},u=Array.isArray(a),c=8==t.biff,f="",h=[],d=En(a["!ref"]||"A1"),p=c?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}nv(i,2057,Fo(n,16,t)),nv(i,"CalcMode",Qi(1)),nv(i,"CalcCount",Qi(100)),nv(i,"CalcRefMode",Zi(!0)),nv(i,"CalcIter",Zi(!1)),nv(i,"CalcDelta",ir(.001)),nv(i,"CalcSaveRecalc",Zi(!0)),nv(i,"PrintRowCol",Zi(!1)),nv(i,"PrintGrid",Zi(!1)),nv(i,"GridSet",Qi(1)),nv(i,"Guts",wa([0,0])),nv(i,"HCenter",Zi(!1)),nv(i,"VCenter",Zi(!1)),c&&gv(i,a["!cols"],a),nv(i,512,pa(d,t)),c&&(a["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=dn(g);for(var v=d.s.c;v<=d.e.c;++v){g===d.s.r&&(h[v]=yn(v)),r=h[v]+f;var y=u?(a[g]||[])[v]:a[r];y&&(vv(i,y,g,v,t),c&&y.l&&a["!links"].push([r,y.l]))}}var m=l.CodeName||l.name||o;return c&&nv(i,"Window2",na((s.Views||[])[0])),c&&(a["!merges"]||[]).length&&nv(i,"MergeCells",Ua(a["!merges"])),c&&pv(i,a),nv(i,"CodeName",uo(m,t)),c&&hv(i,a),nv(i,"EOF"),i.end()}function mv(e,t,n){var r=rn(),i=(e||{}).Workbook||{},o=i.Sheets||[],a=i.WBProps||{},s=8==n.biff,l=5==n.biff;if(nv(r,2057,Fo(e,5,n)),"xla"==n.bookType&&nv(r,"Addin"),nv(r,"InterfaceHdr",s?Qi(1200):null),nv(r,"Mms",Yi(2)),l&&nv(r,"ToolbarHdr"),l&&nv(r,"ToolbarEnd"),nv(r,"InterfaceEnd"),nv(r,"WriteAccess",Ho("SheetJS",n)),nv(r,"CodePage",Qi(s?1200:1252)),s&&nv(r,"DSF",Qi(0)),s&&nv(r,"Excel9File"),nv(r,"RRTabId",os(e.SheetNames.length)),s&&e.vbaraw&&nv(r,"ObProj"),s&&e.vbaraw){var u=a.CodeName||"ThisWorkbook";nv(r,"CodeName",uo(u,n))}nv(r,"BuiltInFnGroupCount",Qi(17)),nv(r,"WinProtect",Zi(!1)),nv(r,"Protect",Zi(!1)),nv(r,"Password",Qi(0)),s&&nv(r,"Prot4Rev",Zi(!1)),s&&nv(r,"Prot4RevPass",Qi(0)),nv(r,"Window1",ea(n)),nv(r,"Backup",Zi(!1)),nv(r,"HideObj",Qi(0)),nv(r,"Date1904",Zi("true"==Dp(e))),nv(r,"CalcPrecision",Zi(!0)),s&&nv(r,"RefreshAll",Zi(!1)),nv(r,"BookBool",Qi(0)),cv(r,e,n),fv(r,e.SSF,n),dv(r,n),s&&nv(r,"UsesELFs",Zi(!1));var c=r.end(),f=rn();s&&nv(f,"Country",Za()),s&&n.Strings&&rv(f,"SST",Xo(n.Strings,n)),nv(f,"EOF");var h=f.end(),d=rn(),p=0,g=0;for(g=0;g<e.SheetNames.length;++g)p+=(s?12:11)+(s?2:1)*e.SheetNames[g].length;var v=c.length+p+h.length;for(g=0;g<e.SheetNames.length;++g){var y=o[g]||{};nv(d,"BoundSheet8",Wo({pos:v,hs:y.Hidden||0,dt:0,name:e.SheetNames[g]},n)),v+=t[g].length}var m=d.end();if(p!=m.length)throw new Error("BS8 "+p+" != "+m.length);var b=[];return c.length&&b.push(c),m.length&&b.push(m),h.length&&b.push(h),wt([b])}function bv(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=N.get_table()),e&&e.SSF&&(B(N),N.load_table(e.SSF),n.revssf=te(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,Xv(n),n.cellXfs=[],_h(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var i=0;i<e.SheetNames.length;++i)r[r.length]=yv(i,n,e);return r.unshift(mv(e,r,n)),wt([r])}function _v(e,t){for(var n=0;n<=e.SheetNames.length;++n){var r=e.Sheets[e.SheetNames[n]];if(r&&r["!ref"]){var i=Sn(r["!ref"]);i.e.c>255&&console.error("Worksheet '"+e.SheetNames[n]+"' extends beyond column IV (255). Data may be lost.")}}var o=t||{};switch(o.biff||2){case 8:case 5:return bv(e,t);case 4:case 3:case 2:return uv(e,t)}throw new Error("invalid type "+o.bookType+" for BIFF")}var xv=function(){function e(e,t){var n=t||{};null!=x&&null==n.dense&&(n.dense=x);var r=n.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var i=e.match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var o=e.match(/<\/table/i),a=i.index,s=o&&o.index||e.length,l=_e(e.slice(a,s),/(:?<tr[^>]*>)/i,"<tr>"),u=-1,c=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(a=0;a<l.length;++a){var g=l[a].trim(),v=g.slice(0,3).toLowerCase();if("<tr"!=v){if("<td"==v||"<th"==v){var y=g.split(/<\/t[dh]>/i);for(s=0;s<y.length;++s){var m=y[s].trim();if(m.match(/<t[dh]/i)){var b=m,_=0;while("<"==b.charAt(0)&&(_=b.indexOf(">"))>-1)b=b.slice(_+1);for(var w=0;w<p.length;++w){var S=p[w];S.s.c==c&&S.s.r<u&&u<=S.e.r&&(c=S.e.c+1,w=-1)}var k=Be(m.slice(0,m.indexOf(">")));h=k.colspan?+k.colspan:1,((f=+k.rowspan)>1||h>1)&&p.push({s:{r:u,c:c},e:{r:u+(f||1)-1,c:c+h-1}});var E=k.t||k["data-t"]||"";if(b.length){if(b=ot(b),d.s.r>u&&(d.s.r=u),d.e.r<u&&(d.e.r=u),d.s.c>c&&(d.s.c=c),d.e.c<c&&(d.e.c=c),b.length){var O={t:"s",v:b};n.raw||!b.trim().length||"s"==E||("TRUE"===b?O={t:"b",v:!0}:"FALSE"===b?O={t:"b",v:!1}:isNaN(ve(b))?isNaN(ye(b).getDate())||(O={t:"d",v:he(b)},n.cellDates||(O={t:"n",v:ie(O.v)}),O.z=n.dateNF||N._table[14]):O={t:"n",v:ve(b)}),n.dense?(r[u]||(r[u]=[]),r[u][c]=O):r[wn({r:u,c:c})]=O,c+=h}}else c+=h}}}}else{if(++u,n.sheetRows&&n.sheetRows<=u){--u;break}c=0}}return r["!ref"]=kn(d),p.length&&(r["!merges"]=p),r}function t(t,n){var r=t.match(/<table.*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return An(e(r[0],n),n);var i=Py.book_new();return r.forEach((function(t,r){Py.book_append_sheet(i,e(t,n),"Sheet"+(r+1))})),i}function n(e,t,n,r){for(var i=e["!merges"]||[],o=[],a=t.s.c;a<=t.e.c;++a){for(var s=0,l=0,u=0;u<i.length;++u)if(!(i[u].s.r>n||i[u].s.c>a)&&!(i[u].e.r<n||i[u].e.c<a)){if(i[u].s.r<n||i[u].s.c<a){s=-1;break}s=i[u].e.r-i[u].s.r+1,l=i[u].e.c-i[u].s.c+1;break}if(!(s<0)){var c=wn({r:n,c:a}),f=r.dense?(e[n]||[])[a]:e[c],h=f&&null!=f.v&&(f.h||Ye(f.w||(Cn(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),l>1&&(d.colspan=l),r.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(r.id||"sjs")+"-"+c,o.push(dt("td",h,d))}}var p="<tr>";return p+o.join("")+"</tr>"}function r(e,t,n){var r=[];return r.join("")+"<table"+(n&&n.id?' id="'+n.id+'"':"")+">"}var i='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',o="</body></html>";function a(e,t){var a=t||{},s=null!=a.header?a.header:i,l=null!=a.footer?a.footer:o,u=[s],c=Sn(e["!ref"]);a.dense=Array.isArray(e),u.push(r(e,c,a));for(var f=c.s.r;f<=c.e.r;++f)u.push(n(e,c,f,a));return u.push("</table>"+l),u.join("")}return{to_workbook:t,to_sheet:e,_row:n,BEGIN:i,END:o,_preamble:r,from_sheet:a}}();function wv(e,t,n){var r=n||{};null!=x&&(r.dense=x);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?xn(r.origin):r.origin;i=a.r,o=a.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),u={s:{r:0,c:0},e:{r:i,c:o}};if(e["!ref"]){var c=Sn(e["!ref"]);u.s.r=Math.min(u.s.r,c.s.r),u.s.c=Math.min(u.s.c,c.s.c),u.e.r=Math.max(u.e.r,c.e.r),u.e.c=Math.max(u.e.c,c.e.c),-1==i&&(u.e.r=i=c.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,g=0,v=0,y=0,m=0,b=0;for(e["!cols"]||(e["!cols"]=[]);p<s.length&&g<l;++p){var _=s[p];if(Ev(_)){if(r.display)continue;d[g]={hidden:!0}}var w=_.children;for(v=y=0;v<w.length;++v){var S=w[v];if(!r.display||!Ev(S)){var k=S.hasAttribute("data-v")?S.getAttribute("data-v"):S.hasAttribute("v")?S.getAttribute("v"):ot(S.innerHTML),E=S.getAttribute("data-z")||S.getAttribute("z");for(h=0;h<f.length;++h){var O=f[h];O.s.c==y+o&&O.s.r<g+i&&g+i<=O.e.r&&(y=O.e.c+1-o,h=-1)}b=+S.getAttribute("colspan")||1,((m=+S.getAttribute("rowspan")||1)>1||b>1)&&f.push({s:{r:g+i,c:y+o},e:{r:g+i+(m||1)-1,c:y+o+(b||1)-1}});var C={t:"s",v:k},A=S.getAttribute("data-t")||S.getAttribute("t")||"";null!=k&&(0==k.length?C.t=A||"z":r.raw||0==k.trim().length||"s"==A||("TRUE"===k?C={t:"b",v:!0}:"FALSE"===k?C={t:"b",v:!1}:isNaN(ve(k))?isNaN(ye(k).getDate())||(C={t:"d",v:he(k)},r.cellDates||(C={t:"n",v:ie(C.v)}),C.z=r.dateNF||N._table[14]):C={t:"n",v:ve(k)})),void 0===C.z&&null!=E&&(C.z=E);var T="",P=S.getElementsByTagName("A");if(P&&P.length)for(var M=0;M<P.length;++M)if(P[M].hasAttribute("href")&&(T=P[M].getAttribute("href"),"#"!=T.charAt(0)))break;T&&"#"!=T.charAt(0)&&(C.l={Target:T}),r.dense?(e[g+i]||(e[g+i]=[]),e[g+i][y+o]=C):e[wn({c:y+o,r:g+i})]=C,u.e.c<y+o&&(u.e.c=y+o),y+=b}}++g}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),u.e.r=Math.max(u.e.r,g-1+i),e["!ref"]=kn(u),g>=l&&(e["!fullref"]=kn((u.e.r=s.length-p+g-1+i,u))),e}function Sv(e,t){var n=t||{},r=n.dense?[]:{};return wv(r,e,t)}function kv(e,t){return An(Sv(e,t),t)}function Ev(e){var t="",n=Ov(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}function Ov(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}var Cv=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n"),n=He(t.replace(/<[^>]*>/g,""));return[n]},t={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(n,r){var i=r||{};null!=x&&null==i.dense&&(i.dense=x);var o,a,s,l,u,c,f,h=Eg(n),d=[],p={name:""},g="",v=0,y={},m=[],b=i.dense?[]:{},_={value:""},w="",S=0,k=[],E=-1,O=-1,C={s:{r:1e6,c:1e7},e:{r:0,c:0}},A=0,T={},P=[],M={},D=0,I=0,L=[],R=1,j=1,N=[],B={Names:[]},F={},z=["",""],U=[],H={},V="",G=0,W=!1,q=!1,X=0;Og.lastIndex=0,h=h.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(u=Og.exec(h))switch(u[3]=u[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===u[1]?(C.e.c>=C.s.c&&C.e.r>=C.s.r?b["!ref"]=kn(C):b["!ref"]="A1:A1",i.sheetRows>0&&i.sheetRows<=C.e.r&&(b["!fullref"]=b["!ref"],C.e.r=i.sheetRows-1,b["!ref"]=kn(C)),P.length&&(b["!merges"]=P),L.length&&(b["!rows"]=L),s.name=s["名称"]||s.name,"undefined"!==typeof JSON&&JSON.stringify(s),m.push(s.name),y[s.name]=b,q=!1):"/"!==u[0].charAt(u[0].length-2)&&(s=Be(u[0],!1),E=O=-1,C.s.r=C.s.c=1e7,C.e.r=C.e.c=0,b=i.dense?[]:{},P=[],L=[],q=!0);break;case"table-row-group":"/"===u[1]?--A:++A;break;case"table-row":case"行":if("/"===u[1]){E+=R,R=1;break}if(l=Be(u[0],!1),l["行号"]?E=l["行号"]-1:-1==E&&(E=0),R=+l["number-rows-repeated"]||1,R<10)for(X=0;X<R;++X)A>0&&(L[E+X]={level:A});O=-1;break;case"covered-table-cell":"/"!==u[1]&&++O,i.sheetStubs&&(i.dense?(b[E]||(b[E]=[]),b[E][O]={t:"z"}):b[wn({r:E,c:O})]={t:"z"}),w="",k=[];break;case"table-cell":case"数据":if("/"===u[0].charAt(u[0].length-2))++O,_=Be(u[0],!1),j=parseInt(_["number-columns-repeated"]||"1",10),c={t:"z",v:null},_.formula&&0!=i.cellFormula&&(c.f=ch(He(_.formula))),"string"==(_["数据类型"]||_["value-type"])&&(c.t="s",c.v=He(_["string-value"]||""),i.dense?(b[E]||(b[E]=[]),b[E][O]=c):b[wn({r:E,c:O})]=c),O+=j-1;else if("/"!==u[1]){++O,w="",S=0,k=[],j=1;var Y=R?E+R-1:E;if(O>C.e.c&&(C.e.c=O),O<C.s.c&&(C.s.c=O),E<C.s.r&&(C.s.r=E),Y>C.e.r&&(C.e.r=Y),_=Be(u[0],!1),U=[],H={},c={t:_["数据类型"]||_["value-type"],v:null},i.cellFormula)if(_.formula&&(_.formula=He(_.formula)),_["number-matrix-columns-spanned"]&&_["number-matrix-rows-spanned"]&&(D=parseInt(_["number-matrix-rows-spanned"],10)||0,I=parseInt(_["number-matrix-columns-spanned"],10)||0,M={s:{r:E,c:O},e:{r:E+D-1,c:O+I-1}},c.F=kn(M),N.push([M,c.F])),_.formula)c.f=ch(_.formula);else for(X=0;X<N.length;++X)E>=N[X][0].s.r&&E<=N[X][0].e.r&&O>=N[X][0].s.c&&O<=N[X][0].e.c&&(c.F=N[X][1]);switch((_["number-columns-spanned"]||_["number-rows-spanned"])&&(D=parseInt(_["number-rows-spanned"],10)||0,I=parseInt(_["number-columns-spanned"],10)||0,M={s:{r:E,c:O},e:{r:E+D-1,c:O+I-1}},P.push(M)),_["number-columns-repeated"]&&(j=parseInt(_["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=Je(_["boolean-value"]);break;case"float":c.t="n",c.v=parseFloat(_.value);break;case"percentage":c.t="n",c.v=parseFloat(_.value);break;case"currency":c.t="n",c.v=parseFloat(_.value);break;case"date":c.t="d",c.v=he(_["date-value"]),i.cellDates||(c.t="n",c.v=ie(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=ue(_["time-value"])/86400,i.cellDates&&(c.t="d",c.v=le(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(_["数据数值"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=_["string-value"]&&(w=He(_["string-value"]),k=[])}}else{if(W=!1,"s"===c.t&&(c.v=w||"",k.length&&(c.R=k),W=0==S),F.Target&&(c.l=F),U.length>0&&(c.c=U,U=[]),w&&!1!==i.cellText&&(c.w=w),W&&(c.t="z",delete c.v),(!W||i.sheetStubs)&&!(i.sheetRows&&i.sheetRows<=E))for(var K=0;K<R;++K){if(j=parseInt(_["number-columns-repeated"]||"1",10),i.dense){b[E+K]||(b[E+K]=[]),b[E+K][O]=0==K?c:pe(c);while(--j>0)b[E+K][O+j]=pe(c)}else{b[wn({r:E+K,c:O})]=c;while(--j>0)b[wn({r:E+K,c:O+j})]=pe(c)}C.e.c<=O&&(C.e.c=O)}j=parseInt(_["number-columns-repeated"]||"1",10),O+=j-1,j=0,c={},w="",k=[]}F={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===u[1]){if((o=d.pop())[0]!==u[3])throw"Bad state: "+o}else"/"!==u[0].charAt(u[0].length-2)&&d.push([u[3],!0]);break;case"annotation":if("/"===u[1]){if((o=d.pop())[0]!==u[3])throw"Bad state: "+o;H.t=w,k.length&&(H.R=k),H.a=V,U.push(H)}else"/"!==u[0].charAt(u[0].length-2)&&d.push([u[3],!1]);V="",G=0,w="",S=0,k=[];break;case"creator":"/"===u[1]?V=h.slice(G,u.index):G=u.index+u[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===u[1]){if((o=d.pop())[0]!==u[3])throw"Bad state: "+o}else"/"!==u[0].charAt(u[0].length-2)&&d.push([u[3],!1]);w="",S=0,k=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===u[1]){if(T[p.name]=g,(o=d.pop())[0]!==u[3])throw"Bad state: "+o}else"/"!==u[0].charAt(u[0].length-2)&&(g="",p=Be(u[0],!1),d.push([u[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(d[d.length-1][0]){case"time-style":case"date-style":a=Be(u[0],!1),g+=t[u[3]]["long"===a.style?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(d[d.length-1][0]){case"time-style":case"date-style":a=Be(u[0],!1),g+=t[u[3]]["long"===a.style?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if("/>"===u[0].slice(-2))break;if("/"===u[1])switch(d[d.length-1][0]){case"number-style":case"date-style":case"time-style":g+=h.slice(v,u.index);break}else v=u.index+u[0].length;break;case"named-range":a=Be(u[0],!1),z=hh(a["cell-range-address"]);var $={Name:a.name,Ref:z[0]+"!"+z[1]};q&&($.Sheet=m.length),B.Names.push($);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(d[d.length-1][0])>-1)break;if("/"!==u[1]||_&&_["string-value"])f=Be(u[0],!1),S=u.index+u[0].length;else{var Z=e(h.slice(S,u.index),f);w=(w.length>0?w+"\n":"")+Z[0]}break;case"s":break;case"database-range":if("/"===u[1])break;try{z=hh(Be(u[0])["target-range-address"]),y[z[0]]["!autofilter"]={ref:z[1]}}catch(My){}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if("/"!==u[1]){if(F=Be(u[0],!1),!F.href)break;F.Target=He(F.href),delete F.href,"#"==F.Target.charAt(0)&&F.Target.indexOf(".")>-1?(z=hh(F.Target.slice(1)),F.Target="#"+z[0]+"!"+z[1]):F.Target.match(/^\.\.[\\\/]/)&&(F.Target=F.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(u[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(i.WTF)throw new Error(u)}}var J={Sheets:y,SheetNames:m,Workbook:B};return i.bookSheets&&delete J.Sheets,J}}();function Av(e,t){t=t||{},ke(e,"META-INF/manifest.xml")&&Jr(Oe(e,"META-INF/manifest.xml"),t);var n=Ce(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var r=Cv(Qe(n),t);return ke(e,"meta.xml")&&(r.Props=ai(Oe(e,"meta.xml"))),r}function Tv(e,t){return Cv(e,t)}var Pv=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+ht({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Ie+t}}(),Mv=function(){var e=function(e){return We(e).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",n=" <table:covered-table-cell/>\n",r=function(r,i,o){var a=[];a.push(' <table:table table:name="'+We(i.SheetNames[o])+'" table:style-name="ta1">\n');var s=0,l=0,u=Sn(r["!ref"]||"A1"),c=r["!merges"]||[],f=0,h=Array.isArray(r);if(r["!cols"])for(l=0;l<=u.e.c;++l)a.push(" <table:table-column"+(r["!cols"][l]?' table:style-name="co'+r["!cols"][l].ods+'"':"")+"></table:table-column>\n");var d="",p=r["!rows"]||[];for(s=0;s<u.s.r;++s)d=p[s]?' table:style-name="ro'+p[s].ods+'"':"",a.push(" <table:table-row"+d+"></table:table-row>\n");for(;s<=u.e.r;++s){for(d=p[s]?' table:style-name="ro'+p[s].ods+'"':"",a.push(" <table:table-row"+d+">\n"),l=0;l<u.s.c;++l)a.push(t);for(;l<=u.e.c;++l){var g=!1,v={},y="";for(f=0;f!=c.length;++f)if(!(c[f].s.c>l)&&!(c[f].s.r>s)&&!(c[f].e.c<l)&&!(c[f].e.r<s)){c[f].s.c==l&&c[f].s.r==s||(g=!0),v["table:number-columns-spanned"]=c[f].e.c-c[f].s.c+1,v["table:number-rows-spanned"]=c[f].e.r-c[f].s.r+1;break}if(g)a.push(n);else{var m=wn({r:s,c:l}),b=h?(r[s]||[])[l]:r[m];if(b&&b.f&&(v["table:formula"]=We(fh(b.f)),b.F&&b.F.slice(0,m.length)==m)){var _=Sn(b.F);v["table:number-matrix-columns-spanned"]=_.e.c-_.s.c+1,v["table:number-matrix-rows-spanned"]=_.e.r-_.s.r+1}if(b){switch(b.t){case"b":y=b.v?"TRUE":"FALSE",v["office:value-type"]="boolean",v["office:boolean-value"]=b.v?"true":"false";break;case"n":y=b.w||String(b.v||0),v["office:value-type"]="float",v["office:value"]=b.v||0;break;case"s":case"str":y=null==b.v?"":b.v,v["office:value-type"]="string";break;case"d":y=b.w||he(b.v).toISOString(),v["office:value-type"]="date",v["office:date-value"]=he(b.v).toISOString(),v["table:style-name"]="ce1";break;default:a.push(t);continue}var x=e(y);if(b.l&&b.l.Target){var w=b.l.Target;w="#"==w.charAt(0)?"#"+dh(w.slice(1)):w,"#"==w.charAt(0)||w.match(/^\w+:/)||(w="../"+w),x=dt("text:a",x,{"xlink:href":w.replace(/&/g,"&amp;")})}a.push(" "+dt("table:table-cell",dt("text:p",x,{}),v)+"\n")}else a.push(t)}}a.push(" </table:table-row>\n")}return a.push(" </table:table>\n"),a.join("")},i=function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var r=0;r<t["!cols"].length;++r)if(t["!cols"][r]){var i=t["!cols"][r];if(null==i.width&&null==i.wpx&&null==i.wch)continue;Cl(i),i.ods=n;var o=t["!cols"][r].wpx+"px";e.push(' <style:style style:name="co'+n+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+o+'"/>\n'),e.push(" </style:style>\n"),++n}}));var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var n=0;n<t["!rows"].length;++n)if(t["!rows"][n]){t["!rows"][n].ods=r;var i=t["!rows"][n].hpx+"px";e.push(' <style:style style:name="ro'+r+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+i+'"/>\n'),e.push(" </style:style>\n"),++r}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")};return function(e,t){var n=[Ie],o=ht({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),a=ht({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(n.push("<office:document"+o+a+">\n"),n.push(ri().replace(/office:document-meta/g,"office:meta"))):n.push("<office:document-content"+o+">\n"),i(n,e),n.push(" <office:body>\n"),n.push(" <office:spreadsheet>\n");for(var s=0;s!=e.SheetNames.length;++s)n.push(r(e.Sheets[e.SheetNames[s]],e,s,t));return n.push(" </office:spreadsheet>\n"),n.push(" </office:body>\n"),"fods"==t.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function Dv(e,t){if("fods"==t.bookType)return Mv(e,t);var n=Pe(),r="",i=[],o=[];return r="mimetype",Te(n,r,"application/vnd.oasis.opendocument.spreadsheet"),r="content.xml",Te(n,r,Mv(e,t)),i.push([r,"text/xml"]),o.push([r,"ContentFile"]),r="styles.xml",Te(n,r,Pv(e,t)),i.push([r,"text/xml"]),o.push([r,"StylesFile"]),r="meta.xml",Te(n,r,Ie+ri()),i.push([r,"text/xml"]),o.push([r,"MetadataFile"]),r="manifest.rdf",Te(n,r,ni(o)),i.push([r,"application/rdf+xml"]),r="META-INF/manifest.xml",Te(n,r,Qr(i)),n}function Iv(e,t){if(!t)return 0;var n=e.SheetNames.indexOf(t);if(-1==n)throw new Error("Sheet not found: "+t);return n}function Lv(e){return function(t,n){var r=Iv(t,n.sheet);return e.from_sheet(t.Sheets[t.SheetNames[r]],n,t)}}var Rv=Lv(xv),jv=Lv({from_sheet:Ey}),Nv=Lv("undefined"!==typeof bs?bs:{}),Bv=Lv("undefined"!==typeof _s?_s:{}),Fv=Lv("undefined"!==typeof ws?ws:{}),zv=Lv("undefined"!==typeof hl?hl:{}),Uv=Lv({from_sheet:Oy}),Hv=Lv("undefined"!==typeof ms?ms:{}),Vv=Lv("undefined"!==typeof xs?xs:{}),Gv=Lv("undefined"!==typeof ks?{from_sheet:ks.sheet_to_wk1}:{});function Wv(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}var qv=function(e){Wv([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)},Xv=Wv([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function Yv(e){return Gr.WS.indexOf(e)>-1?"sheet":Gr.CS&&e==Gr.CS?"chart":Gr.DS&&e==Gr.DS?"dialog":Gr.MS&&e==Gr.MS?"macro":e&&e.length?e:"sheet"}function Kv(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Yv(e["!id"][t.id].Type)]}))}catch(My){return null}return e&&0!==e.length?e:null}function $v(e,t,n,r,i,o,a,s,l,u,c,f){try{o[r]=qr(Ce(e,n,!0),t);var h,d=Oe(e,t);switch(s){case"sheet":h=eg(d,t,i,l,o[r],u,c,f);break;case"chart":if(h=tg(d,t,i,l,o[r],u,c,f),!h||!h["!drawel"])break;var p=De(h["!drawel"].Target,t),g=Wr(p),v=Hu(Ce(e,p,!0),qr(Ce(e,g,!0),p)),y=De(v,p),m=Wr(y);h=xp(Ce(e,y,!0),y,l,qr(Ce(e,m,!0),y),u,h);break;case"macro":h=ng(d,t,i,l,o[r],u,c,f);break;case"dialog":h=rg(d,t,i,l,o[r],u,c,f);break;default:throw new Error("Unrecognized sheet type "+s)}a[r]=h;var b=[];o&&o[r]&&J(o[r]).forEach((function(n){if(o[r][n].Type==Gr.CMNT){var i=De(o[r][n].Target,t);if(b=sg(Oe(e,i,!0),i,l),!b||!b.length)return;Wu(h,b)}}))}catch(My){if(l.WTF)throw My}}function Zv(e){return"/"==e.charAt(0)?e.slice(1):e}function Jv(e,t){if(B(N),t=t||{},qv(t),ke(e,"META-INF/manifest.xml"))return Av(e,t);if(ke(e,"objectdata.xml"))return Av(e,t);if(ke(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");if(!ke(e,"[Content_Types].xml")){if(ke(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(ke(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,r,i=Ae(e),o=zr(Ce(e,"[Content_Types].xml")),a=!1;if(0===o.workbooks.length&&(r="xl/workbook.xml",Oe(e,r,!0)&&o.workbooks.push(r)),0===o.workbooks.length){if(r="xl/workbook.bin",!Oe(e,r,!0))throw new Error("Could not find workbook");o.workbooks.push(r),a=!0}"bin"==o.workbooks[0].slice(-3)&&(a=!0);var s={},l={};if(!t.bookSheets&&!t.bookProps){if(ph=[],o.sst)try{ph=ag(Oe(e,Zv(o.sst)),o.sst,t)}catch(My){if(t.WTF)throw My}t.cellStyles&&o.themes.length&&(s=og(Ce(e,o.themes[0].replace(/^\//,""),!0)||"",o.themes[0],t)),o.style&&(l=ig(Oe(e,Zv(o.style)),o.style,s,t))}o.links.map((function(n){try{var r=qr(Ce(e,Wr(Zv(n))),n);return ug(Oe(e,Zv(n)),r,n,t)}catch(My){}}));var u=Qp(Oe(e,Zv(o.workbooks[0])),o.workbooks[0],t),c={},f="";o.coreprops.length&&(f=Oe(e,Zv(o.coreprops[0]),!0),f&&(c=ai(f)),0!==o.extprops.length&&(f=Oe(e,Zv(o.extprops[0]),!0),f&&di(f,c,t)));var h={};t.bookSheets&&!t.bookProps||0!==o.custprops.length&&(f=Ce(e,Zv(o.custprops[0]),!0),f&&(h=yi(f,t)));var d={};if((t.bookSheets||t.bookProps)&&(u.Sheets?n=u.Sheets.map((function(e){return e.name})):c.Worksheets&&c.SheetNames.length>0&&(n=c.SheetNames),t.bookProps&&(d.Props=c,d.Custprops=h),t.bookSheets&&"undefined"!==typeof n&&(d.SheetNames=n),t.bookSheets?d.SheetNames:t.bookProps))return d;n={};var p={};t.bookDeps&&o.calcchain&&(p=lg(Oe(e,Zv(o.calcchain)),o.calcchain,t));var g,v,y=0,m={},b=u.Sheets;c.Worksheets=b.length,c.SheetNames=[];for(var _=0;_!=b.length;++_)c.SheetNames[_]=b[_].name;var x=a?"bin":"xml",w=o.workbooks[0].lastIndexOf("/"),S=(o.workbooks[0].slice(0,w+1)+"_rels/"+o.workbooks[0].slice(w+1)+".rels").replace(/^\//,"");ke(e,S)||(S="xl/_rels/workbook."+x+".rels");var k=qr(Ce(e,S,!0),S);k&&(k=Kv(k,u.Sheets));var E=Oe(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(y=0;y!=c.Worksheets;++y){var O="sheet";if(k&&k[y]?(g="xl/"+k[y][1].replace(/[\/]?xl\//,""),ke(e,g)||(g=k[y][1]),ke(e,g)||(g=S.replace(/_rels\/.*$/,"")+k[y][1]),O=k[y][2]):(g="xl/worksheets/sheet"+(y+1-E)+"."+x,g=g.replace(/sheet0\./,"sheet.")),v=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(y!=t.sheets)continue e;break;case"string":if(c.SheetNames[y].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var C=!1,A=0;A!=t.sheets.length;++A)"number"==typeof t.sheets[A]&&t.sheets[A]==y&&(C=1),"string"==typeof t.sheets[A]&&t.sheets[A].toLowerCase()==c.SheetNames[y].toLowerCase()&&(C=1);if(!C)continue e}}$v(e,g,v,c.SheetNames[y],y,m,n,O,t,u,s,l)}return d={Directory:o,Workbook:u,Props:c,Custprops:h,Deps:p,Sheets:n,SheetNames:c.SheetNames,Strings:ph,Styles:l,Themes:s,SSF:N.get_table()},t&&t.bookFiles&&(e.files?(d.keys=i,d.files=e.files):(d.keys=[],d.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),d.keys.push(t),d.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(o.vba.length>0?d.vbaraw=Oe(e,Zv(o.vba[0]),!0):o.defaults&&o.defaults.bin===tc&&(d.vbaraw=Oe(e,"xl/vbaProject.bin",!0))),d}function Qv(e,t){var n=t||{},r="Workbook",i=X.find(e,r);try{if(r="/!DataSpaces/Version",i=X.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(Ws(i.content),r="/!DataSpaces/DataSpaceMap",i=X.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=Xs(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",i=X.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var a=Ys(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",i=X.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);$s(i.content)}catch(My){}if(r="/EncryptionInfo",i=X.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=Qs(i.content);if(r="/EncryptedPackage",i=X.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],i.content,n.password||"",n);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],i.content,n.password||"",n);throw new Error("File is password-protected")}function ey(e,t){if(Vu=1024,"ods"==t.bookType)return Dv(e,t);e&&!e.SSF&&(e.SSF=N.get_table()),e&&e.SSF&&(B(N),N.load_table(e.SSF),t.revssf=te(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,vh?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xlsb"==t.bookType?"bin":"xml",r=ic.indexOf(t.bookType)>-1,i=Fr();Xv(t=t||{});var o=Pe(),a="",s=0;if(t.cellXfs=[],_h(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),a="docProps/core.xml",Te(o,a,ui(e.Props,t)),i.coreprops.push(a),$r(t.rels,2,a,Gr.CORE_PROPS),a="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],u=0;u<e.SheetNames.length;++u)2!=(e.Workbook.Sheets[u]||{}).Hidden&&l.push(e.SheetNames[u]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,Te(o,a,gi(e.Props,t)),i.extprops.push(a),$r(t.rels,3,a,Gr.EXT_PROPS),e.Custprops!==e.Props&&J(e.Custprops||{}).length>0&&(a="docProps/custom.xml",Te(o,a,bi(e.Custprops,t)),i.custprops.push(a),$r(t.rels,4,a,Gr.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var c={"!id":{}},f=e.Sheets[e.SheetNames[s-1]],h=(f||{})["!type"]||"sheet";switch(h){case"chart":default:a="xl/worksheets/sheet"+s+"."+n,Te(o,a,fg(s-1,a,t,e,c)),i.sheets.push(a),$r(t.wbrels,-1,"worksheets/sheet"+s+"."+n,Gr.WS[0])}if(f){var d=f["!comments"],p=!1;if(d&&d.length>0){var g="xl/comments"+s+"."+n;Te(o,g,pg(d,g,t)),i.comments.push(g),$r(c,-1,"../comments"+s+"."+n,Gr.CMNT),p=!0}f["!legacy"]&&p&&Te(o,"xl/drawings/vmlDrawing"+s+".vml",Gu(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}c["!id"].rId1&&Te(o,Wr(a),Yr(c))}return null!=t.Strings&&t.Strings.length>0&&(a="xl/sharedStrings."+n,Te(o,a,dg(t.Strings,a,t)),i.strs.push(a),$r(t.wbrels,-1,"sharedStrings."+n,Gr.SST)),a="xl/workbook."+n,Te(o,a,cg(e,a,t)),i.workbooks.push(a),$r(t.rels,1,a,Gr.WB),a="xl/theme/theme1.xml",Te(o,a,Au(e.Themes,t)),i.themes.push(a),$r(t.wbrels,-1,"theme/theme1.xml",Gr.THEME),a="xl/styles."+n,Te(o,a,hg(e,a,t)),i.styles.push(a),$r(t.wbrels,-1,"styles."+n,Gr.STY),e.vbaraw&&r&&(a="xl/vbaProject.bin",Te(o,a,e.vbaraw),i.vba.push(a),$r(t.wbrels,-1,"vbaProject.bin",Gr.VBA)),Te(o,"[Content_Types].xml",Vr(i,t)),Te(o,"_rels/.rels",Yr(t.rels)),Te(o,"xl/_rels/workbook."+n+".rels",Yr(t.wbrels)),delete t.revssf,delete t.ssf,o}function ty(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=S.decode(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function ny(e,t){return X.find(e,"EncryptedPackage")?Qv(e,t):$g(e,t)}function ry(e,t){var n,r=e,o=t||{};return o.type||(o.type=k&&i.isBuffer(e)?"buffer":"base64"),n=Me(r,o),Jv(n,o)}function iy(e,t){var n=0;e:while(n<e.length)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return Ag(e.slice(n),t);default:break e}return ws.to_workbook(e,t)}function oy(e,t){var n="",r=ty(e,t);switch(t.type){case"base64":n=S.decode(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=de(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]&&(n=Qe(n)),iy(n,t)}function ay(e,t){var n=e;return"base64"==t.type&&(n=S.decode(n)),n=cptable.utils.decode(1200,n.slice(2),"str"),t.type="binary",iy(n,t)}function sy(e){return e.match(/[^\x00-\x7F]/)?et(e):e}function ly(e,t,n,r){return r?(n.type="string",ws.to_workbook(e,n)):ws.to_workbook(t,n)}function uy(e,t){p();var n=t||{};if("undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer)return uy(new Uint8Array(e),(n=pe(n),n.type="array",n));var r=e,o=[0,0,0,0],a=!1;if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),gh={},n.dateNF&&(gh.dateNF=n.dateNF),n.type||(n.type=k&&i.isBuffer(e)?"buffer":"base64"),"file"==n.type&&(n.type=k?"buffer":"binary",r=Z(e)),"string"==n.type&&(a=!0,n.type="binary",n.codepage=65001,r=sy(e)),"array"==n.type&&"undefined"!==typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!==typeof ArrayBuffer){var s=new ArrayBuffer(3),l=new Uint8Array(s);if(l.foo="bar",!l.foo)return n=pe(n),n.type="array",uy(I(r),n)}switch((o=ty(r,n))[0]){case 208:if(207===o[1]&&17===o[2]&&224===o[3]&&161===o[4]&&177===o[5]&&26===o[6]&&225===o[7])return ny(X.read(r,n),n);break;case 9:if(o[1]<=8)return $g(r,n);break;case 60:return Ag(r,n);case 73:if(73===o[1]&&42===o[2]&&0===o[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===o[1])return Ss(r,n);break;case 84:if(65===o[1]&&66===o[2]&&76===o[3])return _s.to_workbook(r,n);break;case 80:return 75===o[1]&&o[2]<9&&o[3]<9?ry(r,n):ly(e,r,n,a);case 239:return 60===o[3]?Ag(r,n):ly(e,r,n,a);case 255:if(254===o[1])return ay(r,n);if(0===o[1]&&2===o[2]&&0===o[3])return ks.to_workbook(r,n);break;case 0:if(0===o[1]){if(o[2]>=2&&0===o[3])return ks.to_workbook(r,n);if(0===o[2]&&(8===o[3]||9===o[3]))return ks.to_workbook(r,n)}break;case 3:case 131:case 139:case 140:return ms.to_workbook(r,n);case 123:if(92===o[1]&&114===o[2]&&116===o[3])return hl.to_workbook(r,n);break;case 10:case 13:case 32:return oy(r,n);case 137:if(80===o[1]&&78===o[2]&&71===o[3])throw new Error("PNG Image File is not a spreadsheet");break}return ms.versions.indexOf(o[0])>-1&&o[2]<=12&&o[3]<=31?ms.to_workbook(r,n):ly(e,r,n,a)}function cy(e,t){var n=t||{};return n.type="file",uy(e,n)}function fy(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return K(t.file,X.write(e,{type:k?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return X.write(e,t)}function hy(e,t){var n=pe(t||{}),r=ey(e,n),i={};if(n.compression&&(i.compression="DEFLATE"),n.password)i.type=k?"nodebuffer":"string";else switch(n.type){case"base64":i.type="base64";break;case"binary":i.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":i.type=k?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+n.type)}var o=r.FullPaths?X.write(r,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[i.type]||i.type}):r.generate(i);return n.password&&"undefined"!==typeof encrypt_agile?fy(encrypt_agile(o,n.password),n):"file"===n.type?K(n.file,o):"string"==n.type?Qe(o):o}function dy(e,t){var n=t||{},r=Zg(e,n);return fy(r,n)}function py(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return S.encode(et(r));case"binary":return et(r);case"string":return e;case"file":return K(t.file,r,"utf8");case"buffer":return k?E(r,"utf8"):py(r,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function gy(e,t){switch(t.type){case"base64":return S.encode(e);case"binary":return e;case"string":return e;case"file":return K(t.file,e,"binary");case"buffer":return k?E(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function vy(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r<e.length;++r)n+=String.fromCharCode(e[r]);return"base64"==t.type?S.encode(n):"string"==t.type?Qe(n):n;case"file":return K(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function yy(e,t){p(),jp(e);var n=pe(t||{});if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),"array"==n.type){n.type="binary";var r=yy(e,n);return n.type="array",P(r)}switch(n.bookType||"xlsb"){case"xml":case"xlml":return py(Ug(e,n),n);case"slk":case"sylk":return py(Nv(e,n),n);case"htm":case"html":return py(Rv(e,n),n);case"txt":return gy(Uv(e,n),n);case"csv":return py(jv(e,n),n,"\ufeff");case"dif":return py(Bv(e,n),n);case"dbf":return vy(Hv(e,n),n);case"prn":return py(Fv(e,n),n);case"rtf":return py(zv(e,n),n);case"eth":return py(Vv(e,n),n);case"fods":return py(Dv(e,n),n);case"wk1":return vy(Gv(e,n),n);case"wk3":return vy(ks.book_to_wk3(e,n),n);case"biff2":n.biff||(n.biff=2);case"biff3":n.biff||(n.biff=3);case"biff4":return n.biff||(n.biff=4),vy(_v(e,n),n);case"biff5":n.biff||(n.biff=5);case"biff8":case"xla":case"xls":return n.biff||(n.biff=8),dy(e,n);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return hy(e,n);default:throw new Error("Unrecognized bookType |"+n.bookType+"|")}}function my(e){if(!e.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},n=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();n.match(/^\.[a-z]+$/)&&(e.bookType=n.slice(1)),e.bookType=t[e.bookType]||e.bookType}}function by(e,t,n){var r=n||{};return r.type="file",r.file=t,my(r),yy(e,r)}function _y(e,t,n,r){var i=n||{};i.type="file",i.file=e,my(i),i.type="buffer";var o=r;return o instanceof Function||(o=n),q.writeFile(e,yy(t,i),o)}function xy(e,t,n,r,i,o,a,s){var l=dn(n),u=s.defval,c=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:n,enumerable:!1})}catch(My){h.__rowNum__=n}else h.__rowNum__=n;if(!a||e[n])for(var d=t.s.c;d<=t.e.c;++d){var p=a?e[n][d]:e[r[d]+l];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==g)if("e"==p.t&&null===g)h[o[d]]=null;else if(void 0!==u)h[o[d]]=u;else{if(!c||null!==g)continue;h[o[d]]=null}else h[o[d]]=c||s.rawNumbers&&"n"==p.t?g:Cn(p,g,s);null!=g&&(f=!1)}}else{if(void 0===u)continue;null!=o[d]&&(h[o[d]]=u)}}return{row:h,isempty:f}}function wy(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,o=[],a=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},c=null!=u.range?u.range:e["!ref"];switch(1===u.header?r=1:"A"===u.header?r=2:Array.isArray(u.header)?r=3:null==u.header&&(r=0),typeof c){case"string":l=En(c);break;case"number":l=En(e["!ref"]),l.s.r=c;break;default:l=c}r>0&&(i=0);var f=dn(l.s.r),h=[],d=[],p=0,g=0,v=Array.isArray(e),y=l.s.r,m=0,b=0;for(v&&!e[y]&&(e[y]=[]),m=l.s.c;m<=l.e.c;++m)switch(h[m]=yn(m),n=v?e[y][m]:e[h[m]+f],r){case 1:o[m]=m-l.s.c;break;case 2:o[m]=h[m];break;case 3:o[m]=u.header[m-l.s.c];break;default:for(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=Cn(n,null,u),g=0,b=0;b<o.length;++b)o[b]==s&&(s=a+"_"+ ++g);o[m]=s}for(y=l.s.r+i;y<=l.e.r;++y){var _=xy(e,l,y,h,r,o,v,u);(!1===_.isempty||(1===r?!1!==u.blankrows:u.blankrows))&&(d[p++]=_.row)}return d.length=p,d}var Sy=/"/g;function ky(e,t,n,r,i,o,a,s){for(var l=!0,u=[],c="",f=dn(n),h=t.s.c;h<=t.e.c;++h)if(r[h]){var d=s.dense?(e[n]||[])[h]:e[r[h]+f];if(null==d)c="";else if(null!=d.v){l=!1,c=""+(s.rawNumbers&&"n"==d.t?d.v:Cn(d,null,s));for(var p=0,g=0;p!==c.length;++p)if((g=c.charCodeAt(p))===i||g===o||34===g||s.forceQuotes){c='"'+c.replace(Sy,'""')+'"';break}"ID"==c&&(c='"ID"')}else null==d.f||d.F?c="":(l=!1,c="="+d.f,c.indexOf(",")>=0&&(c='"'+c.replace(Sy,'""')+'"'));u.push(c)}return!1===s.blankrows&&l?null:u.join(a)}function Ey(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=En(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),u=new RegExp(("|"==o?"\\|":o)+"+$"),c="",f=[];r.dense=Array.isArray(e);for(var h=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=yn(p));for(var g=i.s.r;g<=i.e.r;++g)(d[g]||{}).hidden||(c=ky(e,i,g,f,a,l,o,r),null!=c&&(r.strip&&(c=c.replace(u,"")),n.push(c+s)));return delete r.dense,n.join("")}function Oy(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=Ey(e,t);if("undefined"==typeof cptable||"string"==t.type)return n;var r=cptable.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function Cy(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=En(e["!ref"]),a="",s=[],l=[],u=Array.isArray(e);for(i=o.s.c;i<=o.e.c;++i)s[i]=yn(i);for(var c=o.s.r;c<=o.e.r;++c)for(a=dn(c),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,t=u?(e[c]||[])[i]:e[n],r="",void 0!==t){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function Ay(e,t,n){var r,i=n||{},o=+!i.skipHeader,a=e||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var u="string"==typeof i.origin?xn(i.origin):i.origin;s=u.r,l=u.c}var c={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(a["!ref"]){var f=En(a["!ref"]);c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),-1==s&&(s=f.e.r+1,c.e.r=s+t.length-1+o)}else-1==s&&(s=0,c.e.r=t.length-1+o);var h=i.header||[],d=0;t.forEach((function(e,t){J(e).forEach((function(n){-1==(d=h.indexOf(n))&&(h[d=h.length]=n);var u=e[n],c="z",f="",p=wn({c:l+d,r:s+t+o});r=Py.sheet_get_cell(a,p),!u||"object"!==typeof u||u instanceof Date?("number"==typeof u?c="n":"boolean"==typeof u?c="b":"string"==typeof u?c="s":u instanceof Date?(c="d",i.cellDates||(c="n",u=ie(u)),f=i.dateNF||N._table[14]):null===u&&i.nullError&&(c="e",u=0),r?(r.t=c,r.v=u,delete r.w,delete r.R,f&&(r.z=f)):a[p]=r={t:c,v:u},f&&(r.z=f)):a[p]=u}))})),c.e.c=Math.max(c.e.c,l+h.length-1);var p=dn(s);if(o)for(d=0;d<h.length;++d)a[yn(d+l)+p]={t:"s",v:h[d]};return a["!ref"]=kn(c),a}function Ty(e,t){return Ay(null,e,t)}var Py={encode_col:yn,encode_row:dn,encode_cell:wn,encode_range:kn,decode_col:vn,decode_row:hn,split_cell:_n,decode_cell:xn,decode_range:Sn,format_cell:Cn,get_formulae:Cy,make_csv:Ey,make_json:wy,make_formulae:Cy,sheet_add_aoa:Tn,sheet_add_json:Ay,sheet_add_dom:wv,aoa_to_sheet:Pn,json_to_sheet:Ty,table_to_sheet:Sv,table_to_book:kv,sheet_to_csv:Ey,sheet_to_txt:Oy,sheet_to_json:wy,sheet_to_html:xv.from_sheet,sheet_to_formulae:Cy,sheet_to_row_object_array:wy};(function(e){function t(t){t.forEach((function(t){e.consts[t[0]]=t[1]}))}function n(e,t,n){return null!=e[t]?e[t]:e[t]=n}function r(e,t,n){if("string"==typeof t){if(Array.isArray(e)){var i=xn(t);return e[i.r]||(e[i.r]=[]),e[i.r][i.c]||(e[i.r][i.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return r(e,wn("number"!=typeof t?t:{r:t,c:n||0}))}function i(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}e.consts=e.consts||{},e.sheet_get_cell=r,e.book_new=function(){return{SheetNames:[],Sheets:{}}},e.book_append_sheet=function(e,t,n){if(!n)for(var r=1;r<=65535;++r,n=void 0)if(-1==e.SheetNames.indexOf(n="Sheet"+r))break;if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(Lp(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");e.SheetNames.push(n),e.Sheets[n]=t},e.book_set_sheet_visibility=function(e,t,r){n(e,"Workbook",{}),n(e.Workbook,"Sheets",[]);var o=i(e,t);switch(n(e.Workbook.Sheets,o,{}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[o].Hidden=r},t([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e},e.cell_set_internal_link=function(t,n,r){return e.cell_set_hyperlink(t,"#"+n,r)},e.cell_add_comment=function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},e.sheet_set_array_formula=function(e,t,n){for(var i="string"!=typeof t?t:En(t),o="string"==typeof t?t:kn(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=r(e,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=n)}return e}})(Py),k&&function(){var e=n(4);if(e){var r=e.Readable;if(r){var i=function(e,t){var n=r(),i=null==t?{}:t;if(null==e||null==e["!ref"])return n.push(null),n;var o=En(e["!ref"]),a=void 0!==i.FS?i.FS:",",s=a.charCodeAt(0),l=void 0!==i.RS?i.RS:"\n",u=l.charCodeAt(0),c=new RegExp(("|"==a?"\\|":a)+"+$"),f="",h=[];i.dense=Array.isArray(e);for(var d=i.skipHidden&&e["!cols"]||[],p=i.skipHidden&&e["!rows"]||[],g=o.s.c;g<=o.e.c;++g)(d[g]||{}).hidden||(h[g]=yn(g));var v=o.s.r,y=!1;return n._read=function(){if(!y)return y=!0,n.push("\ufeff");while(v<=o.e.r)if(++v,!(p[v-1]||{}).hidden&&(f=ky(e,o,v-1,h,s,u,a,i),null!=f)){i.strip&&(f=f.replace(c,"")),n.push(f+l);break}return v>o.e.r?n.push(null):void 0},n},o=function(e,t){var n=r(),i=t||{},o=null!=i.header?i.header:xv.BEGIN,a=null!=i.footer?i.footer:xv.END;n.push(o);var s=Sn(e["!ref"]);i.dense=Array.isArray(e),n.push(xv._preamble(e,s,i));var l=s.s.r,u=!1;return n._read=function(){if(l>s.e.r)return u||(u=!0,n.push("</table>"+a)),n.push(null);while(l<=s.e.r){n.push(xv._row(e,s,l,i)),++l;break}},n},a=function(e,t){var n=r({objectMode:!0});if(null==e||null==e["!ref"])return n.push(null),n;var i={t:"n",v:0},o=0,a=1,s=[],l=0,u="",c={s:{r:0,c:0},e:{r:0,c:0}},f=t||{},h=null!=f.range?f.range:e["!ref"];switch(1===f.header?o=1:"A"===f.header?o=2:Array.isArray(f.header)&&(o=3),typeof h){case"string":c=En(h);break;case"number":c=En(e["!ref"]),c.s.r=h;break;default:c=h}o>0&&(a=0);var d=dn(c.s.r),p=[],g=0,v=Array.isArray(e),y=c.s.r,m=0,b=0;for(v&&!e[y]&&(e[y]=[]),m=c.s.c;m<=c.e.c;++m)switch(p[m]=yn(m),i=v?e[y][m]:e[p[m]+d],o){case 1:s[m]=m-c.s.c;break;case 2:s[m]=p[m];break;case 3:s[m]=f.header[m-c.s.c];break;default:for(null==i&&(i={w:"__EMPTY",t:"s"}),u=l=Cn(i,null,f),g=0,b=0;b<s.length;++b)s[b]==u&&(u=l+"_"+ ++g);s[m]=u}return y=c.s.r+a,n._read=function(){if(y>c.e.r)return n.push(null);while(y<=c.e.r){var t=xy(e,c,y,p,o,s,v,f);if(++y,!1===t.isempty||(1===o?!1!==f.blankrows:f.blankrows)){n.push(t.row);break}}},n};t.stream={to_json:a,to_html:o,to_csv:i}}}}(),"undefined"!==typeof $g&&(t.parse_xlscfb=$g),t.parse_zip=Jv,t.read=uy,t.readFile=cy,t.readFileSync=cy,t.write=yy,t.writeFile=by,t.writeFileSync=by,t.writeFileAsync=_y,t.utils=Py,t.SSF=N,"undefined"!==typeof X&&(t.CFB=X)}if(s(t),"undefined"!==typeof window&&!window.XLSX)try{window.XLSX=a}catch(l){}}).call(this,n("c8ba"),n("1c35").Buffer,n("4362"))},1310:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"13d5":function(e,t,n){"use strict";var r=n("23e7"),i=n("d58f").left,o=n("a640"),a=n("1212"),s=n("9adc"),l=!s&&a>79&&a<83,u=l||!o("reduce");r({target:"Array",proto:!0,forced:u},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},"15a4":function(e,t,n){(function(n,r){var i,o,a,s;(function(n){if("undefined"==typeof DO_NOT_EXPORT_JSZIP)e.exports=n();else if("undefined"==typeof DO_NOT_EXPORT_JSZIP)JSZipSync=n(),o=[],i=n,a="function"===typeof i?i.apply(t,o):i,void 0===a||(e.exports=a);else{var s;"undefined"!=typeof globalThis?s=globalThis:"undefined"!=typeof window?s=window:"undefined"!=typeof r?s=r:"undefined"!=typeof $&&$.global?s=$.global:"undefined"!=typeof self&&(s=self),s.JSZipSync=n()}})((function(){return function e(t,n,r){function i(a,l){if(!n[a]){if(!t[a]){var u="function"==typeof s&&s;if(!l&&u)return s(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof s&&s,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){var n,i,o,a,s,l,u,c="",f=0;while(f<e.length)n=e.charCodeAt(f++),i=e.charCodeAt(f++),o=e.charCodeAt(f++),a=n>>2,s=(3&n)<<4|i>>4,l=(15&i)<<2|o>>6,u=63&o,isNaN(i)?l=u=64:isNaN(o)&&(u=64),c=c+r.charAt(a)+r.charAt(s)+r.charAt(l)+r.charAt(u);return c},n.decode=function(e,t){var n,i,o,a,s,l,u,c="",f=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(f<e.length)a=r.indexOf(e.charAt(f++)),s=r.indexOf(e.charAt(f++)),l=r.indexOf(e.charAt(f++)),u=r.indexOf(e.charAt(f++)),n=a<<2|s>>4,i=(15&s)<<4|l>>2,o=(3&l)<<6|u,c+=String.fromCharCode(n),64!=l&&(c+=String.fromCharCode(i)),64!=u&&(c+=String.fromCharCode(o));return c}},{}],2:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],3:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if("undefined"===typeof e||!e.length)return 0;var n="string"!==r.getTypeOf(e);"undefined"==typeof t&&(t=0);var o=0,a=0,s=0;t^=-1;for(var l=0,u=e.length;l<u;l++)s=n?e[l]:e.charCodeAt(l),a=255&(t^s),o=i[a],t=t>>>8^o;return-1^t}},{"./utils":21}],5:[function(e,t,n){"use strict";var r=e("./utils");function i(e){this.data=null,this.length=0,this.index=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=i},{"./utils":21}],6:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.comment=null},{}],7:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":21}],8:[function(e,t,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array,i=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e){return i.deflateRaw(e)},n.uncompress=function(e){return i.inflateRaw(e)}},{pako:24}],9:[function(e,t,n){"use strict";var r=e("./base64");function i(e,t){if(!(this instanceof i))return new i(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new i;for(var t in this)"function"!==typeof this[t]&&(e[t]=this[t]);return e}}i.prototype=e("./object"),i.prototype.load=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.utils=e("./deprecatedPublicUtils"),i.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},i.compressions=e("./compressions"),t.exports=i},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,t,n){"use strict";var r=e("./base64"),i=e("./zipEntries");t.exports=function(e,t){var n,o,a,s;for(t=t||{},t.base64&&(e=r.decode(e)),o=new i(e,t),n=o.files,a=0;a<n.length;a++)s=n[a],this.file(s.fileName,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileComment.length?s.fileComment:null,createFolders:t.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(e,t,r){(function(e){"use strict";var n=function(){};if("undefined"!==typeof e){var r=!e.from;if(!r)try{e.from("foo","utf8")}catch(i){r=!0}n=r?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e),e.alloc||(e.alloc=function(t){return new e(t)})}t.exports=function(t,r){return"number"==typeof t?e.alloc(t):n(t,r)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,"undefined"!==typeof n?n:void 0)},{}],12:[function(e,t,n){"use strict";var r=e("./uint8ArrayReader");function i(e){this.data=e,this.length=this.data.length,this.index=0}i.prototype=new r,i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./uint8ArrayReader":18}],13:[function(e,t,n){"use strict";var r=e("./support"),i=e("./utils"),o=e("./crc32"),a=e("./signature"),s=e("./defaults"),l=e("./base64"),u=e("./compressions"),c=e("./compressedObject"),f=e("./nodeBuffer"),h=e("./utf8"),d=e("./stringWriter"),p=e("./uint8ArrayWriter"),g=function(e){if(e._data instanceof c&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===i.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},v=function(e){var t=g(e),n=i.getTypeOf(t);return"string"===n?!e.options.binary&&r.nodebuffer?f(t,"utf-8"):e.asBinary():t},y=function(e){var t=g(this);return null===t||"undefined"===typeof t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?C.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",C.utf8encode(t))),t)},m=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};m.prototype={asText:function(){return y.call(this,!0)},asBinary:function(){return y.call(this,!1)},asNodeBuffer:function(){var e=v(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=v(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var b=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},_=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&"undefined"===typeof n[t]&&(n[t]=arguments[e][t]);return n},x=function(e){return e=e||{},!0!==e.base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),e=_(e,s),e.date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e},w=function(e,t,n){var r,o=i.getTypeOf(t);if(n=x(n),n.createFolders&&(r=S(e))&&k.call(this,r,!0),n.dir||null===t||"undefined"===typeof t)n.base64=!1,n.binary=!1,t=null;else if("string"===o)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=i.string2binary(t));else{if(n.base64=!1,n.binary=!0,!o&&!(t instanceof c))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===o&&(t=i.transformTo("uint8array",t))}var a=new m(e,t,n);return this.files[e]=a,a},S=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},k=function(e,t){return"/"!=e.slice(-1)&&(e+="/"),t="undefined"!==typeof t&&t,this.files[e]||w.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},E=function(e,t){var n,r=new c;return e._data instanceof c?(r.uncompressedSize=e._data.uncompressedSize,r.crc32=e._data.crc32,0===r.uncompressedSize||e.dir?(t=u["STORE"],r.compressedContent="",r.crc32=0):e._data.compressionMethod===t.magic?r.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n)))):(n=v(e),n&&0!==n.length&&!e.dir||(t=u["STORE"],n=""),r.uncompressedSize=n.length,r.crc32=o(n),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n))),r.compressedSize=r.compressedContent.length,r.compressionMethod=t.magic,r},O=function(e,t,n,r){n.compressedContent;var s,l,u,c,f=i.transformTo("string",h.utf8encode(t.name)),d=t.comment||"",p=i.transformTo("string",h.utf8encode(d)),g=f.length!==t.name.length,v=p.length!==d.length,y=t.options,m="",_="",x="";u=t._initialMetadata.dir!==t.dir?t.dir:y.dir,c=t._initialMetadata.date!==t.date?t.date:y.date,s=c.getHours(),s<<=6,s|=c.getMinutes(),s<<=5,s|=c.getSeconds()/2,l=c.getFullYear()-1980,l<<=4,l|=c.getMonth()+1,l<<=5,l|=c.getDate(),g&&(_=b(1,1)+b(o(f),4)+f,m+="up"+b(_.length,2)+_),v&&(x=b(1,1)+b(this.crc32(p),4)+p,m+="uc"+b(x.length,2)+x);var w="";w+="\n\0",w+=g||v?"\0\b":"\0\0",w+=n.compressionMethod,w+=b(s,2),w+=b(l,2),w+=b(n.crc32,4),w+=b(n.compressedSize,4),w+=b(n.uncompressedSize,4),w+=b(f.length,2),w+=b(m.length,2);var S=a.LOCAL_FILE_HEADER+w+f+m,k=a.CENTRAL_FILE_HEADER+"\0"+w+b(p.length,2)+"\0\0\0\0"+(!0===u?"\0\0\0":"\0\0\0\0")+b(r,4)+f+m+p;return{fileRecord:S,dirRecord:k,compressedObject:n}},C={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,i,o=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],i=new m(r.name,r._data,_(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,i)&&o.push(i));return o},file:function(e,t,n){if(1===arguments.length){if(i.isRegExp(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}return this.filter((function(t,n){return!n.dir&&t===e}))[0]||null}return e=this.root+e,w.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=k.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=_(e||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),i.checkSupport(e.type);var t,n,r=[],o=0,s=0,c=i.transformTo("string",this.utf8encode(e.comment||this.comment||""));for(var f in this.files)if(this.files.hasOwnProperty(f)){var h=this.files[f],g=h.options.compression||e.compression.toUpperCase(),v=u[g];if(!v)throw new Error(g+" is not a valid compression method !");var y=E.call(this,h,v),m=O.call(this,f,h,y,o);o+=m.fileRecord.length+y.compressedSize,s+=m.dirRecord.length,r.push(m)}var x="";x=a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+b(r.length,2)+b(r.length,2)+b(s,4)+b(o,4)+b(c.length,2)+c;var w=e.type.toLowerCase();for(t="uint8array"===w||"arraybuffer"===w||"blob"===w||"nodebuffer"===w?new p(o+s+x.length):new d(o+s+x.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(x);var S=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),S);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",S));case"base64":return e.base64?l.encode(S):S;default:return S}},crc32:function(e,t){return o(e,t)},utf8encode:function(e){return i.transformTo("string",h.utf8encode(e))},utf8decode:function(e){return h.utf8decode(e)}};t.exports=C},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],15:[function(e,t,n){"use strict";var r=e("./dataReader"),i=e("./utils");function o(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0}o.prototype=new r,o.prototype.byteAt=function(e){return this.data.charCodeAt(e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)},o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=o},{"./dataReader":5,"./utils":21}],16:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":21}],17:[function(e,t,r){(function(e){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array,r.nodebuffer="undefined"!==typeof e,r.uint8array="undefined"!==typeof Uint8Array,"undefined"===typeof ArrayBuffer)r.blob=!1;else{var t=new ArrayBuffer(0);try{r.blob=0===new Blob([t],{type:"application/zip"}).size}catch(o){try{var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,i=new n;i.append(t),r.blob=0===i.getBlob("application/zip").size}catch(o){r.blob=!1}}}}).call(this,"undefined"!==typeof n?n:void 0)},{}],18:[function(e,t,n){"use strict";var r=e("./dataReader");function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0)}i.prototype=new r,i.prototype.byteAt=function(e){return this.data[e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o;return-1},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./dataReader":5}],19:[function(e,t,n){"use strict";var r=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":21}],20:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodeBuffer"),a=new Array(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;a[254]=a[254]=1;var l=function(e){var t,n,r,o,a,s=e.length,l=0;for(o=0;o<s;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<s&&(r=e.charCodeAt(o+1),56320===(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),o++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),a=0,o=0;a<l;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<s&&(r=e.charCodeAt(o+1),56320===(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),o++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},u=function(e,t){var n;t=t||e.length,t>e.length&&(t=e.length),n=t-1;while(n>=0&&128===(192&e[n]))n--;return n<0||0===n?t:n+a[e[n]]>t?n:t},c=function(e){var t,n,i,o,s=e.length,l=new Array(2*s);for(n=0,t=0;t<s;)if(i=e[t++],i<128)l[n++]=i;else if(o=a[i],o>4)l[n++]=65533,t+=o-1;else{i&=2===o?31:3===o?15:7;while(o>1&&t<s)i=i<<6|63&e[t++],o--;o>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return i.nodebuffer?o(e,"utf-8"):l(e)},n.utf8decode=function(e){if(i.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");e=r.transformTo(i.uint8array?"uint8array":"array",e);var t=[],n=0,o=e.length,a=65536;while(n<o){var s=u(e,Math.min(n+a,o));i.uint8array?t.push(c(e.subarray(n,s))):t.push(c(e.slice(n,s))),n=s}return t.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(e,t,n){"use strict";var r=e("./support"),i=e("./compressions"),o=e("./nodeBuffer");function a(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function l(e){var t=65536,r=[],i=e.length,a=n.getTypeOf(e),s=0,l=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(0));break}}catch(f){l=!1}if(!l){for(var u="",c=0;c<e.length;c++)u+=String.fromCharCode(e[c]);return u}while(s<i&&t>1)try{"array"===a||"nodebuffer"===a?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,i)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,i)))),s+=t}catch(f){t=Math.floor(t/2)}return r.join("")}function u(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e){n.checkSupport("blob");try{return new Blob([e],{type:"application/zip"})}catch(i){try{var t=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,r=new t;return r.append(e),r.getBlob("application/zip")}catch(i){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=l;var c={};c["string"]={string:a,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return c["string"]["uint8array"](e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,o(e.length))}},c["array"]={string:l,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(e)}},c["arraybuffer"]={string:function(e){return l(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(new Uint8Array(e))}},c["uint8array"]={string:l,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o(e)}},c["nodebuffer"]={string:l,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return c["nodebuffer"]["uint8array"](e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:a},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t),i=c[r][e](t);return i},n.getTypeOf=function(e){return"string"===typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.test(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){var t=r[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./nodeBufferReader"),o=e("./uint8ArrayReader"),a=e("./utils"),s=e("./signature"),l=e("./zipEntry"),u=e("./support"),c=e("./object");function f(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}f.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+a.pretty(t)+", expected "+a.pretty(e)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=c.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var e,t,n,r=this.zip64EndOfCentralSize-44,i=0;while(i<r)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8()},readCentralDir:function(){var e;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===s.CENTRAL_FILE_HEADER)e=new l({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(-1===e)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(e),this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),-1===e)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(e){var t=a.getTypeOf(e);"string"!==t||u.uint8array?this.reader="nodebuffer"===t?new i(e):new o(a.transformTo("uint8array",e)):this.reader=new r(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=f},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./utils"),o=e("./compressedObject"),a=e("./object");function s(e,t){this.options=e,this.loadOptions=t}s.prototype={isEncrypted:function(){return 1===(1&this.bitFlag)},useUTF8:function(){return 2048===(2048&this.bitFlag)},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,r,o){return function(){var e=i.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==o)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readString(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(t=i.findCompression(this.compressionMethod),null===t)throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=i.transformTo("string",this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readString(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readString(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index;this.extraFields=this.extraFields||{};while(e.index<i+this.extraFieldsLength)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){if(this.useUTF8())this.fileName=a.utf8decode(this.fileName),this.fileComment=a.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();null!==e&&(this.fileName=e);var t=this.findExtraFieldUnicodeComment();null!==t&&(this.fileComment=t)}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new r(e.value);return 1!==t.readInt(1)||a.crc32(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new r(e.value);return 1!==t.readInt(1)||a.crc32(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null}},t.exports=s},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(e,t,n){"use strict";var r=e("./lib/utils/common").assign,i=e("./lib/deflate"),o=e("./lib/inflate"),a=e("./lib/zlib/constants"),s={};r(s,i,o,a),t.exports=s},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(e,t,n){"use strict";var r=e("./zlib/deflate.js"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=0,u=4,c=0,f=1,h=-1,d=0,p=8,g=function(e){this.options=i.assign({level:h,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c)throw new Error(a[n]);t.header&&r.deflateSetHeader(this.strm,t.header)};function v(e,t){var n=new g(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}function y(e,t){return t=t||{},t.raw=!0,v(e,t)}function m(e,t){return t=t||{},t.gzip=!0,v(e,t)}g.prototype.push=function(e,t){var n,a,s=this.strm,h=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?u:l,s.input="string"===typeof e?o.string2buf(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(h),s.next_out=0,s.avail_out=h),n=r.deflate(s,a),n!==f&&n!==c)return this.onEnd(n),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&a===u)&&("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&n!==f);return a!==u||(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c)},g.prototype.onData=function(e){this.chunks.push(e)},g.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=g,n.deflate=v,n.deflateRaw=y,n.gzip=m},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,t,n){"use strict";var r=e("./zlib/inflate.js"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=function(e){this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new u,r.inflateGetHeader(this.strm,this.header)};function f(e,t){var n=new c(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}function h(e,t){return t=t||{},t.raw=!0,f(e,t)}c.prototype.push=function(e,t){var n,s,l,u,c,f=this.strm,h=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,f.input="string"===typeof e?o.binstring2buf(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(h),f.next_out=0,f.avail_out=h),n=r.inflate(f,a.Z_NO_FLUSH),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0===f.avail_out||n===a.Z_STREAM_END||0===f.avail_in&&s===a.Z_FINISH)&&("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),u=f.next_out-l,c=o.buf2string(f.output,l),f.next_out=u,f.avail_out=h-u,u&&i.arraySet(f.output,f.output,l,u,0),this.onData(c)):this.onData(i.shrinkBuf(f.output,f.next_out)))}while(f.avail_in>0&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s!==a.Z_FINISH||(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=c,n.inflate=f,n.inflateRaw=h,n.ungzip=f},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,t,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;n.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var n=t.shift();if(n){if("object"!==typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],28:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(u){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<s&&(i=e.charCodeAt(o+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),o++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),a=0,o=0;a<l;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<s&&(i=e.charCodeAt(o+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),o++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,s=t||e.length,u=new Array(2*s);for(r=0,n=0;n<s;)if(i=e[n++],i<128)u[r++]=i;else if(o=a[i],o>4)u[r++]=65533,n+=o-1;else{i&=2===o?31:3===o?15:7;while(o>1&&n<s)i=i<<6|63&e[n++],o--;o>1?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return l(u,r)},n.utf8border=function(e,t){var n;t=t||e.length,t>e.length&&(t=e.length),n=t-1;while(n>=0&&128===(192&e[n]))n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},{"./common":27}],29:[function(e,t,n){"use strict";function r(e,t,n,r){var i=65535&e|0,o=e>>>16&65535|0,a=0;while(0!==n){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}t.exports=r},{}],30:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,t,n){"use strict";function r(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}var i=r();function o(e,t,n,r){var o=i,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}t.exports=o},{}],32:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./trees"),o=e("./adler32"),a=e("./crc32"),s=e("./messages"),l=0,u=1,c=3,f=4,h=5,d=0,p=1,g=-2,v=-3,y=-5,m=-1,b=1,_=2,x=3,w=4,S=0,k=2,E=8,O=9,C=15,A=8,T=29,P=256,M=P+1+T,D=30,I=19,L=2*M+1,R=15,j=3,N=258,B=N+j+1,F=32,z=42,U=69,H=73,V=91,G=103,W=113,q=666,X=1,Y=2,K=3,$=4,Z=3;function J(e,t){return e.msg=s[t],t}function Q(e){return(e<<1)-(e>4?9:0)}function ee(e){var t=e.length;while(--t>=0)e[t]=0}function te(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function ne(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,te(e.strm)}function re(e,t){e.pending_buf[e.pending++]=t}function ie(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function oe(e,t,n,i){var s=e.avail_in;return s>i&&(s=i),0===s?0:(e.avail_in-=s,r.arraySet(t,e.input,e.next_in,s,n),1===e.state.wrap?e.adler=o(e.adler,t,s,n):2===e.state.wrap&&(e.adler=a(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function ae(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-B?e.strstart-(e.w_size-B):0,u=e.window,c=e.w_mask,f=e.prev,h=e.strstart+N,d=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(n=t,u[n+a]===p&&u[n+a-1]===d&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do{}while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o<h);if(r=N-(h-o),o=h-N,r>a){if(e.match_start=t,a=r,r>=s)break;d=u[o+a-1],p=u[o+a]}}}while((t=f[t&c])>l&&0!==--i);return a<=e.lookahead?a:e.lookahead}function se(e){var t,n,i,o,a,s=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-B)){r.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,n=e.hash_size,t=n;do{i=e.head[--t],e.head[t]=i>=s?i-s:0}while(--n);n=s,t=n;do{i=e.prev[--t],e.prev[t]=i>=s?i-s:0}while(--n);o+=s}if(0===e.strm.avail_in)break;if(n=oe(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=j){a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+j-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,e.lookahead+e.insert<j)break}}while(e.lookahead<B&&0!==e.strm.avail_in)}function le(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(se(e),0===e.lookahead&&t===l)return X;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,ne(e,!1),0===e.strm.avail_out))return X;if(e.strstart-e.block_start>=e.w_size-B&&(ne(e,!1),0===e.strm.avail_out))return X}return e.insert=0,t===f?(ne(e,!0),0===e.strm.avail_out?K:$):(e.strstart>e.block_start&&(ne(e,!1),e.strm.avail_out),X)}function ue(e,t){for(var n,r;;){if(e.lookahead<B){if(se(e),e.lookahead<B&&t===l)return X;if(0===e.lookahead)break}if(n=0,e.lookahead>=j&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-B&&(e.match_length=ae(e,n)),e.match_length>=j)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-j),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=j){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ne(e,!1),0===e.strm.avail_out))return X}return e.insert=e.strstart<j-1?e.strstart:j-1,t===f?(ne(e,!0),0===e.strm.avail_out?K:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?X:Y}function ce(e,t){for(var n,r,o;;){if(e.lookahead<B){if(se(e),e.lookahead<B&&t===l)return X;if(0===e.lookahead)break}if(n=0,e.lookahead>=j&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=j-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-B&&(e.match_length=ae(e,n),e.match_length<=5&&(e.strategy===b||e.match_length===j&&e.strstart-e.match_start>4096)&&(e.match_length=j-1)),e.prev_length>=j&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-j,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-j),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=j-1,e.strstart++,r&&(ne(e,!1),0===e.strm.avail_out))return X}else if(e.match_available){if(r=i._tr_tally(e,0,e.window[e.strstart-1]),r&&ne(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return X}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<j-1?e.strstart:j-1,t===f?(ne(e,!0),0===e.strm.avail_out?K:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?X:Y}function fe(e,t){for(var n,r,o,a,s=e.window;;){if(e.lookahead<=N){if(se(e),e.lookahead<=N&&t===l)return X;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=j&&e.strstart>0&&(o=e.strstart-1,r=s[o],r===s[++o]&&r===s[++o]&&r===s[++o])){a=e.strstart+N;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&o<a);e.match_length=N-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=j?(n=i._tr_tally(e,1,e.match_length-j),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ne(e,!1),0===e.strm.avail_out))return X}return e.insert=0,t===f?(ne(e,!0),0===e.strm.avail_out?K:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?X:Y}function he(e,t){for(var n;;){if(0===e.lookahead&&(se(e),0===e.lookahead)){if(t===l)return X;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ne(e,!1),0===e.strm.avail_out))return X}return e.insert=0,t===f?(ne(e,!0),0===e.strm.avail_out?K:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?X:Y}var de,pe=function(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i};function ge(e){e.window_size=2*e.w_size,ee(e.head),e.max_lazy_match=de[e.level].max_lazy,e.good_match=de[e.level].good_length,e.nice_match=de[e.level].nice_length,e.max_chain_length=de[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=j-1,e.match_available=0,e.ins_h=0}function ve(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*L),this.dyn_dtree=new r.Buf16(2*(2*D+1)),this.bl_tree=new r.Buf16(2*(2*I+1)),ee(this.dyn_ltree),ee(this.dyn_dtree),ee(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(R+1),this.heap=new r.Buf16(2*M+1),ee(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*M+1),ee(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ye(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=k,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?z:W,e.adler=2===t.wrap?0:1,t.last_flush=l,i._tr_init(t),d):J(e,g)}function me(e){var t=ye(e);return t===d&&ge(e.state),t}function be(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,d):g}function _e(e,t,n,i,o,a){if(!e)return g;var s=1;if(t===m&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),o<1||o>O||n!==E||i<8||i>15||t<0||t>9||a<0||a>w)return J(e,g);8===i&&(i=9);var l=new ve;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+j-1)/j),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,me(e)}function xe(e,t){return _e(e,t,E,C,A,S)}function we(e,t){var n,r,o,s;if(!e||!e.state||t>h||t<0)return e?J(e,g):g;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===q&&t!==f)return J(e,0===e.avail_out?y:g);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===z)if(2===r.wrap)e.adler=0,re(r,31),re(r,139),re(r,8),r.gzhead?(re(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),re(r,255&r.gzhead.time),re(r,r.gzhead.time>>8&255),re(r,r.gzhead.time>>16&255),re(r,r.gzhead.time>>24&255),re(r,9===r.level?2:r.strategy>=_||r.level<2?4:0),re(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(re(r,255&r.gzhead.extra.length),re(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=a(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=U):(re(r,0),re(r,0),re(r,0),re(r,0),re(r,0),re(r,9===r.level?2:r.strategy>=_||r.level<2?4:0),re(r,Z),r.status=W);else{var v=E+(r.w_bits-8<<4)<<8,m=-1;m=r.strategy>=_||r.level<2?0:r.level<6?1:6===r.level?2:3,v|=m<<6,0!==r.strstart&&(v|=F),v+=31-v%31,r.status=W,ie(r,v),0!==r.strstart&&(ie(r,e.adler>>>16),ie(r,65535&e.adler)),e.adler=1}if(r.status===U)if(r.gzhead.extra){o=r.pending;while(r.gzindex<(65535&r.gzhead.extra.length)){if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),te(e),o=r.pending,r.pending===r.pending_buf_size))break;re(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++}r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=H)}else r.status=H;if(r.status===H)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),te(e),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,re(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.gzindex=0,r.status=V)}else r.status=V;if(r.status===V)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),te(e),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,re(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.status=G)}else r.status=G;if(r.status===G&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&te(e),r.pending+2<=r.pending_buf_size&&(re(r,255&e.adler),re(r,e.adler>>8&255),e.adler=0,r.status=W)):r.status=W),0!==r.pending){if(te(e),0===e.avail_out)return r.last_flush=-1,d}else if(0===e.avail_in&&Q(t)<=Q(n)&&t!==f)return J(e,y);if(r.status===q&&0!==e.avail_in)return J(e,y);if(0!==e.avail_in||0!==r.lookahead||t!==l&&r.status!==q){var b=r.strategy===_?he(r,t):r.strategy===x?fe(r,t):de[r.level].func(r,t);if(b!==K&&b!==$||(r.status=q),b===X||b===K)return 0===e.avail_out&&(r.last_flush=-1),d;if(b===Y&&(t===u?i._tr_align(r):t!==h&&(i._tr_stored_block(r,0,0,!1),t===c&&(ee(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),te(e),0===e.avail_out))return r.last_flush=-1,d}return t!==f?d:r.wrap<=0?p:(2===r.wrap?(re(r,255&e.adler),re(r,e.adler>>8&255),re(r,e.adler>>16&255),re(r,e.adler>>24&255),re(r,255&e.total_in),re(r,e.total_in>>8&255),re(r,e.total_in>>16&255),re(r,e.total_in>>24&255)):(ie(r,e.adler>>>16),ie(r,65535&e.adler)),te(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?d:p)}function Se(e){var t;return e&&e.state?(t=e.state.status,t!==z&&t!==U&&t!==H&&t!==V&&t!==G&&t!==W&&t!==q?J(e,g):(e.state=null,t===W?J(e,v):d)):g}de=[new pe(0,0,0,0,le),new pe(4,4,8,4,ue),new pe(4,5,16,8,ue),new pe(4,6,32,32,ue),new pe(4,4,16,16,ce),new pe(8,16,32,32,ce),new pe(8,16,128,128,ce),new pe(8,32,128,256,ce),new pe(32,128,258,1024,ce),new pe(32,258,258,4096,ce)],n.deflateInit=xe,n.deflateInit2=_e,n.deflateReset=me,n.deflateResetKeep=ye,n.deflateSetHeader=be,n.deflate=we,n.deflateEnd=Se,n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,t,n){"use strict";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=r},{}],34:[function(e,t,n){"use strict";var r=30,i=12;t.exports=function(e,t){var n,o,a,s,l,u,c,f,h,d,p,g,v,y,m,b,_,x,w,S,k,E,O,C,A;n=e.state,o=e.next_in,C=e.input,a=o+(e.avail_in-5),s=e.next_out,A=e.output,l=s-(t-e.avail_out),u=s+(e.avail_out-257),c=n.dmax,f=n.wsize,h=n.whave,d=n.wnext,p=n.window,g=n.hold,v=n.bits,y=n.lencode,m=n.distcode,b=(1<<n.lenbits)-1,_=(1<<n.distbits)-1;e:do{v<15&&(g+=C[o++]<<v,v+=8,g+=C[o++]<<v,v+=8),x=y[g&b];t:for(;;){if(w=x>>>24,g>>>=w,v-=w,w=x>>>16&255,0===w)A[s++]=65535&x;else{if(!(16&w)){if(0===(64&w)){x=y[(65535&x)+(g&(1<<w)-1)];continue t}if(32&w){n.mode=i;break e}e.msg="invalid literal/length code",n.mode=r;break e}S=65535&x,w&=15,w&&(v<w&&(g+=C[o++]<<v,v+=8),S+=g&(1<<w)-1,g>>>=w,v-=w),v<15&&(g+=C[o++]<<v,v+=8,g+=C[o++]<<v,v+=8),x=m[g&_];n:for(;;){if(w=x>>>24,g>>>=w,v-=w,w=x>>>16&255,!(16&w)){if(0===(64&w)){x=m[(65535&x)+(g&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=r;break e}if(k=65535&x,w&=15,v<w&&(g+=C[o++]<<v,v+=8,v<w&&(g+=C[o++]<<v,v+=8)),k+=g&(1<<w)-1,k>c){e.msg="invalid distance too far back",n.mode=r;break e}if(g>>>=w,v-=w,w=s-l,k>w){if(w=k-w,w>h&&n.sane){e.msg="invalid distance too far back",n.mode=r;break e}if(E=0,O=p,0===d){if(E+=f-w,w<S){S-=w;do{A[s++]=p[E++]}while(--w);E=s-k,O=A}}else if(d<w){if(E+=f+d-w,w-=d,w<S){S-=w;do{A[s++]=p[E++]}while(--w);if(E=0,d<S){w=d,S-=w;do{A[s++]=p[E++]}while(--w);E=s-k,O=A}}}else if(E+=d-w,w<S){S-=w;do{A[s++]=p[E++]}while(--w);E=s-k,O=A}while(S>2)A[s++]=O[E++],A[s++]=O[E++],A[s++]=O[E++],S-=3;S&&(A[s++]=O[E++],S>1&&(A[s++]=O[E++]))}else{E=s-k;do{A[s++]=A[E++],A[s++]=A[E++],A[s++]=A[E++],S-=3}while(S>2);S&&(A[s++]=A[E++],S>1&&(A[s++]=A[E++]))}break}}break}}while(o<a&&s<u);S=v>>3,o-=S,v-=S<<3,g&=(1<<v)-1,e.next_in=o,e.next_out=s,e.avail_in=o<a?a-o+5:5-(o-a),e.avail_out=s<u?u-s+257:257-(s-u),n.hold=g,n.bits=v}},{}],35:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=0,u=1,c=2,f=4,h=5,d=6,p=0,g=1,v=2,y=-2,m=-3,b=-4,_=-5,x=8,w=1,S=2,k=3,E=4,O=5,C=6,A=7,T=8,P=9,M=10,D=11,I=12,L=13,R=14,j=15,N=16,B=17,F=18,z=19,U=20,H=21,V=22,G=23,W=24,q=25,X=26,Y=27,K=28,$=29,Z=30,J=31,Q=32,ee=852,te=592,ne=15,re=ne;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function oe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ae(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=w,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,p):y}function se(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,ae(e)):y}function le(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?y:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,se(e))):y}function ue(e,t){var n,r;return e?(r=new oe,e.state=r,r.window=null,n=le(e,t),n!==p&&(e.state=null),n):y}function ce(e){return ue(e,re)}var fe,he,de=!0;function pe(e){if(de){var t;fe=new r.Buf32(512),he=new r.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;s(u,e.lens,0,288,fe,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;s(c,e.lens,0,32,he,0,e.work,{bits:5}),de=!1}e.lencode=fe,e.lenbits=9,e.distcode=he,e.distbits=5}function ge(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(o=a.wsize-a.wnext,o>i&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),i-=o,i?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}function ve(e,t){var n,ee,te,ne,re,oe,ae,se,le,ue,ce,fe,he,de,ve,ye,me,be,_e,xe,we,Se,ke,Ee,Oe=0,Ce=new r.Buf8(4),Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return y;n=e.state,n.mode===I&&(n.mode=L),re=e.next_out,te=e.output,ae=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,se=n.hold,le=n.bits,ue=oe,ce=ae,Se=p;e:for(;;)switch(n.mode){case w:if(0===n.wrap){n.mode=L;break}while(le<16){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===se){n.check=0,Ce[0]=255&se,Ce[1]=se>>>8&255,n.check=o(n.check,Ce,2,0),se=0,le=0,n.mode=S;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",n.mode=Z;break}if((15&se)!==x){e.msg="unknown compression method",n.mode=Z;break}if(se>>>=4,le-=4,we=8+(15&se),0===n.wbits)n.wbits=we;else if(we>n.wbits){e.msg="invalid window size",n.mode=Z;break}n.dmax=1<<we,e.adler=n.check=1,n.mode=512&se?M:I,se=0,le=0;break;case S:while(le<16){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(n.flags=se,(255&n.flags)!==x){e.msg="unknown compression method",n.mode=Z;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Z;break}n.head&&(n.head.text=se>>8&1),512&n.flags&&(Ce[0]=255&se,Ce[1]=se>>>8&255,n.check=o(n.check,Ce,2,0)),se=0,le=0,n.mode=k;case k:while(le<32){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=se),512&n.flags&&(Ce[0]=255&se,Ce[1]=se>>>8&255,Ce[2]=se>>>16&255,Ce[3]=se>>>24&255,n.check=o(n.check,Ce,4,0)),se=0,le=0,n.mode=E;case E:while(le<16){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&se,n.head.os=se>>8),512&n.flags&&(Ce[0]=255&se,Ce[1]=se>>>8&255,n.check=o(n.check,Ce,2,0)),se=0,le=0,n.mode=O;case O:if(1024&n.flags){while(le<16){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.length=se,n.head&&(n.head.extra_len=se),512&n.flags&&(Ce[0]=255&se,Ce[1]=se>>>8&255,n.check=o(n.check,Ce,2,0)),se=0,le=0}else n.head&&(n.head.extra=null);n.mode=C;case C:if(1024&n.flags&&(fe=n.length,fe>oe&&(fe=oe),fe&&(n.head&&(we=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,fe,we)),512&n.flags&&(n.check=o(n.check,ee,fe,ne)),oe-=fe,ne+=fe,n.length-=fe),n.length))break e;n.length=0,n.mode=A;case A:if(2048&n.flags){if(0===oe)break e;fe=0;do{we=ee[ne+fe++],n.head&&we&&n.length<65536&&(n.head.name+=String.fromCharCode(we))}while(we&&fe<oe);if(512&n.flags&&(n.check=o(n.check,ee,fe,ne)),oe-=fe,ne+=fe,we)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=T;case T:if(4096&n.flags){if(0===oe)break e;fe=0;do{we=ee[ne+fe++],n.head&&we&&n.length<65536&&(n.head.comment+=String.fromCharCode(we))}while(we&&fe<oe);if(512&n.flags&&(n.check=o(n.check,ee,fe,ne)),oe-=fe,ne+=fe,we)break e}else n.head&&(n.head.comment=null);n.mode=P;case P:if(512&n.flags){while(le<16){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Z;break}se=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=I;break;case M:while(le<32){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}e.adler=n.check=ie(se),se=0,le=0,n.mode=D;case D:if(0===n.havedict)return e.next_out=re,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,v;e.adler=n.check=1,n.mode=I;case I:if(t===h||t===d)break e;case L:if(n.last){se>>>=7&le,le-=7&le,n.mode=Y;break}while(le<3){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}switch(n.last=1&se,se>>>=1,le-=1,3&se){case 0:n.mode=R;break;case 1:if(pe(n),n.mode=U,t===d){se>>>=2,le-=2;break e}break;case 2:n.mode=B;break;case 3:e.msg="invalid block type",n.mode=Z}se>>>=2,le-=2;break;case R:se>>>=7&le,le-=7&le;while(le<32){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if((65535&se)!==(se>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Z;break}if(n.length=65535&se,se=0,le=0,n.mode=j,t===d)break e;case j:n.mode=N;case N:if(fe=n.length,fe){if(fe>oe&&(fe=oe),fe>ae&&(fe=ae),0===fe)break e;r.arraySet(te,ee,ne,fe,re),oe-=fe,ne+=fe,ae-=fe,re+=fe,n.length-=fe;break}n.mode=I;break;case B:while(le<14){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&se),se>>>=5,le-=5,n.ndist=1+(31&se),se>>>=5,le-=5,n.ncode=4+(15&se),se>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Z;break}n.have=0,n.mode=F;case F:while(n.have<n.ncode){while(le<3){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.lens[Ae[n.have++]]=7&se,se>>>=3,le-=3}while(n.have<19)n.lens[Ae[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,ke={bits:n.lenbits},Se=s(l,n.lens,0,19,n.lencode,0,n.work,ke),n.lenbits=ke.bits,Se){e.msg="invalid code lengths set",n.mode=Z;break}n.have=0,n.mode=z;case z:while(n.have<n.nlen+n.ndist){for(;;){if(Oe=n.lencode[se&(1<<n.lenbits)-1],ve=Oe>>>24,ye=Oe>>>16&255,me=65535&Oe,ve<=le)break;if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(me<16)se>>>=ve,le-=ve,n.lens[n.have++]=me;else{if(16===me){Ee=ve+2;while(le<Ee){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se>>>=ve,le-=ve,0===n.have){e.msg="invalid bit length repeat",n.mode=Z;break}we=n.lens[n.have-1],fe=3+(3&se),se>>>=2,le-=2}else if(17===me){Ee=ve+3;while(le<Ee){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=ve,le-=ve,we=0,fe=3+(7&se),se>>>=3,le-=3}else{Ee=ve+7;while(le<Ee){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=ve,le-=ve,we=0,fe=11+(127&se),se>>>=7,le-=7}if(n.have+fe>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Z;break}while(fe--)n.lens[n.have++]=we}}if(n.mode===Z)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Z;break}if(n.lenbits=9,ke={bits:n.lenbits},Se=s(u,n.lens,0,n.nlen,n.lencode,0,n.work,ke),n.lenbits=ke.bits,Se){e.msg="invalid literal/lengths set",n.mode=Z;break}if(n.distbits=6,n.distcode=n.distdyn,ke={bits:n.distbits},Se=s(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,ke),n.distbits=ke.bits,Se){e.msg="invalid distances set",n.mode=Z;break}if(n.mode=U,t===d)break e;case U:n.mode=H;case H:if(oe>=6&&ae>=258){e.next_out=re,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,a(e,ce),re=e.next_out,te=e.output,ae=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,se=n.hold,le=n.bits,n.mode===I&&(n.back=-1);break}for(n.back=0;;){if(Oe=n.lencode[se&(1<<n.lenbits)-1],ve=Oe>>>24,ye=Oe>>>16&255,me=65535&Oe,ve<=le)break;if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(ye&&0===(240&ye)){for(be=ve,_e=ye,xe=me;;){if(Oe=n.lencode[xe+((se&(1<<be+_e)-1)>>be)],ve=Oe>>>24,ye=Oe>>>16&255,me=65535&Oe,be+ve<=le)break;if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=be,le-=be,n.back+=be}if(se>>>=ve,le-=ve,n.back+=ve,n.length=me,0===ye){n.mode=X;break}if(32&ye){n.back=-1,n.mode=I;break}if(64&ye){e.msg="invalid literal/length code",n.mode=Z;break}n.extra=15&ye,n.mode=V;case V:if(n.extra){Ee=n.extra;while(le<Ee){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.length+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=G;case G:for(;;){if(Oe=n.distcode[se&(1<<n.distbits)-1],ve=Oe>>>24,ye=Oe>>>16&255,me=65535&Oe,ve<=le)break;if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(0===(240&ye)){for(be=ve,_e=ye,xe=me;;){if(Oe=n.distcode[xe+((se&(1<<be+_e)-1)>>be)],ve=Oe>>>24,ye=Oe>>>16&255,me=65535&Oe,be+ve<=le)break;if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=be,le-=be,n.back+=be}if(se>>>=ve,le-=ve,n.back+=ve,64&ye){e.msg="invalid distance code",n.mode=Z;break}n.offset=me,n.extra=15&ye,n.mode=W;case W:if(n.extra){Ee=n.extra;while(le<Ee){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.offset+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Z;break}n.mode=q;case q:if(0===ae)break e;if(fe=ce-ae,n.offset>fe){if(fe=n.offset-fe,fe>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Z;break}fe>n.wnext?(fe-=n.wnext,he=n.wsize-fe):he=n.wnext-fe,fe>n.length&&(fe=n.length),de=n.window}else de=te,he=re-n.offset,fe=n.length;fe>ae&&(fe=ae),ae-=fe,n.length-=fe;do{te[re++]=de[he++]}while(--fe);0===n.length&&(n.mode=H);break;case X:if(0===ae)break e;te[re++]=n.length,ae--,n.mode=H;break;case Y:if(n.wrap){while(le<32){if(0===oe)break e;oe--,se|=ee[ne++]<<le,le+=8}if(ce-=ae,e.total_out+=ce,n.total+=ce,ce&&(e.adler=n.check=n.flags?o(n.check,te,ce,re-ce):i(n.check,te,ce,re-ce)),ce=ae,(n.flags?se:ie(se))!==n.check){e.msg="incorrect data check",n.mode=Z;break}se=0,le=0}n.mode=K;case K:if(n.wrap&&n.flags){while(le<32){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Z;break}se=0,le=0}n.mode=$;case $:Se=g;break e;case Z:Se=m;break e;case J:return b;case Q:default:return y}return e.next_out=re,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,(n.wsize||ce!==e.avail_out&&n.mode<Z&&(n.mode<Y||t!==f))&&ge(e,e.output,e.next_out,ce-e.avail_out)?(n.mode=J,b):(ue-=e.avail_in,ce-=e.avail_out,e.total_in+=ue,e.total_out+=ce,n.total+=ce,n.wrap&&ce&&(e.adler=n.check=n.flags?o(n.check,te,ce,e.next_out-ce):i(n.check,te,ce,e.next_out-ce)),e.data_type=n.bits+(n.last?64:0)+(n.mode===I?128:0)+(n.mode===U||n.mode===j?256:0),(0===ue&&0===ce||t===f)&&Se===p&&(Se=_),Se)}function ye(e){if(!e||!e.state)return y;var t=e.state;return t.window&&(t.window=null),e.state=null,p}function me(e,t){var n;return e&&e.state?(n=e.state,0===(2&n.wrap)?y:(n.head=t,t.done=!1,p)):y}n.inflateReset=se,n.inflateReset2=le,n.inflateResetKeep=ae,n.inflateInit=ce,n.inflateInit2=ue,n.inflate=ve,n.inflateEnd=ye,n.inflateGetHeader=me,n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(e,t,n){"use strict";var r=e("../utils/common"),i=15,o=852,a=592,s=0,l=1,u=2,c=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],f=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,p,g,v,y,m){var b,_,x,w,S,k,E,O,C,A=m.bits,T=0,P=0,M=0,D=0,I=0,L=0,R=0,j=0,N=0,B=0,F=null,z=0,U=new r.Buf16(i+1),H=new r.Buf16(i+1),V=null,G=0;for(T=0;T<=i;T++)U[T]=0;for(P=0;P<p;P++)U[t[n+P]]++;for(I=A,D=i;D>=1;D--)if(0!==U[D])break;if(I>D&&(I=D),0===D)return g[v++]=20971520,g[v++]=20971520,m.bits=1,0;for(M=1;M<D;M++)if(0!==U[M])break;for(I<M&&(I=M),j=1,T=1;T<=i;T++)if(j<<=1,j-=U[T],j<0)return-1;if(j>0&&(e===s||1!==D))return-1;for(H[1]=0,T=1;T<i;T++)H[T+1]=H[T]+U[T];for(P=0;P<p;P++)0!==t[n+P]&&(y[H[t[n+P]]++]=P);if(e===s?(F=V=y,k=19):e===l?(F=c,z-=257,V=f,G-=257,k=256):(F=h,V=d,k=-1),B=0,P=0,T=M,S=v,L=I,R=0,x=-1,N=1<<I,w=N-1,e===l&&N>o||e===u&&N>a)return 1;for(;;){E=T-R,y[P]<k?(O=0,C=y[P]):y[P]>k?(O=V[G+y[P]],C=F[z+y[P]]):(O=96,C=0),b=1<<T-R,_=1<<L,M=_;do{_-=b,g[S+(B>>R)+_]=E<<24|O<<16|C|0}while(0!==_);b=1<<T-1;while(B&b)b>>=1;if(0!==b?(B&=b-1,B+=b):B=0,P++,0===--U[T]){if(T===D)break;T=t[n+y[P]]}if(T>I&&(B&w)!==x){0===R&&(R=I),S+=M,L=T-R,j=1<<L;while(L+R<D){if(j-=U[L+R],j<=0)break;L++,j<<=1}if(N+=1<<L,e===l&&N>o||e===u&&N>a)return 1;x=B&w,g[x]=I<<24|L<<16|S-v|0}}return 0!==B&&(g[S+B]=T-R<<24|64<<16|0),m.bits=I,0}},{"../utils/common":27}],37:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(e,t,n){"use strict";var r=e("../utils/common"),i=4,o=0,a=1,s=2;function l(e){var t=e.length;while(--t>=0)e[t]=0}var u=0,c=1,f=2,h=3,d=258,p=29,g=256,v=g+1+p,y=30,m=19,b=2*v+1,_=15,x=16,w=7,S=256,k=16,E=17,O=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],A=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],T=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],M=512,D=new Array(2*(v+2));l(D);var I=new Array(2*y);l(I);var L=new Array(M);l(L);var R=new Array(d-h+1);l(R);var j=new Array(p);l(j);var N=new Array(y);l(N);var B,F,z,U=function(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length},H=function(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t};function V(e){return e<256?L[e]:L[256+(e>>>7)]}function G(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function W(e,t,n){e.bi_valid>x-n?(e.bi_buf|=t<<e.bi_valid&65535,G(e,e.bi_buf),e.bi_buf=t>>x-e.bi_valid,e.bi_valid+=n-x):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function q(e,t,n){W(e,n[2*t],n[2*t+1])}function X(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function Y(e){16===e.bi_valid?(G(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function K(e,t){var n,r,i,o,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(o=0;o<=_;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<b;n++)r=e.heap[n],o=l[2*l[2*r+1]+1]+1,o>p&&(o=p,g++),l[2*r+1]=o,r>u||(e.bl_count[o]++,a=0,r>=d&&(a=h[r-d]),s=l[2*r],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==g){do{o=p-1;while(0===e.bl_count[o])o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--){r=e.bl_count[o];while(0!==r)i=e.heap[--n],i>u||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}}function $(e,t,n){var r,i,o=new Array(_+1),a=0;for(r=1;r<=_;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=X(o[s]++,s))}}function Z(){var e,t,n,r,i,o=new Array(_+1);for(n=0,r=0;r<p-1;r++)for(j[r]=n,e=0;e<1<<C[r];e++)R[n++]=r;for(R[n-1]=r,i=0,r=0;r<16;r++)for(N[r]=i,e=0;e<1<<A[r];e++)L[i++]=r;for(i>>=7;r<y;r++)for(N[r]=i<<7,e=0;e<1<<A[r]-7;e++)L[256+i++]=r;for(t=0;t<=_;t++)o[t]=0;e=0;while(e<=143)D[2*e+1]=8,e++,o[8]++;while(e<=255)D[2*e+1]=9,e++,o[9]++;while(e<=279)D[2*e+1]=7,e++,o[7]++;while(e<=287)D[2*e+1]=8,e++,o[8]++;for($(D,v+1,o),e=0;e<y;e++)I[2*e+1]=5,I[2*e]=X(e,5);B=new U(D,C,g+1,v,_),F=new U(I,A,0,y,_),z=new U(new Array(0),T,0,m,w)}function J(e){var t;for(t=0;t<v;t++)e.dyn_ltree[2*t]=0;for(t=0;t<y;t++)e.dyn_dtree[2*t]=0;for(t=0;t<m;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*S]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Q(e){e.bi_valid>8?G(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function ee(e,t,n,i){Q(e),i&&(G(e,n),G(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function te(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function ne(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,te(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function re(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?q(e,i,t):(o=R[i],q(e,o+g+1,t),a=C[o],0!==a&&(i-=j[o],W(e,i,a)),r--,o=V(r),q(e,o,n),a=A[o],0!==a&&(r-=N[o],W(e,r,a)))}while(s<e.last_lit);q(e,S,t)}function ie(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=b,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):o[2*n+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=u<2?++u:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)ne(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ne(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,ne(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],K(e,t),$(o,u,e.bl_count)}function oe(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*k]++):s<=10?e.bl_tree[2*E]++:e.bl_tree[2*O]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function ae(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<u)do{q(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==o&&(q(e,i,e.bl_tree),s--),q(e,k,e.bl_tree),W(e,s-3,2)):s<=10?(q(e,E,e.bl_tree),W(e,s-3,3)):(q(e,O,e.bl_tree),W(e,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}function se(e){var t;for(oe(e,e.dyn_ltree,e.l_desc.max_code),oe(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=m-1;t>=3;t--)if(0!==e.bl_tree[2*P[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,n,r){var i;for(W(e,t-257,5),W(e,n-1,5),W(e,r-4,4),i=0;i<r;i++)W(e,e.bl_tree[2*P[i]+1],3);ae(e,e.dyn_ltree,t-1),ae(e,e.dyn_dtree,n-1)}function ue(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<g;t++)if(0!==e.dyn_ltree[2*t])return a;return o}var ce=!1;function fe(e){ce||(Z(),ce=!0),e.l_desc=new H(e.dyn_ltree,B),e.d_desc=new H(e.dyn_dtree,F),e.bl_desc=new H(e.bl_tree,z),e.bi_buf=0,e.bi_valid=0,J(e)}function he(e,t,n,r){W(e,(u<<1)+(r?1:0),3),ee(e,t,n,!0)}function de(e){W(e,c<<1,3),q(e,S,D),Y(e)}function pe(e,t,n,r){var o,a,l=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=ue(e)),ie(e,e.l_desc),ie(e,e.d_desc),l=se(e),o=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!==t?he(e,t,n,r):e.strategy===i||a===o?(W(e,(c<<1)+(r?1:0),3),re(e,D,I)):(W(e,(f<<1)+(r?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),re(e,e.dyn_ltree,e.dyn_dtree)),J(e),r&&Q(e)}function ge(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(R[n]+g+1)]++,e.dyn_dtree[2*V(t)]++),e.last_lit===e.lit_bufsize-1}n._tr_init=fe,n._tr_stored_block=he,n._tr_flush_block=pe,n._tr_tally=ge,n._tr_align=de},{"../utils/common":27}],39:[function(e,t,n){"use strict";function r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=r},{}]},{},[9])(9)}))}).call(this,n("1c35").Buffer,n("c8ba"))},"182d8":function(e,t,n){"use strict";var r=n("f8cd"),i=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new i("Wrong offset");return n}},"1a8c":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"1c35":function(e,t,n){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var r=n("1fb5"),i=n("9152"),o=n("bf74");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?v(e,t,n,r):"string"===typeof t?p(e,t,n):y(e,t)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,n,r){return f(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function d(e,t){if(f(t),e=l(e,t<0?0:0|m(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(t,n);e=l(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function g(e,t){var n=t.length<0?0:0|m(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function v(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=g(e,t),e}function y(e,t){if(u.isBuffer(t)){var n=0|m(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):g(e,t);if("Buffer"===t.type&&o(t.data))return g(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(r)return $(e).length;t=(""+t).toLowerCase(),r=!0}}function x(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return M(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function S(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:k(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var f=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return-1}function E(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function O(e,t,n,r){return ee($(t,e.length-n),e,n,r)}function C(e,t,n,r){return ee(Z(t),e,n,r)}function A(e,t,n,r){return C(e,t,n,r)}function T(e,t,n,r){return ee(Q(t),e,n,r)}function P(e,t,n,r){return ee(J(t,e.length-n),e,n,r)}function M(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function D(e,t,n){n=Math.min(e.length,n);var r=[],i=t;while(i<n){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return L(r)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return h(null,e,t,n)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)w(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?D(this,0,e):x.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),f=0;f<s;++f)if(l[f]!==c[f]){o=l[f],a=c[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return S(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return S(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function L(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=I));return n}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function j(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function N(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=K(e[o]);return i}function B(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function U(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function H(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function V(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function G(e,t,n,r,o){return o||V(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function W(e,t,n,r,o){return o||V(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e+--t],i=1;while(t>0&&(i*=256))r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=t,i=1,o=this[e+--r];while(r>0&&(i*=256))o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;z(this,e,t,n,i,0)}var o=1,a=0;this[t]=255&e;while(++a<n&&(o*=256))this[t+a]=e/o&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;z(this,e,t,n,i,0)}var o=n-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);z(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<n&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);z(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return G(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return G(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:$(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function X(e){if(e=Y(e).replace(q,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function Y(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function K(e){return e<16?"0"+e.toString(16):e.toString(16)}function $(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function J(e,t){for(var n,r,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function Q(e){return r.toByteArray(X(e))}function ee(e,t,n,r){for(var i=0;i<r;++i){if(i+n>=t.length||i>=e.length)break;t[i+n]=e[i]}return i}function te(e){return e!==e}}).call(this,n("c8ba"))},"1d02":function(e,t,n){"use strict";var r=n("ebb5"),i=n("a258").findLastIndex,o=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLastIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=h,t.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function f(e,t,n){return 3*(t+n)/4-n}function h(e){var t,n,r=u(e),a=r[0],s=r[1],l=new o(f(e,a,s)),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(d(r));return i.join("")}function g(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(p(e,s,s+a>l?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2005:function(e,t,n){"use strict";var r=n("75bd"),i=TypeError;e.exports=function(e){if(r(e))throw new i("ArrayBuffer is detached");return e}},"21a6":function(e,t,n){(function(n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})(0,(function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function r(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){l(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):i(l.href)?r(e,t,n):o(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(i(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){o(s)}))}}:function(e,t,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var o="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||o&&l||s)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},c.readAsDataURL(e)}else{var f=a.URL||a.webkitURL,h=f.createObjectURL(e);i?i.location=h:location.href=h,i=null,setTimeout((function(){f.revokeObjectURL(h)}),4e4)}});a.saveAs=l.saveAs=l,e.exports=l}))}).call(this,n("c8ba"))},2244:function(e,t,n){(function(t){/*! cpexcel.js (C) 2013-present SheetJS -- http://sheetjs.com */
var n={version:"1.15.0"};n[437]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[620]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖܢ٥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[737]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[850]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[852]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[857]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ<C38B>ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ<C395>×ÚÛÙìÿ¯´­±<C2AD>¾¶§÷¸°¨·¹³²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[861]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[865]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[866]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[874]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F><E282AC><EFBFBD><EFBFBD><EFBFBD><E280A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>“”•<E28093><E28094><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[895]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ČüéďäĎŤčěĚĹÍľǪÄÁÉžŽôöÓůÚýÖÜŠĽÝŘťáíóúňŇŮÔšřŕŔ¼§«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[932]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>。「」、・ヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン゙゚<EFBE9E><EFBE9F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[129]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 、。゛゜´¨_ヽヾゝゞ〃仝々〆ー―…‥“”〈〉《》「」『』【】±×<C2B1>÷≦≧∞∴♂♀°″℃¥¢£§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓<E28693><E38093><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>∈∋⊆⊇⊂⊃<E288AA><E288A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¬⇒⇔∀∃<E28880><E28883><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬<E288AB><E288AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼn♯♭♪†‡¶<E280A1><C2B6><EFBFBD><EFBFBD><EFBFBD><E297AF><EFBFBD>".split(""),e=0;e!=r[129].length;++e)65533!==r[129][e].charCodeAt(0)&&(n[r[129][e]]=33024+e,t[33024+e]=r[129][e]);for(r[130]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBC98><EFBC99><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBCB9><EFBCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBD99><EFBD9A><EFBFBD><EFBFBD>ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん<E38292><E38293><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[130].length;++e)65533!==r[130][e].charCodeAt(0)&&(n[r[130][e]]=33280+e,t[33280+e]=r[130][e]);for(r[131]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネハバパヒビピフブプヘベペホボポマミ<E3839E>ムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ<E383B5><E383B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ<CEA8><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>αβγδεζηθικλμνξοπρστυφχψω<CF88><CF89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[131].length;++e)65533!==r[131][e].charCodeAt(0)&&(n[r[131][e]]=33536+e,t[33536+e]=r[131][e]);for(r[132]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ<D0AE><D0AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>абвгдеёжзийклмн<D0BC>опрстуфхцчшщъыьэюя<D18E><D18F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂<E294B8><E29582><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[132].length;++e)65533!==r[132][e].charCodeAt(0)&&(n[r[132][e]]=33792+e,t[33792+e]=r[132][e]);for(r[135]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳ⅡⅢⅣⅥⅦⅧⅨ<E285A8>㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡<E38F84><E38EA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>〝〟№㏍℡㊤㊥㊦㊧㊨㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩<E288A9><E288AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[135].length;++e)65533!==r[135][e].charCodeAt(0)&&(n[r[135][e]]=34560+e,t[34560+e]=r[135][e]);for(r[136]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭<E883A4><E894AD><EFBFBD>".split(""),e=0;e!=r[136].length;++e)65533!==r[136][e].charCodeAt(0)&&(n[r[136][e]]=34816+e,t[34816+e]=r[136][e]);for(r[137]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円<E58EAD>園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改<E68B90><E694B9><EFBFBD>".split(""),e=0;e!=r[137].length;++e)65533!==r[137][e].charCodeAt(0)&&(n[r[137][e]]=35072+e,t[35072+e]=r[137][e]);for(r[138]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫<E7ACA0>橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄<E6A38B><E6A384><EFBFBD>".split(""),e=0;e!=r[138].length;++e)65533!==r[138][e].charCodeAt(0)&&(n[r[138][e]]=35328+e,t[35328+e]=r[138][e]);for(r[139]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救<E680A5>朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈<E5B191><E5B188><EFBFBD>".split(""),e=0;e!=r[139].length;++e)65533!==r[139][e].charCodeAt(0)&&(n[r[139][e]]=35584+e,t[35584+e]=r[139][e]);for(r[140]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨<E8BF8E>劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向<E58FA3><E59091><EFBFBD>".split(""),e=0;e!=r[140].length;++e)65533!==r[140][e].charCodeAt(0)&&(n[r[140][e]]=35840+e,t[35840+e]=r[140][e]);for(r[141]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降<E996A4>項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷<E5868A><E588B7><EFBFBD>".split(""),e=0;e!=r[141].length;++e)65533!==r[141][e].charCodeAt(0)&&(n[r[141][e]]=36096+e,t[36096+e]=r[141][e]);for(r[142]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止<E69E9D>死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周<E58F8E><E591A8><EFBFBD>".split(""),e=0;e!=r[142].length;++e)65533!==r[142][e].charCodeAt(0)&&(n[r[142][e]]=36352+e,t[36352+e]=r[142][e]);for(r[143]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳<E6AE89>準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾<E59FB4><E9A3BE><EFBFBD>".split(""),e=0;e!=r[143].length;++e)65533!==r[143][e].charCodeAt(0)&&(n[r[143][e]]=36608+e,t[36608+e]=r[143][e]);for(r[144]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨<E59BB3>逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線<E7AEAD><E7B79A><EFBFBD>".split(""),e=0;e!=r[144].length;++e)65533!==r[144][e].charCodeAt(0)&&(n[r[144][e]]=36864+e,t[36864+e]=r[144][e]);for(r[145]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻<E68CBF>操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只<E89BB8><E58FAA><EFBFBD>".split(""),e=0;e!=r[145].length;++e)65533!==r[145][e].charCodeAt(0)&&(n[r[145][e]]=37120+e,t[37120+e]=r[145][e]);for(r[146]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄<E7AD91>逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓<E8B984><E98093><EFBFBD>".split(""),e=0;e!=r[146].length;++e)65533!==r[146][e].charCodeAt(0)&&(n[r[146][e]]=37376+e,t[37376+e]=r[146][e]);for(r[147]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬<E5859A>凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入<E4B9B3><E585A5><EFBFBD>".split(""),e=0;e!=r[147].length;++e)65533!==r[147][e].charCodeAt(0)&&(n[r[147][e]]=37632+e,t[37632+e]=r[147][e]);for(r[148]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅<E5AA92>楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美<E79C89><E7BE8E><EFBFBD>".split(""),e=0;e!=r[148].length;++e)65533!==r[148][e].charCodeAt(0)&&(n[r[148][e]]=37888+e,t[37888+e]=r[148][e]);for(r[149]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷<E689B6>斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋<E696B9><E69C8B><EFBFBD>".split(""),e=0;e!=r[149].length;++e)65533!==r[149][e].charCodeAt(0)&&(n[r[149][e]]=38144+e,t[38144+e]=r[149][e]);for(r[150]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆<E587A1>摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒<E6B2B9><E79992><EFBFBD>".split(""),e=0;e!=r[150].length;++e)65533!==r[150][e].charCodeAt(0)&&(n[r[150][e]]=38400+e,t[38400+e]=r[150][e]);for(r[151]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲<E68A91>沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯<E7B7B4><E881AF><EFBFBD>".split(""),e=0;e!=r[151].length;++e)65533!==r[151][e].charCodeAt(0)&&(n[r[151][e]]=38656+e,t[38656+e]=r[151][e]);for(r[152]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕<E7A297><E88595><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>弌丐丕个丱丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲<E582B4><E582B2><EFBFBD>".split(""),e=0;e!=r[152].length;++e)65533!==r[152][e].charCodeAt(0)&&(n[r[152][e]]=38912+e,t[38912+e]=r[152][e]);for(r[153]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭<E587A9>凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨<E59388><E592A8><EFBFBD>".split(""),e=0;e!=r[153].length;++e)65533!==r[153][e].charCodeAt(0)&&(n[r[153][e]]=39168+e,t[39168+e]=r[153][e]);for(r[154]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸<E598B2>噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩<E5A5AC><E5A5A9><EFBFBD>".split(""),e=0;e!=r[154].length;++e)65533!==r[154][e].charCodeAt(0)&&(n[r[154][e]]=39424+e,t[39424+e]=r[154][e]);for(r[155]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀<E5ADBA>它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏<E5BB90><E5BB8F><EFBFBD>".split(""),e=0;e!=r[155].length;++e)65533!==r[155][e].charCodeAt(0)&&(n[r[155][e]]=39680+e,t[39680+e]=r[155][e]);for(r[156]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠<E680A1>怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛<E68894><E6889B><EFBFBD>".split(""),e=0;e!=r[156].length;++e)65533!==r[156][e].charCodeAt(0)&&(n[r[156][e]]=39936+e,t[39936+e]=r[156][e]);for(r[157]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫<E68EB5>捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼<E69ABE><E69ABC><EFBFBD>".split(""),e=0;e!=r[157].length;++e)65533!==r[157][e].charCodeAt(0)&&(n[r[157][e]]=40192+e,t[40192+e]=r[157][e]);for(r[158]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎<E6A0B2>梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣<E6AAA2><E6AAA3><EFBFBD>".split(""),e=0;e!=r[158].length;++e)65533!==r[158][e].charCodeAt(0)&&(n[r[158][e]]=40448+e,t[40448+e]=r[158][e]);for(r[159]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯<E6AFB3>麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌<E6BCB2><E6BB8C><EFBFBD>".split(""),e=0;e!=r[159].length;++e)65533!==r[159][e].charCodeAt(0)&&(n[r[159][e]]=40704+e,t[40704+e]=r[159][e]);for(r[224]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝<E7838B>烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱<E79394><E78FB1><EFBFBD>".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿<E797BE>痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬<E7A38A><E7A3AC><EFBFBD>".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰<E7AB88>窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆<E7B3BA><E7B486><EFBFBD>".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷<E7B983>縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋<E884AF><E8858B><EFBFBD>".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤<E8899F>艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈<E89598><E89588><EFBFBD>".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬<E89BA9>蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞<E8A5A0><E8A59E><EFBFBD>".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧<E8ABB3>諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊<E8B8B4><E8B98A><EFBFBD>".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜<E8BD97>轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮<E98D84><E98CAE><EFBFBD>".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙<E99698>閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰<E9A1AF><E9A1B0><EFBFBD>".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃<E9A980>騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈<E9B586><E9B588><EFBFBD>".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯<E9BBA8>黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙<E5879C><E78699><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[237]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏<E59F87>塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱<E787BE><E78AB1><EFBFBD>".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙<E89593>蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑<E9B899><E9BB91>ⅱⅲⅳⅵⅶⅷⅸ¬¦<EFBC87><EFBC82><EFBFBD>".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[250]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ⅱⅲⅳⅵⅶⅷⅸⅡⅢⅣⅥⅦⅧⅨ¬¦㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊<E58398>兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯<E6B687><E6B5AF><EFBFBD>".split(""),e=0;e!=r[250].length;++e)65533!==r[250][e].charCodeAt(0)&&(n[r[250][e]]=64e3+e,t[64e3+e]=r[250][e]);for(r[251]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神<EFA898>祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙<E9A98E><E9AB99><EFBFBD>".split(""),e=0;e!=r[251].length;++e)65533!==r[251][e].charCodeAt(0)&&(n[r[251][e]]=64256+e,t[64256+e]=r[251][e]);for(r[252]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑<E9B899><E9BB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[252].length;++e)65533!==r[252][e].charCodeAt(0)&&(n[r[252][e]]=64512+e,t[64512+e]=r[252][e]);return{enc:n,dec:t}}(),n[936]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F><E282AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[129]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪乫乬乭乮乯乲乴乵乶乷乸乹乺乻乼乽乿亀亁亂亃亄亅亇亊<E4BA87>亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂伃伄伅伆伇伈伋伌伒伓伔伕伖伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾伿佀佁佂佄佅佇佈佉佊佋佌佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢<E4BEA1>".split(""),e=0;e!=r[129].length;++e)65533!==r[129][e].charCodeAt(0)&&(n[r[129][e]]=33024+e,t[33024+e]=r[129][e]);for(r[130]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>侤侫侭侰侱侲侳侴侶侷侸侹侺侻侼侽侾俀俁係俆俇俈俉俋俌俍俒俓俔俕俖俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿倀倁倂倃倄倅倆倇倈倉倊<E58089>個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯倰倱倲倳倴倵倶倷倸倹倻倽倿偀偁偂偄偅偆偉偊偋偍偐偑偒偓偔偖偗偘偙偛偝偞偟偠偡偢偣偤偦偧偨偩偪偫偭偮偯偰偱偲偳側偵偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎傏傐傑傒傓傔傕傖傗傘備傚傛傜傝傞傟傠傡傢傤傦傪傫傭傮傯傰傱傳傴債傶傷傸傹傼<E582B9>".split(""),e=0;e!=r[130].length;++e)65533!==r[130][e].charCodeAt(0)&&(n[r[130][e]]=33280+e,t[33280+e]=r[130][e]);for(r[131]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>傽傾傿僀僁僂僃僄僅僆僇僈僉僊僋僌働僎僐僑僒僓僔僕僗僘僙僛僜僝僞僟僠僡僢僣僤僥僨僩僪僫僯僰僱僲僴僶僷僸價僺僼僽僾僿儀儁儂儃億儅儈<E58485>儉儊儌儍儎儏儐儑儓儔儕儖儗儘儙儚儛儜儝儞償儠儢儣儤儥儦儧儨儩優儫儬儭儮儯儰儱儲儳儴儵儶儷儸儹儺儻儼儽儾兂兇兊兌兎兏児兒兓兗兘兙兛兝兞兟兠兡兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦冧冨冩冪冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒凓凔凕凖凗<E58796>".split(""),e=0;e!=r[131].length;++e)65533!==r[131][e].charCodeAt(0)&&(n[r[131][e]]=33536+e,t[33536+e]=r[131][e]);for(r[132]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>凘凙凚凜凞凟凢凣凥処凧凨凩凪凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄剅剆則剈剉剋剎剏剒剓剕剗剘<E58997>剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳剴創剶剷剸剹剺剻剼剾劀劃劄劅劆劇劉劊劋劌劍劎劏劑劒劔劕劖劗劘劙劚劜劤劥劦劧劮劯劰労劵劶劷劸効劺劻劼劽勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務勚勛勜勝勞勠勡勢勣勥勦勧勨勩勪勫勬勭勮勯勱勲勳勴勵勶勷勸勻勼勽匁匂匃匄匇匉匊匋匌匎<E58C8C>".split(""),e=0;e!=r[132].length;++e)65533!==r[132][e].charCodeAt(0)&&(n[r[132][e]]=33792+e,t[33792+e]=r[132][e]);for(r[133]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯匰匱匲匳匴匵匶匷匸匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏<E58E8E>厐厑厒厓厔厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯厰厱厲厳厴厵厷厸厹厺厼厽厾叀參叄叅叆叇収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝呞呟呠呡呣呥呧呩呪呫呬呭呮呯呰呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡<E592A0>".split(""),e=0;e!=r[133].length;++e)65533!==r[133][e].charCodeAt(0)&&(n[r[133][e]]=34048+e,t[34048+e]=r[133][e]);for(r[134]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠員哢哣哤哫哬哯哰哱哴哵哶哷哸哹哻哾唀唂唃唄唅唈唊唋唌唍唎唒唓唕唖唗唘唙唚唜唝唞唟唡唥唦<E594A5>唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋啌啍啎問啑啒啓啔啗啘啙啚啛啝啞啟啠啢啣啨啩啫啯啰啱啲啳啴啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠喡喢喣喤喥喦喨喩喪喫喬喭單喯喰喲喴営喸喺喼喿嗀嗁嗂嗃嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗嗘嗙嗚嗛嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸嗹嗺嗻嗼嗿嘂嘃嘄嘅<E59884>".split(""),e=0;e!=r[134].length;++e)65533!==r[134][e].charCodeAt(0)&&(n[r[134][e]]=34304+e,t[34304+e]=r[134][e]);for(r[135]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嘆嘇嘊嘋嘍嘐嘑嘒嘓嘔嘕嘖嘗嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀噁噂噃噄噅噆噇噈噉噊噋噏噐噑噒噓噕噖噚噛噝噞噟噠噡<E599A0>噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽噾噿嚀嚁嚂嚃嚄嚇嚈嚉嚊嚋嚌嚍嚐嚑嚒嚔嚕嚖嚗嚘嚙嚚嚛嚜嚝嚞嚟嚠嚡嚢嚤嚥嚦嚧嚨嚩嚪嚫嚬嚭嚮嚰嚱嚲嚳嚴嚵嚶嚸嚹嚺嚻嚽嚾嚿囀囁囂囃囄囅囆囇囈囉囋囌囍囎囏囐囑囒囓囕囖囘囙囜団囥囦囧囨囩囪囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國圌圍圎圏圐圑<E59C90>".split(""),e=0;e!=r[135].length;++e)65533!==r[135][e].charCodeAt(0)&&(n[r[135][e]]=34560+e,t[34560+e]=r[135][e]);for(r[136]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>園圓圔圕圖圗團圙圚圛圝圞圠圡圢圤圥圦圧圫圱圲圴圵圶圷圸圼圽圿坁坃坄坅坆坈坉坋坒坓坔坕坖坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀<E59DBF>垁垇垈垉垊垍垎垏垐垑垔垕垖垗垘垙垚垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹垺垻垼垽垾垿埀埁埄埅埆埇埈埉埊埌埍埐埑埓埖埗埛埜埞埡埢埣埥埦埧埨埩埪埫埬埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥堦堧堨堩堫堬堭堮堯報堲堳場堶堷堸堹堺堻堼堽<E5A0BC>".split(""),e=0;e!=r[136].length;++e)65533!==r[136][e].charCodeAt(0)&&(n[r[136][e]]=34816+e,t[34816+e]=r[136][e]);for(r[137]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>堾堿塀塁塂塃塅塆塇塈塉塊塋塎塏塐塒塓塕塖塗塙塚塛塜塝塟塠塡塢塣塤塦塧塨塩塪塭塮塯塰塱塲塳塴塵塶塷塸塹塺塻塼塽塿墂墄墆墇墈墊墋墌<E5A28B>墍墎墏墐墑墔墕墖増墘墛墜墝墠墡墢墣墤墥墦墧墪墫墬墭墮墯墰墱墲墳墴墵墶墷墸墹墺墻墽墾墿壀壂壃壄壆壇壈壉壊壋壌壍壎壏壐壒壓壔壖壗壘壙壚壛壜壝壞壟壠壡壢壣壥壦壧壨壩壪壭壯壱売壴壵壷壸壺壻壼壽壾壿夀夁夃夅夆夈変夊夋夌夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻<E5A4B6>".split(""),e=0;e!=r[137].length;++e)65533!==r[137][e].charCodeAt(0)&&(n[r[137][e]]=35072+e,t[35072+e]=r[137][e]);for(r[138]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛奜奝奞奟奡奣奤奦奧奨奩奪奫奬奭奮奯奰奱奲奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦<E5A6A2>妧妬妭妰妱妳妴妵妶妷妸妺妼妽妿姀姁姂姃姄姅姇姈姉姌姍姎姏姕姖姙姛姞姟姠姡姢姤姦姧姩姪姫姭姮姯姰姱姲姳姴姵姶姷姸姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪娫娬娭娮娯娰娳娵娷娸娹娺娻娽娾娿婁婂婃婄婅婇婈婋婌婍婎婏婐婑婒婓婔婖婗婘婙婛婜婝婞婟婠<E5A99F>".split(""),e=0;e!=r[138].length;++e)65533!==r[138][e].charCodeAt(0)&&(n[r[138][e]]=35328+e,t[35328+e]=r[138][e]);for(r[139]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>婡婣婤婥婦婨婩婫婬婭婮婯婰婱婲婳婸婹婻婼婽婾媀媁媂媃媄媅媆媇媈媉媊媋媌媍媎媏媐媑媓媔媕媖媗媘媙媜媝媞媟媠媡媢媣媤媥媦媧媨媩媫媬<E5AAAB>媭媮媯媰媱媴媶媷媹媺媻媼媽媿嫀嫃嫄嫅嫆嫇嫈嫊嫋嫍嫎嫏嫐嫑嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬嫭嫮嫯嫰嫲嫳嫴嫵嫶嫷嫸嫹嫺嫻嫼嫽嫾嫿嬀嬁嬂嬃嬄嬅嬆嬇嬈嬊嬋嬌嬍嬎嬏嬐嬑嬒嬓嬔嬕嬘嬙嬚嬛嬜嬝嬞嬟嬠嬡嬢嬣嬤嬥嬦嬧嬨嬩嬪嬫嬬嬭嬮嬯嬰嬱嬳嬵嬶嬸嬹嬺嬻嬼嬽嬾嬿孁孂孃孄孅孆孇<E5AD86>".split(""),e=0;e!=r[139].length;++e)65533!==r[139][e].charCodeAt(0)&&(n[r[139][e]]=35584+e,t[35584+e]=r[139][e]);for(r[140]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>孈孉孊孋孌孍孎孏孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏<E5AF8E>寑寔寕寖寗寘寙寚寛寜寠寢寣實寧審寪寫寬寭寯寱寲寳寴寵寶寷寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧屨屩屪屫屬屭屰屲屳屴屵屶屷屸屻屼屽屾岀岃岄岅岆岇岉岊岋岎岏岒岓岕岝岞岟岠岡岤岥岦岧岨<E5B2A7>".split(""),e=0;e!=r[140].length;++e)65533!==r[140][e].charCodeAt(0)&&(n[r[140][e]]=35840+e,t[35840+e]=r[140][e]);for(r[141]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅峆峇峈峉峊峌峍峎峏峐峑峓峔峕峖峗峘峚峛峜峝峞峟峠峢峣峧峩峫峬峮峯峱峲峳峴峵島峷峸峹峺峼峽峾峿崀<E5B3BF>崁崄崅崈崉崊崋崌崍崏崐崑崒崓崕崗崘崙崚崜崝崟崠崡崢崣崥崨崪崫崬崯崰崱崲崳崵崶崷崸崹崺崻崼崿嵀嵁嵂嵃嵄嵅嵆嵈嵉嵍嵎嵏嵐嵑嵒嵓嵔嵕嵖嵗嵙嵚嵜嵞嵟嵠嵡嵢嵣嵤嵥嵦嵧嵨嵪嵭嵮嵰嵱嵲嵳嵵嵶嵷嵸嵹嵺嵻嵼嵽嵾嵿嶀嶁嶃嶄嶅嶆嶇嶈嶉嶊嶋嶌嶍嶎嶏嶐嶑嶒嶓嶔嶕嶖嶗嶘嶚嶛嶜嶞嶟嶠<E5B69F>".split(""),e=0;e!=r[141].length;++e)65533!==r[141][e].charCodeAt(0)&&(n[r[141][e]]=36096+e,t[36096+e]=r[141][e]);for(r[142]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嶡嶢嶣嶤嶥嶦嶧嶨嶩嶪嶫嶬嶭嶮嶯嶰嶱嶲嶳嶴嶵嶶嶸嶹嶺嶻嶼嶽嶾嶿巀巁巂巃巄巆巇巈巉巊巋巌巎巏巐巑巒巓巔巕巖巗巘巙巚巜巟巠巣巤巪巬巭<E5B7AC>巰巵巶巸巹巺巻巼巿帀帄帇帉帊帋帍帎帒帓帗帞帟帠帡帢帣帤帥帨帩帪師帬帯帰帲帳帴帵帶帹帺帾帿幀幁幃幆幇幈幉幊幋幍幎幏幐幑幒幓幖幗幘幙幚幜幝幟幠幣幤幥幦幧幨幩幪幫幬幭幮幯幰幱幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨庩庪庫庬庮庯庰庱庲庴庺庻庼庽庿廀廁廂廃廄廅<E5BB84>".split(""),e=0;e!=r[142].length;++e)65533!==r[142][e].charCodeAt(0)&&(n[r[142][e]]=36352+e,t[36352+e]=r[142][e]);for(r[143]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>廆廇廈廋廌廍廎廏廐廔廕廗廘廙廚廜廝廞廟廠廡廢廣廤廥廦廧廩廫廬廭廮廯廰廱廲廳廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤<E5BCA3>弨弫弬弮弰弲弳弴張弶強弸弻弽弾弿彁彂彃彄彅彆彇彈彉彊彋彌彍彎彏彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢徣徤徥徦徧復徫徬徯徰徱徲徳徴徶徸徹徺徻徾徿忀忁忂忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇<E5BFBC>".split(""),e=0;e!=r[143].length;++e)65533!==r[143][e].charCodeAt(0)&&(n[r[143][e]]=36608+e,t[36608+e]=r[143][e]);for(r[144]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰怱怲怳怴怶怷怸怹怺怽怾恀恄恅恆恇恈恉恊恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀<E681BE>悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽悾悿惀惁惂惃惄惇惈惉惌惍惎惏惐惒惓惔惖惗惙惛惞惡惢惣惤惥惪惱惲惵惷惸惻惼惽惾惿愂愃愄愅愇愊愋愌愐愑愒愓愔愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬愭愮愯愰愱愲愳愴愵愶愷愸愹愺愻愼愽愾慀慁慂慃慄慅慆<E68585>".split(""),e=0;e!=r[144].length;++e)65533!==r[144][e].charCodeAt(0)&&(n[r[144][e]]=36864+e,t[36864+e]=r[144][e]);for(r[145]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>慇慉態慍慏慐慒慓慔慖慗慘慙慚慛慜慞慟慠慡慣慤慥慦慩慪慫慬慭慮慯慱慲慳慴慶慸慹慺慻慼慽慾慿憀憁憂憃憄憅憆憇憈憉憊憌憍憏憐憑憒憓憕<E68693>憖憗憘憙憚憛憜憞憟憠憡憢憣憤憥憦憪憫憭憮憯憰憱憲憳憴憵憶憸憹憺憻憼憽憿懀懁懃懄懅懆懇應懌懍懎懏懐懓懕懖懗懘懙懚懛懜懝懞懟懠懡懢懣懤懥懧懨懩懪懫懬懭懮懯懰懱懲懳懴懶懷懸懹懺懻懼懽懾戀戁戂戃戄戅戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸戹戺戻戼扂扄扅扆扊<E68986>".split(""),e=0;e!=r[145].length;++e)65533!==r[145][e].charCodeAt(0)&&(n[r[145][e]]=37120+e,t[37120+e]=r[145][e]);for(r[146]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>扏扐払扖扗扙扚扜扝扞扟扠扡扢扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋抌抍抎抏抐抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁<E68B80>拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳挴挵挶挷挸挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖捗捘捙捚捛捜捝捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙掚掛掜掝掞掟採掤掦掫掯掱掲掵掶掹掻掽掿揀<E68EBF>".split(""),e=0;e!=r[146].length;++e)65533!==r[146][e].charCodeAt(0)&&(n[r[146][e]]=37376+e,t[37376+e]=r[146][e]);for(r[147]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>揁揂揃揅揇揈揊揋揌揑揓揔揕揗揘揙揚換揜揝揟揢揤揥揦揧揨揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆搇搈搉搊損搎搑搒搕搖搗搘搙搚搝搟搢搣搤<E690A3>搥搧搨搩搫搮搯搰搱搲搳搵搶搷搸搹搻搼搾摀摂摃摉摋摌摍摎摏摐摑摓摕摖摗摙摚摛摜摝摟摠摡摢摣摤摥摦摨摪摫摬摮摯摰摱摲摳摴摵摶摷摻摼摽摾摿撀撁撃撆撈撉撊撋撌撍撎撏撐撓撔撗撘撚撛撜撝撟撠撡撢撣撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆擇擈擉擊擋擌擏擑擓擔擕擖擙據<E69399>".split(""),e=0;e!=r[147].length;++e)65533!==r[147][e].charCodeAt(0)&&(n[r[147][e]]=37632+e,t[37632+e]=r[147][e]);for(r[148]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>擛擜擝擟擠擡擣擥擧擨擩擪擫擬擭擮擯擰擱擲擳擴擵擶擷擸擹擺擻擼擽擾擿攁攂攃攄攅攆攇攈攊攋攌攍攎攏攐攑攓攔攕攖攗攙攚攛攜攝攞攟攠攡<E694A0>攢攣攤攦攧攨攩攪攬攭攰攱攲攳攷攺攼攽敀敁敂敃敄敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數敹敺敻敼敽敾敿斀斁斂斃斄斅斆斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱斲斳斴斵斶斷斸斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘旙旚旛旜旝旞旟旡旣旤旪旫<E697AA>".split(""),e=0;e!=r[148].length;++e)65533!==r[148][e].charCodeAt(0)&&(n[r[148][e]]=37888+e,t[37888+e]=r[148][e]);for(r[149]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>旲旳旴旵旸旹旻旼旽旾旿昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷昸昹昺昻昽昿晀時晄晅晆晇晈晉晊晍晎晐晑晘<E69991>晙晛晜晝晞晠晢晣晥晧晩晪晫晬晭晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘暙暚暛暜暞暟暠暡暢暣暤暥暦暩暪暫暬暭暯暰暱暲暳暵暶暷暸暺暻暼暽暿曀曁曂曃曄曅曆曇曈曉曊曋曌曍曎曏曐曑曒曓曔曕曖曗曘曚曞曟曠曡曢曣曤曥曧曨曪曫曬曭曮曯曱曵曶書曺曻曽朁朂會<E69C82>".split(""),e=0;e!=r[149].length;++e)65533!==r[149][e].charCodeAt(0)&&(n[r[149][e]]=38144+e,t[38144+e]=r[149][e]);for(r[150]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠朡朢朣朤朥朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗杘杙杚杛杝杢杣杤杦杧杫杬杮東杴杶<E69DB4>杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹枺枻枼枽枾枿柀柂柅柆柇柈柉柊柋柌柍柎柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵柶柷柸柹柺査柼柾栁栂栃栄栆栍栐栒栔栕栘栙栚栛栜栞栟栠栢栣栤栥栦栧栨栫栬栭栮栯栰栱栴栵栶栺栻栿桇桋桍桏桒桖桗桘桙桚桛<E6A19A>".split(""),e=0;e!=r[150].length;++e)65533!==r[150][e].charCodeAt(0)&&(n[r[150][e]]=38400+e,t[38400+e]=r[150][e]);for(r[151]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>桜桝桞桟桪桬桭桮桯桰桱桲桳桵桸桹桺桻桼桽桾桿梀梂梄梇梈梉梊梋梌梍梎梐梑梒梔梕梖梘梙梚梛梜條梞梟梠梡梣梤梥梩梪梫梬梮梱梲梴梶梷梸<E6A2B7>梹梺梻梼梽梾梿棁棃棄棅棆棇棈棊棌棎棏棐棑棓棔棖棗棙棛棜棝棞棟棡棢棤棥棦棧棨棩棪棫棬棭棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆椇椈椉椊椌椏椑椓椔椕椖椗椘椙椚椛検椝椞椡椢椣椥椦椧椨椩椪椫椬椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃楄楅楆楇楈楉楊楋楌楍楎楏楐楑楒楓楕楖楘楙楛楜楟<E6A59C>".split(""),e=0;e!=r[151].length;++e)65533!==r[151][e].charCodeAt(0)&&(n[r[151][e]]=38656+e,t[38656+e]=r[151][e]);for(r[152]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>楡楢楤楥楧楨楩楪楬業楯楰楲楳楴極楶楺楻楽楾楿榁榃榅榊榋榌榎榏榐榑榒榓榖榗榙榚榝榞榟榠榡榢榣榤榥榦榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽<E6A6BC>榾榿槀槂槃槄槅槆槇槈槉構槍槏槑槒槓槕槖槗様槙槚槜槝槞槡槢槣槤槥槦槧槨槩槪槫槬槮槯槰槱槳槴槵槶槷槸槹槺槻槼槾樀樁樂樃樄樅樆樇樈樉樋樌樍樎樏樐樑樒樓樔樕樖標樚樛樜樝樞樠樢樣樤樥樦樧権樫樬樭樮樰樲樳樴樶樷樸樹樺樻樼樿橀橁橂橃橅橆橈橉橊橋橌橍橎橏橑橒橓橔橕橖橗橚<E6A997>".split(""),e=0;e!=r[152].length;++e)65533!==r[152][e].charCodeAt(0)&&(n[r[152][e]]=38912+e,t[38912+e]=r[152][e]);for(r[153]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>橜橝橞機橠橢橣橤橦橧橨橩橪橫橬橭橮橯橰橲橳橴橵橶橷橸橺橻橽橾橿檁檂檃檅檆檇檈檉檊檋檌檍檏檒檓檔檕檖檘檙檚檛檜檝檞檟檡檢檣檤檥檦<E6AAA5>檧檨檪檭檮檯檰檱檲檳檴檵檶檷檸檹檺檻檼檽檾檿櫀櫁櫂櫃櫄櫅櫆櫇櫈櫉櫊櫋櫌櫍櫎櫏櫐櫑櫒櫓櫔櫕櫖櫗櫘櫙櫚櫛櫜櫝櫞櫟櫠櫡櫢櫣櫤櫥櫦櫧櫨櫩櫪櫫櫬櫭櫮櫯櫰櫱櫲櫳櫴櫵櫶櫷櫸櫹櫺櫻櫼櫽櫾櫿欀欁欂欃欄欅欆欇欈欉權欋欌欍欎欏欐欑欒欓欔欕欖欗欘欙欚欛欜欝欞欟欥欦欨欩欪欫欬欭欮<E6ACAD>".split(""),e=0;e!=r[153].length;++e)65533!==r[153][e].charCodeAt(0)&&(n[r[153][e]]=39168+e,t[39168+e]=r[153][e]);for(r[154]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍歎歏歐歑歒歓歔歕歖歗歘歚歛歜歝歞歟歠歡歨歩歫歬歭歮歯歰歱歲歳歴歵歶歷歸歺歽歾歿殀殅殈<E6AE85>殌殎殏殐殑殔殕殗殘殙殜殝殞殟殠殢殣殤殥殦殧殨殩殫殬殭殮殯殰殱殲殶殸殹殺殻殼殽殾毀毃毄毆毇毈毉毊毌毎毐毑毘毚毜毝毞毟毠毢毣毤毥毦毧毨毩毬毭毮毰毱毲毴毶毷毸毺毻毼毾毿氀氁氂氃氄氈氉氊氋氌氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋汌汍汎汏汑汒汓汖汘<E6B196>".split(""),e=0;e!=r[154].length;++e)65533!==r[154][e].charCodeAt(0)&&(n[r[154][e]]=39424+e,t[39424+e]=r[154][e]);for(r[155]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汙汚汢汣汥汦汧汫汬汭汮汯汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘<E6B392>泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟洠洡洢洣洤洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽浾浿涀涁涃涄涆涇涊涋涍涏涐涒涖涗涘涙涚涜涢涥涬涭涰涱涳涴涶涷涹涺涻涼涽涾淁淂淃淈淉淊<E6B789>".split(""),e=0;e!=r[155].length;++e)65533!==r[155][e].charCodeAt(0)&&(n[r[155][e]]=39680+e,t[39680+e]=r[155][e]);for(r[156]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽淾淿渀渁渂渃渄渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵<E6B8B3>渶渷渹渻渼渽渾渿湀湁湂湅湆湇湈湉湊湋湌湏湐湑湒湕湗湙湚湜湝湞湠湡湢湣湤湥湦湧湨湩湪湬湭湯湰湱湲湳湴湵湶湷湸湹湺湻湼湽満溁溂溄溇溈溊溋溌溍溎溑溒溓溔溕準溗溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪滫滬滭滮滯<E6BBAE>".split(""),e=0;e!=r[156].length;++e)65533!==r[156][e].charCodeAt(0)&&(n[r[156][e]]=39936+e,t[39936+e]=r[156][e]);for(r[157]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>滰滱滲滳滵滶滷滸滺滻滼滽滾滿漀漁漃漄漅漇漈漊漋漌漍漎漐漑漒漖漗漘漙漚漛漜漝漞漟漡漢漣漥漦漧漨漬漮漰漲漴漵漷漸漹漺漻漼漽漿潀潁潂<E6BD81>潃潄潅潈潉潊潌潎潏潐潑潒潓潔潕潖潗潙潚潛潝潟潠潡潣潤潥潧潨潩潪潫潬潯潰潱潳潵潶潷潹潻潽潾潿澀澁澂澃澅澆澇澊澋澏澐澑澒澓澔澕澖澗澘澙澚澛澝澞澟澠澢澣澤澥澦澨澩澪澫澬澭澮澯澰澱澲澴澵澷澸澺澻澼澽澾澿濁濃濄濅濆濇濈濊濋濌濍濎濏濐濓濔濕濖濗濘濙濚濛濜濝濟濢濣濤濥<E6BFA4>".split(""),e=0;e!=r[157].length;++e)65533!==r[157][e].charCodeAt(0)&&(n[r[157][e]]=40192+e,t[40192+e]=r[157][e]);for(r[158]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>濦濧濨濩濪濫濬濭濰濱濲濳濴濵濶濷濸濹濺濻濼濽濾濿瀀瀁瀂瀃瀄瀅瀆瀇瀈瀉瀊瀋瀌瀍瀎瀏瀐瀒瀓瀔瀕瀖瀗瀘瀙瀜瀝瀞瀟瀠瀡瀢瀤瀥瀦瀧瀨瀩瀪<E780A9>瀫瀬瀭瀮瀯瀰瀱瀲瀳瀴瀶瀷瀸瀺瀻瀼瀽瀾瀿灀灁灂灃灄灅灆灇灈灉灊灋灍灎灐灑灒灓灔灕灖灗灘灙灚灛灜灝灟灠灡灢灣灤灥灦灧灨灩灪灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞炟炠炡炢炣炤炥炦炧炨炩炪炰炲炴炵炶為炾炿烄烅烆烇烉烋烌烍烎烏烐烑烒烓烔烕烖烗烚<E78397>".split(""),e=0;e!=r[158].length;++e)65533!==r[158][e].charCodeAt(0)&&(n[r[158][e]]=40448+e,t[40448+e]=r[158][e]);for(r[159]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>烜烝烞烠烡烢烣烥烪烮烰烱烲烳烴烵烶烸烺烻烼烾烿焀焁焂焃焄焅焆焇焈焋焌焍焎焏焑焒焔焗焛焜焝焞焟焠無焢焣焤焥焧焨焩焪焫焬焭焮焲焳焴<E784B3>焵焷焸焹焺焻焼焽焾焿煀煁煂煃煄煆煇煈煉煋煍煏煐煑煒煓煔煕煖煗煘煙煚煛煝煟煠煡煢煣煥煩煪煫煬煭煯煰煱煴煵煶煷煹煻煼煾煿熀熁熂熃熅熆熇熈熉熋熌熍熎熐熑熒熓熕熖熗熚熛熜熝熞熡熢熣熤熥熦熧熩熪熫熭熮熯熰熱熲熴熶熷熸熺熻熼熽熾熿燀燁燂燄燅燆燇燈燉燊燋燌燍燏燐燑燒燓<E78792>".split(""),e=0;e!=r[159].length;++e)65533!==r[159][e].charCodeAt(0)&&(n[r[159][e]]=40704+e,t[40704+e]=r[159][e]);for(r[160]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>燖燗燘燙燚燛燜燝燞營燡燢燣燤燦燨燩燪燫燬燭燯燰燱燲燳燴燵燶燷燸燺燻燼燽燾燿爀爁爂爃爄爅爇爈爉爊爋爌爍爎爏爐爑爒爓爔爕爖爗爘爙爚<E78899>爛爜爞爟爠爡爢爣爤爥爦爧爩爫爭爮爯爲爳爴爺爼爾牀牁牂牃牄牅牆牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅犆犇犈犉犌犎犐犑犓犔犕犖犗犘犙犚犛犜犝犞犠犡犢犣犤犥犦犧犨犩犪犫犮犱犲犳犵犺犻犼犽犾犿狀狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛<E78B9A>".split(""),e=0;e!=r[160].length;++e)65533!==r[160][e].charCodeAt(0)&&(n[r[160][e]]=40960+e,t[40960+e]=r[160][e]);for(r[161]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 、。·ˉˇ¨〃々—‖…“”〈〉《》「」『』〖〗【】±×÷∑∏∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°″℃¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓<E28693>".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ⅱⅲⅳⅵⅶⅷⅸ<E285B8><E285B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩<E291A8><E291A9>㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩<E388A8><E388A9>ⅡⅢⅣⅥⅦⅧⅨⅪⅫ<E285AA><E285AB><EFBFBD>".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBD9D>".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん<E38292><E38293><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ<E383B5><E383B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ<CEA8><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>αβγδεζηθικλμνξοπρστυφχψω<CF88><CF89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>︵︶︹︺︿﹀︽︾﹁﹂﹃﹄<EFB983><EFB984>︻︼︷︸︱<EFB8B8>︳︴<EFB8B3><EFB8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ<D0AE><D0AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>абвгдеёжзийклмнопрстуфхцчшщъыьэюя<D18E><D18F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˊˋ˙―‥℅℉↖↗↘↙≒≦≧⊿═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰▁▂▃▄▅▆▇<E29686>█▉▊▋▌▍▎▏▓▔▕▼▽◢◣◤◥☉⊕〒〝〞<E3809D><E3809E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ<C3AA>ńň<C584>ɡ<EFBFBD><C9A1><EFBFBD><EFBFBD>ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ<E384A8><E384A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>〡〢〣〤〥〦〧〨〩㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕¬¦<EFBFA2>℡㈱<E284A1><EFBFBD><E28090><EFBFBD>ー゛゜ヽヾ〆ゝゞ﹉﹊﹋﹌﹐﹑﹒﹔﹕﹖﹗﹙﹚﹛﹜﹝﹞﹟﹠﹡<EFB9A0>﹢﹣﹤﹥﹦﹩﹪﹫<EFB9AA><EFB9AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E38087><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋<E2958A><E2958B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[170]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>狜狝狟狢狣狤狥狦狧狪狫狵狶狹狽狾狿猀猂猄猅猆猇猈猉猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀獁獂獃獄獅獆獇獈<E78D87>獉獊獋獌獎獏獑獓獔獕獖獘獙獚獛獜獝獞獟獡獢獣獤獥獦獧獨獩獪獫獮獰獱<E78DB0><E78DB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[170].length;++e)65533!==r[170][e].charCodeAt(0)&&(n[r[170][e]]=43520+e,t[43520+e]=r[170][e]);for(r[171]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>獲獳獴獵獶獷獸獹獺獻獼獽獿玀玁玂玃玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣玤玥玦玧玨玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃珄珅珆珇<E78F86>珋珌珎珒珓珔珕珖珗珘珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳珴珵珶珷<E78FB6><E78FB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[171].length;++e)65533!==r[171][e].charCodeAt(0)&&(n[r[171][e]]=43776+e,t[43776+e]=r[171][e]);for(r[172]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>珸珹珺珻珼珽現珿琀琁琂琄琇琈琋琌琍琎琑琒琓琔琕琖琗琘琙琜琝琞琟琠琡琣琤琧琩琫琭琯琱琲琷琸琹琺琻琽琾琿瑀瑂瑃瑄瑅瑆瑇瑈瑉瑊瑋瑌瑍<E7918C>瑎瑏瑐瑑瑒瑓瑔瑖瑘瑝瑠瑡瑢瑣瑤瑥瑦瑧瑨瑩瑪瑫瑬瑮瑯瑱瑲瑳瑴瑵瑸瑹瑺<E791B9><E791BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[172].length;++e)65533!==r[172][e].charCodeAt(0)&&(n[r[172][e]]=44032+e,t[44032+e]=r[172][e]);for(r[173]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑璒璓璔璕璖璗璘璙璚璛璝璟璠璡璢璣璤璥璦璪璫璬璭璮璯環璱璲璳璴璵璶璷璸璹璻璼璽璾璿瓀瓁瓂瓃瓄瓅瓆瓇<E79386>瓈瓉瓊瓋瓌瓍瓎瓏瓐瓑瓓瓔瓕瓖瓗瓘瓙瓚瓛瓝瓟瓡瓥瓧瓨瓩瓪瓫瓬瓭瓰瓱瓲<E793B1><E793B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[173].length;++e)65533!==r[173][e].charCodeAt(0)&&(n[r[173][e]]=44288+e,t[44288+e]=r[173][e]);for(r[174]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瓳瓵瓸瓹瓺瓻瓼瓽瓾甀甁甂甃甅甆甇甈甉甊甋甌甎甐甒甔甕甖甗甛甝甞甠甡產産甤甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘<E79597>畝畞畟畠畡畢畣畤畧畨畩畫畬畭畮畯異畱畳畵當畷畺畻畼畽畾疀疁疂疄疅疇<E79685><E79687><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[174].length;++e)65533!==r[174][e].charCodeAt(0)&&(n[r[174][e]]=44544+e,t[44544+e]=r[174][e]);for(r[175]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦疧疨疩疪疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇<E79886>瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄<E79982><E79984><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[175].length;++e)65533!==r[175][e].charCodeAt(0)&&(n[r[175][e]]=44800+e,t[44800+e]=r[175][e]);for(r[176]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>癅癆癇癈癉癊癋癎癏癐癑癒癓癕癗癘癙癚癛癝癟癠癡癢癤癥癦癧癨癩癪癬癭癮癰癱癲癳癴癵癶癷癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛<E79A9A>皜皝皞皟皠皡皢皣皥皦皧皨皩皪皫皬皭皯皰皳皵皶皷皸皹皺皻皼皽皾盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥<E8A492>".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>盄盇盉盋盌盓盕盙盚盜盝盞盠盡盢監盤盦盧盨盩盪盫盬盭盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎眏眐眑眒眓眔眕眖眗眘眛眜眝眞眡眣眤眥眧眪眫<E79CAA>眬眮眰眱眲眳眴眹眻眽眾眿睂睄睅睆睈睉睊睋睌睍睎睏睒睓睔睕睖睗睘睙睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳<E9A5BC>".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>睝睞睟睠睤睧睩睪睭睮睯睰睱睲睳睴睵睶睷睸睺睻睼瞁瞂瞃瞆瞇瞈瞉瞊瞋瞏瞐瞓瞔瞕瞖瞗瞘瞙瞚瞛瞜瞝瞞瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶瞷瞸瞹瞺<E79EB9>瞼瞾矀矁矂矃矄矅矆矇矈矉矊矋矌矎矏矐矑矒矓矔矕矖矘矙矚矝矞矟矠矡矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖<E6988C>".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃砄砅砆砇砈砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚<E7A199>硛硜硞硟硠硡硢硣硤硥硦硧硨硩硯硰硱硲硳硴硵硶硸硹硺硻硽硾硿碀碁碂碃场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚<E999A4>".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨碩碪碫碬碭碮碯碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚磛磜磝磞磟磠磡磢磣<E7A3A2>磤磥磦磧磩磪磫磭磮磯磰磱磳磵磶磸磹磻磼磽磾磿礀礂礃礄礆礇礈礉礊礋礌础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮<E5BE85>".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>礍礎礏礐礑礒礔礕礖礗礘礙礚礛礜礝礟礠礡礢礣礥礦礧礨礩礪礫礬礭礮礯礰礱礲礳礵礶礷礸礹礽礿祂祃祄祅祇祊祋祌祍祎祏祐祑祒祔祕祘祙祡祣<E7A5A1>祤祦祩祪祫祬祮祰祱祲祳祴祵祶祹祻祼祽祾祿禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠<E8B08D>".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>禓禔禕禖禗禘禙禛禜禝禞禟禠禡禢禣禤禥禦禨禩禪禫禬禭禮禯禰禱禲禴禵禶禷禸禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙秚秛秜秝秞秠秡秢秥秨秪<E7A7A8>秬秮秱秲秳秴秵秶秷秹秺秼秾秿稁稄稅稇稈稉稊稌稏稐稑稒稓稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二<E6B4B1>".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>稝稟稡稢稤稥稦稧稨稩稪稫稬稭種稯稰稱稲稴稵稶稸稺稾穀穁穂穃穄穅穇穈穉穊穋穌積穎穏穐穒穓穔穕穖穘穙穚穛穜穝穞穟穠穡穢穣穤穥穦穧穨<E7A9A7>穩穪穫穬穭穮穯穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服<E4BF98>".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>窣窤窧窩窪窫窮窯窰窱窲窴窵窶窷窸窹窺窻窼窽窾竀竁竂竃竄竅竆竇竈竉竊竌竍竎竏竐竑竒竓竔竕竗竘竚竛竜竝竡竢竤竧竨竩竪竫竬竮竰竱竲竳<E7ABB2>竴竵競竷竸竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹<E5BA9A>".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>笯笰笲笴笵笶笷笹笻笽笿筀筁筂筃筄筆筈筊筍筎筓筕筗筙筜筞筟筡筣筤筥筦筧筨筩筪筫筬筭筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆箇箈箉箊箋箌箎箏<E7AE8E>箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹箺箻箼箽箾箿節篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈<E8BF87>".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>篅篈築篊篋篍篎篏篐篒篔篕篖篗篘篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲篳篴篵篶篸篹篺篻篽篿簀簁簂簃簄簅簆簈簉簊簍簎簐簑簒簓簔簕簗簘簙<E7B098>簚簛簜簝簞簠簡簢簣簤簥簨簩簫簬簭簮簯簰簱簲簳簴簵簶簷簹簺簻簼簽簾籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖<E7B38A>".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>籃籄籅籆籇籈籉籊籋籌籎籏籐籑籒籓籔籕籖籗籘籙籚籛籜籝籞籟籠籡籢籣籤籥籦籧籨籩籪籫籬籭籮籯籰籱籲籵籶籷籸籹籺籾籿粀粁粂粃粄粅粆粇<E7B286>粈粊粋粌粍粎粏粐粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴粵粶粷粸粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕<E7A7AF>".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>粿糀糂糃糄糆糉糋糎糏糐糑糒糓糔糘糚糛糝糞糡糢糣糤糥糦糧糩糪糫糬糭糮糰糱糲糳糴糵糶糷糹糺糼糽糾糿紀紁紂紃約紅紆紇紈紉紋紌納紎紏紐<E7B48F>紑紒紓純紕紖紗紘紙級紛紜紝紞紟紡紣紤紥紦紨紩紪紬紭紮細紱紲紳紴紵紶肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件<E7AEAD>".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>紷紸紹紺紻紼紽紾紿絀絁終絃組絅絆絇絈絉絊絋経絍絎絏結絑絒絓絔絕絖絗絘絙絚絛絜絝絞絟絠絡絢絣絤絥給絧絨絩絪絫絬絭絯絰統絲絳絴絵絶<E7B5B5>絸絹絺絻絼絽絾絿綀綁綂綃綄綅綆綇綈綉綊綋綌綍綎綏綐綑綒經綔綕綖綗綘健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸<E783AC>".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>継続綛綜綝綞綟綠綡綢綣綤綥綧綨綩綪綫綬維綯綰綱網綳綴綵綶綷綸綹綺綻綼綽綾綿緀緁緂緃緄緅緆緇緈緉緊緋緌緍緎総緐緑緒緓緔緕緖緗緘緙<E7B798>線緛緜緝緞緟締緡緢緣緤緥緦緧編緩緪緫緬緭緮緯緰緱緲緳練緵緶緷緸緹緺尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻<E5909B>".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>緻緼緽緾緿縀縁縂縃縄縅縆縇縈縉縊縋縌縍縎縏縐縑縒縓縔縕縖縗縘縙縚縛縜縝縞縟縠縡縢縣縤縥縦縧縨縩縪縫縬縭縮縯縰縱縲縳縴縵縶縷縸縹<E7B8B8>縺縼總績縿繀繂繃繄繅繆繈繉繊繋繌繍繎繏繐繑繒繓織繕繖繗繘繙繚繛繜繝俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀<E9AD81>".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>繞繟繠繡繢繣繤繥繦繧繨繩繪繫繬繭繮繯繰繱繲繳繴繵繶繷繸繹繺繻繼繽繾繿纀纁纃纄纅纆纇纈纉纊纋續纍纎纏纐纑纒纓纔纕纖纗纘纙纚纜纝纞<E7BA9D>纮纴纻纼绖绤绬绹缊缐缞缷缹缻缼缽缾缿罀罁罃罆罇罈罉罊罋罌罍罎罏罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐<E4BE8B>".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>罖罙罛罜罝罞罠罣罤罥罦罧罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂羃羄羅羆羇羈羉羋羍羏羐羑羒羓羕羖羗羘羙羛羜羠羢羣羥羦羨義羪羫羬羭羮羱<E7BEAE>羳羴羵羶羷羺羻羾翀翂翃翄翆翇翈翉翋翍翏翐翑習翓翖翗翙翚翛翜翝翞翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿<E7ACBC>".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>翤翧翨翪翫翬翭翯翲翴翵翶翷翸翹翺翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫耬耭耮耯耰耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗<E88196>聙聛聜聝聞聟聠聡聢聣聤聥聦聧聨聫聬聭聮聯聰聲聳聴聵聶職聸聹聺聻聼聽隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫<E685A2>".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>聾肁肂肅肈肊肍肎肏肐肑肒肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇胈胉胊胋胏胐胑胒胓胔胕胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋<E88488>脌脕脗脙脛脜脝脟脠脡脢脣脤脥脦脧脨脩脪脫脭脮脰脳脴脵脷脹脺脻脼脽脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸<E8B0AC>".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>腀腁腂腃腄腅腇腉腍腎腏腒腖腗腘腛腜腝腞腟腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃膄膅膆膇膉膋膌膍膎膐膒膓膔膕膖膗膙膚膞膟膠膡膢膤膥<E886A4>膧膩膫膬膭膮膯膰膱膲膴膵膶膷膸膹膼膽膾膿臄臅臇臈臉臋臍臎臏臐臑臒臓摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁<E5879D>".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>臔臕臖臗臘臙臚臛臜臝臞臟臠臡臢臤臥臦臨臩臫臮臯臰臱臲臵臶臷臸臹臺臽臿舃與興舉舊舋舎舏舑舓舕舖舗舘舙舚舝舠舤舥舦舧舩舮舲舺舼舽舿<E888BD>艀艁艂艃艅艆艈艊艌艍艎艐艑艒艓艔艕艖艗艙艛艜艝艞艠艡艢艣艤艥艦艧艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗<E790B5>".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸<E88BB6>苺苼苽苾苿茀茊茋茍茐茒茓茖茘茙茝茞茟茠茡茢茣茤茥茦茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐<E8AEAB>".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[199]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>茾茿荁荂荄荅荈荊荋荌荍荎荓荕荖荗荘荙荝荢荰荱荲荳荴荵荶荹荺荾荿莀莁莂莃莄莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡莢莣莤莥莦莧莬莭莮<E88EAD>莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠<E9A9B1>".split(""),e=0;e!=r[199].length;++e)65533!==r[199][e].charCodeAt(0)&&(n[r[199][e]]=50944+e,t[50944+e]=r[199][e]);for(r[200]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>菮華菳菴菵菶菷菺菻菼菾菿萀萂萅萇萈萉萊萐萒萓萔萕萖萗萙萚萛萞萟萠萡萢萣萩萪萫萬萭萮萯萰萲萳萴萵萶萷萹萺萻萾萿葀葁葂葃葄葅葇葈葉<E89188>葊葋葌葍葎葏葐葒葓葔葕葖葘葝葞葟葠葢葤葥葦葧葨葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁<E4B889>".split(""),e=0;e!=r[200].length;++e)65533!==r[200][e].charCodeAt(0)&&(n[r[200][e]]=51200+e,t[51200+e]=r[200][e]);for(r[201]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>葽葾葿蒀蒁蒃蒄蒅蒆蒊蒍蒏蒐蒑蒒蒓蒔蒕蒖蒘蒚蒛蒝蒞蒟蒠蒢蒣蒤蒥蒦蒧蒨蒩蒪蒫蒬蒭蒮蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗<E89395>蓘蓙蓚蓛蓜蓞蓡蓢蓤蓧蓨蓩蓪蓫蓭蓮蓯蓱蓲蓳蓴蓵蓶蓷蓸蓹蓺蓻蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳<E58D87>".split(""),e=0;e!=r[201].length;++e)65533!==r[201][e].charCodeAt(0)&&(n[r[201][e]]=51456+e,t[51456+e]=r[201][e]);for(r[202]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蔃蔄蔅蔆蔇蔈蔉蔊蔋蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢蔣蔤蔥蔦蔧蔨蔩蔪蔭蔮蔯蔰蔱蔲蔳蔴蔵蔶蔾蔿蕀蕁蕂蕄蕅蕆蕇蕋蕌蕍蕎蕏蕐蕑蕒蕓蕔蕕<E89594>蕗蕘蕚蕛蕜蕝蕟蕠蕡蕢蕣蕥蕦蕧蕩蕪蕫蕬蕭蕮蕯蕰蕱蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱<E695B0>".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>薂薃薆薈薉薊薋薌薍薎薐薑薒薓薔薕薖薗薘薙薚薝薞薟薠薡薢薣薥薦薧薩薫薬薭薱薲薳薴薵薶薸薺薻薼薽薾薿藀藂藃藄藅藆藇藈藊藋藌藍藎藑藒<E89791>藔藖藗藘藙藚藛藝藞藟藠藡藢藣藥藦藧藨藪藫藬藭藮藯藰藱藲藳藴藵藶藷藸恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔<E5A5B9>".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>藹藺藼藽藾蘀蘁蘂蘃蘄蘆蘇蘈蘉蘊蘋蘌蘍蘎蘏蘐蘒蘓蘔蘕蘗蘘蘙蘚蘛蘜蘝蘞蘟蘠蘡蘢蘣蘤蘥蘦蘨蘪蘫蘬蘭蘮蘯蘰蘱蘲蘳蘴蘵蘶蘷蘹蘺蘻蘽蘾蘿虀<E898BF>虁虂虃虄虅虆虇虈虉虊虋虌虒虓處虖虗虘虙虛虜虝號虠虡虣虤虥虦虧虨虩虪獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃<E590AC>".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>虭虯虰虲虳虴虵虶虷虸蚃蚄蚅蚆蚇蚈蚉蚎蚏蚐蚑蚒蚔蚖蚗蚘蚙蚚蚛蚞蚟蚠蚡蚢蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻蚼蚽蚾蚿蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜<E89B9A>蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威<E5A684>".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀蝁蝂蝃蝄蝅蝆蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚蝛蝜蝝蝞蝟蝡蝢蝦蝧蝨蝩蝪蝫蝬蝭蝯蝱蝲蝳蝵<E89DB3>蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎螏螐螑螒螔螕螖螘螙螚螛螜螝螞螠螡螢螣螤巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺<E994A1>".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁蟂蟃蟄蟅蟇蟈蟉蟌蟍蟎蟏蟐蟔蟕蟖蟗蟘蟙蟚蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯蟰蟱蟲蟳蟴蟵蟶蟷蟸<E89FB7>蟺蟻蟼蟽蟿蠀蠁蠂蠄蠅蠆蠇蠈蠉蠋蠌蠍蠎蠏蠐蠑蠒蠔蠗蠘蠙蠚蠜蠝蠞蠟蠠蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓<E6B786>".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蠤蠥蠦蠧蠨蠩蠪蠫蠬蠭蠮蠯蠰蠱蠳蠴蠵蠶蠷蠸蠺蠻蠽蠾蠿衁衂衃衆衇衈衉衊衋衎衏衐衑衒術衕衖衘衚衛衜衝衞衟衠衦衧衪衭衯衱衳衴衵衶衸衹衺<E8A1B9>衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗袘袙袚袛袝袞袟袠袡袣袥袦袧袨袩袪小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄<E6978B>".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>袬袮袯袰袲袳袴袵袶袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚裛補裝裞裠裡裦裧裩裪裫裬裭裮裯裲裵裶裷裺裻製裿褀褁褃褄褅褆複褈<E8A487>褉褋褌褍褎褏褑褔褕褖褗褘褜褝褞褟褠褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶<E5A696>".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>褸褹褺褻褼褽褾褿襀襂襃襅襆襇襈襉襊襋襌襍襎襏襐襑襒襓襔襕襖襗襘襙襚襛襜襝襠襡襢襣襤襥襧襨襩襪襫襬襭襮襯襰襱襲襳襴襵襶襷襸襹襺襼<E8A5BA>襽襾覀覂覄覅覇覈覉覊見覌覍覎規覐覑覒覓覔覕視覗覘覙覚覛覜覝覞覟覠覡摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐<E5BC95>".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>覢覣覤覥覦覧覨覩親覫覬覭覮覯覰覱覲観覴覵覶覷覸覹覺覻覼覽覾覿觀觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴觵觶觷觸觹觺<E8A7B9>觻觼觽觾觿訁訂訃訄訅訆計訉訊訋訌訍討訏訐訑訒訓訔訕訖託記訙訚訛訜訝印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉<E882B2>".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>訞訟訠訡訢訣訤訥訦訧訨訩訪訫訬設訮訯訰許訲訳訴訵訶訷訸訹診註証訽訿詀詁詂詃詄詅詆詇詉詊詋詌詍詎詏詐詑詒詓詔評詖詗詘詙詚詛詜詝詞<E8A99D>詟詠詡詢詣詤詥試詧詨詩詪詫詬詭詮詯詰話該詳詴詵詶詷詸詺詻詼詽詾詿誀浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧<E69CAD>".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>誁誂誃誄誅誆誇誈誋誌認誎誏誐誑誒誔誕誖誗誘誙誚誛誜誝語誟誠誡誢誣誤誥誦誧誨誩說誫説読誮誯誰誱課誳誴誵誶誷誸誹誺誻誼誽誾調諀諁諂<E8AB81>諃諄諅諆談諈諉諊請諌諍諎諏諐諑諒諓諔諕論諗諘諙諚諛諜諝諞諟諠諡諢諣铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政<E6ADA3>".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>諤諥諦諧諨諩諪諫諬諭諮諯諰諱諲諳諴諵諶諷諸諹諺諻諼諽諾諿謀謁謂謃謄謅謆謈謉謊謋謌謍謎謏謐謑謒謓謔謕謖謗謘謙謚講謜謝謞謟謠謡謢謣<E8ACA2>謤謥謧謨謩謪謫謬謭謮謯謰謱謲謳謴謵謶謷謸謹謺謻謼謽謾謿譀譁譂譃譄譅帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑<E993B8>".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>譆譇譈證譊譋譌譍譎譏譐譑譒譓譔譕譖譗識譙譚譛譜譝譞譟譠譡譢譣譤譥譧譨譩譪譫譭譮譯議譱譲譳譴譵譶護譸譹譺譻譼譽譾譿讀讁讂讃讄讅讆<E8AE85>讇讈讉變讋讌讍讎讏讐讑讒讓讔讕讖讗讘讙讚讛讜讝讞讟讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座<E59D90><E5BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>谸谹谺谻谼谽谾谿豀豂豃豄豅豈豊豋豍豎豏豐豑豒豓豔豖豗豘豙豛豜豝豞豟豠豣豤豥豦豧豨豩豬豭豮豯豰豱豲豴豵豶豷豻豼豽豾豿貀貁貃貄貆貇<E8B286>貈貋貍貎貏貐貑貒貓貕貖貗貙貚貛貜貝貞貟負財貢貣貤貥貦貧貨販貪貫責貭亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝<E4BD9A>".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>貮貯貰貱貲貳貴貵貶買貸貹貺費貼貽貾貿賀賁賂賃賄賅賆資賈賉賊賋賌賍賎賏賐賑賒賓賔賕賖賗賘賙賚賛賜賝賞賟賠賡賢賣賤賥賦賧賨賩質賫賬<E8B3AB>賭賮賯賰賱賲賳賴賵賶賷賸賹賺賻購賽賾賿贀贁贂贃贄贅贆贇贈贉贊贋贌贍佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼<E586BD>".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>贎贏贐贑贒贓贔贕贖贗贘贙贚贛贜贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸赹赺赻赼赽赾赿趀趂趃趆趇趈趉趌趍趎趏趐趒趓趕趖趗趘趙趚趛趜趝趞趠趡<E8B6A0>趢趤趥趦趧趨趩趪趫趬趭趮趯趰趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺<E982B6>".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾跿踀踁踂踃踄踆踇踈踋踍踎踐踑踒踓踕踖踗踘踙踚踛踜踠踡踤踥踦踧踨踫踭踰踲踳踴踶踷踸踻踼踾<E8B8BC>踿蹃蹅蹆蹌蹍蹎蹏蹐蹓蹔蹕蹖蹗蹘蹚蹛蹜蹝蹞蹟蹠蹡蹢蹣蹤蹥蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝<E59FA4>".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蹳蹵蹷蹸蹹蹺蹻蹽蹾躀躂躃躄躆躈躉躊躋躌躍躎躑躒躓躕躖躗躘躙躚躛躝躟躠躡躢躣躤躥躦躧躨躩躪躭躮躰躱躳躴躵躶躷躸躹躻躼躽躾躿軀軁軂<E8BB81>軃軄軅軆軇軈軉車軋軌軍軏軐軑軒軓軔軕軖軗軘軙軚軛軜軝軞軟軠軡転軣軤堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥<E88DA6>".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>軥軦軧軨軩軪軫軬軭軮軯軰軱軲軳軴軵軶軷軸軹軺軻軼軽軾軿輀輁輂較輄輅輆輇輈載輊輋輌輍輎輏輐輑輒輓輔輕輖輗輘輙輚輛輜輝輞輟輠輡輢輣<E8BCA2>輤輥輦輧輨輩輪輫輬輭輮輯輰輱輲輳輴輵輶輷輸輹輺輻輼輽輾輿轀轁轂轃轄荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺<E8949F>".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>轅轆轇轈轉轊轋轌轍轎轏轐轑轒轓轔轕轖轗轘轙轚轛轜轝轞轟轠轡轢轣轤轥轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆<E8BF83>迉迊迋迌迍迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖<E691AD>".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>這逜連逤逥逧逨逩逪逫逬逰週進逳逴逷逹逺逽逿遀遃遅遆遈遉遊運遌過達違遖遙遚遜遝遞遟遠遡遤遦遧適遪遫遬遯遰遱遲遳遶遷選遹遺遻遼遾邁<E981BE>還邅邆邇邉邊邌邍邎邏邐邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼<E59590>".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅鄆鄇鄈鄉鄊鄋鄌鄍鄎鄏鄐鄑鄒鄓鄔鄕鄖鄗鄘鄚鄛鄜<E9849B>鄝鄟鄠鄡鄤鄥鄦鄧鄨鄩鄪鄫鄬鄭鄮鄰鄲鄳鄴鄵鄶鄷鄸鄺鄻鄼鄽鄾鄿酀酁酂酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼<E5B8BB>".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀醁醂醃醄醆醈醊醎醏醓醔醕醖醗醘醙醜醝醞醟醠醡醤醥醦醧醨醩醫醬醰醱醲醳醶醷醸醹醻<E986B9>醼醽醾醿釀釁釂釃釄釅釆釈釋釐釒釓釔釕釖釗釘釙釚釛針釞釟釠釡釢釣釤釥帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺<E78C83>".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>釦釧釨釩釪釫釬釭釮釯釰釱釲釳釴釵釶釷釸釹釺釻釼釽釾釿鈀鈁鈂鈃鈄鈅鈆鈇鈈鈉鈊鈋鈌鈍鈎鈏鈐鈑鈒鈓鈔鈕鈖鈗鈘鈙鈚鈛鈜鈝鈞鈟鈠鈡鈢鈣鈤<E988A3>鈥鈦鈧鈨鈩鈪鈫鈬鈭鈮鈯鈰鈱鈲鈳鈴鈵鈶鈷鈸鈹鈺鈻鈼鈽鈾鈿鉀鉁鉂鉃鉄鉅狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂<E681BA>".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鉆鉇鉈鉉鉊鉋鉌鉍鉎鉏鉐鉑鉒鉓鉔鉕鉖鉗鉘鉙鉚鉛鉜鉝鉞鉟鉠鉡鉢鉣鉤鉥鉦鉧鉨鉩鉪鉫鉬鉭鉮鉯鉰鉱鉲鉳鉵鉶鉷鉸鉹鉺鉻鉼鉽鉾鉿銀銁銂銃銄銅<E98A84>銆銇銈銉銊銋銌銍銏銐銑銒銓銔銕銖銗銘銙銚銛銜銝銞銟銠銡銢銣銤銥銦銧恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾<E6B3AF>".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>銨銩銪銫銬銭銯銰銱銲銳銴銵銶銷銸銹銺銻銼銽銾銿鋀鋁鋂鋃鋄鋅鋆鋇鋉鋊鋋鋌鋍鋎鋏鋐鋑鋒鋓鋔鋕鋖鋗鋘鋙鋚鋛鋜鋝鋞鋟鋠鋡鋢鋣鋤鋥鋦鋧鋨<E98BA7>鋩鋪鋫鋬鋭鋮鋯鋰鋱鋲鋳鋴鋵鋶鋷鋸鋹鋺鋻鋼鋽鋾鋿錀錁錂錃錄錅錆錇錈錉洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑<E6BDBA>".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>錊錋錌錍錎錏錐錑錒錓錔錕錖錗錘錙錚錛錜錝錞錟錠錡錢錣錤錥錦錧錨錩錪錫錬錭錮錯錰錱録錳錴錵錶錷錸錹錺錻錼錽錿鍀鍁鍂鍃鍄鍅鍆鍇鍈鍉<E98D88>鍊鍋鍌鍍鍎鍏鍐鍑鍒鍓鍔鍕鍖鍗鍘鍙鍚鍛鍜鍝鍞鍟鍠鍡鍢鍣鍤鍥鍦鍧鍨鍩鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣<E5A6AA>".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鍬鍭鍮鍯鍰鍱鍲鍳鍴鍵鍶鍷鍸鍹鍺鍻鍼鍽鍾鍿鎀鎁鎂鎃鎄鎅鎆鎇鎈鎉鎊鎋鎌鎍鎎鎐鎑鎒鎓鎔鎕鎖鎗鎘鎙鎚鎛鎜鎝鎞鎟鎠鎡鎢鎣鎤鎥鎦鎧鎨鎩鎪鎫<E98EAA>鎬鎭鎮鎯鎰鎱鎲鎳鎴鎵鎶鎷鎸鎹鎺鎻鎼鎽鎾鎿鏀鏁鏂鏃鏄鏅鏆鏇鏈鏉鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩<E7BAA8>".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鏎鏏鏐鏑鏒鏓鏔鏕鏗鏘鏙鏚鏛鏜鏝鏞鏟鏠鏡鏢鏣鏤鏥鏦鏧鏨鏩鏪鏫鏬鏭鏮鏯鏰鏱鏲鏳鏴鏵鏶鏷鏸鏹鏺鏻鏼鏽鏾鏿鐀鐁鐂鐃鐄鐅鐆鐇鐈鐉鐊鐋鐌鐍<E9908C>鐎鐏鐐鐑鐒鐓鐔鐕鐖鐗鐘鐙鐚鐛鐜鐝鐞鐟鐠鐡鐢鐣鐤鐥鐦鐧鐨鐩鐪鐫鐬鐭鐮纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬<E790AE>".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鐯鐰鐱鐲鐳鐴鐵鐶鐷鐸鐹鐺鐻鐼鐽鐿鑀鑁鑂鑃鑄鑅鑆鑇鑈鑉鑊鑋鑌鑍鑎鑏鑐鑑鑒鑓鑔鑕鑖鑗鑘鑙鑚鑛鑜鑝鑞鑟鑠鑡鑢鑣鑤鑥鑦鑧鑨鑩鑪鑬鑭鑮鑯<E991AE>鑰鑱鑲鑳鑴鑵鑶鑷鑸鑹鑺鑻鑼鑽鑾鑿钀钁钂钃钄钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹<E6A4A0>".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>锧锳锽镃镈镋镕镚镠镮镴镵長镸镹镺镻镼镽镾門閁閂閃閄閅閆閇閈閉閊開閌閍閎閏閐閑閒間閔閕閖閗閘閙閚閛閜閝閞閟閠閡関閣閤閥閦閧閨閩閪<E996A9>閫閬閭閮閯閰閱閲閳閴閵閶閷閸閹閺閻閼閽閾閿闀闁闂闃闄闅闆闇闈闉闊闋椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋<E8BE87>".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>闌闍闎闏闐闑闒闓闔闕闖闗闘闙闚闛關闝闞闟闠闡闢闣闤闥闦闧闬闿阇阓阘阛阞阠阣阤阥阦阧阨阩阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗<E99996>陘陙陚陜陝陞陠陣陥陦陫陭陮陯陰陱陳陸陹険陻陼陽陾陿隀隁隂隃隄隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰<E68CB2>".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>隌階隑隒隓隕隖隚際隝隞隟隠隡隢隣隤隥隦隨隩險隫隬隭隮隯隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖雗雘雙雚雛雜雝雞雟雡離難雤雥雦雧雫<E99BA7>雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗霘霙霚霛霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻<E8878A>".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>霡霢霣霤霥霦霧霨霩霫霬霮霯霱霳霴霵霶霷霺霻霼霽霿靀靁靂靃靄靅靆靇靈靉靊靋靌靍靎靏靐靑靔靕靗靘靚靜靝靟靣靤靦靧靨靪靫靬靭靮靯靰靱<E99DB0>靲靵靷靸靹靺靻靽靾靿鞀鞁鞂鞃鞄鞆鞇鞈鞉鞊鞌鞎鞏鞐鞓鞕鞖鞗鞙鞚鞛鞜鞝臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐<E5BF91>".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鞞鞟鞡鞢鞤鞥鞦鞧鞨鞩鞪鞬鞮鞰鞱鞳鞵鞶鞷鞸鞹鞺鞻鞼鞽鞾鞿韀韁韂韃韄韅韆韇韈韉韊韋韌韍韎韏韐韑韒韓韔韕韖韗韘韙韚韛韜韝韞韟韠韡韢韣<E99FA2>韤韥韨韮韯韰韱韲韴韷韸韹韺韻韼韽韾響頀頁頂頃頄項順頇須頉頊頋頌頍頎怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨<E79D9A>".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>頏預頑頒頓頔頕頖頗領頙頚頛頜頝頞頟頠頡頢頣頤頥頦頧頨頩頪頫頬頭頮頯頰頱頲頳頴頵頶頷頸頹頺頻頼頽頾頿顀顁顂顃顄顅顆顇顈顉顊顋題額<E9A18C>顎顏顐顑顒顓顔顕顖顗願顙顚顛顜顝類顟顠顡顢顣顤顥顦顧顨顩顪顫顬顭顮睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪<E993A8>".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>顯顰顱顲顳顴颋颎颒颕颙颣風颩颪颫颬颭颮颯颰颱颲颳颴颵颶颷颸颹颺颻颼颽颾颿飀飁飂飃飄飅飆飇飈飉飊飋飌飍飏飐飔飖飗飛飜飝飠飡飢飣飤<E9A3A3>飥飦飩飪飫飬飭飮飯飰飱飲飳飴飵飶飷飸飹飺飻飼飽飾飿餀餁餂餃餄餅餆餇铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔<E7A89E>".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>餈餉養餋餌餎餏餑餒餓餔餕餖餗餘餙餚餛餜餝餞餟餠餡餢餣餤餥餦餧館餩餪餫餬餭餯餰餱餲餳餴餵餶餷餸餹餺餻餼餽餾餿饀饁饂饃饄饅饆饇饈饉<E9A588>饊饋饌饍饎饏饐饑饒饓饖饗饘饙饚饛饜饝饞饟饠饡饢饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙<E79895>".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>馌馎馚馛馜馝馞馟馠馡馢馣馤馦馧馩馪馫馬馭馮馯馰馱馲馳馴馵馶馷馸馹馺馻馼馽馾馿駀駁駂駃駄駅駆駇駈駉駊駋駌駍駎駏駐駑駒駓駔駕駖駗駘<E9A797>駙駚駛駜駝駞駟駠駡駢駣駤駥駦駧駨駩駪駫駬駭駮駯駰駱駲駳駴駵駶駷駸駹瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃<E9A280>".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>駺駻駼駽駾駿騀騁騂騃騄騅騆騇騈騉騊騋騌騍騎騏騐騑騒験騔騕騖騗騘騙騚騛騜騝騞騟騠騡騢騣騤騥騦騧騨騩騪騫騬騭騮騯騰騱騲騳騴騵騶騷騸<E9A8B7>騹騺騻騼騽騾騿驀驁驂驃驄驅驆驇驈驉驊驋驌驍驎驏驐驑驒驓驔驕驖驗驘驙颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒<E89EA8>".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>驚驛驜驝驞驟驠驡驢驣驤驥驦驧驨驩驪驫驲骃骉骍骎骔骕骙骦骩骪骫骬骭骮骯骲骳骴骵骹骻骽骾骿髃髄髆髇髈髉髊髍髎髏髐髒體髕髖髗髙髚髛髜<E9AB9B>髝髞髠髢髣髤髥髧髨髩髪髬髮髰髱髲髳髴髵髶髷髸髺髼髽髾髿鬀鬁鬂鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋<E7B096>".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鬇鬉鬊鬋鬌鬍鬎鬐鬑鬒鬔鬕鬖鬗鬘鬙鬚鬛鬜鬝鬞鬠鬡鬢鬤鬥鬦鬧鬨鬩鬪鬫鬬鬭鬮鬰鬱鬳鬴鬵鬶鬷鬸鬹鬺鬽鬾鬿魀魆魊魋魌魎魐魒魓魕魖魗魘魙魚<E9AD99>魛魜魝魞魟魠魡魢魣魤魥魦魧魨魩魪魫魬魭魮魯魰魱魲魳魴魵魶魷魸魹魺魻簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤<E9858F>".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>魼魽魾魿鮀鮁鮂鮃鮄鮅鮆鮇鮈鮉鮊鮋鮌鮍鮎鮏鮐鮑鮒鮓鮔鮕鮖鮗鮘鮙鮚鮛鮜鮝鮞鮟鮠鮡鮢鮣鮤鮥鮦鮧鮨鮩鮪鮫鮬鮭鮮鮯鮰鮱鮲鮳鮴鮵鮶鮷鮸鮹鮺<E9AEB9>鮻鮼鮽鮾鮿鯀鯁鯂鯃鯄鯅鯆鯇鯈鯉鯊鯋鯌鯍鯎鯏鯐鯑鯒鯓鯔鯕鯖鯗鯘鯙鯚鯛酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜<E8A79A>".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鯜鯝鯞鯟鯠鯡鯢鯣鯤鯥鯦鯧鯨鯩鯪鯫鯬鯭鯮鯯鯰鯱鯲鯳鯴鯵鯶鯷鯸鯹鯺鯻鯼鯽鯾鯿鰀鰁鰂鰃鰄鰅鰆鰇鰈鰉鰊鰋鰌鰍鰎鰏鰐鰑鰒鰓鰔鰕鰖鰗鰘鰙鰚<E9B099>鰛鰜鰝鰞鰟鰠鰡鰢鰣鰤鰥鰦鰧鰨鰩鰪鰫鰬鰭鰮鰯鰰鰱鰲鰳鰴鰵鰶鰷鰸鰹鰺鰻觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋<E9B38A>".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鰼鰽鰾鰿鱀鱁鱂鱃鱄鱅鱆鱇鱈鱉鱊鱋鱌鱍鱎鱏鱐鱑鱒鱓鱔鱕鱖鱗鱘鱙鱚鱛鱜鱝鱞鱟鱠鱡鱢鱣鱤鱥鱦鱧鱨鱩鱪鱫鱬鱭鱮鱯鱰鱱鱲鱳鱴鱵鱶鱷鱸鱹鱺<E9B1B9>鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾鲿鳀鳁鳂鳈鳉鳑鳒鳚鳛鳠鳡鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄<E9BCBE>".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);for(r[248]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鳣鳤鳥鳦鳧鳨鳩鳪鳫鳬鳭鳮鳯鳰鳱鳲鳳鳴鳵鳶鳷鳸鳹鳺鳻鳼鳽鳾鳿鴀鴁鴂鴃鴄鴅鴆鴇鴈鴉鴊鴋鴌鴍鴎鴏鴐鴑鴒鴓鴔鴕鴖鴗鴘鴙鴚鴛鴜鴝鴞鴟鴠鴡<E9B4A0>鴢鴣鴤鴥鴦鴧鴨鴩鴪鴫鴬鴭鴮鴯鴰鴱鴲鴳鴴鴵鴶鴷鴸鴹鴺鴻鴼鴽鴾鴿鵀鵁鵂<E9B581><E9B582><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[248].length;++e)65533!==r[248][e].charCodeAt(0)&&(n[r[248][e]]=63488+e,t[63488+e]=r[248][e]);for(r[249]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鵃鵄鵅鵆鵇鵈鵉鵊鵋鵌鵍鵎鵏鵐鵑鵒鵓鵔鵕鵖鵗鵘鵙鵚鵛鵜鵝鵞鵟鵠鵡鵢鵣鵤鵥鵦鵧鵨鵩鵪鵫鵬鵭鵮鵯鵰鵱鵲鵳鵴鵵鵶鵷鵸鵹鵺鵻鵼鵽鵾鵿鶀鶁<E9B680>鶂鶃鶄鶅鶆鶇鶈鶉鶊鶋鶌鶍鶎鶏鶐鶑鶒鶓鶔鶕鶖鶗鶘鶙鶚鶛鶜鶝鶞鶟鶠鶡鶢<E9B6A1><E9B6A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[249].length;++e)65533!==r[249][e].charCodeAt(0)&&(n[r[249][e]]=63744+e,t[63744+e]=r[249][e]);for(r[250]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鶣鶤鶥鶦鶧鶨鶩鶪鶫鶬鶭鶮鶯鶰鶱鶲鶳鶴鶵鶶鶷鶸鶹鶺鶻鶼鶽鶾鶿鷀鷁鷂鷃鷄鷅鷆鷇鷈鷉鷊鷋鷌鷍鷎鷏鷐鷑鷒鷓鷔鷕鷖鷗鷘鷙鷚鷛鷜鷝鷞鷟鷠鷡<E9B7A0>鷢鷣鷤鷥鷦鷧鷨鷩鷪鷫鷬鷭鷮鷯鷰鷱鷲鷳鷴鷵鷶鷷鷸鷹鷺鷻鷼鷽鷾鷿鸀鸁鸂<E9B881><E9B882><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[250].length;++e)65533!==r[250][e].charCodeAt(0)&&(n[r[250][e]]=64e3+e,t[64e3+e]=r[250][e]);for(r[251]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鸃鸄鸅鸆鸇鸈鸉鸊鸋鸌鸍鸎鸏鸐鸑鸒鸓鸔鸕鸖鸗鸘鸙鸚鸛鸜鸝鸞鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴鹵鹶鹷鹸鹹鹺鹻鹼鹽麀<E9B9BD>麁麃麄麅麆麉麊麌麍麎麏麐麑麔麕麖麗麘麙麚麛麜麞麠麡麢麣麤麥麧麨麩麪<E9BAA9><E9BAAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[251].length;++e)65533!==r[251][e].charCodeAt(0)&&(n[r[251][e]]=64256+e,t[64256+e]=r[251][e]);for(r[252]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>麫麬麭麮麯麰麱麲麳麵麶麷麹麺麼麿黀黁黂黃黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰黱黲黳黴黵黶黷黸黺黽黿鼀鼁鼂鼃鼄鼅<E9BC84>鼆鼇鼈鼉鼊鼌鼏鼑鼒鼔鼕鼖鼘鼚鼛鼜鼝鼞鼟鼡鼣鼤鼥鼦鼧鼨鼩鼪鼫鼭鼮鼰鼱<E9BCB0><E9BCB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[252].length;++e)65533!==r[252][e].charCodeAt(0)&&(n[r[252][e]]=64512+e,t[64512+e]=r[252][e]);for(r[253]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鼲鼳鼴鼵鼶鼸鼺鼼鼿齀齁齂齃齅齆齇齈齉齊齋齌齍齎齏齒齓齔齕齖齗齘齙齚齛齜齝齞齟齠齡齢齣齤齥齦齧齨齩齪齫齬齭齮齯齰齱齲齳齴齵齶齷齸<E9BDB7>齹齺齻齼齽齾龁龂龍龎龏龐龑龒龓龔龕龖龗龘龜龝龞龡龢龣龤龥郎凉秊裏隣<EFA7A7><EFA7B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[253].length;++e)65533!==r[253][e].charCodeAt(0)&&(n[r[253][e]]=64768+e,t[64768+e]=r[253][e]);for(r[254]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩<EFA8A8><EFA8A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[254].length;++e)65533!==r[254][e].charCodeAt(0)&&(n[r[254][e]]=65024+e,t[65024+e]=r[254][e]);return{enc:n,dec:t}}(),n[949]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[129]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>갂갃갅갆갋갌갍갎갏갘갞갟갡갢갣갥갦갧갨갩갪갫갮갲갳갴<EAB0B3><EAB0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>갵갶갷갺갻갽갾갿걁걂걃걄걅걆걇걈걉걊걌걎걏걐걑걒걓걕<EAB193><EAB195><EFBFBD><EFBFBD><EFBFBD><EFBFBD>걖걗걙걚걛걝걞걟걠걡걢걣걤걥걦걧걨걩걪걫걬걭걮걯걲걳걵걶걹걻걼걽걾걿겂겇겈겍겎겏겑겒겓겕겖겗겘겙겚겛겞겢겣겤겥겦겧겫겭겮겱겲겳겴겵겶겷겺겾겿곀곂곃곅곆곇곉곊곋곍곎곏곐곑곒곓곔곖곘곙곚곛곜곝곞곟곢곣곥곦곩곫곭곮곲곴곷곸곹곺곻곾곿괁괂괃괅괇괈괉괊괋괎괐괒괓<EAB492>".split(""),e=0;e!=r[129].length;++e)65533!==r[129][e].charCodeAt(0)&&(n[r[129][e]]=33024+e,t[33024+e]=r[129][e]);for(r[130]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>괔괕괖괗괙괚괛괝괞괟괡괢괣괤괥괦괧괨괪괫괮괯괰괱괲괳<EAB4B2><EAB4B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>괶괷괹괺괻괽괾괿굀굁굂굃굆굈굊굋굌굍굎굏굑굒굓굕굖굗<EAB596><EAB597><EFBFBD><EFBFBD><EFBFBD><EFBFBD>굙굚굛굜굝굞굟굠굢굤굥굦굧굨굩굪굫굮굯굱굲굷굸굹굺굾궀궃궄궅궆궇궊궋궍궎궏궑궒궓궔궕궖궗궘궙궚궛궞궟궠궡궢궣궥궦궧궨궩궪궫궬궭궮궯궰궱궲궳궴궵궶궸궹궺궻궼궽궾궿귂귃귅귆귇귉귊귋귌귍귎귏귒귔귕귖귗귘귙귚귛귝귞귟귡귢귣귥귦귧귨귩귪귫귬귭귮귯귰귱귲귳귴귵귶귷<EAB7B6>".split(""),e=0;e!=r[130].length;++e)65533!==r[130][e].charCodeAt(0)&&(n[r[130][e]]=33280+e,t[33280+e]=r[130][e]);for(r[131]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>귺귻귽귾긂긃긄긅긆긇긊긌긎긏긐긑긒긓긕긖긗긘긙긚긛긜<EAB89B><EAB89C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>긝긞긟긠긡긢긣긤긥긦긧긨긩긪긫긬긭긮긯긲긳긵긶긹긻긼<EAB8BB><EAB8BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗깘깙깚깛깞깢깣깤깦깧깪깫깭깮깯깱깲깳깴깵깶깷깺깾깿꺀꺁꺂꺃꺆꺇꺈꺉꺊꺋꺍꺎꺏꺐꺑꺒꺓꺔꺕꺖꺗꺘꺙꺚꺛꺜꺝꺞꺟꺠꺡꺢꺣꺤꺥꺦꺧꺨꺩꺪꺫꺬꺭꺮꺯꺰꺱꺲꺳꺴꺵꺶꺷꺸꺹꺺꺻꺿껁껂껃껅껆껇껈껉껊껋껎껒껓껔껕껖껗껚껛껝껞껟껠껡껢껣껤껥<EABBA4>".split(""),e=0;e!=r[131].length;++e)65533!==r[131][e].charCodeAt(0)&&(n[r[131][e]]=33536+e,t[33536+e]=r[131][e]);for(r[132]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>껦껧껩껪껬껮껯껰껱껲껳껵껶껷껹껺껻껽껾껿꼀꼁꼂꼃꼄꼅<EABC84><EABC85><EFBFBD><EFBFBD><EFBFBD><EFBFBD>꼆꼉꼊꼋꼌꼎꼏꼑꼒꼓꼔꼕꼖꼗꼘꼙꼚꼛꼜꼝꼞꼟꼠꼡꼢꼣<EABCA2><EABCA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>꼤꼥꼦꼧꼨꼩꼪꼫꼮꼯꼱꼳꼵꼶꼷꼸꼹꼺꼻꼾꽀꽄꽅꽆꽇꽊꽋꽌꽍꽎꽏꽑꽒꽓꽔꽕꽖꽗꽘꽙꽚꽛꽞꽟꽠꽡꽢꽣꽦꽧꽨꽩꽪꽫꽬꽭꽮꽯꽰꽱꽲꽳꽴꽵꽶꽷꽸꽺꽻꽼꽽꽾꽿꾁꾂꾃꾅꾆꾇꾉꾊꾋꾌꾍꾎꾏꾒꾓꾔꾖꾗꾘꾙꾚꾛꾝꾞꾟꾠꾡꾢꾣꾤꾥꾦꾧꾨꾩꾪꾫꾬꾭꾮꾯꾰꾱꾲꾳꾴꾵꾶꾷꾺꾻꾽꾾<EABEBD>".split(""),e=0;e!=r[132].length;++e)65533!==r[132][e].charCodeAt(0)&&(n[r[132][e]]=33792+e,t[33792+e]=r[132][e]);for(r[133]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>꾿꿁꿂꿃꿄꿅꿆꿊꿌꿏꿐꿑꿒꿓꿕꿖꿗꿘꿙꿚꿛꿝꿞꿟꿠꿡<EABFA0><EABFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>꿢꿣꿤꿥꿦꿧꿪꿫꿬꿭꿮꿯꿲꿳꿵꿶꿷꿹꿺꿻꿼꿽꿾꿿뀂뀃<EB8082><EB8083><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뀅뀆뀇뀈뀉뀊뀋뀍뀎뀏뀑뀒뀓뀕뀖뀗뀘뀙뀚뀛뀞뀟뀠뀡뀢뀣뀤뀥뀦뀧뀩뀪뀫뀬뀭뀮뀯뀰뀱뀲뀳뀴뀵뀶뀷뀸뀹뀺뀻뀼뀽뀾뀿끀끁끂끃끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞끟끠끡끢끣끤끥끦끧끨끩끪끫끬끭끮끯끰끱끲끳끴끵끶끷끸끹끺끻끾끿낁낂낃낅낆낇낈낉낊낋낎낐낒낓낔낕낖낗낛낝낞낣낤<EB82A3>".split(""),e=0;e!=r[133].length;++e)65533!==r[133][e].charCodeAt(0)&&(n[r[133][e]]=34048+e,t[34048+e]=r[133][e]);for(r[134]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>낥낦낧낪낰낲낶낷낹낺낻낽낾낿냀냁냂냃냆냊냋냌냍냎냏냒<EB838F><EB8392><EFBFBD><EFBFBD><EFBFBD><EFBFBD>냓냕냖냗냙냚냛냜냝냞냟냡냢냣냤냦냧냨냩냪냫냬냭냮냯냰<EB83AF><EB83B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>냱냲냳냴냵냶냷냸냹냺냻냼냽냾냿넀넁넂넃넄넅넆넇넊넍넎넏넑넔넕넖넗넚넞넟넠넡넢넦넧넩넪넫넭넮넯넰넱넲넳넶넺넻넼넽넾넿녂녃녅녆녇녉녊녋녌녍녎녏녒녓녖녗녙녚녛녝녞녟녡녢녣녤녥녦녧녨녩녪녫녬녭녮녯녰녱녲녳녴녵녶녷녺녻녽녾녿놁놃놄놅놆놇놊놌놎놏놐놑놕놖놗놙놚놛놝<EB869B>".split(""),e=0;e!=r[134].length;++e)65533!==r[134][e].charCodeAt(0)&&(n[r[134][e]]=34304+e,t[34304+e]=r[134][e]);for(r[135]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>놞놟놠놡놢놣놤놥놦놧놩놪놫놬놭놮놯놰놱놲놳놴놵놶놷놸<EB86B7><EB86B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>놹놺놻놼놽놾놿뇀뇁뇂뇃뇄뇅뇆뇇뇈뇉뇊뇋뇍뇎뇏뇑뇒뇓뇕<EB8793><EB8795><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뇖뇗뇘뇙뇚뇛뇞뇠뇡뇢뇣뇤뇥뇦뇧뇪뇫뇭뇮뇯뇱뇲뇳뇴뇵뇶뇷뇸뇺뇼뇾뇿눀눁눂눃눆눇눉눊눍눎눏눐눑눒눓눖눘눚눛눜눝눞눟눡눢눣눤눥눦눧눨눩눪눫눬눭눮눯눰눱눲눳눵눶눷눸눹눺눻눽눾눿뉀뉁뉂뉃뉄뉅뉆뉇뉈뉉뉊뉋뉌뉍뉎뉏뉐뉑뉒뉓뉔뉕뉖뉗뉙뉚뉛뉝뉞뉟뉡뉢뉣뉤뉥뉦뉧뉪뉫뉬뉭뉮<EB89AD>".split(""),e=0;e!=r[135].length;++e)65533!==r[135][e].charCodeAt(0)&&(n[r[135][e]]=34560+e,t[34560+e]=r[135][e]);for(r[136]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뉯뉰뉱뉲뉳뉶뉷뉸뉹뉺뉻뉽뉾뉿늀늁늂늃늆늇늈늊늋늌늍늎<EB8A8D><EB8A8E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>늏늒늓늕늖늗늛늜늝늞늟늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷<EB8AB6><EB8AB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>늸늹늺늻늼늽늾늿닀닁닂닃닄닅닆닇닊닋닍닎닏닑닓닔닕닖닗닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉댊댋댌댍댎댏댒댖댗댘댙댚댛댝댞댟댠댡댢댣댤댥댦댧댨댩댪댫댬댭댮댯댰댱댲댳댴댵댶댷댸댹댺댻댼댽댾댿덀덁덂덃덄덅덆덇덈덉덊덋덌덍덎덏덐덑덒덓덗덙덚덝덠덡덢덣<EB8DA2>".split(""),e=0;e!=r[136].length;++e)65533!==r[136][e].charCodeAt(0)&&(n[r[136][e]]=34816+e,t[34816+e]=r[136][e]);for(r[137]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>덦덨덪덬덭덯덲덳덵덶덷덹덺덻덼덽덾덿뎂뎆뎇뎈뎉뎊뎋뎍<EB8E8B><EB8E8D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뎎뎏뎑뎒뎓뎕뎖뎗뎘뎙뎚뎛뎜뎝뎞뎟뎢뎣뎤뎥뎦뎧뎩뎪뎫뎭<EB8EAB><EB8EAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뎮뎯뎰뎱뎲뎳뎴뎵뎶뎷뎸뎹뎺뎻뎼뎽뎾뎿돀돁돂돃돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩돪돫돬돭돮돯돰돱돲돳돴돵돶돷돸돹돺돻돽돾돿됀됁됂됃됄됅됆됇됈됉됊됋됌됍됎됏됑됒됓됔됕됖됗됙됚됛됝됞됟됡됢됣됤됥됦됧됪됬됭됮됯됰됱됲됳됵됶됷됸됹됺됻됼됽됾됿둀둁둂둃둄<EB9183>".split(""),e=0;e!=r[137].length;++e)65533!==r[137][e].charCodeAt(0)&&(n[r[137][e]]=35072+e,t[35072+e]=r[137][e]);for(r[138]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>둅둆둇둈둉둊둋둌둍둎둏둒둓둕둖둗둙둚둛둜둝둞둟둢둤둦<EB91A4><EB91A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>둧둨둩둪둫둭둮둯둰둱둲둳둴둵둶둷둸둹둺둻둼둽둾둿뒁뒂<EB9281><EB9282><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뒃뒄뒅뒆뒇뒉뒊뒋뒌뒍뒎뒏뒐뒑뒒뒓뒔뒕뒖뒗뒘뒙뒚뒛뒜뒞뒟뒠뒡뒢뒣뒥뒦뒧뒩뒪뒫뒭뒮뒯뒰뒱뒲뒳뒴뒶뒸뒺뒻뒼뒽뒾뒿듁듂듃듅듆듇듉듊듋듌듍듎듏듑듒듓듔듖듗듘듙듚듛듞듟듡듢듥듧듨듩듪듫듮듰듲듳듴듵듶듷듹듺듻듼듽듾듿딀딁딂딃딄딅딆딇딈딉딊딋딌딍딎딏딐딑딒딓딖딗딙딚딝<EB949A>".split(""),e=0;e!=r[138].length;++e)65533!==r[138][e].charCodeAt(0)&&(n[r[138][e]]=35328+e,t[35328+e]=r[138][e]);for(r[139]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>딞딟딠딡딢딣딦딫딬딭딮딯딲딳딵딶딷딹딺딻딼딽딾딿땂땆<EB9582><EB9586><EFBFBD><EFBFBD><EFBFBD><EFBFBD>땇땈땉땊땎땏땑땒땓땕땖땗땘땙땚땛땞땢땣땤땥땦땧땨땩땪<EB95A9><EB95AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>땫땬땭땮땯땰땱땲땳땴땵땶땷땸땹땺땻땼땽땾땿떀떁떂떃떄떅떆떇떈떉떊떋떌떍떎떏떐떑떒떓떔떕떖떗떘떙떚떛떜떝떞떟떢떣떥떦떧떩떬떭떮떯떲떶떷떸떹떺떾떿뗁뗂뗃뗅뗆뗇뗈뗉뗊뗋뗎뗒뗓뗔뗕뗖뗗뗙뗚뗛뗜뗝뗞뗟뗠뗡뗢뗣뗤뗥뗦뗧뗨뗩뗪뗫뗭뗮뗯뗰뗱뗲뗳뗴뗵뗶뗷뗸뗹뗺뗻뗼뗽뗾뗿<EB97BE>".split(""),e=0;e!=r[139].length;++e)65533!==r[139][e].charCodeAt(0)&&(n[r[139][e]]=35584+e,t[35584+e]=r[139][e]);for(r[140]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>똀똁똂똃똄똅똆똇똈똉똊똋똌똍똎똏똒똓똕똖똗똙똚똛똜똝<EB989C><EB989D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>똞똟똠똡똢똣똤똦똧똨똩똪똫똭똮똯똰똱똲똳똵똶똷똸똹똺<EB98B9><EB98BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>똻똼똽똾똿뙀뙁뙂뙃뙄뙅뙆뙇뙉뙊뙋뙌뙍뙎뙏뙐뙑뙒뙓뙔뙕뙖뙗뙘뙙뙚뙛뙜뙝뙞뙟뙠뙡뙢뙣뙥뙦뙧뙩뙪뙫뙬뙭뙮뙯뙰뙱뙲뙳뙴뙵뙶뙷뙸뙹뙺뙻뙼뙽뙾뙿뚀뚁뚂뚃뚄뚅뚆뚇뚈뚉뚊뚋뚌뚍뚎뚏뚐뚑뚒뚓뚔뚕뚖뚗뚘뚙뚚뚛뚞뚟뚡뚢뚣뚥뚦뚧뚨뚩뚪뚭뚮뚯뚰뚲뚳뚴뚵뚶뚷뚸뚹뚺뚻뚼뚽뚾뚿뛀뛁뛂<EB9B81>".split(""),e=0;e!=r[140].length;++e)65533!==r[140][e].charCodeAt(0)&&(n[r[140][e]]=35840+e,t[35840+e]=r[140][e]);for(r[141]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뛃뛄뛅뛆뛇뛈뛉뛊뛋뛌뛍뛎뛏뛐뛑뛒뛓뛕뛖뛗뛘뛙뛚뛛뛜뛝<EB9B9C><EB9B9D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뛞뛟뛠뛡뛢뛣뛤뛥뛦뛧뛨뛩뛪뛫뛬뛭뛮뛯뛱뛲뛳뛵뛶뛷뛹뛺<EB9BB9><EB9BBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뛻뛼뛽뛾뛿뜂뜃뜄뜆뜇뜈뜉뜊뜋뜌뜍뜎뜏뜐뜑뜒뜓뜔뜕뜖뜗뜘뜙뜚뜛뜜뜝뜞뜟뜠뜡뜢뜣뜤뜥뜦뜧뜪뜫뜭뜮뜱뜲뜳뜴뜵뜶뜷뜺뜼뜽뜾뜿띀띁띂띃띅띆띇띉띊띋띍띎띏띐띑띒띓띖띗띘띙띚띛띜띝띞띟띡띢띣띥띦띧띩띪띫띬띭띮띯띲띴띶띷띸띹띺띻띾띿랁랂랃랅랆랇랈랉랊랋랎랓랔랕랚랛랝랞<EB9E9D>".split(""),e=0;e!=r[141].length;++e)65533!==r[141][e].charCodeAt(0)&&(n[r[141][e]]=36096+e,t[36096+e]=r[141][e]);for(r[142]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>랟랡랢랣랤랥랦랧랪랮랯랰랱랲랳랶랷랹랺랻랼랽랾랿럀럁<EB9F80><EB9F81><EFBFBD><EFBFBD><EFBFBD><EFBFBD>럂럃럄럅럆럈럊럋럌럍럎럏럐럑럒럓럔럕럖럗럘럙럚럛럜럝<EB9F9C><EB9F9D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>럞럟럠럡럢럣럤럥럦럧럨럩럪럫럮럯럱럲럳럵럶럷럸럹럺럻럾렂렃렄렅렆렊렋렍렎렏렑렒렓렔렕렖렗렚렜렞렟렠렡렢렣렦렧렩렪렫렭렮렯렰렱렲렳렶렺렻렼렽렾렿롁롂롃롅롆롇롈롉롊롋롌롍롎롏롐롒롔롕롖롗롘롙롚롛롞롟롡롢롣롥롦롧롨롩롪롫롮롰롲롳롴롵롶롷롹롺롻롽롾롿뢀뢁뢂뢃뢄<EBA283>".split(""),e=0;e!=r[142].length;++e)65533!==r[142][e].charCodeAt(0)&&(n[r[142][e]]=36352+e,t[36352+e]=r[142][e]);for(r[143]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뢅뢆뢇뢈뢉뢊뢋뢌뢎뢏뢐뢑뢒뢓뢔뢕뢖뢗뢘뢙뢚뢛뢜뢝뢞뢟<EBA29E><EBA29F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뢠뢡뢢뢣뢤뢥뢦뢧뢩뢪뢫뢬뢭뢮뢯뢱뢲뢳뢵뢶뢷뢹뢺뢻뢼뢽<EBA2BC><EBA2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뢾뢿룂룄룆룇룈룉룊룋룍룎룏룑룒룓룕룖룗룘룙룚룛룜룞룠룢룣룤룥룦룧룪룫룭룮룯룱룲룳룴룵룶룷룺룼룾룿뤀뤁뤂뤃뤅뤆뤇뤈뤉뤊뤋뤌뤍뤎뤏뤐뤑뤒뤓뤔뤕뤖뤗뤙뤚뤛뤜뤝뤞뤟뤡뤢뤣뤤뤥뤦뤧뤨뤩뤪뤫뤬뤭뤮뤯뤰뤱뤲뤳뤴뤵뤶뤷뤸뤹뤺뤻뤾뤿륁륂륃륅륆륇륈륉륊륋륍륎륐륒륓륔륕륖륗<EBA596>".split(""),e=0;e!=r[143].length;++e)65533!==r[143][e].charCodeAt(0)&&(n[r[143][e]]=36608+e,t[36608+e]=r[143][e]);for(r[144]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>륚륛륝륞륟륡륢륣륤륥륦륧륪륬륮륯륰륱륲륳륶륷륹륺륻륽<EBA5BB><EBA5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>륾륿릀릁릂릃릆릈릋릌릏릐릑릒릓릔릕릖릗릘릙릚릛릜릝릞<EBA69D><EBA69E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>릟릠릡릢릣릤릥릦릧릨릩릪릫릮릯릱릲릳릵릶릷릸릹릺릻릾맀맂맃맄맅맆맇맊맋맍맓맔맕맖맗맚맜맟맠맢맦맧맩맪맫맭맮맯맰맱맲맳맶맻맼맽맾맿먂먃먄먅먆먇먉먊먋먌먍먎먏먐먑먒먓먔먖먗먘먙먚먛먜먝먞먟먠먡먢먣먤먥먦먧먨먩먪먫먬먭먮먯먰먱먲먳먴먵먶먷먺먻먽먾먿멁멃멄멅멆<EBA985>".split(""),e=0;e!=r[144].length;++e)65533!==r[144][e].charCodeAt(0)&&(n[r[144][e]]=36864+e,t[36864+e]=r[144][e]);for(r[145]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>멇멊멌멏멐멑멒멖멗멙멚멛멝멞멟멠멡멢멣멦멪멫멬멭멮멯<EBA9AE><EBA9AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>멲멳멵멶멷멹멺멻멼멽멾멿몀몁몂몆몈몉몊몋몍몎몏몐몑몒<EBAA91><EBAA92><EFBFBD><EFBFBD><EFBFBD><EFBFBD>몓몔몕몖몗몘몙몚몛몜몝몞몟몠몡몢몣몤몥몦몧몪몭몮몯몱몳몴몵몶몷몺몼몾몿뫀뫁뫂뫃뫅뫆뫇뫉뫊뫋뫌뫍뫎뫏뫐뫑뫒뫓뫔뫕뫖뫗뫚뫛뫜뫝뫞뫟뫠뫡뫢뫣뫤뫥뫦뫧뫨뫩뫪뫫뫬뫭뫮뫯뫰뫱뫲뫳뫴뫵뫶뫷뫸뫹뫺뫻뫽뫾뫿묁묂묃묅묆묇묈묉묊묋묌묎묐묒묓묔묕묖묗묙묚묛묝묞묟묡묢묣묤묥묦묧<EBACA6>".split(""),e=0;e!=r[145].length;++e)65533!==r[145][e].charCodeAt(0)&&(n[r[145][e]]=37120+e,t[37120+e]=r[145][e]);for(r[146]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>묨묪묬묭묮묯묰묱묲묳묷묹묺묿뭀뭁뭂뭃뭆뭈뭊뭋뭌뭎뭑뭒<EBAD91><EBAD92><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뭓뭕뭖뭗뭙뭚뭛뭜뭝뭞뭟뭠뭢뭤뭥뭦뭧뭨뭩뭪뭫뭭뭮뭯뭰뭱<EBADB0><EBADB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뭲뭳뭴뭵뭶뭷뭸뭹뭺뭻뭼뭽뭾뭿뮀뮁뮂뮃뮄뮅뮆뮇뮉뮊뮋뮍뮎뮏뮑뮒뮓뮔뮕뮖뮗뮘뮙뮚뮛뮜뮝뮞뮟뮠뮡뮢뮣뮥뮦뮧뮩뮪뮫뮭뮮뮯뮰뮱뮲뮳뮵뮶뮸뮹뮺뮻뮼뮽뮾뮿믁믂믃믅믆믇믉믊믋믌믍믎믏믑믒믔믕믖믗믘믙믚믛믜믝믞믟믠믡믢믣믤믥믦믧믨믩믪믫믬믭믮믯믰믱믲믳믴믵믶믷믺믻믽믾밁<EBAFBE>".split(""),e=0;e!=r[146].length;++e)65533!==r[146][e].charCodeAt(0)&&(n[r[146][e]]=37376+e,t[37376+e]=r[146][e]);for(r[147]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>밃밄밅밆밇밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵<EBB0B3><EBB0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>밶밷밹밺밻밼밽밾밿뱂뱆뱇뱈뱊뱋뱎뱏뱑뱒뱓뱔뱕뱖뱗뱘뱙<EBB198><EBB199><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뱚뱛뱜뱞뱟뱠뱡뱢뱣뱤뱥뱦뱧뱨뱩뱪뱫뱬뱭뱮뱯뱰뱱뱲뱳뱴뱵뱶뱷뱸뱹뱺뱻뱼뱽뱾뱿벀벁벂벃벆벇벉벊벍벏벐벑벒벓벖벘벛벜벝벞벟벢벣벥벦벩벪벫벬벭벮벯벲벶벷벸벹벺벻벾벿볁볂볃볅볆볇볈볉볊볋볌볎볒볓볔볖볗볙볚볛볝볞볟볠볡볢볣볤볥볦볧볨볩볪볫볬볭볮볯볰볱볲볳볷볹볺볻볽<EBB3BB>".split(""),e=0;e!=r[147].length;++e)65533!==r[147][e].charCodeAt(0)&&(n[r[147][e]]=37632+e,t[37632+e]=r[147][e]);for(r[148]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>볾볿봀봁봂봃봆봈봊봋봌봍봎봏봑봒봓봕봖봗봘봙봚봛봜봝<EBB49C><EBB49D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>봞봟봠봡봢봣봥봦봧봨봩봪봫봭봮봯봰봱봲봳봴봵봶봷봸봹<EBB4B8><EBB4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>봺봻봼봽봾봿뵁뵂뵃뵄뵅뵆뵇뵊뵋뵍뵎뵏뵑뵒뵓뵔뵕뵖뵗뵚뵛뵜뵝뵞뵟뵠뵡뵢뵣뵥뵦뵧뵩뵪뵫뵬뵭뵮뵯뵰뵱뵲뵳뵴뵵뵶뵷뵸뵹뵺뵻뵼뵽뵾뵿붂붃붅붆붋붌붍붎붏붒붔붖붗붘붛붝붞붟붠붡붢붣붥붦붧붨붩붪붫붬붭붮붯붱붲붳붴붵붶붷붹붺붻붼붽붾붿뷀뷁뷂뷃뷄뷅뷆뷇뷈뷉뷊뷋뷌뷍뷎뷏뷐뷑<EBB790>".split(""),e=0;e!=r[148].length;++e)65533!==r[148][e].charCodeAt(0)&&(n[r[148][e]]=37888+e,t[37888+e]=r[148][e]);for(r[149]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뷒뷓뷖뷗뷙뷚뷛뷝뷞뷟뷠뷡뷢뷣뷤뷥뷦뷧뷨뷪뷫뷬뷭뷮뷯뷱<EBB7AF><EBB7B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뷲뷳뷵뷶뷷뷹뷺뷻뷼뷽뷾뷿븁븂븄븆븇븈븉븊븋븎븏븑븒븓<EBB892><EBB893><EFBFBD><EFBFBD><EFBFBD><EFBFBD>븕븖븗븘븙븚븛븞븠븡븢븣븤븥븦븧븨븩븪븫븬븭븮븯븰븱븲븳븴븵븶븷븸븹븺븻븼븽븾븿빀빁빂빃빆빇빉빊빋빍빏빐빑빒빓빖빘빜빝빞빟빢빣빥빦빧빩빫빬빭빮빯빲빶빷빸빹빺빾빿뺁뺂뺃뺅뺆뺇뺈뺉뺊뺋뺎뺒뺓뺔뺕뺖뺗뺚뺛뺜뺝뺞뺟뺠뺡뺢뺣뺤뺥뺦뺧뺩뺪뺫뺬뺭뺮뺯뺰뺱뺲뺳뺴뺵뺶뺷<EBBAB6>".split(""),e=0;e!=r[149].length;++e)65533!==r[149][e].charCodeAt(0)&&(n[r[149][e]]=38144+e,t[38144+e]=r[149][e]);for(r[150]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뺸뺹뺺뺻뺼뺽뺾뺿뻀뻁뻂뻃뻄뻅뻆뻇뻈뻉뻊뻋뻌뻍뻎뻏뻒뻓<EBBB92><EBBB93><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뻕뻖뻙뻚뻛뻜뻝뻞뻟뻡뻢뻦뻧뻨뻩뻪뻫뻭뻮뻯뻰뻱뻲뻳뻴뻵<EBBBB4><EBBBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뻶뻷뻸뻹뻺뻻뻼뻽뻾뻿뼀뼂뼃뼄뼅뼆뼇뼊뼋뼌뼍뼎뼏뼐뼑뼒뼓뼔뼕뼖뼗뼚뼞뼟뼠뼡뼢뼣뼤뼥뼦뼧뼨뼩뼪뼫뼬뼭뼮뼯뼰뼱뼲뼳뼴뼵뼶뼷뼸뼹뼺뼻뼼뼽뼾뼿뽂뽃뽅뽆뽇뽉뽊뽋뽌뽍뽎뽏뽒뽓뽔뽖뽗뽘뽙뽚뽛뽜뽝뽞뽟뽠뽡뽢뽣뽤뽥뽦뽧뽨뽩뽪뽫뽬뽭뽮뽯뽰뽱뽲뽳뽴뽵뽶뽷뽸뽹뽺뽻뽼뽽뽾뽿뾀뾁뾂<EBBE81>".split(""),e=0;e!=r[150].length;++e)65533!==r[150][e].charCodeAt(0)&&(n[r[150][e]]=38400+e,t[38400+e]=r[150][e]);for(r[151]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뾃뾄뾅뾆뾇뾈뾉뾊뾋뾌뾍뾎뾏뾐뾑뾒뾓뾕뾖뾗뾘뾙뾚뾛뾜뾝<EBBE9C><EBBE9D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뾞뾟뾠뾡뾢뾣뾤뾥뾦뾧뾨뾩뾪뾫뾬뾭뾮뾯뾱뾲뾳뾴뾵뾶뾷뾸<EBBEB7><EBBEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뾹뾺뾻뾼뾽뾾뾿뿀뿁뿂뿃뿄뿆뿇뿈뿉뿊뿋뿎뿏뿑뿒뿓뿕뿖뿗뿘뿙뿚뿛뿝뿞뿠뿢뿣뿤뿥뿦뿧뿨뿩뿪뿫뿬뿭뿮뿯뿰뿱뿲뿳뿴뿵뿶뿷뿸뿹뿺뿻뿼뿽뿾뿿쀀쀁쀂쀃쀄쀅쀆쀇쀈쀉쀊쀋쀌쀍쀎쀏쀐쀑쀒쀓쀔쀕쀖쀗쀘쀙쀚쀛쀜쀝쀞쀟쀠쀡쀢쀣쀤쀥쀦쀧쀨쀩쀪쀫쀬쀭쀮쀯쀰쀱쀲쀳쀴쀵쀶쀷쀸쀹쀺쀻쀽쀾쀿<EC80BE>".split(""),e=0;e!=r[151].length;++e)65533!==r[151][e].charCodeAt(0)&&(n[r[151][e]]=38656+e,t[38656+e]=r[151][e]);for(r[152]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쁀쁁쁂쁃쁄쁅쁆쁇쁈쁉쁊쁋쁌쁍쁎쁏쁐쁒쁓쁔쁕쁖쁗쁙쁚쁛<EC819A><EC819B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쁝쁞쁟쁡쁢쁣쁤쁥쁦쁧쁪쁫쁬쁭쁮쁯쁰쁱쁲쁳쁴쁵쁶쁷쁸쁹<EC81B8><EC81B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쁺쁻쁼쁽쁾쁿삀삁삂삃삄삅삆삇삈삉삊삋삌삍삎삏삒삓삕삖삗삙삚삛삜삝삞삟삢삤삦삧삨삩삪삫삮삱삲삷삸삹삺삻삾샂샃샄샆샇샊샋샍샎샏샑샒샓샔샕샖샗샚샞샟샠샡샢샣샦샧샩샪샫샭샮샯샰샱샲샳샶샸샺샻샼샽샾샿섁섂섃섅섆섇섉섊섋섌섍섎섏섑섒섓섔섖섗섘섙섚섛섡섢섥섨섩섪섫섮<EC84AB>".split(""),e=0;e!=r[152].length;++e)65533!==r[152][e].charCodeAt(0)&&(n[r[152][e]]=38912+e,t[38912+e]=r[152][e]);for(r[153]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>섲섳섴섵섷섺섻섽섾섿셁셂셃셄셅셆셇셊셎셏셐셑셒셓셖셗<EC8596><EC8597><EFBFBD><EFBFBD><EFBFBD><EFBFBD>셙셚셛셝셞셟셠셡셢셣셦셪셫셬셭셮셯셱셲셳셵셶셷셹셺셻<EC85BA><EC85BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>셼셽셾셿솀솁솂솃솄솆솇솈솉솊솋솏솑솒솓솕솗솘솙솚솛솞솠솢솣솤솦솧솪솫솭솮솯솱솲솳솴솵솶솷솸솹솺솻솼솾솿쇀쇁쇂쇃쇅쇆쇇쇉쇊쇋쇍쇎쇏쇐쇑쇒쇓쇕쇖쇙쇚쇛쇜쇝쇞쇟쇡쇢쇣쇥쇦쇧쇩쇪쇫쇬쇭쇮쇯쇲쇴쇵쇶쇷쇸쇹쇺쇻쇾쇿숁숂숃숅숆숇숈숉숊숋숎숐숒숓숔숕숖숗숚숛숝숞숡숢숣<EC88A2>".split(""),e=0;e!=r[153].length;++e)65533!==r[153][e].charCodeAt(0)&&(n[r[153][e]]=39168+e,t[39168+e]=r[153][e]);for(r[154]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>숤숥숦숧숪숬숮숰숳숵숶숷숸숹숺숻숼숽숾숿쉀쉁쉂쉃쉄쉅<EC8984><EC8985><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쉆쉇쉉쉊쉋쉌쉍쉎쉏쉒쉓쉕쉖쉗쉙쉚쉛쉜쉝쉞쉟쉡쉢쉣쉤쉦<EC89A4><EC89A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쉧쉨쉩쉪쉫쉮쉯쉱쉲쉳쉵쉶쉷쉸쉹쉺쉻쉾슀슂슃슄슅슆슇슊슋슌슍슎슏슑슒슓슔슕슖슗슙슚슜슞슟슠슡슢슣슦슧슩슪슫슮슯슰슱슲슳슶슸슺슻슼슽슾슿싀싁싂싃싄싅싆싇싈싉싊싋싌싍싎싏싐싑싒싓싔싕싖싗싘싙싚싛싞싟싡싢싥싦싧싨싩싪싮싰싲싳싴싵싷싺싽싾싿쌁쌂쌃쌄쌅쌆쌇쌊쌋쌎쌏<EC8C8E>".split(""),e=0;e!=r[154].length;++e)65533!==r[154][e].charCodeAt(0)&&(n[r[154][e]]=39424+e,t[39424+e]=r[154][e]);for(r[155]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쌐쌑쌒쌖쌗쌙쌚쌛쌝쌞쌟쌠쌡쌢쌣쌦쌧쌪쌫쌬쌭쌮쌯쌰쌱쌲<EC8CB1><EC8CB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쌳쌴쌵쌶쌷쌸쌹쌺쌻쌼쌽쌾쌿썀썁썂썃썄썆썇썈썉썊썋썌썍<EC8D8C><EC8D8D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>썎썏썐썑썒썓썔썕썖썗썘썙썚썛썜썝썞썟썠썡썢썣썤썥썦썧썪썫썭썮썯썱썳썴썵썶썷썺썻썾썿쎀쎁쎂쎃쎅쎆쎇쎉쎊쎋쎍쎎쎏쎐쎑쎒쎓쎔쎕쎖쎗쎘쎙쎚쎛쎜쎝쎞쎟쎠쎡쎢쎣쎤쎥쎦쎧쎨쎩쎪쎫쎬쎭쎮쎯쎰쎱쎲쎳쎴쎵쎶쎷쎸쎹쎺쎻쎼쎽쎾쎿쏁쏂쏃쏄쏅쏆쏇쏈쏉쏊쏋쏌쏍쏎쏏쏐쏑쏒쏓쏔쏕쏖쏗쏚<EC8F97>".split(""),e=0;e!=r[155].length;++e)65533!==r[155][e].charCodeAt(0)&&(n[r[155][e]]=39680+e,t[39680+e]=r[155][e]);for(r[156]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쏛쏝쏞쏡쏣쏤쏥쏦쏧쏪쏫쏬쏮쏯쏰쏱쏲쏳쏶쏷쏹쏺쏻쏼쏽쏾<EC8FBD><EC8FBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쏿쐀쐁쐂쐃쐄쐅쐆쐇쐉쐊쐋쐌쐍쐎쐏쐑쐒쐓쐔쐕쐖쐗쐘쐙쐚<EC9099><EC909A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쐛쐜쐝쐞쐟쐠쐡쐢쐣쐥쐦쐧쐨쐩쐪쐫쐭쐮쐯쐱쐲쐳쐵쐶쐷쐸쐹쐺쐻쐾쐿쑀쑁쑂쑃쑄쑅쑆쑇쑉쑊쑋쑌쑍쑎쑏쑐쑑쑒쑓쑔쑕쑖쑗쑘쑙쑚쑛쑜쑝쑞쑟쑠쑡쑢쑣쑦쑧쑩쑪쑫쑭쑮쑯쑰쑱쑲쑳쑶쑷쑸쑺쑻쑼쑽쑾쑿쒁쒂쒃쒄쒅쒆쒇쒈쒉쒊쒋쒌쒍쒎쒏쒐쒑쒒쒓쒕쒖쒗쒘쒙쒚쒛쒝쒞쒟쒠쒡쒢쒣쒤쒥쒦쒧쒨쒩<EC92A8>".split(""),e=0;e!=r[156].length;++e)65533!==r[156][e].charCodeAt(0)&&(n[r[156][e]]=39936+e,t[39936+e]=r[156][e]);for(r[157]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쒪쒫쒬쒭쒮쒯쒰쒱쒲쒳쒴쒵쒶쒷쒹쒺쒻쒽쒾쒿쓀쓁쓂쓃쓄쓅<EC9384><EC9385><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쓆쓇쓈쓉쓊쓋쓌쓍쓎쓏쓐쓑쓒쓓쓔쓕쓖쓗쓘쓙쓚쓛쓜쓝쓞쓟<EC939E><EC939F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쓠쓡쓢쓣쓤쓥쓦쓧쓨쓪쓫쓬쓭쓮쓯쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂씃씄씅씆씇씈씉씊씋씍씎씏씑씒씓씕씖씗씘씙씚씛씝씞씟씠씡씢씣씤씥씦씧씪씫씭씮씯씱씲씳씴씵씶씷씺씼씾씿앀앁앂앃앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩앪앫앬앭앮앯앲앶앷앸앹앺앻앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔<EC9693>".split(""),e=0;e!=r[157].length;++e)65533!==r[157][e].charCodeAt(0)&&(n[r[157][e]]=40192+e,t[40192+e]=r[157][e]);for(r[158]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>얖얙얚얛얝얞얟얡얢얣얤얥얦얧얨얪얫얬얭얮얯얰얱얲얳얶<EC96B3><EC96B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>얷얺얿엀엁엂엃엋엍엏엒엓엕엖엗엙엚엛엜엝엞엟엢엤엦엧<EC97A6><EC97A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑옒옓옔옕옖옗옚옝옞옟옠옡옢옣옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉왊왋왌왍왎왏왒왖왗왘왙왚왛왞왟왡왢왣왤왥왦왧왨왩왪왫왭왮왰왲왳왴왵왶왷왺왻왽왾왿욁욂욃욄욅욆욇욊욌욎욏욐욑욒욓욖욗욙욚욛욝욞욟욠욡욢욣욦<EC9AA3>".split(""),e=0;e!=r[158].length;++e)65533!==r[158][e].charCodeAt(0)&&(n[r[158][e]]=40448+e,t[40448+e]=r[158][e]);for(r[159]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>욨욪욫욬욭욮욯욲욳욵욶욷욻욼욽욾욿웂웄웆웇웈웉웊웋웎<EC9B8B><EC9B8E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>웏웑웒웓웕웖웗웘웙웚웛웞웟웢웣웤웥웦웧웪웫웭웮웯웱웲<EC9BB1><EC9BB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>웳웴웵웶웷웺웻웼웾웿윀윁윂윃윆윇윉윊윋윍윎윏윐윑윒윓윖윘윚윛윜윝윞윟윢윣윥윦윧윩윪윫윬윭윮윯윲윴윶윸윹윺윻윾윿읁읂읃읅읆읇읈읉읋읎읐읙읚읛읝읞읟읡읢읣읤읥읦읧읩읪읬읭읮읯읰읱읲읳읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛잜잝잞잟잢잧잨잩잪잫잮잯잱잲잳잵잶잷<EC9EB6>".split(""),e=0;e!=r[159].length;++e)65533!==r[159][e].charCodeAt(0)&&(n[r[159][e]]=40704+e,t[40704+e]=r[159][e]);for(r[160]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>잸잹잺잻잾쟂쟃쟄쟅쟆쟇쟊쟋쟍쟏쟑쟒쟓쟔쟕쟖쟗쟙쟚쟛쟜<EC9F9B><EC9F9C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쟞쟟쟠쟡쟢쟣쟥쟦쟧쟩쟪쟫쟭쟮쟯쟰쟱쟲쟳쟴쟵쟶쟷쟸쟹쟺<EC9FB9><EC9FBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쟻쟼쟽쟾쟿젂젃젅젆젇젉젋젌젍젎젏젒젔젗젘젙젚젛젞젟젡젢젣젥젦젧젨젩젪젫젮젰젲젳젴젵젶젷젹젺젻젽젾젿졁졂졃졄졅졆졇졊졋졎졏졐졑졒졓졕졖졗졘졙졚졛졜졝졞졟졠졡졢졣졤졥졦졧졨졩졪졫졬졭졮졯졲졳졵졶졷졹졻졼졽졾졿좂좄좈좉좊좎좏좐좑좒좓좕좖좗좘좙좚좛좜좞좠좢좣좤<ECA2A3>".split(""),e=0;e!=r[160].length;++e)65533!==r[160][e].charCodeAt(0)&&(n[r[160][e]]=40960+e,t[40960+e]=r[160][e]);for(r[161]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>좥좦좧좩좪좫좬좭좮좯좰좱좲좳좴좵좶좷좸좹좺좻좾좿죀죁<ECA380><ECA381><EFBFBD><EFBFBD><EFBFBD><EFBFBD>죂죃죅죆죇죉죊죋죍죎죏죐죑죒죓죖죘죚죛죜죝죞죟죢죣죥<ECA3A3><ECA3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>죦죧죨죩죪죫죬죭죮죯죰죱죲죳죴죶죷죸죹죺죻죾죿줁줂줃줇줈줉줊줋줎 、。·‥…¨〃­―∥“”〈〉《》「」『』【】±×÷≠≤≥∞∴°″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∩∧<E288A8>".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>줐줒줓줔줕줖줗줙줚줛줜줝줞줟줠줡줢줣줤줥줦줧줨줩줪줫<ECA4AA><ECA4AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>줭줮줯줰줱줲줳줵줶줷줸줹줺줻줼줽줾줿쥀쥁쥂쥃쥄쥅쥆쥇<ECA586><ECA587><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쥈쥉쥊쥋쥌쥍쥎쥏쥒쥓쥕쥖쥗쥙쥚쥛쥜쥝쥞쥟쥢쥤쥥쥦쥧쥨쥩쥪쥫쥭쥮쥯⇒⇔∀∃´ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®<E282AC><C2AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쥱쥲쥳쥵쥶쥷쥸쥹쥺쥻쥽쥾쥿즀즁즂즃즄즅즆즇즊즋즍즎즏<ECA68E><ECA68F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>즑즒즓즔즕즖즗즚즜즞즟즠즡즢즣즤즥즦즧즨즩즪즫즬즭즮<ECA6AD><ECA6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>즯즰즱즲즳즴즵즶즷즸즹즺즻즼즽즾즿짂짃짅짆짉짋짌짍짎짏짒짔짗짘짛_<EFBD9D>".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>짞짟짡짣짥짦짨짩짪짫짮짲짳짴짵짶짷짺짻짽짾짿쨁쨂쨃쨄<ECA883><ECA884><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쨅쨆쨇쨊쨎쨏쨐쨑쨒쨓쨕쨖쨗쨙쨚쨛쨜쨝쨞쨟쨠쨡쨢쨣쨤쨥<ECA8A4><ECA8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쨦쨧쨨쨪쨫쨬쨭쨮쨯쨰쨱쨲쨳쨴쨵쨶쨷쨸쨹쨺쨻쨼쨽쨾쨿쩀쩁쩂쩃쩄쩅쩆ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅃㅄㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣㅥㅦㅧㅨㅩㅪㅫㅬㅭㅮㅯㅰㅱㅲㅳㅴㅵㅶㅷㅸㅹㅺㅻㅼㅽㅾㅿㆀㆁㆂㆃㆄㆅㆆㆇㆈㆉㆊㆋㆌㆍㆎ<E3868D>".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쩇쩈쩉쩊쩋쩎쩏쩑쩒쩓쩕쩖쩗쩘쩙쩚쩛쩞쩢쩣쩤쩥쩦쩧쩩쩪<ECA9A9><ECA9AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쩫쩬쩭쩮쩯쩰쩱쩲쩳쩴쩵쩶쩷쩸쩹쩺쩻쩼쩾쩿쪀쪁쪂쪃쪅쪆<ECAA85><ECAA86><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쪇쪈쪉쪊쪋쪌쪍쪎쪏쪐쪑쪒쪓쪔쪕쪖쪗쪙쪚쪛쪜쪝쪞쪟쪠쪡쪢쪣쪤쪥쪦쪧ⅱⅲⅳⅵⅶⅷⅸ<E285B8><E285B9><EFBFBD><EFBFBD><EFBFBD>ⅡⅢⅣⅥⅦⅧⅨ<E285A8><E285A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ<CEA8><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>αβγδεζηθικλμνξοπρστυφχψω<CF88><CF89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쪨쪩쪪쪫쪬쪭쪮쪯쪰쪱쪲쪳쪴쪵쪶쪷쪸쪹쪺쪻쪾쪿쫁쫂쫃쫅<ECAB83><ECAB85><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쫆쫇쫈쫉쫊쫋쫎쫐쫒쫔쫕쫖쫗쫚쫛쫜쫝쫞쫟쫡쫢쫣쫤쫥쫦쫧<ECABA6><ECABA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쫨쫩쫪쫫쫭쫮쫯쫰쫱쫲쫳쫵쫶쫷쫸쫹쫺쫻쫼쫽쫾쫿쬀쬁쬂쬃쬄쬅쬆쬇쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊<E29589><E2958A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쬋쬌쬍쬎쬏쬑쬒쬓쬕쬖쬗쬙쬚쬛쬜쬝쬞쬟쬢쬣쬤쬥쬦쬧쬨쬩<ECACA8><ECACA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쬪쬫쬬쬭쬮쬯쬰쬱쬲쬳쬴쬵쬶쬷쬸쬹쬺쬻쬼쬽쬾쬿쭀쭂쭃쭄<ECAD83><ECAD84><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쭅쭆쭇쭊쭋쭍쭎쭏쭑쭒쭓쭔쭕쭖쭗쭚쭛쭜쭞쭟쭠쭡쭢쭣쭥쭦쭧쭨쭩쭪쭫쭬㎕㎖㎗㎘㏄㎣㎤㎥㎦㎙㎚㎛㎜㎝㎞㎟㎠㎡㎢㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰㎱㎲㎳㎴㎵㎶㎷㎸㎹㎀㎁㎂㎃㎄㎺㎻㎼㎽㎾㎿㎐㎑㎒㎓㎔Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆<E38F9C><E38F86><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쭭쭮쭯쭰쭱쭲쭳쭴쭵쭶쭷쭺쭻쭼쭽쭾쭿쮀쮁쮂쮃쮄쮅쮆쮇쮈<ECAE87><ECAE88><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쮉쮊쮋쮌쮍쮎쮏쮐쮑쮒쮓쮔쮕쮖쮗쮘쮙쮚쮛쮝쮞쮟쮠쮡쮢쮣<ECAEA2><ECAEA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쮤쮥쮦쮧쮨쮩쮪쮫쮬쮭쮮쮯쮰쮱쮲쮳쮴쮵쮶쮷쮹쮺쮻쮼쮽쮾쮿쯀쯁쯂쯃쯄ÆÐªĦ<C2AA>IJ<EFBFBD>ĿŁØŒºÞŦŊ<C5A6>㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮½⅓⅔¼¾⅛⅜⅝⅞<E2859D>".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쯅쯆쯇쯈쯉쯊쯋쯌쯍쯎쯏쯐쯑쯒쯓쯕쯖쯗쯘쯙쯚쯛쯜쯝쯞쯟<ECAF9E><ECAF9F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쯠쯡쯢쯣쯥쯦쯨쯪쯫쯬쯭쯮쯯쯰쯱쯲쯳쯴쯵쯶쯷쯸쯹쯺쯻쯼<ECAFBB><ECAFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쯽쯾쯿찀찁찂찃찄찅찆찇찈찉찊찋찎찏찑찒찓찕찖찗찘찙찚찛찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂¹²³⁴ⁿ₁₂₃₄<E28283>".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[170]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>찥찦찪찫찭찯찱찲찳찴찵찶찷찺찿챀챁챂챃챆챇챉챊챋챍챎<ECB18D><ECB18E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>챏챐챑챒챓챖챚챛챜챝챞챟챡챢챣챥챧챩챪챫챬챭챮챯챱챲<ECB1B1><ECB1B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>챳챴챶챷챸챹챺챻챼챽챾챿첀첁첂첃첄첅첆첇첈첉첊첋첌첍첎첏첐첑첒첓ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん<E38292><E38293><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[170].length;++e)65533!==r[170][e].charCodeAt(0)&&(n[r[170][e]]=43520+e,t[43520+e]=r[170][e]);for(r[171]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>첔첕첖첗첚첛첝첞첟첡첢첣첤첥첦첧첪첮첯첰첱첲첳첶첷첹<ECB2B7><ECB2B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>첺첻첽첾첿쳀쳁쳂쳃쳆쳈쳊쳋쳌쳍쳎쳏쳑쳒쳓쳕쳖쳗쳘쳙쳚<ECB399><ECB39A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳛쳜쳝쳞쳟쳠쳡쳢쳣쳥쳦쳧쳨쳩쳪쳫쳭쳮쳯쳱쳲쳳쳴쳵쳶쳷쳸쳹쳺쳻쳼쳽ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ<E383B5><E383B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[171].length;++e)65533!==r[171][e].charCodeAt(0)&&(n[r[171][e]]=43776+e,t[43776+e]=r[171][e]);for(r[172]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳾쳿촀촂촃촄촅촆촇촊촋촍촎촏촑촒촓촔촕촖촗촚촜촞촟촠<ECB49F><ECB4A0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>촡촢촣촥촦촧촩촪촫촭촮촯촰촱촲촳촴촵촶촷촸촺촻촼촽촾<ECB4BD><ECB4BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>촿쵀쵁쵂쵃쵄쵅쵆쵇쵈쵉쵊쵋쵌쵍쵎쵏쵐쵑쵒쵓쵔쵕쵖쵗쵘쵙쵚쵛쵝쵞쵟АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ<D0AE><D0AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>абвгдеёжзийклмнопрстуфхцчшщъыьэюя<D18E><D18F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[172].length;++e)65533!==r[172][e].charCodeAt(0)&&(n[r[172][e]]=44032+e,t[44032+e]=r[172][e]);for(r[173]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쵡쵢쵣쵥쵦쵧쵨쵩쵪쵫쵮쵰쵲쵳쵴쵵쵶쵷쵹쵺쵻쵼쵽쵾쵿춀<ECB5BF><ECB680><EFBFBD><EFBFBD><EFBFBD><EFBFBD>춁춂춃춄춅춆춇춉춊춋춌춍춎춏춐춑춒춓춖춗춙춚춛춝춞춟<ECB69E><ECB69F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>춠춡춢춣춦춨춪춫춬춭춮춯춱춲춳춴춵춶춷춸춹춺춻춼춽춾춿췀췁췂췃췅<ECB783><ECB785><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[173].length;++e)65533!==r[173][e].charCodeAt(0)&&(n[r[173][e]]=44288+e,t[44288+e]=r[173][e]);for(r[174]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>췆췇췈췉췊췋췍췎췏췑췒췓췔췕췖췗췘췙췚췛췜췝췞췟췠췡<ECB7A0><ECB7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>췢췣췤췥췦췧췩췪췫췭췮췯췱췲췳췴췵췶췷췺췼췾췿츀츁츂<ECB881><ECB882><EFBFBD><EFBFBD><EFBFBD><EFBFBD>츃츅츆츇츉츊츋츍츎츏츐츑츒츓츕츖츗츘츚츛츜츝츞츟츢츣츥츦츧츩츪츫<ECB8AA><ECB8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[174].length;++e)65533!==r[174][e].charCodeAt(0)&&(n[r[174][e]]=44544+e,t[44544+e]=r[174][e]);for(r[175]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>츬츭츮츯츲츴츶츷츸츹츺츻츼츽츾츿칀칁칂칃칄칅칆칇칈칉<ECB988><ECB989><EFBFBD><EFBFBD><EFBFBD><EFBFBD>칊칋칌칍칎칏칐칑칒칓칔칕칖칗칚칛칝칞칢칣칤칥칦칧칪칬<ECB9AA><ECB9AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>칮칯칰칱칲칳칶칷칹칺칻칽칾칿캀캁캂캃캆캈캊캋캌캍캎캏캒캓캕캖캗캙<ECBA97><ECBA99><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[175].length;++e)65533!==r[175][e].charCodeAt(0)&&(n[r[175][e]]=44800+e,t[44800+e]=r[175][e]);for(r[176]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>캚캛캜캝캞캟캢캦캧캨캩캪캫캮캯캰캱캲캳캴캵캶캷캸캹캺<ECBAB9><ECBABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>캻캼캽캾캿컀컂컃컄컅컆컇컈컉컊컋컌컍컎컏컐컑컒컓컔컕<ECBB94><ECBB95><EFBFBD><EFBFBD><EFBFBD><EFBFBD>컖컗컘컙컚컛컜컝컞컟컠컡컢컣컦컧컩컪컭컮컯컰컱컲컳컶컺컻컼컽컾컿가각간갇갈갉갊감갑값갓갔강갖갗같갚갛개객갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆<EAB484>".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>켂켃켅켆켇켉켊켋켌켍켎켏켒켔켖켗켘켙켚켛켝켞켟켡켢켣<ECBCA2><ECBCA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>켥켦켧켨켩켪켫켮켲켳켴켵켶켷켹켺켻켼켽켾켿콀콁콂콃콄<ECBD83><ECBD84><EFBFBD><EFBFBD><EFBFBD><EFBFBD>콅콆콇콈콉콊콋콌콍콎콏콐콑콒콓콖콗콙콚콛콝콞콟콠콡콢콣콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸<EAB9B0>".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>콭콮콯콲콳콵콶콷콹콺콻콼콽콾콿쾁쾂쾃쾄쾆쾇쾈쾉쾊쾋쾍<ECBE8B><ECBE8D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쾎쾏쾐쾑쾒쾓쾔쾕쾖쾗쾘쾙쾚쾛쾜쾝쾞쾟쾠쾢쾣쾤쾥쾦쾧쾩<ECBEA7><ECBEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쾪쾫쾬쾭쾮쾯쾱쾲쾳쾴쾵쾶쾷쾸쾹쾺쾻쾼쾽쾾쾿쿀쿁쿂쿃쿅쿆쿇쿈쿉쿊쿋깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙<EB8197>".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쿌쿍쿎쿏쿐쿑쿒쿓쿔쿕쿖쿗쿘쿙쿚쿛쿜쿝쿞쿟쿢쿣쿥쿦쿧쿩<ECBFA7><ECBFA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쿪쿫쿬쿭쿮쿯쿲쿴쿶쿷쿸쿹쿺쿻쿽쿾쿿퀁퀂퀃퀅퀆퀇퀈퀉퀊<ED8089><ED808A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퀋퀌퀍퀎퀏퀐퀒퀓퀔퀕퀖퀗퀙퀚퀛퀜퀝퀞퀟퀠퀡퀢퀣퀤퀥퀦퀧퀨퀩퀪퀫퀬끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫났낭낮낯낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝<EB879C>".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퀮퀯퀰퀱퀲퀳퀶퀷퀹퀺퀻퀽퀾퀿큀큁큂큃큆큈큊큋큌큍큎큏<ED818E><ED818F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>큑큒큓큕큖큗큙큚큛큜큝큞큟큡큢큣큤큥큦큧큨큩큪큫큮큯<ED81AE><ED81AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>큱큲큳큵큶큷큸큹큺큻큾큿킀킂킃킄킅킆킇킈킉킊킋킌킍킎킏킐킑킒킓킔뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫달닭닮닯닳담답닷닸당닺닻닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥<EB8DA4>".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>킕킖킗킘킙킚킛킜킝킞킟킠킡킢킣킦킧킩킪킫킭킮킯킰킱킲<ED82B1><ED82B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>킳킶킸킺킻킼킽킾킿탂탃탅탆탇탊탋탌탍탎탏탒탖탗탘탙탚<ED8399><ED839A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>탛탞탟탡탢탣탥탦탧탨탩탪탫탮탲탳탴탵탶탷탹탺탻탼탽탾탿턀턁턂턃턄덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸<EB94B4>".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>턅턆턇턈턉턊턋턌턎턏턐턑턒턓턔턕턖턗턘턙턚턛턜턝턞턟<ED849E><ED849F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>턠턡턢턣턤턥턦턧턨턩턪턫턬턭턮턯턲턳턵턶턷턹턻턼턽턾<ED84BD><ED84BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>턿텂텆텇텈텉텊텋텎텏텑텒텓텕텖텗텘텙텚텛텞텠텢텣텤텥텦텧텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗<EB9E96>".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>텮텯텰텱텲텳텴텵텶텷텸텹텺텻텽텾텿톀톁톂톃톅톆톇톉톊<ED8689><ED868A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>톋톌톍톎톏톐톑톒톓톔톕톖톗톘톙톚톛톜톝톞톟톢톣톥톦톧<ED86A6><ED86A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>톩톪톫톬톭톮톯톲톴톶톷톸톹톻톽톾톿퇁퇂퇃퇄퇅퇆퇇퇈퇉퇊퇋퇌퇍퇎퇏래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩<EBA5A8>".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퇐퇑퇒퇓퇔퇕퇖퇗퇙퇚퇛퇜퇝퇞퇟퇠퇡퇢퇣퇤퇥퇦퇧퇨퇩퇪<ED87A9><ED87AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퇫퇬퇭퇮퇯퇰퇱퇲퇳퇵퇶퇷퇹퇺퇻퇼퇽퇾퇿툀툁툂툃툄툅툆<ED8885><ED8886><EFBFBD><EFBFBD><EFBFBD><EFBFBD>툈툊툋툌툍툎툏툑툒툓툔툕툖툗툘툙툚툛툜툝툞툟툠툡툢툣툤툥툦툧툨툩륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많맏말맑맒맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼<EBAB99>".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>툪툫툮툯툱툲툳툵툶툷툸툹툺툻툾퉀퉂퉃퉄퉅퉆퉇퉉퉊퉋퉌<ED898B><ED898C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퉍퉎퉏퉐퉑퉒퉓퉔퉕퉖퉗퉘퉙퉚퉛퉝퉞퉟퉠퉡퉢퉣퉥퉦퉧퉨<ED89A7><ED89A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퉩퉪퉫퉬퉭퉮퉯퉰퉱퉲퉳퉴퉵퉶퉷퉸퉹퉺퉻퉼퉽퉾퉿튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바박밖밗반받발밝밞밟밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗<EBB295>".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>튍튎튏튒튓튔튖튗튘튙튚튛튝튞튟튡튢튣튥튦튧튨튩튪튫튭<ED8AAB><ED8AAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>튮튯튰튲튳튴튵튶튷튺튻튽튾틁틃틄틅틆틇틊틌틍틎틏틐틑<ED8B90><ED8B91><EFBFBD><EFBFBD><EFBFBD><EFBFBD>틒틓틕틖틗틙틚틛틝틞틟틠틡틢틣틦틧틨틩틪틫틬틭틮틯틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤<EBB9A1>".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>틻틼틽틾틿팂팄팆팇팈팉팊팋팏팑팒팓팕팗팘팙팚팛팞팢팣<ED8CA2><ED8CA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>팤팦팧팪팫팭팮팯팱팲팳팴팵팶팷팺팾팿퍀퍁퍂퍃퍆퍇퍈퍉<ED8D88><ED8D89><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퍊퍋퍌퍍퍎퍏퍐퍑퍒퍓퍔퍕퍖퍗퍘퍙퍚퍛퍜퍝퍞퍟퍠퍡퍢퍣퍤퍥퍦퍧퍨퍩빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤<EC839D>".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퍪퍫퍬퍭퍮퍯퍰퍱퍲퍳퍴퍵퍶퍷퍸퍹퍺퍻퍾퍿펁펂펃펅펆펇<ED8E86><ED8E87><EFBFBD><EFBFBD><EFBFBD><EFBFBD>펈펉펊펋펎펒펓펔펕펖펗펚펛펝펞펟펡펢펣펤펥펦펧펪펬펮<ED8EAC><ED8EAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>펯펰펱펲펳펵펶펷펹펺펻펽펾펿폀폁폂폃폆폇폊폋폌폍폎폏폑폒폓폔폕폖샥샨샬샴샵샷샹섀섄섈섐섕서석섞섟선섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭<EC88AB>".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>폗폙폚폛폜폝폞폟폠폢폤폥폦폧폨폩폪폫폮폯폱폲폳폵폶폷<ED8FB6><ED8FB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>폸폹폺폻폾퐀퐂퐃퐄퐅퐆퐇퐉퐊퐋퐌퐍퐎퐏퐐퐑퐒퐓퐔퐕퐖<ED9095><ED9096><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퐗퐘퐙퐚퐛퐜퐞퐟퐠퐡퐢퐣퐤퐥퐦퐧퐨퐩퐪퐫퐬퐭퐮퐯퐰퐱퐲퐳퐴퐵퐶퐷숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰<EC90AC>".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퐸퐹퐺퐻퐼퐽퐾퐿푁푂푃푅푆푇푈푉푊푋푌푍푎푏푐푑푒푓<ED9192><ED9193><EFBFBD><EFBFBD><EFBFBD><EFBFBD>푔푕푖푗푘푙푚푛푝푞푟푡푢푣푥푦푧푨푩푪푫푬푮푰푱푲<ED91B1><ED91B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>푳푴푵푶푷푺푻푽푾풁풃풄풅풆풇풊풌풎풏풐풑풒풓풕풖풗풘풙풚풛풜풝쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄업없엇었엉엊엌엎<EC978C>".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>풞풟풠풡풢풣풤풥풦풧풨풪풫풬풭풮풯풰풱풲풳풴풵풶풷풸<ED92B7><ED92B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>풹풺풻풼풽풾풿퓀퓁퓂퓃퓄퓅퓆퓇퓈퓉퓊퓋퓍퓎퓏퓑퓒퓓퓕<ED9393><ED9395><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퓖퓗퓘퓙퓚퓛퓝퓞퓠퓡퓢퓣퓤퓥퓦퓧퓩퓪퓫퓭퓮퓯퓱퓲퓳퓴퓵퓶퓷퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염엽엾엿였영옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨<EC9BA1>".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퓾퓿픀픁픂픃픅픆픇픉픊픋픍픎픏픐픑픒픓픖픘픙픚픛픜픝<ED949C><ED949D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>픞픟픠픡픢픣픤픥픦픧픨픩픪픫픬픭픮픯픰픱픲픳픴픵픶픷<ED94B6><ED94B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>픸픹픺픻픾픿핁핂핃핅핆핇핈핉핊핋핎핐핒핓핔핕핖핗핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응읒읓읔읕읖읗의읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊<ECA088>".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>핤핦핧핪핬핮핯핰핱핲핳핶핷핹핺핻핽핾핿햀햁햂햃햆햊햋<ED968A><ED968B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>햌햍햎햏햑햒햓햔햕햖햗햘햙햚햛햜햝햞햟햠햡햢햣햤햦햧<ED96A6><ED96A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>햨햩햪햫햬햭햮햯햰햱햲햳햴햵햶햷햸햹햺햻햼햽햾햿헀헁헂헃헄헅헆헇점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓<ECA791>".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>헊헋헍헎헏헑헓헔헕헖헗헚헜헞헟헠헡헢헣헦헧헩헪헫헭헮<ED97AD><ED97AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>헯헰헱헲헳헶헸헺헻헼헽헾헿혂혃혅혆혇혉혊혋혌혍혎혏혒<ED988F><ED9892><EFBFBD><EFBFBD><EFBFBD><EFBFBD>혖혗혘혙혚혛혝혞혟혡혢혣혥혦혧혨혩혪혫혬혮혯혰혱혲혳혴혵혶혷혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻<ECB0B9>".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝홞홟홠홡<ED99A0><ED99A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>홢홣홤홥홦홨홪홫홬홭홮홯홲홳홵홶홷홸홹홺홻홼홽홾홿횀<ED99BF><ED9A80><EFBFBD><EFBFBD><EFBFBD><EFBFBD>횁횂횄횆횇횈횉횊횋횎횏횑횒횓횕횖횗횘횙횚횛횜횞횠횢횣횤횥횦횧횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층<ECB8B3>".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>횫횭횮횯횱횲횳횴횵횶횷횸횺횼횽횾횿훀훁훂훃훆훇훉훊훋<ED9B8A><ED9B8B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>훍훎훏훐훒훓훕훖훘훚훛훜훝훞훟훡훢훣훥훦훧훩훪훫훬훭<ED9BAC><ED9BAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>훮훯훱훲훳훴훶훷훸훹훺훻훾훿휁휂휃휅휆휇휈휉휊휋휌휍휎휏휐휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼<ED80B8>".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>휕휖휗휚휛휝휞휟휡휢휣휤휥휦휧휪휬휮휯휰휱휲휳휶휷휹<ED9CB7><ED9CB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>휺휻휽휾휿흀흁흂흃흅흆흈흊흋흌흍흎흏흒흓흕흚흛흜흝흞<ED9D9D><ED9D9E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵흶흷흸흹흺흻흾흿힀힂힃힄힅힆힇힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜<ED8988>".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>힍힎힏힑힒힓힔힕힖힗힚힜힞힟힠힡힢힣<ED9EA2><ED9EA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁<ED8FBF>".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[199]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠<ED989C>".split(""),e=0;e!=r[199].length;++e)65533!==r[199][e].charCodeAt(0)&&(n[r[199][e]]=50944+e,t[50944+e]=r[199][e]);for(r[200]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝<ED9E9B>".split(""),e=0;e!=r[200].length;++e)65533!==r[200][e].charCodeAt(0)&&(n[r[200][e]]=51200+e,t[51200+e]=r[200][e]);for(r[202]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕<E99192>".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢<E58A92>".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械<E6A182>".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜<E69E9C>".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾<E585B7>".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴<E6ADB8>".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣<E69797>".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩羅蘿螺裸邏那樂洛烙珞落諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉<EFA4A4>".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>納臘蠟衲囊娘廊朗浪狼郎乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧老蘆虜路露駑魯鷺碌祿綠菉錄鹿論壟弄濃籠聾膿農惱牢磊腦賂雷尿壘屢樓淚漏累縷陋嫩訥杻紐勒肋凜凌稜綾能菱陵尼泥匿溺多茶<E5A49A>".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃<E69097>".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅<E799A9>".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣<E694A3>".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼<E8818A>".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬<E99C96>".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅<E9BAB5>".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文<E5958F>".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑<E6B8A4>".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖<E792A7>".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦<E5A4AB>".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥<E7BFA1>".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索<E69C94>".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署<E7B796>".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬<E79C81>".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁<E5B8A5>".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧<E5B487>".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁<E5BF83>".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額<E8858B>".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬<E5A682>".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒<E889B6>".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳<E6B19A>".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療<E791A4>".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓<E88AB8>".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜<E6B8B8>".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼<E8A1A3>".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄<E585A5>".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長<E986AC>".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱<E6B088>".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖<E99C86>".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫<E7B8B1>".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只<E4B98B>".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯<E7B79D>".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策<E69FB5>".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢<E68B9B>".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃<E886B5>".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託<E790B8>".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑<E8BEA6>".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);for(r[248]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃<E9A384>".split(""),e=0;e!=r[248].length;++e)65533!==r[248][e].charCodeAt(0)&&(n[r[248][e]]=63488+e,t[63488+e]=r[248][e]);for(r[249]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航<E8829B>".split(""),e=0;e!=r[249].length;++e)65533!==r[249][e].charCodeAt(0)&&(n[r[249][e]]=63744+e,t[63744+e]=r[249][e]);for(r[250]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型<E58891>".split(""),e=0;e!=r[250].length;++e)65533!==r[250][e].charCodeAt(0)&&(n[r[250][e]]=64e3+e,t[64e3+e]=r[250][e]);for(r[251]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵<E781AB>".split(""),e=0;e!=r[251].length;++e)65533!==r[251][e].charCodeAt(0)&&(n[r[251][e]]=64256+e,t[64256+e]=r[251][e]);for(r[252]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆<E6B68D>".split(""),e=0;e!=r[252].length;++e)65533!==r[252][e].charCodeAt(0)&&(n[r[252][e]]=64512+e,t[64512+e]=r[252][e]);for(r[253]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰<E7BEB2>".split(""),e=0;e!=r[253].length;++e)65533!==r[253][e].charCodeAt(0)&&(n[r[253][e]]=64768+e,t[64768+e]=r[253][e]);return{enc:n,dec:t}}(),n[950]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[161]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 、。…‥﹐﹑﹒·﹔﹕﹖﹗︱—︳╴︴︵︶︷︸︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚<EFB999><EFB99A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>﹛﹜﹝﹞“”〝〞※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹋﹌﹟﹠﹡×÷±√≦≧≠∞≒≡﹢﹣﹤﹥﹦⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥<E288A3>".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¥〒¢£℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁▂▃▄▅▆▇█▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭<E29498><E295AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>╮╰╯═╞╪╡◢◣◥◤ⅡⅢⅣⅥⅦⅧⅨ〡〢〣〤〥〦〧〨〩十卄卅<EFBD95>".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏ<E3848E><E3848F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ˙ˉˊˇˋ<CB87><CB8B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E282AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才<E5BC93><E6898D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙<E78E8B>".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外<E59B9A><E5A496><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全<E58588>".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年<E5B9B6><E5B9B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣<E4BD86>".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍<E59D80><E59D8D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠<E69D86>".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒<E889AF><E88A92><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵<E591B3>".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居<E5B188><E5B185><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊<E69895>".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[170]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠<E6B396><E6B3A0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附<E998BB>".split(""),e=0;e!=r[170].length;++e)65533!==r[170][e].charCodeAt(0)&&(n[r[170][e]]=43520+e,t[43520+e]=r[170][e]);for(r[171]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品<E592AA><E59381><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷<E68BB1>".split(""),e=0;e!=r[171].length;++e)65533!==r[171][e].charCodeAt(0)&&(n[r[171][e]]=43776+e,t[43776+e]=r[171][e]);for(r[172]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗<E6B49E><E6B497><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄<E7BEBF>".split(""),e=0;e!=r[172].length;++e)65533!==r[172][e].charCodeAt(0)&&(n[r[172][e]]=44032+e,t[44032+e]=r[172][e]);for(r[173]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥<E8BFAA><E8BFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪<E593AE>".split(""),e=0;e!=r[173].length;++e)65533!==r[173][e].charCodeAt(0)&&(n[r[173][e]]=44288+e,t[44288+e]=r[173][e]);for(r[174]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙<E5BE90><E68199><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓<E6B599>".split(""),e=0;e!=r[174].length;++e)65533!==r[174][e].charCodeAt(0)&&(n[r[174][e]]=44544+e,t[44544+e]=r[174][e]);for(r[175]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷<E7A0B4><E7A0B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃<E88CA8>".split(""),e=0;e!=r[175].length;++e)65533!==r[175][e].charCodeAt(0)&&(n[r[175][e]]=44800+e,t[44800+e]=r[175][e]);for(r[176]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡<E999A3><E999A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀<E5A9AA>".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽<E683A6><E682BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺<E6ACB2>".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶<E793A0><E793B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼<E88DBB>".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途<E9809B><E98094><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠<E5A3BA>".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍<E68F86><E68F8D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋<E6B8BE>".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘<E7A880><E7AA98><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁<E8A8BC>".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑<E9968B><E99691><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼<E5AABD>".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業<E6A694><E6A5AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督<E79D9E>".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫<E885B3><E885AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊<E8BBBE>".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴<E9A3BC><E9A3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇<E5BEB9>".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢<E6BC82><E6BCA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬<E7B787>".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤<E8AA93><E8AAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜<E58485>".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂<E68595><E68682><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃<E7928B>".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯<E7BDB7><E7BEAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞<E8BC9C>".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉<E9B486><E9B489><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡<E6BEB1>".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊<E7B396><E7B88A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚<E98C84>".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇<E59A85><E59A87><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬<E79EB0>".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪<E889B1><E896AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁<E9A4B5>".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘<E79996><E79998><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦<E99EA3>".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸<E78AA2><E78DB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類<E99FBB>".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼<E7B9BD><E7B9BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴<E8A6BD>".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬<E799AE><E799AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒<E8AE93>".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲<E9B89E><E7B1B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[201]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕<E68990><E6B095><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋<E6B194>".split(""),e=0;e!=r[201].length;++e)65533!==r[201][e].charCodeAt(0)&&(n[r[201][e]]=51456+e,t[51456+e]=r[201][e]);for(r[202]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘<E590A5><E59098><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇<E69D85>".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓<E88A91><E88A93><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢<E59DB4>".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋<E680B2><E6808B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲<E6B3AD>".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺<E79FBB><E79FBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏<E592A5>".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛<E5B38B><E5B39B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺<E69F88>".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂<E6B49D><E6B582><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀<E7A78E>".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪<E88BB0><E88BAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱<E59485>".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧<E6819A><E681A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤<E6AFA6>".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸<E78982><E789B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐<E7AB98>".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢<E88C9C><E88CA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐<E983A4>".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅<E59592><E59585><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏<E5B4A5>".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟<E68CBB><E68E9F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉<E6B78F>".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏<E79792><E7978F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟<E7BF89>".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷<E89ABF><E89AB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪<E987B9>".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷<E5A0A9><E5A0B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔<E68384>".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒<E69790><E69792><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞<E6B8AE>".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖<E790AB><E79096><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥<E7BCBF>".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳<E88F82><E88FB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺<E8BBB7>".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈<E999BE><E99A88><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆<E5AABB>".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤<E690A0><E690A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼<E6AFBB>".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓<E78590><E78593><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓<E7A8A2>".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯<E885A7><E885AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤<E8A7A5>".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿<E98192><E980BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠<E583A3>".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠<E5ADB7><E5AFA0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉<E6A6B6>".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊<E6BBAD><E6BC8A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓<E7A694>".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞<E7BFA5><E7BF9E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻<E8A3B6>".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍<E98AAA><E98A8D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘<E59986>".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉<E686A2><E68689><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒<E6BF86>".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙<E78D9A><E78D99><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟<E886A3>".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢<E894AF><E899A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧<E8B8A6>".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓<E98B91><E98B93><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮<E599A0>".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺<E6878C><E686BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸<E6BEBF>".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙<E79E95><E79E99><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘<E895A1>".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠<E8A7B1><E8ABA0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌<E98C94>".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕<E9ADBA><E9AE95><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎<E6AA93>".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶<E79EB7><E79EB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞<E8969A>".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞<E8A7B3><E8AC9E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜<E99EA1>".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰<E9B4B8><E9B4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶<E787BD>".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒<E88791><E88792><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧<E8B9A5>".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪<E99EA4><E99EAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰<E5B783>".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛<E7A49D><E7A49B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕<E8AD8B>".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦<E99CA8><E99CA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲<E58CB7>".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩<E7A4A4><E7A4A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿<E9908A>".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛<E9B690><E9B69B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥<E8989E>".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺<E9A981><E9A8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚<E7B19B>".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊<E9A988><E9A98A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾<E8A5B3>".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);for(r[248]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏<E9BD83><E9BD8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚<E7B3B6>".split(""),e=0;e!=r[248].length;++e)65533!==r[248][e].charCodeAt(0)&&(n[r[248][e]]=63488+e,t[63488+e]=r[248][e]);for(r[249]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊<E9BBB6><E9BC8A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓<E295AF>".split(""),e=0;e!=r[249].length;++e)65533!==r[249][e].charCodeAt(0)&&(n[r[249][e]]=63744+e,t[63744+e]=r[249][e]);return{enc:n,dec:t}}(),n[1250]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F><EFBFBD>„…†‡<E280A0>‰ŠŚŤŽŹ<C5BD>“”•<E28093>™šśťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1251]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃѓ„…†‡€‰ЉЊЌЋЏђ“”•<E28093>™љњќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1252]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F>ƒ„…†‡ˆ‰ŠŒ<E280B9>Ž<EFBFBD><C5BD>“”•˜™šœ<E280BA>žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1253]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F>ƒ„…†‡<E280A0><EFBFBD><EFBFBD><E280B9><EFBFBD><EFBFBD><EFBFBD>“”•<E28093><EFBFBD><EFBFBD><E280BA><EFBFBD><EFBFBD> ΅Ά£¤¥¦§¨©<C2A8>«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ<CEA0>ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ<CF8D>",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1254]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F>ƒ„…†‡ˆ‰ŠŒ<E280B9><C592><EFBFBD><EFBFBD>“”•˜™šœ<E280BA><C593>Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1255]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F>ƒ„…†‡ˆ<CB86><EFBFBD><E280B9><EFBFBD><EFBFBD><EFBFBD>“”•˜<CB9C><EFBFBD><E280BA><EFBFBD><EFBFBD> ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ<D6B8>ֻּֽ־ֿ׀ׁׂ׃װױײ׳״<D7B3><D7B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9><D7AA><E2808E>",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1256]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1257]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F><EFBFBD>„…†‡<E280A0><EFBFBD><EFBFBD>¨ˇ¸<CB87>“”•<E28093><EFBFBD><EFBFBD>¯˛<C2AF> <EFBFBD>¢£¤<C2A3>¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1258]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7F>ƒ„…†‡ˆ<CB86>Œ<E280B9><C592><EFBFBD><EFBFBD>“”•˜<CB9C>œ<E280BA><C593>Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1e4]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ—“”÷◊ÿŸ¤fifl‡·„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10006]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡΤ«»… ΥΧΆΈœ―“”÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ<CE90>",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10007]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10008]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€<EFA3B6><EFA3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[161]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 、。・ˉˇ¨〃々―<E28095>“”〈〉《》「」『』〖〗【】±×÷∑∏∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°″℃¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓<E28693>".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩<E291A8><E291A9>㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩<E388A8><E388A9>ⅡⅢⅣⅥⅦⅧⅨⅪⅫ<E285AA><E285AB><EFBFBD>".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBD9D>".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん<E38292><E38293><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ<E383B5><E383B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ<CEA8><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>αβγδεζηθικλμνξοπρστυφχψω<CF88><CF89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ<D0AE><D0AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>абвгдеёжзийклмнопрстуфхцчшщъыьэюя<D18E><D18F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê<C3BC><C3AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ<E384A8><E384A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋<E2958A><E2958B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[176]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥<E8A492>".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳<E9A5BC>".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖<E6988C>".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚<E999A4>".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮<E5BE85>".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠<E8B08D>".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二<E6B4B1>".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服<E4BF98>".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹<E5BA9A>".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈<E8BF87>".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖<E7B38A>".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕<E7A7AF>".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件<E7AEAD>".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸<E783AC>".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻<E5909B>".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀<E9AD81>".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐<E4BE8B>".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿<E7ACBC>".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫<E685A2>".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸<E8B0AC>".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁<E5879D>".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗<E790B5>".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐<E8AEAB>".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[199]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠<E9A9B1>".split(""),e=0;e!=r[199].length;++e)65533!==r[199][e].charCodeAt(0)&&(n[r[199][e]]=50944+e,t[50944+e]=r[199][e]);for(r[200]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁<E4B889>".split(""),e=0;e!=r[200].length;++e)65533!==r[200][e].charCodeAt(0)&&(n[r[200][e]]=51200+e,t[51200+e]=r[200][e]);for(r[201]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳<E58D87>".split(""),e=0;e!=r[201].length;++e)65533!==r[201][e].charCodeAt(0)&&(n[r[201][e]]=51456+e,t[51456+e]=r[201][e]);for(r[202]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱<E695B0>".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔<E5A5B9>".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃<E590AC>".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威<E5A684>".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺<E994A1>".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓<E6B786>".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄<E6978B>".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶<E5A696>".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐<E5BC95>".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉<E882B2>".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧<E69CAD>".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政<E6ADA3>".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑<E993B8>".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座<E59D90><E5BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝<E4BD9A>".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼<E586BD>".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺<E982B6>".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝<E59FA4>".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥<E88DA6>".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺<E8949F>".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖<E691AD>".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼<E59590>".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼<E5B8BB>".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺<E78C83>".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂<E681BA>".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾<E6B3AF>".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑<E6BDBA>".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣<E5A6AA>".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩<E7BAA8>".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬<E790AE>".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹<E6A4A0>".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋<E8BE87>".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰<E68CB2>".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻<E8878A>".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐<E5BF91>".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨<E79D9A>".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪<E993A8>".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔<E7A89E>".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙<E79895>".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃<E9A280>".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒<E89EA8>".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋<E7B096>".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤<E9858F>".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜<E8A79A>".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋<E9B38A>".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄<E9BCBE>".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);return{enc:n,dec:t}}(),n[10029]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10079]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ—“”÷◊ÿŸ¤ÐðÞþý·„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10081]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ—“”÷◊ÿŸĞğİıŞş‡·„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙ<C39B>ˆ˜¯˘˙˚¸˝˛ˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[28591]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),e.exports&&"undefined"===typeof DO_NOT_EXPORT_CODEPAGE&&(e.exports=n)
/*! cputils.js (C) 2013-present SheetJS -- http://sheetjs.com */,function(t,r){"use strict";if("undefined"===typeof n){var i=n;e.exports&&"undefined"===typeof DO_NOT_EXPORT_CODEPAGE?e.exports=r(i):t.cptable=r(i)}else n=r(n)}(this,(function(e){"use strict";var n={1200:"utf16le",1201:"utf16be",12e3:"utf32le",12001:"utf32be",16969:"utf64le",20127:"ascii",65e3:"utf7",65001:"utf8"},r=[874,1250,1251,1252,1253,1254,1255,1256,1e4],i=[932,936,949,950],o=[65001],a={},s={},l={},u={},c=function(e){return String.fromCharCode(e)},f=function(e){return e.charCodeAt(0)},h="undefined"!==typeof t,d=function(){};if(h){var p=!t.from;if(!p)try{t.from("foo","utf8")}catch(L){p=!0}d=p?function(e,n){return n?new t(e,n):new t(e)}:t.from.bind(t),t.allocUnsafe||(t.allocUnsafe=function(e){return new t(e)});var g=1024,v=t.allocUnsafe(g),y=function(e){for(var n=t.allocUnsafe(65536),r=0;r<65536;++r)n[r]=0;for(var i=Object.keys(e),o=i.length,a=0,s=i[a];a<o;++a)(s=i[a])&&(n[s.charCodeAt(0)]=e[s]);return n},m=function(n){var r=y(e[n].enc);return function(e,n){var i,o=e.length,a=0,s=0,l=0,u=0;if("string"===typeof e)for(i=t.allocUnsafe(o),a=0;a<o;++a)i[a]=r[e.charCodeAt(a)];else if(t.isBuffer(e)){for(i=t.allocUnsafe(2*o),s=0,a=0;a<o;++a)l=e[a],l<128?i[s++]=r[l]:l<224?(i[s++]=r[((31&l)<<6)+(63&e[a+1])],++a):l<240?(i[s++]=r[((15&l)<<12)+((63&e[a+1])<<6)+(63&e[a+2])],a+=2):(u=((7&l)<<18)+((63&e[a+1])<<12)+((63&e[a+2])<<6)+(63&e[a+3]),a+=3,u<65536?i[s++]=r[u]:(u-=65536,i[s++]=r[55296+(u>>10&1023)],i[s++]=r[56320+(1023&u)]));i=i.slice(0,s)}else for(i=t.allocUnsafe(o),a=0;a<o;++a)i[a]=r[e[a].charCodeAt(0)];return n&&"buf"!==n?"arr"!==n?i.toString("binary"):[].slice.call(i):i}},b=function(n){var r=e[n].dec,i=t.allocUnsafe(131072),o=0,a="";for(o=0;o<r.length;++o)if(a=r[o]){var s=a.charCodeAt(0);i[2*o]=255&s,i[2*o+1]=s>>8}return function(e){var n=e.length,r=0,o=0;if(2*n>g&&(g=2*n,v=t.allocUnsafe(g)),t.isBuffer(e))for(r=0;r<n;r++)o=2*e[r],v[2*r]=i[o],v[2*r+1]=i[o+1];else if("string"===typeof e)for(r=0;r<n;r++)o=2*e.charCodeAt(r),v[2*r]=i[o],v[2*r+1]=i[o+1];else for(r=0;r<n;r++)o=2*e[r],v[2*r]=i[o],v[2*r+1]=i[o+1];return v.slice(0,2*n).toString("ucs2")}},_=function(n){for(var r=e[n].enc,i=t.allocUnsafe(131072),o=0;o<131072;++o)i[o]=0;for(var a=Object.keys(r),s=0,l=a[s];s<a.length;++s)if(l=a[s]){var u=l.charCodeAt(0);i[2*u]=255&r[l],i[2*u+1]=r[l]>>8}return function(e,n){var r=e.length,o=t.allocUnsafe(2*r),a=0,s=0,l=0,u=0,c=0;if("string"===typeof e){for(a=u=0;a<r;++a)s=2*e.charCodeAt(a),o[u++]=i[s+1]||i[s],i[s+1]>0&&(o[u++]=i[s]);o=o.slice(0,u)}else if(t.isBuffer(e)){for(a=u=0;a<r;++a)c=e[a],c<128?s=c:c<224?(s=((31&c)<<6)+(63&e[a+1]),++a):c<240?(s=((15&c)<<12)+((63&e[a+1])<<6)+(63&e[a+2]),a+=2):(s=((7&c)<<18)+((63&e[a+1])<<12)+((63&e[a+2])<<6)+(63&e[a+3]),a+=3),s<65536?(s*=2,o[u++]=i[s+1]||i[s],i[s+1]>0&&(o[u++]=i[s])):(l=s-65536,s=2*(55296+(l>>10&1023)),o[u++]=i[s+1]||i[s],i[s+1]>0&&(o[u++]=i[s]),s=2*(56320+(1023&l)),o[u++]=i[s+1]||i[s],i[s+1]>0&&(o[u++]=i[s]));o=o.slice(0,u)}else for(a=u=0;a<r;a++)s=2*e[a].charCodeAt(0),o[u++]=i[s+1]||i[s],i[s+1]>0&&(o[u++]=i[s]);return n&&"buf"!==n?"arr"!==n?o.toString("binary"):[].slice.call(o):o}},x=function(n){var r,i=e[n].dec,o=t.allocUnsafe(131072),a=0,s=0,l=0,u=0;for(u=0;u<65536;++u)o[2*u]=255,o[2*u+1]=253;for(a=0;a<i.length;++a)(r=i[a])&&(s=r.charCodeAt(0),l=2*a,o[l]=255&s,o[l+1]=s>>8);return function(e){var n=e.length,r=t.allocUnsafe(2*n),i=0,a=0,s=0;if(t.isBuffer(e))for(i=0;i<n;i++)a=2*e[i],255===o[a]&&253===o[a+1]&&(a=2*((e[i]<<8)+e[i+1]),++i),r[s++]=o[a],r[s++]=o[a+1];else if("string"===typeof e)for(i=0;i<n;i++)a=2*e.charCodeAt(i),255===o[a]&&253===o[a+1]&&(a=2*((e.charCodeAt(i)<<8)+e.charCodeAt(i+1)),++i),r[s++]=o[a],r[s++]=o[a+1];else for(i=0;i<n;i++)a=2*e[i],255===o[a]&&253===o[a+1]&&(a=2*((e[i]<<8)+e[i+1]),++i),r[s++]=o[a],r[s++]=o[a+1];return r.slice(0,s).toString("ucs2")}};a[65001]=function e(n){if("string"===typeof n)return e(n.split("").map(f));var r=n.length,i=0,o=0;4*r>g&&(g=4*r,v=t.allocUnsafe(g));var a=0;r>=3&&239==n[0]&&187==n[1]&&191==n[2]&&(a=3);for(var s=1,l=0,u=0;a<r;a+=s)s=1,u=n[a],u<128?i=u:u<224?(i=64*(31&u)+(63&n[a+1]),s=2):u<240?(i=((15&u)<<12)+64*(63&n[a+1])+(63&n[a+2]),s=3):(i=262144*(7&u)+((63&n[a+1])<<12)+64*(63&n[a+2])+(63&n[a+3]),s=4),i<65536?(v[l++]=255&i,v[l++]=i>>8):(i-=65536,o=55296+(i>>10&1023),i=56320+(1023&i),v[l++]=255&o,v[l++]=o>>>8,v[l++]=255&i,v[l++]=i>>>8&255);return v.slice(0,l).toString("ucs2")},s[65001]=function(e,n){if(h&&t.isBuffer(e))return n&&"buf"!==n?"arr"!==n?e.toString("binary"):[].slice.call(e):e;var r=e.length,i=0,o=0,a=0,s="string"===typeof e;4*r>g&&(g=4*r,v=t.allocUnsafe(g));for(var l=0;l<r;++l)i=s?e.charCodeAt(l):e[l].charCodeAt(0),i<=127?v[a++]=i:i<=2047?(v[a++]=192+(i>>6),v[a++]=128+(63&i)):i>=55296&&i<=57343?(i-=55296,++l,o=(s?e.charCodeAt(l):e[l].charCodeAt(0))-56320+(i<<10),v[a++]=240+(o>>>18&7),v[a++]=144+(o>>>12&63),v[a++]=128+(o>>>6&63),v[a++]=128+(63&o)):(v[a++]=224+(i>>12),v[a++]=128+(i>>6&63),v[a++]=128+(63&i));return n&&"buf"!==n?"arr"!==n?v.slice(0,a).toString("binary"):[].slice.call(v,0,a):v.slice(0,a)}}var w=function(){if(h){if(l[r[0]])return;var t=0,n=0;for(t=0;t<r.length;++t)n=r[t],e[n]&&(l[n]=b(n),u[n]=m(n));for(t=0;t<i.length;++t)n=i[t],e[n]&&(l[n]=x(n),u[n]=_(n));for(t=0;t<o.length;++t)n=o[t],a[n]&&(l[n]=a[n]),s[n]&&(u[n]=s[n])}},S=function(e,t){return""},k=function(e){delete l[e],delete u[e]},E=function(){if(h){if(!l[r[0]])return;r.forEach(k),i.forEach(k),o.forEach(k)}T=S,P=0},O={encache:w,decache:E,sbcs:r,dbcs:i};w();var C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?",T=S,P=0,M=function r(i,o,a){if(i===P&&T)return T(o,a);if(u[i])return T=u[P=i],T(o,a);h&&t.isBuffer(o)&&(o=o.toString("utf8"));var s,l=o.length,f=h?t.allocUnsafe(4*l):[],p=0,g=0,v=0,y=0,m=e[i],b="",_="string"===typeof o;if(m&&(s=m.enc))for(g=0;g<l;++g,++v)p=s[_?o.charAt(g):o[g]],p>255?(f[v]=p>>8,f[++v]=255&p):f[v]=255&p;else{if(!(b=n[i]))throw new Error("Unrecognized CP: "+i);switch(b){case"utf8":if(h&&_){f=d(o,b),v=f.length;break}for(g=0;g<l;++g,++v)p=_?o.charCodeAt(g):o[g].charCodeAt(0),p<=127?f[v]=p:p<=2047?(f[v]=192+(p>>6),f[++v]=128+(63&p)):p>=55296&&p<=57343?(p-=55296,y=(_?o.charCodeAt(++g):o[++g].charCodeAt(0))-56320+(p<<10),f[v]=240+(y>>>18&7),f[++v]=144+(y>>>12&63),f[++v]=128+(y>>>6&63),f[++v]=128+(63&y)):(f[v]=224+(p>>12),f[++v]=128+(p>>6&63),f[++v]=128+(63&p));break;case"ascii":if(h&&"string"===typeof o){f=d(o,b),v=f.length;break}for(g=0;g<l;++g,++v){if(p=_?o.charCodeAt(g):o[g].charCodeAt(0),!(p<=127))throw new Error("bad ascii "+p);f[v]=p}break;case"utf16le":if(h&&"string"===typeof o){f=d(o,b),v=f.length;break}for(g=0;g<l;++g)p=_?o.charCodeAt(g):o[g].charCodeAt(0),f[v++]=255&p,f[v++]=p>>8;break;case"utf16be":for(g=0;g<l;++g)p=_?o.charCodeAt(g):o[g].charCodeAt(0),f[v++]=p>>8,f[v++]=255&p;break;case"utf32le":for(g=0;g<l;++g)p=_?o.charCodeAt(g):o[g].charCodeAt(0),p>=55296&&p<=57343&&(p=65536+(p-55296<<10)+(o[++g].charCodeAt(0)-56320)),f[v++]=255&p,p>>=8,f[v++]=255&p,p>>=8,f[v++]=255&p,p>>=8,f[v++]=255&p;break;case"utf32be":for(g=0;g<l;++g)p=_?o.charCodeAt(g):o[g].charCodeAt(0),p>=55296&&p<=57343&&(p=65536+(p-55296<<10)+(o[++g].charCodeAt(0)-56320)),f[v+3]=255&p,p>>=8,f[v+2]=255&p,p>>=8,f[v+1]=255&p,p>>=8,f[v]=255&p,v+=4;break;case"utf7":for(g=0;g<l;g++){var x=_?o.charAt(g):o[g].charAt(0);if("+"!==x)if(A.indexOf(x)>-1)f[v++]=x.charCodeAt(0);else{var w=r(1201,x);f[v++]=43,f[v++]=C.charCodeAt(w[0]>>2),f[v++]=C.charCodeAt(((3&w[0])<<4)+((w[1]||0)>>4)),f[v++]=C.charCodeAt(((15&w[1])<<2)+((w[2]||0)>>6)),f[v++]=45}else f[v++]=43,f[v++]=45}break;default:throw new Error("Unsupported magic: "+i+" "+n[i])}}return f=f.slice(0,v),h?a&&"buf"!==a?"arr"!==a?f.toString("binary"):[].slice.call(f):f:"str"==a?f.map(c).join(""):f},D=function r(i,o){var a;if(a=l[i])return a(o);if("string"===typeof o)return r(i,o.split("").map(f));var s,u=o.length,c=new Array(u),d="",p=0,g=0,v=1,y=0,m=0,b=e[i],_="";if(b&&(s=b.dec))for(g=0;g<u;g+=v){if(v=2,d=s[(o[g]<<8)+o[g+1]],d||(v=1,d=s[o[g]]),!d)throw new Error("Unrecognized code: "+o[g]+" "+o[g+v-1]+" "+g+" "+v+" "+s[o[g]]);c[y++]=d}else{if(!(_=n[i]))throw new Error("Unrecognized CP: "+i);switch(_){case"utf8":for(u>=3&&239==o[0]&&187==o[1]&&191==o[2]&&(g=3);g<u;g+=v)v=1,o[g]<128?p=o[g]:o[g]<224?(p=64*(31&o[g])+(63&o[g+1]),v=2):o[g]<240?(p=((15&o[g])<<12)+64*(63&o[g+1])+(63&o[g+2]),v=3):(p=262144*(7&o[g])+((63&o[g+1])<<12)+64*(63&o[g+2])+(63&o[g+3]),v=4),p<65536||(p-=65536,m=55296+(p>>10&1023),p=56320+(1023&p),c[y++]=String.fromCharCode(m)),c[y++]=String.fromCharCode(p);break;case"ascii":if(h&&t.isBuffer(o))return o.toString(_);for(g=0;g<u;g++)c[g]=String.fromCharCode(o[g]);y=u;break;case"utf16le":if(u>=2&&255==o[0]&&254==o[1]&&(g=2),h&&t.isBuffer(o))return o.toString(_);for(v=2;g+1<u;g+=v)c[y++]=String.fromCharCode((o[g+1]<<8)+o[g]);break;case"utf16be":for(u>=2&&254==o[0]&&255==o[1]&&(g=2),v=2;g+1<u;g+=v)c[y++]=String.fromCharCode((o[g]<<8)+o[g+1]);break;case"utf32le":for(u>=4&&255==o[0]&&254==o[1]&&0===o[2]&&0===o[3]&&(g=4),v=4;g<u;g+=v)p=(o[g+3]<<24)+(o[g+2]<<16)+(o[g+1]<<8)+o[g],p>65535?(p-=65536,c[y++]=String.fromCharCode(55296+(p>>10&1023)),c[y++]=String.fromCharCode(56320+(1023&p))):c[y++]=String.fromCharCode(p);break;case"utf32be":for(u>=4&&255==o[3]&&254==o[2]&&0===o[1]&&0===o[0]&&(g=4),v=4;g<u;g+=v)p=(o[g]<<24)+(o[g+1]<<16)+(o[g+2]<<8)+o[g+3],p>65535?(p-=65536,c[y++]=String.fromCharCode(55296+(p>>10&1023)),c[y++]=String.fromCharCode(56320+(1023&p))):c[y++]=String.fromCharCode(p);break;case"utf7":for(u>=4&&43==o[0]&&47==o[1]&&118==o[2]&&(u>=5&&56==o[3]&&45==o[4]?g=5:56!=o[3]&&57!=o[3]&&43!=o[3]&&47!=o[3]||(g=4));g<u;g+=v)if(43===o[g])if(v=1,45!==o[g+1]){while(String.fromCharCode(o[g+v]).match(/[A-Za-z0-9+\/]/))v++;var x=0;45===o[g+v]&&(++v,x=1);for(var w=[],S="",k=0,E=0,O=0,A=0,T=0,P=0,M=0,D=1;D<v-x;){if(A=C.indexOf(String.fromCharCode(o[g+D++])),T=C.indexOf(String.fromCharCode(o[g+D++])),k=A<<2|T>>4,w.push(k),P=C.indexOf(String.fromCharCode(o[g+D++])),-1===P)break;if(E=(15&T)<<4|P>>2,w.push(E),M=C.indexOf(String.fromCharCode(o[g+D++])),-1===M)break;O=(3&P)<<6|M,M<64&&w.push(O)}for(S=r(1201,w),D=0;D<S.length;++D)c[y++]=S.charAt(D)}else v=2,c[y++]="+";else v=1,c[y++]=String.fromCharCode(o[g]);break;default:throw new Error("Unsupported magic: "+i+" "+n[i])}}return c.slice(0,y).join("")},I=function(t){return!(!e[t]&&!n[t])};return e.utils={decode:D,encode:M,hascp:I,magic:n,cache:O},e}))}).call(this,n("1c35").Buffer)},"22d1":function(e,t,n){"use strict";var r=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),i=function(){function e(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return e}(),o=new i;function a(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported="undefined"!==typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!==typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),t["a"]=o},"249d":function(e,t,n){"use strict";var r=n("23e7"),i=n("41f6");i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},"26ee":function(e,t,n){"use strict";var r=n("5ea3"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r["a"]||i||Function("return this")();t["a"]=o},"271a":function(e,t,n){"use strict";var r=n("cb2d"),i=n("e330"),o=n("577e"),a=n("d6d6"),s=URLSearchParams,l=s.prototype,u=i(l.getAll),c=i(l.has),f=new s("a=1");!f.has("a",2)&&f.has("a",void 0)||r(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return c(this,e);var r=u(this,e);a(t,1);var i=o(n),s=0;while(s<r.length)if(r[s++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},2834:function(e,t,n){"use strict";var r=n("ebb5"),i=n("e330"),o=n("59ed"),a=n("dfb9"),s=r.aTypedArray,l=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,c=i(r.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&o(e);var t=s(this),n=a(l(t),t);return c(n,e)}))},"29f3":function(e,t){var n=Object.prototype,r=n.toString;function i(e){return r.call(e)}e.exports=i},"2a07":function(e,t,n){"use strict";var r=n("cfe9"),i=n("9adc");e.exports=function(e){if(i){try{return r.process.getBuiltinModule(e)}catch(t){}try{return Function('return require("'+e+'")')()}catch(t){}}}},"2b3e":function(e,t,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},"2c66":function(e,t,n){"use strict";var r=n("83ab"),i=n("edd0"),o=n("75bd"),a=ArrayBuffer.prototype;r&&!("detached"in a)&&i(a,"detached",{configurable:!0,get:function(){return o(this)}})},"2f74":function(e,t,n){"use strict";function r(){return!1}t["a"]=r},"313e":function(e,t,n){"use strict";n.d(t,"e",(function(){return y_})),n.d(t,"a",(function(){return m_})),n.d(t,"b",(function(){return __})),n.d(t,"g",(function(){return w_})),n.d(t,"f",(function(){return R_})),n.d(t,"c",(function(){return j_})),n.d(t,"d",(function(){return i}));var r={};n.r(r),n.d(r,"updateProps",(function(){return Gl})),n.d(r,"initProps",(function(){return Wl})),n.d(r,"removeElement",(function(){return Xl})),n.d(r,"removeElementWithFadeOut",(function(){return Kl})),n.d(r,"isElementRemoved",(function(){return ql})),n.d(r,"extendShape",(function(){return cv})),n.d(r,"extendPath",(function(){return hv})),n.d(r,"registerShape",(function(){return dv})),n.d(r,"getShapeClass",(function(){return pv})),n.d(r,"makePath",(function(){return gv})),n.d(r,"makeImage",(function(){return vv})),n.d(r,"mergePath",(function(){return mv})),n.d(r,"resizePath",(function(){return bv})),n.d(r,"subPixelOptimizeLine",(function(){return _v})),n.d(r,"subPixelOptimizeRect",(function(){return xv})),n.d(r,"subPixelOptimize",(function(){return wv})),n.d(r,"getTransform",(function(){return Sv})),n.d(r,"applyTransform",(function(){return kv})),n.d(r,"transformDirection",(function(){return Ev})),n.d(r,"groupTransition",(function(){return Av})),n.d(r,"clipPointsByRect",(function(){return Tv})),n.d(r,"clipRectByRect",(function(){return Pv})),n.d(r,"createIcon",(function(){return Mv})),n.d(r,"linePolygonIntersect",(function(){return Dv})),n.d(r,"lineLineIntersect",(function(){return Iv})),n.d(r,"setTooltipConfig",(function(){return jv})),n.d(r,"traverseElements",(function(){return Bv})),n.d(r,"Group",(function(){return Sr})),n.d(r,"Image",(function(){return Qa})),n.d(r,"Text",(function(){return Os})),n.d(r,"Circle",(function(){return Qp})),n.d(r,"Ellipse",(function(){return ng})),n.d(r,"Sector",(function(){return _g})),n.d(r,"Ring",(function(){return Sg})),n.d(r,"Polygon",(function(){return Ag})),n.d(r,"Polyline",(function(){return Mg})),n.d(r,"Rect",(function(){return ls})),n.d(r,"Line",(function(){return Rg})),n.d(r,"BezierCurve",(function(){return zg})),n.d(r,"Arc",(function(){return Vg})),n.d(r,"IncrementalDisplayable",(function(){return av})),n.d(r,"CompoundPath",(function(){return Wg})),n.d(r,"LinearGradient",(function(){return Kg})),n.d(r,"RadialGradient",(function(){return Zg})),n.d(r,"BoundingRect",(function(){return Ae})),n.d(r,"OrientedBoundingRect",(function(){return rv})),n.d(r,"Point",(function(){return me})),n.d(r,"Path",(function(){return Wa}));var i={};n.r(i),n.d(i,"extendShape",(function(){return cv})),n.d(i,"extendPath",(function(){return hv})),n.d(i,"makePath",(function(){return gv})),n.d(i,"makeImage",(function(){return vv})),n.d(i,"mergePath",(function(){return mv})),n.d(i,"resizePath",(function(){return bv})),n.d(i,"createIcon",(function(){return Mv})),n.d(i,"updateProps",(function(){return Gl})),n.d(i,"initProps",(function(){return Wl})),n.d(i,"getTransform",(function(){return Sv})),n.d(i,"clipPointsByRect",(function(){return Tv})),n.d(i,"clipRectByRect",(function(){return Pv})),n.d(i,"registerShape",(function(){return dv})),n.d(i,"getShapeClass",(function(){return pv})),n.d(i,"Group",(function(){return Sr})),n.d(i,"Image",(function(){return Qa})),n.d(i,"Text",(function(){return Os})),n.d(i,"Circle",(function(){return Qp})),n.d(i,"Ellipse",(function(){return ng})),n.d(i,"Sector",(function(){return _g})),n.d(i,"Ring",(function(){return Sg})),n.d(i,"Polygon",(function(){return Ag})),n.d(i,"Polyline",(function(){return Mg})),n.d(i,"Rect",(function(){return ls})),n.d(i,"Line",(function(){return Rg})),n.d(i,"BezierCurve",(function(){return zg})),n.d(i,"Arc",(function(){return Vg})),n.d(i,"IncrementalDisplayable",(function(){return av})),n.d(i,"CompoundPath",(function(){return Wg})),n.d(i,"LinearGradient",(function(){return Kg})),n.d(i,"RadialGradient",(function(){return Zg})),n.d(i,"BoundingRect",(function(){return Ae}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;var s=n("22d1"),l=n("6d8b");function u(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function c(e,t){return e[0]=t[0],e[1]=t[1],e}function f(e){return[e[0],e[1]]}function h(e,t,n){return e[0]=t,e[1]=n,e}function d(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function p(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function g(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function v(e){return Math.sqrt(y(e))}function y(e){return e[0]*e[0]+e[1]*e[1]}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function b(e,t){var n=v(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function _(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var x=_;function w(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var S=w;function k(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function E(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function O(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function C(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var A=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),T=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){var t=e.target;while(t&&!t.draggable)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new A(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,t.drift(i,o,e),this.handler.dispatchToElement(new A(t,e),"drag",e.event);var a=this.handler.findHover(n,r,t).target,s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.handler.dispatchToElement(new A(s,e),"dragleave",e.event),a&&a!==s&&this.handler.dispatchToElement(new A(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new A(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new A(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),P=T,M=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof t&&(r=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===n)return this;var s={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=t[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(e,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,t[0]);break;case 2:u.h.call(a,t[0],t[1]);break;default:u.h.apply(a,t.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e}(),D=M,I=Math.log(2);function L(e,t,n,r,i,o){var a=r+"-"+i,s=e.length;if(o.hasOwnProperty(a))return o[a];if(1===t){var l=Math.round(Math.log((1<<s)-1&~i)/I);return e[n][l]}var u=r|1<<n,c=n+1;while(r&1<<c)c++;for(var f=0,h=0,d=0;h<s;h++){var p=1<<h;p&i||(f+=(d%2?-1:1)*e[n][h]*L(e,t-1,c,u,i|p,o),d++)}return o[a]=f,f}function R(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=L(n,8,0,0,0,r);if(0!==i){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*L(n,7,0===a?1:0,1<<a,1<<s,r)/i*t[a];return function(e,t,n){var r=t*o[6]+n*o[7]+1;e[0]=(t*o[0]+n*o[1]+o[2])/r,e[1]=(t*o[3]+n*o[4]+o[5])/r}}}var j="___zrEVENTSAVED",N=[];function B(e,t,n,r,i){return F(N,t,r,i,!0)&&F(e,n,N[0],N[1])}function F(e,t,n,r,i){if(t.getBoundingClientRect&&s["a"].domSupported&&!H(t)){var o=t[j]||(t[j]={}),a=z(t,o),l=U(a,o,i);if(l)return l(e,n,r),!0}return!1}function z(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function U(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,h=c.left,d=c.top;a.push(h,d),l=l&&o&&h===o[f]&&d===o[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=a,t[r]=n?R(s,a):R(a,s))}function H(e){return"CANVAS"===e.nodeName.toUpperCase()}var V=/([&<>"'])/g,G={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function W(e){return null==e?"":(e+"").replace(V,(function(e,t){return G[t]}))}var q=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,X=[],Y=s["a"].browser.firefox&&+s["a"].browser.version.split(".")[0]<39;function K(e,t,n,r){return n=n||{},r?$(e,t,n):Y&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):$(e,t,n),n}function $(e,t,n){if(s["a"].domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(H(e)){var o=e.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if(F(X,e,r,i))return n.zrX=X[0],void(n.zrY=X[1])}n.zrX=n.zrY=0}function Z(e){return e||window.event}function J(e,t,n){if(t=Z(t),null!=t.zrX)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var o="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];o&&K(e,o,t,n)}else{K(e,t,t,n);var a=Q(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&q.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function Q(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;var i=0!==r?Math.abs(r):Math.abs(n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function ee(e,t,n,r){e.addEventListener(t,n,r)}function te(e,t,n,r){e.removeEventListener(t,n,r)}var ne=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function re(e){return 2===e.which||3===e.which}var ie=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},o=0,a=r.length;o<a;o++){var s=r[o],l=K(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(e){for(var t in se)if(se.hasOwnProperty(t)){var n=se[t](this._track,e);if(n)return n}},e}();function oe(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function ae(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var se={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=oe(r)/oe(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=ae(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function le(){return[1,0,0,1,0,0]}function ue(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function ce(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function fe(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function he(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function de(e,t,n,r){void 0===r&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),f=Math.cos(n);return e[0]=i*f+s*c,e[1]=-i*c+s*f,e[2]=o*f+l*c,e[3]=-o*c+f*l,e[4]=f*(a-r[0])+c*(u-r[1])+r[0],e[5]=f*(u-r[1])-c*(a-r[0])+r[1],e}function pe(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function ge(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}function ve(e){var t=le();return ce(t,e),t}var ye=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}(),me=ye,be=Math.min,_e=Math.max,xe=new me,we=new me,Se=new me,ke=new me,Ee=new me,Oe=new me,Ce=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=be(e.x,this.x),n=be(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=_e(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=_e(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,r=e.height/t.height,i=le();return he(i,i,[-t.x,-t.y]),pe(i,i,[n,r]),he(i,i,[e.x,e.y]),i},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,h=!(o<l||u<i||s<c||f<a);if(n){var d=1/0,p=0,g=Math.abs(o-l),v=Math.abs(u-i),y=Math.abs(s-c),m=Math.abs(f-a),b=Math.min(g,v),_=Math.min(y,m);o<l||u<i?b>p&&(p=b,g<v?me.set(Oe,-g,0):me.set(Oe,v,0)):b<d&&(d=b,g<v?me.set(Ee,g,0):me.set(Ee,-v,0)),s<c||f<a?_>p&&(p=_,y<m?me.set(Oe,0,-y):me.set(Oe,0,m)):b<d&&(d=b,y<m?me.set(Ee,0,y):me.set(Ee,0,-m))}return n&&me.copy(n,h?Ee:Oe),h},e.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];return t.x=n.x*i+a,t.y=n.y*o+s,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}xe.x=Se.x=n.x,xe.y=ke.y=n.y,we.x=ke.x=n.x+n.width,we.y=Se.y=n.y+n.height,xe.transform(r),ke.transform(r),we.transform(r),Se.transform(r),t.x=be(xe.x,we.x,Se.x,ke.x),t.y=be(xe.y,we.y,Se.y,ke.y);var l=_e(xe.x,we.x,Se.x,ke.x),u=_e(xe.y,we.y,Se.y,ke.y);t.width=l-t.x,t.height=u-t.y}else t!==n&&e.copy(t,n)},e}(),Ae=Ce,Te="silent";function Pe(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Me}}function Me(){ne(this.event)}var De=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return a(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(D),Ie=function(){function e(e,t){this.x=e,this.y=t}return e}(),Le=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Re=new Ae(0,0,0,0),je=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._hovered=new Ie(0,0),a.storage=t,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new De,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new P(a),a}return a(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(l["k"](Le,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=Fe(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?new Ie(t,n):this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Ie(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){e=e||{};var r=e.target;if(!r||!r.silent){var i="on"+t,o=Pe(t,e,n);while(r)if(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(t,o),r=r.__hostTarget?r.__hostTarget:r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"===typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),i=new Ie(e,t);if(Be(r,i,e,t,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Ae(e-s,t-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Re.copy(c.getBoundingRect()),c.transform&&Re.applyTransform(c.transform),Re.intersect(l)&&o.push(c))}if(o.length)for(var f=4,h=Math.PI/12,d=2*Math.PI,p=0;p<s;p+=f)for(var g=0;g<d;g+=h){var v=e+p*Math.cos(g),y=t+p*Math.sin(g);if(Be(o,i,v,y,n),i.target)return i}}return i},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new ie);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i;var o=new Ie;o.target=r.target,this.dispatchToElement(o,i,r.event)}},t}(D);function Ne(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var r=e,i=void 0,o=!1;while(r){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s||r.parent}return!i||Te}return!1}function Be(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=Ne(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==Te)){t.target=a;break}}}function Fe(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}l["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){je.prototype[e]=function(t){var n,r,i=t.zrX,o=t.zrY,a=Fe(this,i,o);if("mouseup"===e&&a||(n=this.findHover(i,o),r=n.target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||x(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));var ze=je,Ue=32,He=7;function Ve(e){var t=0;while(e>=Ue)t|=1&e,e>>=1;return e+t}function Ge(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){while(i<n&&r(e[i],e[i-1])<0)i++;We(e,t,i)}else while(i<n&&r(e[i],e[i-1])>=0)i++;return i-t}function We(e,t,n){n--;while(t<n){var r=e[t];e[t++]=e[n],e[n--]=r}}function qe(e,t,n,r,i){for(r===t&&r++;r<n;r++){var o,a=e[r],s=t,l=r;while(s<l)o=s+l>>>1,i(a,e[o])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function Xe(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){s=r-i;while(l<s&&o(e,t[n+i+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(l<s&&o(e,t[n+i-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function Ye(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){s=i+1;while(l<s&&o(e,t[n+i-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{s=r-i;while(l<s&&o(e,t[n+i+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function Ke(e,t){var n,r,i=He,o=0,a=[];function s(e,t){n[o]=e,r[o]=t,o+=1}function l(){while(o>1){var e=o-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]<r[e+1]&&e--;else if(r[e]>r[e+1])break;c(e)}}function u(){while(o>1){var e=o-2;e>0&&r[e-1]<r[e+1]&&e--,c(e)}}function c(i){var a=n[i],s=r[i],l=n[i+1],u=r[i+1];r[i]=s+u,i===o-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),o--;var c=Ye(e[l],e,a,s,0,t);a+=c,s-=c,0!==s&&(u=Xe(e[a+s-1],e,l,u,u-1,t),0!==u&&(s<=u?f(a,s,l,u):h(a,s,l,u)))}function f(n,r,o,s){var l=0;for(l=0;l<r;l++)a[l]=e[n+l];var u=0,c=o,f=n;if(e[f++]=e[c++],0!==--s)if(1!==r){var h,d,p,g=i;while(1){h=0,d=0,p=!1;do{if(t(e[c],a[u])<0){if(e[f++]=e[c++],d++,h=0,0===--s){p=!0;break}}else if(e[f++]=a[u++],h++,d=0,1===--r){p=!0;break}}while((h|d)<g);if(p)break;do{if(h=Ye(e[c],a,u,r,0,t),0!==h){for(l=0;l<h;l++)e[f+l]=a[u+l];if(f+=h,u+=h,r-=h,r<=1){p=!0;break}}if(e[f++]=e[c++],0===--s){p=!0;break}if(d=Xe(a[u],e,c,s,0,t),0!==d){for(l=0;l<d;l++)e[f+l]=e[c+l];if(f+=d,c+=d,s-=d,0===s){p=!0;break}}if(e[f++]=a[u++],1===--r){p=!0;break}g--}while(h>=He||d>=He);if(p)break;g<0&&(g=0),g+=2}if(i=g,i<1&&(i=1),1===r){for(l=0;l<s;l++)e[f+l]=e[c+l];e[f+s]=a[u]}else{if(0===r)throw new Error;for(l=0;l<r;l++)e[f+l]=a[u+l]}}else{for(l=0;l<s;l++)e[f+l]=e[c+l];e[f+s]=a[u]}else for(l=0;l<r;l++)e[f+l]=a[u+l]}function h(n,r,o,s){var l=0;for(l=0;l<s;l++)a[l]=e[o+l];var u=n+r-1,c=s-1,f=o+s-1,h=0,d=0;if(e[f--]=e[u--],0!==--r)if(1!==s){var p=i;while(1){var g=0,v=0,y=!1;do{if(t(a[c],e[u])<0){if(e[f--]=e[u--],g++,v=0,0===--r){y=!0;break}}else if(e[f--]=a[c--],v++,g=0,1===--s){y=!0;break}}while((g|v)<p);if(y)break;do{if(g=r-Ye(a[c],e,n,r,r-1,t),0!==g){for(f-=g,u-=g,r-=g,d=f+1,h=u+1,l=g-1;l>=0;l--)e[d+l]=e[h+l];if(0===r){y=!0;break}}if(e[f--]=a[c--],1===--s){y=!0;break}if(v=s-Xe(e[u],a,0,s,s-1,t),0!==v){for(f-=v,c-=v,s-=v,d=f+1,h=c+1,l=0;l<v;l++)e[d+l]=a[h+l];if(s<=1){y=!0;break}}if(e[f--]=e[u--],0===--r){y=!0;break}p--}while(g>=He||v>=He);if(y)break;p<0&&(p=0),p+=2}if(i=p,i<1&&(i=1),1===s){for(f-=r,u-=r,d=f+1,h=u+1,l=r-1;l>=0;l--)e[d+l]=e[h+l];e[f]=a[c]}else{if(0===s)throw new Error;for(h=f-(s-1),l=0;l<s;l++)e[h+l]=a[l]}}else{for(f-=r,u-=r,d=f+1,h=u+1,l=r-1;l>=0;l--)e[d+l]=e[h+l];e[f]=a[c]}else for(h=f-(s-1),l=0;l<s;l++)e[h+l]=a[l]}return n=[],r=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function $e(e,t,n,r){n||(n=0),r||(r=e.length);var i=r-n;if(!(i<2)){var o=0;if(i<Ue)return o=Ge(e,n,r,t),void qe(e,n,r,n+o,t);var a=Ke(e,t),s=Ve(i);do{if(o=Ge(e,n,r,t),o<s){var l=i;l>s&&(l=s),qe(e,n,n+l,n+o,t),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(0!==i);a.forceMergeRuns()}}var Ze=1,Je=2,Qe=4,et=!1;function tt(){et||(et=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function nt(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var rt,it=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=nt}return e.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,i=t.length;r<i;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,$e(n,nt)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];var i=r,o=e;while(i)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=Ze),this._updateAndAddDisplayable(l,t,n)}e.__dirty=0}else{var u=e;t&&t.length?u.__clipPaths=t:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(tt(),u.z=0),isNaN(u.z2)&&(tt(),u.z2=0),isNaN(u.zlevel)&&(tt(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,n);var f=e.getTextGuideLine();f&&this._updateAndAddDisplayable(f,t,n);var h=e.getTextContent();h&&this._updateAndAddDisplayable(h,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=l["r"](this._roots,e);r>=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),ot=it;rt=s["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var at=rt,st={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},elasticOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-st.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*st.bounceIn(2*e):.5*st.bounceOut(2*e-1)+.5}},lt=st,ut=Math.pow,ct=Math.sqrt,ft=1e-8,ht=1e-4,dt=ct(3),pt=1/3,gt=u(),vt=u(),yt=u();function mt(e){return e>-ft&&e<ft}function bt(e){return e>ft||e<-ft}function _t(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function xt(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function wt(e,t,n,r,i,o){var a=r+3*(t-n)-e,s=3*(n-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,f=s*l-9*a*u,h=l*l-3*s*u,d=0;if(mt(c)&&mt(f))if(mt(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[d++]=p)}else{var g=f*f-4*c*h;if(mt(g)){var v=f/c,y=(p=-s/a+v,-v/2);p>=0&&p<=1&&(o[d++]=p),y>=0&&y<=1&&(o[d++]=y)}else if(g>0){var m=ct(g),b=c*s+1.5*a*(-f+m),_=c*s+1.5*a*(-f-m);b=b<0?-ut(-b,pt):ut(b,pt),_=_<0?-ut(-_,pt):ut(_,pt);p=(-s-(b+_))/(3*a);p>=0&&p<=1&&(o[d++]=p)}else{var x=(2*c*s-3*a*f)/(2*ct(c*c*c)),w=Math.acos(x)/3,S=ct(c),k=Math.cos(w),E=(p=(-s-2*S*k)/(3*a),y=(-s+S*(k+dt*Math.sin(w)))/(3*a),(-s+S*(k-dt*Math.sin(w)))/(3*a));p>=0&&p<=1&&(o[d++]=p),y>=0&&y<=1&&(o[d++]=y),E>=0&&E<=1&&(o[d++]=E)}}return d}function St(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(mt(a)){if(bt(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(mt(c))i[0]=-o/(2*a);else if(c>0){var f=ct(c),h=(u=(-o+f)/(2*a),(-o-f)/(2*a));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function kt(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,f=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=f,o[4]=f,o[5]=c,o[6]=l,o[7]=r}function Et(e,t,n,r,i,o,a,s,l,u,c){var f,h,d,p,g,v=.005,y=1/0;gt[0]=l,gt[1]=u;for(var m=0;m<1;m+=.05)vt[0]=_t(e,n,i,a,m),vt[1]=_t(t,r,o,s,m),p=S(gt,vt),p<y&&(f=m,y=p);y=1/0;for(var b=0;b<32;b++){if(v<ht)break;h=f-v,d=f+v,vt[0]=_t(e,n,i,a,h),vt[1]=_t(t,r,o,s,h),p=S(vt,gt),h>=0&&p<y?(f=h,y=p):(yt[0]=_t(e,n,i,a,d),yt[1]=_t(t,r,o,s,d),g=S(yt,gt),d<=1&&g<y?(f=d,y=g):v*=.5)}return c&&(c[0]=_t(e,n,i,a,f),c[1]=_t(t,r,o,s,f)),ct(y)}function Ot(e,t,n,r,i,o,a,s,l){for(var u=e,c=t,f=0,h=1/l,d=1;d<=l;d++){var p=d*h,g=_t(e,n,i,a,p),v=_t(t,r,o,s,p),y=g-u,m=v-c;f+=Math.sqrt(y*y+m*m),u=g,c=v}return f}function Ct(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function At(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function Tt(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),s=e-r,l=0;if(mt(o)){if(bt(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(mt(c)){u=-a/(2*o);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var f=ct(c),h=(u=(-a+f)/(2*o),(-a-f)/(2*o));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function Pt(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function Mt(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function Dt(e,t,n,r,i,o,a,s,l){var u,c=.005,f=1/0;gt[0]=a,gt[1]=s;for(var h=0;h<1;h+=.05){vt[0]=Ct(e,n,i,h),vt[1]=Ct(t,r,o,h);var d=S(gt,vt);d<f&&(u=h,f=d)}f=1/0;for(var p=0;p<32;p++){if(c<ht)break;var g=u-c,v=u+c;vt[0]=Ct(e,n,i,g),vt[1]=Ct(t,r,o,g);d=S(vt,gt);if(g>=0&&d<f)u=g,f=d;else{yt[0]=Ct(e,n,i,v),yt[1]=Ct(t,r,o,v);var y=S(yt,gt);v<=1&&y<f?(u=v,f=y):c*=.5}}return l&&(l[0]=Ct(e,n,i,u),l[1]=Ct(t,r,o,u)),ct(f)}function It(e,t,n,r,i,o,a){for(var s=e,l=t,u=0,c=1/a,f=1;f<=a;f++){var h=f*c,d=Ct(e,n,i,h),p=Ct(t,r,o,h),g=d-s,v=p-l;u+=Math.sqrt(g*g+v*v),s=d,l=p}return u}var Lt=/cubic-bezier\(([0-9,\.e ]+)\)/;function Rt(e){var t=e&&Lt.exec(e);if(t){var n=t[1].split(","),r=+Object(l["T"])(n[0]),i=+Object(l["T"])(n[1]),o=+Object(l["T"])(n[2]),a=+Object(l["T"])(n[3]);if(isNaN(r+i+o+a))return;var s=[];return function(e){return e<=0?0:e>=1?1:wt(0,r,o,1,e,s)&&_t(0,i,a,1,s[0])}}}var jt=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||l["L"],this.ondestroy=e.ondestroy||l["L"],this.onrestart=e.onrestart||l["L"],e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=Object(l["w"])(e)?e:lt[e]||Rt(e)},e}(),Nt=jt,Bt=n("41ef"),Ft=n("7a29"),zt=Array.prototype.slice;function Ut(e,t,n){return(t-e)*n+e}function Ht(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=Ut(t[o],n[o],r);return e}function Vt(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=Ut(t[a][s],n[a][s],r)}return e}function Gt(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function Wt(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function qt(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function Xt(e,t,n){var r=e,i=t;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a){var s=o>a;if(s)r.length=a;else for(var l=o;l<a;l++)r.push(1===n?i[l]:zt.call(i[l]))}var u=r[0]&&r[0].length;for(l=0;l<r.length;l++)if(1===n)isNaN(r[l])&&(r[l]=i[l]);else for(var c=0;c<u;c++)isNaN(r[l][c])&&(r[l][c]=i[l][c])}}function Yt(e){if(Object(l["u"])(e)){var t=e.length;if(Object(l["u"])(e[0])){for(var n=[],r=0;r<t;r++)n.push(zt.call(e[r]));return n}return zt.call(e)}return e}function Kt(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function $t(e){return Object(l["u"])(e&&e[0])?2:1}var Zt=0,Jt=1,Qt=2,en=3,tn=4,nn=5,rn=6;function on(e){return e===tn||e===nn}function an(e){return e===Jt||e===Qt}var sn=[0,0,0,0],ln=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,a=rn,s=t;if(Object(l["u"])(t)){var u=$t(t);a=u,(1===u&&!Object(l["z"])(t[0])||2===u&&!Object(l["z"])(t[0][0]))&&(o=!0)}else if(Object(l["z"])(t)&&!Object(l["l"])(t))a=Zt;else if(Object(l["C"])(t))if(isNaN(+t)){var c=Bt["h"](t);c&&(s=c,a=en)}else a=Zt;else if(Object(l["x"])(t)){var f=Object(l["m"])({},s);f.colorStops=Object(l["H"])(t.colorStops,(function(e){return{offset:e.offset,color:Bt["h"](e.color)}})),Object(Ft["m"])(t)?a=tn:Object(Ft["o"])(t)&&(a=nn),s=f}0===i?this.valType=a:a===this.valType&&a!==rn||(o=!0),this.discrete=this.discrete||o;var h={time:e,value:s,rawValue:t,percent:0};return n&&(h.easing=n,h.easingFunc=Object(l["w"])(n)?n:lt[n]||Rt(n)),r.push(h),h},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=an(r),l=on(r),u=0;u<i;u++){var c=n[u],f=c.value,h=o.value;c.percent=c.time/e,a||(s&&u!==i-1?Xt(f,h,r):l&&qt(f.colorStops,h.colorStops))}if(!a&&r!==nn&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var d=n[0].value;for(u=0;u<i;u++)r===Zt?n[u].additiveValue=n[u].value-d:r===en?n[u].additiveValue=Gt([],n[u].value,d,-1):an(r)&&(n[u].additiveValue=r===Jt?Gt([],n[u].value,d,-1):Wt([],n[u].value,d,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,u=this.keyframes,c=u.length,f=this.propName,h=s===en,d=this._lastFr,p=Math.min;if(1===c)r=i=u[0];else{if(t<0)n=0;else if(t<this._lastFrP){var g=p(d+1,c-1);for(n=g;n>=0;n--)if(u[n].percent<=t)break;n=p(n,c-2)}else{for(n=d;n<c;n++)if(u[n].percent>t)break;n=p(n-1,c-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var v=i.percent-r.percent,y=0===v?1:p((t-r.percent)/v,1);i.easingFunc&&(y=i.easingFunc(y));var m=o?this._additiveValue:h?sn:e[f];if(!an(s)&&!h||m||(m=this._additiveValue=[]),this.discrete)e[f]=y<1?r.rawValue:i.rawValue;else if(an(s))s===Jt?Ht(m,r[a],i[a],y):Vt(m,r[a],i[a],y);else if(on(s)){var b=r[a],_=i[a],x=s===tn;e[f]={type:x?"linear":"radial",x:Ut(b.x,_.x,y),y:Ut(b.y,_.y,y),colorStops:Object(l["H"])(b.colorStops,(function(e,t){var n=_.colorStops[t];return{offset:Ut(e.offset,n.offset,y),color:Kt(Ht([],e.color,n.color,y))}})),global:_.global},x?(e[f].x2=Ut(b.x2,_.x2,y),e[f].y2=Ut(b.y2,_.y2,y)):e[f].r=Ut(b.r,_.r,y)}else if(h)Ht(m,r[a],i[a],y),o||(e[f]=Kt(m));else{var w=Ut(r[a],i[a],y);o?this._additiveValue=w:e[f]=w}o&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;t===Zt?e[n]=e[n]+r:t===en?(Bt["h"](e[n],sn),Gt(sn,sn,r,1),e[n]=Kt(sn)):t===Jt?Gt(e[n],e[n],r,1):t===Qt&&Wt(e[n],e[n],r,1)},e}(),un=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?Object(l["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,Object(l["F"])(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new ln(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,f=c[c.length-1];l=f&&f.value,u.valType===en&&l&&(l=Kt(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,Yt(l),r),this._trackKeys.push(a)}s.addKeyframe(e,Yt(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(e);i&&(t=i)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(t._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new Nt({life:r,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var r=t._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(t._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(t._target,e);var a=t._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),e&&f.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return Object(l["H"])(this._trackKeys,(function(t){return e._tracks[t]}))},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<e.length;i++){var o=n[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var i=t[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(e[i]=Yt(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||Object(l["F"])(e);for(var n=0;n<t.length;n++){var r=t[n],i=this._tracks[r];if(i){var o=i.keyframes;if(o.length>1){var a=o.pop();i.addKeyframe(a.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}(),cn=un;function fn(){return(new Date).getTime()}var hn=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return a(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){var t=fn()-this._pausedTime,n=t-this._time,r=this._head;while(r){var i=r.next,o=r.step(t,n);o?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;function t(){e._running&&(at(t),!e._paused&&e.update())}this._running=!0,at(t)},t.prototype.start=function(){this._running||(this._time=fn(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=fn(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=fn()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){var e=this._head;while(e){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new cn(e,t.loop);return this.addAnimator(n),n},t}(D),dn=hn,pn=300,gn=s["a"].domSupported,vn=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=l["H"](e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:r}}(),yn={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},mn=!1;function bn(e){var t=e.pointerType;return"pen"===t||"touch"===t}function _n(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function xn(e){e&&(e.zrByTouch=!0)}function wn(e,t){return J(e.dom,new kn(e,t),!0)}function Sn(e,t){var n=t,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return r}var kn=function(){function e(e,t){this.stopPropagation=l["L"],this.stopImmediatePropagation=l["L"],this.preventDefault=l["L"],this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return e}(),En={mousedown:function(e){e=J(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=J(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=J(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=J(this.dom,e);var t=e.toElement||e.relatedTarget;Sn(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){mn=!0,e=J(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){mn||(e=J(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=J(this.dom,e),xn(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),En.mousemove.call(this,e),En.mousedown.call(this,e)},touchmove:function(e){e=J(this.dom,e),xn(e),this.handler.processGesture(e,"change"),En.mousemove.call(this,e)},touchend:function(e){e=J(this.dom,e),xn(e),this.handler.processGesture(e,"end"),En.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<pn&&En.click.call(this,e)},pointerdown:function(e){En.mousedown.call(this,e)},pointermove:function(e){bn(e)||En.mousemove.call(this,e)},pointerup:function(e){En.mouseup.call(this,e)},pointerout:function(e){bn(e)||En.mouseout.call(this,e)}};l["k"](["click","dblclick","contextmenu"],(function(e){En[e]=function(t){t=J(this.dom,t),this.trigger(e,t)}}));var On={pointermove:function(e){bn(e)||On.mousemove.call(this,e)},pointerup:function(e){On.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function Cn(e,t){var n=t.domHandlers;s["a"].pointerEventsSupported?l["k"](vn.pointer,(function(r){Tn(t,r,(function(t){n[r].call(e,t)}))})):(s["a"].touchEventsSupported&&l["k"](vn.touch,(function(r){Tn(t,r,(function(i){n[r].call(e,i),_n(t)}))})),l["k"](vn.mouse,(function(r){Tn(t,r,(function(i){i=Z(i),t.touching||n[r].call(e,i)}))})))}function An(e,t){function n(n){function r(r){r=Z(r),Sn(e,r.target)||(r=wn(e,r),t.domHandlers[n].call(e,r))}Tn(t,n,r,{capture:!0})}s["a"].pointerEventsSupported?l["k"](yn.pointer,n):s["a"].touchEventsSupported||l["k"](yn.mouse,n)}function Tn(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,ee(e.domTarget,t,n,r)}function Pn(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&te(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var Mn=function(){function e(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return e}(),Dn=function(e){function t(t,n){var r=e.call(this)||this;return r.__pointerCapturing=!1,r.dom=t,r.painterRoot=n,r._localHandlerScope=new Mn(t,En),gn&&(r._globalHandlerScope=new Mn(document,On)),Cn(r,r._localHandlerScope),r}return a(t,e),t.prototype.dispose=function(){Pn(this._localHandlerScope),gn&&Pn(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,gn&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?An(this,t):Pn(t)}},t}(D),In=Dn,Ln=1;s["a"].hasGlobalWindow&&(Ln=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Rn=Ln,jn=.4,Nn="#333",Bn="#ccc",Fn="#eee",zn=ue,Un=5e-5;function Hn(e){return e>Un||e<-Un}var Vn=[],Gn=[],Wn=le(),qn=Math.abs,Xn=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return Hn(this.rotation)||Hn(this.x)||Hn(this.y)||Hn(this.scaleX-1)||Hn(this.scaleY-1)||Hn(this.skewX)||Hn(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||le(),t?this.getLocalTransform(n):zn(n),e&&(t?fe(n,e,n):ce(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(zn(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(Vn);var n=Vn[0]<0?-1:1,r=Vn[1]<0?-1:1,i=((Vn[0]-n)*t+n)/Vn[0]||0,o=((Vn[1]-r)*t+r)/Vn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||le(),ge(this.invTransform,e)},e.prototype.getComputedTransform=function(){var e=this,t=[];while(e)t.push(e),e=e.parent;while(e=t.pop())e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||le(),fe(Gn,e.invTransform,t),t=Gn);var n=this.originX,r=this.originY;(n||r)&&(Wn[4]=n,Wn[5]=r,fe(Gn,t,Wn),Gn[4]-=n,Gn[5]-=r,t=Gn),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&E(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&E(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&qn(e[0]-1)>1e-10&&qn(e[3]-1)>1e-10?Math.sqrt(qn(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){Kn(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,i=e.scaleX,o=e.scaleY,a=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,c=e.y,f=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(n||r||a||s){var d=n+a,p=r+s;t[4]=-d*i-f*p*o,t[5]=-p*o-h*d*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=h*i,t[2]=f*o,l&&de(t,t,l),t[4]+=n+u,t[5]+=r+c,t},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Yn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Kn(e,t){for(var n=0;n<Yn.length;n++){var r=Yn[n];e[r]=t[r]}}var $n=Xn,Zn=n("d51b"),Jn=n("726e"),Qn={};function er(e,t){t=t||Jn["a"];var n=Qn[t];n||(n=Qn[t]=new Zn["a"](500));var r=n.get(e);return null==r&&(r=Jn["d"].measureText(e,t).width,n.put(e,r)),r}function tr(e,t,n,r){var i=er(e,t),o=or(t),a=rr(0,i,n),s=ir(0,o,r),l=new Ae(a,s,i,o);return l}function nr(e,t,n,r){var i=((e||"")+"").split("\n"),o=i.length;if(1===o)return tr(i[0],t,n,r);for(var a=new Ae(0,0,0,0),s=0;s<i.length;s++){var l=tr(i[s],t,n,r);0===s?a.copy(l):a.union(l)}return a}function rr(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function ir(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function or(e){return er("国",e)}function ar(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function sr(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=ar(r[0],n.width),u+=ar(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+a,u+=s,f="middle";break;case"top":l+=a/2,u-=i,c="center",f="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=a-i,u+=s,c="right",f="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,f="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var lr="__zr_normal__",ur=Yn.concat(["ignore"]),cr=Object(l["N"])(Yn,(function(e,t){return e[t]=!0,e}),{ignore:!1}),fr={},hr=new Ae(0,0,0,0),dr=function(){function e(e){this.id=Object(l["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=t.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(t),null!=n.position){var u=hr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(fr,n,u):sr(fr,n,u),i.x=fr.x,i.y=fr.y,o=fr.align,a=fr.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var f=void 0,h=void 0;"center"===c?(f=.5*u.width,h=.5*u.height):(f=ar(c[0],u.width),h=ar(c[1],u.height)),l=!0,i.originX=-i.x+f+(r?0:u.x),i.originY=-i.y+h+(r?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var d=n.offset;d&&(i.x+=d[0],i.y+=d[1],l||(i.originX=-d[0],i.originY=-d[1]));var p=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),v=void 0,y=void 0,m=void 0;p&&this.canBeInsideText()?(v=n.insideFill,y=n.insideStroke,null!=v&&"auto"!==v||(v=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(v),m=!0)):(v=n.outsideFill,y=n.outsideStroke,null!=v&&"auto"!==v||(v=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(v),m=!0)),v=v||"#000",v===g.fill&&y===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=v,g.stroke=y,g.autoStroke=m,g.align=o,g.verticalAlign=a,t.setDefaultTextStyle(g)),t.__dirty|=Ze,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Bn:Nn},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof t&&Object(Bt["h"])(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Object(Bt["i"])(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},Object(l["m"])(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(Object(l["A"])(e))for(var n=e,r=Object(l["F"])(n),i=0;i<r.length;i++){var o=r[i];this.attrKV(o,e[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==lr)){var o=r.targetName,a=o?t[o]:t;r.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,ur)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null==e[i]||i in t||(t[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(lr,!1,e)},e.prototype.useState=function(e,t,n,r){var i=e===lr,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!(Object(l["r"])(a,e)>=0)||!t&&1!==a.length){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),u||i){i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!n&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,h=this._textGuide;return f&&f.useState(e,t,n,c),h&&h.useState(e,t,n,c),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ze),u}Object(l["G"])("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],f=!!(c&&c.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(r),d=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&d&&d.duration>0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(e,t,f),g&&g.useStates(e,t,f),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ze)}else this.clearStates()},e.prototype.isSilent=function(){var e=this.silent,t=this.parent;while(!e&&t){if(t.silent){e=!0;break}t=t.parent}return e},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=Object(l["r"])(this.currentStates,e);if(t>=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=Object(l["r"])(r,e),o=Object(l["r"])(r,t)>=0;i>=0?o?r.splice(i,1):r[i]=t:n&&!o&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var i=e[r];Object(l["m"])(n,i),i.textConfig&&(t=t||{},Object(l["m"])(t,i.textConfig))}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,r,i,o){var a=!(t&&r);t&&t.textConfig?(this.textConfig=Object(l["m"])({},r?this.textConfig:n.textConfig),Object(l["m"])(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<ur.length;c++){var f=ur[c],h=i&&cr[f];t&&null!=t[f]?h?(u=!0,s[f]=t[f]):this[f]=t[f]:a&&null!=n[f]&&(h?(u=!0,s[f]=n[f]):this[f]=n[f])}if(!i)for(c=0;c<this.animators.length;c++){var d=this.animators[c],p=d.targetName;d.getLoop()||d.__changeFinalValue(p?(t||n)[p]:t||n)}u&&this._transitionState(e,s,o)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new $n,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Object(l["m"])(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Ze;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,n){var r=e?this[e]:this;var i=new cn(r,t,n);return e&&(i.targetName=e),this.addAnimator(i,e),i},e.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during((function(){r.updateDuringAnimation(t)})).done((function(){var t=r.animators,n=Object(l["r"])(t,e);n>=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},e.prototype.animateTo=function(e,t,n){pr(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){pr(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,r){for(var i=pr(this,t,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Ze;function n(e,n,r,i){function o(e,t){Object.defineProperty(t,0,{get:function(){return e[r]},set:function(t){e[r]=t}}),Object.defineProperty(t,1,{get:function(){return e[i]},set:function(t){e[i]=t}})}Object.defineProperty(t,e,{get:function(){if(!this[n]){var e=this[n]=[];o(this,e)}return this[n]},set:function(e){this[r]=e[0],this[i]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function pr(e,t,n,r,i){n=n||{};var o=[];_r(e,"",e,t,n,r,o,i);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},f=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(e,t){n.during(t)}));for(var h=0;h<o.length;h++){var d=o[h];c&&d.done(c),f&&d.aborted(f),n.force&&d.duration(n.duration),d.start(n.easing)}return o}function gr(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function vr(e){return Object(l["u"])(e[0])}function yr(e,t,n){if(Object(l["u"])(t[n]))if(Object(l["u"])(e[n])||(e[n]=[]),Object(l["E"])(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),gr(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(vr(i))for(var s=i[0].length,u=0;u<a;u++)o[u]?gr(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else gr(o,i,a);o.length=i.length}else e[n]=t[n]}function mr(e,t){return e===t||Object(l["u"])(e)&&Object(l["u"])(t)&&br(e,t)}function br(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function _r(e,t,n,r,i,o,a,s){for(var u=Object(l["F"])(r),c=i.duration,f=i.delay,h=i.additive,d=i.setToFinal,p=!Object(l["A"])(o),g=e.animators,v=[],y=0;y<u.length;y++){var m=u[y],b=r[m];if(null!=b&&null!=n[m]&&(p||o[m]))if(!Object(l["A"])(b)||Object(l["u"])(b)||Object(l["x"])(b))v.push(m);else{if(t){s||(n[m]=b,e.updateDuringAnimation(t));continue}_r(e,m,n[m],b,i,o&&o[m],a,s)}else s||(n[m]=b,e.updateDuringAnimation(t),v.push(m))}var _=v.length;if(!h&&_)for(var x=0;x<g.length;x++){var w=g[x];if(w.targetName===t){var S=w.stopTracks(v);if(S){var k=Object(l["r"])(g,w);g.splice(k,1)}}}if(i.force||(v=Object(l["n"])(v,(function(e){return!mr(r[e],n[e])})),_=v.length),_>0||i.force&&!a.length){var E=void 0,O=void 0,C=void 0;if(s){O={},d&&(E={});for(x=0;x<_;x++){m=v[x];O[m]=n[m],d?E[m]=r[m]:n[m]=r[m]}}else if(d){C={};for(x=0;x<_;x++){m=v[x];C[m]=Yt(n[m]),yr(n,r,m)}}w=new cn(n,!1,!1,h?Object(l["n"])(g,(function(e){return e.targetName===t})):null);w.targetName=t,i.scope&&(w.scope=i.scope),d&&E&&w.whenWithKeys(0,E,v),C&&w.whenWithKeys(0,C,v),w.whenWithKeys(null==c?500:c,s?O:r,v).delay(f||0),e.addAnimator(w,t),a.push(w)}}Object(l["K"])(dr,D),Object(l["K"])(dr,$n);var xr=dr,wr=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return a(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=l["r"](this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=l["r"](n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=e.call(t,r);r.isGroup&&!i&&r.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++){var r=this._children[n];r.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++){var r=this._children[n];r.removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new Ae(0,0,0,0),n=e||this._children,r=[],i=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(r);l?(Ae.applyTransform(t,s,l),i=i||t.clone(),i.union(t)):(i=i||s.clone(),i.union(s))}}return i||t},t}(xr);wr.prototype.type="group";var Sr=wr,kr={},Er={};
/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/function Or(e){delete Er[e]}function Cr(e){if(!e)return!1;if("string"===typeof e)return Object(Bt["e"])(e,1)<jn;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=Object(Bt["e"])(t[i].color,1);return n/=r,n<jn}return!1}var Ar,Tr=function(){function e(e,t,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var i=new ot,o=n.renderer||"canvas";kr[o]||(o=l["F"](kr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new kr[o](t,i,n,e),u=n.ssr||a.ssrOnly;this.storage=i,this.painter=a;var c,f=s["a"].node||s["a"].worker||u?null:new In(a.getViewportRoot(),a.root),h=n.useCoarsePointer,d=null==h||"auto"===h?s["a"].touchEventsSupported:!!h,p=44;d&&(c=l["P"](n.pointerSize,p)),this.handler=new ze(i,a,f,a.root,c),this.animation=new dn({stage:{update:u?null:function(){return r._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},e.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=Cr(e))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(e){var t,n=fn();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var r=fn();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof Sr&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,Or(this.id))},e}();function Pr(e,t){var n=new Tr(l["p"](),e,t);return Er[n.id]=n,n}function Mr(e,t){kr[e]=t}function Dr(e){if("function"===typeof Ar)return Ar(e)}function Ir(e){Ar=e}var Lr=1e-4,Rr=20;function jr(e){return e.replace(/^\s+|\s+$/g,"")}function Nr(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function Br(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return l["C"](e)?jr(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function Fr(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),Rr),e=(+e).toFixed(t),n?e:+e}function zr(e){return e.sort((function(e,t){return e-t})),e}function Ur(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return Hr(e)}function Hr(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function Vr(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function Gr(e,t){var n=l["N"](e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];var r=Math.pow(10,t),i=l["H"](e,(function(e){return(isNaN(e)?0:e)/n*r*100})),o=100*r,a=l["H"](i,(function(e){return Math.floor(e)})),s=l["N"](a,(function(e,t){return e+t}),0),u=l["H"](i,(function(e,t){return e-a[t]}));while(s<o){for(var c=Number.NEGATIVE_INFINITY,f=null,h=0,d=u.length;h<d;++h)u[h]>c&&(c=u[h],f=h);++a[f],u[f]=0,++s}return l["H"](a,(function(e){return e/r}))}function Wr(e,t){var n=Math.max(Ur(e),Ur(t)),r=e+t;return n>Rr?r:Fr(r,n)}var qr=9007199254740991;function Xr(e){var t=2*Math.PI;return(e%t+t)%t}function Yr(e){return e>-Lr&&e<Lr}var Kr=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function $r(e){if(e instanceof Date)return e;if(l["C"](e)){var t=Kr.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function Zr(e){return Math.pow(10,Jr(e))}function Jr(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function Qr(e,t){var n,r=Jr(e),i=Math.pow(10,r),o=e/i;return n=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function ei(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function ti(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!==1?e.splice(r,1):r++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]===(n?-1:1)||!n&&s(e,t,1))}}function ni(e){var t=parseFloat(e);return t==e&&(0!==t||!l["C"](e)||e.indexOf("x")<=0)?t:NaN}function ri(e){return!isNaN(ni(e))}function ii(){return Math.round(9*Math.random())}function oi(e,t){return 0===t?e:oi(t,e%t)}function ai(e,t){return null==e?t:null==t?e:e*t/oi(e,t)}function si(e,t,n){return(t-e)*n+e}var li="series\0",ui="\0_ec_\0";function ci(e){return e instanceof Array?e:null==e?[]:[e]}function fi(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var hi=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function di(e){return!Object(l["A"])(e)||Object(l["t"])(e)||e instanceof Date?e:e.value}function pi(e){return Object(l["A"])(e)&&!(e instanceof Array)}function gi(e,t,n){var r="normalMerge"===n,i="replaceMerge"===n,o="replaceAll"===n;e=e||[],t=(t||[]).slice();var a=Object(l["f"])();Object(l["k"])(t,(function(e,n){Object(l["A"])(e)||(t[n]=null)}));var s=vi(e,a,n);return(r||i)&&yi(s,e,a,t),r&&mi(s,t),r||i?bi(s,t,i):o&&_i(s,t),xi(s),s}function vi(e,t,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),r.push({existing:"replaceMerge"===n||Oi(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}function yi(e,t,n,r){Object(l["k"])(r,(function(i,o){if(i&&null!=i.id){var a=Si(i.id),s=n.get(a);if(null!=s){var u=e[s];Object(l["b"])(!u.newOption,'Duplicated option on id "'+a+'".'),u.newOption=i,u.existing=t[s],r[o]=null}}}))}function mi(e,t){Object(l["k"])(t,(function(n,r){if(n&&null!=n.name)for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(null==o.id||null==n.id)&&!Oi(n)&&!Oi(o)&&wi("name",o,n))return e[i].newOption=n,void(t[r]=null)}}))}function bi(e,t,n){Object(l["k"])(t,(function(t){if(t){var r,i=0;while((r=e[i])&&(r.newOption||Oi(r.existing)||r.existing&&null!=t.id&&!wi("id",t,r.existing)))i++;r?(r.newOption=t,r.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),i++}}))}function _i(e,t){Object(l["k"])(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}function xi(e){var t=Object(l["f"])();Object(l["k"])(e,(function(e){var n=e.existing;n&&t.set(n.id,e)})),Object(l["k"])(e,(function(e){var n=e.newOption;Object(l["b"])(!n||null==n.id||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})})),Object(l["k"])(e,(function(e,n){var r=e.existing,i=e.newOption,o=e.keyInfo;if(Object(l["A"])(i)){if(o.name=null!=i.name?Si(i.name):r?r.name:li+n,r)o.id=Si(r.id);else if(null!=i.id)o.id=Si(i.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(t.get(o.id))}t.set(o.id,e)}}))}function wi(e,t,n){var r=ki(t[e],null),i=ki(n[e],null);return null!=r&&null!=i&&r===i}function Si(e){return ki(e,"")}function ki(e,t){return null==e?t:Object(l["C"])(e)?e:Object(l["z"])(e)||Object(l["D"])(e)?e+"":t}function Ei(e){var t=e.name;return!(!t||!t.indexOf(li))}function Oi(e){return e&&null!=e.id&&0===Si(e.id).indexOf(ui)}function Ci(e){return ui+e}function Ai(e,t,n){Object(l["k"])(e,(function(e){var r=e.newOption;Object(l["A"])(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=Ti(t,r,e.existing,n))}))}function Ti(e,t,n,r){var i=t.type?t.type:n?n.subType:r.determineSubType(e,t);return i}function Pi(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[o(n),o(r)];function i(e,t,n){for(var r=0,i=e.length;r<i;r++){var o=ki(e[r].seriesId,null);if(null==o)return;for(var a=ci(e[r].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(t[o]||(t[o]={}))[c]=1}}}function o(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var i=o(e[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}function Mi(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?Object(l["t"])(t.dataIndex)?Object(l["H"])(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?Object(l["t"])(t.name)?Object(l["H"])(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function Di(){var e="__ec_inner_"+Ii++;return function(t){return t[e]||(t[e]={})}}var Ii=ii();function Li(e,t,n){var r=Ri(t,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=a,l=n?n.defaultMainType:null;return!i&&l&&o.set(l,{}),o.each((function(t,r){var i=Bi(e,r,t,{useDefault:l===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[r+"Models"]=i.models,s[r+"Model"]=i.models[0]})),s}function Ri(e,t){var n;if(Object(l["C"])(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var i=Object(l["f"])(),o={},a=!1;return Object(l["k"])(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],u=(r[2]||"").toLowerCase();if(s&&u&&!(t&&t.includeMainTypes&&Object(l["r"])(t.includeMainTypes,s)<0)){a=a||!!s;var c=i.get(s)||i.set(s,{});c[u]=e}}else o[n]=e})),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var ji={useDefault:!0,enableAll:!1,enableNone:!1},Ni={useDefault:!1,enableAll:!0,enableNone:!0};function Bi(e,t,n,r){r=r||ji;var i=n.index,o=n.id,a=n.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var u=void 0;return s.models=r.useDefault&&(u=e.getComponent(t))?[u]:[],s}return"none"===i||!1===i?(Object(l["b"])(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(Object(l["b"])(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=e.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function Fi(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function zi(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function Ui(e){return"auto"===e?s["a"].domSupported?"html":"richText":e||"html"}function Hi(e,t){var n=Object(l["f"])(),r=[];return Object(l["k"])(e,(function(e){var i=t(e);(n.get(i)||(r.push(i),n.set(i,[]))).push(e)})),{keys:r,buckets:n}}function Vi(e,t,n,r,i){var o=null==t||"auto"===t;if(null==r)return r;if(Object(l["z"])(r)){var a=si(n||0,r,i);return Fr(a,o?Math.max(Ur(n||0),Ur(r)):t)}if(Object(l["C"])(r))return i<1?n:r;for(var s=[],u=n,c=r,f=Math.max(u?u.length:0,c.length),h=0;h<f;++h){var d=e.getDimensionInfo(h);if(d&&"ordinal"===d.type)s[h]=(i<1&&u?u:c)[h];else{var p=u&&u[h]?u[h]:0,g=c[h];a=si(p,g,i);s[h]=Fr(a,o?Math.max(Ur(p),Ur(g)):t)}}return s}var Gi=".",Wi="___EC__COMPONENT__CONTAINER___",qi="___EC__EXTENDED_CLASS___";function Xi(e){var t={main:"",sub:""};if(e){var n=e.split(Gi);t.main=n[0]||"",t.sub=n[1]||""}return t}function Yi(e){l["b"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function Ki(e){return!(!e||!e[qi])}function $i(e,t){e.$constructor=e,e.extend=function(e){var t,n=this;return Zi(n)?t=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(n):(t=function(){(e.$constructor||n).apply(this,arguments)},l["s"](t,this)),l["m"](t.prototype,e),t[qi]=!0,t.extend=this.extend,t.superCall=to,t.superApply=no,t.superClass=n,t}}function Zi(e){return l["w"](e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Ji(e,t){e.extend=t.extend}var Qi=Math.round(10*Math.random());function eo(e){var t=["__\0is_clz",Qi++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function to(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function no(e,t,n){return this.superClass.prototype[t].apply(e,n)}function ro(e){var t={};function n(e){var n=t[e.main];return n&&n[Wi]||(n=t[e.main]={},n[Wi]=!0),n}e.registerClass=function(e){var r=e.type||e.prototype.type;if(r){Yi(r),e.prototype.type=r;var i=Xi(r);if(i.sub){if(i.sub!==Wi){var o=n(i);o[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[Wi]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){var n=Xi(e),r=[],i=t[n.main];return i&&i[Wi]?l["k"](i,(function(e,t){t!==Wi&&r.push(e)})):r.push(i),r},e.hasClass=function(e){var n=Xi(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return l["k"](t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=Xi(e),r=t[n.main];return r&&r[Wi]}}function io(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,r,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(r&&l["r"](r,s)>=0||i&&l["r"](i,s)<0)){var u=n.getShallow(s,t);null!=u&&(o[e[a][0]]=u)}}return o}}var oo=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ao=io(oo),so=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return ao(this,e,t)},e}(),lo=new Zn["a"](50);function uo(e){if("string"===typeof e){var t=lo.get(e);return t&&t.image}return e}function co(e,t,n,r,i){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var o=lo.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?(t=o.image,!ho(t)&&o.pending.push(a)):(t=Jn["d"].loadImage(e,fo,fo),t.__zrImageSrc=e,lo.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}return e}return t}function fo(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function ho(e){return e&&e.width&&e.height}var po=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function go(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=vo(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=yo(o[a],i);return o.join("\n")}function vo(e,t,n,r){r=r||{};var i=Object(l["m"])({},r);i.font=t,n=Object(l["P"])(n,"..."),i.maxIterations=Object(l["P"])(r.maxIterations,2);var o=i.minChar=Object(l["P"])(r.minChar,0);i.cnCharWidth=er("国",t);var a=i.ascCharWidth=er("a",t);i.placeholder=Object(l["P"])(r.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<o&&s>=a;u++)s-=a;var c=er(n,t);return c>s&&(n="",c=0),s=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=s,i.containerWidth=e,i}function yo(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=er(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?mo(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,s),o=er(e,r)}return""===e&&(e=t.placeholder),e}function mo(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function bo(e,t){null!=e&&(e+="");var n,r=t.overflow,i=t.padding,o=t.font,a="truncate"===r,s=or(o),u=Object(l["P"])(t.lineHeight,s),c=!!t.backgroundColor,f="truncate"===t.lineOverflow,h=t.width;n=null==h||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?Ao(e,t.font,h,"breakAll"===r,0).lines:[];var d=n.length*u,p=Object(l["P"])(t.height,d);if(d>p&&f){var g=Math.floor(p/u);n=n.slice(0,g)}if(e&&a&&null!=h)for(var v=vo(h,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),y=0;y<n.length;y++)n[y]=yo(n[y],v);var m=p,b=0;for(y=0;y<n.length;y++)b=Math.max(er(n[y],o),b);null==h&&(h=b);var _=b;return i&&(m+=i[0]+i[2],_+=i[1]+i[3],h+=i[1]+i[3]),c&&(_=h),{lines:n,height:p,outerWidth:_,outerHeight:m,lineHeight:u,calculatedLineHeight:s,contentWidth:b,contentHeight:d,width:h}}var _o=function(){function e(){}return e}(),xo=function(){function e(e){this.tokens=[],e&&(this.tokens=e)}return e}(),wo=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function So(e,t){var n=new wo;if(null!=e&&(e+=""),!e)return n;var r,i=t.width,o=t.height,a=t.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},u=po.lastIndex=0;while(null!=(r=po.exec(e))){var c=r.index;c>u&&ko(n,e.substring(u,c),t,s),ko(n,r[2],t,s,r[1]),u=po.lastIndex}u<e.length&&ko(n,e.substring(u,e.length),t,s);var f=[],h=0,d=0,p=t.padding,g="truncate"===a,v="truncate"===t.lineOverflow;function y(e,t,n){e.width=t,e.lineHeight=n,h+=n,d=Math.max(d,t)}e:for(var m=0;m<n.lines.length;m++){for(var b=n.lines[m],_=0,x=0,w=0;w<b.tokens.length;w++){var S=b.tokens[w],k=S.styleName&&t.rich[S.styleName]||{},E=S.textPadding=k.padding,O=E?E[1]+E[3]:0,C=S.font=k.font||t.font;S.contentHeight=or(C);var A=Object(l["P"])(k.height,S.contentHeight);if(S.innerHeight=A,E&&(A+=E[0]+E[2]),S.height=A,S.lineHeight=Object(l["Q"])(k.lineHeight,t.lineHeight,A),S.align=k&&k.align||t.align,S.verticalAlign=k&&k.verticalAlign||"middle",v&&null!=o&&h+S.lineHeight>o){w>0?(b.tokens=b.tokens.slice(0,w),y(b,x,_),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}var T=k.width,P=null==T||"auto"===T;if("string"===typeof T&&"%"===T.charAt(T.length-1))S.percentWidth=T,f.push(S),S.contentWidth=er(S.text,C);else{if(P){var M=k.backgroundColor,D=M&&M.image;D&&(D=uo(D),ho(D)&&(S.width=Math.max(S.width,D.width*A/D.height)))}var I=g&&null!=i?i-x:null;null!=I&&I<S.width?!P||I<O?(S.text="",S.width=S.contentWidth=0):(S.text=go(S.text,I-O,C,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=er(S.text,C)):S.contentWidth=er(S.text,C)}S.width+=O,x+=S.width,k&&(_=Math.max(_,S.lineHeight))}y(b,x,_)}n.outerWidth=n.width=Object(l["P"])(i,d),n.outerHeight=n.height=Object(l["P"])(o,h),n.contentHeight=h,n.contentWidth=d,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]);for(m=0;m<f.length;m++){S=f[m];var L=S.percentWidth;S.width=parseInt(L,10)/100*n.width}return n}function ko(e,t,n,r,i){var o,a,s=""===t,l=i&&n.rich[i]||{},u=e.lines,c=l.font||n.font,f=!1;if(r){var h=l.padding,d=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var p=ar(l.width,r.width)+d;u.length>0&&p+r.accumWidth>r.width&&(o=t.split("\n"),f=!0),r.accumWidth=p}else{var g=Ao(t,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=t.split("\n");for(var v=0;v<o.length;v++){var y=o[v],m=new _o;if(m.styleName=i,m.text=y,m.isLineHolder=!y&&!s,"number"===typeof l.width?m.width=l.width:m.width=a?a[v]:er(y,c),v||f)u.push(new xo([m]));else{var b=(u[u.length-1]||(u[0]=new xo)).tokens,_=b.length;1===_&&b[0].isLineHolder?b[0]=m:(y||!_||s)&&b.push(m)}}}function Eo(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Oo=Object(l["N"])(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function Co(e){return!Eo(e)||!!Oo[e]}function Ao(e,t,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var h=e.charAt(f);if("\n"!==h){var d=er(h,t),p=!r&&!Co(h);(o.length?c+d>n:i+c+d>n)?c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=h,u+=d,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=d)):p?(o.push(l),a.push(u),l=h,u=d):(o.push(h),a.push(d)):(c+=d,p?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var To="__zr_style_"+Math.round(10*Math.random()),Po={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Mo={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Po[To]=!0;var Do=["z","z2","invisible"],Io=["invisible"],Lo=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype._init=function(t){for(var n=Object(l["F"])(t),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(t[i]):e.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&No(this,e,t)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,o=r.shadowOffsetX||0,a=r.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new Ae(0,0,0,0)),t?Ae.applyTransform(e,n,t):e.copy(n),(i||o||a)&&(e.width+=2*i+Math.abs(o),e.height+=2*i+Math.abs(a),e.x=Math.min(e.x,e.x+o-i),e.y=Math.min(e.y,e.y+a-i));var s=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-s),e.y=Math.floor(e.y-s),e.width=Math.ceil(e.width+1+2*s),e.height=Math.ceil(e.height+1+2*s))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new Ae(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,n){"style"!==t?e.prototype.attrKV.call(this,t,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,t){return"string"===typeof e?this.style[e]=t:Object(l["m"])(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=Je,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Je)},t.prototype.styleUpdated=function(){this.__dirty&=~Je},t.prototype.createStyle=function(e){return Object(l["g"])(Po,e)},t.prototype.useStyle=function(e){e[To]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[To]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,n,Do)},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,u=!(n&&i);if(n&&n.style?o?i?s=n.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(s,n.style)):u&&(s=r.style),s)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var f=Object(l["F"])(c),h=0;h<f.length;h++){var d=f[h];d in s&&(s[d]=s[d],this.style[d]=c[d])}var p=Object(l["F"])(s);for(h=0;h<p.length;h++){d=p[h];this.style[d]=this.style[d]}this._transitionState(t,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var g=this.__inHover?Io:Do;for(h=0;h<g.length;h++){d=g[h];n&&null!=n[d]?this[d]=n[d]:u&&null!=r[d]&&(this[d]=r[d])}},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},t.prototype._mergeStyle=function(e,t){return Object(l["m"])(e,t),e},t.prototype.getAnimationStyleProps=function(){return Mo},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=Ze|Je}(),t}(xr),Ro=new Ae(0,0,0,0),jo=new Ae(0,0,0,0);function No(e,t,n){return Ro.copy(e.getBoundingRect()),e.transform&&Ro.applyTransform(e.transform),jo.width=t,jo.height=n,!Ro.intersect(jo)}var Bo=Lo,Fo=Math.min,zo=Math.max,Uo=Math.sin,Ho=Math.cos,Vo=2*Math.PI,Go=u(),Wo=u(),qo=u();function Xo(e,t,n){if(0!==e.length){for(var r=e[0],i=r[0],o=r[0],a=r[1],s=r[1],l=1;l<e.length;l++)r=e[l],i=Fo(i,r[0]),o=zo(o,r[0]),a=Fo(a,r[1]),s=zo(s,r[1]);t[0]=i,t[1]=a,n[0]=o,n[1]=s}}function Yo(e,t,n,r,i,o){i[0]=Fo(e,n),i[1]=Fo(t,r),o[0]=zo(e,n),o[1]=zo(t,r)}var Ko=[],$o=[];function Zo(e,t,n,r,i,o,a,s,l,u){var c=St,f=_t,h=c(e,n,i,a,Ko);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var d=0;d<h;d++){var p=f(e,n,i,a,Ko[d]);l[0]=Fo(p,l[0]),u[0]=zo(p,u[0])}h=c(t,r,o,s,$o);for(d=0;d<h;d++){var g=f(t,r,o,s,$o[d]);l[1]=Fo(g,l[1]),u[1]=zo(g,u[1])}l[0]=Fo(e,l[0]),u[0]=zo(e,u[0]),l[0]=Fo(a,l[0]),u[0]=zo(a,u[0]),l[1]=Fo(t,l[1]),u[1]=zo(t,u[1]),l[1]=Fo(s,l[1]),u[1]=zo(s,u[1])}function Jo(e,t,n,r,i,o,a,s){var l=Pt,u=Ct,c=zo(Fo(l(e,n,i),1),0),f=zo(Fo(l(t,r,o),1),0),h=u(e,n,i,c),d=u(t,r,o,f);a[0]=Fo(e,i,h),a[1]=Fo(t,o,d),s[0]=zo(e,i,h),s[1]=zo(t,o,d)}function Qo(e,t,n,r,i,o,a,s,l){var u=O,c=C,f=Math.abs(i-o);if(f%Vo<1e-4&&f>1e-4)return s[0]=e-n,s[1]=t-r,l[0]=e+n,void(l[1]=t+r);if(Go[0]=Ho(i)*n+e,Go[1]=Uo(i)*r+t,Wo[0]=Ho(o)*n+e,Wo[1]=Uo(o)*r+t,u(s,Go,Wo),c(l,Go,Wo),i%=Vo,i<0&&(i+=Vo),o%=Vo,o<0&&(o+=Vo),i>o&&!a?o+=Vo:i<o&&a&&(i+=Vo),a){var h=o;o=i,i=h}for(var d=0;d<o;d+=Math.PI/2)d>i&&(qo[0]=Ho(d)*n+e,qo[1]=Uo(d)*r+t,u(s,qo,s),c(l,qo,l))}var ea={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ta=[],na=[],ra=[],ia=[],oa=[],aa=[],sa=Math.min,la=Math.max,ua=Math.cos,ca=Math.sin,fa=Math.abs,ha=Math.PI,da=2*ha,pa="undefined"!==typeof Float32Array,ga=[];function va(e){var t=Math.round(e/ha*1e8)/1e8;return t%2*ha}function ya(e,t){var n=va(e[0]);n<0&&(n+=da);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=da?i=n+da:t&&n-i>=da?i=n-da:!t&&n>i?i=n+(da-va(n-i)):t&&n<i&&(i=n-(da-va(i-n))),e[0]=n,e[1]=i}var ma=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,n){n=n||0,n>0&&(this._ux=fa(n/Rn/e)||0,this._uy=fa(n/Rn/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(ea.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=fa(e-this._xi),r=fa(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(ea.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(ea.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(ea.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),ga[0]=r,ga[1]=i,ya(ga,o),r=ga[0],i=ga[1];var a=i-r;return this.addData(ea.A,e,t,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=ua(i)*n+e,this._yi=ca(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(ea.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ea.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!pa||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();pa&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(e,t,n,r,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,pa&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){ra[0]=ra[1]=oa[0]=oa[1]=Number.MAX_VALUE,ia[0]=ia[1]=aa[0]=aa[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,r=0,i=0,o=0;for(e=0;e<this._len;){var a=t[e++],s=1===e;switch(s&&(n=t[e],r=t[e+1],i=n,o=r),a){case ea.M:n=i=t[e++],r=o=t[e++],oa[0]=i,oa[1]=o,aa[0]=i,aa[1]=o;break;case ea.L:Yo(n,r,t[e],t[e+1],oa,aa),n=t[e++],r=t[e++];break;case ea.C:Zo(n,r,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],oa,aa),n=t[e++],r=t[e++];break;case ea.Q:Jo(n,r,t[e++],t[e++],t[e],t[e+1],oa,aa),n=t[e++],r=t[e++];break;case ea.A:var l=t[e++],u=t[e++],c=t[e++],f=t[e++],h=t[e++],d=t[e++]+h;e+=1;var p=!t[e++];s&&(i=ua(h)*c+l,o=ca(h)*f+u),Qo(l,u,c,f,h,d,p,oa,aa),n=ua(d)*c+l,r=ca(d)*f+u;break;case ea.R:i=n=t[e++],o=r=t[e++];var g=t[e++],v=t[e++];Yo(i,o,i+g,o+v,oa,aa);break;case ea.Z:n=i,r=o;break}O(ra,ra,oa),C(ia,ia,aa)}return 0===e&&(ra[0]=ra[1]=ia[0]=ia[1]=0),new Ae(ra[0],ra[1],ia[0]-ra[0],ia[1]-ra[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,f=0;f<t;){var h=e[f++],d=1===f;d&&(i=e[f],o=e[f+1],a=i,s=o);var p=-1;switch(h){case ea.M:i=a=e[f++],o=s=e[f++];break;case ea.L:var g=e[f++],v=e[f++],y=g-i,m=v-o;(fa(y)>n||fa(m)>r||f===t-1)&&(p=Math.sqrt(y*y+m*m),i=g,o=v);break;case ea.C:var b=e[f++],_=e[f++],x=(g=e[f++],v=e[f++],e[f++]),w=e[f++];p=Ot(i,o,b,_,g,v,x,w,10),i=x,o=w;break;case ea.Q:b=e[f++],_=e[f++],g=e[f++],v=e[f++];p=It(i,o,b,_,g,v,10),i=g,o=v;break;case ea.A:var S=e[f++],k=e[f++],E=e[f++],O=e[f++],C=e[f++],A=e[f++],T=A+C;f+=1,d&&(a=ua(C)*E+S,s=ca(C)*O+k),p=la(E,O)*sa(da,Math.abs(A)),i=ua(T)*E+S,o=ca(T)*O+k;break;case ea.R:a=i=e[f++],s=o=e[f++];var P=e[f++],M=e[f++];p=2*P+2*M;break;case ea.Z:y=a-i,m=s-o;p=Math.sqrt(y*y+m*m),i=a,o=s;break}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},e.prototype.rebuildPath=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d=this.data,p=this._ux,g=this._uy,v=this._len,y=t<1,m=0,b=0,_=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=t*u,c))e:for(var x=0;x<v;){var w=d[x++],S=1===x;switch(S&&(i=d[x],o=d[x+1],n=i,r=o),w!==ea.L&&_>0&&(e.lineTo(f,h),_=0),w){case ea.M:n=i=d[x++],r=o=d[x++],e.moveTo(i,o);break;case ea.L:a=d[x++],s=d[x++];var k=fa(a-i),E=fa(s-o);if(k>p||E>g){if(y){var O=l[b++];if(m+O>c){var C=(c-m)/O;e.lineTo(i*(1-C)+a*C,o*(1-C)+s*C);break e}m+=O}e.lineTo(a,s),i=a,o=s,_=0}else{var A=k*k+E*E;A>_&&(f=a,h=s,_=A)}break;case ea.C:var T=d[x++],P=d[x++],M=d[x++],D=d[x++],I=d[x++],L=d[x++];if(y){O=l[b++];if(m+O>c){C=(c-m)/O;kt(i,T,M,I,C,ta),kt(o,P,D,L,C,na),e.bezierCurveTo(ta[1],na[1],ta[2],na[2],ta[3],na[3]);break e}m+=O}e.bezierCurveTo(T,P,M,D,I,L),i=I,o=L;break;case ea.Q:T=d[x++],P=d[x++],M=d[x++],D=d[x++];if(y){O=l[b++];if(m+O>c){C=(c-m)/O;Mt(i,T,M,C,ta),Mt(o,P,D,C,na),e.quadraticCurveTo(ta[1],na[1],ta[2],na[2]);break e}m+=O}e.quadraticCurveTo(T,P,M,D),i=M,o=D;break;case ea.A:var R=d[x++],j=d[x++],N=d[x++],B=d[x++],F=d[x++],z=d[x++],U=d[x++],H=!d[x++],V=N>B?N:B,G=fa(N-B)>.001,W=F+z,q=!1;if(y){O=l[b++];m+O>c&&(W=F+z*(c-m)/O,q=!0),m+=O}if(G&&e.ellipse?e.ellipse(R,j,N,B,U,F,W,H):e.arc(R,j,V,F,W,H),q)break e;S&&(n=ua(F)*N+R,r=ca(F)*B+j),i=ua(W)*N+R,o=ca(W)*B+j;break;case ea.R:n=i=d[x],r=o=d[x+1],a=d[x++],s=d[x++];var X=d[x++],Y=d[x++];if(y){O=l[b++];if(m+O>c){var K=c-m;e.moveTo(a,s),e.lineTo(a+sa(K,X),s),K-=X,K>0&&e.lineTo(a+X,s+sa(K,Y)),K-=Y,K>0&&e.lineTo(a+la(X-K,0),s+Y),K-=X,K>0&&e.lineTo(a,s+la(Y-K,0));break e}m+=O}e.rect(a,s,X,Y);break;case ea.Z:if(y){O=l[b++];if(m+O>c){C=(c-m)/O;e.lineTo(i*(1-C)+n*C,o*(1-C)+r*C);break e}m+=O}e.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=ea,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),ba=ma;function _a(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-r)/(e-n),u=(e*r-n*t)/(e-n);var c=l*o-a+u,f=c*c/(l*l+1);return f<=s/2*s/2}function xa(e,t,n,r,i,o,a,s,l,u,c){if(0===l)return!1;var f=l;if(c>t+f&&c>r+f&&c>o+f&&c>s+f||c<t-f&&c<r-f&&c<o-f&&c<s-f||u>e+f&&u>n+f&&u>i+f&&u>a+f||u<e-f&&u<n-f&&u<i-f&&u<a-f)return!1;var h=Et(e,t,n,r,i,o,a,s,u,c,null);return h<=f/2}function wa(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;if(l>t+u&&l>r+u&&l>o+u||l<t-u&&l<r-u&&l<o-u||s>e+u&&s>n+u&&s>i+u||s<e-u&&s<n-u&&s<i-u)return!1;var c=Dt(e,t,n,r,i,o,s,l,null);return c<=u/2}var Sa=2*Math.PI;function ka(e){return e%=Sa,e<0&&(e+=Sa),e}var Ea=2*Math.PI;function Oa(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%Ea<1e-4)return!0;if(o){var f=r;r=ka(i),i=ka(f)}else r=ka(r),i=ka(i);r>i&&(i+=Ea);var h=Math.atan2(l,s);return h<0&&(h+=Ea),h>=r&&h<=i||h+Ea>=r&&h+Ea<=i}function Ca(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;1!==a&&0!==a||(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===i?1/0:l>i?s:0}var Aa=ba.CMD,Ta=2*Math.PI,Pa=1e-4;function Ma(e,t){return Math.abs(e-t)<Pa}var Da=[-1,-1,-1],Ia=[-1,-1];function La(){var e=Ia[0];Ia[0]=Ia[1],Ia[1]=e}function Ra(e,t,n,r,i,o,a,s,l,u){if(u>t&&u>r&&u>o&&u>s||u<t&&u<r&&u<o&&u<s)return 0;var c=wt(t,r,o,s,u,Da);if(0===c)return 0;for(var f=0,h=-1,d=void 0,p=void 0,g=0;g<c;g++){var v=Da[g],y=0===v||1===v?.5:1,m=_t(e,n,i,a,v);m<l||(h<0&&(h=St(t,r,o,s,Ia),Ia[1]<Ia[0]&&h>1&&La(),d=_t(t,r,o,s,Ia[0]),h>1&&(p=_t(t,r,o,s,Ia[1]))),2===h?v<Ia[0]?f+=d<t?y:-y:v<Ia[1]?f+=p<d?y:-y:f+=s<p?y:-y:v<Ia[0]?f+=d<t?y:-y:f+=s<d?y:-y)}return f}function ja(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=Tt(t,r,o,s,Da);if(0===l)return 0;var u=Pt(t,r,o);if(u>=0&&u<=1){for(var c=0,f=Ct(t,r,o,u),h=0;h<l;h++){var d=0===Da[h]||1===Da[h]?.5:1,p=Ct(e,n,i,Da[h]);p<a||(Da[h]<u?c+=f<t?d:-d:c+=o<f?d:-d)}return c}d=0===Da[0]||1===Da[0]?.5:1,p=Ct(e,n,i,Da[0]);return p<a?0:o<t?d:-d}function Na(e,t,n,r,i,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Da[0]=-l,Da[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=Ta-1e-4){r=0,i=Ta;var c=o?1:-1;return a>=Da[0]+e&&a<=Da[1]+e?c:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=Ta,i+=Ta);for(var h=0,d=0;d<2;d++){var p=Da[d];if(p+e>a){var g=Math.atan2(s,p);c=o?1:-1;g<0&&(g=Ta+g),(g>=r&&g<=i||g+Ta>=r&&g+Ta<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function Ba(e,t,n,r,i){for(var o,a,s=e.data,l=e.len(),u=0,c=0,f=0,h=0,d=0,p=0;p<l;){var g=s[p++],v=1===p;switch(g===Aa.M&&p>1&&(n||(u+=Ca(c,f,h,d,r,i))),v&&(c=s[p],f=s[p+1],h=c,d=f),g){case Aa.M:h=s[p++],d=s[p++],c=h,f=d;break;case Aa.L:if(n){if(_a(c,f,s[p],s[p+1],t,r,i))return!0}else u+=Ca(c,f,s[p],s[p+1],r,i)||0;c=s[p++],f=s[p++];break;case Aa.C:if(n){if(xa(c,f,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],t,r,i))return!0}else u+=Ra(c,f,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],f=s[p++];break;case Aa.Q:if(n){if(wa(c,f,s[p++],s[p++],s[p],s[p+1],t,r,i))return!0}else u+=ja(c,f,s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],f=s[p++];break;case Aa.A:var y=s[p++],m=s[p++],b=s[p++],_=s[p++],x=s[p++],w=s[p++];p+=1;var S=!!(1-s[p++]);o=Math.cos(x)*b+y,a=Math.sin(x)*_+m,v?(h=o,d=a):u+=Ca(c,f,o,a,r,i);var k=(r-y)*_/b+y;if(n){if(Oa(y,m,_,x,x+w,S,t,k,i))return!0}else u+=Na(y,m,_,x,x+w,S,k,i);c=Math.cos(x+w)*b+y,f=Math.sin(x+w)*_+m;break;case Aa.R:h=c=s[p++],d=f=s[p++];var E=s[p++],O=s[p++];if(o=h+E,a=d+O,n){if(_a(h,d,o,d,t,r,i)||_a(o,d,o,a,t,r,i)||_a(o,a,h,a,t,r,i)||_a(h,a,h,d,t,r,i))return!0}else u+=Ca(o,d,o,a,r,i),u+=Ca(h,a,h,d,r,i);break;case Aa.Z:if(n){if(_a(c,f,h,d,t,r,i))return!0}else u+=Ca(c,f,h,d,r,i);c=h,f=d;break}}return n||Ma(f,d)||(u+=Ca(c,f,h,d,r,i)||0),0!==u}function Fa(e,t,n){return Ba(e,0,!1,t,n)}function za(e,t,n,r){return Ba(e,t,!0,n,r)}var Ua=Object(l["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Po),Ha={style:Object(l["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Mo.style)},Va=Yn.concat(["invisible","culling","z","z2","zlevel","parent"]),Ga=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<Va.length;++s)i[Va[s]]=this[Va[s]];i.__dirty|=Ze}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=Object(l["F"])(t);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=t[o];"style"===o?this.style?Object(l["m"])(this.style,a):this.useStyle(a):"shape"===o?Object(l["m"])(this.shape,a):e.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if(Object(l["C"])(e)){var t=Object(Bt["e"])(e,0);return t>.5?Nn:t>.2?Fn:Bn}if(e)return Bn}return Nn},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(l["C"])(t)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=Object(Bt["e"])(e,0)<jn;if(r===i)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~Qe},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new ba(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&Qe)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),za(o,a/s,e,t)))return!0}if(this.hasFill())return Fa(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Qe,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"===typeof e?n[e]=t:Object(l["m"])(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Qe)},t.prototype.createStyle=function(e){return Object(l["g"])(Ua,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=Object(l["m"])({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,u=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=Object(l["m"])({},r.shape),Object(l["m"])(s,n.shape)):(s=Object(l["m"])({},i?this.shape:r.shape),Object(l["m"])(s,n.shape)):u&&(s=r.shape),s)if(o){this.shape=Object(l["m"])({},this.shape);for(var c={},f=Object(l["F"])(s),h=0;h<f.length;h++){var d=f[h];"object"===typeof s[d]?this.shape[d]=s[d]:c[d]=s[d]}this._transitionState(t,{shape:c},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},t.prototype.getAnimationStyleProps=function(){return Ha},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}return a(n,t),n.prototype.getDefaultStyle=function(){return Object(l["d"])(e.style)},n.prototype.getDefaultShape=function(){return Object(l["d"])(e.shape)},n}(t);for(var r in e)"function"===typeof e[r]&&(n.prototype[r]=e[r]);return n},t.initDefaultProps=function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=Ze|Je|Qe}(),t}(Bo),Wa=Ga,qa=Object(l["i"])({strokeFirst:!0,font:Jn["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Ua),Xa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.createStyle=function(e){return Object(l["g"])(qa,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=nr(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(Bo);Xa.prototype.type="tspan";var Ya=Xa,Ka=Object(l["i"])({x:0,y:0},Po),$a={style:Object(l["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Mo.style)};function Za(e){return!!(e&&"string"!==typeof e&&e.width&&e.height)}var Ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.createStyle=function(e){return Object(l["g"])(Ka,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r=Za(t.image)?t.image:this.__image;if(!r)return 0;var i="width"===e?"height":"width",o=t[i];return null==o?r[e]:r[e]/r[i]*o},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return $a},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new Ae(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Bo);Ja.prototype.type="image";var Qa=Ja;function es(e,t){var n,r,i,o,a,s=t.x,l=t.y,u=t.width,c=t.height,f=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof f?n=r=i=o=f:f instanceof Array?1===f.length?n=r=i=o=f[0]:2===f.length?(n=i=f[0],r=o=f[1]):3===f.length?(n=f[0],r=o=f[1],i=f[2]):(n=f[0],r=f[1],i=f[2],o=f[3]):n=r=i=o=0,n+r>u&&(a=n+r,n*=u/a,r*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),r+i>c&&(a=r+i,r*=c/a,i*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-r,l),0!==r&&e.arc(s+u-r,l+r,r,-Math.PI/2,0),e.lineTo(s+u,l+c-i),0!==i&&e.arc(s+u-i,l+c-i,i,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var ts=Math.round;function ns(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s?(ts(2*r)===ts(2*i)&&(e.x1=e.x2=is(r,s,!0)),ts(2*o)===ts(2*a)&&(e.y1=e.y2=is(o,s,!0)),e):e}}function rs(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s?(e.x=is(r,s,!0),e.y=is(i,s,!0),e.width=Math.max(is(r+o,s,!1)-e.x,0===o?0:1),e.height=Math.max(is(i+a,s,!1)-e.y,0===a?0:1),e):e}}function is(e,t,n){if(!t)return e;var r=ts(2*e);return(r+ts(t))%2===0?r/2:(r+(n?1:-1))/2}var os=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),as={},ss=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new os},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=rs(as,t,this.style);n=a.x,r=a.y,i=a.width,o=a.height,a.r=t.r,t=a}else n=t.x,r=t.y,i=t.width,o=t.height;t.r?es(e,t):e.rect(n,r,i,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Wa);ss.prototype.type="rect";var ls=ss,us={fill:"#000"},cs=2,fs={style:Object(l["i"])({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Mo.style)},hs=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=us,n.attr(t),n}return a(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var n=this._children[t];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var n=this.innerTransformable;return n?n.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,bs(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new Ae(0,0,0,0),t=this._children,n=[],r=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(e.copy(a),e.applyTransform(s),r=r||e.clone(),r.union(e)):(r=r||a.clone(),r.union(a))}this._rect=r||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||us},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,r=e.rich||n&&{};return Object(l["m"])(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r),e},t.prototype._mergeRich=function(e,t){for(var n=Object(l["F"])(t),r=0;r<n.length;r++){var i=n[r];e[i]=e[i]||{},Object(l["m"])(e[i],t[i])}},t.prototype.getAnimationStyleProps=function(){return fs},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||Jn["a"],n=e.padding,r=ks(e),i=bo(r,e),o=Es(e),a=!!e.backgroundColor,s=i.outerHeight,l=i.outerWidth,u=i.contentWidth,c=i.lines,f=i.lineHeight,h=this._defaultStyle,d=e.x||0,p=e.y||0,g=e.align||h.align||"left",v=e.verticalAlign||h.verticalAlign||"top",y=d,m=ir(p,i.contentHeight,v);if(o||n){var b=rr(d,l,g),_=ir(p,s,v);o&&this._renderBackground(e,e,b,_,l,s)}m+=f/2,n&&(y=Ss(d,g,n),"top"===v?m+=n[0]:"bottom"===v&&(m-=n[2]));for(var x=0,w=!1,S=(ws("fill"in e?e.fill:(w=!0,h.fill))),k=(xs("stroke"in e?e.stroke:a||h.autoStroke&&!w?null:(x=cs,h.stroke))),E=e.textShadowBlur>0,O=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),C=i.calculatedLineHeight,A=0;A<c.length;A++){var T=this._getOrCreateChild(Ya),P=T.createStyle();T.useStyle(P),P.text=c[A],P.x=y,P.y=m,g&&(P.textAlign=g),P.textBaseline="middle",P.opacity=e.opacity,P.strokeFirst=!0,E&&(P.shadowBlur=e.textShadowBlur||0,P.shadowColor=e.textShadowColor||"transparent",P.shadowOffsetX=e.textShadowOffsetX||0,P.shadowOffsetY=e.textShadowOffsetY||0),P.stroke=k,P.fill=S,k&&(P.lineWidth=e.lineWidth||x,P.lineDash=e.lineDash,P.lineDashOffset=e.lineDashOffset||0),P.font=t,ys(P,e),m+=f,O&&T.setBoundingRect(new Ae(rr(P.x,e.width,P.textAlign),ir(P.y,C,P.textBaseline),u,C))}},t.prototype._updateRichTexts=function(){var e=this.style,t=ks(e),n=So(t,e),r=n.width,i=n.outerWidth,o=n.outerHeight,a=e.padding,s=e.x||0,l=e.y||0,u=this._defaultStyle,c=e.align||u.align,f=e.verticalAlign||u.verticalAlign,h=rr(s,i,c),d=ir(l,o,f),p=h,g=d;a&&(p+=a[3],g+=a[0]);var v=p+r;Es(e)&&this._renderBackground(e,e,h,d,i,o);for(var y=!!e.backgroundColor,m=0;m<n.lines.length;m++){var b=n.lines[m],_=b.tokens,x=_.length,w=b.lineHeight,S=b.width,k=0,E=p,O=v,C=x-1,A=void 0;while(k<x&&(A=_[k],!A.align||"left"===A.align))this._placeToken(A,e,w,g,E,"left",y),S-=A.width,E+=A.width,k++;while(C>=0&&(A=_[C],"right"===A.align))this._placeToken(A,e,w,g,O,"right",y),S-=A.width,O-=A.width,C--;E+=(r-(E-p)-(v-O)-S)/2;while(k<=C)A=_[k],this._placeToken(A,e,w,g,E+A.width/2,"center",y),E+=A.width,k++;g+=w}},t.prototype._placeToken=function(e,t,n,r,i,o,a){var s=t.rich[e.styleName]||{};s.text=e.text;var u=e.verticalAlign,c=r+n/2;"top"===u?c=r+e.height/2:"bottom"===u&&(c=r+n-e.height/2);var f=!e.isLineHolder&&Es(s);f&&this._renderBackground(s,t,"right"===o?i-e.width:"center"===o?i-e.width/2:i,c-e.height/2,e.width,e.height);var h=!!s.backgroundColor,d=e.textPadding;d&&(i=Ss(i,o,d),c-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(Ya),g=p.createStyle();p.useStyle(g);var v=this._defaultStyle,y=!1,m=0,b=ws("fill"in s?s.fill:"fill"in t?t.fill:(y=!0,v.fill)),_=xs("stroke"in s?s.stroke:"stroke"in t?t.stroke:h||a||v.autoStroke&&!y?null:(m=cs,v.stroke)),x=s.textShadowBlur>0||t.textShadowBlur>0;g.text=e.text,g.x=i,g.y=c,x&&(g.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,g.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",g.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,g.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=e.font||Jn["a"],g.opacity=Object(l["Q"])(s.opacity,t.opacity,1),ys(g,s),_&&(g.lineWidth=Object(l["Q"])(s.lineWidth,t.lineWidth,m),g.lineDash=Object(l["P"])(s.lineDash,t.lineDash),g.lineDashOffset=t.lineDashOffset||0,g.stroke=_),b&&(g.fill=b);var w=e.contentWidth,S=e.contentHeight;p.setBoundingRect(new Ae(rr(g.x,w,g.textAlign),ir(g.y,S,g.textBaseline),w,S))},t.prototype._renderBackground=function(e,t,n,r,i,o){var a,s,u=e.backgroundColor,c=e.borderWidth,f=e.borderColor,h=u&&u.image,d=u&&!h,p=e.borderRadius,g=this;if(d||e.lineHeight||c&&f){a=this._getOrCreateChild(ls),a.useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=r,v.width=i,v.height=o,v.r=p,a.dirtyShape()}if(d){var y=a.style;y.fill=u||null,y.fillOpacity=Object(l["P"])(e.fillOpacity,1)}else if(h){s=this._getOrCreateChild(Qa),s.onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=n,m.y=r,m.width=i,m.height=o}if(c&&f){y=a.style;y.lineWidth=c,y.stroke=f,y.strokeOpacity=Object(l["P"])(e.strokeOpacity,1),y.lineDash=e.borderDash,y.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var b=(a||s).style;b.shadowBlur=e.shadowBlur||0,b.shadowColor=e.shadowColor||"transparent",b.shadowOffsetX=e.shadowOffsetX||0,b.shadowOffsetY=e.shadowOffsetY||0,b.opacity=Object(l["Q"])(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return ms(e)&&(t=[e.fontStyle,e.fontWeight,vs(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(l["T"])(t)||e.textFont||e.font},t}(Bo),ds={left:!0,right:1,center:1},ps={top:1,bottom:1,middle:1},gs=["fontStyle","fontWeight","fontSize","fontFamily"];function vs(e){return"string"!==typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?Jn["c"]+"px":e+"px":e}function ys(e,t){for(var n=0;n<gs.length;n++){var r=gs[n],i=t[r];null!=i&&(e[r]=i)}}function ms(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function bs(e){return _s(e),Object(l["k"])(e.rich,_s),e}function _s(e){if(e){e.font=hs.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||ds[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||ps[n]?n:"top";var r=e.padding;r&&(e.padding=Object(l["M"])(e.padding))}}function xs(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function ws(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function Ss(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function ks(e){var t=e.text;return null!=t&&(t+=""),t}function Es(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Os=hs,Cs=Di(),As=function(e,t,n,r){if(r){var i=Cs(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,i.ssrType="chart","group"===r.type&&r.traverse((function(r){var i=Cs(r);i.seriesIndex=e,i.dataIndex=n,i.dataType=t,i.ssrType="chart"}))}},Ts=1,Ps={},Ms=Di(),Ds=Di(),Is=0,Ls=1,Rs=2,js=["emphasis","blur","select"],Ns=["normal","emphasis","blur","select"],Bs=10,Fs=9,zs="highlight",Us="downplay",Hs="select",Vs="unselect",Gs="toggleSelect";function Ws(e){return null!=e&&"none"!==e}function qs(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function Xs(e){qs(e,"emphasis",Rs)}function Ys(e){e.hoverState===Rs&&qs(e,"normal",Is)}function Ks(e){qs(e,"blur",Ls)}function $s(e){e.hoverState===Ls&&qs(e,"normal",Is)}function Zs(e){e.selected=!0}function Js(e){e.selected=!1}function Qs(e,t,n){t(e,n)}function el(e,t,n){Qs(e,t,n),e.isGroup&&e.traverse((function(e){Qs(e,t,n)}))}function tl(e,t){switch(t){case"emphasis":e.hoverState=Rs;break;case"normal":e.hoverState=Is;break;case"blur":e.hoverState=Ls;break;case"select":e.selected=!0}}function nl(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(a=0;a<e.animators.length;a++){var u=e.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,t)}return o}function rl(e,t,n,r){var i=n&&Object(l["r"])(n,"select")>=0,o=!1;if(e instanceof Wa){var a=Ms(e),s=i&&a.selectFill||a.normalFill,u=i&&a.selectStroke||a.normalStroke;if(Ws(s)||Ws(u)){r=r||{};var c=r.style||{};"inherit"===c.fill?(o=!0,r=Object(l["m"])({},r),c=Object(l["m"])({},c),c.fill=s):!Ws(c.fill)&&Ws(s)?(o=!0,r=Object(l["m"])({},r),c=Object(l["m"])({},c),c.fill=Object(Bt["d"])(s)):!Ws(c.stroke)&&Ws(u)&&(o||(r=Object(l["m"])({},r),c=Object(l["m"])({},c)),c.stroke=Object(Bt["d"])(u)),r.style=c}}if(r&&null==r.z2){o||(r=Object(l["m"])({},r));var f=e.z2EmphasisLift;r.z2=e.z2+(null!=f?f:Bs)}return r}function il(e,t,n){if(n&&null==n.z2){n=Object(l["m"])({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:Fs)}return n}function ol(e,t,n){var r=Object(l["r"])(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:nl(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return null==a.opacity&&(n=Object(l["m"])({},n),a=Object(l["m"])({opacity:r?i:.1*o.opacity},a),n.style=a),n}function al(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return rl(this,e,t,n);if("blur"===e)return ol(this,e,n);if("select"===e)return il(this,e,n)}return n}function sl(e){e.stateProxy=al;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=al),n&&(n.stateProxy=al)}function ll(e,t){!vl(e,t)&&!e.__highByOuter&&el(e,Xs)}function ul(e,t){!vl(e,t)&&!e.__highByOuter&&el(e,Ys)}function cl(e,t){e.__highByOuter|=1<<(t||0),el(e,Xs)}function fl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&el(e,Ys)}function hl(e){el(e,Ks)}function dl(e){el(e,$s)}function pl(e){el(e,Zs)}function gl(e){el(e,Js)}function vl(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function yl(e){var t=e.getModel(),n=[],r=[];t.eachComponent((function(t,i){var o=Ds(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(e){$s(e)})),a&&n.push(i)),o.isBlured=!1})),Object(l["k"])(r,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function ml(e,t,n,r){var i=r.getModel();function o(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&dl(r)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var a=i.getSeriesByIndex(e),s=a.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries((function(e){var i=a===e,c=e.coordinateSystem;c&&c.master&&(c=c.master);var f=c&&s?c===s:i;if(!("series"===n&&!i||"coordinateSystem"===n&&!f||"series"===t&&i)){var h=r.getViewOfSeriesModel(e);if(h.group.traverse((function(e){e.__highByOuter&&i&&"self"===t||Ks(e)})),Object(l["u"])(t))o(e.getData(),t);else if(Object(l["A"])(t))for(var d=Object(l["F"])(t),p=0;p<d.length;p++)o(e.getData(d[p]),t[d[p]]);u.push(e),Ds(e).isBlured=!0}})),i.eachComponent((function(e,t){if("series"!==e){var n=r.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,i)}}))}}function bl(e,t,n){if(null!=e&&null!=t){var r=n.getModel().getComponent(e,t);if(r){Ds(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(e){Ks(e)}))}}}function _l(e,t,n){var r=e.seriesIndex,i=e.getData(t.dataType);if(i){var o=Mi(i,t);o=(Object(l["t"])(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a){var s=i.count(),u=0;while(!a&&u<s)a=i.getItemGraphicEl(u++)}if(a){var c=Cs(a);ml(r,c.focus,c.blurScope,n)}else{var f=e.get(["emphasis","focus"]),h=e.get(["emphasis","blurScope"]);null!=f&&ml(r,f,h,n)}}}function xl(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;var o=r.getModel().getComponent(e,t);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===Cs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function wl(e,t,n){var r=Cs(e),i=xl(r.componentMainType,r.componentIndex,r.componentHighDownName,n),o=i.dispatchers,a=i.focusSelf;o?(a&&bl(r.componentMainType,r.componentIndex,n),Object(l["k"])(o,(function(e){return ll(e,t)}))):(ml(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&bl(r.componentMainType,r.componentIndex,n),ll(e,t))}function Sl(e,t,n){yl(n);var r=Cs(e),i=xl(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?Object(l["k"])(i,(function(e){return ul(e,t)})):ul(e,t)}function kl(e,t,n){if(Bl(t)){var r=t.dataType,i=e.getData(r),o=Mi(i,t);Object(l["t"])(o)||(o=[o]),e[t.type===Gs?"toggleSelect":t.type===Hs?"select":"unselect"](o,r)}}function El(e){var t=e.getAllData();Object(l["k"])(t,(function(t){var n=t.data,r=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,r)?pl(t):gl(t)}))}))}function Ol(e){var t=[];return e.eachSeries((function(e){var n=e.getAllData();Object(l["k"])(n,(function(n){n.data;var r=n.type,i=e.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}}))})),t}function Cl(e,t,n){Ll(e,!0),el(e,sl),Pl(e,t,n)}function Al(e){Ll(e,!1)}function Tl(e,t,n,r){r?Al(e):Cl(e,t,n)}function Pl(e,t,n){var r=Cs(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var Ml=["emphasis","blur","select"],Dl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Il(e,t,n,r){n=n||"itemStyle";for(var i=0;i<Ml.length;i++){var o=Ml[i],a=t.getModel([o,n]),s=e.ensureState(o);s.style=r?r(a):a[Dl[n]]()}}function Ll(e,t){var n=!1===t,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function Rl(e){return!(!e||!e.__highDownDispatcher)}function jl(e,t,n){var r=Cs(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}function Nl(e){var t=Ps[e];return null==t&&Ts<=32&&(t=Ps[e]=Ts++),t}function Bl(e){var t=e.type;return t===Hs||t===Vs||t===Gs}function Fl(e){var t=e.type;return t===zs||t===Us}function zl(e){var t=Ms(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}var Ul=Di();function Hl(e,t,n,r,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s=t&&t.isAnimationEnabled(),u="update"===e;if(s){var c=void 0,f=void 0,h=void 0;r?(c=Object(l["P"])(r.duration,200),f=Object(l["P"])(r.easing,"cubicOut"),h=0):(c=t.getShallow(u?"animationDurationUpdate":"animationDuration"),f=t.getShallow(u?"animationEasingUpdate":"animationEasing"),h=t.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(c=o.duration),null!=o.easing&&(f=o.easing),null!=o.delay&&(h=o.delay)),Object(l["w"])(h)&&(h=h(n,i)),Object(l["w"])(c)&&(c=c(n));var d={duration:c||0,delay:h,easing:f};return d}return null}function Vl(e,t,n,r,i,o,a){var s,u=!1;Object(l["w"])(i)?(a=o,o=i,i=null):Object(l["A"])(i)&&(o=i.cb,a=i.during,u=i.isFrom,s=i.removeOpt,i=i.dataIndex);var c="leave"===e;c||t.stopAnimation("leave");var f=Hl(e,r,i,c?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(f&&f.duration>0){var h=f.duration,d=f.delay,p=f.easing,g={duration:h,delay:d||0,easing:p,done:o,force:!!o||!!a,setToFinal:!c,scope:e,during:a};u?t.animateFrom(n,g):t.animateTo(n,g)}else t.stopAnimation(),!u&&t.attr(n),a&&a(1),o&&o()}function Gl(e,t,n,r,i,o){Vl("update",e,t,n,r,i,o)}function Wl(e,t,n,r,i,o){Vl("enter",e,t,n,r,i,o)}function ql(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var n=e.animators[t];if("leave"===n.scope)return!0}return!1}function Xl(e,t,n,r,i,o){ql(e)||Vl("leave",e,t,n,r,i,o)}function Yl(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),Xl(e,{style:{opacity:0}},t,n,r)}function Kl(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||Yl(e,t,n,r)})):Yl(e,t,n,r)}function $l(e){Ul(e).oldStyle=e.style}function Zl(e){return Ul(e).oldStyle}var Jl={};function Ql(e,t){for(var n=0;n<js.length;n++){var r=js[n],i=t[r],o=e.ensureState(r);o.style=o.style||{},o.style.text=i}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function eu(e,t,n){var r,i=e.labelFetcher,o=e.labelDataIndex,a=e.labelDimIndex,s=t.normal;i&&(r=i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=Object(l["w"])(e.defaultText)?e.defaultText(o,e,n):e.defaultText);for(var u={normal:r},c=0;c<js.length;c++){var f=js[c],h=t[f];u[f]=Object(l["P"])(i?i.getFormattedLabel(o,f,null,a,h&&h.get("formatter")):null,r)}return u}function tu(e,t,n,r){n=n||Jl;for(var i=e instanceof Os,o=!1,a=0;a<Ns.length;a++){var s=t[Ns[a]];if(s&&s.getShallow("show")){o=!0;break}}var u=i?e:e.getTextContent();if(o){i||(u||(u=new Os,e.setTextContent(u)),e.stateProxy&&(u.stateProxy=e.stateProxy));var c=eu(n,t),f=t.normal,h=!!f.getShallow("show"),d=ru(f,r&&r.normal,n,!1,!i);d.text=c.normal,i||e.setTextConfig(iu(f,n,!1));for(a=0;a<js.length;a++){var p=js[a];s=t[p];if(s){var g=u.ensureState(p),v=!!Object(l["P"])(s.getShallow("show"),h);if(v!==h&&(g.ignore=!v),g.style=ru(s,r&&r[p],n,!0,!i),g.style.text=c[p],!i){var y=e.ensureState(p);y.textConfig=iu(s,n,!0)}}}u.silent=!!f.getShallow("silent"),null!=u.style.x&&(d.x=u.style.x),null!=u.style.y&&(d.y=u.style.y),u.ignore=!h,u.useStyle(d),u.dirty(),n.enableTextSetter&&(hu(u).setLabelText=function(e){var r=eu(n,t,e);Ql(u,r)})}else u&&(u.ignore=!0);e.dirty()}function nu(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<js.length;r++){var i=js[r];n[i]=e.getModel([i,t])}return n}function ru(e,t,n,r,i){var o={};return ou(o,e,n,r,i),t&&Object(l["m"])(o,t),o}function iu(e,t,n){t=t||{};var r,i={},o=e.getShallow("rotate"),a=Object(l["P"])(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return r=e.getShallow("position")||(n?null:"inside"),"outside"===r&&(r=t.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=s&&(i.offset=s),null!=o&&(o*=Math.PI/180,i.rotation=o),null!=a&&(i.distance=a),i.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",i}function ou(e,t,n,r,i){n=n||Jl;var o,a=t.ecModel,s=a&&a.option.textStyle,l=au(t);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);cu(o[u]={},c,s,n,r,i,!1,!0)}o&&(e.rich=o);var f=t.get("overflow");f&&(e.overflow=f);var h=t.get("minMargin");null!=h&&(e.margin=h),cu(e,t,s,n,r,i,!0,!1)}function au(e){var t;while(e&&e!==e.ecModel){var n=(e.option||Jl).rich;if(n){t=t||{};for(var r=Object(l["F"])(n),i=0;i<r.length;i++){var o=r[i];t[o]=1}}e=e.parentModel}return t}var su=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],lu=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],uu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function cu(e,t,n,r,i,o,a,s){n=!i&&n||Jl;var u=r&&r.inheritColor,c=t.getShallow("color"),f=t.getShallow("textBorderColor"),h=Object(l["P"])(t.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=u||null),"inherit"!==f&&"auto"!==f||(f=u||null),o||(c=c||n.color,f=f||n.textBorderColor),null!=c&&(e.fill=c),null!=f&&(e.stroke=f);var d=Object(l["P"])(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(e.lineWidth=d);var p=Object(l["P"])(t.getShallow("textBorderType"),n.textBorderType);null!=p&&(e.lineDash=p);var g=Object(l["P"])(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=g&&(e.lineDashOffset=g),i||null!=h||s||(h=r&&r.defaultOpacity),null!=h&&(e.opacity=h),i||o||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var v=0;v<su.length;v++){var y=su[v],m=Object(l["P"])(t.getShallow(y),n[y]);null!=m&&(e[y]=m)}for(v=0;v<lu.length;v++){y=lu[v],m=t.getShallow(y);null!=m&&(e[y]=m)}if(null==e.verticalAlign){var b=t.getShallow("baseline");null!=b&&(e.verticalAlign=b)}if(!a||!r.disableBox){for(v=0;v<uu.length;v++){y=uu[v],m=t.getShallow(y);null!=m&&(e[y]=m)}var _=t.getShallow("borderType");null!=_&&(e.borderDash=_),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!u||(e.backgroundColor=u),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!u||(e.borderColor=u)}}function fu(e,t){var n=t&&t.getModel("textStyle");return Object(l["T"])([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var hu=Di();function du(e,t,n,r){if(e){var i=hu(e);i.prevValue=i.value,i.value=n;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}function pu(e,t,n,r,i){var o=hu(e);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=Object(l["P"])(o.interpolatedValue,o.prevValue),u=o.value;e.percent=0,(null==o.prevValue?Wl:Gl)(e,{percent:1},r,t,null,c)}function c(r){var l=Vi(n,o.precision,s,u,r);o.interpolatedValue=1===r?null:l;var c=eu({labelDataIndex:t,labelFetcher:i,defaultText:a?a(l):l+""},o.statesModels,l);Ql(e,c)}}var gu=["textStyle","color"],vu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],yu=new Os,mu=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(gu):null)},e.prototype.getFont=function(){return fu({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<vu.length;n++)t[vu[n]]=this.getShallow(vu[n]);return yu.useStyle(t),yu.update(),yu.getBoundingRect()},e}(),bu=mu,_u=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],xu=io(_u),wu=function(){function e(){}return e.prototype.getLineStyle=function(e){return xu(this,e)},e}(),Su=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],ku=io(Su),Eu=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return ku(this,e,t)},e}(),Ou=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},e.prototype.mergeOption=function(e,t){Object(l["I"])(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var n=this.option,r=null==n?n:n[e];if(null==r&&!t){var i=this.parentModel;i&&(r=i.getShallow(e))}return r},e.prototype.getModel=function(t,n){var r=null!=t,i=r?this.parsePath(t):null,o=r?this._doGet(i):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(o,n,this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){var e=this.constructor;return new e(Object(l["d"])(this.option))},e.prototype.parsePath=function(e){return"string"===typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!s["a"].node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var n=this.option;if(!e)return n;for(var r=0;r<e.length;r++)if(e[r]&&(n=n&&"object"===typeof n?n[e[r]]:null,null==n))break;return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();$i(Ou),eo(Ou),Object(l["K"])(Ou,wu),Object(l["K"])(Ou,Eu),Object(l["K"])(Ou,so),Object(l["K"])(Ou,bu);var Cu=Ou,Au=Math.round(10*Math.random());function Tu(e){return[e||"",Au++].join("_")}function Pu(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Xi(e);t[r.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var o=Xi(n).main;e.hasSubTypes(n)&&t[o]&&(i=t[o](r))}return i}}function Mu(e,t){function n(e){var n={},o=[];return l["k"](e,(function(a){var s=r(n,a),u=s.originalDeps=t(a),c=i(u,e);s.entryCount=c.length,0===s.entryCount&&o.push(a),l["k"](c,(function(e){l["r"](s.predecessor,e)<0&&s.predecessor.push(e);var t=r(n,e);l["r"](t.successor,e)<0&&t.successor.push(a)}))})),{graph:n,noEntryList:o}}function r(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function i(e,t){var n=[];return l["k"](e,(function(e){l["r"](t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,r,i){if(e.length){var o=n(t),a=o.graph,s=o.noEntryList,u={};l["k"](e,(function(e){u[e]=!0}));while(s.length){var c=s.pop(),f=a[c],h=!!u[c];h&&(r.call(i,c,f.originalDeps.slice()),delete u[c]),l["k"](f.successor,h?p:d)}l["k"](u,(function(){var e="";throw new Error(e)}))}function d(e){a[e].entryCount--,0===a[e].entryCount&&s.push(e)}function p(e){u[e]=!0,d(e)}}}function Du(e,t){return l["I"](l["I"]({},e,!0),t,!0)}var Iu={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},Lu={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}},Ru="ZH",ju="EN",Nu=ju,Bu={},Fu={},zu=s["a"].domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Nu).toUpperCase();return e.indexOf(Ru)>-1?Ru:Nu}():Nu;function Uu(e,t){e=e.toUpperCase(),Fu[e]=new Cu(t),Bu[e]=t}function Hu(e){if(Object(l["C"])(e)){var t=Bu[e.toUpperCase()]||{};return e===Ru||e===ju?Object(l["d"])(t):Object(l["I"])(Object(l["d"])(t),Object(l["d"])(Bu[Nu]),!1)}return Object(l["I"])(Object(l["d"])(e),Object(l["d"])(Bu[Nu]),!1)}function Vu(e){return Fu[e]}function Gu(){return Fu[Nu]}Uu(ju,Iu),Uu(Ru,Lu);var Wu=1e3,qu=60*Wu,Xu=60*qu,Yu=24*Xu,Ku=365*Yu,$u={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Zu="{yyyy}-{MM}-{dd}",Ju={year:"{yyyy}",month:"{yyyy}-{MM}",day:Zu,hour:Zu+" "+$u.hour,minute:Zu+" "+$u.minute,second:Zu+" "+$u.second,millisecond:$u.none},Qu=["year","month","day","hour","minute","second","millisecond"],ec=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function tc(e,t){return e+="","0000".substr(0,t-e.length)+e}function nc(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function rc(e){return e===nc(e)}function ic(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function oc(e,t,n,r){var i=$r(e),o=i[uc(n)](),a=i[cc(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[fc(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[hc(n)](),f=(c-1)%12+1,h=i[dc(n)](),d=i[pc(n)](),p=i[gc(n)](),g=c>=12?"pm":"am",v=g.toUpperCase(),y=r instanceof Cu?r:Vu(r||zu)||Gu(),m=y.getModel("time"),b=m.get("month"),_=m.get("monthAbbr"),x=m.get("dayOfWeek"),w=m.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,g+"").replace(/{A}/g,v+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,tc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,b[a-1]).replace(/{MMM}/g,_[a-1]).replace(/{MM}/g,tc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,tc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,w[u]).replace(/{e}/g,u+"").replace(/{HH}/g,tc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,tc(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,tc(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,tc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,tc(p,3)).replace(/{S}/g,p+"")}function ac(e,t,n,r,i){var o=null;if(l["C"](n))o=n;else if(l["w"](n))o=n(e.value,t,{level:e.level});else{var a=l["m"]({},$u);if(e.level>0)for(var s=0;s<Qu.length;++s)a[Qu[s]]="{primary|"+a[Qu[s]]+"}";var u=n?!1===n.inherit?n:l["i"](n,a):a,c=sc(e.value,i);if(u[c])o=u[c];else if(u.inherit){var f=ec.indexOf(c);for(s=f-1;s>=0;--s)if(u[c]){o=u[c];break}o=o||a.none}if(l["t"](o)){var h=null==e.level?0:e.level>=0?e.level:o.length+e.level;h=Math.min(h,o.length-1),o=o[h]}}return oc(new Date(e.value),o,i,r)}function sc(e,t){var n=$r(e),r=n[cc(t)]()+1,i=n[fc(t)](),o=n[hc(t)](),a=n[dc(t)](),s=n[pc(t)](),l=n[gc(t)](),u=0===l,c=u&&0===s,f=c&&0===a,h=f&&0===o,d=h&&1===i,p=d&&1===r;return p?"year":d?"month":h?"day":f?"hour":c?"minute":u?"second":"millisecond"}function lc(e,t,n){var r=l["z"](e)?$r(e):e;switch(t=t||sc(e,n),t){case"year":return r[uc(n)]();case"half-year":return r[cc(n)]()>=6?1:0;case"quarter":return Math.floor((r[cc(n)]()+1)/4);case"month":return r[cc(n)]();case"day":return r[fc(n)]();case"half-day":return r[hc(n)]()/24;case"hour":return r[hc(n)]();case"minute":return r[dc(n)]();case"second":return r[pc(n)]();case"millisecond":return r[gc(n)]()}}function uc(e){return e?"getUTCFullYear":"getFullYear"}function cc(e){return e?"getUTCMonth":"getMonth"}function fc(e){return e?"getUTCDate":"getDate"}function hc(e){return e?"getUTCHours":"getHours"}function dc(e){return e?"getUTCMinutes":"getMinutes"}function pc(e){return e?"getUTCSeconds":"getSeconds"}function gc(e){return e?"getUTCMilliseconds":"getMilliseconds"}function vc(e){return e?"setUTCFullYear":"setFullYear"}function yc(e){return e?"setUTCMonth":"setMonth"}function mc(e){return e?"setUTCDate":"setDate"}function bc(e){return e?"setUTCHours":"setHours"}function _c(e){return e?"setUTCMinutes":"setMinutes"}function xc(e){return e?"setUTCSeconds":"setSeconds"}function wc(e){return e?"setUTCMilliseconds":"setMilliseconds"}function Sc(e){if(!ri(e))return l["C"](e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function kc(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Ec=l["M"];function Oc(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(e){return e&&l["T"](e)?e:"-"}function o(e){return!(null==e||isNaN(e)||!isFinite(e))}var a="time"===t,s=e instanceof Date;if(a||s){var u=a?$r(e):e;if(!isNaN(+u))return oc(u,r,n);if(s)return"-"}if("ordinal"===t)return l["D"](e)?i(e):l["z"](e)&&o(e)?e+"":"-";var c=ni(e);return o(c)?Sc(c):l["D"](e)?i(e):"boolean"===typeof e?e+"":"-"}var Cc=["a","b","c","d","e","f","g"],Ac=function(e,t){return"{"+e+(null==t?"":t)+"}"};function Tc(e,t,n){l["t"](t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=Cc[o];e=e.replace(Ac(a),Ac(a,0))}for(var s=0;s<r;s++)for(var u=0;u<i.length;u++){var c=t[s][i[u]];e=e.replace(Ac(Cc[u],s),n?W(c):c)}return e}function Pc(e,t,n){return l["k"](t,(function(t,r){e=e.replace("{"+r+"}",n?W(t):t)})),e}function Mc(e,t){var n=l["C"](e)?{color:e,extraCssText:t}:e||{},r=n.color,i=n.type;t=n.extraCssText;var o=n.renderMode||"html";if(!r)return"";if("html"===o)return"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+W(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+W(r)+";"+(t||"")+'"></span>';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Dc(e,t){return t=t||"transparent",l["C"](e)?e:l["A"](e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Ic(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var Lc=l["k"],Rc=["left","right","top","bottom","width","height"],jc=[["width","left","right"],["height","top","bottom"]];function Nc(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,f,h=l.getBoundingRect(),d=t.childAt(u+1),p=d&&d.getBoundingRect();if("horizontal"===e){var g=h.width+(p?-p.x+h.x:0);c=o+g,c>r||l.newline?(o=0,c=g,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var v=h.height+(p?-p.y+h.y:0);f=a+v,f>i||l.newline?(o+=s+n,a=0,f=v,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=f+n)}))}var Bc=Nc;l["h"](Nc,"vertical"),l["h"](Nc,"horizontal");function Fc(e,t,n){var r=t.width,i=t.height,o=Br(e.left,r),a=Br(e.top,i),s=Br(e.right,r),l=Br(e.bottom,i);return(isNaN(o)||isNaN(parseFloat(e.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=r),(isNaN(a)||isNaN(parseFloat(e.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=i),n=Ec(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function zc(e,t,n){n=Ec(n||0);var r=t.width,i=t.height,o=Br(e.left,r),a=Br(e.top,i),s=Br(e.right,r),l=Br(e.bottom,i),u=Br(e.width,r),c=Br(e.height,i),f=n[2]+n[0],h=n[1]+n[3],d=e.aspect;switch(isNaN(u)&&(u=r-s-h-o),isNaN(c)&&(c=i-l-f-a),null!=d&&(isNaN(u)&&isNaN(c)&&(d>r/i?u=.8*r:c=.8*i),isNaN(u)&&(u=d*c),isNaN(c)&&(c=u/d)),isNaN(o)&&(o=r-s-u-h),isNaN(a)&&(a=i-l-c-f),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-h;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-f;break}o=o||0,a=a||0,isNaN(u)&&(u=r-h-o-(s||0)),isNaN(c)&&(c=i-f-a-(l||0));var p=new Ae(o+n[3],a+n[0],u,c);return p.margin=n,p}function Uc(e,t,n,r,i,o){var a,s=!i||!i.hv||i.hv[0],u=!i||!i.hv||i.hv[1],c=i&&i.boundingMode||"all";if(o=o||e,o.x=e.x,o.y=e.y,!s&&!u)return!1;if("raw"===c)a="group"===e.type?new Ae(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(a=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();a=a.clone(),a.applyTransform(f)}var h=zc(l["i"]({width:a.width,height:a.height},t),n,r),d=s?h.x-a.x:0,p=u?h.y-a.y:0;return"raw"===c?(o.x=d,o.y=p):(o.x+=d,o.y+=p),o===e&&e.markRedraw(),!0}function Hc(e,t){return null!=e[jc[t][0]]||null!=e[jc[t][1]]&&null!=e[jc[t][2]]}function Vc(e){var t=e.layoutMode||e.constructor.layoutMode;return l["A"](t)?t:t?{type:t}:null}function Gc(e,t,n){var r=n&&n.ignoreSize;!l["t"](r)&&(r=[r,r]);var i=a(jc[0],0),o=a(jc[1],1);function a(n,i){var o={},a=0,l={},c=0,f=2;if(Lc(n,(function(t){l[t]=e[t]})),Lc(n,(function(e){s(t,e)&&(o[e]=l[e]=t[e]),u(o,e)&&a++,u(l,e)&&c++})),r[i])return u(t,n[1])?l[n[2]]=null:u(t,n[2])&&(l[n[1]]=null),l;if(c!==f&&a){if(a>=f)return o;for(var h=0;h<n.length;h++){var d=n[h];if(!s(o,d)&&s(e,d)){o[d]=e[d];break}}return o}return l}function s(e,t){return e.hasOwnProperty(t)}function u(e,t){return null!=e[t]&&"auto"!==e[t]}function c(e,t,n){Lc(e,(function(e){t[e]=n[e]}))}c(jc[0],e,i),c(jc[1],e,o)}function Wc(e){return qc({},e)}function qc(e,t){return t&&e&&Lc(Rc,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var Xc=Di(),Yc=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=Tu("ec_cpt_model"),i}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Vc(this),r=n?Wc(e):{},i=t.getTheme();l["I"](e,i.get(this.mainType)),l["I"](e,this.getDefaultOption()),n&&Gc(e,r,n)},t.prototype.mergeOption=function(e,t){l["I"](this.option,e,!0);var n=Vc(this);n&&Gc(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Ki(e))return e.defaultOption;var t=Xc(this);if(!t.defaultOption){var n=[],r=e;while(r){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var o={},a=n.length-1;a>=0;a--)o=l["I"](o,n[a],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return Bi(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Cu);function Kc(e){var t=[];return l["k"](Yc.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=l["H"](t,(function(e){return Xi(e).main})),"dataset"!==e&&l["r"](t,"dataset")<=0&&t.unshift("dataset"),t}Ji(Yc,Cu),ro(Yc),Pu(Yc),Mu(Yc,Kc);var $c=Yc,Zc="";"undefined"!==typeof navigator&&(Zc=navigator.platform||"");var Jc="rgba(0, 0, 0, 0.2)",Qc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Jc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Jc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Jc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Jc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Jc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Jc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},ef=Object(l["f"])(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),tf="original",nf="arrayRows",rf="objectRows",of="keyedColumns",af="typedArray",sf="unknown",lf="column",uf="row",cf={Must:1,Might:2,Not:3},ff=Di();function hf(e){ff(e).datasetMap=Object(l["f"])()}function df(e,t,n){var r={},i=gf(t);if(!i||!e)return r;var o,a,s=[],u=[],c=t.ecModel,f=ff(c).datasetMap,h=i.uid+"_"+n.seriesLayoutBy;e=e.slice(),Object(l["k"])(e,(function(t,n){var i=Object(l["A"])(t)?t:e[n]={name:t};"ordinal"===i.type&&null==o&&(o=n,a=g(i)),r[i.name]=[]}));var d=f.get(h)||f.set(h,{categoryWayDim:a,valueWayDim:0});function p(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function g(e){var t=e.dimsDef;return t?t.length:1}return Object(l["k"])(e,(function(e,t){var n=e.name,i=g(e);if(null==o){var a=d.valueWayDim;p(r[n],a,i),p(u,a,i),d.valueWayDim+=i}else if(o===t)p(r[n],0,i),p(s,0,i);else{a=d.categoryWayDim;p(r[n],a,i),p(u,a,i),d.categoryWayDim+=i}})),s.length&&(r.itemName=s),u.length&&(r.seriesName=u),r}function pf(e,t,n){var r={},i=gf(e);if(!i)return r;var o,a=t.sourceFormat,s=t.dimensionsDefine;a!==rf&&a!==of||Object(l["k"])(s,(function(e,t){"name"===(Object(l["A"])(e)?e.name:e)&&(o=t)}));var u=function(){for(var e={},r={},i=[],l=0,u=Math.min(5,n);l<u;l++){var c=mf(t.data,a,t.seriesLayoutBy,s,t.startIndex,l);i.push(c);var f=c===cf.Not;if(f&&null==e.v&&l!==o&&(e.v=l),(null==e.n||e.n===e.v||!f&&i[e.n]===cf.Not)&&(e.n=l),h(e)&&i[e.n]!==cf.Not)return e;f||(c===cf.Might&&null==r.v&&l!==o&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(r)?r:null}();if(u){r.value=[u.v];var c=null!=o?o:u.n;r.itemName=[c],r.seriesName=[c]}return r}function gf(e){var t=e.get("data",!0);if(!t)return Bi(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},ji).models[0]}function vf(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?Bi(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},ji).models:[]}function yf(e,t){return mf(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function mf(e,t,n,r,i,o){var a,s,u,c=5;if(Object(l["E"])(e))return cf.Not;if(r){var f=r[o];Object(l["A"])(f)?(s=f.name,u=f.type):Object(l["C"])(f)&&(s=f)}if(null!=u)return"ordinal"===u?cf.Must:cf.Not;if(t===nf){var h=e;if(n===uf){for(var d=h[o],p=0;p<(d||[]).length&&p<c;p++)if(null!=(a=x(d[i+p])))return a}else for(p=0;p<h.length&&p<c;p++){var g=h[i+p];if(g&&null!=(a=x(g[o])))return a}}else if(t===rf){var v=e;if(!s)return cf.Not;for(p=0;p<v.length&&p<c;p++){var y=v[p];if(y&&null!=(a=x(y[s])))return a}}else if(t===of){var m=e;if(!s)return cf.Not;d=m[s];if(!d||Object(l["E"])(d))return cf.Not;for(p=0;p<d.length&&p<c;p++)if(null!=(a=x(d[p])))return a}else if(t===tf){var b=e;for(p=0;p<b.length&&p<c;p++){y=b[p];var _=di(y);if(!Object(l["t"])(_))return cf.Not;if(null!=(a=x(_[o])))return a}}function x(e){var t=Object(l["C"])(e);return null!=e&&Number.isFinite(Number(e))&&""!==e?t?cf.Might:cf.Not:t&&"-"!==e?cf.Must:void 0}return cf.Not}var bf=Object(l["f"])();function _f(e,t){Object(l["b"])(null==bf.get(e)&&t),bf.set(e,t)}function xf(e,t,n){var r=bf.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}var wf=Di(),Sf=Di(),kf=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var r=ci(this.get("color",!0)),i=this.get("colorLayer",!0);return Cf(this,wf,r,i,e,t,n)},e.prototype.clearColorPalette=function(){Af(this,wf)},e}();function Ef(e,t,n,r){var i=ci(e.get(["aria","decal","decals"]));return Cf(e,Sf,i,null,t,n,r)}function Of(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}function Cf(e,t,n,r,i,o,a){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?Of(r,a):n;if(c=c||n,c&&c.length){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}function Af(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Tf,Pf,Mf;"undefined"!==typeof console&&console.warn&&console.log;function Df(e){0}function If(e){throw new Error(e)}var Lf="\0_ec_inner",Rf=1;var jf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(e,t,n,r,i,o){r=r||{},this.option=null,this._theme=new Cu(r),this._locale=new Cu(i),this._optionManager=o},t.prototype.setOption=function(e,t,n){var r=Uf(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,Uf(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var i=r.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(i,t)):Mf(this,i),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,t))}if(!e||"recreate"===e||"media"===e){var a=r.getMediaOption(this);a.length&&Object(l["k"])(a,(function(e){n=!0,this._mergeOption(e,t)}),this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,o=[],a=Object(l["f"])(),s=t&&t.replaceMergeMainTypeMap;function u(t){var o=xf(this,t,ci(e[t])),a=r.get(t),u=a?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",c=gi(a,o,u);Ai(c,t,$c),n[t]=null,r.set(t,null),i.set(t,0);var f,h=[],d=[],p=0;Object(l["k"])(c,(function(e,n){var r=e.existing,i=e.newOption;if(i){var o="series"===t,a=$c.getClass(t,e.keyInfo.subType,!o);if(!a)return;if("tooltip"===t){if(f)return void 0;f=!0}if(r&&r.constructor===a)r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=Object(l["m"])({componentIndex:n},e.keyInfo);r=new a(i,this,this,s),Object(l["m"])(r,s),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(h.push(r.option),d.push(r),p++):(h.push(void 0),d.push(void 0))}),this),n[t]=h,r.set(t,d),i.set(t,p),"series"===t&&Tf(this)}hf(this),Object(l["k"])(e,(function(e,t){null!=e&&($c.hasClass(t)?t&&(o.push(t),a.set(t,!0)):n[t]=null==n[t]?Object(l["d"])(e):Object(l["I"])(n[t],e,!0))})),s&&s.each((function(e,t){$c.hasClass(t)&&!a.get(t)&&(o.push(t),a.set(t,!0))})),$c.topologicalTravel(o,$c.getAllClassMainTypes(),u,this),this._seriesIndices||Tf(this)},t.prototype.getOption=function(){var e=Object(l["d"])(this.option);return Object(l["k"])(e,(function(t,n){if($c.hasClass(n)){for(var r=ci(t),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!Oi(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}})),delete e[Lf],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,o=e.name,a=this._componentsMap.get(t);return a&&a.length?(null!=r?(n=[],Object(l["k"])(ci(r),(function(e){a[e]&&n.push(a[e])}))):n=null!=i?Ff("id",i,a):null!=o?Ff("name",o,a):Object(l["n"])(a,(function(e){return!!e})),zf(n,e)):[]},t.prototype.findComponents=function(e){var t=e.query,n=e.mainType,r=o(t),i=r?this.queryComponents(r):Object(l["n"])(this._componentsMap.get(n),(function(e){return!!e}));return a(zf(i,e));function o(e){var t=n+"Index",r=n+"Id",i=n+"Name";return!e||null==e[t]&&null==e[r]&&null==e[i]?null:{mainType:n,index:e[t],id:e[r],name:e[i]}}function a(t){return e.filter?Object(l["n"])(t,e.filter):t}},t.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if(Object(l["w"])(e)){var i=t,o=e;r.each((function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&o.call(i,t,r,r.componentIndex)}}))}else for(var a=Object(l["C"])(e)?r.get(e):Object(l["A"])(e)?this.findComponents(e):null,s=0;a&&s<a.length;s++){var u=a[s];u&&t.call(n,u,u.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=ki(e,null);return Object(l["n"])(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Object(l["n"])(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return Object(l["n"])(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){Pf(this),Object(l["k"])(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},t.prototype.eachRawSeries=function(e,t){Object(l["k"])(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){Pf(this),Object(l["k"])(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return Object(l["k"])(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return Pf(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){Pf(this);var n=[];Object(l["k"])(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];e.call(t,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=Object(l["f"])(n)},t.prototype.restoreData=function(e){Tf(this);var t=this._componentsMap,n=[];t.each((function(e,t){$c.hasClass(t)&&n.push(t)})),$c.topologicalTravel(n,$c.getAllClassMainTypes(),(function(n){Object(l["k"])(t.get(n),(function(t){!t||"series"===n&&Nf(t,e)||t.restoreData()}))}))},t.internalField=function(){Tf=function(e){var t=e._seriesIndices=[];Object(l["k"])(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=Object(l["f"])(t)},Pf=function(e){0},Mf=function(e,t){e.option={},e.option[Lf]=Rf,e._componentsMap=Object(l["f"])({series:[]}),e._componentsCount=Object(l["f"])();var n=t.aria;Object(l["A"])(n)&&null==n.enabled&&(n.enabled=!0),Bf(t,e._theme.option),Object(l["I"])(t,Qc,!1),e._mergeOption(t,null)}}(),t}(Cu);function Nf(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}function Bf(e,t){var n=e.color&&!e.colorLayer;Object(l["k"])(t,(function(t,r){"colorLayer"===r&&n||$c.hasClass(r)||("object"===typeof t?e[r]=e[r]?Object(l["I"])(e[r],t,!1):Object(l["d"])(t):null==e[r]&&(e[r]=t))}))}function Ff(e,t,n){if(Object(l["t"])(t)){var r=Object(l["f"])();return Object(l["k"])(t,(function(e){if(null!=e){var t=ki(e,null);null!=t&&r.set(e,!0)}})),Object(l["n"])(n,(function(t){return t&&r.get(t[e])}))}var i=ki(t,null);return Object(l["n"])(n,(function(t){return t&&null!=i&&t[e]===i}))}function zf(e,t){return t.hasOwnProperty("subType")?Object(l["n"])(e,(function(e){return e&&e.subType===t.subType})):e}function Uf(e){var t=Object(l["f"])();return e&&Object(l["k"])(ci(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}Object(l["K"])(jf,kf);var Hf=jf,Vf=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Gf=function(){function e(e){l["k"](Vf,(function(t){this[t]=l["c"](e[t],e)}),this)}return e}(),Wf=Gf,qf={},Xf=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];l["k"](qf,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){l["k"](this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){qf[e]=t},e.get=function(e){return qf[e]},e}(),Yf=Xf,Kf=/^(min|max)?(.+)$/,$f=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&(Object(l["k"])(ci(e.series),(function(e){e&&e.data&&Object(l["E"])(e.data)&&Object(l["R"])(e.data)})),Object(l["k"])(ci(e.dataset),(function(e){e&&e.source&&Object(l["E"])(e.source)&&Object(l["R"])(e.source)}))),e=Object(l["d"])(e);var r=this._optionBackup,i=Zf(e,t,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Object(l["d"])(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=Object(l["d"])(n[r.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!r.length&&!i)return a;for(var s=0,u=r.length;s<u;s++)Jf(r[s].query,t,n)&&o.push(s);return!o.length&&i&&(o=[-1]),o.length&&!eh(o,this._currentMediaIndices)&&(a=Object(l["H"])(o,(function(e){return Object(l["d"])(-1===e?i.option:r[e].option)}))),this._currentMediaIndices=o,a},e}();function Zf(e,t,n){var r,i,o=[],a=e.baseOption,s=e.timeline,u=e.options,c=e.media,f=!!e.media,h=!!(u||s||a&&a.timeline);function d(e){Object(l["k"])(t,(function(t){t(e,n)}))}return a?(i=a,i.timeline||(i.timeline=s)):((h||f)&&(e.options=e.media=null),i=e),f&&Object(l["t"])(c)&&Object(l["k"])(c,(function(e){e&&e.option&&(e.query?o.push(e):r||(r=e))})),d(i),Object(l["k"])(u,(function(e){return d(e)})),Object(l["k"])(o,(function(e){return d(e.option)})),{baseOption:i,timelineOptions:u||[],mediaDefault:r,mediaList:o}}function Jf(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return Object(l["k"])(e,(function(e,t){var n=t.match(Kf);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();Qf(r[a],e,o)||(i=!1)}})),i}function Qf(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function eh(e,t){return e.join(",")===t.join(",")}var th=$f,nh=l["k"],rh=l["A"],ih=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function oh(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=ih.length;n<r;n++){var i=ih[n],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?l["I"](e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?l["I"](e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function ah(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,l["i"](e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function sh(e){ah(e,"itemStyle"),ah(e,"lineStyle"),ah(e,"areaStyle"),ah(e,"label"),ah(e,"labelLine"),ah(e,"upperLabel"),ah(e,"edgeLabel")}function lh(e,t){var n=rh(e)&&e[t],r=rh(n)&&n.textStyle;if(r){0;for(var i=0,o=hi.length;i<o;i++){var a=hi[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}}function uh(e){e&&(sh(e),lh(e,"label"),e.emphasis&&lh(e.emphasis,"label"))}function ch(e){if(rh(e)){oh(e),sh(e),lh(e,"label"),lh(e,"upperLabel"),lh(e,"edgeLabel"),e.emphasis&&(lh(e.emphasis,"label"),lh(e.emphasis,"upperLabel"),lh(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(oh(t),uh(t));var n=e.markLine;n&&(oh(n),uh(n));var r=e.markArea;r&&uh(r);var i=e.data;if("graph"===e.type){i=i||e.nodes;var o=e.links||e.edges;if(o&&!l["E"](o))for(var a=0;a<o.length;a++)uh(o[a]);l["k"](e.categories,(function(e){sh(e)}))}if(i&&!l["E"](i))for(a=0;a<i.length;a++)uh(i[a]);if(t=e.markPoint,t&&t.data){var s=t.data;for(a=0;a<s.length;a++)uh(s[a])}if(n=e.markLine,n&&n.data){var u=n.data;for(a=0;a<u.length;a++)l["t"](u[a])?(uh(u[a][0]),uh(u[a][1])):uh(u[a])}"gauge"===e.type?(lh(e,"axisLabel"),lh(e,"title"),lh(e,"detail")):"treemap"===e.type?(ah(e.breadcrumb,"itemStyle"),l["k"](e.levels,(function(e){sh(e)}))):"tree"===e.type&&sh(e.leaves)}}function fh(e){return l["t"](e)?e:e?[e]:[]}function hh(e){return(l["t"](e)?e[0]:e)||{}}function dh(e,t){nh(fh(e.series),(function(e){rh(e)&&ch(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),nh(n,(function(t){nh(fh(e[t]),(function(e){e&&(lh(e,"axisLabel"),lh(e.axisPointer,"label"))}))})),nh(fh(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;lh(t,"axisLabel"),lh(t&&t.axisPointer,"label")})),nh(fh(e.calendar),(function(e){ah(e,"itemStyle"),lh(e,"dayLabel"),lh(e,"monthLabel"),lh(e,"yearLabel")})),nh(fh(e.radar),(function(e){lh(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),nh(fh(e.geo),(function(e){rh(e)&&(uh(e),nh(fh(e.regions),(function(e){uh(e)})))})),nh(fh(e.timeline),(function(e){uh(e),ah(e,"label"),ah(e,"itemStyle"),ah(e,"controlStyle",!0);var t=e.data;l["t"](t)&&l["k"](t,(function(e){l["A"](e)&&(ah(e,"label"),ah(e,"itemStyle"))}))})),nh(fh(e.toolbox),(function(e){ah(e,"iconStyle"),nh(e.feature,(function(e){ah(e,"iconStyle")}))})),lh(hh(e.axisPointer),"label"),lh(hh(e.tooltip).axisPointer,"label")}function ph(e,t){for(var n=t.split(","),r=e,i=0;i<n.length;i++)if(r=r&&r[n[i]],null==r)break;return r}function gh(e,t,n,r){for(var i,o=t.split(","),a=e,s=0;s<o.length-1;s++)i=o[s],null==a[i]&&(a[i]={}),a=a[i];(r||null==a[o[s]])&&(a[o[s]]=n)}function vh(e){e&&Object(l["k"])(yh,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var yh=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],mh=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],bh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function _h(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<bh.length;n++){var r=bh[n][1],i=bh[n][0];null!=t[r]&&(t[i]=t[r])}}function xh(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function wh(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function Sh(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}function kh(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&kh(e[n].children,t)}function Eh(e,t){dh(e,t),e.series=ci(e.series),Object(l["k"])(e.series,(function(e){if(Object(l["A"])(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){null!=e.clockWise&&(e.clockwise=e.clockWise),xh(e.label);var n=e.data;if(n&&!Object(l["E"])(n))for(var r=0;r<n.length;r++)xh(n[r]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var i=ph(e,"pointer.color");null!=i&&gh(e,"itemStyle.color",i)}else if("bar"===t){_h(e),_h(e.backgroundStyle),_h(e.emphasis);n=e.data;if(n&&!Object(l["E"])(n))for(r=0;r<n.length;r++)"object"===typeof n[r]&&(_h(n[r]),_h(n[r]&&n[r].emphasis))}else if("sunburst"===t){var o=e.highlightPolicy;o&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=o)),wh(e),kh(e.data,wh)}else"graph"===t||"sankey"===t?Sh(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Object(l["i"])(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),vh(e)}})),e.dataRange&&(e.visualMap=e.dataRange),Object(l["k"])(mh,(function(t){var n=e[t];n&&(Object(l["t"])(n)||(n=[n]),Object(l["k"])(n,(function(e){vh(e)})))}))}function Oh(e){var t=Object(l["f"])();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(Ch)}function Ch(e){Object(l["k"])(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var f,h,d=a.get(t.stackedDimension,c);if(isNaN(d))return i;s?h=a.getRawIndex(c):f=a.get(t.stackedByDimension,c);for(var p=NaN,g=n-1;g>=0;g--){var v=e[g];if(s||(h=v.data.rawIndexOf(v.stackedByDimension,f)),h>=0){var y=v.data.getByRawIndex(v.stackResultDimension,h);if("all"===l||"positive"===l&&y>0||"negative"===l&&y<0||"samesign"===l&&d>=0&&y>0||"samesign"===l&&d<=0&&y<0){d=Wr(d,y),p=y;break}}}return r[0]=d,r[1]=p,r}))}))}var Ah,Th,Ph,Mh,Dh,Ih=function(){function e(e){this.data=e.data||(e.sourceFormat===of?{}:[]),this.sourceFormat=e.sourceFormat||sf,this.seriesLayoutBy=e.seriesLayoutBy||lf,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&yf(this,n)===cf.Must&&(r.type="ordinal")}}return e}();function Lh(e){return e instanceof Ih}function Rh(e,t,n){n=n||Bh(e);var r=t.seriesLayoutBy,i=Fh(e,n,r,t.sourceHeader,t.dimensions),o=new Ih({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Object(l["d"])(t)});return o}function jh(e){return new Ih({data:e,sourceFormat:Object(l["E"])(e)?af:tf})}function Nh(e){return new Ih({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:Object(l["d"])(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function Bh(e){var t=sf;if(Object(l["E"])(e))t=af;else if(Object(l["t"])(e)){0===e.length&&(t=nf);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(null!=i){if(Object(l["t"])(i)||Object(l["E"])(i)){t=nf;break}if(Object(l["A"])(i)){t=rf;break}}}}else if(Object(l["A"])(e))for(var o in e)if(Object(l["q"])(e,o)&&Object(l["u"])(e[o])){t=of;break}return t}function Fh(e,t,n,r,i){var o,a;if(!e)return{dimensionsDefine:Uh(i),startIndex:a,dimensionsDetectedCount:o};if(t===nf){var s=e;"auto"===r||null==r?Hh((function(e){null!=e&&"-"!==e&&(Object(l["C"])(e)?null==a&&(a=1):a=0)}),n,s,10):a=Object(l["z"])(r)?r:r?1:0,i||1!==a||(i=[],Hh((function(e,t){i[t]=null!=e?e+"":""}),n,s,1/0)),o=i?i.length:n===uf?s.length:s[0]?s[0].length:null}else if(t===rf)i||(i=zh(e));else if(t===of)i||(i=[],Object(l["k"])(e,(function(e,t){i.push(t)})));else if(t===tf){var u=di(e[0]);o=Object(l["t"])(u)&&u.length||1}return{startIndex:a,dimensionsDefine:Uh(i),dimensionsDetectedCount:o}}function zh(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t)return Object(l["F"])(t)}function Uh(e){if(e){var t=Object(l["f"])();return Object(l["H"])(e,(function(e,n){e=Object(l["A"])(e)?e:{name:e};var r={name:e.name,displayName:e.displayName,type:e.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=t.get(r.name);return i?r.name+="-"+i.count++:t.set(r.name,{count:1}),r}))}}function Hh(e,t,n,r){if(t===uf)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function Vh(e){var t=e.sourceFormat;return t===rf||t===of}var Gh=function(){function e(e,t){var n=Lh(e)?e:jh(e);this._source=n;var r=this._data=n.data;n.sourceFormat===af&&(this._offset=0,this._dimSize=t,this._data=r),Dh(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;Dh=function(e,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,u=o.startIndex,c=o.dimensionsDefine,f=Mh[ed(a,s)];if(Object(l["m"])(e,f),a===af)e.getItem=t,e.count=r,e.fillStorage=n;else{var h=Xh(a,s);e.getItem=Object(l["c"])(h,null,i,u,c);var d=$h(a,s);e.count=Object(l["c"])(d,null,i,u,c)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;o<r;o++)t[o]=n[i+o];return t},n=function(e,t,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=t-e,f=n[a],h=0;h<c;h++){var d=i[h*o+a];f[e+h]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}e={},e[nf+"_"+lf]={pure:!0,appendData:i},e[nf+"_"+uf]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[rf]={pure:!0,appendData:i},e[of]={pure:!0,appendData:function(e){var t=this._data;Object(l["k"])(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},e[tf]={appendData:i},e[af]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},Mh=e}(),e}(),Wh=function(e,t,n,r){return e[r]},qh=(Ah={},Ah[nf+"_"+lf]=function(e,t,n,r){return e[r+t]},Ah[nf+"_"+uf]=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},Ah[rf]=Wh,Ah[of]=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=e[s];o[a]=l?l[r]:null}return o},Ah[tf]=Wh,Ah);function Xh(e,t){var n=qh[ed(e,t)];return n}var Yh=function(e,t,n){return e.length},Kh=(Th={},Th[nf+"_"+lf]=function(e,t,n){return Math.max(0,e.length-t)},Th[nf+"_"+uf]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},Th[rf]=Yh,Th[of]=function(e,t,n){var r=n[0].name;var i=e[r];return i?i.length:0},Th[tf]=Yh,Th);function $h(e,t){var n=Kh[ed(e,t)];return n}var Zh=function(e,t,n){return e[t]},Jh=(Ph={},Ph[nf]=Zh,Ph[rf]=function(e,t,n){return e[n]},Ph[of]=Zh,Ph[tf]=function(e,t,n){var r=di(e);return r instanceof Array?r[t]:r},Ph[af]=Zh,Ph);function Qh(e){var t=Jh[e];return t}function ed(e,t){return e===nf?e+"_"+t:e}function td(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i=e.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),s=i.getDimensionProperty(a);return Qh(o)(r,a,s)}var l=r;return o===tf&&(l=di(r)),l}}}var nd=/\{@(.+?)\}/g,rd=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,f="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,r,i,o){t=t||"normal";var a=this.getData(n),s=this.getDataParams(e,n);if(o&&(s.value=o.interpolatedValue),null!=r&&l["t"](s.value)&&(s.value=s.value[r]),!i){var u=a.getItemModel(e);i=u.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if(l["w"](i))return s.status=t,s.dimensionIndex=r,i(s);if(l["C"](i)){var c=Tc(i,s);return c.replace(nd,(function(t,n){var r=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(r-1)&&(i=+i.slice(1,r-1));var s=td(a,e,i);if(o&&l["t"](o.interpolatedValue)){var u=a.getDimensionIndex(i);u>=0&&(s=o.interpolatedValue[u])}return null!=s?s+"":""}))}},e.prototype.getRawValue=function(e,t){return td(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function id(e){var t,n;return l["A"](e)?e.type&&(n=e):t=e,{text:t,frag:n}}function od(e){return new ad(e)}var ad=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var o,a=f(this._modBy),s=this._modDataCount||0,u=f(e&&e.modBy),c=e&&e.modDataCount||0;function f(e){return!(e>=1)&&(e=1),e}a===u&&s===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=u,this._modDataCount=c;var h=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!r&&(o||d<p)){var g=this._progress;if(Object(l["t"])(g))for(var v=0;v<g.length;v++)this._doProgress(g[v],d,p,u,c);else this._doProgress(g,d,p,u,c)}this._dueIndex=p;var y=null!=this._settedOutputEnd?this._settedOutputEnd:p;0,this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,n,r,i){sd.reset(t,n,r,i),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:sd.next},this.context)},e.prototype._doReset=function(e){var t,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(n=t.forceFirstProgress,t=t.progress),Object(l["t"])(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),sd=function(){var e,t,n,r,i,o={reset:function(l,u,c,f){t=l,e=u,n=c,r=f,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}();function ld(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(l["z"])(e)||null==e||"-"===e||(e=+$r(e)),null==e||""===e?NaN:Number(e))}var ud=Object(l["f"])({number:function(e){return parseFloat(e)},time:function(e){return+$r(e)},trim:function(e){return Object(l["C"])(e)?Object(l["T"])(e):e}});function cd(e){return ud.get(e)}var fd={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},hd=function(){function e(e,t){if(!Object(l["z"])(t)){var n="";0,If(n)}this._opFn=fd[e],this._rvalFloat=ni(t)}return e.prototype.evaluate=function(e){return Object(l["z"])(e)?this._opFn(e,this._rvalFloat):this._opFn(ni(e),this._rvalFloat)},e}(),dd=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=Object(l["z"])(e)?e:ni(e),r=Object(l["z"])(t)?t:ni(t),i=isNaN(n),o=isNaN(r);if(i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o){var a=Object(l["C"])(e),s=Object(l["C"])(t);a&&(n=s?e:0),s&&(r=a?t:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},e}(),pd=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ni(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=ni(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function gd(e,t){return"eq"===e||"ne"===e?new pd("eq"===e,t):Object(l["q"])(fd,e)?new hd(e,t):null}var vd=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return ld(e,t)},e}();function yd(e,t){var n=new vd,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==lf&&If(a);var s=[],u={},c=e.dimensionsDefine;if(c)Object(l["k"])(c,(function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};if(s.push(r),null!=n){var i="";Object(l["q"])(u,n)&&If(i),u[n]=r}}));else for(var f=0;f<e.dimensionsDetectedCount;f++)s.push({index:f});var h=Xh(i,lf);t.__isBuiltIn&&(n.getRawDataItem=function(e){return h(r,o,s,e)},n.getRawData=Object(l["c"])(md,null,e)),n.cloneRawData=Object(l["c"])(bd,null,e);var d=$h(i,lf);n.count=Object(l["c"])(d,null,r,o,s);var p=Qh(i);n.retrieveValue=function(e,t){var n=h(r,o,s,e);return g(n,t)};var g=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=s[t];return n?p(e,t,n.name):void 0}};return n.getDimensionInfo=Object(l["c"])(_d,null,s,u),n.cloneAllDimensionInfo=Object(l["c"])(xd,null,s),n}function md(e){var t=e.sourceFormat;if(!Od(t)){var n="";0,If(n)}return e.data}function bd(e){var t=e.sourceFormat,n=e.data;if(!Od(t)){var r="";0,If(r)}if(t===nf){for(var i=[],o=0,a=n.length;o<a;o++)i.push(n[o].slice());return i}if(t===rf){for(i=[],o=0,a=n.length;o<a;o++)i.push(Object(l["m"])({},n[o]));return i}}function _d(e,t,n){if(null!=n)return Object(l["z"])(n)||!isNaN(n)&&!Object(l["q"])(t,n)?e[n]:Object(l["q"])(t,n)?t[n]:void 0}function xd(e){return Object(l["d"])(e)}var wd=Object(l["f"])();function Sd(e){e=Object(l["d"])(e);var t=e.type,n="";t||If(n);var r=t.split(":");2!==r.length&&If(n);var i=!1;"echarts"===r[0]&&(t=r[1],i=!0),e.__isBuiltIn=i,wd.set(t,e)}function kd(e,t,n){var r=ci(e),i=r.length,o="";i||If(o);for(var a=0,s=i;a<s;a++){var l=r[a];t=Ed(l,t,n,1===i?null:a),a!==s-1&&(t.length=Math.max(t.length,1))}return t}function Ed(e,t,n,r){var i="";t.length||If(i),Object(l["A"])(e)||If(i);var o=e.type,a=wd.get(o);a||If(i);var s=Object(l["H"])(t,(function(e){return yd(e,a)})),u=ci(a.transform({upstream:s[0],upstreamList:s,config:Object(l["d"])(e.config)}));return Object(l["H"])(u,(function(e,n){var r="";Object(l["A"])(e)||If(r),e.data||If(r);var i,o=Bh(e.data);Od(o)||If(r);var a=t[0];if(a&&0===n&&!e.dimensions){var s=a.startIndex;s&&(e.data=a.data.slice(0,s).concat(e.data)),i={seriesLayoutBy:lf,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:lf,sourceHeader:0,dimensions:e.dimensions};return Rh(e.data,i,null)}))}function Od(e){return e===nf||e===rf}var Cd,Ad="undefined",Td=typeof Uint32Array===Ad?Array:Uint32Array,Pd=typeof Uint16Array===Ad?Array:Uint16Array,Md=typeof Int32Array===Ad?Array:Int32Array,Dd=typeof Float64Array===Ad?Array:Float64Array,Id={float:Dd,int:Md,ordinal:Array,number:Array,time:Dd};function Ld(e){return e>65535?Td:Pd}function Rd(){return[1/0,-1/0]}function jd(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function Nd(e,t,n,r,i){var o=Id[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];e[t]=l}}else e[t]=new o(r)}var Bd=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(l["f"])()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=e.getSource(),i=this.defaultDimValueGetter=Cd[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];Vh(r);this._dimensions=Object(l["H"])(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(e);if(null!=i){if(r[i].type===t)return i}else i=r.length;return r[i]={type:t},n.set(e,i),this._chunks[i]=new Id[t||"float"](this._rawCount),this._rawExtent[i]=Rd(),i},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],r=this._dimensions[e],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[e]=Rd());for(var s=i[e],l=o;l<a;l++){var u=n[l]=t.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},e.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],n=t.ordinalMeta;return n},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e);var r=t.count();return t.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,a=this.count(),s=a+Math.max(e.length,t||0),l=0;l<i;l++){var u=r[l];Nd(n,l,u.type,s,!0)}for(var c=[],f=a;f<s;f++)for(var h=f-a,d=0;d<i;d++){u=r[d];var p=Cd.arrayRows.call(this,e[h]||c,u.property,h,d);n[d][f]=p;var g=o[d];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,u=Object(l["H"])(o,(function(e){return e.property})),c=0;c<a;c++){var f=o[c];s[c]||(s[c]=Rd()),Nd(i,c,f.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,i,s);else for(var h=[],d=e;d<t;d++){h=r.getItem(d,h);for(var p=0;p<a;p++){var g=i[p],v=this._dimValueGetter(h,u[p],d,p);g[d]=v;var y=s[p];v<y[0]&&(y[0]=v),v>y[1]&&(y[1]=v)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=e;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],t));return n},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._chunks[e];return n?n[t]:NaN},e.prototype.getSum=function(e){var t=this._chunks[e],n=0;if(t)for(var r=0,i=this.count();r<i;r++){var o=this.get(e,r);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(e){var t=[];this.each([e],(function(e){isNaN(e)||t.push(e)}));var n=t.sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2===1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var r=0,i=this._count-1;while(r<=i){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks,i=r[e],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var f=this.getRawIndex(u),h=t-i[f],d=Math.abs(h);d<=n&&((d<a||d===a&&h>=0&&s<0)&&(a=d,s=h,l=0),h===s&&(o[l++]=u))}return o.length=l,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i<r;i++)e[i]=t[i]}else e=new n(t.buffer,0,r)}else{n=Ld(this._rawCount);e=new n(this.count());for(i=0;i<e.length;i++)e[i]=i}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=Ld(n._rawCount),o=new i(r),a=[],s=e.length,l=0,u=e[0],c=n._chunks,f=0;f<r;f++){var h=void 0,d=n.getRawIndex(f);if(0===s)h=t(f);else if(1===s){var p=c[u][d];h=t(p,f)}else{for(var g=0;g<s;g++)a[g]=c[e[g]][d];a[g]=f,h=t.apply(null,a)}h&&(o[l++]=d)}return l<r&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=Object(l["F"])(e),i=r.length;if(!i)return this;var o=t.count(),a=Ld(t._rawCount),s=new a(o),u=0,c=r[0],f=e[c][0],h=e[c][1],d=t._chunks,p=!1;if(!t._indices){var g=0;if(1===i){for(var v=d[r[0]],y=0;y<n;y++){var m=v[y];(m>=f&&m<=h||isNaN(m))&&(s[u++]=g),g++}p=!0}else if(2===i){v=d[r[0]];var b=d[r[1]],_=e[r[1]][0],x=e[r[1]][1];for(y=0;y<n;y++){m=v[y];var w=b[y];(m>=f&&m<=h||isNaN(m))&&(w>=_&&w<=x||isNaN(w))&&(s[u++]=g),g++}p=!0}}if(!p)if(1===i)for(y=0;y<o;y++){var S=t.getRawIndex(y);m=d[r[0]][S];(m>=f&&m<=h||isNaN(m))&&(s[u++]=S)}else for(y=0;y<o;y++){for(var k=!0,E=(S=t.getRawIndex(y),0);E<i;E++){var O=r[E];m=d[O][S];(m<e[O][0]||m>e[O][1])&&(k=!1)}k&&(s[u++]=t.getRawIndex(y))}return u<o&&(t._indices=s),t._count=u,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,n){for(var r=e._chunks,i=[],o=t.length,a=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=Rd();for(var c=0;c<a;c++){for(var f=e.getRawIndex(c),h=0;h<o;h++)s[h]=r[t[h]][f];s[o]=c;var d=n&&n.apply(null,s);if(null!=d){"object"!==typeof d&&(i[0]=d,d=i);for(u=0;u<d.length;u++){var p=t[u],g=d[u],v=l[p],y=r[p];y&&(y[f]=g),g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks,s=a[e],l=this.count(),u=0,c=Math.floor(1/t),f=this.getRawIndex(0),h=new(Ld(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));h[u++]=f;for(var d=1;d<l-1;d+=c){for(var p=Math.min(d+c,l-1),g=Math.min(d+2*c,l),v=(g+p)/2,y=0,m=p;m<g;m++){var b=this.getRawIndex(m),_=s[b];isNaN(_)||(y+=_)}y/=g-p;var x=d,w=Math.min(d+c,l),S=d-1,k=s[f];n=-1,i=x;var E=-1,O=0;for(m=x;m<w;m++){b=this.getRawIndex(m),_=s[b];isNaN(_)?(O++,E<0&&(E=b)):(r=Math.abs((S-v)*(_-k)-(S-m)*(y-k)),r>n&&(n=r,i=b))}O>0&&O<w-x&&(h[u++]=Math.min(E,i),i=Math.max(E,i)),h[u++]=i,f=i}return h[u++]=this.getRawIndex(l-1),o._count=u,o._indices=h,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=i._rawExtent[e]=Rd(),f=new(Ld(this._rawCount))(Math.ceil(u/s)),h=0,d=0;d<u;d+=s){s>u-d&&(s=u-d,a.length=s);for(var p=0;p<s;p++){var g=this.getRawIndex(d+p);a[p]=l[g]}var v=n(a),y=this.getRawIndex(Math.min(d+r(a,v)||0,u-1));l[y]=v,v<c[0]&&(c[0]=v),v>c[1]&&(c[1]=v),f[h++]=y}return i._count=h,i._indices=f,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:t(i);break;case 1:t(r[e[0]][a],i);break;case 2:t(r[e[0]][a],r[e[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[e[s]][a];l[s]=i,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=Rd();if(!t)return n;var r,i=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(r=this._extent[e],r)return r.slice();r=n;for(var a=r[0],s=r[1],l=0;l<i;l++){var u=this.getRawIndex(l),c=t[u];c<a&&(a=c),c>s&&(s=c)}return r=[a,s],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][t]);return n},e.prototype.clone=function(t,n){var r=new e,i=this._chunks,o=t&&Object(l["N"])(t,(function(e,t){return e[t]=!0,e}),{});if(o)for(var a=0;a<i.length;a++)r._chunks[a]=o[a]?jd(i[a]):i[a];else r._chunks=i;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Object(l["d"])(this._extent),e._rawExtent=Object(l["d"])(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var n=this._indices.length;t=new e(n);for(var r=0;r<n;r++)t[r]=this._indices[r]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return ld(e[r],this._dimensions[r])}Cd={arrayRows:e,objectRows:function(e,t,n,r){return ld(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return ld(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}(),Fd=Bd,zd=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length;if(Hd(n)){var o=n,a=void 0,s=void 0,u=void 0;if(i){var c=r[0];c.prepareSource(),u=c.getSource(),a=u.data,s=u.sourceFormat,t=[c._getVersionSign()]}else a=o.get("data",!0),s=Object(l["E"])(a)?af:tf,t=[];var f=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},d=Object(l["P"])(f.seriesLayoutBy,h.seriesLayoutBy)||null,p=Object(l["P"])(f.sourceHeader,h.sourceHeader),g=Object(l["P"])(f.dimensions,h.dimensions),v=d!==h.seriesLayoutBy||!!p!==!!h.sourceHeader||g;e=v?[Rh(a,{seriesLayoutBy:d,sourceHeader:p,dimensions:g},s)]:[]}else{var y=n;if(i){var m=this._applyTransform(r);e=m.sourceList,t=m.upstreamSignList}else{var b=y.get("source",!0);e=[Rh(b,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){var o="";1!==e.length&&Vd(o)}var a=[],s=[];return Object(l["k"])(e,(function(e){e.prepareSource();var t=e.getSource(i||0),n="";null==i||t||Vd(n),a.push(t),s.push(e._getVersionSign())})),r?t=kd(r,a,{datasetIndex:n.componentIndex}):null!=i&&(t=[Nh(a[0])]),{sourceList:t,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,n){var r=0,i=this._storeList,o=i[r];o||(o=i[r]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];Hd(this._sourceHost)&&s?a=s._innerGetDataStore(e,t,n):(a=new Fd,a.initData(new Gh(t,e.length),e)),o[n]=a}return a},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Hd(e)){var t=gf(e);return t?[t.getSourceManager()]:[]}return Object(l["H"])(vf(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;if(Hd(r))e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function Ud(e){var t=e.option.transform;t&&Object(l["R"])(e.option.transform)}function Hd(e){return"series"===e.mainType}function Vd(e){throw new Error(e)}var Gd="line-height:1";function Wd(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,i=e.fontWeight||"400",o=e.color||"#464646",a=e.fontSize||14,s=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+W(r+"")+"px;color:"+W(n)+";font-weight:"+W(i+""),valueStyle:"font-size:"+W(a+"")+"px;color:"+W(o)+";font-weight:"+W(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var qd=[0,10,20,30],Xd=["","\n","\n\n","\n\n\n"];function Yd(e,t){return t.type=e,t}function Kd(e){return"section"===e.type}function $d(e){return Kd(e)?Jd:Qd}function Zd(e){if(Kd(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return Object(l["k"])(e.blocks,(function(e){var n=Zd(e);n>=t&&(t=n+ +(r&&(!n||Kd(e)&&!e.noHeader)))})),t}return 0}function Jd(e,t,n,r){var i=t.noHeader,o=tp(Zd(t)),a=[],s=t.blocks||[];Object(l["b"])(!s||Object(l["t"])(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(l["q"])(c,u)){var f=new dd(c[u],null);s.sort((function(e,t){return f.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===u&&s.reverse()}Object(l["k"])(s,(function(n,i){var s=t.valueFormatter,u=$d(n)(s?Object(l["m"])(Object(l["m"])({},e),{valueFormatter:s}):e,n,i>0?o.html:0,r);null!=u&&a.push(u)}));var h="richText"===e.renderMode?a.join(o.richText):np(a.join(""),i?n:o.html);if(i)return h;var d=Oc(t.header,"ordinal",e.useUTC),p=Wd(r,e.renderMode).nameStyle;return"richText"===e.renderMode?op(e,d,p)+o.richText+h:np('<div style="'+p+";"+Gd+';">'+W(d)+"</div>"+h,n)}function Qd(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,u=t.name,c=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(e){return e=Object(l["t"])(e)?e:[e],Object(l["H"])(e,(function(e,t){return Oc(e,Object(l["t"])(p)?p[t]:p,c)}))};if(!o||!a){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),d=o?"":Oc(u,"ordinal",c),p=t.valueType,g=a?[]:f(t.value,t.dataIndex),v=!s||!o,y=!s&&o,m=Wd(r,i),b=m.nameStyle,_=m.valueStyle;return"richText"===i?(s?"":h)+(o?"":op(e,d,b))+(a?"":ap(e,g,v,y,_)):np((s?"":h)+(o?"":rp(d,!s,b))+(a?"":ip(g,v,y,_)),n)}}function ep(e,t,n,r,i,o){if(e){var a=$d(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(s,e,0,o)}}function tp(e){return{html:qd[e],richText:Xd[e]}}function np(e,t){var n='<div style="clear:both"></div>',r="margin: "+t+"px 0 0";return'<div style="'+r+";"+Gd+';">'+e+n+"</div>"}function rp(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+W(e)+"</span>"}function ip(e,t,n,r){var i=n?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=Object(l["t"])(e)?e:[e],'<span style="'+o+";"+r+'">'+Object(l["H"])(e,(function(e){return W(e)})).join("&nbsp;&nbsp;")+"</span>"}function op(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function ap(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(l["t"])(t)?t.join(" "):t,o)}function sp(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Dc(r)}function lp(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var up=function(){function e(){this.richTextStyles={},this._nextStyleNameId=ii()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,i=Mc({color:t,type:e,renderMode:n,markerId:r});return Object(l["C"])(i)?i:(this.richTextStyles[r]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(l["t"])(t)?Object(l["k"])(t,(function(e){return Object(l["m"])(n,e)})):Object(l["m"])(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}();function cp(e){var t,n,r,i,o=e.series,a=e.dataIndex,s=e.multipleSeries,u=o.getData(),c=u.mapDimensionsAll("defaultedTooltip"),f=c.length,h=o.getRawValue(a),d=Object(l["t"])(h),p=sp(o,a);if(f>1||d&&!f){var g=fp(h,o,a,c,p);t=g.inlineValues,n=g.inlineValueTypes,r=g.blocks,i=g.inlineValues[0]}else if(f){var v=u.getDimensionInfo(c[0]);i=t=td(u,a,c[0]),n=v.type}else i=t=d?h[0]:h;var y=Ei(o),m=y&&o.name||"",b=u.getName(a),_=s?m:b;return Yd("section",{header:m,noHeader:s||!y,sortParam:i,blocks:[Yd("nameValue",{markerType:"item",markerColor:p,name:_,noName:!Object(l["T"])(_),value:t,valueType:n,dataIndex:a})].concat(r||[])})}function fp(e,t,n,r,i){var o=t.getData(),a=Object(l["N"])(e,(function(e,t,n){var r=o.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],u=[],c=[];function f(e,t){var n=o.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(a?c.push(Yd("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:e,valueType:n.type})):(s.push(e),u.push(n.type)))}return r.length?Object(l["k"])(r,(function(e){f(td(o,n,e),e)})):Object(l["k"])(e,f),{inlineValues:s,inlineValueTypes:u,blocks:c}}var hp=Di();function dp(e,t){return e.getName(t)||e.getId(t)}var pp="__universalTransitionEnabled",gp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return a(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=od({count:mp,reset:bp}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var r=hp(this).sourceManager=new zd(this);r.prepareSource();var i=this.getInitialData(e,n);xp(i,this),this.dataTask.context.data=i,hp(this).dataBeforeProcessed=i,vp(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Vc(this),r=n?Wc(e):{},i=this.subType;$c.hasClass(i)&&(i+="Series"),l["I"](e,t.getTheme().get(this.subType)),l["I"](e,this.getDefaultOption()),fi(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Gc(e,r,n)},t.prototype.mergeOption=function(e,t){e=l["I"](this.option,e,!0),this.fillDataTextStyle(e.data);var n=Vc(this);n&&Gc(this.option,e,n);var r=hp(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);xp(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,hp(this).dataBeforeProcessed=i,vp(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!l["E"](e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&fi(e[n],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){var t=this.getRawData();t.appendData(e.data)},t.prototype.getData=function(e){var t=Sp(this);if(t){var n=t.context.data;return null!=e&&n.getLinkedData?n.getLinkedData(e):n}return hp(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=Sp(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}hp(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return l["f"](e)},t.prototype.getSourceManager=function(){return hp(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return hp(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,n){return cp({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(s["a"].node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=kf.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<e.length;o++){var a=e[o],s=dp(i,a);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=l["F"](e),n=[],r=0;r<t.length;r++){var i=e[t[r]];i>=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[dp(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[pp])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,o=i.selectedMode,a=t.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){l["A"](i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,u=0;u<a;u++){var c=t[u],f=dp(e,c);s[f]=!0,this._selectedDataIndicesMap[f]=e.getRawIndex(c)}}else if("single"===o||!0===o){var h=t[a-1];f=dp(e,h);i.selectedMap=(n={},n[f]=!0,n),this._selectedDataIndicesMap=(r={},r[f]=e.getRawIndex(h),r)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return $c.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}($c);function vp(e){var t=e.name;Ei(e)||(e.name=yp(e)||t)}function yp(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return l["k"](n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function mp(e){return e.model.getRawData().count()}function bp(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),_p}function _p(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function xp(e,t){l["k"](l["e"](e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,l["h"](wp,t))}))}function wp(e,t){var n=Sp(e);return n&&n.setOutputEnd((t||this).count()),t}function Sp(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}l["K"](gp,rd),l["K"](gp,kf),Ji(gp,$c);var kp=gp,Ep=function(){function e(){this.group=new Sr,this.uid=Tu("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();$i(Ep),ro(Ep);var Op=Ep;function Cp(){var e=Di();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}var Ap=ba.CMD,Tp=[[],[],[]],Pp=Math.sqrt,Mp=Math.atan2;function Dp(e,t){if(t){var n,r,i,o,a,s,l=e.data,u=e.len(),c=Ap.M,f=Ap.C,h=Ap.L,d=Ap.R,p=Ap.A,g=Ap.Q;for(i=0,o=0;i<u;){switch(n=l[i++],o=i,r=0,n){case c:r=1;break;case h:r=1;break;case f:r=3;break;case g:r=2;break;case p:var v=t[4],y=t[5],m=Pp(t[0]*t[0]+t[1]*t[1]),b=Pp(t[2]*t[2]+t[3]*t[3]),_=Mp(-t[1]/b,t[0]/m);l[i]*=m,l[i++]+=v,l[i]*=b,l[i++]+=y,l[i++]*=m,l[i++]*=b,l[i++]+=_,l[i++]+=_,i+=2,o=i;break;case d:s[0]=l[i++],s[1]=l[i++],E(s,s,t),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],E(s,s,t),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<r;a++){var x=Tp[a];x[0]=l[i++],x[1]=l[i++],E(x,x,t),l[o++]=x[0],l[o++]=x[1]}}e.increaseVersion()}}var Ip=Math.sqrt,Lp=Math.sin,Rp=Math.cos,jp=Math.PI;function Np(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Bp(e,t){return(e[0]*t[0]+e[1]*t[1])/(Np(e)*Np(t))}function Fp(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Bp(e,t))}function zp(e,t,n,r,i,o,a,s,l,u,c){var f=l*(jp/180),h=Rp(f)*(e-n)/2+Lp(f)*(t-r)/2,d=-1*Lp(f)*(e-n)/2+Rp(f)*(t-r)/2,p=h*h/(a*a)+d*d/(s*s);p>1&&(a*=Ip(p),s*=Ip(p));var g=(i===o?-1:1)*Ip((a*a*(s*s)-a*a*(d*d)-s*s*(h*h))/(a*a*(d*d)+s*s*(h*h)))||0,v=g*a*d/s,y=g*-s*h/a,m=(e+n)/2+Rp(f)*v-Lp(f)*y,b=(t+r)/2+Lp(f)*v+Rp(f)*y,_=Fp([1,0],[(h-v)/a,(d-y)/s]),x=[(h-v)/a,(d-y)/s],w=[(-1*h-v)/a,(-1*d-y)/s],S=Fp(x,w);if(Bp(x,w)<=-1&&(S=jp),Bp(x,w)>=1&&(S=0),S<0){var k=Math.round(S/jp*1e6)/1e6;S=2*jp+k%2*jp}c.addData(u,m,b,a,s,_,S,f,o)}var Up=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Hp=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Vp(e){var t=new ba;if(!e)return t;var n,r=0,i=0,o=r,a=i,s=ba.CMD,l=e.match(Up);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),h=void 0,d=c.match(Hp)||[],p=d.length,g=0;g<p;g++)d[g]=parseFloat(d[g]);var v=0;while(v<p){var y=void 0,m=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,k=r,E=i,O=void 0,C=void 0;switch(f){case"l":r+=d[v++],i+=d[v++],h=s.L,t.addData(h,r,i);break;case"L":r=d[v++],i=d[v++],h=s.L,t.addData(h,r,i);break;case"m":r+=d[v++],i+=d[v++],h=s.M,t.addData(h,r,i),o=r,a=i,f="l";break;case"M":r=d[v++],i=d[v++],h=s.M,t.addData(h,r,i),o=r,a=i,f="L";break;case"h":r+=d[v++],h=s.L,t.addData(h,r,i);break;case"H":r=d[v++],h=s.L,t.addData(h,r,i);break;case"v":i+=d[v++],h=s.L,t.addData(h,r,i);break;case"V":i=d[v++],h=s.L,t.addData(h,r,i);break;case"C":h=s.C,t.addData(h,d[v++],d[v++],d[v++],d[v++],d[v++],d[v++]),r=d[v-2],i=d[v-1];break;case"c":h=s.C,t.addData(h,d[v++]+r,d[v++]+i,d[v++]+r,d[v++]+i,d[v++]+r,d[v++]+i),r+=d[v-2],i+=d[v-1];break;case"S":y=r,m=i,O=t.len(),C=t.data,n===s.C&&(y+=r-C[O-4],m+=i-C[O-3]),h=s.C,k=d[v++],E=d[v++],r=d[v++],i=d[v++],t.addData(h,y,m,k,E,r,i);break;case"s":y=r,m=i,O=t.len(),C=t.data,n===s.C&&(y+=r-C[O-4],m+=i-C[O-3]),h=s.C,k=r+d[v++],E=i+d[v++],r+=d[v++],i+=d[v++],t.addData(h,y,m,k,E,r,i);break;case"Q":k=d[v++],E=d[v++],r=d[v++],i=d[v++],h=s.Q,t.addData(h,k,E,r,i);break;case"q":k=d[v++]+r,E=d[v++]+i,r+=d[v++],i+=d[v++],h=s.Q,t.addData(h,k,E,r,i);break;case"T":y=r,m=i,O=t.len(),C=t.data,n===s.Q&&(y+=r-C[O-4],m+=i-C[O-3]),r=d[v++],i=d[v++],h=s.Q,t.addData(h,y,m,r,i);break;case"t":y=r,m=i,O=t.len(),C=t.data,n===s.Q&&(y+=r-C[O-4],m+=i-C[O-3]),r+=d[v++],i+=d[v++],h=s.Q,t.addData(h,y,m,r,i);break;case"A":b=d[v++],_=d[v++],x=d[v++],w=d[v++],S=d[v++],k=r,E=i,r=d[v++],i=d[v++],h=s.A,zp(k,E,r,i,w,S,b,_,x,h,t);break;case"a":b=d[v++],_=d[v++],x=d[v++],w=d[v++],S=d[v++],k=r,E=i,r+=d[v++],i+=d[v++],h=s.A,zp(k,E,r,i,w,S,b,_,x,h,t);break}}"z"!==f&&"Z"!==f||(h=s.Z,t.addData(h),r=o,i=a),n=h}return t.toStatic(),t}var Gp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.applyTransform=function(e){},t}(Wa);function Wp(e){return null!=e.setData}function qp(e,t){var n=Vp(e),r=Object(l["m"])({},t);return r.buildPath=function(e){if(Wp(e)){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t,1)}else{t=e;n.rebuildPath(t,1)}},r.applyTransform=function(e){Dp(n,e),this.dirtyShape()},r}function Xp(e,t){return new Gp(qp(e,t))}function Yp(e,t){var n=qp(e,t),r=function(e){function t(t){var r=e.call(this,t)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return a(t,e),t}(Gp);return r}function Kp(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var o=e[i];n.push(o.getUpdatedPathProxy(!0))}var a=new Wa(t);return a.createPathProxy(),a.buildPath=function(e){if(Wp(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},a}function $p(e,t){t=t||{};var n=new Wa;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?Dp(n.path,e.getComputedTransform()):t.toLocal?n.setLocalTransform(e.getComputedTransform()):n.copyTransform(e),n.buildPath=e.buildPath,n.applyTransform=n.applyTransform,n.z=e.z,n.z2=e.z2,n.zlevel=e.zlevel,n}var Zp=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),Jp=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new Zp},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(Wa);Jp.prototype.type="circle";var Qp=Jp,eg=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),tg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new eg},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()},t}(Wa);tg.prototype.type="ellipse";var ng=tg,rg=Math.PI,ig=2*rg,og=Math.sin,ag=Math.cos,sg=Math.acos,lg=Math.atan2,ug=Math.abs,cg=Math.sqrt,fg=Math.max,hg=Math.min,dg=1e-4;function pg(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,h=f*l-c*u;if(!(h*h<dg))return h=(c*(t-o)-f*(e-i))/h,[e+h*l,t+h*u]}function gg(e,t,n,r,i,o,a){var s=e-n,l=t-r,u=(a?o:-o)/cg(s*s+l*l),c=u*l,f=-u*s,h=e+c,d=t+f,p=n+c,g=r+f,v=(h+p)/2,y=(d+g)/2,m=p-h,b=g-d,_=m*m+b*b,x=i-o,w=h*g-p*d,S=(b<0?-1:1)*cg(fg(0,x*x*_-w*w)),k=(w*b-m*S)/_,E=(-w*m-b*S)/_,O=(w*b+m*S)/_,C=(-w*m+b*S)/_,A=k-v,T=E-y,P=O-v,M=C-y;return A*A+T*T>P*P+M*M&&(k=O,E=C),{cx:k,cy:E,x0:-c,y0:-f,x1:k*(i/x-1),y1:E*(i/x-1)}}function vg(e){var t;if(Object(l["t"])(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}function yg(e,t){var n,r=fg(t.r,0),i=fg(t.r0||0,0),o=r>0,a=i>0;if(o||a){if(o||(r=i,i=0),i>r){var s=r;r=i,i=s}var l=t.startAngle,u=t.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=t.cx,f=t.cy,h=!!t.clockwise,d=ug(u-l),p=d>ig&&d%ig;if(p>dg&&(d=p),r>dg)if(d>ig-dg)e.moveTo(c+r*ag(l),f+r*og(l)),e.arc(c,f,r,l,u,!h),i>dg&&(e.moveTo(c+i*ag(u),f+i*og(u)),e.arc(c,f,i,u,l,h));else{var g=void 0,v=void 0,y=void 0,m=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,k=void 0,E=void 0,O=void 0,C=void 0,A=void 0,T=void 0,P=void 0,M=r*ag(l),D=r*og(l),I=i*ag(u),L=i*og(u),R=d>dg;if(R){var j=t.cornerRadius;j&&(n=vg(j),g=n[0],v=n[1],y=n[2],m=n[3]);var N=ug(r-i)/2;if(b=hg(N,y),_=hg(N,m),x=hg(N,g),w=hg(N,v),E=S=fg(b,_),O=k=fg(x,w),(S>dg||k>dg)&&(C=r*ag(u),A=r*og(u),T=i*ag(l),P=i*og(l),d<rg)){var B=pg(M,D,T,P,C,A,I,L);if(B){var F=M-B[0],z=D-B[1],U=C-B[0],H=A-B[1],V=1/og(sg((F*U+z*H)/(cg(F*F+z*z)*cg(U*U+H*H)))/2),G=cg(B[0]*B[0]+B[1]*B[1]);E=hg(S,(r-G)/(V+1)),O=hg(k,(i-G)/(V-1))}}}if(R)if(E>dg){var W=hg(y,E),q=hg(m,E),X=gg(T,P,M,D,r,W,h),Y=gg(C,A,I,L,r,q,h);e.moveTo(c+X.cx+X.x0,f+X.cy+X.y0),E<S&&W===q?e.arc(c+X.cx,f+X.cy,E,lg(X.y0,X.x0),lg(Y.y0,Y.x0),!h):(W>0&&e.arc(c+X.cx,f+X.cy,W,lg(X.y0,X.x0),lg(X.y1,X.x1),!h),e.arc(c,f,r,lg(X.cy+X.y1,X.cx+X.x1),lg(Y.cy+Y.y1,Y.cx+Y.x1),!h),q>0&&e.arc(c+Y.cx,f+Y.cy,q,lg(Y.y1,Y.x1),lg(Y.y0,Y.x0),!h))}else e.moveTo(c+M,f+D),e.arc(c,f,r,l,u,!h);else e.moveTo(c+M,f+D);if(i>dg&&R)if(O>dg){W=hg(g,O),q=hg(v,O),X=gg(I,L,C,A,i,-q,h),Y=gg(M,D,T,P,i,-W,h);e.lineTo(c+X.cx+X.x0,f+X.cy+X.y0),O<k&&W===q?e.arc(c+X.cx,f+X.cy,O,lg(X.y0,X.x0),lg(Y.y0,Y.x0),!h):(q>0&&e.arc(c+X.cx,f+X.cy,q,lg(X.y0,X.x0),lg(X.y1,X.x1),!h),e.arc(c,f,i,lg(X.cy+X.y1,X.cx+X.x1),lg(Y.cy+Y.y1,Y.cx+Y.x1),h),W>0&&e.arc(c+Y.cx,f+Y.cy,W,lg(Y.y1,Y.x1),lg(Y.y0,Y.x0),!h))}else e.lineTo(c+I,f+L),e.arc(c,f,i,u,l,h);else e.lineTo(c+I,f+L)}else e.moveTo(c,f);e.closePath()}}}var mg=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return e}(),bg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new mg},t.prototype.buildPath=function(e,t){yg(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Wa);bg.prototype.type="sector";var _g=bg,xg=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),wg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new xg},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(Wa);wg.prototype.type="ring";var Sg=wg;function kg(e,t,n,r){var i,o,a,s,l=[],u=[],c=[],h=[];if(r){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,v=e.length;p<v;p++)O(a,a,e[p]),C(s,s,e[p]);O(a,a,r[0]),C(s,s,r[1])}for(p=0,v=e.length;p<v;p++){var y=e[p];if(n)i=e[p?p-1:v-1],o=e[(p+1)%v];else{if(0===p||p===v-1){l.push(f(e[p]));continue}i=e[p-1],o=e[p+1]}g(u,o,i),m(u,u,t);var b=_(y,i),x=_(y,o),w=b+x;0!==w&&(b/=w,x/=w),m(c,u,-b),m(h,u,x);var S=d([],y,c),k=d([],y,h);r&&(C(S,S,a),O(S,S,s),C(k,k,a),O(k,k,s)),l.push(S),l.push(k)}return n&&l.push(l.shift()),l}function Eg(e,t,n){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var o=kg(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);s=1;for(var f=i.length;s<f;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}var Og=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),Cg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new Og},t.prototype.buildPath=function(e,t){Eg(e,t,!0)},t}(Wa);Cg.prototype.type="polygon";var Ag=Cg,Tg=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),Pg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Tg},t.prototype.buildPath=function(e,t){Eg(e,t,!1)},t}(Wa);Pg.prototype.type="polyline";var Mg=Pg,Dg={},Ig=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),Lg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ig},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=ns(Dg,t,this.style);n=a.x1,r=a.y1,i=a.x2,o=a.y2}else n=t.x1,r=t.y1,i=t.x2,o=t.y2;var s=t.percent;0!==s&&(e.moveTo(n,r),s<1&&(i=n*(1-s)+i*s,o=r*(1-s)+o*s),e.lineTo(i,o))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(Wa);Lg.prototype.type="line";var Rg=Lg,jg=[],Ng=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function Bg(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?xt:_t)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?xt:_t)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?At:Ct)(e.x1,e.cpx1,e.x2,t),(n?At:Ct)(e.y1,e.cpy1,e.y2,t)]}var Fg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ng},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,l=t.cpx2,u=t.cpy2,c=t.percent;0!==c&&(e.moveTo(n,r),null==l||null==u?(c<1&&(Mt(n,a,i,c,jg),a=jg[1],i=jg[2],Mt(r,s,o,c,jg),s=jg[1],o=jg[2]),e.quadraticCurveTo(a,s,i,o)):(c<1&&(kt(n,a,l,i,c,jg),a=jg[1],l=jg[2],i=jg[3],kt(r,s,u,o,c,jg),s=jg[1],u=jg[2],o=jg[3]),e.bezierCurveTo(a,s,l,u,i,o)))},t.prototype.pointAt=function(e){return Bg(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=Bg(this.shape,e,!0);return b(t,t)},t}(Wa);Fg.prototype.type="bezier-curve";var zg=Fg,Ug=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),Hg=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ug},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*i+n,u*i+r),e.arc(n,r,i,o,a,!s)},t}(Wa);Hg.prototype.type="arc";var Vg=Hg,Gg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return a(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Wa.prototype.getBoundingRect.call(this)},t}(Wa),Wg=Gg,qg=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}(),Xg=qg,Yg=function(e){function t(t,n,r,i,o,a){var s=e.call(this,o)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return a(t,e),t}(Xg),Kg=Yg,$g=function(e){function t(t,n,r,i,o){var a=e.call(this,i)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return a(t,e),t}(Xg),Zg=$g,Jg=[0,0],Qg=[0,0],ev=new me,tv=new me,nv=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new me;for(n=0;n<2;n++)this._axes[n]=new me;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,r=this._axes,i=e.x,o=e.y,a=i+e.width,s=o+e.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,s),n[3].set(i,s),t)for(var l=0;l<4;l++)n[l].transform(t);me.sub(r[0],n[1],n[0]),me.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,r=!t;return ev.set(1/0,1/0),tv.set(0,0),!this._intersectCheckOneSide(this,e,ev,tv,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(e,this,ev,tv,r,-1)&&(n=!1,r)||r||me.copy(t,n?ev:tv),n},e.prototype._intersectCheckOneSide=function(e,t,n,r,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,Jg),this._getProjMinMaxOnAxis(s,t._corners,Qg),Jg[1]<Qg[0]||Jg[0]>Qg[1]){if(a=!1,i)return a;var u=Math.abs(Qg[0]-Jg[1]),c=Math.abs(Jg[0]-Qg[1]);Math.min(u,c)>r.len()&&(u<c?me.scale(r,l,-u*o):me.scale(r,l,c*o))}else if(n){u=Math.abs(Qg[0]-Jg[1]),c=Math.abs(Jg[0]-Qg[1]);Math.min(u,c)<n.len()&&(u<c?me.scale(n,l,u*o):me.scale(n,l,-c*o))}}return a},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,o=t[0].dot(r)+i[e],a=o,s=o,l=1;l<t.length;l++){var u=t[l].dot(r)+i[e];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},e}(),rv=nv,iv=[],ov=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return a(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Ae(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(iv)),e.union(r)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(r.contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){var o=this._displayables[i];if(o.contain(e,t))return!0}return!1},t}(Bo),av=ov,sv=Math.max,lv=Math.min,uv={};function cv(e){return Wa.extend(e)}var fv=Yp;function hv(e,t){return fv(e,t)}function dv(e,t){uv[e]=t}function pv(e){if(uv.hasOwnProperty(e))return uv[e]}function gv(e,t,n,r){var i=Xp(e,t);return n&&("center"===r&&(n=yv(n,i.getBoundingRect())),bv(i,n)),i}function vv(e,t,n){var r=new Qa({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(yv(t,i))}}});return r}function yv(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var mv=Kp;function bv(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function _v(e,t){return ns(e,e,{lineWidth:t}),e}function xv(e){return rs(e.shape,e.shape,e.style),e}var wv=is;function Sv(e,t){var n=ue([]);while(e&&e!==t)fe(n,e.getLocalTransform(),n),e=e.parent;return n}function kv(e,t,n){return t&&!Object(l["u"])(t)&&(t=$n.getLocalTransform(t)),n&&(t=ge([],t)),E([],e,t)}function Ev(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=kv(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Ov(e){return!e.isGroup}function Cv(e){return null!=e.shape}function Av(e,t,n){if(e&&t){var r=i(e);t.traverse((function(e){if(Ov(e)&&e.anid){var t=r[e.anid];if(t){var i=o(e);e.attr(o(t)),Gl(e,i,n,Cs(e).dataIndex)}}}))}function i(e){var t={};return e.traverse((function(e){Ov(e)&&e.anid&&(t[e.anid]=e)})),t}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return Cv(e)&&(t.shape=Object(l["m"])({},e.shape)),t}}function Tv(e,t){return Object(l["H"])(e,(function(e){var n=e[0];n=sv(n,t.x),n=lv(n,t.x+t.width);var r=e[1];return r=sv(r,t.y),r=lv(r,t.y+t.height),[n,r]}))}function Pv(e,t){var n=sv(e.x,t.x),r=lv(e.x+e.width,t.x+t.width),i=sv(e.y,t.y),o=lv(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Mv(e,t,n){var r=Object(l["m"])({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(l["i"])(i,n),new Qa(r)):gv(e.replace("path://",""),r,n,"center")}function Dv(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(Iv(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function Iv(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,h=Lv(c,f,l,u);if(Rv(h))return!1;var d=e-i,p=t-o,g=Lv(d,p,l,u)/h;if(g<0||g>1)return!1;var v=Lv(d,p,c,f)/h;return!(v<0||v>1)}function Lv(e,t,n,r){return e*r-n*t}function Rv(e){return e<=1e-6&&e>=-1e-6}function jv(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(l["C"])(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var u=e.formatterParamsExtra;u&&Object(l["k"])(Object(l["F"])(u),(function(e){Object(l["q"])(s,e)||(s[e]=u[e],s.$vars.push(e))}));var c=Cs(e.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:r,option:Object(l["i"])({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function Nv(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Bv(e,t){if(e)if(Object(l["t"])(e))for(var n=0;n<e.length;n++)Nv(e[n],t);else Nv(e,t)}dv("circle",Qp),dv("ellipse",ng),dv("sector",_g),dv("ring",Sg),dv("polygon",Ag),dv("polyline",Mg),dv("rect",ls),dv("line",Rg),dv("bezierCurve",zg),dv("arc",Vg);var Fv=Di(),zv=Cp(),Uv=function(){function e(){this.group=new Sr,this.uid=Tu("viewChart"),this.renderTask=od({plan:Gv,reset:Wv}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&Vv(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&Vv(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){Bv(this.group,e)},e.markUpdateMethod=function(e,t){Fv(e).updateMethod=t},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function Hv(e,t,n){e&&Rl(e)&&("emphasis"===t?cl:fl)(e,n)}function Vv(e,t,n){var r=Mi(e,t),i=t&&null!=t.highlightKey?Nl(t.highlightKey):null;null!=r?Object(l["k"])(ci(r),(function(t){Hv(e.getItemGraphicEl(t),n,i)})):e.eachItemGraphicEl((function(e){Hv(e,n,i)}))}function Gv(e){return zv(e.model)}function Wv(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&Fv(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),qv[l]}$i(Uv,["dispose"]),ro(Uv);var qv={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Xv=Uv,Yv="\0__throttleOriginMethod",Kv="\0__throttleRate",$v="\0__throttleType";function Zv(e,t,n){var r,i,o,a,s,l=0,u=0,c=null;function f(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var h=function(){for(var e=[],h=0;h<arguments.length;h++)e[h]=arguments[h];r=(new Date).getTime(),o=this,a=e;var d=s||t,p=s||n;s=null,i=r-(p?l:u)-d,clearTimeout(c),p?c=setTimeout(f,d):i>=0?f():c=setTimeout(f,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function Jv(e,t,n,r){var i=e[t];if(i){var o=i[Yv]||i,a=i[$v],s=i[Kv];if(s!==n||a!==r){if(null==n||!r)return e[t]=o;i=e[t]=Zv(o,n,"debounce"===r),i[Yv]=o,i[$v]=r,i[Kv]=n}return i}}function Qv(e,t){var n=e[t];n&&n[Yv]&&(n.clear&&n.clear(),e[t]=n[Yv])}var ey=Di(),ty={itemStyle:io(Su,!0),lineStyle:io(_u,!0)},ny={lineStyle:"stroke",itemStyle:"fill"};function ry(e,t){var n=e.visualStyleMapper||ty[t];return n||(console.warn("Unknown style type '"+t+"'."),ty.itemStyle)}function iy(e,t){var n=e.visualDrawType||ny[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var oy={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=ry(e,r),a=o(i),s=i.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var u=iy(e,r),c=a[u],f=Object(l["w"])(c)?c:null,h="auto"===a.fill||"auto"===a.stroke;if(!a[u]||f||h){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[u]||(a[u]=d,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||Object(l["w"])(a.fill)?d:a.fill,a.stroke="auto"===a.stroke||Object(l["w"])(a.stroke)?d:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",u),!t.isSeriesFiltered(e)&&f)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=Object(l["m"])({},a);i[u]=f(r),t.setItemVisual(n,"style",i)}}}},ay=new Cu,sy={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=ry(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){ay.option=n[r];var a=i(ay),s=e.ensureUniqueItemVisual(t,"style");Object(l["m"])(s,a),ay.option.decal&&(e.setItemVisual(t,"decal",ay.option.decal),ay.option.decal.dirty=!0),o in a&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},ly={performRawSeries:!0,overallReset:function(e){var t=Object(l["f"])();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),ey(e).scope=i}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=ey(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=iy(t,a);i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(e){var a=r[e],l=i.getItemVisual(a,"colorFromPalette");if(l){var u=i.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",f=n.count();u[s]=t.getColorFromPalette(c,o,f)}}))}}))}},uy=Math.PI;function cy(e,t){t=t||{},l["i"](t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Sr,r=new ls({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,o=new Os({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new ls({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(a),t.showSpinner&&(i=new Vg({shape:{startAngle:-uy/2,endAngle:-uy/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*uy/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*uy/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*s-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:s),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var fy=function(){function e(e,t,n,r){this._stageTaskMap=Object(l["f"])(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(l["f"])();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(l["k"])(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,{}),o="";Object(l["b"])(!(r.reset&&r.overallReset),o),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,o=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(l["k"])(e,(function(e,s){if(!r.visualType||r.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var f,h=c.agentStubMap;h.each((function(e){a(r,e)&&(e.dirty(),f=!0)})),f&&c.dirty(),o.updatePayload(c,n);var d=o.getPerformArgs(c,r.block);h.each((function(e){e.perform(d)})),c.perform(d)&&(i=!0)}else u&&u.each((function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,o=t.seriesTaskMap,a=t.seriesTaskMap=Object(l["f"])(),s=e.seriesType,u=e.getTargetSeries;function c(t){var s=t.uid,l=a.set(s,o&&o.get(s)||od({plan:vy,reset:yy,count:_y}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):u&&u(n,r).each(c)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,o=t.overallTask=t.overallTask||od({reset:hy});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=Object(l["f"])(),u=e.seriesType,c=e.getTargetSeries,f=!0,h=!1,d="";function p(e){var t=e.uid,n=s.set(t,a&&a.get(t)||(h=!0,od({reset:dy,onDirty:gy})));n.context={model:e,overallProgress:f},n.agent=o,n.__block=f,i._pipe(e,n)}Object(l["b"])(!e.createOnAllSeries,d),u?n.eachRawSeriesByType(u,p):c?c(n,r).each(p):(f=!1,Object(l["k"])(n.getSeries(),p)),h&&o.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return Object(l["w"])(e)&&(e={overallReset:e,seriesType:xy(e)}),e.uid=Tu("stageHandler"),t&&(e.visualType=t),e},e}();function hy(e){e.overallReset(e.ecModel,e.api,e.payload)}function dy(e){return e.overallProgress&&py}function py(){this.agent.dirty(),this.getDownstream().dirty()}function gy(){this.agent&&this.agent.dirty()}function vy(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function yy(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=ci(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(l["H"])(t,(function(e,t){return by(t)})):my}var my=by(0);function by(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function _y(e){return e.data.count()}function xy(e){wy=null;try{e(Sy,ky)}catch(t){}return wy}var wy,Sy={},ky={};function Ey(e,t){for(var n in t.prototype)e[n]=l["L"]}Ey(Sy,Hf),Ey(ky,Wf),Sy.eachSeriesByType=Sy.eachRawSeriesByType=function(e){wy=e},Sy.eachComponent=function(e){"series"===e.mainType&&e.subType&&(wy=e.subType)};var Oy=fy,Cy=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Ay={color:Cy,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Cy]},Ty="#B9B8CE",Py="#100C2A",My=function(){return{axisLine:{lineStyle:{color:Ty}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Dy=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Iy={darkMode:!0,color:Dy,backgroundColor:Py,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Ty}},textStyle:{color:Ty},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Ty}},dataZoom:{borderColor:"#71708A",textStyle:{color:Ty},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Ty}},timeline:{lineStyle:{color:Ty},label:{color:Ty},controlStyle:{color:Ty,borderColor:Ty}},calendar:{itemStyle:{color:Py},dayLabel:{color:Ty},monthLabel:{color:Ty},yearLabel:{color:Ty}},timeAxis:My(),logAxis:My(),valueAxis:My(),categoryAxis:My(),line:{symbol:"circle"},graph:{color:Dy},gauge:{title:{color:Ty},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Ty},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Iy.categoryAxis.splitLine.show=!1;var Ly=Iy,Ry=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(l["C"](e)){var i=Xi(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};l["k"](e,(function(e,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var f=i.slice(0,c);"data"!==f&&(t.mainType=f,t[u.toLowerCase()]=e,s=!0)}}a.hasOwnProperty(i)&&(n[i]=e,s=!0),s||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),jy=["symbol","symbolSize","symbolRotate","symbolOffset"],Ny=jy.concat(["symbolKeepAspect"]),By={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<jy.length;a++){var s=jy[a],u=e.get(s);Object(l["w"])(u)?(o=!0,i[s]=u):r[s]=u}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual(Object(l["m"])({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),!t.isSeriesFiltered(e)){var c=Object(l["F"])(i);return{dataEach:o?f:null}}}function f(t,n){for(var r=e.getRawValue(n),o=e.getDataParams(n),a=0;a<c.length;a++){var s=c[a];t.setItemVisual(n,s,i[s](r,o))}}}},Fy={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e)){var n=e.getData();return{dataEach:n.hasItemOption?r:null}}function r(e,t){for(var n=e.getItemModel(t),r=0;r<Ny.length;r++){var i=Ny[r],o=n.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}}};function zy(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function Uy(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function Hy(e,t,n,r){switch(n){case"color":var i=e.ensureUniqueItemVisual(t,"style");i[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break;default:0}}function Vy(e,t){function n(t,n){var r=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){r.push(e.seriesIndex)})),r}Object(l["k"])([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,r,i){t=Object(l["m"])({},t),i.dispatchAction(Object(l["m"])(t,{type:e[1],seriesIndex:n(r,t)}))}))}))}function Gy(e,t,n,r,i){var o=e+t;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,r=e.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===t){var u=e.getData(),c=Mi(u,i.fromActionPayload);n.trigger(o,{type:o,seriesId:e.id,name:Object(l["t"])(c)?u.getName(c[0]):u.getName(c),selected:Object(l["C"])(r)?r:Object(l["m"])({},r)})}}))}function Wy(e,t,n){e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(Gy("map","selectchanged",t,r,e),Gy("pie","selectchanged",t,r,e)):"select"===e.fromAction?(Gy("map","selected",t,r,e),Gy("pie","selected",t,r,e)):"unselect"===e.fromAction&&(Gy("map","unselected",t,r,e),Gy("pie","unselected",t,r,e))}))}function qy(e,t,n){var r;while(e){if(t(e)&&(r=e,n))break;e=e.__hostTarget||e.parent}return r}var Xy=Math.round(9*Math.random()),Yy="function"===typeof Object.defineProperty,Ky=function(){function e(){this._id="__ec_inner_"+Xy++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return Yy?Object.defineProperty(n,this._id,{value:t,enumerable:!1,configurable:!0}):n[this._id]=t,this},e.prototype["delete"]=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}(),$y=Ky,Zy=Wa.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),Jy=Wa.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),Qy=Wa.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,f=Math.sin(u),h=Math.cos(u),d=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-f*d,l+s+h*d,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+f*d,l+s+h*d,n-c,l+s),e.closePath()}}),em=Wa.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),tm={line:Rg,rect:ls,roundRect:ls,square:ls,circle:Qp,diamond:Jy,pin:Qy,arrow:em,triangle:Zy},nm={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},rm={};Object(l["k"])(tm,(function(e,t){rm[t]=new e}));var im=Wa.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=sr(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=rm[r];i||(r="rect",i=rm[r]),nm[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function om(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function am(e,t,n,r,i,o,a){var s,l=0===e.indexOf("empty");return l&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),s=0===e.indexOf("image://")?vv(e.slice(8),new Ae(t,n,r,i),a?"center":"cover"):0===e.indexOf("path://")?gv(e.slice(7),{},new Ae(t,n,r,i),a?"center":"cover"):new im({shape:{symbolType:e,x:t,y:n,width:r,height:i}}),s.__isEmptyBrush=l,s.setColor=om,o&&s.setColor(o),s}function sm(e){return Object(l["t"])(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function lm(e,t){if(null!=e)return Object(l["t"])(e)||(e=[e,e]),[Br(e[0],t[0])||0,Br(Object(l["P"])(e[1],e[0]),t[1])||0]}function um(e){return isFinite(e)}function cm(e,t,n){var r=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=um(r)?r:0,i=um(i)?i:1,o=um(o)?o:0,a=um(a)?a:0;var s=e.createLinearGradient(r,o,i,a);return s}function fm(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*r+n.x,s=s*i+n.y,l*=o),a=um(a)?a:.5,s=um(s)?s:.5,l=l>=0&&um(l)?l:.5;var u=e.createRadialGradient(a,s,0,a,s,l);return u}function hm(e,t,n){for(var r="radial"===t.type?fm(e,t,n):cm(e,t,n),i=t.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function dm(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function pm(e){return parseInt(e,10)}function gm(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||pm(s[r])||pm(e.style[r]))-(pm(s[o])||0)-(pm(s[a])||0)|0}function vm(e,t){return e&&"solid"!==e&&t>0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:Object(l["z"])(e)?[e]:Object(l["t"])(e)?e:null:null}function ym(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&vm(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&1!==i&&(n=Object(l["H"])(n,(function(e){return e/i})),r/=i)}return[n,r]}var mm=new ba(!0);function bm(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function _m(e){return"string"===typeof e&&"none"!==e}function xm(e){var t=e.fill;return null!=t&&"none"!==t}function wm(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function Sm(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function km(e,t,n){var r=co(t.image,t.__image,n);if(ho(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*l["a"]),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function Em(e,t,n,r){var i,o=bm(n),a=xm(n),s=n.strokePercent,l=s<1,u=!t.path;t.silent&&!l||!u||t.createPathProxy();var c=t.path||mm,f=t.__dirty;if(!r){var h=n.fill,d=n.stroke,p=a&&!!h.colorStops,g=o&&!!d.colorStops,v=a&&!!h.image,y=o&&!!d.image,m=void 0,b=void 0,_=void 0,x=void 0,w=void 0;(p||g)&&(w=t.getBoundingRect()),p&&(m=f?hm(e,h,w):t.__canvasFillGradient,t.__canvasFillGradient=m),g&&(b=f?hm(e,d,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),v&&(_=f||!t.__canvasFillPattern?km(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=_),y&&(x=f||!t.__canvasStrokePattern?km(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=_),p?e.fillStyle=m:v&&(_?e.fillStyle=_:a=!1),g?e.strokeStyle=b:y&&(x?e.strokeStyle=x:o=!1)}var S,k,E=t.getGlobalScale();c.setScale(E[0],E[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(i=ym(t),S=i[0],k=i[1]);var O=!0;(u||f&Qe)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),O=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),O&&c.rebuildPath(e,l?s:1),S&&(e.setLineDash(S),e.lineDashOffset=k),r||(n.strokeFirst?(o&&Sm(e,n),a&&wm(e,n)):(a&&wm(e,n),o&&Sm(e,n))),S&&e.setLineDash([])}function Om(e,t,n){var r=t.__image=co(n.image,t.__image,t,t.onload);if(r&&ho(r)){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){u=n.sx,c=n.sy;var f=a-u,h=s-c;e.drawImage(r,u,c,f,h,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}function Cm(e,t,n){var r,i=n.text;if(null!=i&&(i+=""),i){e.font=n.font||Jn["a"],e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=ym(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(bm(n)&&e.strokeText(i,n.x,n.y),xm(n)&&e.fillText(i,n.x,n.y)):(xm(n)&&e.fillText(i,n.x,n.y),bm(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var Am=["shadowBlur","shadowOffsetX","shadowOffsetY"],Tm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Pm(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){Um(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Po.opacity:a}(r||t.blend!==n.blend)&&(o||(Um(e,i),o=!0),e.globalCompositeOperation=t.blend||Po.blend);for(var s=0;s<Am.length;s++){var l=Am[s];(r||t[l]!==n[l])&&(o||(Um(e,i),o=!0),e[l]=e.dpr*(t[l]||0))}return(r||t.shadowColor!==n.shadowColor)&&(o||(Um(e,i),o=!0),e.shadowColor=t.shadowColor||Po.shadowColor),o}function Mm(e,t,n,r,i){var o=Hm(t,i.inHover),a=r?null:n&&Hm(n,i.inHover)||{};if(o===a)return!1;var s=Pm(e,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(Um(e,i),s=!0),_m(o.fill)&&(e.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(Um(e,i),s=!0),_m(o.stroke)&&(e.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(Um(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(Um(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<Tm.length;c++){var f=Tm[c],h=f[0];(r||o[h]!==a[h])&&(s||(Um(e,i),s=!0),e[h]=o[h]||f[1])}return s}function Dm(e,t,n,r,i){return Pm(e,Hm(t,i.inHover),n&&Hm(n,i.inHover),r,i)}function Im(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function Lm(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];r=r||o.isZeroArea(),Im(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}n.allClipped=r}function Rm(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var jm=1,Nm=2,Bm=3,Fm=4;function zm(e){var t=xm(e),n=bm(e);return!(e.lineDash||!(+t^+n)||t&&"string"!==typeof e.fill||n&&"string"!==typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Um(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Hm(e,t){return t&&e.__hoverStyle||e.style}function Vm(e,t){Gm(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Gm(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=~Ze,void(t.__isRendered=!1);var o=t.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!dm(o,a)||(a&&a.length&&(Um(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Um(e,n),e.save(),Lm(o,e,n),s=!0),n.prevElClipPaths=o),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=t instanceof Wa&&t.autoBatch&&zm(t.style);s||Rm(i,u.transform)?(Um(e,n),Im(e,t)):c||Um(e,n);var f=Hm(t,n.inHover);t instanceof Wa?(n.lastDrawType!==jm&&(l=!0,n.lastDrawType=jm),Mm(e,t,u,l,n),c&&(n.batchFill||n.batchStroke)||e.beginPath(),Em(e,t,f,c),c&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):t instanceof Ya?(n.lastDrawType!==Bm&&(l=!0,n.lastDrawType=Bm),Mm(e,t,u,l,n),Cm(e,t,f)):t instanceof Qa?(n.lastDrawType!==Nm&&(l=!0,n.lastDrawType=Nm),Dm(e,t,u,l,n),Om(e,t,f)):t.getTemporalDisplayables&&(n.lastDrawType!==Fm&&(l=!0,n.lastDrawType=Fm),Wm(e,t,n)),c&&r&&Um(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}function Wm(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=t.getCursor(),a=r.length;o<a;o++){var l=r[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Gm(e,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=i.length;u<c;u++){l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Gm(e,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var qm=new $y,Xm=new Zn["a"](100),Ym=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Km(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&qm["delete"](e);var o=qm.get(e);if(o)return o;var a=Object(l["i"])(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,qm.set(e,s),e.dirty=!1,s;function u(e){for(var t,o=[n],s=!0,u=0;u<Ym.length;++u){var c=a[Ym[u]];if(null!=c&&!Object(l["t"])(c)&&!Object(l["C"])(c)&&!Object(l["z"])(c)&&"boolean"!==typeof c){s=!1;break}o.push(c)}if(s){t=o.join(",")+(i?"-svg":"");var f=Xm.get(t);f&&(i?e.svgElement=f:e.image=f)}var h,d=Zm(a.dashArrayX),p=Jm(a.dashArrayY),g=$m(a.symbol),v=Qm(d),y=eb(p),m=!i&&Jn["d"].createCanvas(),b=i&&{tag:"g",attrs:{},key:"dcl",children:[]},_=x();function x(){for(var e=1,t=0,n=v.length;t<n;++t)e=ai(e,v[t]);var r=1;for(t=0,n=g.length;t<n;++t)r=ai(r,g[t].length);e*=r;var i=y*v.length*g.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}function w(){h&&(h.clearRect(0,0,m.width,m.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,m.width,m.height)));for(var e=0,t=0;t<p.length;++t)e+=p[t];if(!(e<=0)){var o=-y,s=0,l=0,u=0;while(o<_.height){if(s%2===0){var c=l/2%g.length,f=0,v=0,x=0;while(f<2*_.width){var w=0;for(t=0;t<d[u].length;++t)w+=d[u][t];if(w<=0)break;if(v%2===0){var S=.5*(1-a.symbolSize),k=f+d[u][v]*S,E=o+p[s]*S,O=d[u][v]*a.symbolSize,C=p[s]*a.symbolSize,A=x/2%g[c].length;T(k,E,O,C,g[c][A])}f+=d[u][v],++x,++v,v===d[u].length&&(v=0)}++u,u===d.length&&(u=0)}o+=p[s],++l,++s,s===p.length&&(s=0)}}function T(e,t,o,s,l){var u=i?1:n,c=am(l,e*u,t*u,o*u,s*u,a.color,a.symbolKeepAspect);if(i){var f=r.painter.renderOneToVNode(c);f&&b.children.push(f)}else Vm(h,c)}}m&&(m.width=_.width*n,m.height=_.height*n,h=m.getContext("2d")),w(),s&&Xm.put(t,m||b),e.image=m,e.svgElement=b,e.svgWidth=_.width,e.svgHeight=_.height}}function $m(e){if(!e||0===e.length)return[["rect"]];if(Object(l["C"])(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!Object(l["C"])(e[n])){t=!1;break}if(t)return $m([e]);var r=[];for(n=0;n<e.length;++n)Object(l["C"])(e[n])?r.push([e[n]]):r.push(e[n]);return r}function Zm(e){if(!e||0===e.length)return[[0,0]];if(Object(l["z"])(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,r=0;r<e.length;++r)if(!Object(l["z"])(e[r])){n=!1;break}if(n)return Zm([e]);var i=[];for(r=0;r<e.length;++r)if(Object(l["z"])(e[r])){t=Math.ceil(e[r]);i.push([t,t])}else{t=Object(l["H"])(e[r],(function(e){return Math.ceil(e)}));t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function Jm(e){if(!e||"object"===typeof e&&0===e.length)return[0,0];if(Object(l["z"])(e)){var t=Math.ceil(e);return[t,t]}var n=Object(l["H"])(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}function Qm(e){return Object(l["H"])(e,(function(e){return eb(e)}))}function eb(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?2*t:t}function tb(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");if(n){var i=r.ensureUniqueItemVisual(e,"style");i.decal=Km(n,t)}}));var i=r.getVisual("decal");if(i){var o=r.getVisual("style");o.decal=Km(i,t)}}}))}var nb=new D,rb=nb,ib={};function ob(e,t){ib[e]=t}function ab(e){return ib[e]}var sb=1,lb=800,ub=900,cb=1e3,fb=2e3,hb=5e3,db=1e3,pb=1100,gb=2e3,vb=3e3,yb=4e3,mb=4500,bb=4600,_b=5e3,xb=6e3,wb=7e3,Sb={PROCESSOR:{FILTER:cb,SERIES_FILTER:lb,STATISTIC:hb},VISUAL:{LAYOUT:db,PROGRESSIVE_LAYOUT:pb,GLOBAL:gb,CHART:vb,POST_CHART_LAYOUT:bb,COMPONENT:yb,BRUSH:_b,CHART_ITEM:mb,ARIA:xb,DECAL:wb}},kb="__flagInMainProcess",Eb="__pendingUpdate",Ob="__needsUpdateStatus",Cb=/^[a-zA-Z0-9_]+$/,Ab="__connectUpdateStatus",Tb=0,Pb=1,Mb=2;function Db(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return Lb(this,e,t);i_(this.id)}}function Ib(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Lb(this,e,t)}}function Lb(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),D.prototype[t].apply(e,n)}var Rb,jb,Nb,Bb,Fb,zb,Ub,Hb,Vb,Gb,Wb,qb,Xb,Yb,Kb,$b,Zb,Jb,Qb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(D),e_=Qb.prototype;e_.on=Ib("on"),e_.off=Ib("off");var t_=function(e){function t(t,n,r){var i=e.call(this,new Ry)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},Object(l["C"])(n)&&(n=c_[n]),i._dom=t;var o="canvas",a="auto",s=!1;r.ssr&&Ir((function(e){var t=Cs(e),n=t.dataIndex;if(null!=n){var r=Object(l["f"])();return r.set("series_index",t.seriesIndex),r.set("data_index",n),t.ssrType&&r.set("ssr_type",t.ssrType),r}}));var u=i._zr=Pr(t,{renderer:r.renderer||o,devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:Object(l["P"])(r.useDirtyRect,s),useCoarsePointer:Object(l["P"])(r.useCoarsePointer,a),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=Zv(Object(l["c"])(u.flush,u),17),n=Object(l["d"])(n),n&&Eh(n,!0),i._theme=n,i._locale=Hu(r.locale||zu),i._coordSysMgr=new Yf;var c=i._api=Kb(i);function f(e,t){return e.__prio-t.__prio}return $e(u_,f),$e(s_,f),i._scheduler=new Oy(i,c,s_,u_),i._messageCenter=new Qb,i._initEvents(),i.resize=Object(l["c"])(i.resize,i),u.animation.on("frame",i._onframe,i),Gb(u,i),Wb(u,i),Object(l["R"])(i),i}return a(t,e),t.prototype._onframe=function(){if(!this._disposed){Jb(this);var e=this._scheduler;if(this[Eb]){var t=this[Eb].silent;this[kb]=!0;try{Rb(this),Bb.update.call(this,null,this[Eb].updateParams)}catch(a){throw this[kb]=!1,this[Eb]=null,a}this._zr.flush(),this[kb]=!1,this[Eb]=null,Hb.call(this,t),Vb.call(this,t)}else if(e.unfinished){var n=sb,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),zb(this,r),e.performVisualTasks(r),Yb(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[kb])if(this._disposed)i_(this.id);else{var r,i,o;if(Object(l["A"])(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this[kb]=!0,!this._model||t){var a=new th(this._api),s=this._theme,u=this._model=new Hf;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(e,{replaceMerge:i},l_);var c={seriesTransition:o,optionChanged:!0};if(n)this[Eb]={silent:r,updateParams:c},this[kb]=!1,this.getZr().wakeUp();else{try{Rb(this),Bb.update.call(this,null,c)}catch(f){throw this[Eb]=null,this[kb]=!1,f}this._ssr||this._zr.flush(),this[Eb]=null,this[kb]=!1,Hb.call(this,r),Vb.call(this,r)}}},t.prototype.setTheme=function(){Df("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||s["a"].hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(s["a"].svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(l["k"])(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;Object(l["k"])(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(l["k"])(r,(function(e){e.group.ignore=!1})),o}i_(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if(d_[n]){var a=o,s=o,u=-o,c=-o,f=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();Object(l["k"])(h_,(function(o,h){if(o.group===n){var d=t?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(l["d"])(e)),p=o.getDom().getBoundingClientRect();a=r(p.left,a),s=r(p.top,s),u=i(p.right,u),c=i(p.bottom,c),f.push({dom:d,left:p.left,top:p.top})}})),a*=h,s*=h,u*=h,c*=h;var d=u-a,p=c-s,g=Jn["d"].createCanvas(),v=Pr(g,{renderer:t?"svg":"canvas"});if(v.resize({width:d,height:p}),t){var y="";return Object(l["k"])(f,(function(e){var t=e.left-a,n=e.top-s;y+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),v.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&v.painter.setBackgroundColor(e.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return e.connectedBackgroundColor&&v.add(new ls({shape:{x:0,y:0,width:d,height:p},style:{fill:e.connectedBackgroundColor}})),Object(l["k"])(f,(function(e){var t=new Qa({style:{x:e.left*h-a,y:e.top*h-s,image:e.dom}});v.add(t)})),v.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}i_(this.id)},t.prototype.convertToPixel=function(e,t){return Fb(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return Fb(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=Li(r,e);return Object(l["k"])(i,(function(e,r){r.indexOf("Models")>=0&&Object(l["k"])(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0}),this)}),this),!!n}i_(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=Li(n,e,{defaultMainType:"series"}),i=r.seriesModel;var o=i.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=a?zy(o,a,t):Uy(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(l["k"])(r_,(function(t){var n=function(n){var r,i=e.getModel(),o=n.target,a="globalout"===t;if(a?r={}:o&&qy(o,(function(e){var t=Cs(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType,o)||{},!0}if(t.eventData)return r=Object(l["m"])({},t.eventData),!0}),!0),r){var s=r.componentType,u=r.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",u=r.seriesIndex);var c=s&&null!=u&&i.getComponent(s,u),f=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:c,view:f},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),Object(l["k"])(a_,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),Object(l["k"])(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),Wy(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?i_(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)i_(this.id);else{this._disposed=!0;var e=this.getDom();e&&Fi(this.getDom(),v_,"");var t=this,n=t._api,r=t._model;Object(l["k"])(t._componentsViews,(function(e){e.dispose(r,n)})),Object(l["k"])(t._chartsViews,(function(e){e.dispose(r,n)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete h_[t.id]}},t.prototype.resize=function(e){if(!this[kb])if(this._disposed)i_(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[Eb]&&(null==r&&(r=this[Eb].silent),n=!0,this[Eb]=null),this[kb]=!0;try{n&&Rb(this),Bb.update.call(this,{type:"resize",animation:Object(l["m"])({duration:0},e&&e.animation)})}catch(i){throw this[kb]=!1,i}this[kb]=!1,Hb.call(this,r),Vb.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)i_(this.id);else if(Object(l["A"])(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),f_[e]){var n=f_[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?i_(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(l["m"])({},e);return t.type=a_[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)i_(this.id);else if(Object(l["A"])(t)||(t={silent:!!t}),o_[e.type]&&this._model)if(this[kb])this._pendingActions.push(e);else{var n=t.silent;Ub.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&s["a"].browser.weChat&&this._throttledZrFlush(),Hb.call(this,n),Vb.call(this,n)}},t.prototype.updateLabelLayout=function(){rb.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)i_(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);0,r.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){var t=[],n=[],r=!1;if(e.eachComponent((function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})})),r){var i,o,a=t.concat(n);$e(a,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),Object(l["k"])(a,(function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,a=t.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)}))}}function n(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),e.hoverState===Rs&&e.states.emphasis?t.push("emphasis"):e.hoverState===Ls&&e.states.blur&&t.push("blur"),e.useStates(t)}function r(e,t){var n=e._zr,r=n.storage,i=0;r.traverse((function(e){e.isGroup||i++})),i>t.get("hoverLayerThreshold")&&!s["a"].node&&!s["a"].worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}function i(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}function o(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered((function(e){return u(e,n,r,-1/0),!0}))}}function u(e,t,n,r){var i=e.getTextContent(),o=e.getTextGuideLine(),a=e.isGroup;if(a)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(u(s[l],t,n,r),r);else e.z=t,e.zlevel=n,r=Math.max(e.z2,r);if(i&&(i.z=t,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),o){var c=e.textGuideLineConfig;o.z=t,o.zlevel=n,isFinite(r)&&(o.z2=r+(c&&c.showAbove?1:-1))}return r}function c(e,t){t.eachRendered((function(e){if(!ql(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}}))}function f(e,t){var r=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;t.eachRendered((function(e){if(e.states&&e.states.emphasis){if(ql(e))return;if(e instanceof Wa&&zl(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&n(e)}}))}Rb=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),jb(e,!0),jb(e,!1),t.plan()},jb=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(e){var l=e.__requireNewView;e.__requireNewView=!1;var u="_ec_"+e.id+"_"+e.type,c=!l&&o[u];if(!c){var f=Xi(e.type),h=t?Op.getClass(f.main,f.sub):Xv.getClass(f.sub);0,c=new h,c.init(n,s),o[u]=c,i.push(c),a.add(c.group)}e.__viewId=c.__id=u,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&r.prepareView(c,e,n,s)}t?n.eachComponent((function(e,t){"series"!==e&&u(t)})):n.eachSeries(u);for(l=0;l<i.length;){var c=i[l];c.__alive?l++:(!t&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Nb=function(e,t,n,r,i){var o=e._model;if(o.setUpdatePayload(n),r){var a={};a[r+"Id"]=n[r+"Id"],a[r+"Index"]=n[r+"Index"],a[r+"Name"]=n[r+"Name"];var s={mainType:r,query:a};i&&(s.subType=i);var u,c=n.excludeSeriesId;null!=c&&(u=Object(l["f"])(),Object(l["k"])(ci(c),(function(e){var t=ki(e,null);null!=t&&u.set(t,!0)}))),o&&o.eachComponent(s,(function(t){var r=u&&null!=u.get(t.id);if(!r)if(Fl(n))if(t instanceof kp)n.type!==zs||n.notBlur||t.get(["emphasis","disabled"])||_l(t,n,e._api);else{var i=xl(t.mainType,t.componentIndex,n.name,e._api),o=i.focusSelf,a=i.dispatchers;n.type===zs&&o&&!n.notBlur&&bl(t.mainType,t.componentIndex,e._api),a&&Object(l["k"])(a,(function(e){n.type===zs?cl(e):fl(e)}))}else Bl(n)&&t instanceof kp&&(kl(t,n,e._api),El(t),Zb(e))}),e),o&&o.eachComponent(s,(function(t){var n=u&&null!=u.get(t.id);n||f(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else Object(l["k"])([].concat(e._componentsViews).concat(e._chartsViews),f);function f(r){r&&r.__alive&&r[t]&&r[t](r.__model,o,e._api,n)}},Bb={prepareAndUpdate:function(e){Rb(this),Bb.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(t),s.restoreData(r,t),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,t),zb(this,r),a.update(r,i),e(r),s.performVisualTasks(r,t),qb(this,r,i,t,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),rb.trigger("afterupdate",r,i)}},updateTransform:function(t){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(t);var o=[];r.eachComponent((function(e,a){if("series"!==e){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,i,t);l&&l.update&&o.push(s)}else o.push(s)}}));var a=Object(l["f"])();r.eachSeries((function(e){var o=n._chartsMap[e.__viewId];if(o.updateTransform){var s=o.updateTransform(e,r,i,t);s&&s.update&&a.set(e.uid,1)}else a.set(e.uid,1)})),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:a}),Yb(this,r,i,t,{},a),rb.trigger("afterupdate",r,i)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),Xv.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),qb(this,n,this._api,t,{}),rb.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,r=this._model;r&&(r.setUpdatePayload(t),r.eachSeries((function(e){e.getData().clearAllVisual()})),Xv.markUpdateMethod(t,"updateVisual"),e(r),this._scheduler.performVisualTasks(r,t,{visualType:"visual",setDirty:!0}),r.eachComponent((function(e,i){if("series"!==e){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,t)}})),r.eachSeries((function(e){var i=n._chartsMap[e.__viewId];i.updateVisual(e,r,n._api,t)})),rb.trigger("afterupdate",r,this._api))},updateLayout:function(e){Bb.update.call(this,e)}},Fb=function(e,t,n,r){if(e._disposed)i_(e.id);else{for(var i,o=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=Li(o,n),l=0;l<a.length;l++){var u=a[l];if(u[t]&&null!=(i=u[t](o,s,r)))return i}0}},zb=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))},Ub=function(e,t){var n=this,r=this.getModel(),i=e.type,o=e.escapeConnect,a=o_[i],s=a.actionInfo,u=(s.update||"update").split(":"),c=u.pop(),f=null!=u[0]&&Xi(u[0]);this[kb]=!0;var h=[e],d=!1;e.batch&&(d=!0,h=Object(l["H"])(e.batch,(function(t){return t=Object(l["i"])(Object(l["m"])({},t),e),t.batch=null,t})));var p,g=[],v=Bl(e),y=Fl(e);if(y&&yl(this._api),Object(l["k"])(h,(function(t){if(p=a.action(t,n._model,n._api),p=p||Object(l["m"])({},t),p.type=s.event||p.type,g.push(p),y){var r=Ri(e),i=r.queryOptionMap,o=r.mainTypeSpecified,u=o?i.keys()[0]:"series";Nb(n,c,t,u),Zb(n)}else v?(Nb(n,c,t,"series"),Zb(n)):f&&Nb(n,c,t,f.main,f.sub)})),"none"!==c&&!y&&!v&&!f)try{this[Eb]?(Rb(this),Bb.update.call(this,e),this[Eb]=null):Bb[c].call(this,e)}catch(_){throw this[kb]=!1,_}if(p=d?{type:s.event||i,escapeConnect:o,batch:g}:g[0],this[kb]=!1,!t){var m=this._messageCenter;if(m.trigger(p.type,p),v){var b={type:"selectchanged",escapeConnect:o,selected:Ol(r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};m.trigger(b.type,b)}}},Hb=function(e){var t=this._pendingActions;while(t.length){var n=t.shift();Ub.call(this,n,e)}},Vb=function(e){!e&&this.trigger("updated")},Gb=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[Eb]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},Wb=function(e,t){e.on("mouseover",(function(e){var n=e.target,r=qy(n,Rl);r&&(wl(r,e,t._api),Zb(t))})).on("mouseout",(function(e){var n=e.target,r=qy(n,Rl);r&&(Sl(r,e,t._api),Zb(t))})).on("click",(function(e){var n=e.target,r=qy(n,(function(e){return null!=Cs(e).dataIndex}),!0);if(r){var i=r.selected?"unselect":"select",o=Cs(r);t._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},qb=function(e,n,r,i,o){t(n),Xb(e,n,r,i,o),Object(l["k"])(e._chartsViews,(function(e){e.__alive=!1})),Yb(e,n,r,i,o),Object(l["k"])(e._chartsViews,(function(e){e.__alive||e.remove(n,r)}))},Xb=function(e,t,n,r,i,a){Object(l["k"])(a||e._componentsViews,(function(e){var i=e.__model;c(i,e),e.render(i,t,n,r),o(i,e),f(i,e)}))},Yb=function(e,t,n,a,s,u){var h=e._scheduler;s=Object(l["m"])(s||{},{updatedSeries:t.getSeries()}),rb.trigger("series:beforeupdate",t,n,s);var d=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var r=n.renderTask;h.updatePayload(r,a),c(t,n),u&&u.get(t.uid)&&r.dirty(),r.perform(h.getPerformArgs(r))&&(d=!0),n.group.silent=!!t.get("silent"),i(t,n),El(t)})),h.unfinished=d||h.unfinished,rb.trigger("series:layoutlabels",t,n,s),rb.trigger("series:transition",t,n,s),t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];o(t,n),f(t,n)})),r(e,t),rb.trigger("series:afterupdate",t,n,s)},Zb=function(e){e[Ob]=!0,e.getZr().wakeUp()},Jb=function(e){e[Ob]&&(e.getZr().storage.traverse((function(e){ql(e)||n(e)})),e[Ob]=!1)},Kb=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){cl(t,n),Zb(e)},n.prototype.leaveEmphasis=function(t,n){fl(t,n),Zb(e)},n.prototype.enterBlur=function(t){hl(t),Zb(e)},n.prototype.leaveBlur=function(t){dl(t),Zb(e)},n.prototype.enterSelect=function(t){pl(t),Zb(e)},n.prototype.leaveSelect=function(t){gl(t),Zb(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(Wf))(e)},$b=function(e){function t(e,t){for(var n=0;n<e.length;n++){var r=e[n];r[Ab]=t}}Object(l["k"])(a_,(function(n,r){e._messageCenter.on(r,(function(n){if(d_[e.group]&&e[Ab]!==Tb){if(n&&n.escapeConnect)return;var r=e.makeActionFromEvent(n),i=[];Object(l["k"])(h_,(function(t){t!==e&&t.group===e.group&&i.push(t)})),t(i,Tb),Object(l["k"])(i,(function(e){e[Ab]!==Pb&&e.dispatchAction(r)})),t(i,Mb)}}))}))}}(),t}(D),n_=t_.prototype;n_.on=Db("on"),n_.off=Db("off"),n_.one=function(e,t,n){var r=this;function i(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t&&t.apply&&t.apply(this,n),r.off(e,i)}Df("ECharts#one is deprecated."),this.on.call(this,e,i,n)};var r_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function i_(e){0}var o_={},a_={},s_=[],l_=[],u_=[],c_={},f_={},h_={},d_={},p_=+new Date-0,g_=+new Date-0,v_="_echarts_instance_";function y_(e,t,n){var r=!(n&&n.ssr);if(r){0;var i=x_(e);if(i)return i;0}var o=new t_(e,t,n);return o.id="ec_"+p_++,h_[o.id]=o,r&&Fi(e,v_,o.id),$b(o),rb.trigger("afterinit",o),o}function m_(e){if(Object(l["t"])(e)){var t=e;e=null,Object(l["k"])(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+g_++,Object(l["k"])(t,(function(t){t.group=e}))}return d_[e]=!0,e}function b_(e){d_[e]=!1}var __=b_;function x_(e){return h_[zi(e,v_)]}function w_(e,t){c_[e]=t}function S_(e){Object(l["r"])(l_,e)<0&&l_.push(e)}function k_(e,t){I_(s_,e,t,fb)}function E_(e){C_("afterinit",e)}function O_(e){C_("afterupdate",e)}function C_(e,t){rb.on(e,t)}function A_(e,t,n){Object(l["w"])(t)&&(n=t,t="");var r=Object(l["A"])(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,a_[t]||(Object(l["b"])(Cb.test(r)&&Cb.test(t)),o_[r]||(o_[r]={action:n,actionInfo:e}),a_[t]=r)}function T_(e,t){Yf.register(e,t)}function P_(e,t){I_(u_,e,t,db,"layout")}function M_(e,t){I_(u_,e,t,vb,"visual")}var D_=[];function I_(e,t,n,r,i){if((Object(l["w"])(t)||Object(l["A"])(t))&&(n=t,t=r),!(Object(l["r"])(D_,n)>=0)){D_.push(n);var o=Oy.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function L_(e,t){f_[e]=t}function R_(e,t,n){var r=ab("registerMap");r&&r(e,t,n)}function j_(e){var t=ab("getMap");return t&&t(e)}var N_=Sd;M_(gb,oy),M_(mb,sy),M_(mb,ly),M_(gb,By),M_(mb,Fy),M_(wb,tb),S_(Eh),k_(ub,Oh),L_("default",cy),A_({type:zs,event:zs,update:zs},l["L"]),A_({type:Us,event:Us,update:Us},l["L"]),A_({type:Hs,event:Hs,update:Hs},l["L"]),A_({type:Vs,event:Vs,update:Vs},l["L"]),A_({type:Gs,event:Gs,update:Gs},l["L"]),w_("light",Ay),w_("dark",Ly);var B_=[],F_={registerPreprocessor:S_,registerProcessor:k_,registerPostInit:E_,registerPostUpdate:O_,registerUpdateLifecycle:C_,registerAction:A_,registerCoordinateSystem:T_,registerLayout:P_,registerVisual:M_,registerTransform:N_,registerLoading:L_,registerMap:R_,registerImpl:ob,PRIORITY:Sb,ComponentModel:$c,ComponentView:Op,SeriesModel:kp,ChartView:Xv,registerComponentModel:function(e){$c.registerClass(e)},registerComponentView:function(e){Op.registerClass(e)},registerSeriesModel:function(e){kp.registerClass(e)},registerChartView:function(e){Xv.registerClass(e)},registerSubTypeDefaulter:function(e,t){$c.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Mr(e,t)}};function z_(e){Object(l["t"])(e)?Object(l["k"])(e,(function(e){z_(e)})):Object(l["r"])(B_,e)>=0||(B_.push(e),Object(l["w"])(e)&&(e={install:e}),e.install(F_))}var U_=2*Math.PI,H_=ba.CMD,V_=["top","right","bottom","left"];function G_(e,t,n,r,i){var o=n.width,a=n.height;switch(e){case"top":r.set(n.x+o/2,n.y-t),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+t),i.set(0,1);break;case"left":r.set(n.x-t,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+t,n.y+a/2),i.set(1,0);break}}function W_(e,t,n,r,i,o,a,s,l){a-=e,s-=t;var u=Math.sqrt(a*a+s*s);a/=u,s/=u;var c=a*n+e,f=s*n+t;if(Math.abs(r-i)%U_<1e-4)return l[0]=c,l[1]=f,u-n;if(o){var h=r;r=ka(i),i=ka(h)}else r=ka(r),i=ka(i);r>i&&(i+=U_);var d=Math.atan2(s,a);if(d<0&&(d+=U_),d>=r&&d<=i||d+U_>=r&&d+U_<=i)return l[0]=c,l[1]=f,u-n;var p=n*Math.cos(r)+e,g=n*Math.sin(r)+t,v=n*Math.cos(i)+e,y=n*Math.sin(i)+t,m=(p-a)*(p-a)+(g-s)*(g-s),b=(v-a)*(v-a)+(y-s)*(y-s);return m<b?(l[0]=p,l[1]=g,Math.sqrt(m)):(l[0]=v,l[1]=y,Math.sqrt(b))}function q_(e,t,n,r,i,o,a,s){var l=i-e,u=o-t,c=n-e,f=r-t,h=Math.sqrt(c*c+f*f);c/=h,f/=h;var d=l*c+u*f,p=d/h;s&&(p=Math.min(Math.max(p,0),1)),p*=h;var g=a[0]=e+p*c,v=a[1]=t+p*f;return Math.sqrt((g-i)*(g-i)+(v-o)*(v-o))}function X_(e,t,n,r,i,o,a){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r);var s=e+n,l=t+r,u=a[0]=Math.min(Math.max(i,e),s),c=a[1]=Math.min(Math.max(o,t),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var Y_=[];function K_(e,t,n){var r=X_(t.x,t.y,t.width,t.height,e.x,e.y,Y_);return n.set(Y_[0],Y_[1]),r}function $_(e,t,n){for(var r,i,o=0,a=0,s=0,l=0,u=1/0,c=t.data,f=e.x,h=e.y,d=0;d<c.length;){var p=c[d++];1===d&&(o=c[d],a=c[d+1],s=o,l=a);var g=u;switch(p){case H_.M:s=c[d++],l=c[d++],o=s,a=l;break;case H_.L:g=q_(o,a,c[d],c[d+1],f,h,Y_,!0),o=c[d++],a=c[d++];break;case H_.C:g=Et(o,a,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],f,h,Y_),o=c[d++],a=c[d++];break;case H_.Q:g=Dt(o,a,c[d++],c[d++],c[d],c[d+1],f,h,Y_),o=c[d++],a=c[d++];break;case H_.A:var v=c[d++],y=c[d++],m=c[d++],b=c[d++],_=c[d++],x=c[d++];d+=1;var w=!!(1-c[d++]);r=Math.cos(_)*m+v,i=Math.sin(_)*b+y,d<=1&&(s=r,l=i);var S=(f-v)*b/m+v;g=W_(v,y,b,_,_+x,w,S,h,Y_),o=Math.cos(_+x)*m+v,a=Math.sin(_+x)*b+y;break;case H_.R:s=o=c[d++],l=a=c[d++];var k=c[d++],E=c[d++];g=X_(s,l,k,E,f,h,Y_);break;case H_.Z:g=q_(o,a,s,l,f,h,Y_,!0),o=s,a=l;break}g<u&&(u=g,n.set(Y_[0],Y_[1]))}return u}var Z_=new me,J_=new me,Q_=new me,ex=new me,tx=new me;function nx(e,t){if(e){var n=e.getTextGuideLine(),r=e.getTextContent();if(r&&n){var i=e.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||V_,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var l=1/0,u=i.anchor,c=e.getComputedTransform(),f=c&&ge([],c),h=t.get("length2")||0;u&&Q_.copy(u);for(var d=0;d<a.length;d++){var p=a[d];G_(p,0,s,Z_,ex),me.scaleAndAdd(J_,Z_,ex,h),J_.transform(f);var g=e.getBoundingRect(),v=u?u.distance(J_):e instanceof Wa?$_(J_,e.path,Q_):K_(J_,g,Q_);v<l&&(l=v,J_.transform(c),Q_.transform(c),Q_.toArray(o[0]),J_.toArray(o[1]),Z_.toArray(o[2]))}ox(o,t.get("minTurnAngle")),n.setShape({points:o})}}}var rx=[],ix=new me;function ox(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Z_.fromArray(e[0]),J_.fromArray(e[1]),Q_.fromArray(e[2]),me.sub(ex,Z_,J_),me.sub(tx,Q_,J_);var n=ex.len(),r=tx.len();if(!(n<.001||r<.001)){ex.scale(1/n),tx.scale(1/r);var i=ex.dot(tx),o=Math.cos(t);if(o<i){var a=q_(J_.x,J_.y,Q_.x,Q_.y,Z_.x,Z_.y,rx,!1);ix.fromArray(rx),ix.scaleAndAdd(tx,a/Math.tan(Math.PI-t));var s=Q_.x!==J_.x?(ix.x-J_.x)/(Q_.x-J_.x):(ix.y-J_.y)/(Q_.y-J_.y);if(isNaN(s))return;s<0?me.copy(ix,J_):s>1&&me.copy(ix,Q_),ix.toArray(e[1])}}}}function ax(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Z_.fromArray(e[0]),J_.fromArray(e[1]),Q_.fromArray(e[2]),me.sub(ex,J_,Z_),me.sub(tx,Q_,J_);var r=ex.len(),i=tx.len();if(!(r<.001||i<.001)){ex.scale(1/r),tx.scale(1/i);var o=ex.dot(t),a=Math.cos(n);if(o<a){var s=q_(J_.x,J_.y,Q_.x,Q_.y,Z_.x,Z_.y,rx,!1);ix.fromArray(rx);var l=Math.PI/2,u=Math.acos(tx.dot(t)),c=l+u-n;if(c>=l)me.copy(ix,Q_);else{ix.scaleAndAdd(tx,s/Math.tan(Math.PI/2-c));var f=Q_.x!==J_.x?(ix.x-J_.x)/(Q_.x-J_.x):(ix.y-J_.y)/(Q_.y-J_.y);if(isNaN(f))return;f<0?me.copy(ix,J_):f>1&&me.copy(ix,Q_)}ix.toArray(e[1])}}}}function sx(e,t,n,r){var i="normal"===n,o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function lx(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=x(r[0],r[1]),o=x(r[1],r[2]);if(!i||!o)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=k([],r[1],r[0],a/i),l=k([],r[1],r[2],a/o),u=k([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)e.lineTo(r[c][0],r[c][1])}function ux(e,t,n){var r=e.getTextGuideLine(),i=e.getTextContent();if(i){for(var o=t.normal,a=o.get("show"),s=i.ignore,u=0;u<Ns.length;u++){var c=Ns[u],f=t[c],h="normal"===c;if(f){var d=f.get("show"),p=h?s:Object(l["P"])(i.states[c]&&i.states[c].ignore,s);if(p||!Object(l["P"])(d,a)){var g=h?r:r&&r.states[c];g&&(g.ignore=!0),r&&sx(r,!0,c,f);continue}r||(r=new Mg,e.setTextGuideLine(r),h||!s&&a||sx(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),sx(r,!1,c,f)}}if(r){Object(l["i"])(r.style,n),r.style.fill=null;var v=o.get("showAbove"),y=e.textGuideLineConfig=e.textGuideLineConfig||{};y.showAbove=v||!1,r.buildPath=lx}}else r&&e.removeTextGuideLine()}function cx(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<js.length;r++){var i=js[r];n[i]=e.getModel([i,t])}return n}function fx(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new rv(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:u,localRect:a,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function hx(e,t,n,r,i,o){var a=e.length;if(!(a<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var s,l=0,u=!1,c=[],f=0,h=0;h<a;h++){var d=e[h],p=d.rect;s=p[t]-l,s<0&&(p[t]-=s,d.label[t]-=s,u=!0);var g=Math.max(-s,0);c.push(g),f+=g,l=p[t]+p[n]}f>0&&o&&w(-f/a,0,a);var v,y,m=e[0],b=e[a-1];return _(),v<0&&S(-v,.8),y<0&&S(y,.8),_(),x(v,y,1),x(y,v,-1),_(),v<0&&k(-v),y<0&&k(y),u}function _(){v=m.rect[t]-r,y=i-b.rect[t]-b.rect[n]}function x(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){w(r*n,0,a);var i=r+e;i<0&&S(-i*n,1)}else S(-e*n,1)}}function w(n,r,i){0!==n&&(u=!0);for(var o=r;o<i;o++){var a=e[o],s=a.rect;s[t]+=n,a.label[t]+=n}}function S(r,i){for(var o=[],s=0,l=1;l<a;l++){var u=e[l-1].rect,c=Math.max(e[l].rect[t]-u[t]-u[n],0);o.push(c),s+=c}if(s){var f=Math.min(Math.abs(r)/s,i);if(r>0)for(l=0;l<a-1;l++){var h=o[l]*f;w(h,0,l+1)}else for(l=a-1;l>0;l--){h=o[l-1]*f;w(-h,l,a)}}}function k(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r<a-1;r++)if(t>0?w(n,0,r+1):w(-n,a-r-1,a),e-=n,e<=0)return}}function dx(e,t,n,r){return hx(e,"x","width",t,n,r)}function px(e,t,n,r){return hx(e,"y","height",t,n,r)}function gx(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new Ae(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var f=o.obb,h=!1,d=0;d<t.length;d++){var p=t[d];if(n.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new rv(p.localRect,p.transform)),f||(f=new rv(s,l)),f.intersect(p.obb)){h=!0;break}}}h?(r(u),c&&r(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function vx(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function yx(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:vx(r&&r.shape.points)}}var mx=["align","verticalAlign","width","height","fontSize"],bx=new $n,_x=Di(),xx=Di();function wx(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null!=t[i]&&(e[i]=t[i])}}var Sx=["x","y","rotation"],kx=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,r,i){var o=r.style,a=r.__hostTarget,s=a.textConfig||{},l=r.getComputedTransform(),u=r.getBoundingRect().plain();Ae.applyTransform(u,u,l),l?bx.setLocalTransform(l):(bx.x=bx.y=bx.rotation=bx.originX=bx.originY=0,bx.scaleX=bx.scaleY=1),bx.rotation=ka(bx.rotation);var c,f=r.__hostTarget;if(f){c=f.getBoundingRect().plain();var h=f.getComputedTransform();Ae.applyTransform(c,c,h)}var d=c&&f.getTextGuideLine();this._labelList.push({label:r,labelLine:d,seriesModel:n,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:d&&d.ignore,x:bx.x,y:bx.y,scaleX:bx.scaleX,scaleY:bx.scaleY,rotation:bx.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,r=n.get("labelLayout");(Object(l["w"])(r)||Object(l["F"])(r).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var i=e.getTextContent(),o=Cs(e);i&&!i.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,n,i,r)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function r(e,t){return function(){nx(e,t)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],a=o.label,s=a.__hostTarget,u=o.defaultAttr,c=void 0;c=Object(l["w"])(o.layoutOption)?o.layoutOption(yx(o,s)):o.layoutOption,c=c||{},o.computedLayoutOption=c;var f=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:u.attachedPos,rotation:null!=c.rotate?c.rotate*f:u.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(null!=c.x?(a.x=Br(c.x,t),a.setStyle("x",0),h=!0):(a.x=u.x,a.setStyle("x",u.style.x)),null!=c.y?(a.y=Br(c.y,n),a.setStyle("y",0),h=!0):(a.y=u.y,a.setStyle("y",u.style.y)),c.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:c.labelLinePoints}),h=!1)}var p=_x(a);p.needsUpdateLabelLine=h,a.rotation=null!=c.rotate?c.rotate*f:u.rotation,a.scaleX=u.scaleX,a.scaleY=u.scaleY;for(var g=0;g<mx.length;g++){var v=mx[g];a.setStyle(v,null!=c[v]?c[v]:u.style[v])}if(c.draggable){if(a.draggable=!0,a.cursor="move",s){var y=o.seriesModel;if(null!=o.dataIndex){var m=o.seriesModel.getData(o.dataType);y=m.getItemModel(o.dataIndex)}a.on("drag",r(s,y.getModel("labelLine")))}}else a.off("drag"),a.cursor=u.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),n=e.getHeight(),r=fx(this._labelList),i=Object(l["n"])(r,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),o=Object(l["n"])(r,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));dx(i,0,t),px(o,0,n);var a=Object(l["n"])(r,(function(e){return e.layoutOption.hideOverlap}));gx(a)},e.prototype.processLabelsOverall=function(){var e=this;Object(l["k"])(this._chartViewList,(function(t){var n=t.__model,r=t.ignoreLabelLineUpdate,i=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var o=!r,a=t.getTextContent();!o&&a&&(o=_x(a).needsUpdateLabelLine),o&&e._updateLabelLine(t,n),i&&e._animateLabels(t,n)}))}))},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),r=Cs(e),i=r.dataIndex;if(n&&null!=i){var o=t.getData(r.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");ux(e,cx(a),s),nx(e,c)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),r=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!ql(e))){var i=_x(n),o=i.oldLayout,a=Cs(e),s=a.dataIndex,u={x:n.x,y:n.y,rotation:n.rotation},c=t.getData(a.dataType);if(o){n.attr(o);var f=e.prevStates;f&&(Object(l["r"])(f,"select")>=0&&n.attr(i.oldLayoutSelect),Object(l["r"])(f,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),Gl(n,u,t,s)}else if(n.attr(u),!hu(n).valueAnimation){var h=Object(l["P"])(n.style.opacity,1);n.style.opacity=0,Wl(n,{style:{opacity:h}},t,s)}if(i.oldLayout=u,n.states.select){var d=i.oldLayoutSelect={};wx(d,u,Sx),wx(d,n.states.select,Sx)}if(n.states.emphasis){var p=i.oldLayoutEmphasis={};wx(p,u,Sx),wx(p,n.states.emphasis,Sx)}pu(n,s,c,t,t)}if(r&&!r.ignore&&!r.invisible){i=xx(r),o=i.oldLayout;var g={points:r.shape.points};o?(r.attr({shape:o}),Gl(r,{shape:g},t)):(r.setShape(g),r.style.strokePercent=0,Wl(r,{style:{strokePercent:1}},t)),i.oldLayout=g}},e}(),Ex=kx,Ox=Di();function Cx(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var r=Ox(t).labelManager;r||(r=Ox(t).labelManager=new Ex),r.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=Ox(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}function Ax(e,t,n){var r=Jn["d"].createCanvas(),i=t.getWidth(),o=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=o*n,r}z_(Cx);var Tx=function(e){function t(t,n,r){var i,o=e.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,r=r||Rn,"string"===typeof t?i=Ax(t,n,r):l["A"](t)&&(i=t,t=i.id),o.id=t,o.dom=i;var a=i.style;return a&&(l["j"](i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=r,o}return a(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=Ax("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new Ae(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===o.length){var t=new Ae(0,0,0,0);t.copy(e),o.push(t)}else{for(var n=!1,r=1/0,i=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(e)){var f=new Ae(0,0,0,0);f.copy(c),f.union(e),o[u]=f,n=!0;break}if(s){l.copy(e),l.union(c);var h=e.width*e.height,d=c.width*c.height,p=l.width*l.height,g=p-h-d;g<r&&(r=g,i=u)}}if(s&&(o[i].union(e),n=!0),!n){t=new Ae(0,0,0,0);t.copy(e),o.push(t)}s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var f=e[c];if(f){var h=f.shouldBePainted(n,r,!0,!0),d=f.__isRendered&&(f.__dirty&Ze||!h)?f.getPrevPaintRect():null;d&&u(d);var p=h&&(f.__dirty&Ze||!f.__isRendered)?f.getPaintRect():null;p&&u(p)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){f=t[c],h=f&&f.shouldBePainted(n,r,!0,!0);if(f&&(!h||!f.__zr)&&f.__isRendered){d=f.getPrevPaintRect();d&&u(d)}}do{i=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(i=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(i);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var r=this.dom,i=this.ctx,o=r.width,a=r.height;t=t||this.clearColor;var s=this.motionBlur&&!e,u=this.lastFrameAlpha,c=this.dpr,f=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/c,a/c));var h=this.domBack;function d(e,n,r,o){if(i.clearRect(e,n,r,o),t&&"transparent"!==t){var a=void 0;if(l["x"](t)){var d=t.global||t.__width===r&&t.__height===o;a=d&&t.__canvasGradient||hm(i,t,{x:0,y:0,width:r,height:o}),t.__canvasGradient=a,t.__width=r,t.__height=o}else l["y"](t)&&(t.scaleX=t.scaleX||c,t.scaleY=t.scaleY||c,a=km(i,t,{dirty:function(){f.setUnpainted(),f.painter.refresh()}}));i.save(),i.fillStyle=a||t,i.fillRect(e,n,r,o),i.restore()}s&&(i.save(),i.globalAlpha=u,i.drawImage(h,e,n,r,o),i.restore())}!n||s?d(0,0,o,a):n.length&&l["k"](n,(function(e){d(e.x*c,e.y*c,e.width*c,e.height*c)}))},t}(D),Px=Tx,Mx=1e5,Dx=314159,Ix=.01,Lx=.001;function Rx(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}function jx(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var Nx=function(){function e(e,t,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=l["m"]({},n||{}),this.dpr=n.devicePixelRatio||Rn,this._singleCanvas=i,this.root=e;var o=e.style;o&&(l["j"](e),e.innerHTML=""),this.storage=t;var a=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,c=u.width,f=u.height;null!=n.width&&(c=n.width),null!=n.height&&(f=n.height),this.dpr=n.devicePixelRatio||1,u.width=c*this.dpr,u.height=f*this.dpr,this._width=c,this._height=f;var h=new Px(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Dx]=h,h.zlevel=Dx,a.push(Dx),this._domRoot=e}else{this._width=gm(e,0,n),this._height=gm(e,1,n);var d=this._domRoot=jx(this._width,this._height);e.appendChild(d)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(Mx)),r||(r=n.ctx,r.save()),Gm(r,a,i,o===t-1))}r&&r.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(Mx)},e.prototype.paintOne=function(e,t){Vm(e,t)},e.prototype._paintList=function(e,t,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),o)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;at((function(){s._paintList(e,t,n,r)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(Dx).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var r=this,i=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var u=this._zlevelList[a],c=this._layers[u];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||n)&&i.push(c)}for(var f=!0,h=!1,d=function(a){var s,l=i[a],u=l.ctx,c=o&&l.createRepaintRects(e,t,p._width,p._height),d=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,v=g&&Date.now(),y=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,y,c);else if(d===l.__startIndex){var m=e[d];m.incremental&&m.notClear&&!n||l.clear(!1,y,c)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=l.__startIndex);var b=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=d;s<l.__endIndex;s++){var i=e[s];if(i.__inHover&&(h=!0),r._doPaintEl(i,l,o,t,n,s===l.__endIndex-1),g){var a=Date.now()-v;if(a>15)break}}n.prevElClipPaths&&u.restore()};if(c)if(0===c.length)s=l.__endIndex;else for(var _=p.dpr,x=0;x<c.length;++x){var w=c[x];u.save(),u.beginPath(),u.rect(w.x*_,w.y*_,w.width*_,w.height*_),u.clip(),b(w),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(f=!1)},p=this,g=0;g<i.length;g++)d(g);return s["a"].wxa&&l["k"](this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:f,needsRefreshHover:h}},e.prototype._doPaintEl=function(e,t,n,r,i,o){var a=t.ctx;if(n){var s=e.getPaintRect();(!r||s&&s.intersect(r))&&(Gm(a,e,i,o),e.setPrevPaintRect(s))}else Gm(a,e,i,o)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Dx);var n=this._layers[e];return n||(n=new Px("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?l["I"](n,this._layerConfig[e],!0):this._layerConfig[e-Ix]&&l["I"](n,this._layerConfig[e-Ix],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(!n[e]&&Rx(t)){if(i>0&&e>r[0]){for(s=0;s<i-1;s++)if(r[s]<e&&r[s+1]>e)break;a=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];e.call(t,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){a&&(a.__endIndex!==e&&(a.__dirty=!0),a.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var r=e[n];if(r.zlevel!==e[n-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var i,o,a=null,s=0;for(o=0;o<e.length;o++){r=e[o];var u=r.zlevel,c=void 0;i!==u&&(i=u,s=0),r.incremental?(c=this.getLayer(u+Lx,this._needsManuallyCompositing),c.incremental=!0,s=1):c=this.getLayer(u+(s>0?Ix:0),this._needsManuallyCompositing),c.__builtin__||l["G"]("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,t(o),a=c),r.__dirty&Ze&&!r.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}t(o),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,l["k"](this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?l["I"](n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+Ix){var o=this._layers[i];l["I"](o,n[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(l["r"](n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=gm(i,0,r),t=gm(i,1,r),n.style.display="",this._width!==e||t!==this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(Dx).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Dx].dom;var t=new Px("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Gm(n,u,o,s===l-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}(),Bx=Nx;function Fx(e){e.registerPainter("canvas",Bx)}var zx=Math.sin,Ux=Math.cos,Hx=Math.PI,Vx=2*Math.PI,Gx=180/Hx,Wx=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){this._add("C",e,t,n,r,i,o)},e.prototype.quadraticCurveTo=function(e,t,n,r){this._add("Q",e,t,n,r)},e.prototype.arc=function(e,t,n,r,i,o){this.ellipse(e,t,n,n,0,r,i,o)},e.prototype.ellipse=function(e,t,n,r,i,o,a,s){var l=a-o,u=!s,c=Math.abs(l),f=Object(Ft["j"])(c-Vx)||(u?l>=Vx:-l>=Vx),h=l>0?l%Vx:l%Vx+Vx,d=!1;d=!!f||!Object(Ft["j"])(c)&&h>=Hx===!!u;var p=e+n*Ux(o),g=t+r*zx(o);this._start&&this._add("M",p,g);var v=Math.round(i*Gx);if(f){var y=1/this._p,m=(u?1:-1)*(Vx-y);this._add("A",n,r,v,1,+u,e+n*Ux(o+m),t+r*zx(o+m)),y>.01&&this._add("A",n,r,v,0,+u,p,g)}else{var b=e+n*Ux(a),_=t+r*zx(a);this._add("A",n,r,v,+d,+u,b,_)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,i,o,a,s,l){for(var u=[],c=this._p,f=1;f<arguments.length;f++){var h=arguments[f];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*c)/c)}this._d.push(e+u.join(" ")),this._start="Z"===e},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),qx=Wx,Xx="none",Yx=Math.round;function Kx(e){var t=e.fill;return null!=t&&t!==Xx}function $x(e){var t=e.stroke;return null!=t&&t!==Xx}var Zx=["lineCap","miterLimit","lineJoin"],Jx=Object(l["H"])(Zx,(function(e){return"stroke-"+e.toLowerCase()}));function Qx(e,t,n,r){var i=null==t.opacity?1:t.opacity;if(n instanceof Qa)e("opacity",i);else{if(Kx(t)){var o=Object(Ft["p"])(t.fill);e("fill",o.color);var a=null!=t.fillOpacity?t.fillOpacity*o.opacity*i:o.opacity*i;(r||a<1)&&e("fill-opacity",a)}else e("fill",Xx);if($x(t)){var s=Object(Ft["p"])(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?n.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=null!=t.strokeOpacity?t.strokeOpacity*s.opacity*i:s.opacity*i,f=t.strokeFirst;if((r||1!==u)&&e("stroke-width",u),(r||f)&&e("paint-order",f?"stroke":"fill"),(r||c<1)&&e("stroke-opacity",c),t.lineDash){var h=ym(n),d=h[0],p=h[1];d&&(p=Yx(p||0),e("stroke-dasharray",d.join(",")),(p||r)&&e("stroke-dashoffset",p))}else r&&e("stroke-dasharray",Xx);for(var g=0;g<Zx.length;g++){var v=Zx[g];if(r||t[v]!==Ua[v]){var y=t[v]||Ua[v];y&&e(Jx[g],y)}}}else r&&e("stroke",Xx)}}var ew="http://www.w3.org/2000/svg",tw="http://www.w3.org/1999/xlink",nw="http://www.w3.org/2000/xmlns/",rw="http://www.w3.org/XML/1998/namespace",iw="ecmeta_";function ow(e){return document.createElementNS(ew,e)}function aw(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function sw(e,t){var n=[];if(t)for(var r in t){var i=t[r],o=r;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),n.push(o))}return"<"+e+" "+n.join(" ")+">"}function lw(e){return"</"+e+">"}function uw(e,t){t=t||{};var n=t.newline?"\n":"";function r(e){var t=e.children,i=e.tag,o=e.attrs,a=e.text;return sw(i,o)+("style"!==i?W(a):a||"")+(t?""+n+Object(l["H"])(t,(function(e){return r(e)})).join(n)+n:"")+lw(i)}return r(e)}function cw(e,t,n){n=n||{};var r=n.newline?"\n":"",i=" {"+r,o=r+"}",a=Object(l["H"])(Object(l["F"])(e),(function(t){return t+i+Object(l["H"])(Object(l["F"])(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(r)+o})).join(r),s=Object(l["H"])(Object(l["F"])(t),(function(e){return"@keyframes "+e+i+Object(l["H"])(Object(l["F"])(t[e]),(function(n){return n+i+Object(l["H"])(Object(l["F"])(t[e][n]),(function(r){var i=t[e][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+o})).join(r)+o})).join(r);return a||s?["<![CDATA[",a,s,"]]>"].join(r):""}function fw(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function hw(e,t,n,r){return aw("svg","root",{width:e,height:t,xmlns:ew,"xmlns:xlink":tw,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}var dw=0;function pw(){return dw++}var gw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},vw="transform-origin";function yw(e,t,n){var r=Object(l["m"])({},e.shape);Object(l["m"])(r,t),e.buildPath(n,r);var i=new qx;return i.reset(Object(Ft["f"])(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function mw(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[vw]=n+"px "+r+"px")}var bw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function _w(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function xw(e,t,n){var r,i,o=e.shape.paths,a={};if(Object(l["k"])(o,(function(e){var t=fw(n.zrId);t.animation=!0,Sw(e,{},t,!0);var o=t.cssAnims,s=t.cssNodes,u=Object(l["F"])(o),c=u.length;if(c){i=u[c-1];var f=o[i];for(var h in f){var d=f[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var p in s){var g=s[p].animation;g.indexOf(i)>=0&&(r=g)}}})),r){t.d=!1;var s=_w(a,n);return r.replace(i,s)}}function ww(e){return Object(l["C"])(e)?gw[e]?"cubic-bezier("+gw[e]+")":Rt(e)?e:"":""}function Sw(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof Wg){var s=xw(e,t,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var u={},c=0;c<o;c++){var f=i[c],h=[f.getMaxTime()/1e3+"s"],d=ww(f.getClip().easing),p=f.getDelay();d?h.push(d):h.push("linear"),p&&h.push(p/1e3+"s"),f.getLoop()&&h.push("infinite");var g=h.join(" ");u[g]=u[g]||[g,[]],u[g][1].push(f)}function v(i){var o,a=i[1],s=a.length,u={},c={},f={},h="animation-timing-function";function d(e,t,n){for(var r=e.getTracks(),i=e.getMaxTime(),o=0;o<r.length;o++){var a=r[o];if(a.needsAnimate()){var s=a.keyframes,u=a.propName;if(n&&(u=n(u)),u)for(var c=0;c<s.length;c++){var f=s[c],d=Math.round(f.time/i*100)+"%",p=ww(f.easing),g=f.rawValue;(Object(l["C"])(g)||Object(l["z"])(g))&&(t[d]=t[d]||{},t[d][u]=f.rawValue,p&&(t[d][h]=p))}}}}for(var p=0;p<s;p++){var g=a[p],v=g.targetName;v?"shape"===v&&d(g,c):!r&&d(g,u)}for(var y in u){var m={};Kn(m,e),Object(l["m"])(m,u[y]);var b=Object(Ft["g"])(m),_=u[y][h];f[y]=b?{transform:b}:{},mw(f[y],m),_&&(f[y][h]=_)}var x=!0;for(var y in c){f[y]=f[y]||{};var w=!o;_=c[y][h];w&&(o=new ba);var S=o.len();o.reset(),f[y].d=yw(e,c[y],o);var k=o.len();if(!w&&S!==k){x=!1;break}_&&(f[y][h]=_)}if(!x)for(var y in f)delete f[y].d;if(!r)for(p=0;p<s;p++){g=a[p],v=g.targetName;"style"===v&&d(g,f,(function(e){return bw[e]}))}var E,O=Object(l["F"])(f),C=!0;for(p=1;p<O.length;p++){var A=O[p-1],T=O[p];if(f[A][vw]!==f[T][vw]){C=!1;break}E=f[A][vw]}if(C&&E){for(var y in f)f[y][vw]&&delete f[y][vw];t[vw]=E}if(Object(l["n"])(O,(function(e){return Object(l["F"])(f[e]).length>0})).length){var P=_w(f,n);return P+" "+i[0]+" both"}}for(var y in u){s=v(u[y]);s&&a.push(s)}if(a.length){var m=n.zrId+"-cls-"+pw();n.cssNodes["."+m]={animation:a.join(",")},t["class"]=m}}function kw(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};Ew(r,t,n,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||a;l&&(o=Object(Bt["d"])(l))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u/=c}r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),Ew(r,t,n,!0)}}function Ew(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+pw(),n.cssStyleCache[i]=o,n.cssNodes["."+o+(r?":hover":"")]=e),t["class"]=t["class"]?t["class"]+" "+o:o}var Ow=Math.round;function Cw(e){return e&&Object(l["C"])(e.src)}function Aw(e){return e&&Object(l["w"])(e.toDataURL)}function Tw(e,t,n,r){Qx((function(i,o){var a="fill"===i||"stroke"===i;a&&Object(Ft["k"])(o)?Gw(t,e,i,r):a&&Object(Ft["n"])(o)?Ww(n,e,i,r):e[i]=a&&"none"===o?"transparent":o}),t,n,!1),Vw(n,e,r)}function Pw(e,t){var n=Dr(t);n&&(n.each((function(t,n){null!=t&&(e[(iw+n).toLowerCase()]=t+"")})),t.isSilent()&&(e[iw+"silent"]="true"))}function Mw(e){return Object(Ft["j"])(e[0]-1)&&Object(Ft["j"])(e[1])&&Object(Ft["j"])(e[2])&&Object(Ft["j"])(e[3]-1)}function Dw(e){return Object(Ft["j"])(e[4])&&Object(Ft["j"])(e[5])}function Iw(e,t,n){if(t&&(!Dw(t)||!Mw(t))){var r=n?10:1e4;e.transform=Mw(t)?"translate("+Ow(t[4]*r)/r+" "+Ow(t[5]*r)/r+")":Object(Ft["e"])(t)}}function Lw(e,t,n){for(var r=e.points,i=[],o=0;o<r.length;o++)i.push(Ow(r[o][0]*n)/n),i.push(Ow(r[o][1]*n)/n);t.points=i.join(" ")}function Rw(e){return!e.smooth}function jw(e){var t=Object(l["H"])(e,(function(e){return"string"===typeof e?[e,e]:e}));return function(e,n,r){for(var i=0;i<t.length;i++){var o=t[i],a=e[o[0]];null!=a&&(n[o[1]]=Ow(a*r)/r)}}}var Nw={circle:[jw(["cx","cy","r"])],polyline:[Lw,Rw],polygon:[Lw,Rw]};function Bw(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}function Fw(e,t){var n=e.style,r=e.shape,i=Nw[e.type],o={},a=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&Object(Ft["f"])(e)||4;if(!i||t.willUpdate||i[1]&&!i[1](r)||a&&Bw(e)||l<1){var c=!e.path||e.shapeChanged();e.path||e.createPathProxy();var f=e.path;c&&(f.beginPath(),e.buildPath(f,e.shape),e.pathUpdated());var h=f.getVersion(),d=e,p=d.__svgPathBuilder;d.__svgPathVersion===h&&p&&l===d.__svgPathStrokePercent||(p||(p=d.__svgPathBuilder=new qx),p.reset(u),f.rebuildPath(p,l),p.generateStr(),d.__svgPathVersion=h,d.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=e.type;var g=Math.pow(10,u);i[0](r,o,g)}return Iw(o,e.transform),Tw(o,n,e,t),Pw(o,e),t.animation&&Sw(e,o,t),t.emphasis&&kw(e,o,t),aw(s,e.id+"",o)}function zw(e,t){var n=e.style,r=n.image;if(r&&!Object(l["C"])(r)&&(Cw(r)?r=r.src:Aw(r)&&(r=r.toDataURL())),r){var i=n.x||0,o=n.y||0,a=n.width,s=n.height,u={href:r,width:a,height:s};return i&&(u.x=i),o&&(u.y=o),Iw(u,e.transform),Tw(u,n,e,t),Pw(u,e),t.animation&&Sw(e,u,t),aw("image",e.id+"",u)}}function Uw(e,t){var n=e.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var i=n.font||Jn["a"],o=n.x||0,a=Object(Ft["b"])(n.y||0,or(i),n.textBaseline),s=Ft["a"][n.textAlign]||n.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(ms(n)){var u="",c=n.fontStyle,f=vs(n.fontSize);if(!parseFloat(f))return;var h=n.fontFamily||Jn["b"],d=n.fontWeight;u+="font-size:"+f+";font-family:"+h+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),d&&"normal"!==d&&(u+="font-weight:"+d+";"),l.style=u}else l.style="font: "+i;return r.match(/\s/)&&(l["xml:space"]="preserve"),o&&(l.x=o),a&&(l.y=a),Iw(l,e.transform),Tw(l,n,e,t),Pw(l,e),t.animation&&Sw(e,l,t),aw("text",e.id+"",l,void 0,r)}}function Hw(e,t){return e instanceof Wa?Fw(e,t):e instanceof Qa?zw(e,t):e instanceof Ya?Uw(e,t):void 0}function Vw(e,t,n){var r=e.style;if(Object(Ft["i"])(r)){var i=Object(Ft["h"])(e),o=n.shadowCache,a=o[i];if(!a){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=r.shadowOffsetX||0,f=r.shadowOffsetY||0,h=r.shadowBlur,d=Object(Ft["p"])(r.shadowColor),p=d.opacity,g=d.color,v=h/2/l,y=h/2/u,m=v+" "+y;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=aw("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[aw("feDropShadow","",{dx:c/l,dy:f/u,stdDeviation:m,"flood-color":g,"flood-opacity":p})]),o[i]=a}t.filter=Object(Ft["d"])(a)}}function Gw(e,t,n,r){var i,o=e[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Ft["m"])(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(Ft["o"])(o))return void 0;i="radialGradient",a.cx=Object(l["P"])(o.x,.5),a.cy=Object(l["P"])(o.y,.5),a.r=Object(l["P"])(o.r,.5)}for(var s=o.colorStops,u=[],c=0,f=s.length;c<f;++c){var h=100*Object(Ft["q"])(s[c].offset)+"%",d=s[c].color,p=Object(Ft["p"])(d),g=p.color,v=p.opacity,y={offset:h};y["stop-color"]=g,v<1&&(y["stop-opacity"]=v),u.push(aw("stop",c+"",y))}var m=aw(i,"",a,u),b=uw(m),_=r.gradientCache,x=_[b];x||(x=r.zrId+"-g"+r.gradientIdx++,_[b]=x,a.id=x,r.defs[x]=aw(i,x,a,u)),t[n]=Object(Ft["d"])(x)}function Ww(e,t,n,r){var i,o=e.style[n],a=e.getBoundingRect(),s={},u=o.repeat,c="no-repeat"===u,f="repeat-x"===u,h="repeat-y"===u;if(Object(Ft["l"])(o)){var d=o.imageWidth,p=o.imageHeight,g=void 0,v=o.image;if(Object(l["C"])(v)?g=v:Cw(v)?g=v.src:Aw(v)&&(g=v.toDataURL()),"undefined"===typeof Image){var y="Image width/height must been given explictly in svg-ssr renderer.";Object(l["b"])(d,y),Object(l["b"])(p,y)}else if(null==d||null==p){var m=function(e,t){if(e){var n=e.elm,r=d||t.width,i=p||t.height;"pattern"===e.tag&&(f?(i=1,r/=a.width):h&&(r=1,i/=a.height)),e.attrs.width=r,e.attrs.height=i,n&&(n.setAttribute("width",r),n.setAttribute("height",i))}},b=co(g,null,e,(function(e){c||m(S,e),m(i,e)}));b&&b.width&&b.height&&(d=d||b.width,p=p||b.height)}i=aw("image","img",{href:g,width:d,height:p}),s.width=d,s.height=p}else o.svgElement&&(i=Object(l["d"])(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(i){var _,x;c?_=x=1:f?(x=1,_=s.width/a.width):h?(_=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==x||isNaN(x)||(s.height=x);var w=Object(Ft["g"])(o);w&&(s.patternTransform=w);var S=aw("pattern","",s,[i]),k=uw(S),E=r.patternCache,O=E[k];O||(O=r.zrId+"-p"+r.patternIdx++,E[k]=O,s.id=O,S=r.defs[O]=aw("pattern",O,s,[i])),t[n]=Object(Ft["d"])(O)}}function qw(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){o=n.zrId+"-c"+n.clipPathIdx++;var a={id:o};r[e.id]=o,i[o]=aw("clipPath",o,a,[Fw(e,n)])}t["clip-path"]=Object(Ft["d"])(o)}function Xw(e){return document.createTextNode(e)}function Yw(e,t,n){e.insertBefore(t,n)}function Kw(e,t){e.removeChild(t)}function $w(e,t){e.appendChild(t)}function Zw(e){return e.parentNode}function Jw(e){return e.nextSibling}function Qw(e,t){e.textContent=t}var eS=58,tS=120,nS=aw("","");function rS(e){return void 0===e}function iS(e){return void 0!==e}function oS(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;void 0!==o&&(r[o]=i)}return r}function aS(e,t){var n=e.key===t.key,r=e.tag===t.tag;return r&&n}function sS(e){var t,n=e.children,r=e.tag;if(iS(r)){var i=e.elm=ow(r);if(cS(nS,e),Object(l["t"])(n))for(t=0;t<n.length;++t){var o=n[t];null!=o&&$w(i,sS(o))}else iS(e.text)&&!Object(l["A"])(e.text)&&$w(i,Xw(e.text))}else e.elm=Xw(e.text);return e.elm}function lS(e,t,n,r,i){for(;r<=i;++r){var o=n[r];null!=o&&Yw(e,sS(o),t)}}function uS(e,t,n,r){for(;n<=r;++n){var i=t[n];if(null!=i)if(iS(i.tag)){var o=Zw(i.elm);Kw(o,i.elm)}else Kw(e,i.elm)}}function cS(e,t){var n,r=t.elm,i=e&&e.attrs||{},o=t.attrs||{};if(i!==o){for(n in o){var a=o[n],s=i[n];s!==a&&(!0===a?r.setAttribute(n,""):!1===a?r.removeAttribute(n):"style"===n?r.style.cssText=a:n.charCodeAt(0)!==tS?r.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS(nw,n,a):n.charCodeAt(3)===eS?r.setAttributeNS(rw,n,a):n.charCodeAt(5)===eS?r.setAttributeNS(tw,n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}function fS(e,t,n){var r,i,o,a,s=0,l=0,u=t.length-1,c=t[0],f=t[u],h=n.length-1,d=n[0],p=n[h];while(s<=u&&l<=h)null==c?c=t[++s]:null==f?f=t[--u]:null==d?d=n[++l]:null==p?p=n[--h]:aS(c,d)?(hS(c,d),c=t[++s],d=n[++l]):aS(f,p)?(hS(f,p),f=t[--u],p=n[--h]):aS(c,p)?(hS(c,p),Yw(e,c.elm,Jw(f.elm)),c=t[++s],p=n[--h]):aS(f,d)?(hS(f,d),Yw(e,f.elm,c.elm),f=t[--u],d=n[++l]):(rS(r)&&(r=oS(t,s,u)),i=r[d.key],rS(i)?Yw(e,sS(d),c.elm):(o=t[i],o.tag!==d.tag?Yw(e,sS(d),c.elm):(hS(o,d),t[i]=void 0,Yw(e,o.elm,c.elm))),d=n[++l]);(s<=u||l<=h)&&(s>u?(a=null==n[h+1]?null:n[h+1].elm,lS(e,a,n,l,h)):uS(e,t,s,u))}function hS(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(cS(e,t),rS(t.text)?iS(r)&&iS(i)?r!==i&&fS(n,r,i):iS(i)?(iS(e.text)&&Qw(n,""),lS(n,null,i,0,i.length-1)):iS(r)?uS(n,r,0,r.length-1):iS(e.text)&&Qw(n,""):e.text!==t.text&&(iS(r)&&uS(n,r,0,r.length-1),Qw(n,t.text)))}function dS(e,t){if(aS(e,t))hS(e,t);else{var n=e.elm,r=Zw(n);sS(t),null!==r&&(Yw(r,t.elm,Jw(n)),uS(r,[e],0,0))}return t}var pS=0,gS=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=vS("refreshHover"),this.configLayer=vS("configLayer"),this.storage=t,this._opts=n=Object(l["m"])({},n),this.root=e,this._id="zr"+pS++,this._oldVNode=hw(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=ow("svg");cS(null,this._oldVNode),r.appendChild(i),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",dS(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return Hw(e,fw(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=fw(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress,i.emphasis=e.emphasis;var o=[],a=this._bgVNode=yS(n,r,this._backgroundColor,i);a&&o.push(a);var s=e.compress?null:this._mainVNode=aw("g","main",{},[]);this._paintList(t,i,s?s.children:o),s&&o.push(s);var u=Object(l["H"])(Object(l["F"])(i.defs),(function(e){return i.defs[e]}));if(u.length&&o.push(aw("defs","defs",{},u)),e.animation){var c=cw(i.cssNodes,i.cssAnims,{newline:!0});if(c){var f=aw("style","stl",{},[],c);o.push(f)}}return hw(n,r,o,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},uw(this.renderToVNode({animation:Object(l["P"])(e.cssAnimation,!0),emphasis:Object(l["P"])(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Object(l["P"])(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r,i,o=e.length,a=[],s=0,l=0,u=0;u<o;u++){var c=e[u];if(!c.invisible){var f=c.__clipPaths,h=f&&f.length||0,d=i&&i.length||0,p=void 0;for(p=Math.max(h-1,d-1);p>=0;p--)if(f&&i&&f[p]===i[p])break;for(var g=d-1;g>p;g--)s--,r=a[s-1];for(var v=p+1;v<h;v++){var y={};qw(f[v],y,t);var m=aw("g","clip-g-"+l++,y,[]);(r?r.children:n).push(m),a[s++]=m,r=m}i=f;var b=Hw(c,t);b&&(r?r.children:n).push(b)}}},e.prototype.resize=function(e,t){var n=this._opts,r=this.root,i=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),r&&i&&(i.style.display="none",e=gm(r,0,n),t=gm(r,1,n),i.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,i){var o=i.style;o.width=e+"px",o.height=t+"px"}if(Object(Ft["n"])(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",e),a.setAttribute("height",t));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",e),s.setAttribute("height",t))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(e){var t=this.renderToString(),n="data:image/svg+xml;";return e?(t=Object(Ft["c"])(t),t&&n+"base64,"+t):n+"charset=UTF-8,"+encodeURIComponent(t)},e}();function vS(e){return function(){0}}function yS(e,t,n,r){var i;if(n&&"none"!==n)if(i=aw("rect","bg",{width:e,height:t,x:"0",y:"0"}),Object(Ft["k"])(n))Gw({fill:n},i.attrs,"fill",r);else if(Object(Ft["n"])(n))Ww({style:{fill:n},dirty:l["L"],getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",r);else{var o=Object(Ft["p"])(n),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}var mS=gS;function bS(e){e.registerPainter("svg",mS)}function _S(e){return null==e?0:e.length||1}function xS(e){return e}var wS=function(){function e(e,t,n,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=n||xS,this._newKeyGetter=r||xS,this.context=i,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,r,"_oldKeyGetter"),this._initIndexMap(t,n,i,"_newKeyGetter");for(var o=0;o<e.length;o++){var a=r[o],s=n[a],l=_S(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},i=[],o=[];this._initIndexMap(e,n,i,"_oldKeyGetter"),this._initIndexMap(t,r,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],l=n[s],u=r[s],c=_S(l),f=_S(u);if(c>1&&1===f)this._updateManyToOne&&this._updateManyToOne(u,l),r[s]=null;else if(1===c&&f>1)this._updateOneToMany&&this._updateOneToMany(u,l),r[s]=null;else if(1===c&&1===f)this._update&&this._update(u,l),r[s]=null;else if(c>1&&f>1)this._updateManyToMany&&this._updateManyToMany(u,l),r[s]=null;else if(c>1)for(var h=0;h<c;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(o,r)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t[r],o=_S(i);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);t[r]=null}},e.prototype._initIndexMap=function(e,t,n,r){for(var i=this._diffModeMultiple,o=0;o<e.length;o++){var a="_ec_"+this[r](e[o],o);if(i||(n[o]=a),t){var s=t[a],l=_S(s);0===l?(t[a]=o,i&&n.push(a)):1===l?t[a]=[s,o]:s.push(o)}}},e}(),SS=wS,kS=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function ES(e,t){var n={},r=n.encode={},i=Object(l["f"])(),o=[],a=[],s={};Object(l["k"])(e.dimensions,(function(t){var n=e.getDimensionInfo(t),l=n.coordDim;if(l){0;var u=n.coordDimIndex;OS(r,l)[u]=t,n.isExtraCoord||(i.set(l,1),AS(n.type)&&(o[0]=t),OS(s,l)[u]=e.getDimensionIndex(n.name)),n.defaultTooltip&&a.push(t)}ef.each((function(e,t){var i=OS(r,t),o=n.otherDims[t];null!=o&&!1!==o&&(i[o]=n.name)}))}));var u=[],c={};i.each((function(e,t){var n=r[t];c[t]=n[0],u=u.concat(n)})),n.dataDimsOnCoord=u,n.dataDimIndicesOnCoord=Object(l["H"])(u,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=c;var f=r.label;f&&f.length&&(o=f.slice());var h=r.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new kS(s,t),n}function OS(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function CS(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function AS(e){return!("ordinal"===e||"time"===e)}var TS=function(){function e(e){this.otherDims={},null!=e&&l["m"](this,e)}return e}(),PS=TS,MS=Di(),DS={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},IS=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=jS(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return Object(l["P"])(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=Vh(this.source),n=!NS(e),r="",i=[],o=0,a=0;o<e;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=t?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var f=this.getSourceDimension(o);f&&(s=t?f.name:null,l=f.type)}i.push({property:s,type:l,ordinalMeta:u}),!t||null==s||c&&c.isCalculationCoord||(r+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),r+="$",r+=DS[l]||"f",u&&(r+=u.uid),r+="$"}var h=this.source,d=[h.seriesLayoutBy,h.startIndex,r].join("$$");return{dimensions:i,hash:d}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(t);o&&(r=o.name)}e.push(r)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function LS(e){return e instanceof IS}function RS(e){for(var t=Object(l["f"])(),n=0;n<(e||[]).length;n++){var r=e[n],i=Object(l["A"])(r)?r.name:r;null!=i&&null==t.get(i)&&t.set(i,n)}return t}function jS(e){var t=MS(e);return t.dimNameMap||(t.dimNameMap=RS(e.dimensionsDefine))}function NS(e){return e>30}var BS,FS,zS,US,HS,VS,GS,WS=l["A"],qS=l["H"],XS="undefined"===typeof Int32Array?Array:Int32Array,YS="e\0\0",KS=-1,$S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],ZS=["_approximateExtent"],JS=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;LS(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var i={},o=[],a={},s=!1,u={},c=0;c<n.length;c++){var f=n[c],h=l["C"](f)?new PS({name:f}):f instanceof PS?f:new PS(f),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(d),i[d]=h,null!=u[d]&&(s=!0),h.createInvertedIndices&&(a[d]=[]),0===p.itemName&&(this._nameDimIdx=c),0===p.itemId&&(this._idDimIdx=c),r&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=l["f"]();l["k"](o,(function(e){g.set(i[e].storeDimIndex,e)}))}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var n=this._dimIdxToName.get(t);if(null!=n)return n;var r=this._schema.getSourceDimension(t);return r?r.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(l["z"](e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);return t},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var n=this._dimSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return r?r[t]:null},e.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,n=t.encode[e];return(n||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,n){var r,i=this;if(e instanceof Fd&&(r=e),!r){var o=this.dimensions,a=Lh(e)||l["u"](e)?new Gh(e,o.length):e;r=new Fd;var s=qS(o,(function(e){return{type:i._dimInfos[e].type,property:e}}));r.initData(a,s,n)}this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=ES(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var n=this._store.appendValues(e,t.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=t[s],o&&GS(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==af&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store,r=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,a=r.getSource().sourceFormat,s=a===tf;if(s&&!r.pure)for(var l=[],u=e;u<t;u++){var c=r.getItem(u,l);if(!this.hasItemOption&&pi(c)&&(this.hasItemOption=!0),c){var f=c.name;null==i[u]&&null!=f&&(i[u]=ki(f,null));var h=c.id;null==o[u]&&null!=h&&(o[u]=ki(h,null))}}if(this._shouldMakeIdFromName())for(u=e;u<t;u++)GS(this,u);BS(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){WS(e)?l["m"](this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),n=this._nameList[t];return null==n&&null!=this._nameDimIdx&&(n=zS(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),r=this._store.getOrdinalMeta(e);return r?r.categories[n]:n},e.prototype.getId=function(e){return FS(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.get(r.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.getByRawIndex(r.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var n=this,r=this._store;return l["t"](e)?r.getValues(qS(e,(function(e){return n._getStoreDimIndex(e)})),t):r.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e];var r=n[t];return null==r||isNaN(r)?KS:r},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){l["w"](e)&&(n=t,t=e,e=[]);var r=n||this,i=qS(US(e),this._getStoreDimIndex,this);this._store.each(i,r?l["c"](t,r):t)},e.prototype.filterSelf=function(e,t,n){l["w"](e)&&(n=t,t=e,e=[]);var r=n||this,i=qS(US(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?l["c"](t,r):t),this},e.prototype.selectRange=function(e){var t=this,n={},r=l["F"](e),i=[];return l["k"](r,(function(r){var o=t._getStoreDimIndex(r);n[o]=e[r],i.push(o)})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){l["w"](e)&&(n=t,t=e,e=[]),n=n||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},e.prototype.map=function(e,t,n,r){var i=n||r||this,o=qS(US(e),this._getStoreDimIndex,this),a=VS(this);return a._store=this._store.map(o,i?l["c"](t,i):t),a},e.prototype.modify=function(e,t,n,r){var i=n||r||this;var o=qS(US(e),this._getStoreDimIndex,this);this._store.modify(o,i?l["c"](t,i):t)},e.prototype.downSample=function(e,t,n,r){var i=VS(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),i},e.prototype.lttbDownSample=function(e,t){var n=VS(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,n=this.getRawDataItem(e);return new Cu(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new SS(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return FS(e,t)}),(function(e){return FS(t,e)}))},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},WS(e)?l["m"](this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],r=n&&n[t];return null==r?this.getVisual(t):r},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),l["t"](i)?i=i.slice():WS(i)&&(i=l["m"]({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,WS(t)?l["m"](r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){WS(e)?l["m"](this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?l["m"](this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;As(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){l["k"](this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:qS(this.dimensions,this._getDimInfo,this),this.hostModel)),HS(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];l["w"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(l["S"](arguments)))})},e.internalField=function(){BS=function(e){var t=e._invertedIndicesMap;l["k"](t,(function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new XS(o.categories.length);for(var s=0;s<n.length;s++)n[s]=KS;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},zS=function(e,t,n){return ki(e._getCategory(t,n),null)},FS=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=zS(e,e._idDimIdx,t)),null==n&&(n=YS+t),n},US=function(e){return l["t"](e)||(e=null!=e?[e]:[]),e},VS=function(t){var n=new e(t._schema?t._schema:qS(t.dimensions,t._getDimInfo,t),t.hostModel);return HS(n,t),n},HS=function(e,t){l["k"]($S.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,l["k"](ZS,(function(n){e[n]=l["d"](t[n])})),e._calculationInfo=l["m"]({},t._calculationInfo)},GS=function(e,t){var n=e._nameList,r=e._idList,i=e._nameDimIdx,o=e._idDimIdx,a=n[t],s=r[t];if(null==a&&null!=i&&(n[t]=a=zS(e,i,t)),null==s&&null!=o&&(r[t]=s=zS(e,o,t)),null==s&&null!=a){var l=e._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),r[t]=s}}}(),e}(),QS=JS;function ek(e,t){Lh(e)||(e=jh(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=Object(l["f"])(),o=[],a=nk(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&NS(a),u=r===e.dimensionsDefine,c=u?jS(e):RS(r),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(e,a));for(var h=Object(l["f"])(f),d=new Md(a),p=0;p<d.length;p++)d[p]=-1;function g(e){var t=d[e];if(t<0){var n=r[e],i=Object(l["A"])(n)?n:{name:n},a=new PS,s=i.name;null!=s&&null!=c.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=o.length;return d[e]=u,a.storeDimIndex=e,o.push(a),a}return o[t]}if(!s)for(p=0;p<a;p++)g(p);h.each((function(e,t){var n=ci(e).slice();if(1===n.length&&!Object(l["C"])(n[0])&&n[0]<0)h.set(t,!1);else{var r=h.set(t,[]);Object(l["k"])(n,(function(e,n){var i=Object(l["C"])(e)?c.get(e):e;null!=i&&i<a&&(r[n]=i,y(g(i),t,n))}))}}));var v=0;function y(e,t,n){null!=ef.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,i.set(t,!0))}Object(l["k"])(n,(function(e){var t,n,r,i;if(Object(l["C"])(e))t=e,i={};else{i=e,t=i.name;var o=i.ordinalMeta;i.ordinalMeta=null,i=Object(l["m"])({},i),i.ordinalMeta=o,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=h.get(t);if(!1!==s){if(s=ci(s),!s.length)for(var c=0;c<(n&&n.length||1);c++){while(v<a&&null!=g(v).coordDim)v++;v<a&&s.push(v++)}Object(l["k"])(s,(function(e,o){var a=g(e);if(u&&null!=i.type&&(a.type=i.type),y(Object(l["i"])(a,i),t,o),null==a.name&&n){var s=n[o];!Object(l["A"])(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}r&&Object(l["i"])(a.otherDims,r)}))}}));var m=t.generateCoord,b=t.generateCoordCount,_=null!=b;b=m?b||1:0;var x=m||"value";function w(e){null==e.name&&(e.name=e.coordDim)}if(s)Object(l["k"])(o,(function(e){w(e)})),o.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var S=0;S<a;S++){var k=g(S),E=k.coordDim;null==E&&(k.coordDim=rk(x,i,_),k.coordDimIndex=0,(!m||b<=0)&&(k.isExtraCoord=!0),b--),w(k),null!=k.type||yf(e,S)!==cf.Must&&(!k.isExtraCoord||null==k.otherDims.itemName&&null==k.otherDims.seriesName)||(k.type="ordinal")}return tk(o),new IS({source:e,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function tk(e){for(var t=Object(l["f"])(),n=0;n<e.length;n++){var r=e[n],i=r.name,o=t.get(i)||0;o>0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function nk(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return Object(l["k"])(t,(function(e){var t;Object(l["A"])(e)&&(t=e.dimsDef)&&(i=Math.max(i,t.length))})),i}function rk(e,t,n){if(n||t.hasKey(e)){var r=0;while(t.hasKey(e+r))r++;e+=r}return t.set(e,!0),e}var ik=function(){function e(e){this.coordSysDims=[],this.axisMap=Object(l["f"])(),this.categoryAxisMap=Object(l["f"])(),this.coordSysName=e}return e}();function ok(e){var t=e.get("coordinateSystem"),n=new ik(t),r=ak[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var ak={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",ji).models[0],o=e.getReferringComponents("yAxis",ji).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),sk(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),sk(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",ji).models[0];t.coordSysDims=["single"],n.set("single",i),sk(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",ji).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),sk(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),sk(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Object(l["k"])(o.parallelAxisIndex,(function(e,o){var s=i.getComponent("parallelAxis",e),l=a[o];n.set(l,s),sk(s)&&(r.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=o))}))}};function sk(e){return"category"===e.get("type")}function lk(e,t,n){n=n||{};var r,i,o,a=n.byIndex,s=n.stackedCoordDimension;uk(t)?r=t:(i=t.schema,r=i.dimensions,o=t.store);var u,c,f,h,d=!(!e||!e.get("stack"));if(Object(l["k"])(r,(function(e,t){Object(l["C"])(e)&&(r[t]=e={name:e}),d&&!e.isExtraCoord&&(a||u||!e.ordinalMeta||(u=e),c||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(c=e))})),!c||a||u||(a=!0),c){f="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var p=c.coordDim,g=c.type,v=0;Object(l["k"])(r,(function(e){e.coordDim===p&&v++}));var y={name:f,coordDim:p,coordDimIndex:v,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},m={name:h,coordDim:h,coordDimIndex:v+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(o&&(y.storeDimIndex=o.ensureCalculationDimension(h,g),m.storeDimIndex=o.ensureCalculationDimension(f,g)),i.appendCalculationDimension(y),i.appendCalculationDimension(m)):(r.push(y),r.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:f}}function uk(e){return!LS(e.schema)}function ck(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function fk(e,t){return ck(e,t)?e.getCalculationInfo("stackResultDimension"):t}function hk(e,t){var n,r=e.get("coordinateSystem"),i=Yf.get(r);return t&&t.coordSysDims&&(n=l["H"](t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=CS(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}function dk(e,t,n){var r,i;return n&&l["k"](e,(function(e,o){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=o),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(i=!0)})),i||null==r||(e[r].otherDims.itemName=0),r}function pk(e,t,n){n=n||{};var r,i=t.getSourceManager(),o=!1;e?(o=!0,r=jh(e)):(r=i.getSource(),o=r.sourceFormat===tf);var a=ok(t),s=hk(t,a),u=n.useEncodeDefaulter,c=l["w"](u)?u:u?l["h"](df,s,t):null,f={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o},h=ek(r,f),d=dk(h.dimensions,n.createInvertedIndices,a),p=o?null:i.getSharedDataStore(h),g=lk(t,{schema:h,store:p}),v=new QS(h,t);v.setCalculationInfo(g);var y=null!=d&&gk(r)?function(e,t,n,r){return r===d?n:this.defaultDimValueGetter(e,t,n,r)}:null;return v.hasItemOption=!1,v.initData(o?r:p,null,y),v}function gk(e){if(e.sourceFormat===tf){var t=vk(e.data||[]);return!l["t"](di(t))}}function vk(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var yk=pk,mk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.getInitialData=function(e){return yk(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new Sr,n=am("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,a=.8*e.itemHeight,s=am(o,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?i:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(kp),bk=mk;function _k(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=td(e,t,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push(td(e,t,n[a]));return o.join(" ")}}function xk(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!Object(l["t"])(t))return t+"";for(var r=[],i=0;i<n.length;i++){var o=e.getDimensionIndex(n[i]);o>=0&&r.push(t[o])}return r.join(" ")}var wk=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return a(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var o=am(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=Sk,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){cl(this.childAt(0))},t.prototype.downplay=function(){fl(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,c)}else{var f=this.childAt(0);f.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?f.attr(h):Gl(f,h,a,n),$l(f)}if(this._updateCommon(e,n,s,r,i),l){f=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Wl(f,h,a,n)}}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,i){var o,a,s,u,c,f,h,d,p,g=this.childAt(0),v=e.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,u=r.focus,c=r.blurScope,h=r.labelStatesModels,d=r.hoverScale,p=r.cursorStyle,f=r.emphasisDisabled),!r||e.hasItemOption){var y=r&&r.itemModel?r.itemModel:e.getItemModel(t),m=y.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),u=m.get("focus"),c=m.get("blurScope"),f=m.get("disabled"),h=nu(y),d=m.getShallow("scale"),p=y.getShallow("cursor")}var b=e.getItemVisual(t,"symbolRotate");g.attr("rotation",(b||0)*Math.PI/180||0);var _=lm(e.getItemVisual(t,"symbolOffset"),n);_&&(g.x=_[0],g.y=_[1]),p&&g.attr("cursor",p);var x=e.getItemVisual(t,"style"),w=x.fill;if(g instanceof Qa){var S=g.style;g.useStyle(Object(l["m"])({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},x))}else g.__isEmptyBrush?g.useStyle(Object(l["m"])({},x)):g.useStyle(x),g.style.decal=null,g.setColor(w,i&&i.symbolInnerColor),g.style.strokeNoScale=!0;var k=e.getItemVisual(t,"liftZ"),E=this._z2;null!=k?null==E&&(this._z2=g.z2,g.z2+=k):null!=E&&(g.z2=E,this._z2=null);var O=i&&i.useNameLabel;function C(t){return O?e.getName(t):_k(e,t)}tu(g,h,{labelFetcher:v,labelDataIndex:t,defaultText:C,inheritColor:w,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var A=g.ensureState("emphasis");A.style=o,g.ensureState("select").style=s,g.ensureState("blur").style=a;var T=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;A.scaleX=this._sizeX*T,A.scaleY=this._sizeY*T,this.setSymbolScale(1),Tl(this,u,c,f)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Cs(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&Xl(a,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();Xl(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return sm(e.getItemVisual(t,"symbolSize"))},t}(Sr);function Sk(e,t){this.parent.drift(e,t)}var kk=wk;function Ek(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function Ok(e){return null==e||Object(l["A"])(e)||(e={isIgnore:e}),e||{}}function Ck(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:nu(t),cursorStyle:t.get("cursor")}}var Ak=function(){function e(e){this.group=new Sr,this._SymbolCtor=e||kk}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=Ok(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=Ck(e),l={disableAnimation:a},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add((function(r){var i=u(r);if(Ek(e,i,r,t)){var a=new o(e,r,s,l);a.setPosition(i),e.setItemGraphicEl(r,a),n.add(a)}})).update((function(c,f){var h=i.getItemGraphicEl(f),d=u(c);if(Ek(e,d,c,t)){var p=e.getItemVisual(c,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)n.remove(h),h=new o(e,c,s,l),h.setPosition(d);else{h.updateData(e,c,s,l);var v={x:d[0],y:d[1]};a?h.attr(v):Gl(h,v,r)}n.add(h),e.setItemGraphicEl(c,h)}else n.remove(h)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=Ck(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=Ok(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(Ek(t,o,i,n)){var a=new this._SymbolCtor(t,i,this._seriesScope);a.traverse(r),a.setPosition(o),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){Bv(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),n.hostModel)})):t.removeAll()},e}(),Tk=Ak;function Pk(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),o=Mk(i,n),a=r.dim,s=i.dim,u=t.mapDimension(s),c=t.mapDimension(a),f="x"===s||"radius"===s?1:0,h=Object(l["H"])(e.dimensions,(function(e){return t.mapDimension(e)})),d=!1,p=t.getCalculationInfo("stackResultDimension");return ck(t,h[0])&&(d=!0,h[0]=p),ck(t,h[1])&&(d=!0,h[1]=p),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:u,baseDim:c,baseDataOffset:f,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function Mk(e,t){var n=0,r=e.scale.getExtent();return"start"===t?n=r[0]:"end"===t?n=r[1]:Object(l["z"])(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function Dk(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var Ik="undefined"!==typeof Float32Array,Lk=Ik?Float32Array:Array;function Rk(e){return Object(l["t"])(e)?Ik?new Float32Array(e):e:new Lk(e)}function jk(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function Nk(e,t,n,r,i,o,a,s){for(var l=jk(e,t),u=[],c=[],f=[],h=[],d=[],p=[],g=[],v=Pk(i,t,a),y=e.getLayout("points")||[],m=t.getLayout("points")||[],b=0;b<l.length;b++){var _=l[b],x=!0,w=void 0,S=void 0;switch(_.cmd){case"=":w=2*_.idx,S=2*_.idx1;var k=y[w],E=y[w+1],O=m[S],C=m[S+1];(isNaN(k)||isNaN(E))&&(k=O,E=C),u.push(k,E),c.push(O,C),f.push(n[w],n[w+1]),h.push(r[S],r[S+1]),g.push(t.getRawIndex(_.idx1));break;case"+":var A=_.idx,T=v.dataDimsForPoint,P=i.dataToPoint([t.get(T[0],A),t.get(T[1],A)]);S=2*A,u.push(P[0],P[1]),c.push(m[S],m[S+1]);var M=Dk(v,i,t,A);f.push(M[0],M[1]),h.push(r[S],r[S+1]),g.push(t.getRawIndex(A));break;case"-":x=!1}x&&(d.push(_),p.push(p.length))}p.sort((function(e,t){return g[e]-g[t]}));var D=u.length,I=Rk(D),L=Rk(D),R=Rk(D),j=Rk(D),N=[];for(b=0;b<p.length;b++){var B=p[b],F=2*b,z=2*B;I[F]=u[z],I[F+1]=u[z+1],L[F]=c[z],L[F+1]=c[z+1],R[F]=f[z],R[F+1]=f[z+1],j[F]=h[z],j[F+1]=h[z+1],N[b]=d[B]}return{current:I,next:L,stackedOnCurrent:R,stackedOnNext:j,status:N}}var Bk=Math.min,Fk=Math.max;function zk(e,t){return isNaN(e)||isNaN(t)}function Uk(e,t,n,r,i,o,a,s,l){for(var u,c,f,h,d,p,g=n,v=0;v<r;v++){var y=t[2*g],m=t[2*g+1];if(g>=i||g<0)break;if(zk(y,m)){if(l){g+=o;continue}break}if(g===n)e[o>0?"moveTo":"lineTo"](y,m),f=y,h=m;else{var b=y-u,_=m-c;if(b*b+_*_<.5){g+=o;continue}if(a>0){var x=g+o,w=t[2*x],S=t[2*x+1];while(w===y&&S===m&&v<r)v++,x+=o,g+=o,w=t[2*x],S=t[2*x+1],y=t[2*g],m=t[2*g+1],b=y-u,_=m-c;var k=v+1;if(l)while(zk(w,S)&&k<r)k++,x+=o,w=t[2*x],S=t[2*x+1];var E=.5,O=0,C=0,A=void 0,T=void 0;if(k>=r||zk(w,S))d=y,p=m;else{O=w-u,C=S-c;var P=y-u,M=w-y,D=m-c,I=S-m,L=void 0,R=void 0;if("x"===s){L=Math.abs(P),R=Math.abs(M);var j=O>0?1:-1;d=y-j*L*a,p=m,A=y+j*R*a,T=m}else if("y"===s){L=Math.abs(D),R=Math.abs(I);var N=C>0?1:-1;d=y,p=m-N*L*a,A=y,T=m+N*R*a}else L=Math.sqrt(P*P+D*D),R=Math.sqrt(M*M+I*I),E=R/(R+L),d=y-O*a*(1-E),p=m-C*a*(1-E),A=y+O*a*E,T=m+C*a*E,A=Bk(A,Fk(w,y)),T=Bk(T,Fk(S,m)),A=Fk(A,Bk(w,y)),T=Fk(T,Bk(S,m)),O=A-y,C=T-m,d=y-O*L/R,p=m-C*L/R,d=Bk(d,Fk(u,y)),p=Bk(p,Fk(c,m)),d=Fk(d,Bk(u,y)),p=Fk(p,Bk(c,m)),O=y-d,C=m-p,A=y+O*R/L,T=m+C*R/L}e.bezierCurveTo(f,h,d,p,y,m),f=A,h=T}else e.lineTo(y,m)}u=y,c=m,g+=o}return v}var Hk=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),Vk=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Hk},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0;i--)if(!zk(n[2*i-2],n[2*i-1]))break;for(;r<i;r++)if(!zk(n[2*r],n[2*r+1]))break}while(r<i)r+=Uk(e,n,r,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path,o=i.data,a=ba.CMD,s="x"===t,l=[],u=0;u<o.length;){var c=o[u++],f=void 0,h=void 0,d=void 0,p=void 0,g=void 0,v=void 0,y=void 0;switch(c){case a.M:n=o[u++],r=o[u++];break;case a.L:if(f=o[u++],h=o[u++],y=s?(e-n)/(f-n):(e-r)/(h-r),y<=1&&y>=0){var m=s?(h-r)*y+r:(f-n)*y+n;return s?[e,m]:[m,e]}n=f,r=h;break;case a.C:f=o[u++],h=o[u++],d=o[u++],p=o[u++],g=o[u++],v=o[u++];var b=s?wt(n,f,d,g,e,l):wt(r,h,p,v,e,l);if(b>0)for(var _=0;_<b;_++){var x=l[_];if(x<=1&&x>=0){m=s?_t(r,h,p,v,x):_t(n,f,d,g,x);return s?[e,m]:[m,e]}}n=g,r=v;break}}},t}(Wa),Gk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(Hk),Wk=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return a(t,e),t.prototype.getDefaultShape=function(){return new Gk},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!zk(n[2*o-2],n[2*o-1]))break;for(;i<o;i++)if(!zk(n[2*i],n[2*i+1]))break}while(i<o){var s=Uk(e,n,i,o,o,1,t.smooth,a,t.connectNulls);Uk(e,r,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}},t}(Wa);function qk(e,t,n,r,i){var o=e.getArea(),a=o.x,s=o.y,u=o.width,c=o.height,f=n.get(["lineStyle","width"])||2;a-=f/2,s-=f/2,u+=f,c+=f,u=Math.ceil(u),a!==Math.floor(a)&&(a=Math.floor(a),u++);var h=new ls({shape:{x:a,y:s,width:u,height:c}});if(t){var d=e.getBaseAxis(),p=d.isHorizontal(),g=d.inverse;p?(g&&(h.shape.x+=u),h.shape.width=0):(g||(h.shape.y+=c),h.shape.height=0);var v=Object(l["w"])(i)?function(e){i(e,h)}:null;Wl(h,{shape:{width:u,height:c,x:a,y:s}},n,null,r,v)}return h}function Xk(e,t,n){var r=e.getArea(),i=Fr(r.r0,1),o=Fr(r.r,1),a=new _g({shape:{cx:Fr(e.cx,1),cy:Fr(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var s="angle"===e.getBaseAxis().dim;s?a.shape.endAngle=r.startAngle:a.shape.r=i,Wl(a,{shape:{endAngle:r.endAngle,r:o}},n)}return a}function Yk(e,t,n,r,i){return e?"polar"===e.type?Xk(e,t,n):"cartesian2d"===e.type?qk(e,t,n,r,i):null:null}function Kk(e,t){return e.type===t}function $k(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function Zk(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function Jk(e,t){var n=Zk(e),r=n[0],i=n[1],o=Zk(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function Qk(e){return l["z"](e)?e:e?.5:0}function eE(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=Rk(2*r),o=0;o<r;o++){var a=Dk(n,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}function tE(e,t,n,r){var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],s=0,l=[],u=[],c=[],f=[];if(r){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||f.push(e[s],e[s+1]);e=f}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var h=(u[o]+c[o])/2,d=[];l[o]=d[o]=h,l[1-o]=u[1-o],d[1-o]=c[1-o],a.push(l[0],l[1]),a.push(d[0],d[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(e[s++],e[s++]),a}function nE(e,t){var n,r,i=[],o=e.length;function a(e,t,n){var r=e.coord,i=(n-r)/(t.coord-r),o=Object(Bt["b"])(i,[e.color,t.color]);return{coord:n,color:o}}for(var s=0;s<o;s++){var l=e[s],u=l.coord;if(u<0)n=l;else{if(u>t){r?i.push(a(r,l,t)):n&&i.push(a(n,l,0),a(n,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function rE(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,"x"===i||"y"===i){o=r[a];break}}if(o){var u=t.getAxis(i),c=l["H"](o.stops,(function(e){return{coord:u.toGlobalCoord(u.dataToCoord(e.value)),color:e.color}})),f=c.length,h=o.outerColors.slice();f&&c[0].coord>c[f-1].coord&&(c.reverse(),h.reverse());var d=nE(c,"x"===i?n.getWidth():n.getHeight()),p=d.length;if(!p&&f)return c[0].coord<0?h[1]?h[1]:c[f-1].color:h[0]?h[0]:c[0].color;var g=10,v=d[0].coord-g,y=d[p-1].coord+g,m=y-v;if(m<.001)return"transparent";l["k"](d,(function(e){e.offset=(e.coord-v)/m})),d.push({offset:p?d[p-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:h[0]||"transparent"});var b=new Kg(0,0,0,0,d,!0);return b[i]=v,b[i+"2"]=y,b}}}function iE(e,t,n){var r=e.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!oE(o,t))){var a=t.mapDimension(o.dim),s={};return l["k"](o.getViewLabels(),(function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function oE(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*kk.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}function aE(e,t){return isNaN(e)||isNaN(t)}function sE(e){for(var t=e.length/2;t>0;t--)if(!aE(e[2*t-2],e[2*t-1]))break;return t-1}function lE(e,t){return[e[2*t],e[2*t+1]]}function uE(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(i=e[2*u+a],!isNaN(i)&&!isNaN(e[2*u+1-a]))if(0!==u){if(r<=t&&i>=t||r>=t&&i<=t){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}function cE(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<js.length;t++)if(e.get([js[t],"endLabel","show"]))return!0;return!1}function fE(e,t,n,r){if(Kk(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=cE(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,o,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=qk(t,n,r,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!r.get("clip",!0)){var f=c.shape,h=Math.max(f.width,f.height);u?(f.y-=h,f.height+=2*h):(f.x-=h,f.width+=2*h)}return l&&l(1,c),c}return Xk(t,n,r)}function hE(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}var dE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(){var e=new Sr,t=new Tk;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=a.getLayout("points")||[],f="polar"===i.type,h=this._coordSys,d=this._symbolDraw,p=this._polyline,g=this._polygon,v=this._lineGroup,y=!t.ssr&&e.get("animation"),m=!u.isEmpty(),b=u.get("origin"),_=Pk(i,a,b),x=m&&eE(i,a,_),w=e.get("showSymbol"),S=e.get("connectNulls"),k=w&&!f&&iE(e,a,i),E=this._data;E&&E.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),E.setItemGraphicEl(t,null))})),w||d.remove(),o.add(v);var O,C=!f&&e.get("step");i&&i.getArea&&e.get("clip",!0)&&(O=i.getArea(),null!=O.width?(O.x-=.1,O.y-=.1,O.width+=.2,O.height+=.2):O.r0&&(O.r0-=.5,O.r+=.5)),this._clipShapeForSymbol=O;var A=rE(a,i,n)||a.getVisual("style")[a.getVisual("drawType")];if(p&&h.type===i.type&&C===this._step){m&&!g?g=this._newPolygon(c,x):g&&!m&&(v.remove(g),g=this._polygon=null),f||this._initOrUpdateEndLabel(e,i,Dc(A));var T=v.getClipPath();if(T){var P=fE(this,i,!1,e);Wl(T,{shape:P.shape},e)}else v.setClipPath(fE(this,i,!0,e));w&&d.updateData(a,{isIgnore:k,clipShape:O,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),$k(this._stackedOnPoints,x)&&$k(this._points,c)||(y?this._doUpdateAnimation(a,x,i,n,C,b,S):(C&&(c=tE(c,i,C,S),x&&(x=tE(x,i,C,S))),p.setShape({points:c}),g&&g.setShape({points:c,stackedOnPoints:x})))}else w&&d.updateData(a,{isIgnore:k,clipShape:O,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),y&&this._initSymbolLabelAnimation(a,i,O),C&&(c=tE(c,i,C,S),x&&(x=tE(x,i,C,S))),p=this._newPolyline(c),m?g=this._newPolygon(c,x):g&&(v.remove(g),g=this._polygon=null),f||this._initOrUpdateEndLabel(e,i,Dc(A)),v.setClipPath(fE(this,i,!0,e));var M=e.getModel("emphasis"),D=M.get("focus"),I=M.get("blurScope"),L=M.get("disabled");if(p.useStyle(l["i"](s.getLineStyle(),{fill:"none",stroke:A,lineJoin:"bevel"})),Il(p,e,"lineStyle"),p.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var R=p.getState("emphasis").style;R.lineWidth=+p.style.lineWidth+1}Cs(p).seriesIndex=e.seriesIndex,Tl(p,D,I,L);var j=Qk(e.get("smooth")),N=e.get("smoothMonotone");if(p.setShape({smooth:j,smoothMonotone:N,connectNulls:S}),g){var B=a.getCalculationInfo("stackedOnSeries"),F=0;g.useStyle(l["i"](u.getAreaStyle(),{fill:A,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),B&&(F=Qk(B.get("smooth"))),g.setShape({smooth:j,stackedOnSmooth:F,smoothMonotone:N,connectNulls:S}),Il(g,e,"areaStyle"),Cs(g).seriesIndex=e.seriesIndex,Tl(g,D,I,L)}var z=function(e){r._changePolyState(e)};a.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=a,this._coordSys=i,this._stackedOnPoints=x,this._points=c,this._step=C,this._valueOrigin=b,e.get("triggerLineEvent")&&(this.packEventData(e,p),g&&this.packEventData(e,g))},t.prototype.packEventData=function(e,t){Cs(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=Mi(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,f=e.get("z")||0;s=new kk(i,o),s.x=l,s.y=u,s.setZ(c,f);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=f,h.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Xv.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=Mi(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Xv.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;tl(this._polyline,e),t&&tl(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new Vk({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Wk({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0);var s=e.hostModel,u=s.get("animationDuration");l["w"](u)&&(u=u(null));var c=s.get("animationDelay")||0,f=l["w"](c)?c(null):c;e.eachItemGraphicEl((function(e,o){var s=e;if(s){var h=[e.x,e.y],d=void 0,p=void 0,g=void 0;if(n)if(i){var v=n,y=t.pointToCoord(h);r?(d=v.startAngle,p=v.endAngle,g=-y[1]/180*Math.PI):(d=v.r0,p=v.r,g=y[0])}else{var m=n;r?(d=m.x,p=m.x+m.width,g=e.x):(d=m.y+m.height,p=m.y,g=e.y)}var b=p===d?0:(g-d)/(p-d);a&&(b=1-b);var _=l["w"](c)?c(o):u*b+f,x=s.getSymbolPath(),w=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(cE(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new Os({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=sE(a);l>=0&&(tu(o,nu(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?xk(i,n):_k(i,e)},enableTextSetter:!0},hE(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,f=c.get("connectNulls"),h=o.get("precision"),d=o.get("distance")||0,p=a.getBaseAxis(),g=p.isHorizontal(),v=p.inverse,y=t.shape,m=v?g?y.x:y.y+y.height:g?y.x+y.width:y.y,b=(g?d:0)*(v?-1:1),_=(g?0:-d)*(v?-1:1),x=g?"x":"y",w=uE(u,m,x),S=w.range,k=S[1]-S[0],E=void 0;if(k>=1){if(k>1&&!f){var O=lE(u,S[0]);s.attr({x:O[0]+b,y:O[1]+_}),i&&(E=c.getRawValue(S[0]))}else{O=l.getPointOn(m,x);O&&s.attr({x:O[0]+b,y:O[1]+_});var C=c.getRawValue(S[0]),A=c.getRawValue(S[1]);i&&(E=Vi(n,h,C,A,w.t))}r.lastFrameIndex=S[0]}else{var T=1===e||r.lastFrameIndex>0?S[0]:0;O=lE(u,T);i&&(E=c.getRawValue(T)),s.attr({x:O[0]+b,y:O[1]+_})}if(i){var P=hu(s);"function"===typeof P.setLabelText&&P.setLabelText(E)}}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=e.hostModel,c=Nk(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),f=c.current,h=c.stackedOnCurrent,d=c.next,p=c.stackedOnNext;if(i&&(f=tE(c.current,n,i,a),h=tE(c.stackedOnCurrent,n,i,a),d=tE(c.next,n,i,a),p=tE(c.stackedOnNext,n,i,a)),Jk(f,d)>3e3||l&&Jk(h,p)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=f;var g={shape:{points:d}};c.current!==f&&(g.shape.__points=c.next),s.stopAnimation(),Gl(s,g,u),l&&(l.setShape({points:f,stackedOnPoints:h}),l.stopAnimation(),Gl(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],y=c.status,m=0;m<y.length;m++){var b=y[m].cmd;if("="===b){var _=e.getItemGraphicEl(y[m].idx1);_&&v.push({el:_,ptIdx:m})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<v.length;t++){var n=v[t].el,r=2*v[t].ptIdx;n.x=e[r],n.y=e[r+1],n.markRedraw()}}))},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(Xv),pE=dE;function gE(e,t){return{seriesType:e,plan:Cp(),reset:function(e){var n=e.getData(),r=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(r){var a=Object(l["H"])(r.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),s=a.length,u=n.getCalculationInfo("stackResultDimension");ck(n,a[0])&&(a[0]=u),ck(n,a[1])&&(a[1]=u);var c=n.getStore(),f=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(e,t){for(var n=e.end-e.start,i=o&&Rk(n*s),a=[],l=[],u=e.start,d=0;u<e.end;u++){var p=void 0;if(1===s){var g=c.get(f,u);p=r.dataToPoint(g,null,l)}else a[0]=c.get(f,u),a[1]=c.get(h,u),p=r.dataToPoint(a,null,l);o?(i[d++]=p[0],i[d++]=p[1]):t.setItemLayout(u,p.slice())}o&&t.setLayout("points",i)}}}}}}var vE={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},minmax:function(e){for(var t=-1/0,n=-1/0,r=0;r<e.length;r++){var i=e[r],o=Math.abs(i);o>t&&(t=o,n=i)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},yE=function(e){return Math.round(e.length/2)};function mE(e){return{seriesType:e,reset:function(e,t,n){var r=e.getData(),i=e.get("sampling"),o=e.coordinateSystem,a=r.count();if(a>10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),u=o.getOtherAxis(s),c=s.getExtent(),f=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(f||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===i&&e.setData(r.lttbDownSample(r.mapDimension(u.dim),1/d));var p=void 0;Object(l["C"])(i)?p=vE[i]:Object(l["w"])(i)&&(p=i),p&&e.setData(r.downSample(r.mapDimension(u.dim),1/d,p,yE))}}}}}function bE(e){e.registerChartView(pE),e.registerSeriesModel(bk),e.registerLayout(gE("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,mE("line"))}var _E="__ec_stack_";function xE(e){return e.get("stack")||_E+e.seriesIndex}function wE(e){return e.dim+e.index}function SE(e){var t=[],n=e.axis,r="axis0";if("category"===n.type){for(var i=n.getBandWidth(),o=0;o<e.count;o++)t.push(Object(l["i"])({bandWidth:i,axisKey:r,stackId:_E+o},e));var a=CE(t),s=[];for(o=0;o<e.count;o++){var u=a[r][_E+o];u.offsetCenter=u.offset+u.width/2,s.push(u)}return s}}function kE(e,t){var n=[];return t.eachSeriesByType(e,(function(e){ME(e)&&n.push(e)})),n}function EE(e){var t={};Object(l["k"])(e,(function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.getDimensionIndex(i.mapDimension(r.dim)),s=i.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(a,l);t[o]?t[o].push(c):t[o]=[c]}}));var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort((function(e,t){return e-t}));for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}function OE(e){var t=EE(e),n=[];return Object(l["k"])(e,(function(e){var r,i=e.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=t[s],u=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),f=Math.abs(c[1]-c[0]);r=l?u/f*l:u}else{var h=e.getData();r=Math.abs(a[1]-a[0])/h.count()}var d=Br(e.get("barWidth"),r),p=Br(e.get("barMaxWidth"),r),g=Br(e.get("barMinWidth")||(DE(e)?.5:1),r),v=e.get("barGap"),y=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:d,barMaxWidth:p,barMinWidth:g,barGap:v,barCategoryGap:y,axisKey:wE(o),stackId:xE(e)})})),CE(n)}function CE(e){var t={};Object(l["k"])(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var f=e.barGap;null!=f&&(o.gap=f);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return Object(l["k"])(t,(function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=e.categoryGap;if(null==o){var a=Object(l["F"])(r).length;o=Math.max(35-4*a,15)+"%"}var s=Br(o,i),u=Br(e.gap,1),c=e.remainedWidth,f=e.autoWidthCount,h=(c-s)/(f+(f-1)*u);h=Math.max(h,0),Object(l["k"])(r,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,c-=r+u*r,f--}else{var r=h;t&&t<r&&(r=Math.min(t,c)),n&&n>r&&(r=n),r!==h&&(e.width=r,c-=r+u*r,f--)}})),h=(c-s)/(f+(f-1)*u),h=Math.max(h,0);var d,p=0;Object(l["k"])(r,(function(e,t){e.width||(e.width=h),d=e,p+=e.width*(1+u)})),d&&(p-=d.width*u);var g=-p/2;Object(l["k"])(r,(function(e,r){n[t][r]=n[t][r]||{bandWidth:i,offset:g,width:e.width},g+=e.width*(1+u)}))})),n}function AE(e,t,n){if(e&&t){var r=e[wE(t)];return null!=r&&null!=n?r[xE(n)]:r}}function TE(e,t){var n=kE(e,t),r=OE(n);Object(l["k"])(n,(function(e){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),o=xE(e),a=r[wE(i)][o],s=a.offset,l=a.width;t.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function PE(e){return{seriesType:e,plan:Cp(),reset:function(e){if(ME(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=t.getDimensionIndex(t.mapDimension(i.dim)),a=t.getDimensionIndex(t.mapDimension(r.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),c=ck(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),f=i.isHorizontal(),h=IE(r,i),d=DE(e),p=e.get("barMinHeight")||0,g=u&&t.getDimensionIndex(u),v=t.getLayout("size"),y=t.getLayout("offset");return{progress:function(e,t){var r,i=e.count,l=d&&Rk(3*i),u=d&&s&&Rk(3*i),m=d&&Rk(i),b=n.master.getRect(),_=f?b.width:b.height,x=t.getStore(),w=0;while(null!=(r=e.next())){var S=x.get(c?g:o,r),k=x.get(a,r),E=h,O=void 0;c&&(O=+S-x.get(o,r));var C=void 0,A=void 0,T=void 0,P=void 0;if(f){var M=n.dataToPoint([S,k]);if(c){var D=n.dataToPoint([O,k]);E=D[0]}C=E,A=M[1]+y,T=M[0]-E,P=v,Math.abs(T)<p&&(T=(T<0?-1:1)*p)}else{M=n.dataToPoint([k,S]);if(c){D=n.dataToPoint([k,O]);E=D[1]}C=M[0]+y,A=E,T=v,P=M[1]-E,Math.abs(P)<p&&(P=(P<=0?-1:1)*p)}d?(l[w]=C,l[w+1]=A,l[w+2]=f?T:P,u&&(u[w]=f?b.x:C,u[w+1]=f?A:b.y,u[w+2]=_),m[r]=r):t.setItemLayout(r,{x:C,y:A,width:T,height:P}),w+=3}d&&t.setLayout({largePoints:l,largeDataIndices:m,largeBackgroundPoints:u,valueAxisHorizontal:f})}}}}}}function ME(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function DE(e){return e.pipelineContext&&e.pipelineContext.large}function IE(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord("log"===t.type?n>0?n:1:n))}var LE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(e,t){return yk(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(e),o=r.dataToPoint(i);if(n)Object(l["k"])(r.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var r=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),s=i[n],l="x1"===t[n]||"y1"===t[n];if(l&&!a&&(s+=1),r.length<2)return;if(2===r.length)return void(o[n]=e.toGlobalCoord(e.getExtent()[l?1:0]));for(var u=void 0,c=void 0,f=1,h=0;h<r.length;h++){var d=r[h].coord,p=h===r.length-1?r[h-1].tickValue+f:r[h].tickValue;if(p===s){c=d;break}if(p<s)u=d;else if(null!=u&&p>s){c=(d+u)/2;break}1===h&&(f=p-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),o[n]=e.toGlobalCoord(c)}}));else{var a=this.getData(),s=a.getLayout("offset"),u=a.getLayout("size"),c=r.getBaseAxis().isHorizontal()?0:1;o[c]+=s+u/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(kp);kp.registerClass(LE);var RE=LE,jE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(){return yk(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Du(RE.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(RE),NE=jE,BE=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),FE=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return a(t,e),t.prototype.getDefaultShape=function(){return new BE},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,f=2*Math.PI,h=c?u-l<f:l-u<f;h||(l=u-(c?f:-f));var d=Math.cos(l),p=Math.sin(l),g=Math.cos(u),v=Math.sin(u);h?(e.moveTo(d*i+n,p*i+r),e.arc(d*s+n,p*s+r,a,-Math.PI+l,l,!c)):e.moveTo(d*o+n,p*o+r),e.arc(n,r,o,l,u,!c),e.arc(g*s+n,v*s+r,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&e.arc(n,r,i,u,l,c)},t}(Wa),zE=FE;function UE(e,t){t=t||{};var n=t.isRoundCap;return function(t,r,i){var o=r.position;if(!o||o instanceof Array)return sr(t,r,i);var a=e(o),s=null!=r.distance?r.distance:5,l=this.shape,u=l.cx,c=l.cy,f=l.r,h=l.r0,d=(f+h)/2,p=l.startAngle,g=l.endAngle,v=(p+g)/2,y=n?Math.abs(f-h)/2:0,m=Math.cos,b=Math.sin,_=u+f*m(p),x=c+f*b(p),w="left",S="top";switch(a){case"startArc":_=u+(h-s)*m(v),x=c+(h-s)*b(v),w="center",S="top";break;case"insideStartArc":_=u+(h+s)*m(v),x=c+(h+s)*b(v),w="center",S="bottom";break;case"startAngle":_=u+d*m(p)+VE(p,s+y,!1),x=c+d*b(p)+GE(p,s+y,!1),w="right",S="middle";break;case"insideStartAngle":_=u+d*m(p)+VE(p,-s+y,!1),x=c+d*b(p)+GE(p,-s+y,!1),w="left",S="middle";break;case"middle":_=u+d*m(v),x=c+d*b(v),w="center",S="middle";break;case"endArc":_=u+(f+s)*m(v),x=c+(f+s)*b(v),w="center",S="bottom";break;case"insideEndArc":_=u+(f-s)*m(v),x=c+(f-s)*b(v),w="center",S="top";break;case"endAngle":_=u+d*m(g)+VE(g,s+y,!0),x=c+d*b(g)+GE(g,s+y,!0),w="left",S="middle";break;case"insideEndAngle":_=u+d*m(g)+VE(g,-s+y,!0),x=c+d*b(g)+GE(g,-s+y,!0),w="right",S="middle";break;default:return sr(t,r,i)}return t=t||{},t.x=_,t.y=x,t.align=w,t.verticalAlign=S,t}}function HE(e,t,n,r){if(Object(l["z"])(r))e.setTextConfig({rotation:r});else if(Object(l["t"])(t))e.setTextConfig({rotation:0});else{var i,o=e.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,u=(a+s)/2,c=n(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=u;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void e.setTextConfig({rotation:0})}var f=1.5*Math.PI-i;"middle"===c&&f>Math.PI/2&&f<1.5*Math.PI&&(f-=Math.PI),e.setTextConfig({rotation:f})}}function VE(e,t,n){return t*Math.sin(e)*(n?-1:1)}function GE(e,t,n){return t*Math.cos(e)*(n?1:-1)}function WE(e,t,n){var r=e.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;Object(l["t"])(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Object(l["H"])(r,(function(e){return ar(e,i)}))}}var qE=Math.max,XE=Math.min;function YE(e,t){var n=e.getArea&&e.getArea();if(Kk(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var KE=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return a(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){Bv(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,f=JE(e,l);f&&this._enableRealtimeSort(f,a,n);var h=e.get("clip",!0)||f,d=YE(l,a);o.removeClipPath();var p=e.get("roundCap",!0),g=e.get("showBackground",!0),v=e.getModel("backgroundStyle"),y=v.get("borderRadius")||0,m=[],b=this._backgroundEls,_=r&&r.isInitSort,x=r&&"changeAxisOrder"===r.type;function w(e){var t=iO[l.type](a,e),n=gO(l,i,t);return n.useStyle(v.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",y):n.setShape("cornerRadius",y),m[e]=n,n}a.diff(s).add((function(t){var n=a.getItemModel(t),r=iO[l.type](a,t,n);if(g&&w(t),a.hasValue(t)&&rO[l.type](r)){var s=!1;h&&(s=$E[l.type](d,r));var v=ZE[l.type](e,a,t,r,i,c,u.model,!1,p);f&&(v.forceLabelAnimation=!0),sO(v,a,t,n,r,e,i,"polar"===l.type),_?v.attr({shape:r}):f?QE(f,c,v,r,t,i,!1,!1):Wl(v,{shape:r},e,t),a.setItemGraphicEl(t,v),o.add(v),v.ignore=s}})).update((function(t,n){var r=a.getItemModel(t),S=iO[l.type](a,t,r);if(g){var k=void 0;0===b.length?k=w(n):(k=b[n],k.useStyle(v.getItemStyle()),"cartesian2d"===l.type?k.setShape("r",y):k.setShape("cornerRadius",y),m[t]=k);var E=iO[l.type](a,t),O=pO(i,E,l);Gl(k,{shape:O},c,t)}var C=s.getItemGraphicEl(n);if(a.hasValue(t)&&rO[l.type](S)){var A=!1;if(h&&(A=$E[l.type](d,S),A&&o.remove(C)),C?$l(C):C=ZE[l.type](e,a,t,S,i,c,u.model,!!C,p),f&&(C.forceLabelAnimation=!0),x){var T=C.getTextContent();if(T){var P=hu(T);null!=P.prevValue&&(P.prevValue=P.value)}}else sO(C,a,t,r,S,e,i,"polar"===l.type);_?C.attr({shape:S}):f?QE(f,c,C,S,t,i,!0,x):Gl(C,{shape:S},e,t,null),a.setItemGraphicEl(t,C),C.ignore=A,o.add(C)}else o.remove(C)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&Kl(n,e,t)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new Sr);S.removeAll();for(var k=0;k<m.length;++k)S.add(m[k]);o.add(S),this._backgroundEls=m,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),fO(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),fO(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&Yk(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var r=this;if(t.count()){var i=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var o=function(e){var n=t.getItemGraphicEl(e),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(t,o,i,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var r=[];return e.each(e.mapDimension(t.dim),(function(e,t){var i=n(t);i=null==i?NaN:i,r.push({dataIndex:t,mappedValue:i,ordinalNumber:e})})),r.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:Object(l["H"])(r,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,i=e.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(i,r.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){Kl(t,e,Cs(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(Xv),$E={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=qE(t.x,e.x),s=XE(t.x+t.width,i),l=qE(t.y,e.y),u=XE(t.y+t.height,o),c=s<a,f=u<l;return t.x=c&&a>i?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=XE(t.r,e.r),o=qE(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){r=t.r;t.r=t.r0,t.r0=r}return a}},ZE={cartesian2d:function(e,t,n,r,i,o,a,s,u){var c=new ls({shape:Object(l["m"])({},r),z2:1});if(c.__dataIndex=n,c.name="item",o){var f=c.shape,h=i?"height":"width";f[h]=0}return c},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?zE:_g,c=new u({shape:r,z2:1});c.name="item";var f=aO(i);if(c.calculateTextPosition=UE(f,{isRoundCap:u===zE}),o){var h=c.shape,d=i?"r":"endAngle",p={};h[d]=i?r.r0:r.startAngle,p[d]=r[d],(s?Gl:Wl)(c,{shape:p},o)}return c}};function JE(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function QE(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?Gl:Wl)(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?Gl:Wl)(n,{shape:u},c,i)}function eO(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var tO=["x","y","width","height"],nO=["cx","cy","r","startAngle","endAngle"],rO={cartesian2d:function(e){return!eO(e,tO)},polar:function(e){return!eO(e,nO)}},iO={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?lO(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function oO(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function aO(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function sO(e,t,n,r,i,o,a,s){var u=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,f=WE(r.getModel("itemStyle"),c,!0);Object(l["m"])(c,f),e.setShape(c)}}else{var h=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",h)}e.useStyle(u);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var p=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",g=nu(r);tu(e,g,{labelFetcher:o,labelDataIndex:n,defaultText:_k(o.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:p});var v=e.getTextContent();if(s&&v){var y=r.get(["label","position"]);e.textConfig.inside="middle"===y||null,HE(e,"outside"===y?p:y,aO(a),r.get(["label","rotate"]))}du(v,g,o.getRawValue(n),(function(e){return xk(t,e)}));var m=r.getModel(["emphasis"]);Tl(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Il(e,r),oO(i)&&(e.style.fill="none",e.style.stroke="none",Object(l["k"])(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}function lO(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var uO=function(){function e(){}return e}(),cO=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return a(t,e),t.prototype.getDefaultShape=function(){return new uO},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[r]=s,a[i]=n[l+2],o[r]=n[l+r],o[i]=n[l+i],e.rect(o[0],o[1],a[0],a[1])},t}(Wa);function fO(e,t,n,r){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new cO({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var f=new cO({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=o,f.largeDataIndices=a,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),Cs(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",hO),f.on("mousemove",hO)),n&&n.push(f)}var hO=Zv((function(e){var t=this,n=dO(t,e.offsetX,e.offsetY);Cs(t).dataIndex=n>=0?n:null}),30,!1);function dO(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c<f;c++){var h=3*c;if(l[r]=u,l[i]=o[h+2],s[r]=o[h+r],s[i]=o[h+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function pO(e,t,n){if(Kk(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}i=n.getArea();var o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}function gO(e,t,n){var r="polar"===e.type?_g:ls;return new r({shape:pO(t,n,e),silent:!0,z2:0})}var vO=KE;function yO(e){e.registerChartView(vO),e.registerSeriesModel(NE),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,l["h"](TE,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,PE("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,mE("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)}))}))}var mO=2*Math.PI,bO=Math.PI/180;function _O(e,t){return zc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function xO(e,t){var n=_O(e,t),r=e.get("center"),i=e.get("radius");l["t"](i)||(i=[0,i]);var o,a,s=Br(n.width,t.getWidth()),u=Br(n.height,t.getHeight()),c=Math.min(s,u),f=Br(i[0],c/2),h=Br(i[1],c/2),d=e.coordinateSystem;if(d){var p=d.dataToPoint(r);o=p[0]||0,a=p[1]||0}else l["t"](r)||(r=[r,r]),o=Br(r[0],s)+n.x,a=Br(r[1],u)+n.y;return{cx:o,cy:a,r0:f,r:h}}function wO(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),i=_O(e,n),o=xO(e,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-e.get("startAngle")*bO,f=e.get("endAngle"),h=e.get("padAngle")*bO;f="auto"===f?c-mO:-f*bO;var d=e.get("minAngle")*bO,p=d+h,g=0;t.each(r,(function(e){!isNaN(e)&&g++}));var v=t.getSum(r),y=Math.PI/(v||g)*2,m=e.get("clockwise"),b=e.get("roseType"),_=e.get("stillShowZeroSum"),x=t.getDataExtent(r);x[0]=0;var w=m?1:-1,S=[c,f],k=w*h/2;ya(S,!m),c=S[0],f=S[1];var E=SO(e);E.startAngle=c,E.endAngle=f,E.clockwise=m;var O=Math.abs(f-c),C=O,A=0,T=c;if(t.setLayout({viewRect:i,r:l}),t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:a,cy:s,r0:u,r:b?NaN:l});else{r="area"!==b?0===v&&_?y:e*y:O/g,r<p?(r=p,C-=p):A+=e;var i=T+w*r,o=0,c=0;h>r?(o=T+w*r/2,c=o):(o=T+k,c=i-k),t.setItemLayout(n,{angle:r,startAngle:o,endAngle:c,clockwise:m,cx:a,cy:s,r0:u,r:b?Nr(e,x,[u,l]):l}),T=i}})),C<mO&&g)if(C<=.001){var P=O/g;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=P;var i=0,o=0;P<h?(i=c+w*(n+.5)*P,o=i):(i=c+w*n*P+k,o=c+w*(n+1)*P-k),r.startAngle=i,r.endAngle=o}}))}else y=C/A,T=c,t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),i=r.angle===p?p:e*y,o=0,a=0;i<h?(o=T+w*i/2,a=o):(o=T+k,a=T+w*i-k),r.startAngle=o,r.endAngle=a,T+=w*i}}))}))}var SO=Di();function kO(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i<n.length;i++)if(!n[i].isSelected(t))return!1;return!0}))}}}}var EO=Math.PI/180;function OO(e,t,n,r,i,o,a,s,l,u){if(!(e.length<2)){for(var c=e.length,f=0;f<c;f++)if("outer"===e[f].position&&"labelLine"===e[f].labelAlignTo){var h=e[f].label.x-u;e[f].linePoints[1][0]+=h,e[f].label.x=u}px(e,l,l+a)&&p(e)}function d(e){for(var o=e.rB,a=o*o,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-n),c=r+l.len,f=c*c,h=Math.sqrt((1-Math.abs(u*u/a))*f),d=t+(h+l.len2)*i,p=d-l.label.x,g=l.targetTextWidth-p*i;AO(l,g,!0),l.label.x=d}}function p(e){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var f=l.label.x-t-l.len2*i,h=r+l.len,p=Math.abs(f)<h?Math.sqrt(c*c/(1-f*f/h/h)):h;u.rB=p,u.maxY=c}u.list.push(l)}d(o),d(a)}}function CO(e,t,n,r,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=0;h<e.length;h++){var d=e[h].label;TO(e[h])||(d.x<t?(c=Math.min(c,d.x),l.push(e[h])):(f=Math.max(f,d.x),u.push(e[h])))}for(h=0;h<e.length;h++){var p=e[h];if(!TO(p)&&p.linePoints){if(null!=p.labelStyleWidth)continue;d=p.label;var g=p.linePoints,v=void 0;v="edge"===p.labelAlignTo?d.x<t?g[2][0]-p.labelDistance-a-p.edgeDistance:a+i-p.edgeDistance-g[2][0]-p.labelDistance:"labelLine"===p.labelAlignTo?d.x<t?c-a-p.bleedMargin:a+i-f-p.bleedMargin:d.x<t?d.x-a-p.bleedMargin:a+i-d.x-p.bleedMargin,p.targetTextWidth=v,AO(p,v)}}OO(u,t,n,r,1,i,o,a,s,f),OO(l,t,n,r,-1,i,o,a,s,c);for(h=0;h<e.length;h++){p=e[h];if(!TO(p)&&p.linePoints){d=p.label,g=p.linePoints;var y="edge"===p.labelAlignTo,m=d.style.padding,b=m?m[1]+m[3]:0,_=d.style.backgroundColor?0:b,x=p.rect.width+_,w=g[1][0]-g[2][0];y?d.x<t?g[2][0]=a+p.edgeDistance+x+p.labelDistance:g[2][0]=a+i-p.edgeDistance-x-p.labelDistance:(d.x<t?g[2][0]=d.x+p.labelDistance:g[2][0]=d.x-p.labelDistance,g[1][0]=g[2][0]+w),g[1][1]=g[2][1]=d.y}}}function AO(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var r=e.label,i=r.style,o=e.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=o.width+(a?0:l);if(t<c||n){var f=o.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var h=r.getBoundingRect();r.setStyle("width",Math.ceil(h.width)),r.setStyle("backgroundColor",a)}else{var d=t-l,p=t<c?d:n?d>e.unconstrainedWidth?null:d:null;r.setStyle("width",p)}var g=r.getBoundingRect();o.width=g.width;var v=(r.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-f)/2}}}function TO(e){return"center"===e.position}function PO(e){var t,n,r=e.getData(),i=[],o=!1,a=(e.get("minShowLabelAngle")||0)*EO,s=r.getLayout("viewRect"),u=r.getLayout("r"),c=s.width,f=s.x,h=s.y,d=s.height;function p(e){e.ignore=!0}function g(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}r.each((function(e){var s=r.getItemGraphicEl(e),h=s.shape,d=s.getTextContent(),v=s.getTextGuideLine(),y=r.getItemModel(e),m=y.getModel("label"),b=m.get("position")||y.get(["emphasis","label","position"]),_=m.get("distanceToLabelLine"),x=m.get("alignTo"),w=Br(m.get("edgeDistance"),c),S=m.get("bleedMargin"),k=y.getModel("labelLine"),E=k.get("length");E=Br(E,c);var O=k.get("length2");if(O=Br(O,c),Math.abs(h.endAngle-h.startAngle)<a)return Object(l["k"])(d.states,p),d.ignore=!0,void(v&&(Object(l["k"])(v.states,p),v.ignore=!0));if(g(d)){var C,A,T,P,M=(h.startAngle+h.endAngle)/2,D=Math.cos(M),I=Math.sin(M);t=h.cx,n=h.cy;var L="inside"===b||"inner"===b;if("center"===b)C=h.cx,A=h.cy,P="center";else{var R=(L?(h.r+h.r0)/2*D:h.r*D)+t,j=(L?(h.r+h.r0)/2*I:h.r*I)+n;if(C=R+3*D,A=j+3*I,!L){var N=R+D*(E+u-h.r),B=j+I*(E+u-h.r),F=N+(D<0?-1:1)*O,z=B;C="edge"===x?D<0?f+w:f+c-w:F+(D<0?-_:_),A=z,T=[[R,j],[N,B],[F,z]]}P=L?"center":"edge"===x?D>0?"right":"left":D>0?"left":"right"}var U=Math.PI,H=0,V=m.get("rotate");if(Object(l["z"])(V))H=V*(U/180);else if("center"===b)H=0;else if("radial"===V||!0===V){var G=D<0?-M+U:-M;H=G}else if("tangential"===V&&"outside"!==b&&"outer"!==b){var W=Math.atan2(D,I);W<0&&(W=2*U+W);var q=I>0;q&&(W=U+W),H=W-U}if(o=!!H,d.x=C,d.y=A,d.rotation=H,d.setStyle({verticalAlign:"middle"}),L){d.setStyle({align:P});var X=d.states.select;X&&(X.x+=d.x,X.y+=d.y)}else{var Y=d.getBoundingRect().clone();Y.applyTransform(d.getComputedTransform());var K=(d.style.margin||0)+2.1;Y.y-=K/2,Y.height+=K,i.push({label:d,labelLine:v,position:b,len:E,len2:O,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new me(D,I),linePoints:T,textAlign:P,labelDistance:_,labelAlignTo:x,edgeDistance:w,bleedMargin:S,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:L})}})),!o&&e.get("avoidLabelOverlap")&&CO(i,t,n,u,c,d,f,h);for(var v=0;v<i.length;v++){var y=i[v],m=y.label,b=y.labelLine,_=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:y.textAlign}),_&&(Object(l["k"])(m.states,p),m.ignore=!0);var x=m.states.select;x&&(x.x+=m.x,x.y+=m.y)}if(b){var w=y.linePoints;_||!w?(Object(l["k"])(b.states,p),b.ignore=!0):(ox(w,y.minTurnAngle),ax(w,y.surfaceNormal,y.maxSurfaceAngle),b.setShape({points:w}),m.__hostTarget.textGuideLineConfig={anchor:new me(w[0][0],w[0][1])})}}}var MO=function(e){function t(t,n,r){var i=e.call(this)||this;i.z2=2;var o=new Os;return i.setTextContent(o),i.updateData(t,n,r,!0),i}return a(t,e),t.prototype.updateData=function(e,t,n,r){var i=this,o=e.hostModel,a=e.getItemModel(t),s=a.getModel("emphasis"),u=e.getItemLayout(t),c=Object(l["m"])(WE(a.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))i.setShape(c);else{if(r){i.setShape(c);var f=o.getShallow("animationType");o.ecModel.ssr?(Wl(i,{scaleX:0,scaleY:0},o,{dataIndex:t,isFrom:!0}),i.originX=c.cx,i.originY=c.cy):"scale"===f?(i.shape.r=u.r0,Wl(i,{shape:{r:u.r}},o,t)):null!=n?(i.setShape({startAngle:n,endAngle:n}),Wl(i,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,t)):(i.shape.endAngle=u.startAngle,Gl(i,{shape:{endAngle:u.endAngle}},o,t))}else $l(i),Gl(i,{shape:c},o,t);i.useStyle(e.getItemVisual(t,"style")),Il(i,a);var h=(u.startAngle+u.endAngle)/2,d=o.get("selectedOffset"),p=Math.cos(h)*d,g=Math.sin(h)*d,v=a.getShallow("cursor");v&&i.attr("cursor",v),this._updateLabel(o,e,t),i.ensureState("emphasis").shape=Object(l["m"])({r:u.r+(s.get("scale")&&s.get("scaleSize")||0)},WE(s.getModel("itemStyle"),u)),Object(l["m"])(i.ensureState("select"),{x:p,y:g,shape:WE(a.getModel(["select","itemStyle"]),u)}),Object(l["m"])(i.ensureState("blur"),{shape:WE(a.getModel(["blur","itemStyle"]),u)});var y=i.getTextGuideLine(),m=i.getTextContent();y&&Object(l["m"])(y.ensureState("select"),{x:p,y:g}),Object(l["m"])(m.ensureState("select"),{x:p,y:g}),Tl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var r=this,i=t.getItemModel(n),o=i.getModel("labelLine"),a=t.getItemVisual(n,"style"),s=a&&a.fill,u=a&&a.opacity;tu(r,nu(i),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:u,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var c=r.getTextContent();r.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var f=e.get(["label","position"]);if("outside"!==f&&"outer"!==f)r.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new Mg,this.setTextGuideLine(h)),ux(this,cx(i),{stroke:s,opacity:Object(l["Q"])(o.get(["lineStyle","opacity"]),u,1)})}},t}(_g),DO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return a(t,e),t.prototype.render=function(e,t,n,r){var i,o=e.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var u=o.getItemLayout(0),c=1;isNaN(u&&u.startAngle)&&c<o.count();++c)u=o.getItemLayout(c);u&&(i=u.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&e.get("showEmptyCircle")){var f=SO(e),h=new _g({shape:Object(l["m"])(xO(e,n),f)});h.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}o.diff(a).add((function(e){var t=new MO(o,e,i);o.setItemGraphicEl(e,t),s.add(t)})).update((function(e,t){var n=a.getItemGraphicEl(t);n.updateData(o,e,i),n.off("click"),s.add(n),o.setItemGraphicEl(e,n)})).remove((function(t){var n=a.getItemGraphicEl(t);Kl(n,e,t)})).execute(),PO(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}},t.type="pie",t}(Xv),IO=DO;function LO(e,t,n){t=Object(l["t"])(t)&&{coordDimensions:t}||Object(l["m"])({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=ek(r,t).dimensions,o=new QS(i,e);return o.initData(r,n),o}var RO=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},e.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},e.prototype.getItemVisual=function(e,t){var n=this._getDataWithEncodedVisual();return n.getItemVisual(e,t)},e}(),jO=RO,NO=Di(),BO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jO(l["c"](this.getData,this),l["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return LO(this,{coordDimensions:["value"],encodeDefaulter:l["h"](pf,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=NO(n),i=r.seats;if(!i){var o=[];n.each(n.mapDimension("value"),(function(e){o.push(e)})),i=r.seats=Gr(o,n.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=i[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){fi(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(kp),FO=BO;function zO(e){return{seriesType:e,reset:function(e,t){var n=e.getData();n.filterSelf((function(e){var t=n.mapDimension("value"),r=n.get(t,e);return!(Object(l["z"])(r)&&!isNaN(r)&&r<0)}))}}}function UO(e){e.registerChartView(IO),e.registerSeriesModel(FO),Vy("pie",e.registerAction),e.registerLayout(Object(l["h"])(wO,"pie")),e.registerProcessor(kO("pie")),e.registerProcessor(zO("pie"))}var HO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){return yk(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(kp),VO=HO,GO=4,WO=function(){function e(){}return e}(),qO=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(t,e),t.prototype.getDefaultShape=function(){return new WO},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,r=t.points,i=t.size,o=this.symbolProxy,a=o.shape,s=e.getContext?e.getContext():e,l=s&&i[0]<GO,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var c=r[n++],f=r[n++];isNaN(c)||isNaN(f)||(u&&!u.contain(c,f)||(a.x=c-i[0]/2,a.y=f-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(e,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,r=t.size,i=this._ctx,o=this.softClipShape;if(i){for(e=this._off;e<n.length;){var a=n[e++],s=n[e++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||i.fillRect(a-r[0]/2,s-r[1]/2,r[0],r[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(e=n[0],t=n[1],r.contain(e,t)){var i=this.hoverDataIdx=this.findDataIndex(e,t);return i>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var f=n[c++],h=n[c++];a=Math.min(f,a),l=Math.max(f,l),s=Math.min(h,s),u=Math.max(h,u)}e=this._rect=new Ae(a-i/2,s-o/2,l-a+i,u-s+o)}return e},t}(Wa),XO=function(){function e(){this.group=new Sr}return e.prototype.updateData=function(e,t){this._clear();var n=this._create();n.setShape({points:e.getLayout("points")}),this._setCommon(n,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var r=this._newAdded[0],i=t.getLayout("points"),o=r&&r.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+i.length);s.set(o),s.set(i,a),r.endIndex=e.end,r.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:i}),this._setCommon(l,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new qO({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;n=n||{};var i=t.getVisual("symbolSize");e.setShape("size",i instanceof Array?i:[i,i]),e.softClipShape=n.clipShape||null,e.symbolProxy=am(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<GO;e.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=Cs(e);l.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){l.dataIndex=null;var n=e.hoverDataIdx;n>=0&&(l.dataIndex=n+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),YO=XO,KO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=gE("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext,i=r.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new YO:new Tk,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Xv),$O=KO,ZO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}($c),JO=ZO,QO=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},e.prototype.getCoordSysModel=function(){},e}(),eC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ji).models[0]},t.type="cartesian2dAxis",t}($c);l["K"](eC,QO);var tC={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},nC=l["I"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},tC),rC=l["I"]({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},tC),iC=l["I"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},rC),oC=l["i"]({logBase:10},rC),aC={category:nC,value:rC,time:iC,log:oC},sC=0,lC=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++sC}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&Object(l["H"])(r,uC);return new e({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!Object(l["C"])(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=this._getOrCreateMap();return t=r.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(l["f"])(this.categories))},e}();function uC(e){return Object(l["A"])(e)&&null!=e.value?e.value:e+""}var cC=lC,fC={value:1,category:1,time:1,log:1};function hC(e,t,n,r){Object(l["k"])(fC,(function(i,o){var s=Object(l["I"])(Object(l["I"])({},aC[o],!0),r,!0),u=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+o,n}return a(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=Vc(this),r=n?Wc(e):{},i=t.getTheme();Object(l["I"])(e,i.get(o+"Axis")),Object(l["I"])(e,this.getDefaultOption()),e.type=dC(e),n&&Gc(e,r,n)},n.prototype.optionUpdated=function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=cC.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+o,n.defaultOption=s,n}(n);e.registerComponentModel(u)})),e.registerSubTypeDefaulter(t+"Axis",dC)}function dC(e){return e.type||(e.data?"category":"value")}var pC=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();ro(pC);var gC=pC;function vC(e){return"interval"===e.type||"log"===e.type}function yC(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=Qr(o/t,!0);null!=n&&a<n&&(a=i.interval=n),null!=r&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=bC(a),l=i.niceTickExtent=[Fr(Math.ceil(e[0]/a)*a,s),Fr(Math.floor(e[1]/a)*a,s)];return xC(l,e),i}function mC(e){var t=Math.pow(10,Jr(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Fr(n*t)}function bC(e){return Ur(e)+2}function _C(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function xC(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),_C(e,0,t),_C(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function wC(e,t){return e>=t[0]&&e<=t[1]}function SC(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function kC(e,t){return e*(t[1]-t[0])+t[0]}var EC=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new cC({})),Object(l["t"])(r)&&(r=new cC({categories:Object(l["H"])(r,(function(e){return Object(l["A"])(e)?e.value:e}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return a(t,e),t.prototype.parse=function(e){return null==e?NaN:Object(l["C"])(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),wC(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),SC(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(kC(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){while(null!=r[l])l++;n.push(l),r[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),n=this._ordinalMeta.categories[t];return null==n?"":n+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(gC);gC.registerClass(EC);var OC=EC,CC=Fr,AC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return a(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return wC(e,this._extent)},t.prototype.normalize=function(e){return SC(e,this._extent)},t.prototype.scale=function(e){return kC(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=bC(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]<r[0]&&(e?o.push({value:CC(r[0]-t,i)}):o.push({value:n[0]}));var s=r[0];while(s<=r[1]){if(o.push({value:s}),s=CC(s+t,i),s===o[o.length-1].value)break;if(o.length>a)return[]}var l=o.length?o[o.length-1].value:r[1];return n[1]>l&&(e?o.push({value:CC(l+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<t.length;i++){var o=t[i],a=t[i-1],s=0,l=[],u=o.value-a.value,c=u/e;while(s<e-1){var f=CC(a.value+(s+1)*c);f>r[0]&&f<r[1]&&l.push(f),s++}n.push(l)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;null==n?n=Ur(e.value)||0:"auto"===n&&(n=this._intervalPrecision);var r=CC(e.value,n,!0);return Sc(r)},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=yC(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=CC(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=CC(Math.ceil(t[1]/i)*i))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(gC);gC.registerClass(AC);var TC=AC,PC=function(e,t,n,r){while(n<r){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},MC=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return a(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return oc(e.value,Ju[ic(nc(this._minLevelUnit))]||Ju.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale");return ac(e,t,n,i,r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),i=zC(this._minLevelUnit,this._approxInterval,r,t);return n=n.concat(i),n.push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=Yu,t[1]+=Yu),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-Yu}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=DC.length,a=Math.min(PC(DC,this._approxInterval,0,o),o-1);this._interval=DC[a][1],this._minLevelUnit=DC[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return Object(l["z"])(e)?e:+$r(e)},t.prototype.contain=function(e){return wC(this.parse(e),this._extent)},t.prototype.normalize=function(e){return SC(this.parse(e),this._extent)},t.prototype.scale=function(e){return kC(e,this._extent)},t.type="time",t}(TC),DC=[["second",Wu],["minute",qu],["hour",Xu],["quarter-day",6*Xu],["half-day",12*Xu],["day",1.2*Yu],["half-week",3.5*Yu],["week",7*Yu],["month",31*Yu],["quarter",95*Yu],["half-year",Ku/2],["year",Ku]];function IC(e,t,n,r){var i=$r(t),o=$r(n),a=function(e){return lc(i,e,r)===lc(o,e,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},f=function(){return c()&&a("minute")},h=function(){return f()&&a("second")},d=function(){return h()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return h();case"millisecond":return d()}}function LC(e,t){return e/=Yu,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function RC(e){var t=30*Yu;return e/=t,e>6?6:e>3?3:e>2?2:1}function jC(e){return e/=Xu,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function NC(e,t){return e/=t?qu:Wu,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function BC(e){return Qr(e,!0)}function FC(e,t,n){var r=new Date(e);switch(nc(t)){case"year":case"month":r[yc(n)](0);case"day":r[mc(n)](1);case"hour":r[bc(n)](0);case"minute":r[_c(n)](0);case"second":r[xc(n)](0),r[wc(n)](0)}return r.getTime()}function zC(e,t,n,r){var i=1e4,o=ec,a=0;function s(e,t,n,i,o,a,s){var l=new Date(t),u=t,c=l[i]();while(u<n&&u<=r[1])s.push({value:u}),c+=e,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function u(e,i,o){var a=[],l=!i.length;if(!IC(nc(e),r[0],r[1],n)){l&&(i=[{value:FC(new Date(r[0]),e,n)},{value:r[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,f=i[u+1].value;if(c!==f){var h=void 0,d=void 0,p=void 0,g=!1;switch(e){case"year":h=Math.max(1,Math.round(t/Yu/365)),d=uc(n),p=vc(n);break;case"half-year":case"quarter":case"month":h=RC(t),d=cc(n),p=yc(n);break;case"week":case"half-week":case"day":h=LC(t,31),d=fc(n),p=mc(n),g=!0;break;case"half-day":case"quarter-day":case"hour":h=jC(t),d=hc(n),p=bc(n);break;case"minute":h=NC(t,!0),d=dc(n),p=_c(n);break;case"second":h=NC(t,!1),d=pc(n),p=xc(n);break;case"millisecond":h=BC(t),d=gc(n),p=wc(n);break}s(h,c,f,d,p,g,a),"year"===e&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var c=[],f=[],h=0,d=0,p=0;p<o.length&&a++<i;++p){var g=nc(o[p]);if(rc(o[p])){u(o[p],c[c.length-1]||[],f);var v=o[p+1]?nc(o[p+1]):null;if(g!==v){if(f.length){d=h,f.sort((function(e,t){return e.value-t.value}));for(var y=[],m=0;m<f.length;++m){var b=f[m].value;0!==m&&f[m-1].value===b||(y.push(f[m]),b>=r[0]&&b<=r[1]&&h++)}var _=(r[1]-r[0])/t;if(h>1.5*_&&d>_/1.5)break;if(c.push(y),h>_||e===o[p])break}f=[]}}}var x=Object(l["n"])(Object(l["H"])(c,(function(e){return Object(l["n"])(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return e.length>0})),w=[],S=x.length-1;for(p=0;p<x.length;++p)for(var k=x[p],E=0;E<k.length;++E)w.push({value:k[E].value,level:S-p});w.sort((function(e,t){return e.value-t.value}));var O=[];for(p=0;p<w.length;++p)0!==p&&w[p].value===w[p-1].value||O.push(w[p]);return O}gC.registerClass(MC);var UC=MC,HC=gC.prototype,VC=TC.prototype,GC=Fr,WC=Math.floor,qC=Math.ceil,XC=Math.pow,YC=Math.log,KC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new TC,t._interval=0,t}return a(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,r=t.getExtent(),i=VC.getTicks.call(this,e);return l["H"](i,(function(e){var t=e.value,i=Fr(XC(this.base,t));return i=t===n[0]&&this._fixMin?ZC(i,r[0]):i,i=t===n[1]&&this._fixMax?ZC(i,r[1]):i,{value:i}}),this)},t.prototype.setExtent=function(e,t){var n=YC(this.base);e=YC(Math.max(0,e))/n,t=YC(Math.max(0,t))/n,VC.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=HC.getExtent.call(this);t[0]=XC(e,t[0]),t[1]=XC(e,t[1]);var n=this._originalScale,r=n.getExtent();return this._fixMin&&(t[0]=ZC(t[0],r[0])),this._fixMax&&(t[1]=ZC(t[1],r[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=YC(e[0])/YC(t),e[1]=YC(e[1])/YC(t),HC.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=Zr(n),i=e/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var o=[Fr(qC(t[0]/r)*r),Fr(WC(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){VC.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=YC(e)/YC(this.base),wC(e,this._extent)},t.prototype.normalize=function(e){return e=YC(e)/YC(this.base),SC(e,this._extent)},t.prototype.scale=function(e){return e=kC(e,this._extent),XC(this.base,e)},t.type="log",t}(gC),$C=KC.prototype;function ZC(e,t){return GC(e,Ur(t))}$C.getMinorTicks=VC.getMinorTicks,$C.getLabel=VC.getLabel,gC.registerClass(KC);var JC=KC,QC=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=t.get("min",!0);null==i&&(i=t.get("startValue",!0));var o=this._modelMinRaw=i;Object(l["w"])(o)?this._modelMinNum=rA(e,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=rA(e,o));var a=this._modelMaxRaw=t.get("max",!0);if(Object(l["w"])(a)?this._modelMaxNum=rA(e,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=rA(e,a)),r)this._axisDataLen=t.getCategories().length;else{var s=t.get("boundaryGap"),u=Object(l["t"])(s)?s:[s||0,s||0];"boolean"===typeof u[0]||"boolean"===typeof u[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[ar(u[0],1),ar(u[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=e?null:n-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=a,c=null!=s;null==a&&(a=e?r?0:NaN:t-i[0]*o),null==s&&(s=e?r?r-1:NaN:n+i[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var f=Object(l["l"])(a)||Object(l["l"])(s)||e&&!r;this._needCrossZero&&(a>0&&s>0&&!u&&(a=0),a<0&&s<0&&!c&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(a=h,u=!0),null!=d&&(s=d,c=!0),{min:a,max:s,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(e,t){this[tA[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=eA[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),eA={min:"_determinedMin",max:"_determinedMax"},tA={min:"_dataMin",max:"_dataMax"};function nA(e,t,n){var r=e.rawExtentInfo;return r||(r=new QC(e,t,n),e.rawExtentInfo=r,r)}function rA(e,t){return null==t?null:Object(l["l"])(t)?NaN:e.parse(t)}function iA(e,t){var n=e.type,r=nA(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&"time"===n){var s=kE("bar",a),u=!1;if(l["k"](s,(function(e){u=u||e.getBaseAxis()===t.axis})),u){var c=OE(s),f=oA(i,o,t,c);i=f.min,o=f.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function oA(e,t,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=AE(r,n.axis);if(void 0===a)return{min:e,max:t};var s=1/0;l["k"](a,(function(e){s=Math.min(e.offset,s)}));var u=-1/0;l["k"](a,(function(e){u=Math.max(e.offset+e.width,u)})),s=Math.abs(s),u=Math.abs(u);var c=s+u,f=t-e,h=1-(s+u)/o,d=f/h-f;return t+=d*(u/c),e-=d*(s/c),{min:e,max:t}}function aA(e,t){var n=t,r=iA(e,n),i=r.extent,o=n.get("splitNumber");e instanceof JC&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function sA(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new OC({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new UC({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(gC.getClass(t)||TC)}}function lA(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function uA(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(n,r){return e.scale.getFormattedLabel(n,r,t)}}(t):l["C"](t)?function(t){return function(n){var r=e.scale.getLabel(n),i=t.replace("{value}",null!=r?r:"");return i}}(t):l["w"](t)?function(t){return function(r,i){return null!=n&&(i=r.value-n),t(cA(e,r),i,null!=r.level?{level:r.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function cA(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function fA(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();n instanceof OC?i=n.count():(r=n.getTicks(),i=r.length);var a,s=e.getLabelModel(),l=uA(e),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var f=r?r[c]:{value:o[0]+c},h=l(f,c),d=s.getTextRect(h),p=hA(d,s.get("rotate")||0);a?a.union(p):a=p}return a}}function hA(e,t){var n=t*Math.PI/180,r=e.width,i=e.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n)),s=new Ae(e.x,e.y,o,a);return s}function dA(e){var t=e.get("interval");return null==t?"auto":t}function pA(e){return"category"===e.type&&0===dA(e.getLabelModel())}function gA(e,t){var n={};return l["k"](e.mapDimensionsAll(t),(function(t){n[fk(e,t)]=!0})),l["F"](n)}function vA(e,t,n){t&&l["k"](gA(t,n),(function(n){var r=t.getApproximateExtent(n);r[0]<e[0]&&(e[0]=r[0]),r[1]>e[1]&&(e[1]=r[1])}))}var yA=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return l["H"](this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),l["n"](this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}(),mA=yA,bA=["x","y"];function _A(e){return"interval"===e.type||"time"===e.type}var xA=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=bA,t}return a(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(_A(e)&&_A(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,f=i[1]-r[0]*u,h=this._transform=[l,0,0,u,c,f];this._invTransform=ge([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),o=new Ae(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return E(n,e,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,t)),n[1]=a.toGlobalCoord(a.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return E(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(t[0],t[1])-e,i=Math.min(n[0],n[1])-e,o=Math.max(t[0],t[1])-r+e,a=Math.max(n[0],n[1])-i+e;return new Ae(r,i,o,a)},t}(mA),wA=xA,SA=Di();function kA(e,t){var n=l["H"](t,(function(t){return e.scale.parse(t)}));return"time"===e.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function EA(e){var t=e.getLabelModel().get("customValues");if(t){var n=uA(e);return{labels:kA(e,t).map((function(t){var r={value:t};return{formattedLabel:n(r),rawLabel:e.scale.getLabel(r),tickValue:t}}))}}return"category"===e.type?CA(e):PA(e)}function OA(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:kA(e,n)}:"category"===e.type?TA(e,t):{ticks:l["H"](e.scale.getTicks(),(function(e){return e.value}))}}function CA(e){var t=e.getLabelModel(),n=AA(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function AA(e,t){var n,r,i=MA(e,"labels"),o=dA(t),a=DA(i,o);return a||(l["w"](o)?n=BA(e,o):(r="auto"===o?LA(e):o,n=NA(e,r)),IA(i,o,{labels:n,labelCategoryInterval:r}))}function TA(e,t){var n,r,i=MA(e,"ticks"),o=dA(t),a=DA(i,o);if(a)return a;if(t.get("show")&&!e.scale.isBlank()||(n=[]),l["w"](o))n=BA(e,o,!0);else if("auto"===o){var s=AA(e,e.getLabelModel());r=s.labelCategoryInterval,n=l["H"](s.labels,(function(e){return e.tickValue}))}else r=o,n=NA(e,r,!0);return IA(i,o,{ticks:n,tickCategoryInterval:r})}function PA(e){var t=e.scale.getTicks(),n=uA(e);return{labels:l["H"](t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}function MA(e,t){return SA(e)[t]||(SA(e)[t]=[])}function DA(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function IA(e,t,n){return e.push({key:t,value:n}),n}function LA(e){var t=SA(e).autoInterval;return null!=t?t:SA(e).autoInterval=e.calculateCategoryInterval()}function RA(e){var t=jA(e),n=uA(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),h=0,d=0;l<=o[1];l+=s){var p=0,g=0,v=nr(n({value:l}),t.font,"center","top");p=1.3*v.width,g=1.3*v.height,h=Math.max(h,p,7),d=Math.max(d,g,7)}var y=h/c,m=d/f;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var b=Math.max(0,Math.floor(Math.min(y,m))),_=SA(e.model),x=e.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-b)<=1&&Math.abs(S-a)<=1&&w>b&&_.axisExtent0===x[0]&&_.axisExtent1===x[1]?b=w:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=x[0],_.axisExtent1=x[1]),b}function jA(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function NA(e,t,n){var r=uA(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=pA(e),h=a.get("showMinLabel")||f,d=a.get("showMaxLabel")||f;h&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return d&&p-l!==o[1]&&g(o[1]),s}function BA(e,t,n){var r=e.scale,i=uA(e),o=[];return l["k"](r.getTicks(),(function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})})),o}var FA=[0,1],zA=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Vr(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),UA(n,r.count())),Nr(e,FA,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),UA(n,r.count()));var i=Nr(e,n,FA,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=OA(this,t),r=n.ticks,i=Object(l["H"])(r,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this),o=t.get("alignWithLabel");return HA(this,i,o,e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=Object(l["H"])(n,(function(e){return Object(l["H"])(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return r},e.prototype.getViewLabels=function(){return EA(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return RA(this)},e}();function UA(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function HA(e,t,n,r){var i=t.length;if(e.onBand&&!n&&i){var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[1]};else{var u=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/u;Object(l["k"])(t,(function(e){e.coord-=c/2}));var f=e.scale.getExtent();a=1+f[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a},t.push(o)}var h=s[0]>s[1];d(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift()),r&&d(s[0],t[0].coord)&&t.unshift({coord:s[0]}),d(s[1],o.coord)&&(r?o.coord=s[1]:t.pop()),r&&d(o.coord,s[1])&&t.push({coord:s[1]})}function d(e,t){return e=Fr(e),t=Fr(t),h?e>t:e<t}}var VA=zA,GA=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return a(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(VA),WA=GA;function qA(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,u=a?"onZero":s,c=i.dim,f=r.getRect(),h=[f.x,f.x+f.width,f.y,f.y+f.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,g="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var v=a.toGlobalCoord(a.dataToCoord(0));g[d.onZero]=Math.max(Math.min(v,g[1]),g[0])}o.position=["y"===c?g[d[u]]:h[0],"x"===c?g[d[u]]:h[3]],o.rotation=Math.PI/2*("x"===c?0:1);var y={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=y[s],o.labelOffset=a?g[d[s]]-g[d.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),l["O"](n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate="top"===u?-m:m,o.z2=1,o}function XA(e){return"cartesian2d"===e.get("coordinateSystem")}function YA(e){var t={xAxisModel:null,yAxisModel:null};return l["k"](t,(function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,ji).models[0];t[r]=o})),t}var KA=Math.log;function $A(e,t,n){var r=TC.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=iA(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if("log"===e.type){var h=KA(e.base);u=[KA(u[0])/h,KA(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:f});var d=r.getExtent.call(e);c&&(u[0]=d[0]),f&&(u[1]=d[1]);var p=r.getInterval.call(e),g=u[0],v=u[1];if(c&&f)p=(v-g)/a;else if(c){v=u[0]+p*a;while(v<u[1]&&isFinite(v)&&isFinite(u[1]))p=mC(p),v=u[0]+p*a}else if(f){g=u[1]-p*a;while(g>u[0]&&isFinite(g)&&isFinite(u[0]))p=mC(p),g=u[1]-p*a}else{var y=e.getTicks().length-1;y>a&&(p=mC(p));var m=p*a;v=Math.ceil(u[1]/p)*p,g=Fr(v-m),g<0&&u[0]>=0?(g=0,v=Fr(m)):v>0&&u[1]<=0&&(v=0,g=-Fr(m))}var b=(i[0].value-o[0].value)/s,_=(i[a].value-o[a].value)/s;r.setExtent.call(e,g+p*b,v+p*_),r.setInterval.call(e,p),(b||_)&&r.setNiceExtent.call(e,g+p,v-p)}var ZA=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=bA,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=Object(l["F"])(e),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=+n[o],s=e[a],u=s.model,c=s.scale;vC(c)&&u.get("alignTicks")&&null==u.get("interval")?i.push(s):(aA(c,u),vC(c)&&(t=s))}i.length&&(t||(t=i.pop(),aA(t.scale,t.model)),Object(l["k"])(i,(function(e){$A(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};Object(l["k"])(n.x,(function(e){QA(n,"y",e,i)})),Object(l["k"])(n.y,(function(e){QA(n,"x",e,i)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=zc(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(l["k"])(a,(function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),tT(e,t?o.x:o.y)}))}s(),i&&(Object(l["k"])(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=fA(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}})),s()),Object(l["k"])(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}Object(l["A"])(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,i=e.xAxisModel||r&&r.getReferringComponents("xAxis",ji).models[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis",ji).models[0],a=e.gridModel,s=this._coordsList;if(r)t=r.coordinateSystem,Object(l["r"])(s,t)<0&&(t=null);else if(i&&o)t=this.getCartesian(i.componentIndex,o.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(t=this._coordsList[0])}return{cartesian:t,axis:n}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",u("x"),this),t.eachComponent("yAxis",u("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function u(t){return function(n,r){if(JA(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new WA(t,sA(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=r,i._axesList.push(u),a[t][r]=u,s[t]++}}}this._axesMap=a,Object(l["k"])(a.x,(function(t,n){Object(l["k"])(a.y,(function(i,o){var a="x"+n+"y"+o,s=new wA(a);s.master=r,s.model=e,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(t),s.addAxis(i)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){Object(l["k"])(gA(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}Object(l["k"])(this._axesList,(function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}})),e.eachSeries((function(e){if(XA(e)){var r=YA(e),i=r.xAxisModel,o=r.yAxisModel;if(!JA(i,t)||!JA(o,t))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=e.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return Object(l["k"])(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);Object(l["r"])(t,i)<0&&t.push(i),Object(l["r"])(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var r=[];return t.eachComponent("grid",(function(i,o){var a=new e(i,t,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)})),t.eachSeries((function(e){if(XA(e)){var t=YA(e),n=t.xAxisModel,r=t.yAxisModel,i=n.getCoordSysModel();0;var o=i.coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}})),r},e.dimensions=bA,e}();function JA(e,t){return e.getCoordSysModel()===t}function QA(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)eT(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&eT(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(e){return e.dim+"_"+e.index}}function eT(e){return e&&"category"!==e.type&&"time"!==e.type&&lA(e)}function tT(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}var nT=ZA,rT=Math.PI,iT=function(){function e(e,t){this.group=new Sr,this.opt=t,this.axisModel=e,Object(l["i"])(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Sr({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!oT[e]},e.prototype.add=function(e){oT[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,i,o=Xr(t-e);return Yr(o)?(i=n>0?"top":"bottom",r="center"):Yr(o-rT)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<rT?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),oT={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if("auto"===i&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],u=[o[1],0],c=s[0]>u[0];a&&(E(s,s,a),E(u,u,a));var f=Object(l["m"])({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Rg({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:f,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});_v(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=t.get(["axisLine","symbol"]);if(null!=d){var p=t.get(["axisLine","symbolSize"]);Object(l["C"])(d)&&(d=[d,d]),(Object(l["C"])(p)||Object(l["z"])(p))&&(p=[p,p]);var g=lm(t.get(["axisLine","symbolOffset"])||0,p),v=p[0],y=p[1];Object(l["k"])([{rotate:e.rotation+Math.PI/2,offset:g[0],r:0},{rotate:e.rotation-Math.PI/2,offset:g[1],r:Math.sqrt((s[0]-u[0])*(s[0]-u[0])+(s[1]-u[1])*(s[1]-u[1]))}],(function(t,r){if("none"!==d[r]&&null!=d[r]){var i=am(d[r],-v/2,-y/2,v,y,f.stroke,!0),o=t.r+t.offset,a=c?u:s;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(e,t,n,r){var i=hT(n,r,t,e),o=pT(n,r,t,e);if(sT(t,o,i),dT(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=fx(Object(l["H"])(o,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})));gx(a)}},axisName:function(e,t,n,r){var i=Object(l["O"])(e.axisName,t.get("name"));if(i){var o,a,s=t.get("nameLocation"),u=e.nameDirection,c=t.getModel("nameTextStyle"),f=t.get("nameGap")||0,h=t.axis.getExtent(),d=h[0]>h[1]?-1:1,p=["start"===s?h[0]-d*f:"end"===s?h[1]+d*f:(h[0]+h[1])/2,cT(s)?e.labelOffset+u*f:0],g=t.get("nameRotate");null!=g&&(g=g*rT/180),cT(s)?o=iT.innerTextLayout(e.rotation,null!=g?g:e.rotation,u):(o=aT(e.rotation,s,g||0,h),a=e.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var v=c.getFont(),y=t.get("nameTruncate",!0)||{},m=y.ellipsis,b=Object(l["O"])(e.nameTruncateMaxWidth,y.maxWidth,a),_=new Os({x:p[0],y:p[1],rotation:o.rotation,silent:iT.isLabelSilent(t),style:ru(c,{text:i,font:v,overflow:"truncate",width:b,ellipsis:m,fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(jv({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var x=iT.makeAxisEventDataBase(t);x.targetType="axisName",x.name=i,Cs(_).eventData=x}r.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function aT(e,t,n,r){var i,o,a=Xr(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return Yr(a-rT/2)?(o=l?"bottom":"top",i="center"):Yr(a-1.5*rT)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*rT&&a>rT/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function sT(e,t,n){if(!pA(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],h=n[n.length-2];!1===r?(lT(o),lT(u)):uT(o,a)&&(r?(lT(a),lT(c)):(lT(o),lT(u))),!1===i?(lT(s),lT(f)):uT(l,s)&&(i?(lT(l),lT(h)):(lT(s),lT(f)))}}function lT(e){e&&(e.ignore=!0)}function uT(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=ue([]);return de(i,i,-e.rotation),n.applyTransform(fe([],i,e.getLocalTransform())),r.applyTransform(fe([],i,t.getLocalTransform())),n.intersect(r)}}function cT(e){return"middle"===e||"center"===e}function fT(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,t&&(E(a,a,t),E(s,s,t));var c=new Rg({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});_v(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,o.push(c)}return o}function hT(e,t,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),a&&!i.scale.isBlank()){for(var s=o.getModel("lineStyle"),u=r.tickDirection*o.get("length"),c=i.getTicksCoords(),f=fT(c,t.transform,u,Object(l["i"])(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<f.length;h++)e.add(f[h]);return f}}function dT(e,t,n,r){var i=n.axis,o=n.getModel("minorTick");if(o.get("show")&&!i.scale.isBlank()){var a=i.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),u=r*o.get("length"),c=Object(l["i"])(s.getLineStyle(),Object(l["i"])(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),f=0;f<a.length;f++)for(var h=fT(a[f],t.transform,u,c,"minorticks_"+f),d=0;d<h.length;d++)e.add(h[d])}}function pT(e,t,n,r){var i=n.axis,o=Object(l["O"])(r.axisLabelShow,n.get(["axisLabel","show"]));if(o&&!i.scale.isBlank()){var a=n.getModel("axisLabel"),s=a.get("margin"),u=i.getViewLabels(),c=(Object(l["O"])(r.labelRotate,a.get("rotate"))||0)*rT/180,f=iT.innerTextLayout(r.rotation,c,r.labelDirection),h=n.getCategories&&n.getCategories(!0),d=[],p=iT.isLabelSilent(n),g=n.get("triggerEvent");return Object(l["k"])(u,(function(o,c){var v="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,y=o.formattedLabel,m=o.rawLabel,b=a;if(h&&h[v]){var _=h[v];Object(l["A"])(_)&&_.textStyle&&(b=new Cu(_.textStyle,a,n.ecModel))}var x=b.getTextColor()||n.get(["axisLine","lineStyle","color"]),w=i.dataToCoord(v),S=b.getShallow("align",!0)||f.textAlign,k=Object(l["P"])(b.getShallow("alignMinLabel",!0),S),E=Object(l["P"])(b.getShallow("alignMaxLabel",!0),S),O=b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||f.textVerticalAlign,C=Object(l["P"])(b.getShallow("verticalAlignMinLabel",!0),O),A=Object(l["P"])(b.getShallow("verticalAlignMaxLabel",!0),O),T=new Os({x:w,y:r.labelOffset+r.labelDirection*s,rotation:f.rotation,silent:p,z2:10+(o.level||0),style:ru(b,{text:y,align:0===c?k:c===u.length-1?E:S,verticalAlign:0===c?C:c===u.length-1?A:O,fill:Object(l["w"])(x)?x("category"===i.type?m:"value"===i.type?v+"":v,c):x})});if(T.anid="label_"+v,g){var P=iT.makeAxisEventDataBase(n);P.targetType="axisLabel",P.value=m,P.tickIndex=c,"category"===i.type&&(P.dataIndex=v),Cs(T).eventData=P}t.add(T),T.updateTransform(),d.push(T),e.add(T),T.decomposeTransform()})),d}}var gT=iT;function vT(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return yT(n,e,t),n.seriesInvolved&&bT(n,e),n}function yT(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];Object(l["k"])(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=OT(n.model),u=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var c=n.model,f=c.getModel("tooltip",r);if(Object(l["k"])(n.getAxes(),Object(l["h"])(g,!1,null)),n.getTooltipAxes&&r&&f.get("show")){var h="axis"===f.get("trigger"),d="cross"===f.get(["axisPointer","type"]),p=n.getTooltipAxes(f.get(["axisPointer","axis"]));(h||d)&&Object(l["k"])(p.baseAxes,Object(l["h"])(g,!d||"cross",h)),d&&Object(l["k"])(p.otherAxes,Object(l["h"])(g,"cross",!1))}}function g(r,s,l){var c=l.model.getModel("axisPointer",i),h=c.get("show");if(h&&("auto"!==h||r||ET(c))){null==s&&(s=c.get("triggerTooltip")),c=r?mT(l,f,i,t,r,s):c;var d=c.get("snap"),p=c.get("triggerEmphasis"),g=OT(l.model),v=s||d||"category"===l.type,y=e.axesInfo[g]={key:g,axis:l,coordSys:n,axisPointerModel:c,triggerTooltip:s,triggerEmphasis:p,involveSeries:v,snap:d,useHandle:ET(c),seriesModels:[],linkGroup:null};u[g]=y,e.seriesInvolved=e.seriesInvolved||v;var m=_T(o,l);if(null!=m){var b=a[m]||(a[m]={axesInfo:{}});b.axesInfo[g]=y,b.mapper=o[m].mapper,y.linkGroup=b}}}}))}function mT(e,t,n,r,i,o){var a=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};Object(l["k"])(s,(function(e){u[e]=Object(l["d"])(a.get(e))})),u.snap="category"!==e.type&&!!o,"cross"===a.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===i){var f=a.get(["label","show"]);if(c.show=null==f||f,!o){var h=u.lineStyle=a.get("crossStyle");h&&Object(l["i"])(c,h.textStyle)}}return e.model.getModel("axisPointer",new Cu(u,n,r))}function bT(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&Object(l["k"])(e.coordSysAxesInfo[OT(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}function _T(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(xT(o[r+"AxisId"],n.id)||xT(o[r+"AxisIndex"],n.componentIndex)||xT(o[r+"AxisName"],n.name))return i}}function xT(e,t){return"all"===e||Object(l["t"])(e)&&Object(l["r"])(e,t)>=0||e===t}function wT(e){var t=ST(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=ET(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function ST(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[OT(e)]}function kT(e){var t=ST(e);return t&&t.axisPointerModel}function ET(e){return!!e.get(["handle","show"])}function OT(e){return e.type+"||"+e.id}var CT={},AT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(t,n,r,i){this.axisPointerClass&&wT(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=kT(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){CT[e]=t},t.getAxisPointerClass=function(e){return e&&CT[e]},t.type="axis",t}(Op),TT=AT,PT=Di();function MT(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),u=r.coordinateSystem.getRect(),c=i.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var f=s.length,h=PT(e).splitAreaColors,d=l["f"](),p=0;if(h)for(var g=0;g<c.length;g++){var v=h.get(c[g].tickValue);if(null!=v){p=(v+(f-1)*g)%f;break}}var y=i.toGlobalCoord(c[0].coord),m=a.getAreaStyle();s=l["t"](s)?s:[s];for(g=1;g<c.length;g++){var b=i.toGlobalCoord(c[g].coord),_=void 0,x=void 0,w=void 0,S=void 0;i.isHorizontal()?(_=y,x=u.y,w=b-_,S=u.height,y=_+w):(_=u.x,x=y,w=u.width,S=b-x,y=x+S);var k=c[g-1].tickValue;null!=k&&d.set(k,p),t.add(new ls({anid:null!=k?"area_"+k:null,shape:{x:_,y:x,width:w,height:S},style:l["i"]({fill:s[p]},m),autoBatch:!0,silent:!0})),p=(p+1)%f}PT(e).splitAreaColors=d}}}function DT(e){PT(e).splitAreaColors=null}var IT=["axisLine","axisTickLabel","axisName"],LT=["splitArea","splitLine","minorSplitLine"],RT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return a(t,e),t.prototype.render=function(t,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Sr,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=qA(a,t),u=new gT(t,l["m"]({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(vC(n[r].getOtherAxis(t.axis).scale))return!0;return!1}},s));l["k"](IT,u.add,u),this._axisGroup.add(u.getGroup()),l["k"](LT,(function(e){t.get([e,"show"])&&jT[e](this,this._axisGroup,t,a)}),this);var c=i&&"changeAxisOrder"===i.type&&i.isInitSort;c||Av(o,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)}},t.prototype.remove=function(){DT(this)},t.type="cartesianAxis",t}(TT),jT={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=l["t"](s)?s:[s];for(var u=r.coordinateSystem.getRect(),c=i.isHorizontal(),f=0,h=i.getTicksCoords({tickModel:o}),d=[],p=[],g=a.getLineStyle(),v=0;v<h.length;v++){var y=i.toGlobalCoord(h[v].coord);c?(d[0]=y,d[1]=u.y,p[0]=y,p[1]=u.y+u.height):(d[0]=u.x,d[1]=y,p[0]=u.x+u.width,p[1]=y);var m=f++%s.length,b=h[v].tickValue,_=new Rg({anid:null!=b?"line_"+h[v].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:l["i"]({stroke:s[m]},g),silent:!0});_v(_.shape,g.lineWidth),t.add(_)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=n.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],f=[],h=a.getLineStyle(),d=0;d<u.length;d++)for(var p=0;p<u[d].length;p++){var g=i.toGlobalCoord(u[d][p].coord);l?(c[0]=g,c[1]=s.y,f[0]=g,f[1]=s.y+s.height):(c[0]=s.x,c[1]=g,f[0]=s.x+s.width,f[1]=g);var v=new Rg({anid:"minor_line_"+u[d][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:h,silent:!0});_v(v.shape,h.lineWidth),t.add(v)}},splitArea:function(e,t,n,r){MT(e,t,n,r)}},NT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="xAxis",t}(RT),BT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=NT.type,t}return a(t,e),t.type="yAxis",t}(RT),FT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return a(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new ls({shape:e.coordinateSystem.getRect(),style:Object(l["i"])({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(Op),zT={offset:0};function UT(e){e.registerComponentView(FT),e.registerComponentModel(JO),e.registerCoordinateSystem("cartesian2d",nT),hC(e,"x",eC,zT),hC(e,"y",eC,zT),e.registerComponentView(NT),e.registerComponentView(BT),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}function HT(e){z_(UT),e.registerSeriesModel(VO),e.registerChartView($O),e.registerLayout(gE("scatter"))}function VT(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var i=r.getIndicatorAxes();l["k"](i,(function(e,o){t.each(t.mapDimension(i[o].dim),(function(e,t){n[t]=n[t]||[];var i=r.dataToPoint(e,o);n[t][o]=GT(i)?i:WT(r)}))})),t.each((function(e){var i=l["o"](n[e],(function(e){return GT(e)}))||WT(r);n[e].push(i.slice()),t.setItemLayout(e,n[e])}))}}))}function GT(e){return!isNaN(e[0])&&!isNaN(e[1])}function WT(e){return[e.cx,e.cy]}function qT(e){var t=e.polar;if(t){l["t"](t)||(t=[t]);var n=[];l["k"](t,(function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],l["t"](e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}l["k"](e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var XT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var i=e.coordinateSystem,o=this.group,a=e.getData(),s=this._data;function u(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var r=sm(e.getItemVisual(t,"symbolSize")),i=am(n,-1,-1,2,2),o=e.getItemVisual(t,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:o*Math.PI/180||0}),i}}function c(t,n,i,o,a,s){i.removeAll();for(var l=0;l<n.length-1;l++){var c=u(o,a);c&&(c.__dimIdx=l,t[l]?(c.setPosition(t[l]),r[s?"initProps":"updateProps"](c,{x:n[l][0],y:n[l][1]},e,a)):c.setPosition(n[l]),i.add(c))}}function f(e){return l["H"](e,(function(e){return[i.cx,i.cy]}))}a.diff(s).add((function(t){var n=a.getItemLayout(t);if(n){var r=new Ag,i=new Mg,o={shape:{points:n}};r.shape.points=f(n),i.shape.points=f(n),Wl(r,o,e,t),Wl(i,o,e,t);var s=new Sr,l=new Sr;s.add(i),s.add(r),s.add(l),c(i.shape.points,n,l,a,t,!0),a.setItemGraphicEl(t,s)}})).update((function(t,n){var r=s.getItemGraphicEl(n),i=r.childAt(0),o=r.childAt(1),l=r.childAt(2),u={shape:{points:a.getItemLayout(t)}};u.shape.points&&(c(i.shape.points,u.shape.points,l,a,t,!1),$l(o),$l(i),Gl(i,u,e),Gl(o,u,e),a.setItemGraphicEl(t,r))})).remove((function(e){o.remove(s.getItemGraphicEl(e))})).execute(),a.eachItemGraphicEl((function(e,t){var n=a.getItemModel(t),r=e.childAt(0),i=e.childAt(1),s=e.childAt(2),u=a.getItemVisual(t,"style"),c=u.fill;o.add(e),r.useStyle(l["i"](n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Il(r,n,"lineStyle"),Il(i,n,"areaStyle");var f=n.getModel("areaStyle"),h=f.isEmpty()&&f.parentModel.isEmpty();i.ignore=h,l["k"](["emphasis","select","blur"],(function(e){var t=n.getModel([e,"areaStyle"]),r=t.isEmpty()&&t.parentModel.isEmpty();i.ensureState(e).ignore=r&&h})),i.useStyle(l["i"](f.getAreaStyle(),{fill:c,opacity:.7,decal:u.decal}));var d=n.getModel("emphasis"),p=d.getModel("itemStyle").getItemStyle();s.eachChild((function(e){if(e instanceof Qa){var r=e.style;e.useStyle(l["m"]({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},u))}else e.useStyle(u),e.setColor(c),e.style.strokeNoScale=!0;var i=e.ensureState("emphasis");i.style=l["d"](p);var o=a.getStore().get(a.getDimensionIndex(e.__dimIdx),t);(null==o||isNaN(o))&&(o=""),tu(e,nu(n),{labelFetcher:a.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:o,inheritColor:c,defaultOpacity:u.opacity})})),Tl(e,d.get("focus"),d.get("blurScope"),d.get("disabled"))})),this._data=a},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(Xv),YT=XT,KT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jO(l["c"](this.getData,this),l["c"](this.getRawData,this))},t.prototype.getInitialData=function(e,t){return LO(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.coordinateSystem,o=i.getIndicatorAxes(),a=this.getData().getName(e),s=""===a?this.name:a,u=sp(this,e);return Yd("section",{header:s,sortBlocks:!0,blocks:l["H"](o,(function(t){var n=r.get(r.mapDimension(t.dim),e);return Yd("nameValue",{markerType:"subItem",markerColor:u,name:t.name,value:n,sortParam:n})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(l["H"](n.dimensions,(function(e){return t.mapDimension(e)})),e),i=0,o=r.length;i<o;i++)if(!isNaN(r[i])){var a=n.getIndicatorAxes();return n.coordToPoint(a[i].dataToCoord(r[i]),i)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(kp),$T=KT,ZT=aC.value;function JT(e,t){return l["i"]({show:t},e)}var QT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),i=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),u=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),f=this.get("triggerEvent"),h=l["H"](this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=a;null!=h.color&&(d=l["i"]({color:h.color},a));var p=l["I"](l["d"](h),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:d,triggerEvent:f},!1);if(l["C"](u)){var g=p.name;p.name=u.replace("{value}",null!=g?g:"")}else l["w"](u)&&(p.name=u(p.name,p));var v=new Cu(p,null,this.ecModel);return l["K"](v,QO.prototype),v.mainType="radar",v.componentIndex=this.componentIndex,v}),this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:l["I"]({lineStyle:{color:"#bbb"}},ZT.axisLine),axisLabel:JT(ZT.axisLabel,!1),axisTick:JT(ZT.axisTick,!1),splitLine:JT(ZT.splitLine,!0),splitArea:JT(ZT.splitArea,!0),indicator:[]},t}($c),eP=QT,tP=["axisLine","axisTickLabel","axisName"],nP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=l["H"](n,(function(e){var n=e.model.get("showName")?e.name:"",r=new gT(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return r}));l["k"](r,(function(e){l["k"](tP,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),o=e.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),u=i.get("show"),c=o.get("show"),f=a.get("color"),h=s.get("color"),d=l["t"](f)?f:[f],p=l["t"](h)?h:[h],g=[],v=[];if("circle"===r)for(var y=n[0].getTicksCoords(),m=t.cx,b=t.cy,_=0;_<y.length;_++){if(u){var x=T(g,d,_);g[x].push(new Qp({shape:{cx:m,cy:b,r:y[_].coord}}))}if(c&&_<y.length-1){x=T(v,p,_);v[x].push(new Sg({shape:{cx:m,cy:b,r0:y[_].coord,r:y[_+1].coord}}))}}else{var w,S=l["H"](n,(function(e,n){var r=e.getTicksCoords();return w=null==w?r.length-1:Math.min(r.length-1,w),l["H"](r,(function(e){return t.coordToPoint(e.coord,n)}))})),k=[];for(_=0;_<=w;_++){for(var E=[],O=0;O<n.length;O++)E.push(S[O][_]);if(E[0]&&E.push(E[0].slice()),u){x=T(g,d,_);g[x].push(new Mg({shape:{points:E}}))}if(c&&k){x=T(v,p,_-1);v[x].push(new Ag({shape:{points:E.concat(k)}}))}k=E.slice().reverse()}}var C=a.getLineStyle(),A=s.getAreaStyle();l["k"](v,(function(e,t){this.group.add(mv(e,{style:l["i"]({stroke:"none",fill:p[t%p.length]},A),silent:!0}))}),this),l["k"](g,(function(e,t){this.group.add(mv(e,{style:l["i"]({fill:"none",stroke:d[t%d.length]},C),silent:!0}))}),this)}function T(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}},t.type="radar",t}(Op),rP=nP,iP=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="value",i.angle=0,i.name="",i}return a(t,e),t}(VA),oP=iP,aP=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=Object(l["H"])(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new oP(n,new TC);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},e.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,i=this.cx+e*Math.cos(r),o=this.cy-e*Math.sin(r);return[i,o]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(i=u,s=l,a=c)}return[s,+(i&&i.coordToData(r))]},e.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i)/2;this.cx=Br(n[0],r),this.cy=Br(n[1],i),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");(Object(l["C"])(a)||Object(l["z"])(a))&&(a=[0,a]),this.r0=Br(a[0],o),this.r=Br(a[1],o),Object(l["k"])(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},e.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;Object(l["k"])(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,i){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var o=t.getData();Object(l["k"])(n,(function(e){e.scale.unionExtentFromData(o,o.mapDimension(e.dim))}))}}),this);var i=r.get("splitNumber"),o=new TC;o.setExtent(0,i),o.setInterval(1),Object(l["k"])(n,(function(e,t){$A(e.scale,e.model,o)}))},e.prototype.convertToPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",(function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("radarIndex")||0])})),r},e.dimensions=[],e}(),sP=aP;function lP(e){e.registerCoordinateSystem("radar",sP),e.registerComponentModel(eP),e.registerComponentView(rP),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each((function(e){t.setItemVisual(e,"legendIcon","roundRect")})),t.setVisual("legendIcon","roundRect")}})}function uP(e){z_(lP),e.registerChartView(YT),e.registerSeriesModel($T),e.registerLayout(VT),e.registerProcessor(kO("radar")),e.registerPreprocessor(qT)}var cP="\0_ec_interaction_mutex";function fP(e,t,n){var r=pP(e);r[t]=n}function hP(e,t,n){var r=pP(e),i=r[t];i===n&&(r[t]=null)}function dP(e,t){return!!pP(e)[t]}function pP(e){return e[cP]||(e[cP]={})}A_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},l["L"]);var gP=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=Object(l["c"])(n._mousedownHandler,n),i=Object(l["c"])(n._mousemoveHandler,n),o=Object(l["c"])(n._mouseupHandler,n),a=Object(l["c"])(n._mousewheelHandler,n),s=Object(l["c"])(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=Object(l["i"])(Object(l["d"])(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",i),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",i),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",s)},n}return a(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!re(e)){var t=e.target;while(t){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&mP("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!dP(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,o=t-r,a=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&ne(e.event),yP(this,"pan","moveOnMouseMove",e,{dx:o,dy:a,oldX:r,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){re(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=mP("zoomOnMouseWheel",e,this._opt),n=mP("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;vP(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(r),c=(r>0?1:-1)*(u>3?.4:u>1?.15:.05);vP(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!dP(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;vP(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(D);function vP(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(ne(r.event),yP(e,t,n,r,i))}function yP(e,t,n,r,i){i.isAvailableBehavior=Object(l["c"])(mP,null,n,r),e.trigger(t,i)}function mP(e,t,n){var r=n[e];return!e||r&&(!Object(l["C"])(r)||t.event[r+"Key"])}var bP=gP;function _P(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function xP(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var wP,SP={axisPointer:1,tooltip:1,brush:1};function kP(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!SP.hasOwnProperty(r.mainType)&&i&&i.model!==n}function EP(e){if(Object(l["C"])(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var n=e;9===n.nodeType&&(n=n.firstChild);while("svg"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var OP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},CP=Object(l["F"])(OP),AP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},TP=Object(l["F"])(AP),PP=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=EP(e);this._defsUsePending=[];var r=new Sr;this._root=r;var i=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),jP(n,r,null,!0,!1);var l,u,c=n.firstChild;while(c)this._parseNode(c,r,i,null,!1,!1),c=c.nextSibling;if(zP(this._defs,this._defsUsePending),this._defsUsePending=[],o){var f=HP(o);f.length>=4&&(l={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(l&&null!=a&&null!=s&&(u=KP(l,{x:0,y:0,width:a,height:s}),!t.ignoreViewBox)){var h=r;r=new Sr,r.add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return t.ignoreRootClip||null==a||null==s||r.setClipPath(new ls({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},e.prototype._parseNode=function(e,t,n,r,i,o){var a,s=e.nodeName.toLowerCase(),u=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=t;else{if(!i){var c=wP[s];if(c&&Object(l["q"])(wP,s)){a=c.call(this,e,t);var f=e.getAttribute("name");if(f){var h={name:f,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(u=h)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});t.add(a)}}var d=MP[s];if(d&&Object(l["q"])(MP,s)){var p=d.call(this,e),g=e.getAttribute("id");g&&(this._defs[g]=p)}}if(a&&a.isGroup){var v=e.firstChild;while(v)1===v.nodeType?this._parseNode(v,a,n,u,i,o):3===v.nodeType&&o&&this._parseText(v,a),v=v.nextSibling}},e.prototype._parseText=function(e,t){var n=new Ya({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});LP(t,n),jP(e,n,this._defsUsePending,!1,!1),NP(n,t);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=function(){wP={g:function(e,t){var n=new Sr;return LP(t,n),jP(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new ls;return LP(t,n),jP(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new Qp;return LP(t,n),jP(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new Rg;return LP(t,n),jP(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new ng;return LP(t,n),jP(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=RP(r));var i=new Ag({shape:{points:n||[]},silent:!0});return LP(t,i),jP(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=RP(r));var i=new Mg({shape:{points:n||[]},silent:!0});return LP(t,i),jP(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var n=new Qa;return LP(t,n),jP(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new Sr;return LP(t,a),jP(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",a=new Sr;return LP(t,a),jP(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(e,t){var n=e.getAttribute("d")||"",r=Xp(n);return LP(t,r),jP(e,r,this._defsUsePending,!1,!1),r.silent=!0,r}}}(),e}(),MP={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new Kg(t,n,r,i);return DP(e,o),IP(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new Zg(t,n,r);return DP(e,i),IP(e,i),i}};function DP(e,t){var n=e.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(t.global=!0)}function IP(e,t){var n=e.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};XP(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function LP(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Object(l["i"])(t.__inheritedStyle,e.__inheritedStyle))}function RP(e){for(var t=HP(e),n=[],r=0;r<t.length;r+=2){var i=parseFloat(t[r]),o=parseFloat(t[r+1]);n.push([i,o])}return n}function jP(e,t,n,r,i){var o=t,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===e.nodeType&&(WP(e,t),XP(e,a,s),r||YP(e,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=FP(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=FP(o,"stroke",a.stroke,n)),Object(l["k"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=a[e]&&(o.style[e]=parseFloat(a[e]))})),Object(l["k"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=a[e]&&(o.style[e]=a[e])})),i&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=Object(l["H"])(HP(a.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}function NP(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",e.style.textBaseline=i}var o=t.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),e.style.textAlign=s)}}var BP=/^url\(\s*#(.*?)\)/;function FP(e,t,n,r){var i=n&&n.match(BP);if(!i)return"none"===n&&(n=null),n;var o=Object(l["T"])(i[1]);r.push([e,t,o])}function zP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}var UP=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function HP(e){return e.match(UP)||[]}var VP=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,GP=Math.PI/180;function WP(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],i=null;n.replace(VP,(function(e,t,n){return r.push(t,n),""}));for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1],l=HP(a);switch(i=i||le(),s){case"translate":he(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":pe(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":de(i,i,-parseFloat(l[0])*GP,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*GP);fe(i,[1,0,u,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(l[0])*GP);fe(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}t.setLocalTransform(i)}}var qP=/([^\s:;]+)\s*:\s*([^:;]+)/g;function XP(e,t,n){var r=e.getAttribute("style");if(r){var i;qP.lastIndex=0;while(null!=(i=qP.exec(r))){var o=i[1],a=Object(l["q"])(OP,o)?OP[o]:null;a&&(t[a]=i[2]);var s=Object(l["q"])(AP,o)?AP[o]:null;s&&(n[s]=i[2])}}}function YP(e,t,n){for(var r=0;r<CP.length;r++){var i=CP[r],o=e.getAttribute(i);null!=o&&(t[OP[i]]=o)}for(r=0;r<TP.length;r++){i=TP[r],o=e.getAttribute(i);null!=o&&(n[AP[i]]=o)}}function KP(e,t){var n=t.width/e.width,r=t.height/e.height,i=Math.min(n,r);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}function $P(e,t){var n=new PP;return n.parse(e,t)}var ZP=1e-8;function JP(e,t){return Math.abs(e-t)<ZP}function QP(e,t,n){var r=0,i=e[0];if(!i)return!1;for(var o=1;o<e.length;o++){var a=e[o];r+=Ca(i[0],i[1],a[0],a[1],t,n),i=a}var s=e[0];return JP(i[0],s[0])&&JP(i[1],s[1])||(r+=Ca(i[0],i[1],s[0],s[1],t,n)),0!==r}var eM=[];function tM(e,t){for(var n=0;n<e.length;n++)E(e[n],e[n],t)}function nM(e,t,n,r){for(var i=0;i<e.length;i++){var o=e[i];r&&(o=r.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(O(t,t,o),C(n,n,o))}}function rM(e){for(var t=0,n=0,r=0,i=e.length,o=e[i-1][0],a=e[i-1][1],s=0;s<i;s++){var l=e[s][0],u=e[s][1],c=o*u-l*a;t+=c,n+=(o+l)*c,r+=(a+u)*c,o=l,a=u}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}var iM=function(){function e(e){this.name=e}return e.prototype.setCenter=function(e){this._center=e},e.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},e}(),oM=function(){function e(e,t){this.type="polygon",this.exterior=e,this.interiors=t}return e}(),aM=function(){function e(e){this.type="linestring",this.points=e}return e}(),sM=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return a(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,r=0;r<t.length;r++){var i=t[r],o=i.exterior,a=o&&o.length;a>n&&(e=i,n=a)}if(e)return rM(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return Object(l["k"])(i,(function(t){"polygon"===t.type?nM(t.exterior,n,r,e):Object(l["k"])(t.points,(function(t){nM(t,n,r,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new Ae(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;r<i;r++){var o=n[r];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(QP(a,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(QP(s[l],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=i.width/i.height;n?r||(r=n/o):n=o*r;for(var a=new Ae(e,t,n,r),s=i.calculateTransform(a),u=this.geometries,c=0;c<u.length;c++){var f=u[c];"polygon"===f.type?(tM(f.exterior,s),Object(l["k"])(f.interiors,(function(e){tM(e,s)}))):Object(l["k"])(f.points,(function(e){tM(e,s)}))}i=this._rect,i.copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(iM),lM=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return a(t,e),t.prototype.calcCenter=function(){var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=[t.x+t.width/2,t.y+t.height/2],r=ue(eM),i=e;while(i&&!i.isGeoSVGGraphicRoot)fe(r,i.getLocalTransform(),r),i=i.parent;return ge(r,r),E(n,n,r),n},t}(iM),uM=Object(l["f"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),cM=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=Object(l["f"])(),this._freedGraphics=[],this._mapName=e,this._parsedXML=EP(t)}return e.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var t=hM(e.named),n=t.regions,r=t.regionsMap;this._regions=n,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n;try{t=e&&$P(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=t.root,Object(l["b"])(null!=n)}catch(v){throw new Error("Invalid svg format\n"+v.message)}var r=new Sr;r.add(n),r.isGeoSVGGraphicRoot=!0;var i=t.width,o=t.height,a=t.viewBoxRect,s=this._boundingRect;if(!s){var u=void 0,c=void 0,f=void 0,h=void 0;if(null!=i?(u=0,f=i):a&&(u=a.x,f=a.width),null!=o?(c=0,h=o):a&&(c=a.y,h=a.height),null==u||null==c){var d=n.getBoundingRect();null==u&&(u=d.x,f=d.width),null==c&&(c=d.y,h=d.height)}s=this._boundingRect=new Ae(u,c,f,h)}if(a){var p=KP(a,s);n.scaleX=n.scaleY=p.scale,n.x=p.x,n.y=p.y}r.setClipPath(new ls({shape:s.plain()}));var g=[];return Object(l["k"])(t.named,(function(e){null!=uM.get(e.svgNodeTagLower)&&(g.push(e),fM(e.el))})),{root:r,boundingRect:s,named:g}},e.prototype.useGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,n),n)},e.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);n&&(t.removeKey(e),this._freedGraphics.push(n))},e}();function fM(e){e.silent=!1,e.isGroup&&e.traverse((function(e){e.silent=!1}))}function hM(e){var t=[],n=Object(l["f"])();return Object(l["k"])(e,(function(e){if(null==e.namedFrom){var r=new lM(e.name,e.el);t.push(r),n.set(e.name,r)}})),{regions:t,regionsMap:n}}function dM(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;null==n&&(n=1024);var r=t.features;return l["k"](r,(function(e){var t=e.geometry,r=t.encodeOffsets,i=t.coordinates;if(r)switch(t.type){case"LineString":t.coordinates=gM(i,r,n);break;case"Polygon":pM(i,r,n);break;case"MultiLineString":pM(i,r,n);break;case"MultiPolygon":l["k"](i,(function(e,t){return pM(e,r[t],n)}))}})),t.UTF8Encoding=!1,t}function pM(e,t,n){for(var r=0;r<e.length;r++)e[r]=gM(e[r],t[r],n)}function gM(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function vM(e,t){return e=dM(e),l["H"](l["n"](e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,r=e.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new oM(o[0],o.slice(1)));break;case"MultiPolygon":l["k"](r.coordinates,(function(e){e[0]&&i.push(new oM(e[0],e.slice(1)))}));break;case"LineString":i.push(new aM([r.coordinates]));break;case"MultiLineString":i.push(new aM(r.coordinates))}var a=new sM(n[t||"name"],i,n.cp);return a.properties=n,a}))}for(var yM=[126,25],mM="南海诸岛",bM=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],_M=0;_M<bM.length;_M++)for(var xM=0;xM<bM[_M].length;xM++)bM[_M][xM][0]/=10.5,bM[_M][xM][1]/=-14,bM[_M][xM][0]+=yM[0],bM[_M][xM][1]+=yM[1];function wM(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===mM)return;t.push(new sM(mM,l["H"](bM,(function(e){return{type:"polygon",exterior:e}})),yM))}}var SM={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function kM(e,t){if("china"===e){var n=SM[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,t.setCenter(r)}}}var EM=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function OM(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:EM[0]})}var CM="name",AM=function(){function e(e,t,n){this.type="geoJSON",this._parsedMap=Object(l["f"])(),this._mapName=e,this._specialAreas=n,this._geoJSON=PM(t)}return e.prototype.load=function(e,t){t=t||CM;var n=this._parsedMap.get(t);if(!n){var r=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:r,boundingRect:TM(r)})}var i=Object(l["f"])(),o=[];return Object(l["k"])(n.regions,(function(t){var n=t.name;e&&Object(l["q"])(e,n)&&(t=t.cloneShallow(n=e[n])),o.push(t),i.set(n,t)})),{regions:o,boundingRect:n.boundingRect||new Ae(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,r=this._geoJSON;try{t=r?vM(r,e):[]}catch(i){throw new Error("Invalid geoJson format\n"+i.message)}return wM(n,t),Object(l["k"])(t,(function(e){var t=e.name;kM(n,e),OM(n,e);var r=this._specialAreas&&this._specialAreas[t];r&&e.transformTo(r.left,r.top,r.width,r.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function TM(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();t=t||r.clone(),t.union(r)}return t}function PM(e){return Object(l["C"])(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var MM=Object(l["f"])(),DM={registerMap:function(e,t,n){if(t.svg){var r=new cM(e,t.svg);MM.set(e,r)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?n=t.specialAreas:i=t;r=new AM(e,i,n);MM.set(e,r)}},getGeoResource:function(e){return MM.get(e)},getMapForUser:function(e){var t=MM.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var r=MM.get(e);if(r)return r.load(t,n)}},IM=["rect","circle","line","ellipse","polygon","polyline","path"],LM=l["f"](IM),RM=l["f"](IM.concat(["g"])),jM=l["f"](IM.concat(["g"])),NM=Di();function BM(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function FM(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var zM=function(){function e(e){var t=new Sr;this.uid=Tu("ec_map_draw"),this._controller=new bP(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new Sr),t.add(this._svgGroup=new Sr)}return e.prototype.draw=function(e,t,n,r,i){var o="geo"===e.mainType,a=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var s=e.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),f=c.raw,h=c.roam,d=!l.childAt(0)||i;d?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):Gl(u,h,e);var p=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,g={api:n,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:f};"geoJSON"===s.resourceType?this._buildGeoJSON(g):"geoSVG"===s.resourceType&&this._buildSVG(g),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=l["f"](),n=l["f"](),r=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,a=e.data,s=e.geo.projection,u=s&&s.stream;function c(e,t){return t&&(e=t(e)),e&&[e[0]*i.scaleX+i.x,e[1]*i.scaleY+i.y]}function f(e){for(var t=[],n=!u&&s&&s.project,r=0;r<e.length;++r){var i=c(e[r],n);i&&t.push(i)}return t}function h(e){return{shape:{points:f(e)}}}r.removeAll(),l["k"](e.geo.regions,(function(i){var f=i.name,d=t.get(f),p=n.get(f)||{},g=p.dataIdx,v=p.regionModel;d||(d=t.set(f,new Sr),r.add(d),g=a?a.indexOfName(f):null,v=e.isGeo?o.getRegionModel(f):a?a.getItemModel(g):null,n.set(f,{dataIdx:g,regionModel:v}));var y=[],m=[];l["k"](i.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);u&&(t=qM(t,u)),l["k"](t,(function(e){y.push(new Ag(h(e)))}))}else{var n=e.points;u&&(n=qM(n,u,!0)),l["k"](n,(function(e){m.push(new Mg(h(e)))}))}}));var b=c(i.getCenter(),s&&s.project);function _(t,n){if(t.length){var r=new Wg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});d.add(r),UM(e,r,g,v),HM(e,r,f,v,o,g,b),n&&(FM(r),l["k"](r.states,FM))}}_(y),_(m,!0)})),t.each((function(t,r){var i=n.get(r),a=i.dataIdx,s=i.regionModel;VM(e,t,r,s,o,a),GM(e,t,r,s,o),WM(e,t,r,s,o)}),this)},e.prototype._buildSVG=function(e){var t=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var r=this._svgDispatcherMap=l["f"](),i=!1;l["k"](this._svgGraphicRecord.named,(function(t){var n=t.name,o=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);if(null!=LM.get(s)&&l instanceof Bo&&UM(e,l,u,c),l instanceof Bo&&(l.culling=!0),l.z2EmphasisLift=0,!t.namedFrom&&(null!=jM.get(s)&&HM(e,l,n,c,o,u,null),VM(e,l,n,c,o,u),GM(e,l,n,c,o),null!=RM.get(s))){var f=WM(e,l,n,c,o);"self"===f&&(i=!0);var h=r.get(n)||r.set(n,[]);h.push(l)}}),this),this._enableBlurEntireSVG(i,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),r=n.opacity;this._svgGraphicRecord.root.traverse((function(e){if(!e.isGroup){sl(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=r&&(t.opacity=r),e.ensureState("emphasis")}}))}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var n=t.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(e);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=DM.getGeoResource(e);if(t&&"geoSVG"===t.type){var n=t.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=DM.getGeoResource(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,n){var r=e.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=e.get("scaleLimit"),o.zoom=r.getZoom(),i.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}i.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,_P(o,e.dx,e.dy),n.dispatchAction(l["m"](s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),i.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,xP(o,e.scale,e.originX,e.originY),n.dispatchAction(l["m"](s(),{totalZoom:o.zoom,zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),i.setPointerChecker((function(t,i,o){return r.containPoint([i,o])&&!kP(t,n,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=NM(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,n,r){var i=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){i._mouseDownFlag=!0})),t.on("click",(function(e){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},e}();function UM(e,t,n,r){var i=r.getModel("itemStyle"),o=r.getModel(["emphasis","itemStyle"]),a=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),l=BM(i),u=BM(o),c=BM(s),f=BM(a),h=e.data;if(h){var d=h.getItemVisual(n,"style"),p=h.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&d.fill&&(l.fill=d.fill),p&&(l.decal=Km(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=f,sl(t)}function HM(e,t,n,r,i,o,a){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var f=l?n:o,h=void 0;(!s||o>=0)&&(h=i);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;tu(t,nu(r),{labelFetcher:h,labelDataIndex:f,defaultText:n},d);var p=t.getTextContent();if(p&&(NM(p).ignore=p.ignore,t.textConfig&&a)){var g=t.getBoundingRect().clone();t.textConfig.layoutRect=g,t.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function VM(e,t,n,r,i,o){e.data?e.data.setItemGraphicEl(o,t):Cs(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function GM(e,t,n,r,i){e.data||jv({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function WM(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return Tl(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&jl(t,i,n),a}function qM(e,t,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&r.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),l["k"](e,(function(e){s.lineStart();for(var t=0;t<e.length;t++)s.point(e[t][0],e[t][1]);s.lineEnd()})),!n&&s.polygonEnd(),i}var XM=zM,YM=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id){o=this._mapDraw;o&&i.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new XM(n);i.add(o.group),o.draw(e,t,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,n){var r=e.originalData,i=this.group;r.each(r.mapDimension("value"),(function(t,n){if(!isNaN(t)){var o=r.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Qp({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Bs+1)});if(!s){var u=e.mainSeries.getData(),c=r.getName(n),f=u.indexOfName(c),h=r.getItemModel(n),d=h.getModel("label"),p=u.getItemGraphicEl(f);tu(l,nu(h),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(f,n)}},defaultText:c}),l.disableLabelAnimation=!0,d.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){tl(l,e)}}i.add(l)}}}))},t.type="map",t}(Xv),KM=YM,$M=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.getCenter())}},n}return a(t,e),t.prototype.getInitialData=function(e){for(var t=LO(this,{coordDimensions:["value"],encodeDefaulter:l["h"](pf,this)}),n=l["f"](),r=[],i=0,o=t.count();i<o;i++){var a=t.getName(i);n.set(a,!0)}var s=DM.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return l["k"](s.regions,(function(e){var t=e.name;n.get(t)||r.push(t)})),t.appendValues([],r),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData(),i=this.getRawValue(e),o=r.getName(e),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=r.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Yd("section",{header:s.join(", "),noHeader:!s.length,blocks:[Yd("nameValue",{name:o,value:i})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",n=am(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return n.setStyle(e.itemStyle),n.style.stroke="none",t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(kp),ZM=$M;function JM(e,t){var n={};return l["k"](e,(function(e){e.each(e.mapDimension("value"),(function(t,r){var i="ec-"+e.getName(r);n[i]=n[i]||[],isNaN(t)||n[i].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+e[0].getName(i),s=0,l=1/0,u=-1/0,c=n[a].length,f=0;f<c;f++)l=Math.min(l,n[a][f]),u=Math.max(u,n[a][f]),s+=n[a][f];return o="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:o}))}function QM(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),l["k"](t,(function(e,t){for(var n=JM(l["H"](e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),r=0;r<e.length;r++)e[r].originalData=e[r].getData();for(r=0;r<e.length;r++)e[r].seriesGroup=e,e[r].needsDrawMap=0===r&&!e[r].getHostGeoModel(),e[r].setData(n.cloneShallow()),e[r].mainSeries=e[0]}))}function eD(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var i={};l["k"](n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var o=r.getName(t),a=n.getRegion(o);if(a&&!isNaN(e)){var s=i[o]||0,l=n.dataToPoint(a.getCenter());i[o]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!i[t],o.setItemLayout(e,n)})),t[r]=!0}}))}var tD=E,nD=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new $n,n._rawTransformable=new $n,n.name=t,n}return a(t,e),t.prototype.setBoundingRect=function(e,t,n,r){return this._rect=new Ae(e,t,n,r),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,r){this._transformTo(e,t,n,r),this._viewRect=new Ae(e,t,n,r)},t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new Ae(e,t,n,r));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[Br(e[0],t.getWidth()),Br(e[1],t.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),i=this.getZoom();r=E([],r,e),n=E([],n,e),t.originX=r[0],t.originY=r[1],t.x=n[0]-r[0],t.y=n[1]-r[1],t.scaleX=t.scaleY=i,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),ce(this.transform||(this.transform=[]),t.transform||le()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],ge(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new $n;return n.transform=t.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?tD(n,e,r):c(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?tD([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var r=rD(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=rD(t);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}($n);function rD(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var iD=nD,oD={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},aD=["lng","lat"],sD=function(e){function t(t,n,r){var i=e.call(this,t)||this;i.dimensions=aD,i.type="geo",i._nameCoordMap=l["f"](),i.map=n;var o,a=r.projection,s=DM.load(n,r.nameMap,r.nameProperty),u=DM.getGeoResource(n),c=(i.resourceType=u?u.type:null,i.regions=s.regions),f=oD[u.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=a,a)for(var h=0;h<c.length;h++){var d=c[h].getBoundingRect(a);o=o||d.clone(),o.union(d)}else o=s.boundingRect;return i.setBoundingRect(o.x,o.y,o.width,o.height),i.aspectScale=a?1:l["P"](r.aspectScale,f.aspectScale),i._invertLongitute=!a&&f.invertLongitute,i}return a(t,e),t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._invertLongitute;i=i.clone(),o&&(i.y=-i.y-i.height);var a=this._rawTransformable;a.transform=i.calculateTransform(new Ae(e,t,n,r));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var t=this.regions,n=0;n<t.length;n++){var r=t[n];if("geoJSON"===r.type&&r.contain(e))return t[n]}},t.prototype.addGeoCoord=function(e,t){this._nameCoordMap.set(e,t)},t.prototype.getGeoCoord=function(e){var t=this._regionsMap.get(e);return this._nameCoordMap.get(e)||t&&t.getCenter()},t.prototype.dataToPoint=function(e,t,n){if(l["C"](e)&&(e=this.getGeoCoord(e)),e){var r=this.projection;return r&&(e=r.project(e)),e&&this.projectedToPoint(e,t,n)}},t.prototype.pointToData=function(e){var t=this.projection;return t&&(e=t.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(t){return e.prototype.pointToData.call(this,t)},t.prototype.projectedToPoint=function(t,n,r){return e.prototype.dataToPoint.call(this,t,n,r)},t.prototype.convertToPixel=function(e,t,n){var r=lD(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=lD(t);return r===this?r.pointToData(n):null},t}(iD);function lD(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",ji).models[0]||{}).coordinateSystem:null}l["K"](sD,iD);var uD=sD;function cD(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var a=r[0],s=r[1],l=i[0],u=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var c=function(e,t,n,a){for(var s=n-e,l=a-t,u=0;u<=100;u++){var c=u/100,f=o.project([e+s*c,t+l*c]);O(r,r,f),C(i,i,f)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else 0}var f,h,d,p=this.getBoundingRect(),g=e.get("layoutCenter"),v=e.get("layoutSize"),y=t.getWidth(),m=t.getHeight(),b=p.width/p.height*this.aspectScale,_=!1;if(g&&v&&(f=[Br(g[0],y),Br(g[1],m)],h=Br(v,Math.min(y,m)),isNaN(f[0])||isNaN(f[1])||isNaN(h)||(_=!0)),_)d={},b>1?(d.width=h,d.height=h/b):(d.height=h,d.width=h*b),d.y=f[1]-d.height/2,d.x=f[0]-d.width/2;else{var x=e.getBoxLayoutParams();x.aspect=b,d=zc(x,{width:y,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function fD(e,t){l["k"](t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var hD=function(){function e(){this.dimensions=aD}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,i){var o=e.get("map"),a=new uD(o+i,o,l["m"]({nameMap:e.get("nameMap")},r(e)));a.zoomLimit=e.get("scaleLimit"),n.push(a),e.coordinateSystem=a,a.model=e,a.resize=cD,a.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var r=e.get("geoIndex")||0;e.coordinateSystem=n[r]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),l["k"](i,(function(e,i){var o=l["H"](e,(function(e){return e.get("nameMap")})),a=new uD(i,i,l["m"]({nameMap:l["J"](o)},r(e[0])));a.zoomLimit=l["O"].apply(null,l["H"](e,(function(e){return e.get("scaleLimit")}))),n.push(a),a.resize=cD,a.resize(e[0],t),l["k"](e,(function(e){e.coordinateSystem=a,fD(a,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var i=(e||[]).slice(),o=l["f"](),a=0;a<i.length;a++)o.set(i[a].name,i[a]);var s=DM.load(t,n,r);return l["k"](s.regions,(function(e){var t=e.name;!o.get(t)&&i.push({name:t})})),i},e}(),dD=new hD,pD=dD,gD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t,n){var r=DM.getGeoResource(e.map);if(r&&"geoJSON"===r.type){var i=e.itemStyle=e.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(e,n),fi(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=pD.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=l["N"](t.regions||[],(function(t,r){var i=r.name;return i&&(t.set(i,new Cu(r,e,e.ecModel)),r.selected&&(n[i]=!0)),t}),l["f"]()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Cu(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),r="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:e};return l["w"](r)?(i.status=t,r(i)):l["C"](r)?r.replace("{a}",null!=e?e:""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var t=this.option,n=t.selectedMode;if(n){"multiple"!==n&&(t.selectedMap=null);var r=t.selectedMap||(t.selectedMap={});r[e]=!0}},t.prototype.unSelect=function(e){var t=this.option.selectedMap;t&&(t[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var t=this.option.selectedMap;return!(!t||!t[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}($c),vD=gD;function yD(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function mD(e,t,n,r){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,s=e.projectedToPoint?e.projectedToPoint(o):e.dataToPoint(o);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(yD(e,s),r)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(i*a,u),l)/i}e.scaleX*=a,e.scaleY*=a;var c=(t.originX-e.x)*(a-1),f=(t.originY-e.y)*(a-1);e.x-=c,e.y-=f,e.updateTransform(),e.setCenter(yD(e,s),r),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}var bD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return a(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,r){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new XM(n));var i=this._mapDraw;i.draw(e,t,n,this,r),i.group.on("click",this._handleRegionClick,this),i.group.silent=e.get("silent"),this.group.add(i.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;qy(e.target,(function(e){return null!=(t=Cs(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var r=this;this._mapDraw.group.traverse((function(e){var t=Cs(e).eventData;if(t)return r._model.isSelected(t.name)?n.enterSelect(e):n.leaveSelect(e),!0}))},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(Op),_D=bD;function xD(e,t,n){DM.registerMap(e,t,n)}function wD(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var r={},i=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var o=n.coordinateSystem;Object(l["k"])(o.regions,(function(e){r[e.name]=n.isSelected(e.name)||!1}));var a=[];Object(l["k"])(r,(function(e,t){r[t]&&a.push(t)})),i.push({geoIndex:n.componentIndex,name:a})})),{selected:r,allSelected:i,name:e.name}}))}e.registerCoordinateSystem("geo",pD),e.registerComponentModel(vD),e.registerComponentView(_D),e.registerImpl("registerMap",xD),e.registerImpl("getMap",(function(e){return DM.getMapForUser(e)})),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t,n){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=mD(i,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===r&&Object(l["k"])(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))}function SD(e){z_(wD),e.registerChartView(KM),e.registerSeriesModel(ZM),e.registerLayout(eD),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,QM),Vy("map",e.registerAction)}function kD(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var n,r,i=[t];while(n=i.pop())if(r=n.children,n.isExpand&&r.length)for(var o=r.length,a=o-1;a>=0;a--){var s=r[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(s)}}function ED(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){PD(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=MD(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function OD(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function CD(e){return arguments.length?e:jD}function AD(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function TD(e,t){return zc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function PD(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function MD(e,t,n,r){if(t){var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,f=s.hierNode.modifier;while(s=DD(s),o=ID(o),s&&o){i=DD(i),a=ID(a),i.hierNode.ancestor=e;var h=s.hierNode.prelim+f-o.hierNode.prelim-u+r(s,o);h>0&&(RD(LD(s,e,n),e,h),u+=h,l+=h),f+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!DD(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=f-l),o&&!ID(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function DD(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function ID(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function LD(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function RD(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function jD(e,t){return e.parentNode===t.parentNode?1:2}var ND=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),BD=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ND},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,o=n[0],a=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Br(t.forkPosition,1),f=[];f[l]=i[l],f[u]=i[u]+(a[u]-i[u])*c,e.moveTo(i[0],i[1]),e.lineTo(f[0],f[1]),e.moveTo(o[0],o[1]),f[l]=o[l],e.lineTo(f[0],f[1]),f[l]=a[l],e.lineTo(f[0],f[1]),e.lineTo(a[0],a[1]);for(var h=1;h<r-1;h++){var d=n[h];e.moveTo(d[0],d[1]),f[l]=d[l],e.lineTo(f[0],f[1])}},t}(Wa),FD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new Sr,n}return a(t,e),t.prototype.init=function(e,t){this._controller=new bP(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var r=e.getData(),i=e.layoutInfo,o=this._mainGroup,a=e.get("layout");"radial"===a?(o.x=i.x+i.width/2,o.y=i.y+i.height/2):(o.x=i.x,o.y=i.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var s=this._data;r.diff(s).add((function(t){zD(r,t)&&UD(r,t,null,o,e)})).update((function(t,n){var i=s.getItemGraphicEl(n);zD(r,t)?UD(r,t,i,o,e):i&&WD(s,n,i,o,e)})).remove((function(t){var n=s.getItemGraphicEl(t);n&&WD(s,t,n,o,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&r.eachItemGraphicEl((function(t,r){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})}))})),this._data=r},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),r=[];n.each((function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||r.push([+t.x,+t.y])}));var i=[],o=[];Xo(r,i,o);var a=this._min,s=this._max;o[0]-i[0]===0&&(i[0]=a?a[0]:i[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-i[1]===0&&(i[1]=a?a[1]:i[1]-1,o[1]=s?s[1]:o[1]+1);var l=e.coordinateSystem=new iD;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),l.setCenter(e.get("center"),t),l.setZoom(e.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=i,this._max=o},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!kP(t,n,e)})),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){_P(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){xP(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(e),n.updateLabelLayout()}))},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),n=this._getNodeGlobalScale(e);t.eachItemGraphicEl((function(e,t){e.setSymbolScale(n)}))},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scaleX||1,i=t.getZoom(),o=(i-1)*n+1;return o/r},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(Xv);function zD(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function UD(e,t,n,r,i){var o=!n,a=e.tree.getNodeByDataIndex(t),s=a.getModel(),u=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?u:"#fff",f=e.tree.root,h=a.parentNode===f?a:a.parentNode||a,d=e.getItemGraphicEl(h.dataIndex),p=h.getLayout(),g=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:p,v=a.getLayout();o?(n=new kk(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.x=g.x,n.y=g.y):n.updateData(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=v.rawX,n.__radialRawY=v.rawY,r.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,Gl(n,{x:v.x,y:v.y},i);var y=n.getSymbolPath();if("radial"===i.get("layout")){var m=f.children[0],b=m.getLayout(),_=m.children.length,x=void 0,w=void 0;if(v.x===b.x&&!0===a.isExpand&&m.children.length){var S={x:(m.children[0].getLayout().x+m.children[_-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[_-1].getLayout().y)/2};x=Math.atan2(S.y-b.y,S.x-b.x),x<0&&(x=2*Math.PI+x),w=S.x<b.x,w&&(x-=Math.PI)}else x=Math.atan2(v.y-b.y,v.x-b.x),x<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=v.x<b.x,w&&(x-=Math.PI)):(w=v.x>b.x,w||(x-=Math.PI));var k=w?"left":"right",E=s.getModel("label"),O=E.get("rotate"),C=O*(Math.PI/180),A=y.getTextContent();A&&(y.setTextConfig({position:E.get("position")||k,rotation:null==O?-x:C,origin:"center"}),A.setStyle("verticalAlign","middle"))}var T=s.get(["emphasis","focus"]),P="relative"===T?l["e"](a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===T?a.getAncestorsIndices():"descendant"===T?a.getDescendantIndices():null;P&&(Cs(n).focus=P),HD(i,a,f,n,g,p,v,r),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var r=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);r&&r.hoverState===Ls||tl(n.__edge,t)}})}function HD(e,t,n,r,i,o,a,s){var u=t.getModel(),c=e.get("edgeShape"),f=e.get("layout"),h=e.getOrient(),d=e.get(["lineStyle","curveness"]),p=e.get("edgeForkPosition"),g=u.getModel("lineStyle").getLineStyle(),v=r.__edge;if("curve"===c)t.parentNode&&t.parentNode!==n&&(v||(v=r.__edge=new zg({shape:qD(f,h,d,i,i)})),Gl(v,{shape:qD(f,h,d,o,a)},e));else if("polyline"===c)if("orthogonal"===f){if(t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var y=t.children,m=[],b=0;b<y.length;b++){var _=y[b].getLayout();m.push([_.x,_.y])}v||(v=r.__edge=new BD({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:p}})),Gl(v,{shape:{parentPoint:[a.x,a.y],childPoints:m}},e)}}else 0;v&&("polyline"!==c||t.isExpand)&&(v.useStyle(l["i"]({strokeNoScale:!0,fill:null},g)),Il(v,u,"lineStyle"),sl(v),s.add(v))}function VD(e,t,n,r,i){var o=t.tree.root,a=GD(o,e),s=a.source,l=a.sourceLayout,u=t.getItemGraphicEl(e.dataIndex);if(u){var c=t.getItemGraphicEl(s.dataIndex),f=c.__edge,h=u.__edge||(!1===s.isExpand||1===s.children.length?f:void 0),d=r.get("edgeShape"),p=r.get("layout"),g=r.get("orient"),v=r.get(["lineStyle","curveness"]);h&&("curve"===d?Xl(h,{shape:qD(p,g,v,l,l),style:{opacity:0}},r,{cb:function(){n.remove(h)},removeOpt:i}):"polyline"===d&&"orthogonal"===r.get("layout")&&Xl(h,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},r,{cb:function(){n.remove(h)},removeOpt:i}))}}function GD(e,t){var n,r=t.parentNode===e?t:t.parentNode||t;while(n=r.getLayout(),null==n)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function WD(e,t,n,r,i){var o=e.tree.getNodeByDataIndex(t),a=e.tree.root,s=GD(a,o).sourceLayout,l={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Xl(n,{x:s.x+1,y:s.y+1},i,{cb:function(){r.remove(n),e.setItemGraphicEl(t,null)},removeOpt:l}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:l}),o.children.forEach((function(t){VD(t,e,r,i,l)})),VD(o,e,r,i,l)}function qD(e,t,n,r,i){var o,a,s,l,u,c,f,h;if("radial"===e){u=r.rawX,f=r.rawY,c=i.rawX,h=i.rawY;var d=AD(u,f),p=AD(u,f+(h-f)*n),g=AD(c,h+(f-h)*n),v=AD(c,h);return{x1:d.x||0,y1:d.y||0,x2:v.x||0,y2:v.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=r.x,f=r.y,c=i.x,h=i.y,"LR"!==t&&"RL"!==t||(o=u+(c-u)*n,a=f,s=c+(u-c)*n,l=h),"TB"!==t&&"BT"!==t||(o=u,a=f+(h-f)*n,s=c,l=h+(f-h)*n),{x1:u,y1:f,x2:c,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var XD=FD,YD=Di();function KD(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,nI(t,n,e),Object(l["k"])(n,(function(n){Object(l["k"])(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,Object(l["h"])($D,e))}))})),t.wrapMethod("cloneShallow",Object(l["h"])(JD,e)),Object(l["k"])(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,Object(l["h"])(ZD,e))})),Object(l["b"])(n[t.dataType]===t)}function $D(e,t){if(tI(this)){var n=Object(l["m"])({},YD(this).datas);n[this.dataType]=t,nI(t,n,e)}else rI(t,this.dataType,YD(this).mainData,e);return t}function ZD(e,t){return e.struct&&e.struct.update(),t}function JD(e,t){return Object(l["k"])(YD(t).datas,(function(n,r){n!==t&&rI(n.cloneShallow(),r,t,e)})),t}function QD(e){var t=YD(this).mainData;return null==e||null==t?t:YD(t).datas[e]}function eI(){var e=YD(this).mainData;return null==e?[{data:e}]:Object(l["H"])(Object(l["F"])(YD(e).datas),(function(t){return{type:t,data:YD(e).datas[t]}}))}function tI(e){return YD(e).mainData===e}function nI(e,t,n){YD(e).datas={},Object(l["k"])(t,(function(t,r){rI(t,r,e,n)}))}function rI(e,t,n,r){YD(n).datas[t]=e,YD(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=QD,e.getLinkedDataAll=eI}var iI=KD,oI=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,n){l["w"](e)&&(n=t,t=e,e=null),e=e||{},l["C"](e)&&(e={order:e});var r,i=e.order||"preorder",o=this[e.attr||"children"];"preorder"===i&&(r=t.call(n,this));for(var a=0;!r&&a<o.length;a++)o[a].eachNode(e,t,n);"postorder"===i&&t.call(n,this)},e.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].getNodeById(e);if(i)return i}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].contains(e);if(i)return i}},e.prototype.getAncestors=function(e){var t=[],n=e?this:this.parentNode;while(n)t.push(n),n=n.parentNode;return t.reverse(),t},e.prototype.getAncestorsIndices=function(){var e=[],t=this;while(t)e.push(t.dataIndex),t=t.parentNode;return e.reverse(),e},e.prototype.getDescendantIndices=function(){var e=[];return this.eachNode((function(t){e.push(t.dataIndex)})),e},e.prototype.getValue=function(e){var t=this.hostTree.data;return t.getStore().get(t.getDimensionIndex(e||"value"),this.dataIndex)},e.prototype.setLayout=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t<e.length;++t)if(e[t]===this)return t;return-1}return-1},e.prototype.isAncestorOf=function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},e.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},e}(),aI=function(){function e(e){this.type="tree",this._nodes=[],this.hostModel=e}return e.prototype.eachNode=function(e,t,n){this.root.eachNode(e,t,n)},e.prototype.getNodeByDataIndex=function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},e.prototype.getNodeById=function(e){return this.root.getNodeById(e)},e.prototype.update=function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,r){var i=new e(n),o=[],a=1;function s(e,t){var n=e.value;a=Math.max(a,l["t"](n)?n.length:1),o.push(e);var r=new oI(ki(e.name,""),i);t?sI(r,t):i.root=r,i._nodes.push(r);var u=e.children;if(u)for(var c=0;c<u.length;c++)s(u[c],r)}s(t),i.root.updateDepthAndHeight(0);var u=ek(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,c=new QS(u,n);return c.initData(o),r&&r(c),iI({mainData:c,struct:i,structAttr:"tree"}),i.update(),i},e}();function sI(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}var lI=aI;function uI(e,t,n){if(e&&l["r"](t,e.type)>=0){var r=n.getData().tree.root,i=e.targetNode;if(l["C"](i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=e.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function cI(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function fI(e,t){var n=cI(e);return l["r"](n,t)>=0}function hI(e,t){var n=[];while(e){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var dI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return a(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new Cu(n,this,this.ecModel),i=lI.createTree(t,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var n=i.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=r),e}))}var a=0;i.eachNode("preorder",(function(e){e.depth>a&&(a=e.depth)}));var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:a;return i.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){var r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(e),a=o.getValue(),s=o.name;while(o&&o!==i)s=o.parentNode.name+"."+s,o=o.parentNode;return Yd("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=hI(r,this),n.collapsed=!r.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(kp),pI=dI;function gI(e,t,n){var r,i=[e],o=[];while(r=i.pop())if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}while(r=o.pop())t(r,n)}function vI(e,t){var n,r=[e];while(n=r.pop())if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}function yI(e,t){e.eachSeriesByType("tree",(function(e){mI(e,t)}))}function mI(e,t){var n=TD(e,t);e.layoutInfo=n;var r=e.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=CD((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(i=n.width,o=n.height,a=CD());var s=e.getData().tree.root,l=s.children[0];if(l){kD(s),gI(l,ED,a),s.hierNode.modifier=-l.hierNode.prelim,vI(l,OD);var u=l,c=l,f=l;vI(l,(function(e){var t=e.getLayout().x;t<u.getLayout().x&&(u=e),t>c.getLayout().x&&(c=e),e.depth>f.depth&&(f=e)}));var h=u===c?1:a(u,c)/2,d=h-u.getLayout().x,p=0,g=0,v=0,y=0;if("radial"===r)p=i/(c.getLayout().x+h+d),g=o/(f.depth-1||1),vI(l,(function(e){v=(e.getLayout().x+d)*p,y=(e.depth-1)*g;var t=AD(v,y);e.setLayout({x:t.x,y:t.y,rawX:v,rawY:y},!0)}));else{var m=e.getOrient();"RL"===m||"LR"===m?(g=o/(c.getLayout().x+h+d),p=i/(f.depth-1||1),vI(l,(function(e){y=(e.getLayout().x+d)*g,v="LR"===m?(e.depth-1)*p:i-(e.depth-1)*p,e.setLayout({x:v,y:y},!0)}))):"TB"!==m&&"BT"!==m||(p=i/(c.getLayout().x+h+d),g=o/(f.depth-1||1),vI(l,(function(e){v=(e.getLayout().x+d)*p,y="TB"===m?(e.depth-1)*g:o-(e.depth-1)*g,e.setLayout({x:v,y:y},!0)})))}}}function bI(e){e.eachSeriesByType("tree",(function(e){var t=e.getData(),n=t.tree;n.eachNode((function(e){var n=e.getModel(),r=n.getModel("itemStyle").getItemStyle(),i=t.ensureUniqueItemVisual(e.dataIndex,"style");Object(l["m"])(i,r)}))}))}function _I(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,r=t.getData().tree,i=r.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var r=t.coordinateSystem,i=mD(r,e,void 0,n);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))}function xI(e){e.registerChartView(XD),e.registerSeriesModel(pI),e.registerLayout(yI),e.registerVisual(bI),_I(e)}var wI=["treemapZoomToNode","treemapRender","treemapMove"];function SI(e){for(var t=0;t<wI.length;t++)e.registerAction({type:wI[t],update:"updateView"},l["L"]);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function n(t,n){var r=["treemapZoomToNode","treemapRootToNode"],i=uI(e,r,t);if(i){var o=t.getViewRoot();o&&(e.direction=fI(o,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))}function kI(e){var t=e.getData(),n=t.tree,r={};n.eachNode((function(t){var n=t;while(n&&n.depth>1)n=n.parentNode;var i=Ef(e.ecModel,n.name||n.dataIndex+"",r);t.setVisual("decal",i)}))}var EI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};OI(n);var r=e.levels||[],i=this.designatedVisualItemStyle={},o=new Cu({itemStyle:i},this,t);r=e.levels=CI(r,t);var a=l["H"](r||[],(function(e){return new Cu(e,o,t)}),this),s=lI.createTree(n,this,u);function u(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),r=n?a[n.depth]:null;return e.parentModel=r||o,e}))}return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Yd("nameValue",{name:o,value:i})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=hI(r,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},l["m"](this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=l["f"](),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){kI(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(kp);function OI(e){var t=0;l["k"](e.children,(function(e){OI(e);var n=e.value;l["t"](n)&&(n=n[0]),t+=n}));var n=e.value;l["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),l["t"](e.value)?e.value[0]=n:e.value=n}function CI(e,t){var n=ci(t.get("color")),r=ci(t.get(["aria","decal","decals"]));if(n){var i,o;e=e||[],l["k"](e,(function(e){var t=new Cu(e),n=t.get("color"),r=t.get("decal");(t.get(["itemStyle","color"])||n&&"none"!==n)&&(i=!0),(t.get(["itemStyle","decal"])||r&&"none"!==r)&&(o=!0)}));var a=e[0]||(e[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),e}}var AI=EI,TI=8,PI=8,MI=5,DI=function(){function e(e){this.group=new Sr,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(e,c,a,s,l,u,r),Uc(o,c.pos,c.box)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var i=ki(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+2*TI,t.emptyItemWidth);t.totalWidth+=a+PI,t.renderList.push({node:r,text:i,width:a})}},e.prototype._renderContent=function(e,t,n,r,i,o,a){for(var s=0,u=t.emptyItemWidth,c=e.get(["breadcrumb","height"]),f=Fc(t.pos,t.box),h=t.totalWidth,d=t.renderList,p=r.getModel("itemStyle").getItemStyle(),g=d.length-1;g>=0;g--){var v=d[g],y=v.node,m=v.width,b=v.text;h>f.width&&(h-=m-u,m=u,b=null);var _=new Ag({shape:{points:II(s,0,m,c,g===d.length-1,0===g)},style:Object(l["i"])(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Os({style:ru(i,{text:b})}),textConfig:{position:"inside"},z2:1e4*Bs,onclick:Object(l["h"])(a,y)});_.disableLabelAnimation=!0,_.getTextContent().ensureState("emphasis").style=ru(o,{text:b}),_.ensureState("emphasis").style=p,Tl(_,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(_),LI(_,e,y),s+=m+PI}},e.prototype.remove=function(){this.group.removeAll()},e}();function II(e,t,n,r,i,o){var a=[[i?e:e-MI,t],[e+n,t],[e+n,t+r],[i?e:e-MI,t+r]];return!o&&a.splice(2,0,[e+n+MI,t+r/2]),!i&&a.push([e,t+r/2]),a}function LI(e,t,n){Cs(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&hI(n,t)}}var RI=DI,jI=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,i){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:i}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},e}();function NI(){return new jI}var BI=Sr,FI=ls,zI=3,UI="label",HI="upperLabel",VI=10*Bs,GI=2*Bs,WI=3*Bs,qI=io([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),XI=function(e){var t=qI(e);return t.stroke=t.fill=t.lineWidth=null,t},YI=Di(),KI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage=$I(),n}return a(t,e),t.prototype.render=function(e,t,n,r){var i=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(Object(l["r"])(i,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var o=["treemapZoomToNode","treemapRootToNode"],a=uI(r,o,e),s=r&&r.type,u=e.layoutInfo,c=!this._oldTree,f=this._storage,h="treemapRootToNode"===s&&a&&f?{rootNodeGroup:f.nodeGroup[a.node.getRawIndex()],direction:r.direction}:null,d=this._giveContainerGroup(u),p=e.get("animation"),g=this._doRender(d,e,h);!p||c||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?g.renderFinally():this._doAnimation(d,g,e,h),this._resetController(n),this._renderBreadcrumb(e,n,a)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new BI,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var r=t.getData().tree,i=this._oldTree,o=$I(),a=$I(),s=this._storage,u=[];function c(e,r,i,l){return ZI(t,a,s,n,o,u,e,r,i,l)}p(r.root?[r.root]:[],i&&i.root?[i.root]:[],e,r===i||!i,0);var f=g(s);if(this._oldTree=r,this._storage=a,this._controllerHost){var h=this.seriesModel.layoutInfo,d=r.root.getLayout();d.width===h.width&&d.height===h.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:f,renderFinally:v};function p(e,t,n,r,i){function o(e){return e.getId()}function a(o,a){var s=null!=o?e[o]:null,l=null!=a?t[a]:null,u=c(s,l,n,i);u&&p(s&&s.viewChildren||[],l&&l.viewChildren||[],u,r,i+1)}r?(t=e,Object(l["k"])(e,(function(e,t){!e.isRemoved()&&a(t,t)}))):new SS(t,e,o,o).add(a).update(a).remove(Object(l["h"])(a,null)).execute()}function g(e){var t=$I();return e&&Object(l["k"])(e,(function(e,n){var r=t[n];Object(l["k"])(e,(function(e){e&&(r.push(e),YI(e).willDelete=!0)}))})),t}function v(){Object(l["k"])(f,(function(e){Object(l["k"])(e,(function(e){e.parent&&e.parent.remove(e)}))})),Object(l["k"])(u,(function(e){e.invisible=!0,e.dirty()}))}},t.prototype._doAnimation=function(e,t,n,r){var i=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(Object(l["w"])(i)?0:i)||0,s=(Object(l["w"])(o)?null:o)||"cubicOut",u=NI();Object(l["k"])(t.willDeleteEls,(function(e,t){Object(l["k"])(e,(function(e,n){if(!e.invisible){var i,o=e.parent,l=YI(o);if(r&&"drillDown"===r.direction)i=o===r.rootNodeGroup?{shape:{x:0,y:0,width:l.nodeWidth,height:l.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,f=0;l.willDelete||(c=l.nodeWidth/2,f=l.nodeHeight/2),i="nodeGroup"===t?{x:c,y:f,style:{opacity:0}}:{shape:{x:c,y:f,width:0,height:0},style:{opacity:0}}}i&&u.add(e,i,a,0,s)}}))})),Object(l["k"])(this._storage,(function(e,n){Object(l["k"])(e,(function(e,r){var i=t.lastsForAnimation[n][r],o={};i&&(e instanceof Sr?null!=i.oldX&&(o.x=e.x,o.y=e.y,e.x=i.oldX,e.y=i.oldY):(i.oldShape&&(o.shape=Object(l["m"])({},e.shape),e.setShape(i.oldShape)),i.fadein?(e.setStyle("opacity",0),o.style={opacity:1}):1!==e.style.opacity&&(o.style={opacity:1})),u.add(e,o,a,0,s))}))}),this),this._state="animating",u.finished(Object(l["c"])((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),t||(t=this._controller=new bP(e.getZr()),t.enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),t.on("pan",Object(l["c"])(this._onPan,this)),t.on("zoom",Object(l["c"])(this._onZoom,this)));var r=new Ae(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return r.contain(t,n)}))},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>zI||Math.abs(e.dy)>zI)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY,r=e.scale;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new Ae(o.x,o.y,o.width,o.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=r,s){var c=s.min||0,f=s.max||1/0;u=Math.max(Math.min(f,u),c)}var h=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo;t-=d.x,n-=d.y;var p=le();he(p,p,[-t,-n]),pe(p,p,[h,h]),he(p,p,[t,n]),a.applyTransform(p),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)t._rootToNode(r);else if("zoomToNode"===n)t._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Ic(a,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new RI(this.group))).render(e,t,n.node,(function(t){"animating"!==r._state&&(fI(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=$I(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n},t.type="treemap",t}(Xv);function $I(){return{nodeGroup:[],background:[],content:[]}}function ZI(e,t,n,r,i,o,a,s,u,c){if(a){var f=a.getLayout(),h=e.getData(),d=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),f&&f.isInView){var p=f.width,g=f.height,v=f.borderWidth,y=f.invisible,m=a.getRawIndex(),b=s&&s.getRawIndex(),_=a.viewChildren,x=f.upperHeight,w=_&&_.length,S=d.getModel("itemStyle"),k=d.getModel(["emphasis","itemStyle"]),E=d.getModel(["blur","itemStyle"]),O=d.getModel(["select","itemStyle"]),C=S.get("borderRadius")||0,A=U("nodeGroup",BI);if(A){if(u.add(A),A.x=f.x||0,A.y=f.y||0,A.markRedraw(),YI(A).nodeWidth=p,YI(A).nodeHeight=g,f.isAboveViewRoot)return A;var T=U("background",FI,c,GI);T&&j(A,T,w&&f.upperLabelHeight);var P=d.getModel("emphasis"),M=P.get("focus"),D=P.get("blurScope"),I=P.get("disabled"),L="ancestor"===M?a.getAncestorsIndices():"descendant"===M?a.getDescendantIndices():M;if(w)Rl(A)&&Ll(A,!1),T&&(Ll(T,!I),h.setItemGraphicEl(a.dataIndex,T),Pl(T,L,D));else{var R=U("content",FI,c,WI);R&&N(A,R),T.disableMorphing=!0,T&&Rl(T)&&Ll(T,!1),Ll(A,!I),h.setItemGraphicEl(a.dataIndex,A),Pl(A,L,D)}return A}}}function j(t,n,r){var i=Cs(n);if(i.dataIndex=a.dataIndex,i.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:p,height:g,r:C}),y)B(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=XI(S);l.fill=s;var u=qI(k);u.fill=k.get("borderColor");var c=qI(E);c.fill=E.get("borderColor");var f=qI(O);if(f.fill=O.get("borderColor"),r){var h=p-2*v;F(n,s,o.opacity,{x:v,y:0,width:h,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=f,sl(n)}t.add(n)}function N(t,n){var r=Cs(n);r.dataIndex=a.dataIndex,r.seriesIndex=e.seriesIndex;var i=Math.max(p-2*v,0),o=Math.max(g-2*v,0);if(n.culling=!0,n.setShape({x:v,y:v,width:i,height:o,r:C}),y)B(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=XI(S);u.fill=l,u.decal=s.decal;var c=qI(k),f=qI(E),h=qI(O);F(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=f,n.ensureState("select").style=h,sl(n)}t.add(n)}function B(e){!e.invisible&&o.push(e)}function F(t,n,r,i){var o=d.getModel(i?HI:UI),s=ki(d.get("name"),null),u=o.getShallow("show");tu(t,nu(d,i?HI:UI),{defaultText:u?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:e,labelDataIndex:a.dataIndex});var c=t.getTextContent();if(c){var h=c.style,p=Object(l["M"])(h.padding||0);i&&(t.setTextConfig({layoutRect:i}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((i?i.width:t.shape.width)-p[1]-p[3],0),n=Math.max((i?i.height:t.shape.height)-p[0]-p[2],0);h.width===e&&h.height===n||c.setStyle({width:e,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",z(h,i,f);var g=c.getState("emphasis");z(g?g.style:null,i,f)}}function z(t,n,r){var i=t?t.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function U(e,r,o,a){var s=null!=b&&n[e][b],l=i[e];return s?(n[e][b]=null,H(l,s)):y||(s=new r,s instanceof Bo&&(s.z2=JI(o,a)),V(l,s)),t[e][m]=s}function H(e,t){var n=e[m]={};t instanceof BI?(n.oldX=t.x,n.oldY=t.y):n.oldShape=Object(l["m"])({},t.shape)}function V(e,t){var n=e[m]={},o=a.parentNode,s=t instanceof Sr;if(o&&(!r||"drillDown"===r.direction)){var l=0,u=0,c=i.background[o.getRawIndex()];!r&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function JI(e,t){return e*VI+t}var QI=KI,eL=l["k"],tL=l["A"],nL=-1,rL=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=l["d"](t);this.type=r,this.mappingMethod=n,this._normalizeData=gL[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(aL(i),iL(i)):"category"===n?i.categories?oL(i):aL(i,!0):(l["b"]("linear"!==n||i.dataExtent),aL(i))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return l["c"](this._normalizeData,this)},e.listVisualTypes=function(){return l["F"](e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){l["A"](e)?l["k"](e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var i,o=l["t"](t)?[]:l["A"](t)?{}:(i=!0,null);return e.eachVisual(t,(function(e,t){var a=n.call(r,e,t);i?o=a:o[t]=a})),o},e.retrieveVisuals=function(t){var n,r={};return t&&eL(e.visualHandlers,(function(e,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(l["t"](e))e=e.slice();else{if(!tL(e))return[];var t=[];eL(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||l["C"](s)&&s===e+"")return o;n&&h(s,o)}}for(o=0,a=t.length;o<a;o++){var u=t[o],c=u.interval,f=u.close;if(c){if(c[0]===-1/0){if(vL(f[1],e,c[1]))return o}else if(c[1]===1/0){if(vL(f[0],c[0],e))return o}else if(vL(f[0],c[0],e)&&vL(f[1],e,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function h(t,n){var o=Math.abs(t-e);o<i&&(i=o,r=n)}},e.visualHandlers={color:{applyVisual:uL("color"),getColorMapper:function(){var e=this.option;return l["c"]("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),cL.call(this,e)}:function(t,n,r){var i=!!r;return!n&&(t=this._normalizeData(t)),r=Bt["a"](t,e.parsedVisual,r),i?r:Bt["i"](r,"rgba")},this)},_normalizedToVisual:{linear:function(e){return Bt["i"](Bt["a"](e,this.option.parsedVisual),"rgba")},category:cL,piecewise:function(e,t){var n=dL.call(this,t);return null==n&&(n=Bt["i"](Bt["a"](e,this.option.parsedVisual),"rgba")),n},fixed:fL}},colorHue:sL((function(e,t){return Bt["g"](e,t)})),colorSaturation:sL((function(e,t){return Bt["g"](e,null,t)})),colorLightness:sL((function(e,t){return Bt["g"](e,null,null,t)})),colorAlpha:sL((function(e,t){return Bt["f"](e,t)})),decal:{applyVisual:uL("decal"),_normalizedToVisual:{linear:null,category:cL,piecewise:null,fixed:null}},opacity:{applyVisual:uL("opacity"),_normalizedToVisual:hL([0,1])},liftZ:{applyVisual:uL("liftZ"),_normalizedToVisual:{linear:fL,category:fL,piecewise:fL,fixed:fL}},symbol:{applyVisual:function(e,t,n){var r=this.mapValueToVisual(e);n("symbol",r)},_normalizedToVisual:{linear:lL,category:cL,piecewise:function(e,t){var n=dL.call(this,t);return null==n&&(n=lL.call(this,e)),n},fixed:fL}},symbolSize:{applyVisual:uL("symbolSize"),_normalizedToVisual:hL([0,1])}},e}();function iL(e){var t=e.pieceList;e.hasSpecialVisual=!1,l["k"](t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function oL(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(eL(t,(function(e,t){n[e]=t})),!l["t"](r)){var i=[];l["A"](r)?eL(r,(function(e,t){var r=n[t];i[null!=r?r:nL]=e})):i[nL]=r,r=pL(e,i)}for(var o=t.length-1;o>=0;o--)null==r[o]&&(delete n[t[o]],t.pop())}function aL(e,t){var n=e.visual,r=[];l["A"](n)?eL(n,(function(e){r.push(e)})):null!=n&&r.push(n);var i={color:1,symbol:1};t||1!==r.length||i.hasOwnProperty(e.type)||(r[1]=r[0]),pL(e,r)}function sL(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:hL([0,1])}}function lL(e){var t=this.option.visual;return t[Math.round(Nr(e,[0,1],[0,t.length-1],!0))]||{}}function uL(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function cL(e){var t=this.option.visual;return t[this.option.loop&&e!==nL?e%t.length:e]}function fL(){return this.option.visual[0]}function hL(e){return{linear:function(t){return Nr(t,e,this.option.visual,!0)},category:cL,piecewise:function(t,n){var r=dL.call(this,n);return null==r&&(r=Nr(t,e,this.option.visual,!0)),r},fixed:fL}}function dL(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=rL.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function pL(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=l["H"](t,(function(e){var t=Bt["h"](e);return t||[0,0,0,1]}))),t}var gL={linear:function(e){return Nr(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=rL.findPieceIndex(e,t,!0);if(null!=n)return Nr(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?nL:t},fixed:l["L"]};function vL(e,t,n){return e?t<=n:t<n}var yL=rL,mL="itemStyle",bL=Di(),_L={seriesType:"treemap",reset:function(e){var t=e.getData().tree,n=t.root;n.isRemoved()||xL(n,{},e.getViewRoot().getAncestors(),e)}};function xL(e,t,n,r){var i=e.getModel(),o=e.getLayout(),a=e.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,u=i.getModel(mL),c=wL(u,t,r),f=a.ensureUniqueItemVisual(e.dataIndex,"style"),h=u.get("borderColor"),d=u.get("borderColorSaturation");null!=d&&(s=SL(c),h=kL(d,s)),f.stroke=h;var p=e.viewChildren;if(p&&p.length){var g=OL(e,i,o,u,c,p);Object(l["k"])(p,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var o=AL(i,c,e,t,g,r);xL(e,o,n,r)}}))}else s=SL(c),f.fill=s}}function wL(e,t,n){var r=Object(l["m"])({},t),i=n.designatedVisualItemStyle;return Object(l["k"])(["color","colorAlpha","colorSaturation"],(function(n){i[n]=t[n];var o=e.get(n);i[n]=null,null!=o&&(r[n]=o)})),r}function SL(e){var t=EL(e,"color");if(t){var n=EL(e,"colorAlpha"),r=EL(e,"colorSaturation");return r&&(t=Object(Bt["g"])(t,null,null,r)),n&&(t=Object(Bt["f"])(t,n)),t}}function kL(e,t){return null!=t?Object(Bt["g"])(t,null,null,e):null}function EL(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function OL(e,t,n,r,i,o){if(o&&o.length){var a=CL(t,"color")||null!=i.color&&"none"!==i.color&&(CL(t,"colorAlpha")||CL(t,"colorSaturation"));if(a){var s=t.get("visualMin"),l=t.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=t.get("colorMappingBy"),f={type:a.name,dataExtent:u,visual:a.range};"color"!==f.type||"index"!==c&&"id"!==c?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var h=new yL(f);return bL(h).drColorMappingBy=c,h}}}function CL(e,t){var n=e.get(t);return Object(l["t"])(n)&&n.length?{name:t,range:n}:null}function AL(e,t,n,r,i,o){var a=Object(l["m"])({},t);if(i){var s=i.type,u="color"===s&&bL(i).drColorMappingBy,c="index"===u?r:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[s]=i.mapValueToVisual(c)}return a}var TL=Math.max,PL=Math.min,ML=l["O"],DL=l["k"],IL=["itemStyle","borderWidth"],LL=["itemStyle","gapWidth"],RL=["upperLabel","show"],jL=["upperLabel","height"],NL={seriesType:"treemap",reset:function(e,t,n,r){var i=n.getWidth(),o=n.getHeight(),a=e.option,s=zc(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),u=a.size||[],c=Br(ML(s.width,u[0]),i),f=Br(ML(s.height,u[1]),o),h=r&&r.type,d=["treemapZoomToNode","treemapRootToNode"],p=uI(r,d,e),g="treemapRender"===h||"treemapMove"===h?r.rootRect:null,v=e.getViewRoot(),y=cI(v);if("treemapMove"!==h){var m="treemapZoomToNode"===h?WL(e,p,v,c,f):g?[g.width,g.height]:[c,f],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var _={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};v.hostTree.clearLayouts();var x={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};v.setLayout(x),BL(v,_,!1,0),x=v.getLayout(),DL(y,(function(e,t){var n=(y[t+1]||v).getValue();e.setLayout(l["m"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},x))}))}var w=e.getData().tree.root;w.setLayout(qL(s,g,p),!0),e.setLayoutInfo(s),XL(w,new Ae(-s.x,-s.y,i,o),y,v,0)}};function BL(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var s=e.getModel(),l=s.get(IL),u=s.get(LL)/2,c=YL(s),f=Math.max(l,c),h=l-u,d=f-u;e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:c},!0),i=TL(i-2*h,0),o=TL(o-h-d,0);var p=i*o,g=FL(e,s,p,t,n,r);if(g.length){var v={x:h,y:d,width:i,height:o},y=PL(i,o),m=1/0,b=[];b.area=0;for(var _=0,x=g.length;_<x;){var w=g[_];b.push(w),b.area+=w.getLayout().area;var S=VL(b,y,t.squareRatio);S<=m?(_++,m=S):(b.area-=b.pop().getLayout().area,GL(b,y,v,u,!1),y=PL(v.width,v.height),b.length=b.area=0,m=1/0)}if(b.length&&GL(b,y,v,u,!0),!n){var k=s.get("childrenVisibleMin");null!=k&&p<k&&(n=!0)}for(_=0,x=g.length;_<x;_++)BL(g[_],t,n,r+1)}}}function FL(e,t,n,r,i,o){var a=e.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var u=null!=r.leafDepth&&r.leafDepth<=o;if(i&&!u)return e.viewChildren=[];a=l["n"](a,(function(e){return!e.isRemoved()})),UL(a,s);var c=HL(t,a,s);if(0===c.sum)return e.viewChildren=[];if(c.sum=zL(t,n,c.sum,s,a),0===c.sum)return e.viewChildren=[];for(var f=0,h=a.length;f<h;f++){var d=a[f].getValue()/c.sum*n;a[f].setLayout({area:d})}return u&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0),e.viewChildren=a,e.setLayout({dataExtent:c.dataExtent},!0),a}function zL(e,t,n,r,i){if(!r)return n;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*t<o&&(s=l,n-=u)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}function UL(e,t){return t&&e.sort((function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r})),e}function HL(e,t,n){for(var r=0,i=0,o=t.length;i<o;i++)r+=t[i].getValue();var a,s=e.get("visualDimension");return t&&t.length?"value"===s&&n?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],DL(t,(function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}))):a=[NaN,NaN],{sum:r,dataExtent:a}}function VL(e,t,n){for(var r=0,i=1/0,o=0,a=void 0,s=e.length;o<s;o++)a=e[o].getLayout().area,a&&(a<i&&(i=a),a>r&&(r=a));var l=e.area*e.area,u=t*t*n;return l?TL(u*r/l,l/(u*i)):1/0}function GL(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=t?e.area/t:0;(i||c>n[l[a]])&&(c=n[l[a]]);for(var f=0,h=e.length;f<h;f++){var d=e[f],p={},g=c?d.getLayout().area/c:0,v=p[l[a]]=TL(c-2*r,0),y=n[s[o]]+n[l[o]]-u,m=f===h-1||y<g?y:g,b=p[l[o]]=TL(m-2*r,0);p[s[a]]=n[s[a]]+PL(r,v/2),p[s[o]]=u+PL(r,b/2),u+=m,d.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function WL(e,t,n,r,i){var o,a=(t||{}).node,s=[r,i];if(!a||a===n)return s;var l=r*i,u=l*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var c=0,f=o.children,h=0,d=f.length;h<d;h++)c+=f[h].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var g=o.getModel(),v=g.get(IL),y=Math.max(v,YL(g));u+=4*v*v+(3*v+y)*Math.pow(u,.5),u>qr&&(u=qr),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[r*m,i*m]}function qL(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;var a=[o.width/2,o.height/2],s=i;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function XL(e,t,n,r,i){var o=e.getLayout(),a=n[i],s=a&&a===e;if(!(a&&!s||i===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(o),isAboveViewRoot:s},!0);var l=new Ae(t.x-o.x,t.y-o.y,t.width,t.height);DL(e.viewChildren||[],(function(e){XL(e,l,n,r,i+1)}))}}function YL(e){return e.get(RL)?e.get(jL):0}function KL(e){e.registerSeriesModel(AI),e.registerChartView(QI),e.registerVisual(_L),e.registerLayout(NL),SI(e)}function $L(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph(),i=r.data,o=n.mapArray(n.getName);i.filterSelf((function(e){var n=i.getItemModel(e),r=n.getShallow("category");if(null!=r){Object(l["z"])(r)&&(r=o[r]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(r))return!1}return!0}))}))}function ZL(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getData(),i={};n.each((function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(o,t)),n.setItemVisual(r,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(r,l[u],c)}})),n.count()&&r.each((function(e){var t=r.getItemModel(e),o=t.getShallow("category");if(null!=o){Object(l["C"])(o)&&(o=i["ec-"+o]);var a=n.getItemVisual(o,"style"),s=r.ensureUniqueItemVisual(e,"style");Object(l["m"])(s,a);for(var u=["symbol","symbolSize","symbolKeepAspect"],c=0;c<u.length;c++)r.setItemVisual(e,u[c],n.getItemVisual(o,u[c]))}}))}))}function JL(e){return e instanceof Array||(e=[e,e]),e}function QL(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),n=e.getEdgeData(),r=JL(e.get("edgeSymbol")),i=JL(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var r=n.getItemModel(e),i=t.getEdgeByIndex(e),o=JL(r.getShallow("symbol",!0)),a=JL(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),u=n.ensureUniqueItemVisual(e,"style");switch(Object(l["m"])(u,s),u.stroke){case"source":var c=i.node1.getVisual("style");u.stroke=c&&c.fill;break;case"target":c=i.node2.getVisual("style");u.stroke=c&&c.fill;break}o[0]&&i.setVisual("fromSymbol",o[0]),o[1]&&i.setVisual("toSymbol",o[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1])}))}))}var eR="--\x3e",tR=function(e){return e.get("autoCurveness")||null},nR=function(e,t){var n=tR(e),r=20,i=[];if(l["z"](n))r=n;else if(l["t"](n))return void(e.__curvenessList=n);t>r&&(r=t);var o=r%2?r+2:r+3;i=[];for(var a=0;a<o;a++)i.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=i},rR=function(e,t,n){var r=[e.id,e.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[n.uid,r,i].join(eR)},iR=function(e){var t=e.split(eR);return[t[0],t[2],t[1]].join(eR)},oR=function(e,t){var n=rR(e.node1,e.node2,t);return t.__edgeMap[n]},aR=function(e,t){var n=sR(rR(e.node1,e.node2,t),t),r=sR(rR(e.node2,e.node1,t),t);return n+r},sR=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function lR(e){tR(e)&&(e.__curvenessList=[],e.__edgeMap={},nR(e))}function uR(e,t,n,r){if(tR(n)){var i=rR(e,t,n),o=n.__edgeMap,a=o[iR(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(r)}}function cR(e,t,n,r){var i=tR(t),o=l["t"](i);if(!i)return null;var a=oR(e,t);if(!a)return null;for(var s=-1,u=0;u<a.length;u++)if(a[u]===n){s=u;break}var c=aR(e,t);nR(t,c),e.lineStyle=e.lineStyle||{};var f=rR(e.node1,e.node2,t),h=t.__curvenessList,d=o||c%2?0:1;if(a.isForward)return h[d+s];var p=iR(f),g=sR(p,t),v=h[s+g+d];return r?o?i&&0===i[0]?(g+d)%2?v:-v:((g%2?0:1)+d)%2?v:-v:(g+d)%2?v:-v:h[s+g+d]}function fR(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),hR(n,e)}}function hR(e,t){e.eachEdge((function(e,n){var r=l["Q"](e.getModel().get(["lineStyle","curveness"]),-cR(e,t,n,!0),0),i=f(e.node1.getLayout()),o=f(e.node2.getLayout()),a=[i,o];+r&&a.push([(i[0]+o[0])/2-(i[1]-o[1])*r,(i[1]+o[1])/2-(o[0]-i[0])*r]),e.setLayout(a)}))}function dR(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),i=[];Object(l["k"])(n.dimensions,(function(e){i=i.concat(r.mapDimensionsAll(e))}));for(var o=0;o<r.count();o++){for(var a=[],s=!1,u=0;u<i.length;u++){var c=r.get(i[u],o);isNaN(c)||(s=!0),a.push(c)}s?r.setItemLayout(o,n.dataToPoint(a)):r.setItemLayout(o,[NaN,NaN])}hR(r.graph,e)}else t&&"none"!==t||fR(e)}))}function pR(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX,i=t.getZoom(),o=(i-1)*n+1;return o/r}function gR(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var vR=Math.PI,yR=[];function mR(e,t,n,r){var i=e.coordinateSystem;if(!i||"view"===i.type){var o=i.getBoundingRect(),a=e.getData(),s=a.graph,u=o.width/2+o.x,c=o.height/2+o.y,h=Math.min(o.width,o.height)/2,d=a.count();if(a.setLayout({cx:u,cy:c}),d){if(n){var p=i.pointToData(r),g=p[0],v=p[1],y=[g-u,v-c];b(y,y),m(y,y,h),n.setLayout([u+y[0],c+y[1]],!0);var _=e.get(["circular","rotateLabel"]);_R(n,_,u,c)}bR[t](e,s,a,h,u,c,d),s.eachEdge((function(t,n){var r,i=l["Q"](t.getModel().get(["lineStyle","curveness"]),cR(t,e,n),0),o=f(t.node1.getLayout()),a=f(t.node2.getLayout()),s=(o[0]+a[0])/2,h=(o[1]+a[1])/2;+i&&(i*=3,r=[u*i+s*(1-i),c*i+h*(1-i)]),t.setLayout([o,a,r])}))}}}var bR={value:function(e,t,n,r,i,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);t.eachNode((function(e){var t=e.getValue("value"),n=u*(l?t:1)/2;s+=n,e.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+o]),s+=n}))},symbolSize:function(e,t,n,r,i,o,a){var s=0;yR.length=a;var l=pR(e);t.eachNode((function(e){var t=gR(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var n=Math.asin(t/2/r);isNaN(n)&&(n=vR/2),yR[e.dataIndex]=n,s+=2*n}));var u=(2*vR-s)/a/2,c=0;t.eachNode((function(e){var t=u+yR[e.dataIndex];c+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([r*Math.cos(c)+i,r*Math.sin(c)+o]),c+=t}))}};function _R(e,t,n,r){var i=e.getGraphicEl();if(i){var o=e.getModel(),a=o.get(["label","rotate"])||0,s=i.getSymbolPath();if(t){var u=e.getLayout(),c=Math.atan2(u[1]-r,u[0]-n);c<0&&(c=2*Math.PI+c);var f=u[0]<n;f&&(c-=Math.PI);var h=f?"left":"right";s.setTextConfig({rotation:-c,position:h,origin:"center"});var d=s.ensureState("emphasis");l["m"](d.textConfig||(d.textConfig={}),{position:h})}else s.setTextConfig({rotation:a*=Math.PI/180})}}function xR(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&mR(e,"symbolSize")}))}var wR=p;function SR(e,t,n){for(var r=e,i=t,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],d=null==n.gravity?.1:n.gravity,p=0;p<r.length;p++){var y=r[p];y.p||(y.p=u(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),y.pp=f(y.p),y.edges=null}var m,_,x=null==n.friction?.6:n.friction,w=x;return{warmUp:function(){w=.8*x},setFixed:function(e){r[e].fixed=!0},setUnfixed:function(e){r[e].fixed=!1},beforeStep:function(e){m=e},afterStep:function(e){_=e},step:function(e){m&&m(r,i);for(var t=[],n=r.length,o=0;o<i.length;o++){var a=i[o];if(!a.ignoreForceLayout){var s=a.n1,u=a.n2;g(t,u.p,s.p);var f=v(t)-a.d,p=u.w/(s.w+u.w);isNaN(p)&&(p=0),b(t,t),!s.fixed&&wR(s.p,s.p,t,p*f*w),!u.fixed&&wR(u.p,u.p,t,-(1-p)*f*w)}}for(o=0;o<n;o++){var y=r[o];y.fixed||(g(t,l,y.p),wR(y.p,y.p,t,d*w))}for(o=0;o<n;o++){s=r[o];for(var x=o+1;x<n;x++){u=r[x];g(t,u.p,s.p);f=v(t);0===f&&(h(t,Math.random()-.5,Math.random()-.5),f=1);var S=(s.rep+u.rep)/f/f;!s.fixed&&wR(s.pp,s.pp,t,S),!u.fixed&&wR(u.pp,u.pp,t,-S)}}var k=[];for(o=0;o<n;o++){y=r[o];y.fixed||(g(k,y.p,y.pp),wR(y.p,y.p,k,w),c(y.pp,y.p))}w*=.992;var E=w<.01;_&&_(r,i,E),e&&e(E)}}}function kR(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),i=r.data,o=r.edgeData,a=e.getModel("force"),s=a.get("initLayout");e.preservedPoints?i.each((function(e){var t=i.getId(e);i.setItemLayout(e,n[t]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&mR(e,"value"):fR(e);var u=i.getDataExtent("value"),f=o.getDataExtent("value"),h=a.get("repulsion"),d=a.get("edgeLength"),p=l["t"](h)?h:[h,h],g=l["t"](d)?d:[d,d];g=[g[1],g[0]];var v=i.mapArray("value",(function(e,t){var n=i.getItemLayout(t),r=Nr(e,u,p);return isNaN(r)&&(r=(p[0]+p[1])/2),{w:r,rep:r,fixed:i.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),y=o.mapArray("value",(function(t,n){var i=r.getEdgeByIndex(n),o=Nr(t,f,g);isNaN(o)&&(o=(g[0]+g[1])/2);var a=i.getModel(),s=l["Q"](i.getModel().get(["lineStyle","curveness"]),-cR(i,e,n,!0),0);return{n1:v[i.node1.dataIndex],n2:v[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),m=t.getBoundingRect(),b=SR(v,y,{rect:m,gravity:a.get("gravity"),friction:a.get("friction")});b.beforeStep((function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].fixed&&c(e[n].p,r.getNodeByIndex(n).getLayout())})),b.afterStep((function(e,t,o){for(var a=0,s=e.length;a<s;a++)e[a].fixed||r.getNodeByIndex(a).setLayout(e[a].p),n[i.getId(a)]=e[a].p;for(a=0,s=t.length;a<s;a++){var l=t[a],u=r.getEdgeByIndex(a),f=l.n1.p,h=l.n2.p,d=u.getLayout();d=d?d.slice():[],d[0]=d[0]||[],d[1]=d[1]||[],c(d[0],f),c(d[1],h),+l.curveness&&(d[2]=[(f[0]+h[0])/2-(f[1]-h[1])*l.curveness,(f[1]+h[1])/2-(h[0]-f[0])*l.curveness]),u.setLayout(d)}})),e.forceLayout=b,e.preservedPoints=n,b.step()}else e.forceLayout=null}))}function ER(e,t,n){var r=Object(l["m"])(e.getBoxLayoutParams(),{aspect:n});return zc(r,{width:t.getWidth(),height:t.getHeight()})}function OR(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var i=e.getData(),o=i.mapArray((function(e){var t=i.getItemModel(e);return[+t.get("x"),+t.get("y")]})),a=[],s=[];Xo(o,a,s),s[0]-a[0]===0&&(s[0]+=1,a[0]-=1),s[1]-a[1]===0&&(s[1]+=1,a[1]-=1);var l=(s[0]-a[0])/(s[1]-a[1]),u=ER(e,t,l);isNaN(l)&&(a=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-a[0],f=s[1]-a[1],h=u.width,d=u.height,p=e.coordinateSystem=new iD;p.zoomLimit=e.get("scaleLimit"),p.setBoundingRect(a[0],a[1],c,f),p.setViewRect(u.x,u.y,h,d),p.setCenter(e.get("center"),t),p.setZoom(e.get("zoom")),n.push(p)}})),n}var CR=Rg.prototype,AR=zg.prototype,TR=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}a(t,e)})(TR);function PR(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var MR=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new TR},t.prototype.buildPath=function(e,t){PR(t)?CR.buildPath.call(this,e,t):AR.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return PR(this.shape)?CR.pointAt.call(this,e):AR.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=PR(t)?[t.x2-t.x1,t.y2-t.y1]:AR.tangentAt.call(this,e);return b(n,n)},t}(Wa),DR=MR,IR=["fromSymbol","toSymbol"];function LR(e){return"_"+e+"Type"}function RR(e,t,n){var r=t.getItemVisual(n,e);if(!r||"none"===r)return r;var i=t.getItemVisual(n,e+"Size"),o=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=sm(i),u=lm(a||0,l);return r+l+u+(o||"")+(s||"")}function jR(e,t,n){var r=t.getItemVisual(n,e);if(r&&"none"!==r){var i=t.getItemVisual(n,e+"Size"),o=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=sm(i),u=lm(a||0,l),c=am(r,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=e,c}}function NR(e){var t=new DR({name:"line",subPixelOptimize:!0});return BR(t.shape,e),t}function BR(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}var FR=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createLine(t,n,r),i}return a(t,e),t.prototype._createLine=function(e,t,n){var r=e.hostModel,i=e.getItemLayout(t),o=NR(i);o.shape.percent=0,Wl(o,{shape:{percent:1}},r,t),this.add(o),Object(l["k"])(IR,(function(n){var r=jR(n,e,t);this.add(r),this[LR(n)]=RR(n,e,t)}),this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=e.getItemLayout(t),a={shape:{}};BR(a.shape,o),Gl(i,a,r,t),Object(l["k"])(IR,(function(n){var r=RR(n,e,t),i=LR(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=jR(n,e,t);this.add(o)}this[i]=r}),this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,u=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,f=n&&n.focus,h=n&&n.blurScope;if(!n||e.hasItemOption){var d=e.getItemModel(t),p=d.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),c=p.get("disabled"),f=p.get("focus"),h=p.get("blurScope"),u=nu(d)}var g=e.getItemVisual(t,"style"),v=g.stroke;i.useStyle(g),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,i.ensureState("blur").style=a,i.ensureState("select").style=s,Object(l["k"])(IR,(function(e){var t=this.childOfName(e);if(t){t.setColor(v),t.style.opacity=g.opacity;for(var n=0;n<js.length;n++){var r=js[n],o=i.getState(r);if(o){var a=o.style||{},s=t.ensureState(r),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}}),this);var y=r.getRawValue(t);tu(this,u,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return r.getFormattedLabel(t,n,e.dataType)}},inheritColor:v||"#000",defaultOpacity:g.opacity,defaultText:(null==y?e.getName(t):isFinite(y)?Fr(y):y)+""});var m=this.getTextContent();if(m){var b=u.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=b.get("position")||"middle";var _=b.get("distance");Object(l["t"])(_)||(_=[_,_]),m.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Tl(this,f,h,c)},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){fl(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");BR(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),r=e.getTextContent();if(t||n||r&&!r.ignore){var i=1,o=this.parent;while(o)o.scaleX&&(i/=o.scaleX),o=o.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=g([],u,l);if(b(c,c),t&&(t.setPosition(l),E(t,0),t.scaleX=t.scaleY=i*s,t.markRedraw()),n&&(n.setPosition(u),E(n,1),n.scaleX=n.scaleY=i*s,n.markRedraw()),r&&!r.ignore){r.x=r.y=0,r.originX=r.originY=0;var f=void 0,h=void 0,d=r.__labelDistance,p=d[0]*i,v=d[1]*i,y=s/2,m=a.tangentAt(y),_=[m[1],-m[0]],x=a.pointAt(y);_[1]>0&&(_[0]=-_[0],_[1]=-_[1]);var w=m[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var S=-Math.atan2(m[1],m[0]);u[0]<l[0]&&(S=Math.PI+S),r.rotation=S}var k=void 0;switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":k=-v,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":k=v,h="top";break;default:k=0,h="middle"}switch(r.__position){case"end":r.x=c[0]*p+u[0],r.y=c[1]*v+u[1],f=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":r.x=-c[0]*p+l[0],r.y=-c[1]*v+l[1],f=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=p*w+l[0],r.y=l[1]+k,f=m[0]<0?"right":"left",r.originX=-p*w,r.originY=-k;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=x[0],r.y=x[1]+k,f="center",r.originY=-k;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*w+u[0],r.y=u[1]+k,f=m[0]>=0?"right":"left",r.originX=p*w,r.originY=-k;break}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||h,align:r.__align||f})}}}function E(e,t){var n=e.__specifiedRotation;if(null==n){var r=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(Sr),zR=FR,UR=function(){function e(e){this.group=new Sr,this._LineCtor=e||zR}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=e,i||r.removeAll();var o=VR(e);e.diff(i).add((function(n){t._doAdd(e,n,o)})).update((function(n,r){t._doUpdate(i,e,r,n,o)})).remove((function(e){r.remove(i.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=VR(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||HR(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r<e.end;r++){var i=t.getItemLayout(r);if(WR(i)){var o=new this._LineCtor(t,r,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(r,o),this._progressiveEls.push(o)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){Bv(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){var r=e.getItemLayout(t);if(WR(r)){var i=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,i),this.group.add(i)}},e.prototype._doUpdate=function(e,t,n,r,i){var o=e.getItemGraphicEl(n);WR(t.getItemLayout(r))?(o?o.updateData(t,r,i):o=new this._LineCtor(t,r,i),t.setItemGraphicEl(r,o),this.group.add(o)):this.group.remove(o)},e}();function HR(e){return e.animators&&e.animators.length>0}function VR(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:nu(t)}}function GR(e){return isNaN(e[0])||isNaN(e[1])}function WR(e){return e&&!GR(e[0])&&!GR(e[1])}var qR=UR,XR=[],YR=[],KR=[],$R=Ct,ZR=S,JR=Math.abs;function QR(e,t,n){for(var r,i=e[0],o=e[1],a=e[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){XR[0]=$R(i[0],o[0],a[0],c),XR[1]=$R(i[1],o[1],a[1],c);var f=JR(ZR(XR,t)-l);f<s&&(s=f,r=c)}for(var h=0;h<32;h++){var d=r+u;YR[0]=$R(i[0],o[0],a[0],r),YR[1]=$R(i[1],o[1],a[1],r),KR[0]=$R(i[0],o[0],a[0],d),KR[1]=$R(i[1],o[1],a[1],d);f=ZR(YR,t)-l;if(JR(f)<.01)break;var p=ZR(KR,t)-l;u/=2,f<0?p>=0?r+=u:r-=u:p>=0?r-=u:r+=u}return r}function ej(e,t){var n=[],r=Mt,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),u=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");l.__original||(l.__original=[f(l[0]),f(l[1])],l[2]&&l.__original.push(f(l[2])));var d=l.__original;if(null!=l[2]){if(c(i[0],d[0]),c(i[1],d[2]),c(i[2],d[1]),u&&"none"!==u){var v=gR(e.node1),y=QR(i,d[0],v*t);r(i[0][0],i[1][0],i[2][0],y,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],y,n),i[0][1]=n[3],i[1][1]=n[4]}if(h&&"none"!==h){v=gR(e.node2),y=QR(i,d[1],v*t);r(i[0][0],i[1][0],i[2][0],y,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],y,n),i[1][1]=n[1],i[2][1]=n[2]}c(l[0],i[0]),c(l[1],i[2]),c(l[2],i[1])}else{if(c(o[0],d[0]),c(o[1],d[1]),g(a,o[1],o[0]),b(a,a),u&&"none"!==u){v=gR(e.node1);p(o[0],o[0],a,v*t)}if(h&&"none"!==h){v=gR(e.node2);p(o[1],o[1],a,-v*t)}c(l[0],o[0]),c(l[1],o[1])}}))}function tj(e){return"view"===e.type}var nj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){var n=new Tk,r=new qR,i=this.group;this._controller=new bP(t.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(tj(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):Gl(s,l,e)}ej(e.getGraph(),pR(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,h=e.get(["force","layoutAnimation"]);f&&this._startForceLayoutIteration(f,h);var d=e.get("layout");u.graph.eachNode((function(t){var n=t.dataIndex,i=t.getGraphicEl(),o=t.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",(function(o){switch(d){case"force":f.warmUp(),!r._layouting&&r._startForceLayoutIteration(f,h),f.setFixed(n),u.setItemLayout(n,[i.x,i.y]);break;case"circular":u.setItemLayout(n,[i.x,i.y]),t.setLayout({fixed:!0},!0),mR(e,"symbolSize",t,[o.offsetX,o.offsetY]),r.updateLayout(e);break;case"none":default:u.setItemLayout(n,[i.x,i.y]),hR(e.getGraph(),e),r.updateLayout(e);break}})).on("dragend",(function(){f&&f.setUnfixed(n)})),i.setDraggable(a,!!o.get("cursor"));var s=o.get(["emphasis","focus"]);"adjacency"===s&&(Cs(i).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(Cs(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var p="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),g=u.getLayout("cx"),v=u.getLayout("cy");u.graph.eachNode((function(e){_R(e,p,g,v)})),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;(function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))})()},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!kP(t,n,e)})),tj(e.coordinateSystem)?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){_P(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){xP(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(),ej(e.getGraph(),pR(e)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=pR(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){ej(e.getGraph(),pR(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(Xv),rj=nj;function ij(e){return"_EC_"+e}var oj=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[ij(e)]){var r=new aj(e,t);return r.hostGraph=this,this.nodes.push(r),n[ij(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[ij(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if(l["z"](e)&&(e=this.nodes[e]),l["z"](t)&&(t=this.nodes[t]),e instanceof aj||(e=r[ij(e)]),t instanceof aj||(t=r[ij(t)]),e&&t){var o=e.id+"-"+t.id,a=new sj(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof aj&&(e=e.id),t instanceof aj&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&e.call(t,n[i],i)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof aj||(t=this._nodesMap[ij(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(r,t,null)){var a=[t];while(a.length){var s=a.shift(),l=s[i];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(e.call(r,c,s))return;a.push(c),c.__visited=!0}}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)n[e.getRawIndex(i)].dataIndex=i;t.filterSelf((function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,r=this.edges,i=0;i<n.length;i++)t.addNode(n[i].id,n[i].dataIndex);for(i=0;i<r.length;i++){var o=r[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},e}(),aj=function(){function e(e,t){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==e?"":e,this.dataIndex=null==t?-1:t}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}},e.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},t=0;t<this.edges.length;t++){var n=this.edges[t];n.dataIndex<0||(e.edge.push(n.dataIndex),e.node.push(n.node1.dataIndex,n.node2.dataIndex))}return e},e.prototype.getTrajectoryDataIndices=function(){for(var e=l["f"](),t=l["f"](),n=0;n<this.edges.length;n++){var r=this.edges[n];if(!(r.dataIndex<0)){e.set(r.dataIndex,!0);var i=[r.node1],o=[r.node2],a=0;while(a<i.length){var s=i[a];a++,t.set(s.dataIndex,!0);for(var u=0;u<s.inEdges.length;u++)e.set(s.inEdges[u].dataIndex,!0),i.push(s.inEdges[u].node1)}a=0;while(a<o.length){var c=o[a];a++,t.set(c.dataIndex,!0);for(u=0;u<c.outEdges.length;u++)e.set(c.outEdges[u].dataIndex,!0),o.push(c.outEdges[u].node2)}}}return{edge:e.keys(),node:t.keys()}},e}(),sj=function(){function e(e,t,n){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}return e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var e=l["f"](),t=l["f"]();e.set(this.dataIndex,!0);var n=[this.node1],r=[this.node2],i=0;while(i<n.length){var o=n[i];i++,t.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)e.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}i=0;while(i<r.length){var s=r[i];i++,t.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)e.set(s.outEdges[a].dataIndex,!0),r.push(s.outEdges[a].node2)}return{edge:e.keys(),node:t.keys()}},e}();function lj(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}l["K"](aj,lj("hostGraph","data")),l["K"](sj,lj("hostGraph","edgeData"));var uj=oj;function cj(e,t,n,r,i){for(var o=new uj(r),a=0;a<e.length;a++)o.addNode(l["O"](e[a].id,e[a].name,a),a);var s=[],u=[],c=0;for(a=0;a<t.length;a++){var f=t[a],h=f.source,d=f.target;o.addEdge(h,d,c)&&(u.push(f),s.push(l["O"](ki(f.id,null),h+" > "+d)),c++)}var p,g=n.get("coordinateSystem");if("cartesian2d"===g||"polar"===g)p=yk(e,n);else{var v=Yf.get(g),y=v&&v.dimensions||[];l["r"](y,"value")<0&&y.concat(["value"]);var m=ek(e,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;p=new QS(m,n),p.initData(e)}var b=new QS(["value"],n);return b.initData(u,s),i&&i(p,b),iI({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var fj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new jO(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),fi(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=this;if(r&&n){lR(this);var o=cj(r,n,this,!0,a);return l["k"](o.edges,(function(e){uR(e.node1,e.node2,this,e.dataIndex)}),this),o.data}function a(e,t){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels,n=e.getShallow("category"),r=t[n];return r&&(r.parentModel=e.parentModel,e.parentModel=r),e}));var n=Cu.prototype.getModel;function r(e,t){var r=n.call(this,e,t);return r.resolveParentPath=o,r}function o(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=o,e.getModel=r,e}))}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Yd("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}var u=cp({series:this,dataIndex:e,multipleSeries:t});return u},t.prototype._updateCategoriesData=function(){var e=l["H"](this.option.categories||[],(function(e){return null!=e.value?e:l["m"]({value:0},e)})),t=new QS(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e)}))},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(kp),hj=fj,dj={type:"graphRoam",event:"graphRoam",update:"none"};function pj(e){e.registerChartView(rj),e.registerSeriesModel(hj),e.registerProcessor($L),e.registerVisual(ZL),e.registerVisual(QL),e.registerLayout(dR),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,xR),e.registerLayout(kR),e.registerCoordinateSystem("graphView",{dimensions:iD.dimensions,create:OR}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},l["L"]),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},l["L"]),e.registerAction(dj,(function(e,t,n){t.eachComponent({mainType:"series",query:e},(function(t){var r=t.coordinateSystem,i=mD(r,e,void 0,n);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))}var gj=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),vj=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return a(t,e),t.prototype.getDefaultShape=function(){return new gj},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=i/3?1:2),l=t.y-r(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+r(a)*o),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(a)*o,t.y-r(a)*o),e.lineTo(s,l)},t}(Wa),yj=vj;function mj(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i),a=Br(n[0],t.getWidth()),s=Br(n[1],t.getHeight()),l=Br(e.get("radius"),o/2);return{cx:a,cy:s,r:l}}function bj(e,t){var n=null==e?"":e+"";return t&&(Object(l["C"])(t)?n=t.replace("{value}",n):Object(l["w"])(t)&&(n=t(e))),n}var _j=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get(["axisLine","lineStyle","color"]),i=mj(e,n);this._renderMain(e,t,n,r,i),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,i){var o=this.group,a=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,u=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),f=c.get("roundCap"),h=f?zE:_g,d=c.get("show"),p=c.getModel("lineStyle"),g=p.get("width"),v=[s,u];ya(v,!a),s=v[0],u=v[1];for(var y=u-s,m=s,b=[],_=0;d&&_<r.length;_++){var x=Math.min(Math.max(r[_][0],0),1);u=s+y*x;var w=new h({shape:{startAngle:m,endAngle:u,cx:i.cx,cy:i.cy,clockwise:a,r0:i.r-g,r:i.r},silent:!0});w.setStyle({fill:r[_][1]}),w.setStyle(p.getLineStyle(["color","width"])),b.push(w),m=u}b.reverse(),Object(l["k"])(b,(function(e){return o.add(e)}));var S=function(e){if(e<=0)return r[0][1];var t;for(t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};this._renderTicks(e,t,n,S,i,s,u,a,g),this._renderTitleAndDetail(e,t,n,S,i),this._renderAnchor(e,i),this._renderPointer(e,t,n,S,i,s,u,a,g)},t.prototype._renderTicks=function(e,t,n,r,i,o,a,s,u){for(var c,f,h=this.group,d=i.cx,p=i.cy,g=i.r,v=+e.get("min"),y=+e.get("max"),m=e.getModel("splitLine"),b=e.getModel("axisTick"),_=e.getModel("axisLabel"),x=e.get("splitNumber"),w=b.get("splitNumber"),S=Br(m.get("length"),g),k=Br(b.get("length"),g),E=o,O=(a-o)/x,C=O/w,A=m.getModel("lineStyle").getLineStyle(),T=b.getModel("lineStyle").getLineStyle(),P=m.get("distance"),M=0;M<=x;M++){if(c=Math.cos(E),f=Math.sin(E),m.get("show")){var D=P?P+u:u,I=new Rg({shape:{x1:c*(g-D)+d,y1:f*(g-D)+p,x2:c*(g-S-D)+d,y2:f*(g-S-D)+p},style:A,silent:!0});"auto"===A.stroke&&I.setStyle({stroke:r(M/x)}),h.add(I)}if(_.get("show")){D=_.get("distance")+P;var L=bj(Fr(M/x*(y-v)+v),_.get("formatter")),R=r(M/x),j=c*(g-S-D)+d,N=f*(g-S-D)+p,B=_.get("rotate"),F=0;"radial"===B?(F=-E+2*Math.PI,F>Math.PI/2&&(F+=Math.PI)):"tangential"===B?F=-E-Math.PI/2:Object(l["z"])(B)&&(F=B*Math.PI/180),0===F?h.add(new Os({style:ru(_,{text:L,x:j,y:N,verticalAlign:f<-.8?"top":f>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:R}),silent:!0})):h.add(new Os({style:ru(_,{text:L,x:j,y:N,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:j,originY:N,rotation:F}))}if(b.get("show")&&M!==x){D=b.get("distance");D=D?D+u:u;for(var z=0;z<=w;z++){c=Math.cos(E),f=Math.sin(E);var U=new Rg({shape:{x1:c*(g-D)+d,y1:f*(g-D)+p,x2:c*(g-k-D)+d,y2:f*(g-k-D)+p},silent:!0,style:T});"auto"===T.stroke&&U.setStyle({stroke:r((M+z/w)/x)}),h.add(U),E+=C}E-=C}else E+=O}},t.prototype._renderPointer=function(e,t,n,r,i,o,a,s,u){var c=this.group,f=this._data,h=this._progressEls,d=[],p=e.get(["pointer","show"]),g=e.getModel("progress"),v=g.get("show"),y=e.getData(),m=y.mapDimension("value"),b=+e.get("min"),_=+e.get("max"),x=[b,_],w=[o,a];function S(t,n){var r,o=y.getItemModel(t),a=o.getModel("pointer"),s=Br(a.get("width"),i.r),l=Br(a.get("length"),i.r),u=e.get(["pointer","icon"]),c=a.get("offsetCenter"),f=Br(c[0],i.r),h=Br(c[1],i.r),d=a.get("keepAspect");return r=u?am(u,f-s/2,h-l,s,l,null,d):new yj({shape:{angle:-Math.PI/2,width:s,r:l,x:f,y:h}}),r.rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function k(e,t){var n=g.get("roundCap"),r=n?zE:_g,a=g.get("overlap"),l=a?g.get("width"):u/y.count(),c=a?i.r-l:i.r-(e+1)*l,f=a?i.r:i.r-e*l,h=new r({shape:{startAngle:o,endAngle:t,cx:i.cx,cy:i.cy,clockwise:s,r0:c,r:f}});return a&&(h.z2=_-y.get(m,e)%_),h}(v||p)&&(y.diff(f).add((function(t){var n=y.get(m,t);if(p){var r=S(t,o);Wl(r,{rotation:-((isNaN(+n)?w[0]:Nr(n,x,w,!0))+Math.PI/2)},e),c.add(r),y.setItemGraphicEl(t,r)}if(v){var i=k(t,o),a=g.get("clip");Wl(i,{shape:{endAngle:Nr(n,x,w,a)}},e),c.add(i),As(e.seriesIndex,y.dataType,t,i),d[t]=i}})).update((function(t,n){var r=y.get(m,t);if(p){var i=f.getItemGraphicEl(n),a=i?i.rotation:o,s=S(t,a);s.rotation=a,Gl(s,{rotation:-((isNaN(+r)?w[0]:Nr(r,x,w,!0))+Math.PI/2)},e),c.add(s),y.setItemGraphicEl(t,s)}if(v){var l=h[n],u=l?l.shape.endAngle:o,b=k(t,u),_=g.get("clip");Gl(b,{shape:{endAngle:Nr(r,x,w,_)}},e),c.add(b),As(e.seriesIndex,y.dataType,t,b),d[t]=b}})).execute(),y.each((function(e){var t=y.getItemModel(e),n=t.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=y.getItemGraphicEl(e),u=y.getItemVisual(e,"style"),c=u.fill;if(s instanceof Qa){var f=s.style;s.useStyle(Object(l["m"])({image:f.image,x:f.x,y:f.y,width:f.width,height:f.height},u))}else s.useStyle(u),"pointer"!==s.type&&s.setColor(c);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(Nr(y.get(m,e),x,[0,1],!0))),s.z2EmphasisLift=0,Il(s,t),Tl(s,i,o,a)}if(v){var h=d[e];h.useStyle(y.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,Il(h,t),Tl(h,i,o,a)}})),this._progressEls=d)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor"),r=n.get("show");if(r){var i=n.get("size"),o=n.get("icon"),a=n.get("offsetCenter"),s=n.get("keepAspect"),l=am(o,t.cx-i/2+Br(a[0],t.r),t.cy-i/2+Br(a[1],t.r),i,i,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,i){var o=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),u=+e.get("max"),c=new Sr,f=[],h=[],d=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){f[e]=new Os({silent:!0}),h[e]=new Os({silent:!0})})).update((function(e,t){f[e]=o._titleEls[t],h[e]=o._detailEls[t]})).execute(),a.each((function(t){var n=a.getItemModel(t),o=a.get(s,t),g=new Sr,v=r(Nr(o,[l,u],[0,1],!0)),y=n.getModel("title");if(y.get("show")){var m=y.get("offsetCenter"),b=i.cx+Br(m[0],i.r),_=i.cy+Br(m[1],i.r),x=f[t];x.attr({z2:p?0:2,style:ru(y,{x:b,y:_,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:v})}),g.add(x)}var w=n.getModel("detail");if(w.get("show")){var S=w.get("offsetCenter"),k=i.cx+Br(S[0],i.r),E=i.cy+Br(S[1],i.r),O=Br(w.get("width"),i.r),C=Br(w.get("height"),i.r),A=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:v,T=(x=h[t],w.get("formatter"));x.attr({z2:p?0:2,style:ru(w,{x:k,y:E,text:bj(o,T),width:isNaN(O)?null:O,height:isNaN(C)?null:C,align:"center",verticalAlign:"middle"},{inheritColor:A})}),du(x,{normal:w},o,(function(e){return bj(e,T)})),d&&pu(x,t,a,e,{getFormattedLabel:function(e,t,n,r,i,a){return bj(a?a.interpolatedValue:o,T)}}),g.add(x)}c.add(g)})),this.group.add(c),this._titleEls=f,this._detailEls=h},t.type="gauge",t}(Xv),xj=_j,wj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return a(t,e),t.prototype.getInitialData=function(e,t){return LO(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(kp),Sj=wj;function kj(e){e.registerChartView(xj),e.registerSeriesModel(Sj)}var Ej=["itemStyle","opacity"],Oj=function(e){function t(t,n){var r=e.call(this)||this,i=r,o=new Mg,a=new Os;return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(t,n,!0),r}return a(t,e),t.prototype.updateData=function(e,t,n){var r=this,i=e.hostModel,o=e.getItemModel(t),a=e.getItemLayout(t),s=o.getModel("emphasis"),l=o.get(Ej);l=null==l?1:l,n||$l(r),r.useStyle(e.getItemVisual(t,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,Wl(r,{style:{opacity:l}},i,t)):Gl(r,{style:{opacity:l},shape:{points:a.points}},i,t),Il(r,o),this._updateLabel(e,t),Tl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"style"),c=u.fill;tu(i,nu(a),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:u.opacity,defaultText:e.getName(t)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var f=l.linePoints;r.setShape({points:f}),n.textGuideLineConfig={anchor:f?new me(f[0][0],f[0][1]):null},Gl(i,{style:{x:l.x,y:l.y}},o,t),i.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),ux(n,cx(a),{stroke:c})},t}(Ag),Cj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._data,o=this.group;r.diff(i).add((function(e){var t=new Oj(r,e);r.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)})).remove((function(t){var n=i.getItemGraphicEl(t);Kl(n,e,t)})).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(Xv),Aj=Cj,Tj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jO(l["c"](this.getData,this),l["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return LO(this,{coordDimensions:["value"],encodeDefaulter:l["h"](pf,this)})},t.prototype._defaultLabelLine=function(e){fi(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,t)/o*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(kp),Pj=Tj;function Mj(e,t){return zc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Dj(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return Object(l["w"])(t)?i.sort(t):"none"!==t&&i.sort((function(e,t){return o?r[e]-r[t]:r[t]-r[e]})),i}function Ij(e){var t=e.hostModel,n=t.get("orient");e.each((function(t){var r,i,o,a,s=e.getItemModel(t),l=s.getModel("label"),u=l.get("position"),c=s.getModel("labelLine"),f=e.getItemLayout(t),h=f.points,d="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(d)"insideLeft"===u?(i=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,r="left"):"insideRight"===u?(i=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,r="right"):(i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,r="center"),a=[[i,o],[i,o]];else{var p=void 0,g=void 0,v=void 0,y=void 0,m=c.get("length");0,"left"===u?(p=(h[3][0]+h[0][0])/2,g=(h[3][1]+h[0][1])/2,v=p-m,i=v-5,r="right"):"right"===u?(p=(h[1][0]+h[2][0])/2,g=(h[1][1]+h[2][1])/2,v=p+m,i=v+5,r="left"):"top"===u?(p=(h[3][0]+h[0][0])/2,g=(h[3][1]+h[0][1])/2,y=g-m,o=y-5,r="center"):"bottom"===u?(p=(h[1][0]+h[2][0])/2,g=(h[1][1]+h[2][1])/2,y=g+m,o=y+5,r="center"):"rightTop"===u?(p="horizontal"===n?h[3][0]:h[1][0],g="horizontal"===n?h[3][1]:h[1][1],"horizontal"===n?(y=g-m,o=y-5,r="center"):(v=p+m,i=v+5,r="top")):"rightBottom"===u?(p=h[2][0],g=h[2][1],"horizontal"===n?(y=g+m,o=y+5,r="center"):(v=p+m,i=v+5,r="bottom")):"leftTop"===u?(p=h[0][0],g="horizontal"===n?h[0][1]:h[1][1],"horizontal"===n?(y=g-m,o=y-5,r="center"):(v=p-m,i=v-5,r="right")):"leftBottom"===u?(p="horizontal"===n?h[1][0]:h[3][0],g="horizontal"===n?h[1][1]:h[2][1],"horizontal"===n?(y=g+m,o=y+5,r="center"):(v=p-m,i=v-5,r="right")):(p=(h[1][0]+h[2][0])/2,g=(h[1][1]+h[2][1])/2,"horizontal"===n?(y=g+m,o=y+5,r="center"):(v=p+m,i=v+5,r="left")),"horizontal"===n?(v=p,i=v):(y=g,o=y),a=[[p,g],[v,y]]}f.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:r,inside:d}}))}function Lj(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),i=e.get("sort"),o=Mj(e,t),a=e.get("orient"),s=o.width,l=o.height,u=Dj(n,i),c=o.x,f=o.y,h="horizontal"===a?[Br(e.get("minSize"),l),Br(e.get("maxSize"),l)]:[Br(e.get("minSize"),s),Br(e.get("maxSize"),s)],d=n.getDataExtent(r),p=e.get("min"),g=e.get("max");null==p&&(p=Math.min(d[0],0)),null==g&&(g=d[1]);var v=e.get("funnelAlign"),y=e.get("gap"),m="horizontal"===a?s:l,b=(m-y*(n.count()-1))/n.count(),_=function(e,t){if("horizontal"===a){var i=n.get(r,e)||0,o=Nr(i,[p,g],h,!0),u=void 0;switch(v){case"top":u=f;break;case"center":u=f+(l-o)/2;break;case"bottom":u=f+(l-o);break}return[[t,u],[t,u+o]]}var d,y=n.get(r,e)||0,m=Nr(y,[p,g],h,!0);switch(v){case"left":d=c;break;case"center":d=c+(s-m)/2;break;case"right":d=c+s-m;break}return[[d,t],[d+m,t]]};"ascending"===i&&(b=-b,y=-y,"horizontal"===a?c+=s:f+=l,u=u.reverse());for(var x=0;x<u.length;x++){var w=u[x],S=u[x+1],k=n.getItemModel(w);if("horizontal"===a){var E=k.get(["itemStyle","width"]);null==E?E=b:(E=Br(E,s),"ascending"===i&&(E=-E));var O=_(w,c),C=_(S,c+E);c+=E+y,n.setItemLayout(w,{points:O.concat(C.slice().reverse())})}else{var A=k.get(["itemStyle","height"]);null==A?A=b:(A=Br(A,l),"ascending"===i&&(A=-A));O=_(w,f),C=_(S,f+A);f+=A+y,n.setItemLayout(w,{points:O.concat(C.slice().reverse())})}}Ij(n)}))}function Rj(e){e.registerChartView(Aj),e.registerSeriesModel(Pj),e.registerLayout(Lj),e.registerProcessor(kO("funnel"))}var jj=.3,Nj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new Sr,n._initialized=!1,n}return a(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._dataGroup,o=e.getData(),a=this._data,s=e.coordinateSystem,l=s.dimensions,u=Uj(e);function c(e){var t=zj(o,i,e,l,s);Hj(t,o,e,u)}function f(t,n){var r=a.getItemGraphicEl(n),i=Fj(o,t,l,s);o.setItemGraphicEl(t,r),Gl(r,{shape:{points:i}},e,t),$l(r),Hj(r,o,t,u)}function h(e){var t=a.getItemGraphicEl(e);i.remove(t)}if(o.diff(a).add(c).update(f).remove(h).execute(),!this._initialized){this._initialized=!0;var d=Bj(s,e,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(d)}this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=Uj(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var u=zj(r,this._dataGroup,l,o,i);u.incremental=!0,Hj(u,r,l,a),s.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(Xv);function Bj(e,t,n){var r=e.model,i=e.getRect(),o=new ls({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),a="horizontal"===r.get("layout")?"width":"height";return o.setShape(a,0),Wl(o,{shape:{width:i.width,height:i.height}},t,n),o}function Fj(e,t,n,r){for(var i=[],o=0;o<n.length;o++){var a=n[o],s=e.get(e.mapDimension(a),t);Vj(s,r.getAxis(a).type)||i.push(r.dataToPoint(s,a))}return i}function zj(e,t,n,r,i){var o=Fj(e,n,r,i),a=new Mg({shape:{points:o},z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function Uj(e){var t=e.get("smooth",!0);return!0===t&&(t=jj),t=ni(t),Object(l["l"])(t)&&(t=0),{smooth:t}}function Hj(e,t,n,r){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",r.smooth);var i=t.getItemModel(n),o=i.getModel("emphasis");Il(e,i,"lineStyle"),Tl(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function Vj(e,t){return"category"===t?null==e:null==e||isNaN(e)}var Gj=Nj,Wj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(t,e),t.prototype.getInitialData=function(e,t){return yk(null,this,{useEncodeDefaulter:Object(l["c"])(qj,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,i){e===t&&r.push(n.getRawIndex(i))})),r},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(kp);function qj(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return Object(l["k"])(t.dimensions,(function(e){var t=Xj(e);n[e]=t})),n}}function Xj(e){return+e.replace("dim","")}var Yj=Wj,Kj=["lineStyle","opacity"],$j={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,r={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){n.eachActiveState(t,(function(e,n){var i=r[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(n).get(Kj,!0);null!=o&&(i=o)}var a=t.ensureUniqueItemVisual(n,"style");a.opacity=i}),e.start,e.end)}}}},Zj=$j;function Jj(e){Qj(e),eN(e)}function Qj(e){if(!e.parallel){var t=!1;l["k"](e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function eN(e){var t=ci(e.parallelAxis);l["k"](t,(function(t){if(l["A"](t)){var n=t.parallelIndex||0,r=ci(e.parallel)[n];r&&r.parallelAxisDefault&&l["I"](t,r.parallelAxisDefault,!1)}}))}var tN=5,nN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},Object(l["k"])(rN,(function(e,t){n.getZr().on(t,this._handlers[t]=Object(l["c"])(e,this))}),this)),Jv(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){Qv(this,"_throttledDispatchExpand"),Object(l["k"])(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(Object(l["m"])({type:"parallelAxisExpand"},e))},t.type="parallel",t}(Op),rN={mousedown:function(e){iN(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(iN(this,"click")&&t){var n=[e.offsetX,e.offsetY],r=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(r>tN)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&iN(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function iN(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var oN=nN,aN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&l["I"](t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},t.prototype.setAxisExpand=function(e){l["k"](["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=l["n"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);l["k"](n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}($c),sN=aN,lN=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return a(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(VA),uN=lN;function cN(e,t,n,r,i,o){e=e||0;var a=n[1]-n[0];if(null!=i&&(i=hN(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(t[1]-t[0]);s=hN(s,[0,a]),i=o=hN(s,[i,o]),r=0}t[0]=hN(t[0],n),t[1]=hN(t[1],n);var l=fN(t,r);t[r]+=e;var u,c=i||0,f=n.slice();return l.sign<0?f[0]+=c:f[1]-=c,t[r]=hN(t[r],f),u=fN(t,r),null!=i&&(u.sign!==l.sign||u.span<i)&&(t[1-r]=t[r]+l.sign*i),u=fN(t,r),null!=o&&u.span>o&&(t[1-r]=t[r]+u.sign*o),t}function fN(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function hN(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var dN=l["k"],pN=Math.min,gN=Math.max,vN=Math.floor,yN=Math.ceil,mN=Fr,bN=Math.PI,_N=function(){function e(e,t,n){this.type="parallel",this._axesMap=l["f"](),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;dN(r,(function(e,n){var r=i[n],o=t.getComponent("parallelAxis",r),a=this._axesMap.set(e,new uN(e,sA(o),[0,0],o.get("type"),r)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=n&&o<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();dN(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),aA(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=zc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=xN(t.get("axisExpandWidth"),l),f=xN(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>f&&f>1&&c>0&&s>0,d=t.get("axisExpandWindow");if(d)e=xN(d[1]-d[0],l),d[1]=d[0]+e;else{e=xN(c*(f-1),l);var p=t.get("axisExpandCenter")||vN(u/2);d=[c*p-e/2],d[1]=d[0]+e}var g=(s-e)/(u-f);g<3&&(g=0);var v=[vN(mN(d[0]/c,1))+1,yN(mN(d[1]/c,1))-1],y=g/c*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:d,axisCount:u,winInnerIndices:v,axisExpandWindow0Pos:y}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),dN(n,(function(t,n){var o=(r.axisExpandable?SN:wN)(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:bN/2,vertical:0},l=[a[i].x+e.x,a[i].y+e.y],u=s[i],c=le();de(c,c,u),he(c,c,l),this._axesLayout[t]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];l["k"](o,(function(t){a.push(e.mapDimension(t)),s.push(i.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;c<r;c++){var f=void 0;if(u){f="active";for(var h=e.getValues(a,c),d=0,p=o.length;d<p;d++){var g=s[d].getActiveState(h[d]);if("inactive"===g){f="inactive";break}}}else f="normal";t(f,c)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,i=e.length;r<i;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){var n=this._axesLayout[t];return kv([e,0],n.transform)},e.prototype.getAxisLayout=function(e){return l["d"](this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),f=null!=c[0];if(u)f&&u&&s<i*c[0]?(l="jump",a=s-i*c[2]):f&&u&&s>i*(1-c[0])?(l="jump",a=s-i*(1-c[2])):(a=s-i*c[1])>=0&&(a=s-i*(1-c[1]))<=0&&(a=0),a*=t.axisExpandWidth/u,a?cN(a,r,o,"all"):l="none";else{var h=r[1]-r[0],d=o[1]*s/h;r=[gN(0,d-h/2)],r[1]=pN(o[1],r[0]+h),r[0]=r[1]-h}return{axisExpandWindow:r,behavior:l}},e}();function xN(e,t){return pN(gN(e,t[0]),t[1])}function wN(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function SN(e,t){var n,r,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(n=i-(a-1-e)*s,r=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:r}}var kN=_N;function EN(e,t){var n=[];return e.eachComponent("parallel",(function(r,i){var o=new kN(r,e,t);o.name="parallel_"+i,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",ji).models[0];e.coordinateSystem=t.coordinateSystem}})),n}var ON={create:EN},CN=ON,AN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return a(t,e),t.prototype.getAreaSelectStyle=function(){return io([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=l["d"](e);if(t)for(var n=t.length-1;n>=0;n--)zr(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;r<i;r++)if(t[r][0]<=e&&e<=t[r][1])return"active";return"inactive"},t}($c);l["K"](AN,QO);var TN=AN,PN=!0,MN=Math.min,DN=Math.max,IN=Math.pow,LN=1e4,RN=6,jN=6,NN="globalPan",BN={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},FN={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},zN={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},UN=0,HN=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new Sr,n._uid="brushController_"+UN++,Object(l["k"])(_B,(function(e,t){this._handlers[t]=Object(l["c"])(e,this)}),n),n}return a(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||fP(t,NN,this._uid),Object(l["k"])(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=Object(l["I"])(Object(l["d"])(zN),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;hP(e,NN,this._uid),Object(l["k"])(this._handlers,(function(t,n){e.off(n,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(l["k"])(e,(function(e){t[e.panelId]=Object(l["d"])(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(l["H"])(e,(function(e){return Object(l["I"])(Object(l["d"])(zN),e,!0)}));var t="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,o=this._creatingCover;return new SS(n,e,s,a).add(u).update(u).remove(c).execute(),this;function a(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function s(e,t){return a(e.__brushOption,t)}function u(t,a){var s=e[t];if(null!=a&&n[a]===o)r[t]=n[a];else{var l=r[t]=null!=a?(n[a].__brushOption=s,n[a]):GN(i,VN(i,s));XN(i,l)}}function c(e){n[e]!==o&&i.group.remove(n[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),ZN(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(D);function VN(e,t){var n=SB[t.brushType].createCover(e,t);return n.__brushOption=t,qN(n,t),e.group.add(n),n}function GN(e,t){var n=YN(t);return n.endCreating&&(n.endCreating(e,t),qN(t,t.__brushOption)),t}function WN(e,t){var n=t.__brushOption;YN(t).updateCoverShape(e,t,n.range,n)}function qN(e,t){var n=t.z;null==n&&(n=LN),e.traverse((function(e){e.z=n,e.z2=n}))}function XN(e,t){YN(t).updateCommon(e,t),WN(e,t)}function YN(e){return SB[e.__brushOption.brushType]}function KN(e,t,n){var r,i=e._panels;if(!i)return PN;var o=e._transform;return Object(l["k"])(i,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function $N(e,t){var n=e._panels;if(!n)return PN;var r=t.__brushOption.panelId;return null!=r?n[r]:PN}function ZN(e){var t=e._covers,n=t.length;return Object(l["k"])(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function JN(e,t){var n=Object(l["H"])(e._covers,(function(e){var t=e.__brushOption,n=Object(l["d"])(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function QN(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=IN(i*i+o*o,.5);return a>RN}function eB(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function tB(e,t,n,r){var i=new Sr;return i.add(new ls({name:"main",style:oB(n),silent:!0,draggable:!0,cursor:"move",drift:Object(l["h"])(cB,e,t,i,["n","s","w","e"]),ondragend:Object(l["h"])(JN,t,{isEnd:!0})})),Object(l["k"])(r,(function(n){i.add(new ls({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(l["h"])(cB,e,t,i,n),ondragend:Object(l["h"])(JN,t,{isEnd:!0})}))})),i}function nB(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=DN(i,jN),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],f=n[1][1],h=c-o+i/2,d=f-o+i/2,p=c-a,g=f-s,v=p+i,y=g+i;iB(e,t,"main",a,s,p,g),r.transformable&&(iB(e,t,"w",l,u,o,y),iB(e,t,"e",h,u,o,y),iB(e,t,"n",l,u,v,o),iB(e,t,"s",l,d,v,o),iB(e,t,"nw",l,u,o,o),iB(e,t,"ne",h,u,o,o),iB(e,t,"sw",l,d,o,o),iB(e,t,"se",h,d,o,o))}function rB(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(oB(n)),i.attr({silent:!r,cursor:r?"move":"default"}),Object(l["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=t.childOfName(n.join("")),o=1===n.length?lB(e,n[0]):uB(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?FN[o]+"-resize":null})}))}function iB(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(pB(dB(e,t,[[r,i],[r+o,i+a]])))}function oB(e){return Object(l["i"])({strokeNoScale:!0},e.brushStyle)}function aB(e,t,n,r){var i=[MN(e,n),MN(t,r)],o=[DN(e,n),DN(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function sB(e){return Sv(e.group)}function lB(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=Ev(n[t],sB(e));return r[i]}function uB(e,t){var n=[lB(e,t[0]),lB(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function cB(e,t,n,r,i,o){var a=n.__brushOption,s=e.toRectRange(a.range),u=hB(t,i,o);Object(l["k"])(r,(function(e){var t=BN[e];s[t[0]][t[1]]+=u[t[0]]})),a.range=e.fromRectRange(aB(s[0][0],s[1][0],s[0][1],s[1][1])),XN(t,n),JN(t,{isEnd:!1})}function fB(e,t,n,r){var i=t.__brushOption.range,o=hB(e,n,r);Object(l["k"])(i,(function(e){e[0]+=o[0],e[1]+=o[1]})),XN(e,t),JN(e,{isEnd:!1})}function hB(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function dB(e,t,n){var r=$N(e,t);return r&&r!==PN?r.clipPath(n,e._transform):Object(l["d"])(n)}function pB(e){var t=MN(e[0][0],e[1][0]),n=MN(e[0][1],e[1][1]),r=DN(e[0][0],e[1][0]),i=DN(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function gB(e,t,n){if(e._brushType&&!wB(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=KN(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===PN||s.panelId===o.panelId)&&SB[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}function vB(e){var t=e.event;t.preventDefault&&t.preventDefault()}function yB(e,t,n){return e.childOfName("main").contain(t,n)}function mB(e,t,n,r){var i,o=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),QN(e)||o){if(a&&!o){"single"===s.brushMode&&ZN(e);var u=Object(l["d"])(s);u.brushType=bB(u.brushType,a),u.panelId=a===PN?null:a.panelId,o=e._creatingCover=VN(e,u),e._covers.push(o)}if(o){var c=SB[bB(e._brushType,a)],f=o.__brushOption;f.range=c.getCreatingRange(dB(e,o,e._track)),r&&(GN(e,o),c.updateCommon(e,o)),WN(e,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&KN(e,t,n)&&ZN(e)&&(i={isEnd:r,removeOnClick:!0});return i}function bB(e,t){return"auto"===e?t.defaultBrushType:e}var _B={mousedown:function(e){if(this._dragging)xB(this,e);else if(!e.target||!e.target.draggable){vB(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=KN(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(gB(this,e,r),this._dragging){vB(e);var i=mB(this,e,r,!1);i&&JN(this,i)}},mouseup:function(e){xB(this,e)}};function xB(e,t){if(e._dragging){vB(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),o=mB(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&JN(e,o)}}function wB(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var SB={lineX:kB(0),lineY:kB(1),rect:{createCover:function(e,t){function n(e){return e}return tB({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=eB(e);return aB(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){nB(e,t,n,r)},updateCommon:rB,contain:yB},polygon:{createCover:function(e,t){var n=new Sr;return n.add(new Mg({name:"main",style:oB(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Ag({name:"main",draggable:!0,drift:Object(l["h"])(fB,e,t),ondragend:Object(l["h"])(JN,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:dB(e,t,n)})},updateCommon:rB,contain:yB}};function kB(e){return{createCover:function(t,n){return tB({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=eB(t),r=MN(n[0][e],n[1][e]),i=DN(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=$N(t,n);if(a!==PN&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),nB(t,n,l,i)},updateCommon:rB,contain:yB}}var EB=HN;function OB(e){return e=TB(e),function(t){return Tv(t,e)}}function CB(e,t){return e=TB(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function AB(e,t,n){var r=TB(e);return function(e,i){return r.contain(i[0],i[1])&&!kP(e,t,n)}}function TB(e){return Ae.create(e)}var PB=["axisLine","axisTickLabel","axisName"],MB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new EB(n.getZr())).on("brush",l["c"](this._onBrush,this))},t.prototype.render=function(e,t,n,r){if(!DB(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new Sr,this.group.add(this._axisGroup),e.get("show")){var o=LB(e,t),a=o.coordinateSystem,s=e.getAreaSelectStyle(),u=s.width,c=e.axis.dim,f=a.getAxisLayout(c),h=l["m"]({strokeContainThreshold:u},f),d=new gT(e,h);l["k"](PB,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(h,s,e,o,u,n),Av(i,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,r,i,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Ae.create({x:a[0],y:-i/2,width:s,height:i});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:OB(u),isTargetByCursor:AB(u,o,r),getLinearBrushOtherExtent:CB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(IB(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,r=n.axis,i=l["H"](t,(function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Op);function DB(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function IB(e){var t=e.axis;return l["H"](e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function LB(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var RB=MB,jB={type:"axisAreaSelect",event:"axisAreaSelected"};function NB(e){e.registerAction(jB,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),e.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))}var BB={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function FB(e){e.registerComponentView(oN),e.registerComponentModel(sN),e.registerCoordinateSystem("parallel",CN),e.registerPreprocessor(Jj),e.registerComponentModel(TN),e.registerComponentView(RB),hC(e,"parallel",TN,BB),NB(e)}function zB(e){z_(FB),e.registerChartView(Gj),e.registerSeriesModel(Yj),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Zj)}var UB=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),HB=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new UB},t.prototype.buildPath=function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){fl(this)},t}(Wa),VB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this,i=e.getGraph(),o=this.group,a=e.layoutInfo,s=a.width,u=a.height,c=e.getData(),f=e.getData("edge"),h=e.get("orient");this._model=e,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge((function(t){var n=new HB,r=Cs(n);r.dataIndex=t.dataIndex,r.seriesIndex=e.seriesIndex,r.dataType="edge";var i,a,c,d,p,g,v,y,m=t.getModel(),b=m.getModel("lineStyle"),_=b.get("curveness"),x=t.node1.getLayout(),w=t.node1.getModel(),S=w.get("localX"),k=w.get("localY"),E=t.node2.getLayout(),O=t.node2.getModel(),C=O.get("localX"),A=O.get("localY"),T=t.getLayout();n.shape.extent=Math.max(1,T.dy),n.shape.orient=h,"vertical"===h?(i=(null!=S?S*s:x.x)+T.sy,a=(null!=k?k*u:x.y)+x.dy,c=(null!=C?C*s:E.x)+T.ty,d=null!=A?A*u:E.y,p=i,g=a*(1-_)+d*_,v=c,y=a*_+d*(1-_)):(i=(null!=S?S*s:x.x)+x.dx,a=(null!=k?k*u:x.y)+T.sy,c=null!=C?C*s:E.x,d=(null!=A?A*u:E.y)+T.ty,p=i*(1-_)+c*_,g=a,v=i*_+c*(1-_),y=d),n.setShape({x1:i,y1:a,x2:c,y2:d,cpx1:p,cpy1:g,cpx2:v,cpy2:y}),n.useStyle(b.getItemStyle()),GB(n.style,h,t);var P=""+m.get("value"),M=nu(m,"edgeLabel");tu(n,M,{labelFetcher:{getFormattedLabel:function(t,n,r,i,o,a){return e.getFormattedLabel(t,n,"edge",i,Object(l["Q"])(o,M.normal&&M.normal.get("formatter"),P),a)}},labelDataIndex:t.dataIndex,defaultText:P}),n.setTextConfig({position:"inside"});var D=m.getModel("emphasis");Il(n,m,"lineStyle",(function(e){var n=e.getItemStyle();return GB(n,h,t),n})),o.add(n),f.setItemGraphicEl(t.dataIndex,n);var I=D.get("focus");Tl(n,"adjacency"===I?t.getAdjacentDataIndices():"trajectory"===I?t.getTrajectoryDataIndices():I,D.get("blurScope"),D.get("disabled"))})),i.eachNode((function(t){var n=t.getLayout(),r=t.getModel(),i=r.get("localX"),a=r.get("localY"),l=r.getModel("emphasis"),f=r.get(["itemStyle","borderRadius"])||0,h=new ls({shape:{x:null!=i?i*s:n.x,y:null!=a?a*u:n.y,width:n.dx,height:n.dy,r:f},style:r.getModel("itemStyle").getItemStyle(),z2:10});tu(h,nu(r),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(t,n,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),h.disableLabelAnimation=!0,h.setStyle("fill",t.getVisual("color")),h.setStyle("decal",t.getVisual("style").decal),Il(h,r),o.add(h),c.setItemGraphicEl(t.dataIndex,h),Cs(h).dataType="node";var d=l.get("focus");Tl(h,"adjacency"===d?t.getAdjacentDataIndices():"trajectory"===d?t.getTrajectoryDataIndices():d,l.get("blurScope"),l.get("disabled"))})),c.eachItemGraphicEl((function(t,i){var o=c.getItemModel(i);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/u})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&o.setClipPath(WB(o.getBoundingRect(),e,(function(){o.removeClipPath()}))),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(Xv);function GB(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),i=n.node2.getVisual("color");Object(l["C"])(r)&&Object(l["C"])(i)&&(e.fill=new Kg(0,0,+("horizontal"===t),+("vertical"===t),[{color:r,offset:0},{color:i,offset:1}]))}}function WB(e,t,n){var r=new ls({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Wl(r,{shape:{width:e.width+20}},t,n),r}var qB=VB,XB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links,r=e.data||e.nodes,i=e.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<i.length;a++)null!=i[a].depth&&i[a].depth>=0&&(o[i[a].depth]=new Cu(i[a],this,t));if(r&&n){var s=cj(r,n,this,!0,l);return s.data}function l(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var i=r.depth,o=n.levelModels[i];o&&(e.parentModel=o)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t),i=r.node1.getLayout();if(i){var o=i.depth,a=n.levelModels[o];a&&(e.parentModel=a)}return e}))}},t.prototype.setNodePosition=function(e,t){var n=this.option.data||this.option.nodes,r=n[e];r.localX=t[0],r.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||null==e}if("edge"===n){var i=this.getDataParams(e,n),o=i.data,a=i.value,s=o.source+" -- "+o.target;return Yd("nameValue",{name:s,value:a,noValue:r(a)})}var l=this.getGraph().getNodeByIndex(e),u=l.getLayout().value,c=this.getDataParams(e,n).data.name;return Yd("nameValue",{name:null!=c?c+"":null,value:u,noValue:r(u)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(t),o=i.getLayout().value;r.value=o}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(kp),YB=XB;function KB(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),i=$B(e,t);e.layoutInfo=i;var o=i.width,a=i.height,s=e.getGraph(),u=s.nodes,c=s.edges;JB(u);var f=l["n"](u,(function(e){return 0===e.getLayout().value})),h=0!==f.length?0:e.get("layoutIterations"),d=e.get("orient"),p=e.get("nodeAlign");ZB(u,c,n,r,o,a,h,d,p)}))}function $B(e,t){return zc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function ZB(e,t,n,r,i,o,a,s,l){QB(e,t,n,i,o,s,l),iF(e,t,o,i,r,a,s),yF(e,s)}function JB(e){l["k"](e,(function(e){var t=gF(e.outEdges,pF),n=gF(e.inEdges,pF),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)}))}function QB(e,t,n,r,i,o,a){for(var s=[],l=[],u=[],c=[],f=0,h=0;h<t.length;h++)s[h]=1;for(h=0;h<e.length;h++)l[h]=e[h].inEdges.length,0===l[h]&&u.push(e[h]);var d=-1;while(u.length){for(var p=0;p<u.length;p++){var g=u[p],v=g.hostGraph.data.getRawDataItem(g.dataIndex),y=null!=v.depth&&v.depth>=0;y&&v.depth>d&&(d=v.depth),g.setLayout({depth:y?v.depth:f},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;m<g.outEdges.length;m++){var b=g.outEdges[m],_=t.indexOf(b);s[_]=0;var x=b.node2,w=e.indexOf(x);0===--l[w]&&c.indexOf(x)<0&&c.push(x)}}++f,u=c,c=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var S=d>f-1?d:f-1;a&&"left"!==a&&tF(e,a,o,S);var k="vertical"===o?(i-n)/S:(r-n)/S;rF(e,k,o)}function eF(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function tF(e,t,n,r){if("right"===t){var i=[],o=e,a=0;while(o.length){for(var s=0;s<o.length;s++){var u=o[s];u.setLayout({skNodeHeight:a},!0);for(var c=0;c<u.inEdges.length;c++){var f=u.inEdges[c];i.indexOf(f.node1)<0&&i.push(f.node1)}}o=i,i=[],++a}l["k"](e,(function(e){eF(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&nF(e,r)}function nF(e,t){l["k"](e,(function(e){eF(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function rF(e,t,n){l["k"](e,(function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)}))}function iF(e,t,n,r,i,o,a){var s=oF(e,a);aF(s,t,n,r,i,a),sF(s,i,n,r,a);for(var l=1;o>0;o--)l*=.99,lF(s,l,a),sF(s,i,n,r,a),vF(s,l,a),sF(s,i,n,r,a)}function oF(e,t){var n=[],r="vertical"===t?"y":"x",i=Hi(e,(function(e){return e.getLayout()[r]}));return i.keys.sort((function(e,t){return e-t})),l["k"](i.keys,(function(e){n.push(i.buckets.get(e))})),n}function aF(e,t,n,r,i,o){var a=1/0;l["k"](e,(function(e){var t=e.length,s=0;l["k"](e,(function(e){s+=e.getLayout().value}));var u="vertical"===o?(r-(t-1)*i)/s:(n-(t-1)*i)/s;u<a&&(a=u)})),l["k"](e,(function(e){l["k"](e,(function(e,t){var n=e.getLayout().value*a;"vertical"===o?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),l["k"](t,(function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)}))}function sF(e,t,n,r,i){var o="vertical"===i?"x":"y";l["k"](e,(function(e){var a,s,l;e.sort((function(e,t){return e.getLayout()[o]-t.getLayout()[o]}));for(var u=0,c=e.length,f="vertical"===i?"dx":"dy",h=0;h<c;h++)s=e[h],l=u-s.getLayout()[o],l>0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[f]+t;var d="vertical"===i?r:n;if(l=u-t-d,l>0){a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(h=c-2;h>=0;--h)s=e[h],l=s.getLayout()[o]+s.getLayout()[f]+t-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function lF(e,t,n){l["k"](e.slice().reverse(),(function(e){l["k"](e,(function(e){if(e.outEdges.length){var r=gF(e.outEdges,uF,n)/gF(e.outEdges,pF);if(isNaN(r)){var i=e.outEdges.length;r=i?gF(e.outEdges,cF,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-dF(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-dF(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function uF(e,t){return dF(e.node2,t)*e.getValue()}function cF(e,t){return dF(e.node2,t)}function fF(e,t){return dF(e.node1,t)*e.getValue()}function hF(e,t){return dF(e.node1,t)}function dF(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function pF(e){return e.getValue()}function gF(e,t,n){var r=0,i=e.length,o=-1;while(++o<i){var a=+t(e[o],n);isNaN(a)||(r+=a)}return r}function vF(e,t,n){l["k"](e,(function(e){l["k"](e,(function(e){if(e.inEdges.length){var r=gF(e.inEdges,fF,n)/gF(e.inEdges,pF);if(isNaN(r)){var i=e.inEdges.length;r=i?gF(e.inEdges,hF,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-dF(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-dF(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function yF(e,t){var n="vertical"===t?"x":"y";l["k"](e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),l["k"](e,(function(e){var t=0,n=0;l["k"](e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),l["k"](e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}function mF(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes,r=t.edges;if(n.length){var i=1/0,o=-1/0;l["k"](n,(function(e){var t=e.getLayout().value;t<i&&(i=t),t>o&&(o=t)})),l["k"](n,(function(t){var n=new yL({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),r=n.mapValueToVisual(t.getLayout().value),a=t.getModel().get(["itemStyle","color"]);null!=a?(t.setVisual("color",a),t.setVisual("style",{fill:a})):(t.setVisual("color",r),t.setVisual("style",{fill:r}))}))}r.length&&l["k"](r,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}function bF(e){e.registerChartView(qB),e.registerSeriesModel(YB),e.registerLayout(KB),e.registerVisual(mF),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))}var _F=function(){function e(){}return e.prototype.getInitialData=function(e,t){var n,r,i=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(e.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(e.layout="vertical",n=o.getOrdinalMeta(),r=!0):e.layout=e.layout||"horizontal";var u=["x","y"],c="horizontal"===e.layout?0:1,f=this._baseAxisDim=u[c],h=u[1-c],d=[i,o],p=d[c].get("type"),g=d[1-c].get("type"),v=e.data;if(v&&r){var y=[];l["k"](v,(function(e,t){var n;l["t"](e)?(n=e.slice(),e.unshift(t)):l["t"](e.value)?(n=l["m"]({},e),n.value=n.value.slice(),e.value.unshift(t)):n=e,y.push(n)})),e.data=y}var m=this.defaultValueDimensions,b=[{name:f,type:CS(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:CS(g),dimsDef:m.slice()}];return LO(this,{coordDimensions:b,dimensionsCount:m.length+1,encodeDefaulter:l["h"](df,b,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),xF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return a(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(kp);Object(l["K"])(xF,_F,!0);var wF=xF,SF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(o).add((function(e){if(r.hasValue(e)){var t=r.getItemLayout(e),n=OF(t,r,e,a,!0);r.setItemGraphicEl(e,n),i.add(n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?($l(n),CF(s,n,r,e)):n=OF(s,r,e,a),i.add(n),r.setItemGraphicEl(e,n)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=r},t.prototype.remove=function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},t.type="boxplot",t}(Xv),kF=function(){function e(){}return e}(),EF=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return a(t,e),t.prototype.getDefaultShape=function(){return new kF},t.prototype.buildPath=function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])},t}(Wa);function OF(e,t,n,r,i){var o=e.ends,a=new EF({shape:{points:i?AF(o,r,e):o}});return CF(e,a,t,n,i),a}function CF(e,t,n,i,o){var a=n.hostModel,s=r[o?"initProps":"updateProps"];s(t,{shape:{points:e.ends}},a,i),t.useStyle(n.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.z2=100;var l=n.getItemModel(i),u=l.getModel("emphasis");Il(t,l),Tl(t,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function AF(e,t,n){return l["H"](e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var TF=SF,PF=l["k"];function MF(e){var t=DF(e);PF(t,(function(e){var t=e.seriesModels;t.length&&(IF(e),PF(t,(function(t,n){LF(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function DF(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),i=l["r"](n,r);i<0&&(i=n.length,n[i]=r,t[i]={axis:r,seriesModels:[]}),t[i].seriesModels.push(e)})),t}function IF(e){var t,n=e.axis,r=e.seriesModels,i=r.length,o=e.boxWidthList=[],a=e.boxOffsetList=[],s=[];if("category"===n.type)t=n.getBandWidth();else{var u=0;PF(r,(function(e){u=Math.max(u,e.getData().count())}));var c=n.getExtent();t=Math.abs(c[1]-c[0])/u}PF(r,(function(e){var n=e.get("boxWidth");l["t"](n)||(n=[n,n]),s.push([Br(n[0],t)||0,Br(n[1],t)||0])}));var f=.8*t-2,h=f/i*.3,d=(f-h*(i-1))/i,p=d/2-f/2;PF(r,(function(e,t){a.push(p),p+=h+d,o.push(Math.min(Math.max(d,s[t][0]),s[t][1]))}))}function LF(e,t,n){var r=e.coordinateSystem,i=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var f=0;f<i.count();f++){var h=i.get(u,f),d=b(h,c[2],f),p=b(h,c[0],f),g=b(h,c[1],f),v=b(h,c[3],f),y=b(h,c[4],f),m=[];_(m,g,!1),_(m,v,!0),m.push(p,g,y,v),x(m,p),x(m,y),x(m,d),i.setItemLayout(f,{initBaseline:d[s],ends:m})}function b(e,n,o){var l,u=i.get(n,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=r.dataToPoint(c),l[a]+=t),l}function _(e,t,n){var r=t.slice(),i=t.slice();r[a]+=o,i[a]-=o,n?e.push(r,i):e.push(i,r)}function x(e,t){var n=t.slice(),r=t.slice();n[a]-=o,r[a]+=o,e.push(n,r)}}function RF(e,t){t=t||{};for(var n=[],r=[],i=t.boundIQR,o="none"===i||0===i,a=0;a<e.length;a++){var s=zr(e[a].slice()),u=ei(s,.25),c=ei(s,.5),f=ei(s,.75),h=s[0],d=s[s.length-1],p=(null==i?1.5:i)*(f-u),g=o?h:Math.max(h,u-p),v=o?d:Math.min(d,f+p),y=t.itemNameFormatter,m=Object(l["w"])(y)?y({value:a}):Object(l["C"])(y)?y.replace("{value}",a+""):a+"";n.push([m,g,u,c,f,v]);for(var b=0;b<s.length;b++){var _=s[b];if(_<g||_>v){var x=[m,_];r.push(x)}}}return{boxData:n,outliers:r}}var jF={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==nf){var n="";0,If(n)}var r=RF(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:r.boxData},{data:r.outliers}]}};function NF(e){e.registerSeriesModel(wF),e.registerChartView(TF),e.registerLayout(MF),e.registerTransform(jF)}var BF=["color","borderColor"],FF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){Bv(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),o=e.get("clip",!0),a=e.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var a=t.getItemLayout(n);if(o&&VF(s,a))return;var l=HF(a,n,!0);Wl(l,{shape:{points:a.ends}},e,n),GF(l,t,n,i),r.add(l),t.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(t.hasValue(a)){var c=t.getItemLayout(a);o&&VF(s,c)?r.remove(u):(u?(Gl(u,{shape:{points:c.ends}},e,a),$l(u)):u=HF(c,a),GF(u,t,a,i),r.add(u),t.setItemGraphicEl(a,u))}else r.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),YF(e,this.group);var t=e.get("clip",!0)?Yk(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){var n,r=t.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=e.next())){var o=r.getItemLayout(n),a=HF(o,n);GF(a,r,n,i),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},t.prototype._incrementalRenderLarge=function(e,t){YF(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(Xv),zF=function(){function e(){}return e}(),UF=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return a(t,e),t.prototype.getDefaultShape=function(){return new zF},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}(Wa);function HF(e,t,n){var r=e.ends;return new UF({shape:{points:n?WF(r,e):r},z2:100})}function VF(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function GF(e,t,n,r){var i=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=r,Il(e,i)}function WF(e,t){return l["H"](e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var qF=function(){function e(){}return e}(),XF=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return a(t,e),t.prototype.getDefaultShape=function(){return new qF},t.prototype.buildPath=function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];e.moveTo(i,n[r++]),e.lineTo(i,n[r++])}else r+=3},t}(Wa);function YF(e,t,n,r){var i=e.getData(),o=i.getLayout("largePoints"),a=new XF({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(a);var s=new XF({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new XF({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(l),KF(1,a,e,i),KF(-1,s,e,i),KF(0,l,e,i),r&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function KF(e,t,n,r){var i=n.get(["itemStyle",e>0?"borderColor":"borderColor0"])||n.get(["itemStyle",e>0?"color":"color0"]);0===e&&(i=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(BF);t.useStyle(o),t.style.fill=null,t.style.stroke=i}var $F=FF,ZF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return a(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(kp);Object(l["K"])(ZF,_F,!0);var JF=ZF;function QF(e){e&&l["t"](e.series)&&l["k"](e.series,(function(e){l["A"](e)&&"k"===e.type&&(e.type="candlestick")}))}var ez=["itemStyle","borderColor"],tz=["itemStyle","borderColor0"],nz=["itemStyle","borderColorDoji"],rz=["itemStyle","color"],iz=["itemStyle","color0"],oz={seriesType:"candlestick",plan:Cp(),performRawSeries:!0,reset:function(e,t){function n(e,t){return t.get(e>0?rz:iz)}function r(e,t){return t.get(0===e?nz:e>0?ez:tz)}if(!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:function(e,t){var i;while(null!=(i=e.next())){var o=t.getItemModel(i),a=t.getItemLayout(i).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=r(a,o)||s.fill;var u=t.ensureUniqueItemVisual(i,"style");Object(l["m"])(u,s)}}}}}},az=oz,sz={seriesType:"candlestick",plan:Cp(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=uz(e,n),i=0,o=1,a=["x","y"],s=n.getDimensionIndex(n.mapDimension(a[i])),u=Object(l["H"])(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),c=u[0],f=u[1],h=u[2],d=u[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(s<0||u.length<4))return{progress:e.pipelineContext.large?g:p};function p(e,n){var a,l=n.getStore();while(null!=(a=e.next())){var u=l.get(s,a),p=l.get(c,a),g=l.get(f,a),v=l.get(h,a),y=l.get(d,a),m=Math.min(p,g),b=Math.max(p,g),_=C(m,u),x=C(b,u),w=C(v,u),S=C(y,u),k=[];A(k,x,0),A(k,_,1),k.push(P(S),P(x),P(w),P(_));var E=n.getItemModel(a),O=!!E.get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:lz(l,a,p,g,f,O),initBaseline:p>g?x[o]:_[o],ends:k,brushRect:T(v,y,u)})}function C(e,n){var r=[];return r[i]=n,r[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function A(e,t,n){var o=t.slice(),a=t.slice();o[i]=wv(o[i]+r/2,1,!1),a[i]=wv(a[i]-r/2,1,!0),n?e.push(o,a):e.push(a,o)}function T(e,t,n){var a=C(e,n),s=C(t,n);return a[i]-=r/2,s[i]-=r/2,{x:a[0],y:a[1],width:o?r:s[0]-a[0],height:o?s[1]-a[1]:r}}function P(e){return e[i]=wv(e[i],1),e}}function g(n,r){var a,l,u=Rk(4*n.count),p=0,g=[],v=[],y=r.getStore(),m=!!e.get(["itemStyle","borderColorDoji"]);while(null!=(l=n.next())){var b=y.get(s,l),_=y.get(c,l),x=y.get(f,l),w=y.get(h,l),S=y.get(d,l);isNaN(b)||isNaN(w)||isNaN(S)?(u[p++]=NaN,p+=3):(u[p++]=lz(y,l,_,x,f,m),g[i]=b,g[o]=w,a=t.dataToPoint(g,null,v),u[p++]=a?a[0]:NaN,u[p++]=a?a[1]:NaN,g[o]=S,a=t.dataToPoint(g,null,v),u[p++]=a?a[1]:NaN)}r.setLayout("largePoints",u)}}};function lz(e,t,n,r,i,o){var a;return a=n>r?-1:n<r?1:o?0:t>0?e.get(i,t-1)<=r?1:-1:1,a}function uz(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=Br(Object(l["P"])(e.get("barMaxWidth"),i),i),a=Br(Object(l["P"])(e.get("barMinWidth"),1),i),s=e.get("barWidth");return null!=s?Br(s,i):Math.max(Math.min(i/2,o),a)}var cz=sz;function fz(e){e.registerChartView($F),e.registerSeriesModel(JF),e.registerPreprocessor(QF),e.registerVisual(az),e.registerLayout(cz)}function hz(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}var dz=function(e){function t(t,n){var r=e.call(this)||this,i=new kk(t,n),o=new Sr;return r.add(i),r.add(o),r.updateData(t,n),r}return a(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,i=this.childAt(1),o=0;o<r;o++){var a=am(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/r*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}hz(i,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}hz(n,e)},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){fl(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,r=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),o=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=sm(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),u=l&&l.fill,c=o.getModel("emphasis");i.setScale(s),i.traverse((function(e){e.setStyle("fill",u)}));var f=lm(e.getItemVisual(t,"symbolOffset"),s);f&&(i.x=f[0],i.y=f[1]);var h=e.getItemVisual(t,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var d={};d.showEffectOn=r.get("showEffectOn"),d.rippleScale=o.get(["rippleEffect","scale"]),d.brushType=o.get(["rippleEffect","brushType"]),d.period=1e3*o.get(["rippleEffect","period"]),d.effectOffset=t/e.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=a,d.color=u,d.rippleEffectColor=o.get(["rippleEffect","color"]),d.rippleNumber=o.get(["rippleEffect","number"]),"render"===d.showEffectOn?(this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(e){"emphasis"===e?"render"!==d.showEffectOn&&n.startEffectAnimation(d):"normal"===e&&"render"!==d.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=d,Tl(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(Sr),pz=dz,gz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){this._symbolDraw=new Tk(pz)},t.prototype.render=function(e,t,n){var r=e.getData(),i=this._symbolDraw;i.updateData(r,{clipShape:this._getClipShape(e)}),this.group.add(i.group)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype.updateTransform=function(e,t,n){var r=e.getData();this.group.dirty();var i=gE("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=ve(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(Xv),vz=gz,yz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){return yk(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(kp),mz=yz;function bz(e){e.registerChartView(vz),e.registerSeriesModel(mz),e.registerLayout(gE("effectScatter"))}var _z=function(e){function t(t,n,r){var i=e.call(this)||this;return i.add(i.createLine(t,n,r)),i._updateEffectSymbol(t,n),i}return a(t,e),t.prototype.createLine=function(e,t,n){return new zR(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),r=n.getModel("effect"),i=r.get("symbolSize"),o=r.get("symbol");l["t"](i)||(i=[i,i]);var a=e.getItemVisual(t,"style"),s=r.get("color")||a&&a.stroke,u=this.childAt(1);this._symbolType!==o&&(this.remove(u),u=am(o,-.5,-.5,1,1,s),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",s),u.setStyle(r.getItemStyle(["color"])),u.scaleX=i[0],u.scaleY=i[1],u.setColor(s),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(e,r,t))},t.prototype._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var i=e.getItemLayout(n),o=1e3*t.get("period"),a=t.get("loop"),s=t.get("roundTrip"),u=t.get("constantSpeed"),c=l["O"](t.get("delay"),(function(t){return t/e.count()*o/3}));if(r.ignore=!0,this._updateAnimationPoints(r,i),u>0&&(o=this._getLineLength(r)/u*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var f=void 0;f=l["w"](c)?c(n):c,r.__t>0&&(f=-o*r.__t),this._animateSymbol(r,o,f,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,i){if(t>0){e.__t=0;var o=this,a=e.animate("",r).when(i?2*t:t,{__t:i?2:1}).delay(n).during((function(){o._updateSymbolPosition(e)}));r||a.done((function(){o.remove(e)})),a.start()}},t.prototype._getLineLength=function(e){return x(e.__p1,e.__cp1)+x(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t<1?e.__t:2-e.__t,o=[e.x,e.y],a=o.slice(),s=Ct,l=At;o[0]=s(t[0],r[0],n[0],i),o[1]=s(t[1],r[1],n[1],i);var u=e.__t<1?l(t[0],r[0],n[0],i):l(n[0],r[0],t[0],1-i),c=e.__t<1?l(t[1],r[1],n[1],i):l(n[1],r[1],t[1],1-i);e.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*x(a,o),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*x(t,o):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=o[0],e.y=o[1]},t.prototype.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},t}(Sr),xz=_z,wz=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createPolyline(t,n,r),i}return a(t,e),t.prototype._createPolyline=function(e,t,n){var r=e.getItemLayout(t),i=new Mg({shape:{points:r}});this.add(i),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childAt(0),o={shape:{points:e.getItemLayout(t)}};Gl(i,o,r,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var r=this.childAt(0),i=e.getItemModel(t),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var u=i.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}r.useStyle(e.getItemVisual(t,"style")),r.style.fill=null,r.style.strokeNoScale=!0;var c=r.ensureState("emphasis");c.style=o,Tl(this,a,s,l)},t.prototype.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},t}(Sr),Sz=wz,kz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return a(t,e),t.prototype.createLine=function(e,t,n){return new Sz(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,i=1;i<t.length;i++){var o=t[i-1],a=t[i];r+=x(o,a),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var t=e.__t<1?e.__t:2-e.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o,a=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(a+1,i-1);for(o=s;o>=0;o--)if(r[o]<=t)break;o=Math.min(o,i-2)}else{for(o=a;o<i;o++)if(r[o]>t)break;o=Math.min(o-1,i-2)}var l=(t-r[o])/(r[o+1]-r[o]),u=n[o],c=n[o+1];e.x=u[0]*(1-l)+l*c[0],e.y=u[1]*(1-l)+l*c[1];var f=e.__t<1?c[0]-u[0]:u[0]-c[0],h=e.__t<1?c[1]-u[1]:u[1]-c[1];e.rotation=-Math.atan2(h,f)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(xz),Ez=kz,Oz=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),Cz=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Oz},t.prototype.buildPath=function(e,t){var n,r=t.segs,i=t.curveness;if(t.polyline)for(n=this._off;n<r.length;){var o=r[n++];if(o>0){e.moveTo(r[n++],r[n++]);for(var a=1;a<o;a++)e.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],l=r[n++],u=r[n++],c=r[n++];if(e.moveTo(s,l),i>0){var f=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(f,h,u,c)}else e.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<r.length;){var l=r[s++];if(l>0)for(var u=r[s++],c=r[s++],f=1;f<l;f++){var h=r[s++],d=r[s++];if(_a(u,c,h,d,o,e,t))return a}a++}else for(a=0,s=0;s<r.length;){u=r[s++],c=r[s++],h=r[s++],d=r[s++];if(i>0){var p=(u+h)/2-(c-d)*i,g=(c+d)/2-(h-u)*i;if(wa(u,c,p,g,h,d,o,e,t))return a}else if(_a(u,c,h,d,o,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(e=n[0],t=n[1],r.contain(e,t)){var i=this.hoverDataIdx=this.findDataIndex(e,t);return i>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.segs,r=1/0,i=1/0,o=-1/0,a=-1/0,s=0;s<n.length;){var l=n[s++],u=n[s++];r=Math.min(l,r),o=Math.max(l,o),i=Math.min(u,i),a=Math.max(u,a)}e=this._rect=new Ae(r,i,o,a)}return e},t}(Wa),Az=function(){function e(){this.group=new Sr}return e.prototype.updateData=function(e){this._clear();var t=this._create();t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e)},e.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(e,t){var n=this._newAdded[0],r=t.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var o=i.length,a=new Float32Array(o+r.length);a.set(i),a.set(r,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,t),s.__startIndex=e.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new Cz({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("style");i&&i.stroke&&e.setStyle("stroke",i.stroke),e.setStyle("fill",null);var o=Cs(e);o.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){o.dataIndex=null;var n=e.hoverDataIdx;n>0&&(o.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),Tz=Az,Pz={seriesType:"lines",plan:Cp(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var f=0,h=[];for(c=i.start;c<i.end;c++){var d=e.getLineCoords(c,a);n&&(s[f++]=d);for(var p=0;p<d;p++)h=t.dataToPoint(a[p],!1,h),s[f++]=h[0],s[f++]=h[1]}o.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var g=o.getItemModel(c),v=(d=e.getLineCoords(c,a),[]);if(n)for(var y=0;y<d;y++)v.push(t.dataToPoint(a[y]));else{v[0]=t.dataToPoint(a[0]),v[1]=t.dataToPoint(a[1]);var m=g.get(["lineStyle","curveness"]);+m&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*m,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*m])}o.setItemLayout(c,v)}}}}}},Mz=Pz,Dz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e),o=e.get("zlevel"),a=e.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=e.get("clip",!0)&&Yk(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e);i.incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=Mz.reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get("polyline"),o=t.pipelineContext,a=o.large;return n&&r===this._hasEffet&&i===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new Tz:new qR(i?r?Ez:Sz:r?xz:zR),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=a),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(Xv),Iz=Dz,Lz="undefined"===typeof Uint32Array?Array:Uint32Array,Rz="undefined"===typeof Float64Array?Array:Float64Array;function jz(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Object(l["H"])(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),Object(l["J"])([n,e[0],e[1]])})))}var Nz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(t,e),t.prototype.init=function(t){t.data=t.data||[],jz(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(jz(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Object(l["e"])(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(l["e"])(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i<r;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[n+2*i],t[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),Object(l["z"])(e[0])){for(var n=e.length,r=new Lz(n),i=new Rz(n),o=0,a=0,s=0,u=0;u<n;){s++;var c=e[u++];r[a++]=o+t,r[a++]=c;for(var f=0;f<c;f++){var h=e[u++],d=e[u++];i[o++]=h,i[o++]=d}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new QS(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0})),n},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=r.getItemModel(e),o=i.get("name");if(o)return o;var a=i.get("fromName"),s=i.get("toName"),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Yd("nameValue",{name:l.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(kp),Bz=Nz;function Fz(e){return e instanceof Array||(e=[e,e]),e}var zz={seriesType:"lines",reset:function(e){var t=Fz(e.get("symbol")),n=Fz(e.get("symbolSize")),r=e.getData();function i(e,t){var n=e.getItemModel(t),r=Fz(n.getShallow("symbol",!0)),i=Fz(n.getShallow("symbolSize",!0));r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),i[0]&&e.setItemVisual(t,"fromSymbolSize",i[0]),i[1]&&e.setItemVisual(t,"toSymbolSize",i[1])}return r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?i:null}}},Uz=zz;function Hz(e){e.registerChartView(Iz),e.registerSeriesModel(Bz),e.registerLayout(Mz),e.registerVisual(Uz)}var Vz=256,Gz=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Jn["d"].createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,f=c.getContext("2d"),h=e.length;c.width=t,c.height=n;for(var d=0;d<h;++d){var p=e[d],g=p[0],v=p[1],y=p[2],m=r(y);f.globalAlpha=m,f.drawImage(a,g-u,v-u)}if(!c.width||!c.height)return c;var b=f.getImageData(0,0,c.width,c.height),_=b.data,x=0,w=_.length,S=this.minOpacity,k=this.maxOpacity,E=k-S;while(x<w){m=_[x+3]/256;var O=4*Math.floor(m*(Vz-1));if(m>0){var C=o(m)?s:l;m>0&&(m=m*E+S),_[x++]=C[O],_[x++]=C[O+1],_[x++]=C[O+2],_[x++]=C[O+3]*m*256}else x+=4}return f.putImageData(b,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Jn["d"].createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)e[t](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},e}(),Wz=Gz;function qz(e,t,n){var r=e[1]-e[0];t=l["H"](t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}));var i=t.length,o=0;return function(e){var r;for(r=o;r<i;r++){var a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}if(r===i)for(r=o-1;r>=0;r--){a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}function Xz(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}function Yz(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var Kz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this._progressiveEls=null,this.group.removeAll();var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):Yz(i)&&this._renderOnGeo(i,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var i=t.coordinateSystem;i&&(Yz(i)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Bv(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,r,i){var o,a,s,l,u=e.coordinateSystem,c=Kk(u,"cartesian2d");if(c){var f=u.getAxis("x"),h=u.getAxis("y");0,o=f.getBandWidth()+.5,a=h.getBandWidth()+.5,s=f.scale.getExtent(),l=h.scale.getExtent()}for(var d=this.group,p=e.getData(),g=e.getModel(["emphasis","itemStyle"]).getItemStyle(),v=e.getModel(["blur","itemStyle"]).getItemStyle(),y=e.getModel(["select","itemStyle"]).getItemStyle(),m=e.get(["itemStyle","borderRadius"]),b=nu(e),_=e.getModel("emphasis"),x=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),k=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],E=n;E<r;E++){var O=void 0,C=p.getItemVisual(E,"style");if(c){var A=p.get(k[0],E),T=p.get(k[1],E);if(isNaN(p.get(k[2],E))||isNaN(A)||isNaN(T)||A<s[0]||A>s[1]||T<l[0]||T>l[1])continue;var P=u.dataToPoint([A,T]);O=new ls({shape:{x:P[0]-o/2,y:P[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(p.get(k[1],E)))continue;O=new ls({z2:1,shape:u.dataToRect([p.get(k[0],E)]).contentShape,style:C})}if(p.hasItemOption){var M=p.getItemModel(E),D=M.getModel("emphasis");g=D.getModel("itemStyle").getItemStyle(),v=M.getModel(["blur","itemStyle"]).getItemStyle(),y=M.getModel(["select","itemStyle"]).getItemStyle(),m=M.get(["itemStyle","borderRadius"]),x=D.get("focus"),w=D.get("blurScope"),S=D.get("disabled"),b=nu(M)}O.shape.r=m;var I=e.getRawValue(E),L="-";I&&null!=I[2]&&(L=I[2]+""),tu(O,b,{labelFetcher:e,labelDataIndex:E,defaultOpacity:C.opacity,defaultText:L}),O.ensureState("emphasis").style=g,O.ensureState("blur").style=v,O.ensureState("select").style=y,Tl(O,x,w,S),O.incremental=i,i&&(O.states.emphasis.hoverLayer=!0),d.add(O),p.setItemGraphicEl(E,O),this._progressiveEls&&this._progressiveEls.push(O)}},t.prototype._renderOnGeo=function(e,t,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new Wz;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=e.getViewRect().clone(),u=e.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),f=Math.max(l.y,0),h=Math.min(l.width+l.x,r.getWidth()),d=Math.min(l.height+l.y,r.getHeight()),p=h-c,g=d-f,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],y=a.mapArray(v,(function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=c,i[1]-=f,i.push(r),i})),m=n.getExtent(),b="visualMap.continuous"===n.type?Xz(m,n.option.range):qz(m,n.getPieceList(),n.option.selected);s.update(y,p,g,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new Qa({style:{width:p,height:g,x:c,y:f,image:s.canvas},silent:!0});this.group.add(_)},t.type="heatmap",t}(Xv),$z=Kz,Zz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getInitialData=function(e,t){return yk(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=Yf.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(kp),Jz=Zz;function Qz(e){e.registerChartView($z),e.registerSeriesModel(Jz)}var eU=["itemStyle","borderWidth"],tU=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],nU=new Qp,rU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),u=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:tU[+l],categoryDim:tU[1-+l]};i.diff(o).add((function(e){if(i.hasValue(e)){var t=gU(i,e),n=iU(i,e,t,c),o=mU(i,c,n);i.setItemGraphicEl(e,o),r.add(o),kU(o,c,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=gU(i,e),s=iU(i,e,a,c),l=xU(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?bU(n,c,s):n=mU(i,c,s,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),kU(n,c,s)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&_U(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var f=e.get("clip",!0)?Yk(e.coordinateSystem,!1,e):null;return f?r.setClipPath(f):r.removeClipPath(),this._data=i,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){_U(r,Cs(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(Xv);function iU(e,t,n,r){var i=e.getItemLayout(t),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,f=n.isAnimationEnabled(),h={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:f?n:null,hoverScale:f&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};oU(n,o,i,r,h),sU(e,t,i,o,a,h.boundingLength,h.pxSign,c,r,h),lU(n,h.symbolScale,u,r,h);var d=h.symbolSize,p=lm(n.get("symbolOffset"),d);return uU(n,d,i,o,a,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,r,h),h}function oU(e,t,n,r,i){var o,a=r.valueDim,s=e.get("symbolBoundingData"),u=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),f=1-+(n[a.wh]<=0);if(l["t"](s)){var h=[aU(u,s[0])-c,aU(u,s[1])-c];h[1]<h[0]&&h.reverse(),o=h[f]}else o=null!=s?aU(u,s)-c:t?r.coordSysExtent[a.index][f]-c:n[a.wh];i.boundingLength=o,t&&(i.repeatCutLength=n[a.wh]),i.pxSign=o>0?1:-1}function aU(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function sU(e,t,n,r,i,o,a,s,u,c){var f,h=u.valueDim,d=u.categoryDim,p=Math.abs(n[d.wh]),g=e.getItemVisual(t,"symbolSize");f=l["t"](g)?g.slice():null==g?["100%","100%"]:[g,g],f[d.index]=Br(f[d.index],p),f[h.index]=Br(f[h.index],r?p:Math.abs(o)),c.symbolSize=f;var v=c.symbolScale=[f[0]/s,f[1]/s];v[h.index]*=(u.isHorizontal?-1:1)*a}function lU(e,t,n,r,i){var o=e.get(eU)||0;o&&(nU.attr({scaleX:t[0],scaleY:t[1],rotation:n}),nU.updateTransform(),o/=nU.getLineScale(),o*=t[r.valueDim.index]),i.valueLineWidth=o||0}function uU(e,t,n,r,i,o,a,s,u,c,f,h){var d=f.categoryDim,p=f.valueDim,g=h.pxSign,v=Math.max(t[p.index]+s,0),y=v;if(r){var m=Math.abs(u),b=l["O"](e.get("symbolMargin"),"15%")+"",_=!1;b.lastIndexOf("!")===b.length-1&&(_=!0,b=b.slice(0,b.length-1));var x=Br(b,t[p.index]),w=Math.max(v+2*x,0),S=_?0:2*x,k=ri(r),E=k?r:EU((m+S)/w),O=m-E*v;x=O/2/(_?E:Math.max(E-1,1)),w=v+2*x,S=_?0:2*x,k||"fixed"===r||(E=c?EU((Math.abs(c)+S)/w):0),y=E*w-S,h.repeatTimes=E,h.symbolMargin=x}var C=g*(y/2),A=h.pathPosition=[];A[d.index]=n[d.wh]/2,A[p.index]="start"===a?C:"end"===a?u-C:u/2,o&&(A[0]+=o[0],A[1]+=o[1]);var T=h.bundlePosition=[];T[d.index]=n[d.xy],T[p.index]=n[p.xy];var P=h.barRectShape=l["m"]({},n);P[p.wh]=g*Math.max(Math.abs(n[p.wh]),Math.abs(A[p.index]+C)),P[d.wh]=n[d.wh];var M=h.clipShape={};M[d.xy]=-n[d.xy],M[d.wh]=f.ecSize[d.wh],M[p.xy]=0,M[p.wh]=n[p.wh]}function cU(e){var t=e.symbolPatternSize,n=am(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function fU(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,f=o[t.valueDim.index]+a+2*n.symbolMargin;for(wU(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?SU(e,null,p(c),n,r):SU(e,null,{scaleX:0,scaleY:0},n,r,(function(){i.remove(e)})),c++}));c<u;c++){var h=cU(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var d=p(c);SU(h,{x:d.x,y:d.y,scaleX:0,scaleY:0},{scaleX:d.scaleX,scaleY:d.scaleY,rotation:d.rotation},n,r)}function p(e){var t=s.slice(),r=n.pxSign,i=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=u-1-e),t[l.index]=f*(i-u/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function hU(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?SU(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=cU(n),i.add(o),SU(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function dU(e,t,n){var r=l["m"]({},t.barRectShape),i=e.__pictorialBarRect;i?SU(i,null,{shape:r},t,n):(i=e.__pictorialBarRect=new ls({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function pU(e,t,n,i){if(n.symbolClip){var o=e.__pictorialClipPath,a=l["m"]({},n.clipShape),s=t.valueDim,u=n.animationModel,c=n.dataIndex;if(o)Gl(o,{shape:a},u,c);else{a[s.wh]=0,o=new ls({shape:a}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var f={};f[s.wh]=n.clipShape[s.wh],r[i?"updateProps":"initProps"](o,{shape:f},u,c)}}}function gU(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=vU,n.isAnimationEnabled=yU,n}function vU(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function yU(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function mU(e,t,n,r){var i=new Sr,o=new Sr;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?fU(i,t,n):hU(i,t,n),dU(i,n,r),pU(i,t,n,r),i.__pictorialShapeStr=xU(e,n),i.__pictorialSymbolMeta=n,i}function bU(e,t,n){var r=n.animationModel,i=n.dataIndex,o=e.__pictorialBundle;Gl(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?fU(e,t,n,!0):hU(e,t,n,!0),dU(e,n,!0),pU(e,t,n,!0)}function _U(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];wU(r,(function(e){o.push(e)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),l["k"](o,(function(e){Xl(e,{scaleX:0,scaleY:0},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function xU(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function wU(e,t,n){l["k"](e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function SU(e,t,n,i,o,a){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&r[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,a)}function kU(e,t,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),u=i.getModel(["select","itemStyle"]).getItemStyle(),c=i.getShallow("cursor"),f=o.get("focus"),h=o.get("blurScope"),d=o.get("scale");wU(e,(function(e){if(e instanceof Qa){var t=e.style;e.useStyle(l["m"]({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState("emphasis");r.style=a,d&&(r.scaleX=1.1*e.scaleX,r.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=u,c&&(e.cursor=c),e.z2=n.z2}));var p=t.valueDim.posDesc[+(n.boundingLength>0)],g=e.__pictorialBarRect;g.ignoreClip=!0,tu(g,nu(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:_k(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),Tl(e,f,h,o.get("disabled"))}function EU(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var OU=rU,CU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return a(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Du(RE.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(RE),AU=CU;function TU(e){e.registerChartView(OU),e.registerSeriesModel(AU),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Object(l["h"])(TE,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,PE("pictorialBar"))}var PU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return a(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this,o=this.group,a=e.getLayerSeries(),s=r.getLayout("layoutInfo"),u=s.rect,c=s.boundaryGap;function f(e){return e.name}o.x=0,o.y=u.y+c[0];var h=new SS(this._layersSeries||[],a,f,f),d=[];function p(t,n,s){var l=i._layers;if("remove"!==t){for(var u,c,f=[],h=[],p=a[n].indices,g=0;g<p.length;g++){var v=r.getItemLayout(p[g]),y=v.x,m=v.y0,b=v.y;f.push(y,m),h.push(y,m+b),u=r.getItemVisual(p[g],"style")}var _=r.getItemLayout(p[0]),x=e.getModel("label"),w=x.get("margin"),S=e.getModel("emphasis");if("add"===t){var k=d[n]=new Sr;c=new Wk({shape:{points:f,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),k.add(c),o.add(k),e.isAnimationEnabled()&&c.setClipPath(MU(c.getBoundingRect(),e,(function(){c.removeClipPath()})))}else{k=l[s];c=k.childAt(0),o.add(k),d[n]=k,Gl(c,{shape:{points:f,stackedOnPoints:h}},e),$l(c)}tu(c,nu(e),{labelDataIndex:p[g-1],defaultText:r.getName(p[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var E=c.getTextContent();E&&(E.x=_.x-w,E.y=_.y0+_.y/2),c.useStyle(u),r.setItemGraphicEl(n,c),Il(c,e),Tl(c,S.get("focus"),S.get("blurScope"),S.get("disabled"))}else o.remove(l[n])}h.add(Object(l["c"])(p,this,"add")).update(Object(l["c"])(p,this,"update")).remove(Object(l["c"])(p,this,"remove")).execute(),this._layersSeries=a,this._layers=d},t.type="themeRiver",t}(Xv);function MU(e,t,n){var r=new ls({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Wl(r,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),r}var DU=PU,IU=2,LU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jO(l["c"](this.getData,this),l["c"](this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},r=Hi(e,(function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]})),i=[];r.buckets.each((function(e,t){i.push({name:t,dataList:e})}));for(var o=i.length,a=0;a<o;++a){for(var s=i[a].name,l=0;l<i[a].dataList.length;++l){var u=i[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,e[t]=[u,0,s],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",ji).models[0],r=n.get("type"),i=l["n"](e.data,(function(e){return void 0!==e[2]})),o=this.fixData(i||[]),a=[],s=this.nameMap=l["f"](),u=0,c=0;c<o.length;++c)a.push(o[c][IU]),s.get(o[c][IU])||(s.set(o[c][IU],u),u++);var f=ek(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:CS(r)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new QS(f,this);return h.initData(o),h},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var i=e.mapDimension("single"),o=Hi(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(i,t)-e.get(i,n)})),a.push({name:n,indices:t})})),a},t.prototype.getAxisTooltipData=function(e,t,n){l["t"](e)||(e=e?[e]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,f=-1,h=o[u].indices.length,d=0;d<h;++d){var p=i.get(e[0],o[u].indices[d]),g=Math.abs(p-t);g<=c&&(r=p,c=g,f=o[u].indices[d])}a.push(f)}return{dataIndices:a,nestestValue:r}},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=r.getName(e),o=r.get(r.mapDimension("value"),e);return Yd("nameValue",{name:i,value:o})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(kp),RU=LU;function jU(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},i=n.getRect();r.rect=i;var o=e.get("boundaryGap"),a=n.getAxis();if(r.boundaryGap=o,"horizontal"===a.orient){o[0]=Br(o[0],i.height),o[1]=Br(o[1],i.height);var s=i.height-o[0]-o[1];NU(t,e,s)}else{o[0]=Br(o[0],i.width),o[1]=Br(o[1],i.width);var l=i.width-o[0]-o[1];NU(t,e,l)}t.setLayout("layoutInfo",r)}))}function NU(e,t,n){if(e.count())for(var r,i=t.coordinateSystem,o=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),u=l["H"](o,(function(t){return l["H"](t.indices,(function(t){var n=i.dataToPoint(e.get(a,t));return n[1]=e.get(s,t),n}))})),c=BU(u),f=c.y0,h=n/c.max,d=o.length,p=o[0].indices.length,g=0;g<p;++g){r=f[g]*h,e.setItemLayout(o[0].indices[g],{layerIndex:0,x:u[0][g][0],y0:r,y:u[0][g][1]*h});for(var v=1;v<d;++v)r+=u[v-1][g][1]*h,e.setItemLayout(o[v].indices[g],{layerIndex:v,x:u[v][g][0],y0:r,y:u[v][g][1]*h})}}function BU(e){for(var t=e.length,n=e[0].length,r=[],i=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<t;++l)s+=e[l][a][1];s>o&&(o=s),r.push(s)}for(var u=0;u<n;++u)i[u]=(o-r[u])/2;o=0;for(var c=0;c<n;++c){var f=r[c]+i[c];f>o&&(o=f)}return{y0:i,max:o}}function FU(e){e.registerChartView(DU),e.registerSeriesModel(RU),e.registerLayout(jU),e.registerProcessor(kO("themeRiver"))}var zU=2,UU=4,HU=function(e){function t(t,n,r,i){var o=e.call(this)||this;o.z2=zU,o.textConfig={inside:!0},Cs(o).seriesIndex=n.seriesIndex;var a=new Os({z2:UU,silent:t.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,t,n,r,i),o}return a(t,e),t.prototype.updateData=function(e,t,n,r,i){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var o=this;Cs(o).dataIndex=t.dataIndex;var a=t.getModel(),s=a.getModel("emphasis"),u=t.getLayout(),c=l["m"]({},u);c.label=null;var f=t.getVisual("style");f.lineJoin="bevel";var h=t.getVisual("decal");h&&(f.decal=Km(h,i));var d=WE(a.getModel("itemStyle"),c,!0);l["m"](c,d),l["k"](js,(function(e){var t=o.ensureState(e),n=a.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var r=WE(n,c);r&&(t.shape=r)})),e?(o.setShape(c),o.shape.r=u.r0,Wl(o,{shape:{r:u.r}},n,t.dataIndex)):(Gl(o,{shape:c},n),$l(o)),o.useStyle(f),this._updateLabel(n);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var g=s.get("focus"),v="ancestor"===g?t.getAncestorsIndices():"descendant"===g?t.getDescendantIndices():g;Tl(this,v,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),u=Math.sin(a),c=this,f=c.getTextContent(),h=this.node.dataIndex,d=r.get("minAngle")/180*Math.PI,p=r.get("show")&&!(null!=d&&Math.abs(o)<d);function g(e,t){var n=e.get(t);return null==n?r.get(t):n}f.ignore=!p,l["k"](Ns,(function(r){var d="normal"===r?n.getModel("label"):n.getModel([r,"label"]),p="normal"===r,v=p?f:f.ensureState(r),y=e.getFormattedLabel(h,r);p&&(y=y||t.node.name),v.style=ru(d,{},null,"normal"!==r,!0),y&&(v.style.text=y);var m=d.get("show");null==m||p||(v.ignore=!m);var b,_=g(d,"position"),x=p?c:c.states[r],w=x.style.fill;x.textConfig={outsideFill:"inherit"===d.get("color")?w:null,inside:"outside"!==_};var S=g(d,"distance")||0,k=g(d,"align"),E=g(d,"rotate"),O=.5*Math.PI,C=1.5*Math.PI,A=ka("tangential"===E?Math.PI/2-a:a),T=A>O&&!Yr(A-O)&&A<C;"outside"===_?(b=i.r+S,k=T?"right":"left"):k&&"center"!==k?"left"===k?(b=i.r0+S,k=T?"right":"left"):"right"===k&&(b=i.r-S,k=T?"left":"right"):(b=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,k="center"),v.style.align=k,v.style.verticalAlign=g(d,"verticalAlign")||"middle",v.x=b*s+i.cx,v.y=b*u+i.cy;var P=0;"radial"===E?P=ka(-a)+(T?Math.PI:0):"tangential"===E?P=ka(Math.PI/2-a)+(T?Math.PI:0):l["z"](E)&&(P=E*Math.PI/180),v.rotation=ka(P)})),f.dirtyStyle()},t}(_g),VU=HU,GU="sunburstRootToNode",WU="sunburstHighlight",qU="sunburstUnhighlight";function XU(e){e.registerAction({type:GU,update:"updateView"},(function(e,t){function n(t,n){var r=uI(e,[GU],t);if(r){var i=t.getViewRoot();i&&(e.direction=fI(i,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)})),e.registerAction({type:WU,update:"none"},(function(e,t,n){function r(t){var n=uI(e,[WU],t);n&&(e.dataIndex=n.node.dataIndex)}e=Object(l["m"])({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},r),n.dispatchAction(Object(l["m"])(e,{type:"highlight"}))})),e.registerAction({type:qU,update:"updateView"},(function(e,t,n){e=Object(l["m"])({},e),n.dispatchAction(Object(l["m"])(e,{type:"downplay"}))}))}var YU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){var i=this;this.seriesModel=e,this.api=n,this.ecModel=t;var o=e.getData(),a=o.tree.root,s=e.getViewRoot(),u=this.group,c=e.get("renderLabelForZeroData"),f=[];s.eachNode((function(e){f.push(e)}));var h=this._oldChildren||[];function d(e,t){function n(e){return e.getId()}function r(n,r){var i=null==n?null:e[n],o=null==r?null:t[r];p(i,o)}0===e.length&&0===t.length||new SS(t,e,n,n).add(r).update(r).remove(l["h"](r,null)).execute()}function p(r,i){if(c||!r||r.getValue()||(r=null),r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,e,t,n),o.setItemGraphicEl(r.dataIndex,i.piece)):g(i);else if(r){var s=new VU(r,e,t,n);u.add(s),o.setItemGraphicEl(r.dataIndex,s)}}function g(e){e&&e.piece&&(u.remove(e.piece),e.piece=null)}function v(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,e,t,n):(i.virtualPiece=new VU(r,e,t,n),u.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(e){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(u.remove(i.virtualPiece),i.virtualPiece=null)}d(f,h),v(a,s),this._initEvents(),this._oldChildren=f},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var n=!1,r=e.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Ic(a,s)}}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:GU,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}},t.type="sunburst",t}(Xv),KU=YU,$U=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return a(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};ZU(n);var r=this._levelModels=l["H"](e.levels||[],(function(e){return new Cu(e,this,t)}),this),i=lI.createTree(n,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var n=i.getNodeByDataIndex(t),o=r[n.depth];return o&&(e.parentModel=o),e}))}return i.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=hI(r,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){kI(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(kp);function ZU(e){var t=0;l["k"](e.children,(function(e){ZU(e);var n=e.value;l["t"](n)&&(n=n[0]),t+=n}));var n=e.value;l["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),l["t"](e.value)?e.value[0]=n:e.value=n}var JU=$U,QU=Math.PI/180;function eH(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");l["t"](r)||(r=[0,r]),l["t"](t)||(t=[t,t]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=Br(t[0],i),u=Br(t[1],o),c=Br(r[0],a/2),f=Br(r[1],a/2),h=-e.get("startAngle")*QU,d=e.get("minAngle")*QU,p=e.getData().tree.root,g=e.getViewRoot(),v=g.depth,y=e.get("sort");null!=y&&tH(g,y);var m=0;l["k"](g.children,(function(e){!isNaN(e.getValue())&&m++}));var b=g.getValue(),_=Math.PI/(b||m)*2,x=g.depth>0,w=g.height-(x?-1:1),S=(f-c)/(w||1),k=e.get("clockwise"),E=e.get("stillShowZeroSum"),O=k?1:-1,C=function(t,n){if(t){var r=n;if(t!==p){var i=t.getValue(),o=0===b&&E?_:i*_;o<d&&(o=d),r=n+O*o;var f=t.depth-v-(x?-1:1),h=c+S*f,g=c+S*(f+1),y=e.getLevelModel(t);if(y){var m=y.get("r0",!0),w=y.get("r",!0),A=y.get("radius",!0);null!=A&&(m=A[0],w=A[1]),null!=m&&(h=Br(m,a/2)),null!=w&&(g=Br(w,a/2))}t.setLayout({angle:o,startAngle:n,endAngle:r,clockwise:k,cx:s,cy:u,r0:h,r:g})}if(t.children&&t.children.length){var T=0;l["k"](t.children,(function(e){T+=C(e,n+T)}))}return r-n}};if(x){var A=c,T=c+S,P=2*Math.PI;p.setLayout({angle:P,startAngle:h,endAngle:h+P,clockwise:k,cx:s,cy:u,r0:A,r:T})}C(g,h)}))}function tH(e,t){var n=e.children||[];e.children=nH(n,t),n.length&&l["k"](e.children,(function(e){tH(e,t)}))}function nH(e,t){if(l["w"](t)){var n=l["H"](e,(function(e,t){var n=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return n}},index:t}}));return n.sort((function(e,n){return t(e.params,n.params)})),l["H"](n,(function(t){return e[t.index]}))}var r="asc"===t;return e.sort((function(e,t){var n=(e.getValue()-t.getValue())*(r?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(r?-1:1):n}))}function rH(e){var t={};function n(e,n,r){var i=e;while(i&&i.depth>1)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",t);return e.depth>1&&Object(l["C"])(o)&&(o=Object(Bt["c"])(o,(e.depth-1)/(r-1)*.5)),o}e.eachSeriesByType("sunburst",(function(e){var t=e.getData(),r=t.tree;r.eachNode((function(i){var o=i.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=n(i,e,r.root.height));var s=t.ensureUniqueItemVisual(i.dataIndex,"style");Object(l["m"])(s,a)}))}))}function iH(e){e.registerChartView(KU),e.registerSeriesModel(JU),e.registerLayout(Object(l["h"])(eH,"sunburst")),e.registerProcessor(Object(l["h"])(kO,"sunburst")),e.registerVisual(rH),XU(e)}var oH={color:"fill",borderColor:"stroke"},aH={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},sH=Di(),lH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return yk(null,this)},t.prototype.getDataParams=function(t,n,r){var i=e.prototype.getDataParams.call(this,t,n);return r&&(i.info=sH(r).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(kp),uH=lH;function cH(e,t){return t=t||[0,0],l["H"](["x","y"],(function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function fH(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:l["c"](cH,e)}}}function hH(e,t){return t=t||[0,0],l["H"]([0,1],(function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function dH(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:l["c"](hH,e)}}}function pH(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function gH(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:Object(l["c"])(pH,e)}}}function vH(e,t){return t=t||[0,0],l["H"](["Radius","Angle"],(function(n,r){var i="get"+n+"Axis",o=this[i](),a=t[r],s=e[r]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function yH(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:l["c"](vH,e)}}}function mH(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}function bH(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||Object(l["q"])(e,"text")))}function _H(e,t,n){var r,i,o,a=e;if("text"===t)o=a;else{o={},Object(l["q"])(a,"text")&&(o.text=a.text),Object(l["q"])(a,"rich")&&(o.rich=a.rich),Object(l["q"])(a,"textFill")&&(o.fill=a.textFill),Object(l["q"])(a,"textStroke")&&(o.stroke=a.textStroke),Object(l["q"])(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(l["q"])(a,"fontSize")&&(o.fontSize=a.fontSize),Object(l["q"])(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(l["q"])(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Object(l["q"])(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Object(l["q"])(a,"textPosition")&&(r.position=a.textPosition),Object(l["q"])(a,"textOffset")&&(r.offset=a.textOffset),Object(l["q"])(a,"textRotation")&&(r.rotation=a.textRotation),Object(l["q"])(a,"textDistance")&&(r.distance=a.textDistance)}return xH(o,e),Object(l["k"])(o.rich,(function(e){xH(e,e)})),{textConfig:r,textContent:i}}function xH(e,t){t&&(t.font=t.textFont||t.font,Object(l["q"])(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Object(l["q"])(t,"textAlign")&&(e.align=t.textAlign),Object(l["q"])(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Object(l["q"])(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Object(l["q"])(t,"textWidth")&&(e.width=t.textWidth),Object(l["q"])(t,"textHeight")&&(e.height=t.textHeight),Object(l["q"])(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Object(l["q"])(t,"textPadding")&&(e.padding=t.textPadding),Object(l["q"])(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Object(l["q"])(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Object(l["q"])(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Object(l["q"])(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Object(l["q"])(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Object(l["q"])(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Object(l["q"])(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function wH(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";SH(r,t);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,Object(l["k"])(t.rich,(function(e){SH(e,e)})),r}function SH(e,t){t&&(Object(l["q"])(t,"fill")&&(e.textFill=t.fill),Object(l["q"])(t,"stroke")&&(e.textStroke=t.fill),Object(l["q"])(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(l["q"])(t,"font")&&(e.font=t.font),Object(l["q"])(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(l["q"])(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(l["q"])(t,"fontSize")&&(e.fontSize=t.fontSize),Object(l["q"])(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(l["q"])(t,"align")&&(e.textAlign=t.align),Object(l["q"])(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(l["q"])(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(l["q"])(t,"width")&&(e.textWidth=t.width),Object(l["q"])(t,"height")&&(e.textHeight=t.height),Object(l["q"])(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(l["q"])(t,"padding")&&(e.textPadding=t.padding),Object(l["q"])(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(l["q"])(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(l["q"])(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(l["q"])(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(l["q"])(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(l["q"])(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(l["q"])(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(l["q"])(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(l["q"])(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(l["q"])(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(l["q"])(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var kH={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},EH=Object(l["F"])(kH),OH=(Object(l["N"])(Yn,(function(e,t){return e[t]=1,e}),{}),Yn.join(", "),["","style","shape","extra"]),CH=Di();function AH(e,t,n,r,i){var o=e+"Animation",a=Hl(e,r,i)||{},s=CH(t).userDuring;return a.duration>0&&(a.during=s?Object(l["c"])(BH,{el:t,userDuring:s}):null,a.setToFinal=!0,a.scope=e),Object(l["m"])(a,n[o]),a}function TH(e,t,n,r){r=r||{};var i=r.dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),u=CH(e),c=t.style;u.userDuring=t.during;var f={},h={};if(HH(e,t,h),zH("shape",t,h),zH("extra",t,h),!o&&s&&(UH(e,t,f),FH("shape",e,t,f),FH("extra",e,t,f),VH(e,t,c,f)),h.style=c,IH(e,h,a),RH(e,t),s)if(o){var d={};Object(l["k"])(OH,(function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(d[e]=d[e]||{}),Object(l["m"])(e?d[e]:d,n.enterFrom))}));var p=AH("enter",e,t,n,i);p.duration>0&&e.animateFrom(d,p)}else LH(e,t,i||0,n,f);PH(e,t),c?e.dirty():e.markRedraw()}function PH(e,t){for(var n=CH(e).leaveToProps,r=0;r<OH.length;r++){var i=OH[r],o=i?t[i]:t;o&&o.leaveTo&&(n||(n=CH(e).leaveToProps={}),i&&(n[i]=n[i]||{}),Object(l["m"])(i?n[i]:n,o.leaveTo))}}function MH(e,t,n,r){if(e){var i=e.parent,o=CH(e).leaveToProps;if(o){var a=AH("update",e,t,n,0);a.done=function(){i.remove(e),r&&r()},e.animateTo(o,a)}else i.remove(e),r&&r()}}function DH(e){return"all"===e}function IH(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var i=e.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}function LH(e,t,n,r,i){if(i){var o=AH("update",e,t,r,n);o.duration>0&&e.animateFrom(i,o)}}function RH(e,t){Object(l["q"])(t,"silent")&&(e.silent=t.silent),Object(l["q"])(t,"ignore")&&(e.ignore=t.ignore),e instanceof Bo&&Object(l["q"])(t,"invisible")&&(e.invisible=t.invisible),e instanceof Wa&&Object(l["q"])(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var jH={},NH={setTransform:function(e,t){return jH.el[e]=t,this},getTransform:function(e){return jH.el[e]},setShape:function(e,t){var n=jH.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=jH.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=jH.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=jH.el.style;if(t)return t[e]},setExtra:function(e,t){var n=jH.el.extra||(jH.el.extra={});return n[e]=t,this},getExtra:function(e){var t=jH.el.extra;if(t)return t[e]}};function BH(){var e=this,t=e.el;if(t){var n=CH(t).userDuring,r=e.userDuring;n===r?(jH.el=t,r(NH)):e.el=e.userDuring=null}}function FH(e,t,n,r){var i=n[e];if(i){var o,a=t[e];if(a){var s=n.transition,u=i.transition;if(u)if(!o&&(o=r[e]={}),DH(u))Object(l["m"])(o,a);else for(var c=ci(u),f=0;f<c.length;f++){var h=c[f],d=a[h];o[h]=d}else if(DH(s)||Object(l["r"])(s,e)>=0){!o&&(o=r[e]={});var p=Object(l["F"])(a);for(f=0;f<p.length;f++){h=p[f],d=a[h];GH(i[h],d)&&(o[h]=d)}}}}}function zH(e,t,n){var r=t[e];if(r)for(var i=n[e]={},o=Object(l["F"])(r),a=0;a<o.length;a++){var s=o[a];i[s]=Yt(r[s])}}function UH(e,t,n){for(var r=t.transition,i=DH(r)?Yn:ci(r||[]),o=0;o<i.length;o++){var a=i[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=e[a];0,n[a]=s}}}function HH(e,t,n){for(var r=0;r<EH.length;r++){var i=EH[r],o=kH[i],a=t[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(r=0;r<Yn.length;r++){var s=Yn[r];null!=t[s]&&(n[s]=t[s])}}function VH(e,t,n,r){if(n){var i,o=e.style;if(o){var a=n.transition,s=t.transition;if(a&&!DH(a)){var u=ci(a);!i&&(i=r.style={});for(var c=0;c<u.length;c++){var f=u[c],h=o[f];i[f]=h}}else if(e.getAnimationStyleProps&&(DH(s)||DH(a)||Object(l["r"])(s,"style")>=0)){var d=e.getAnimationStyleProps(),p=d?d.style:null;if(p){!i&&(i=r.style={});var g=Object(l["F"])(n);for(c=0;c<g.length;c++){f=g[c];if(p[f]){h=o[f];i[f]=h}}}}}}}function GH(e,t){return Object(l["u"])(e)?e!==t:null!=e&&isFinite(e)}var WH=Di(),qH=["percent","easing","shape","style","extra"];function XH(e){e.stopAnimation("keyframe"),e.attr(WH(e))}function YH(e,t,n){if(n.isAnimationEnabled()&&t)if(Object(l["t"])(t))Object(l["k"])(t,(function(t){YH(e,t,n)}));else{var r=t.keyframes,i=t.duration;if(n&&null==i){var o=Hl("enter",n,0);i=o&&o.duration}if(r&&i){var a=WH(e);Object(l["k"])(OH,(function(n){if(!n||e[n]){var o;r.sort((function(e,t){return e.percent-t.percent})),Object(l["k"])(r,(function(r){var s=e.animators,u=n?r[n]:r;if(u){var c=Object(l["F"])(u);if(n||(c=Object(l["n"])(c,(function(e){return Object(l["r"])(qH,e)<0}))),c.length){o||(o=e.animate(n,t.loop,!0),o.scope="keyframe");for(var f=0;f<s.length;f++)s[f]!==o&&s[f].targetName===o.targetName&&s[f].stopTracks(c);n&&(a[n]=a[n]||{});var h=n?a[n]:a;Object(l["k"])(c,(function(t){h[t]=((n?e[n]:e)||{})[t]})),o.whenWithKeys(i*r.percent,u,c,r.easing)}}})),o&&o.delay(t.delay||0).duration(i).start(t.easing)}}))}}}var KH="emphasis",$H="normal",ZH="blur",JH="select",QH=[$H,KH,ZH,JH],eV={normal:["itemStyle"],emphasis:[KH,"itemStyle"],blur:[ZH,"itemStyle"],select:[JH,"itemStyle"]},tV={normal:["label"],emphasis:[KH,"label"],blur:[ZH,"label"],select:[JH,"label"]},nV=["x","y"],rV="e\0\0",iV={normal:{},emphasis:{},blur:{},select:{}},oV={cartesian2d:fH,geo:dH,single:gH,polar:yH,calendar:mH};function aV(e){return e instanceof Wa}function sV(e){return e instanceof Bo}function lV(e,t){t.copyTransform(e),sV(t)&&sV(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,aV(t)&&aV(e)&&t.setShape(e.shape))}var uV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._data,o=e.getData(),a=this.group,s=vV(e,o,t,n);i||a.removeAll(),o.diff(i).add((function(t){mV(n,null,t,s(t,r),e,a,o)})).remove((function(t){var n=i.getItemGraphicEl(t);n&&MH(n,sH(n).option,e)})).update((function(t,l){var u=i.getItemGraphicEl(l);mV(n,u,t,s(t,r),e,a,o)})).execute();var l=e.get("clip",!0)?Yk(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,r,i){var o=t.getData(),a=vV(t,o,n,r),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var c=mV(null,null,u,a(u,i),t,this.group,o);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){Bv(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,r){var i=t.element;if(null==i||n.name===i)return!0;while((n=n.__hostTarget||n.parent)&&n!==this.group)if(n.name===i)return!0;return!1},t.type="custom",t}(Xv),cV=uV;function fV(e){var t,n=e.type;if("path"===n){var r=e.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=DV(r);t=gv(o,null,i,r.layout||"center"),sH(t).customPathData=o}else if("image"===n)t=new Qa({}),sH(t).customImagePath=e.style.image;else if("text"===n)t=new Os({});else if("group"===n)t=new Sr;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=pv(n);if(!a){var s="";0,If(s)}t=new a}return sH(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function hV(e,t,n,r,i,o,a){XH(t);var s=i&&i.normal.cfg;s&&t.setTextConfig(s),r&&null==r.transition&&(r.transition=nV);var u=r&&r.style;if(u){if("text"===t.type){var c=u;Object(l["q"])(c,"textFill")&&(c.fill=c.textFill),Object(l["q"])(c,"textStroke")&&(c.stroke=c.textStroke)}var f=void 0,h=aV(t)?u.decal:null;e&&h&&(h.dirty=!0,f=Km(h,e)),u.__decalPattern=f}if(sV(t)&&u){f=u.__decalPattern;f&&(u.decal=f)}TH(t,r,o,{dataIndex:n,isInit:a,clearStyle:!0}),YH(t,r.keyframeAnimation,o)}function dV(e,t,n,r,i){var o=t.isGroup?null:t,a=i&&i[e].cfg;if(o){var s=o.ensureState(e);if(!1===r){var l=o.getState(e);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),sl(o)}}function pV(e,t,n){if(!e.isGroup){var r=e,i=n.currentZ,o=n.currentZLevel;r.z=i,r.zlevel=o;var a=t.z2;null!=a&&(r.z2=a||0);for(var s=0;s<QH.length;s++)gV(r,t,QH[s])}}function gV(e,t,n){var r,i=n===$H,o=i?t:kV(t,n),a=o?o.z2:null;null!=a&&(r=i?e:e.ensureState(n),r.z2=a||0)}function vV(e,t,n,r){var i=e.get("renderItem"),o=e.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):oV[o.type](o));for(var s,u,c=Object(l["i"])({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:x,style:S,ordinalRawValue:w,styleEmphasis:k,visual:C,barLayout:A,currentSeriesIndices:T,font:P},a.api||{}),f={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:yV(e.getData())},h={},d={},p={},g={},v=0;v<QH.length;v++){var y=QH[v];p[y]=e.getModel(eV[y]),g[y]=e.getModel(tV[y])}function m(e){return e===s?u||(u=t.getItemModel(e)):t.getItemModel(e)}function b(e,n){return t.hasItemOption?e===s?h[n]||(h[n]=m(e).getModel(eV[n])):m(e).getModel(eV[n]):p[n]}function _(e,n){return t.hasItemOption?e===s?d[n]||(d[n]=m(e).getModel(tV[n])):m(e).getModel(tV[n]):g[n]}return function(e,n){return s=e,u=null,h={},d={},i&&i(Object(l["i"])({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},f),c)};function x(e,n){return null==n&&(n=s),t.getStore().get(t.getDimensionIndex(e||0),n)}function w(e,n){null==n&&(n=s),e=e||0;var r=t.getDimensionInfo(e);if(!r){var i=t.getDimensionIndex(e);return i>=0?t.getStore().get(i,n):void 0}var o=t.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o}function S(n,r){null==r&&(r=s);var i=t.getItemVisual(r,"style"),o=i&&i.fill,a=i&&i.opacity,u=b(r,$H).getItemStyle();null!=o&&(u.fill=o),null!=a&&(u.opacity=a);var c={inheritColor:Object(l["C"])(o)?o:"#000"},f=_(r,$H),h=ru(f,null,c,!1,!0);h.text=f.getShallow("show")?Object(l["P"])(e.getFormattedLabel(r,$H),_k(t,r)):null;var d=iu(f,c,!1);return O(n,u),u=wH(u,h,d),n&&E(u,n),u.legacy=!0,u}function k(n,r){null==r&&(r=s);var i=b(r,KH).getItemStyle(),o=_(r,KH),a=ru(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(l["Q"])(e.getFormattedLabel(r,KH),e.getFormattedLabel(r,$H),_k(t,r)):null;var u=iu(o,null,!0);return O(n,i),i=wH(i,a,u),n&&E(i,n),i.legacy=!0,i}function E(e,t){for(var n in t)Object(l["q"])(t,n)&&(e[n]=t[n])}function O(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}function C(e,n){if(null==n&&(n=s),Object(l["q"])(oH,e)){var r=t.getItemVisual(n,"style");return r?r[oH[e]]:null}if(Object(l["q"])(aH,e))return t.getItemVisual(n,e)}function A(e){if("cartesian2d"===o.type){var t=o.getBaseAxis();return SE(Object(l["i"])({axis:t},e))}}function T(){return n.getCurrentSeriesIndices()}function P(e){return fu(e,n)}}function yV(e){var t={};return Object(l["k"])(e.dimensions,(function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,o=t[i]=t[i]||[];o[r.coordDimIndex]=e.getDimensionIndex(n)}})),t}function mV(e,t,n,r,i,o,a){if(r){var s=bV(e,t,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&Tl(s,r.focus,r.blurScope,r.emphasisDisabled),s}o.remove(t)}function bV(e,t,n,r,i,o){var a=-1,s=t;t&&_V(t,r,i)&&(a=Object(l["r"])(o.childrenRef(),t),t=null);var u=!t,c=t;c?c.clearStates():(c=fV(r),s&&lV(s,c)),!1===r.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),iV.normal.cfg=iV.normal.conOpt=iV.emphasis.cfg=iV.emphasis.conOpt=iV.blur.cfg=iV.blur.conOpt=iV.select.cfg=iV.select.conOpt=null,iV.isLegacy=!1,wV(c,n,r,i,u,iV),xV(c,n,r,i,u),hV(e,c,n,r,iV,i,u),Object(l["q"])(r,"info")&&(sH(c).info=r.info);for(var f=0;f<QH.length;f++){var h=QH[f];if(h!==$H){var d=kV(r,h),p=EV(r,d,h);dV(h,c,d,p,iV)}}return pV(c,r,i),"group"===r.type&&OV(e,c,n,r,i),a>=0?o.replaceAt(c,a):o.add(c),c}function _V(e,t,n){var r=sH(e),i=t.type,o=t.shape,a=t.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==r.customGraphicType||"path"===i&&IV(o)&&DV(o)!==r.customPathData||"image"===i&&Object(l["q"])(a,"image")&&a.image!==r.customImagePath}function xV(e,t,n,r,i){var o=n.clipPath;if(!1===o)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&_V(a,o,r)&&(a=null),a||(a=fV(o),e.setClipPath(a)),hV(null,a,t,o,null,r,i)}}function wV(e,t,n,r,i,o){if(!e.isGroup){SV(n,null,o),SV(n,KH,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===a)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=fV(a),e.setTextContent(c)),hV(null,c,t,a,null,r,i);for(var f=a&&a.style,h=0;h<QH.length;h++){var d=QH[h];if(d!==$H){var p=o[d].conOpt;dV(d,c,p,EV(a,p,d),null)}}f?c.dirty():c.markRedraw()}}}}function SV(e,t,n){var r=t?kV(e,t):e,i=t?EV(e,r,KH):e.style,o=e.type,a=r?r.textConfig:null,s=e.textContent,l=s?t?kV(s,t):s:null;if(i&&(n.isLegacy||bH(i,o,!!a,!!l))){n.isLegacy=!0;var u=_H(i,o,!t);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text")}var f=t?n[t]:n.normal;f.cfg=a,f.conOpt=l}function kV(e,t){return t?e?e[t]:null:e}function EV(e,t,n){var r=t&&t.style;return null==r&&n===KH&&e&&(r=e.styleEmphasis),r}function OV(e,t,n,r,i){var o=r.children,a=o?o.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,u=!1===s;if(a||l||u)if(l)AV({api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:n,seriesModel:i,group:t});else{u&&t.removeAll();for(var c=0;c<a;c++){var f=o[c],h=t.childAt(c);f?(null==f.ignore&&(f.ignore=!1),bV(e,h,n,f,i,t)):h.ignore=!0}for(var d=t.childCount()-1;d>=c;d--){var p=t.childAt(d);CV(t,p,i)}}}function CV(e,t,n){t&&MH(t,sH(e).option,n)}function AV(e){new SS(e.oldChildren,e.newChildren,TV,TV,e).add(PV).update(PV).remove(MV).execute()}function TV(e,t){var n=e&&e.name;return null!=n?n:rV+t}function PV(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,i=null!=t?n.oldChildren[t]:null;bV(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function MV(e){var t=this.context,n=t.oldChildren[e];n&&MH(n,sH(n).option,t.seriesModel)}function DV(e){return e&&(e.pathData||e.d)}function IV(e){return e&&(Object(l["q"])(e,"pathData")||Object(l["q"])(e,"d"))}function LV(e){e.registerChartView(cV),e.registerSeriesModel(uH)}var RV=Di(),jV=l["d"],NV=l["c"],BV=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var u={};this.makeElOption(u,i,e,t,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(e,t);if(a){var h=l["h"](FV,t,f);this.updatePointerEl(a,u,h),this.updateLabelEl(a,u,h,t)}else a=this._group=new Sr,this.createPointerEl(a,u,e,t),this.createLabelEl(a,u,e,t),n.getZr().add(a);VV(a,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=ST(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,i){var o=t.pointer;if(o){var a=RV(e).pointerEl=new r[o.type](jV(t.pointer));e.add(a)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=RV(e).labelEl=new Os(jV(t.label));e.add(i),UV(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=RV(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=RV(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),UV(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=Mv(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){ne(e.event)},onmousedown:NV(this._onHandleDragMove,this,0,0),drift:NV(this._onHandleDragMove,this),ondragend:NV(this._onHandleDragEnd,this)}),r.add(i)),VV(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");l["t"](s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,Jv(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){FV(this._axisPointerModel,!t&&this._moveAnimation,this._handle,HV(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(HV(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(HV(r)),RV(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),Qv(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},e}();function FV(e,t,n,r){zV(RV(n).lastProp,r)||(RV(n).lastProp=r,t?Gl(n,r,e):(n.stopAnimation(),n.attr(r)))}function zV(e,t){if(l["A"](e)&&l["A"](t)){var n=!0;return l["k"](t,(function(t,r){n=n&&zV(e[r],t)})),!!n}return e===t}function UV(e,t){e[t.get(["label","show"])?"show":"hide"]()}function HV(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function VV(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}var GV=BV;function WV(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t}function qV(e,t,n,r,i){var o=n.get("value"),a=YV(o,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Ec(s.get("padding")||0),u=s.getFont(),c=nr(a,u),f=i.position,h=c.width+l[1]+l[3],d=c.height+l[0]+l[2],p=i.align;"right"===p&&(f[0]-=h),"center"===p&&(f[0]-=h/2);var g=i.verticalAlign;"bottom"===g&&(f[1]-=d),"middle"===g&&(f[1]-=d/2),XV(f,h,d,r);var v=s.get("backgroundColor");v&&"auto"!==v||(v=t.get(["axisLine","lineStyle","color"])),e.label={x:f[0],y:f[1],style:ru(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:v}),z2:10}}function XV(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function YV(e,t,n,r,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var s={value:cA(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};l["k"](r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&s.seriesData.push(i)})),l["C"](a)?o=a.replace("{value}",o):l["w"](a)&&(o=a(s))}return o}function KV(e,t,n){var r=le();return de(r,r,n.rotation),he(r,r,n.position),kv([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function $V(e,t,n,r,i,o){var a=gT.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),qV(t,r,i,o,{position:KV(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function ZV(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function JV(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function QV(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}var eG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=tG(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=WV(r),f=nG[s](o,u,l);f.style=c,e.graphicKey=f.type,e.pointer=f}var h=qA(a.model,n);$V(t,e,h,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=qA(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=KV(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=tG(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,f=[c,c];f[l]=u[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:f,tooltipOption:h[l]}},t}(GV);function tG(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var nG={line:function(e,t,n){var r=ZV([t,n[0]],[t,n[1]],rG(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:JV([t-r/2,n[0]],[r,i],rG(e))}}};function rG(e){return"x"===e.dim?0:1}var iG=eG,oG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}($c),aG=oG,sG=Di(),lG=l["k"];function uG(e,t,n){if(!s["a"].node){var r=t.getZr();sG(r).records||(sG(r).records={}),cG(r,t);var i=sG(r).records[e]||(sG(r).records[e]={});i.handler=n}}function cG(e,t){function n(n,r){e.on(n,(function(n){var i=pG(t);lG(sG(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),fG(i.pendings,t)}))}sG(e).initialized||(sG(e).initialized=!0,n("click",l["h"](dG,"click")),n("mousemove",l["h"](dG,"mousemove")),n("globalout",hG))}function fG(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function hG(e,t,n){e.handler("leave",null,n)}function dG(e,t,n,r){t.handler(e,n,r)}function pG(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function gG(e,t){if(!s["a"].node){var n=t.getZr(),r=(sG(n).records||{})[e];r&&(sG(n).records[e]=null)}}var vG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";uG("axisPointer",n,(function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){gG("axisPointer",t)},t.prototype.dispose=function(e,t){gG("axisPointer",t)},t.type="axisPointer",t}(Op),yG=vG;function mG(e,t){var n,r=[],i=e.seriesIndex;if(null==i||!(n=t.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=Mi(o,e);if(null==a||a<0||l["t"](a))return{point:[]};var s=o.getItemGraphicEl(a),u=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(u&&u.dataToPoint)if(e.isStacked){var c=u.getBaseAxis(),f=u.getOtherAxis(c),h=f.dim,d=c.dim,p="x"===h||"radius"===h?1:0,g=o.mapDimension(d),v=[];v[p]=o.get(g,a),v[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=u.dataToPoint(v)||[]}else r=u.dataToPoint(o.getValues(l["H"](u.dimensions,(function(e){return o.mapDimension(e)})),a))||[];else if(s){var y=s.getBoundingRect().clone();y.applyTransform(s.transform),r=[y.x+y.width/2,y.y+y.height/2]}return{point:r,el:s}}var bG=Di();function _G(e,t,n){var r=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||Object(l["c"])(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){PG(i)&&(i=mG({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var u=PG(i),c=o.axesInfo,f=s.axesInfo,h="leave"===r||PG(i),d={},p={},g={list:[],map:{}},v={showPointer:Object(l["h"])(SG,p),showTooltip:Object(l["h"])(kG,g)};Object(l["k"])(s.coordSysMap,(function(e,t){var n=u||e.containPoint(i);Object(l["k"])(s.coordSysAxesInfo[t],(function(e,t){var r=e.axis,o=AG(c,e);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=r.pointToData(i)),null!=a&&xG(e,a,v,!1,d)}}))}));var y={};return Object(l["k"])(f,(function(e,t){var n=e.linkGroup;n&&!p[t]&&Object(l["k"])(n.axesInfo,(function(t,r){var i=p[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,TG(t),TG(e)))),y[e.key]=o}}))})),Object(l["k"])(y,(function(e,t){xG(f[t],e,v,!0,d)})),EG(p,f,d),OG(g,i,e,a),CG(f,a,n),d}}function xG(e,t,n,r,i){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var a=wG(t,e),s=a.payloadBatch,u=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(l["m"])(i,s[0]),!r&&e.snap&&o.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,s),n.showTooltip(e,a,u)}else n.showPointer(e,t)}function wG(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return Object(l["k"])(t.seriesModels,(function(t,u){var c,f,h=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var d=t.getAxisTooltipData(h,e,n);f=d.dataIndices,c=d.nestestValue}else{if(f=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null),!f.length)return;c=t.getData().get(h[0],f[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=a&&((g<a||p>=0&&s<0)&&(a=g,s=p,i=c,o.length=0),Object(l["k"])(f,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:i}}function SG(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function kG(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=OT(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function EG(e,t,n){var r=n.axesInfo=[];Object(l["k"])(t,(function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}function OG(e,t,n,r){if(!PG(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function CG(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",o=bG(r)[i]||{},a=bG(r)[i]={};Object(l["k"])(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&Object(l["k"])(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var s=[],u=[];Object(l["k"])(o,(function(e,t){!a[t]&&u.push(e)})),Object(l["k"])(a,(function(e,t){!o[t]&&s.push(e)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function AG(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function TG(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function PG(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function MG(e){TT.registerAxisPointerClass("CartesianAxisPointer",iG),e.registerComponentModel(aG),e.registerComponentView(yG),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(l["t"])(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=vT(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},_G)}function DG(e){z_(UT),z_(MG)}var IG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),u=o.dataToCoord(t),c=r.get("type");if(c&&"none"!==c){var f=WV(r),h=RG[c](o,a,u,l);h.style=f,e.graphicKey=h.type,e.pointer=h}var d=r.get(["label","margin"]),p=LG(t,n,r,a,d);qV(e,n,r,i,p)},t}(GV);function LG(e,t,n,r,i){var o=t.axis,a=o.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,f=r.getRadiusAxis().getExtent();if("radius"===o.dim){var h=le();de(h,h,s),he(h,h,[r.cx,r.cy]),l=kv([a,-i],h);var d=t.getModel("axisLabel").get("rotate")||0,p=gT.innerTextLayout(s,d*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var g=f[1];l=r.coordToPoint([g+i,a]);var v=r.cx,y=r.cy;u=Math.abs(l[0]-v)/g<.3?"center":l[0]>v?"left":"right",c=Math.abs(l[1]-y)/g<.3?"middle":l[1]>y?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var RG={line:function(e,t,n,r){return"angle"===e.dim?{type:"Line",shape:ZV(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:QV(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:QV(t.cx,t.cy,n-i/2,n+i/2,0,2*Math.PI)}}},jG=IG,NG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.findAxisModel=function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}($c),BG=NG,FG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",ji).models[0]},t.type="polarAxis",t}($c);l["K"](FG,QO);var zG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="angleAxis",t}(FG),UG=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="radiusAxis",t}(FG),HG=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return a(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(VA);HG.prototype.dataToRadius=VA.prototype.dataToCoord,HG.prototype.radiusToData=VA.prototype.coordToData;var VG=HG,GG=Di(),WG=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return a(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],a=e.dataToCoord(o+1)-e.dataToCoord(o),s=Math.abs(a),l=nr(null==o?"":o+"",t.getFont(),"center","top"),u=Math.max(l.height,7),c=u/s;isNaN(c)&&(c=1/0);var f=Math.max(0,Math.floor(c)),h=GG(e.model),d=h.lastAutoInterval,p=h.lastTickCount;return null!=d&&null!=p&&Math.abs(d-f)<=1&&Math.abs(p-i)<=1&&d>f?f=d:(h.lastTickCount=i,h.lastAutoInterval=f),f},t}(VA);WG.prototype.dataToAngle=VA.prototype.dataToCoord,WG.prototype.angleToData=VA.prototype.coordToData;var qG=WG,XG=["radius","angle"],YG=function(){function e(e){this.dimensions=XG,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new VG,this._angleAxis=new qG,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI,r=Math.cos(n)*t+this.cx,i=-Math.sin(n)*t+this.cy;return[r,i]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var r=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},e.prototype.convertToPixel=function(e,t,n){var r=KG(t);return r===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=KG(t);return r===this?this.pointToData(n):null},e}();function KG(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var $G=YG;function ZG(e,t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight();e.cx=Br(r[0],i),e.cy=Br(r[1],o);var a=e.getRadiusAxis(),s=Math.min(i,o)/2,u=t.get("radius");null==u?u=[0,"100%"]:l["t"](u)||(u=[0,u]);var c=[Br(u[0],s),Br(u[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function JG(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();l["k"](gA(t,"radius"),(function(e){i.scale.unionExtentFromData(t,e)})),l["k"](gA(t,"angle"),(function(e){r.scale.unionExtentFromData(t,e)}))}})),aA(r.scale,r.model),aA(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function QG(e){return"angleAxis"===e.mainType}function eW(e,t){var n;if(e.type=t.get("type"),e.scale=sA(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),QG(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),i=null!==(n=t.get("endAngle"))&&void 0!==n?n:r+(e.inverse?-360:360);e.setExtent(r,i)}t.axis=e,e.model=t}var tW={dimensions:XG,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var i=new $G(r+"");i.update=JG;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");eW(o,s),eW(a,l),ZG(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",ji).models[0];0,e.coordinateSystem=t.coordinateSystem}})),n}},nW=tW,rW=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function iW(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function oW(e){var t=e.getRadiusAxis();return t.inverse?0:1}function aW(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var sW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return a(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=l["H"](n.getViewLabels(),(function(e){e=l["d"](e);var t=n.scale,r="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(r),e}));aW(s),aW(o),l["k"](rW,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||lW[t](this.group,e,r,o,a,i,s)}),this)}},t.type="angleAxis",t}(TT),lW={axisLine:function(e,t,n,i,o,a){var s,l=t.getModel(["axisLine","lineStyle"]),u=n.getAngleAxis(),c=Math.PI/180,f=u.getExtent(),h=oW(n),d=h?0:1,p=360===Math.abs(f[1]-f[0])?"Circle":"Arc";s=0===a[d]?new r[p]({shape:{cx:n.cx,cy:n.cy,r:a[h],startAngle:-f[0]*c,endAngle:-f[1]*c,clockwise:u.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new Sg({shape:{cx:n.cx,cy:n.cy,r:a[h],r0:a[d]},style:l.getLineStyle(),z2:1,silent:!0}),s.style.fill=null,e.add(s)},axisTick:function(e,t,n,r,i,o){var a=t.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),u=o[oW(n)],c=l["H"](r,(function(e){return new Rg({shape:iW(n,[u,u+s],e.coord)})}));e.add(mv(c,{style:l["i"](a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("axisTick"),s=t.getModel("minorTick"),u=(a.get("inside")?-1:1)*s.get("length"),c=o[oW(n)],f=[],h=0;h<i.length;h++)for(var d=0;d<i[h].length;d++)f.push(new Rg({shape:iW(n,[c,c+u],i[h][d].coord)}));e.add(mv(f,{style:l["i"](s.getModel("lineStyle").getLineStyle(),l["i"](a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,r,i,o,a){var s=t.getCategories(!0),u=t.getModel("axisLabel"),c=u.get("margin"),f=t.get("triggerEvent");l["k"](a,(function(r,i){var a=u,h=r.tickValue,d=o[oW(n)],p=n.coordToPoint([d+c,r.coord]),g=n.cx,v=n.cy,y=Math.abs(p[0]-g)/d<.3?"center":p[0]>g?"left":"right",m=Math.abs(p[1]-v)/d<.3?"middle":p[1]>v?"top":"bottom";if(s&&s[h]){var b=s[h];l["A"](b)&&b.textStyle&&(a=new Cu(b.textStyle,u,u.ecModel))}var _=new Os({silent:gT.isLabelSilent(t),style:ru(a,{x:p[0],y:p[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:y,verticalAlign:m})});if(e.add(_),f){var x=gT.makeAxisEventDataBase(t);x.targetType="axisLabel",x.value=r.rawLabel,Cs(_).eventData=x}}),this)},splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine"),s=a.getModel("lineStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var f=[],h=0;h<r.length;h++){var d=c++%u.length;f[d]=f[d]||[],f[d].push(new Rg({shape:iW(n,o,r[h].coord)}))}for(h=0;h<f.length;h++)e.add(mv(f[h],{style:l["i"]({stroke:u[h%u.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],u=0;u<i.length;u++)for(var c=0;c<i[u].length;c++)l.push(new Rg({shape:iW(n,o,i[u][c].coord)}));e.add(mv(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,r,i,o){if(r.length){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var f=[],h=Math.PI/180,d=-r[0].coord*h,p=Math.min(o[0],o[1]),g=Math.max(o[0],o[1]),v=t.get("clockwise"),y=1,m=r.length;y<=m;y++){var b=y===m?r[0].coord:r[y].coord,_=c++%u.length;f[_]=f[_]||[],f[_].push(new _g({shape:{cx:n.cx,cy:n.cy,r0:p,r:g,startAngle:d,endAngle:-b*h,clockwise:v},silent:!0})),d=-b*h}for(y=0;y<f.length;y++)e.add(mv(f[y],{style:l["i"]({fill:u[y%u.length]},s.getAreaStyle()),silent:!0}))}}},uW=sW,cW=["axisLine","axisTickLabel","axisName"],fW=["splitLine","splitArea","minorSplitLine"],hW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return a(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,r=this._axisGroup=new Sr;this.group.add(r);var i=e.axis,o=i.polar,a=o.getAngleAxis(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),c=a.getExtent()[0],f=i.getExtent(),h=pW(o,e,c),d=new gT(e,h);l["k"](cW,d.add,d),r.add(d.getGroup()),Av(n,r,e),l["k"](fW,(function(t){e.get([t,"show"])&&!i.scale.isBlank()&&dW[t](this.group,e,o,c,f,s,u)}),this)}},t.type="radiusAxis",t}(TT),dW={splitLine:function(e,t,n,i,o,a){var s=t.getModel("splitLine"),u=s.getModel("lineStyle"),c=u.get("color"),f=0,h=n.getAngleAxis(),d=Math.PI/180,p=h.getExtent(),g=360===Math.abs(p[1]-p[0])?"Circle":"Arc";c=c instanceof Array?c:[c];for(var v=[],y=0;y<a.length;y++){var m=f++%c.length;v[m]=v[m]||[],v[m].push(new r[g]({shape:{cx:n.cx,cy:n.cy,r:Math.max(a[y].coord,0),startAngle:-p[0]*d,endAngle:-p[1]*d,clockwise:h.inverse}}))}for(y=0;y<v.length;y++)e.add(mv(v[y],{style:l["i"]({stroke:c[y%c.length],fill:null},u.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,r,i,o,a){if(a.length){for(var s=t.getModel("minorSplitLine"),u=s.getModel("lineStyle"),c=[],f=0;f<a.length;f++)for(var h=0;h<a[f].length;h++)c.push(new Qp({shape:{cx:n.cx,cy:n.cy,r:a[f][h].coord}}));e.add(mv(c,{style:l["i"]({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,r,i,o){if(o.length){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var f=[],h=o[0].coord,d=1;d<o.length;d++){var p=c++%u.length;f[p]=f[p]||[],f[p].push(new _g({shape:{cx:n.cx,cy:n.cy,r0:h,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=o[d].coord}for(d=0;d<f.length;d++)e.add(mv(f[d],{style:l["i"]({fill:u[d%u.length]},s.getAreaStyle()),silent:!0}))}}};function pW(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}var gW=hW;function vW(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function yW(e,t){return t.dim+e.model.componentIndex}function mW(e,t,n){var r={},i=bW(l["n"](t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,o=n.getBaseAxis(),a=yW(n,o),s=vW(e),l=i[a][s],u=l.offset,c=l.width,f=n.getOtherAxis(o),h=e.coordinateSystem.cx,d=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,g=e.get("barMinAngle")||0;r[s]=r[s]||[];for(var v=t.mapDimension(f.dim),y=t.mapDimension(o.dim),m=ck(t,v),b="radius"!==o.dim||!e.get("roundCap",!0),_=f.model,x=_.get("startValue"),w=f.dataToCoord(x||0),S=0,k=t.count();S<k;S++){var E=t.get(v,S),O=t.get(y,S),C=E>=0?"p":"n",A=w;m&&(r[s][O]||(r[s][O]={p:w,n:w}),A=r[s][O][C]);var T=void 0,P=void 0,M=void 0,D=void 0;if("radius"===f.dim){var I=f.dataToCoord(E)-w,L=o.dataToCoord(O);Math.abs(I)<p&&(I=(I<0?-1:1)*p),T=A,P=A+I,M=L-u,D=M-c,m&&(r[s][O][C]=P)}else{var R=f.dataToCoord(E,b)-w,j=o.dataToCoord(O);Math.abs(R)<g&&(R=(R<0?-1:1)*g),T=j+u,P=T+c,M=A,D=A+R,m&&(r[s][O][C]=D)}t.setItemLayout(S,{cx:h,cy:d,r0:T,r:P,startAngle:-M*Math.PI/180,endAngle:-D*Math.PI/180,clockwise:M>=D})}}}))}function bW(e){var t={};l["k"](e,(function(e,n){var r=e.getData(),i=e.coordinateSystem,o=i.getBaseAxis(),a=yW(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/r.count(),u=t[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;t[a]=u;var f=vW(e);c[f]||u.autoWidthCount++,c[f]=c[f]||{width:0,maxWidth:0};var h=Br(e.get("barWidth"),l),d=Br(e.get("barMaxWidth"),l),p=e.get("barGap"),g=e.get("barCategoryGap");h&&!c[f].width&&(h=Math.min(u.remainedWidth,h),c[f].width=h,u.remainedWidth-=h),d&&(c[f].maxWidth=d),null!=p&&(u.gap=p),null!=g&&(u.categoryGap=g)}));var n={};return l["k"](t,(function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=Br(e.categoryGap,i),a=Br(e.gap,1),s=e.remainedWidth,u=e.autoWidthCount,c=(s-o)/(u+(u-1)*a);c=Math.max(c,0),l["k"](r,(function(e,t){var n=e.maxWidth;n&&n<c&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,u--)})),c=(s-o)/(u+(u-1)*a),c=Math.max(c,0);var f,h=0;l["k"](r,(function(e,t){e.width||(e.width=c),f=e,h+=e.width*(1+a)})),f&&(h-=f.width*a);var d=-h/2;l["k"](r,(function(e,r){n[t][r]=n[t][r]||{offset:d,width:e.width},d+=e.width*(1+a)}))})),n}var _W=mW,xW={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},wW={splitNumber:5},SW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="polar",t}(Op);function kW(e){z_(MG),TT.registerAxisPointerClass("PolarAxisPointer",jG),e.registerCoordinateSystem("polar",nW),e.registerComponentModel(BG),e.registerComponentView(SW),hC(e,"angle",zG,xW),hC(e,"radius",UG,wW),e.registerComponentView(uW),e.registerComponentView(gW),e.registerLayout(Object(l["h"])(_W,"bar"))}function EW(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,i={},o=r.position,a=r.orient,s=n.getRect(),u=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};i.position=["vertical"===a?c.vertical[o]:u[0],"horizontal"===a?c.horizontal[o]:u[3]];var f={horizontal:0,vertical:1};i.rotation=Math.PI/2*f[a];var h={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=h[o],e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),l["O"](t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var d=t.rotate;return null==d&&(d=e.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-d:d,i.z2=1,i}var OW=["axisLine","axisTickLabel","axisName"],CW=["splitArea","splitLine"],AW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return a(t,e),t.prototype.render=function(t,n,r,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Sr;var s=EW(t),u=new gT(t,s);l["k"](OW,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),l["k"](CW,(function(e){t.get([e,"show"])&&TW[e](this,this.group,this._axisGroup,t)}),this),Av(a,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)},t.prototype.remove=function(){DT(this)},t.type="singleAxis",t}(TT),TW={splitLine:function(e,t,n,r){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var u=a.get("width"),c=r.coordinateSystem.getRect(),f=i.isHorizontal(),h=[],d=0,p=i.getTicksCoords({tickModel:o}),g=[],v=[],y=0;y<p.length;++y){var m=i.toGlobalCoord(p[y].coord);f?(g[0]=m,g[1]=c.y,v[0]=m,v[1]=c.y+c.height):(g[0]=c.x,g[1]=m,v[0]=c.x+c.width,v[1]=m);var b=new Rg({shape:{x1:g[0],y1:g[1],x2:v[0],y2:v[1]},silent:!0});_v(b.shape,u);var _=d++%s.length;h[_]=h[_]||[],h[_].push(b)}var x=a.getLineStyle(["color"]);for(y=0;y<h.length;++y)t.add(mv(h[y],{style:l["i"]({stroke:s[y%s.length]},x),silent:!0}))}},splitArea:function(e,t,n,r){MT(e,n,r,r)}},PW=AW,MW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}($c);Object(l["K"])(MW,QO.prototype);var DW=MW,IW=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.position=o||"bottom",a}return a(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,t){return this.coordinateSystem.pointToData(e)[0]},t}(VA),LW=IW,RW=["single"],jW=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=RW,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=this.dimension,i=new LW(r,sA(e),[0,0],e.get("type"),e.get("position")),o="category"===i.type;i.onBand=o&&e.get("boundaryGap"),i.inverse=e.get("inverse"),i.orient=e.get("orient"),e.axis=i,i.model=e,i.coordinateSystem=this,this._axis=i},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();Object(l["k"])(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),aA(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=zc({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.inverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){var r=NW(t);return r===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=NW(t);return r===this?this.pointToData(n):null},e}();function NW(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var BW=jW;function FW(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,i){var o=new BW(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",ji).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n}var zW={create:FW,dimensions:RW},UW=zW,HW=["x","y"],VW=["width","height"],GW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.coordinateSystem,s=XW(a,1-qW(o)),l=a.dataToPoint(t)[0],u=r.get("type");if(u&&"none"!==u){var c=WV(r),f=WW[u](o,l,s);f.style=c,e.graphicKey=f.type,e.pointer=f}var h=EW(n);$V(t,e,h,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=EW(t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=KV(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.coordinateSystem,a=qW(i),s=XW(o,a),l=[e.x,e.y];l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=XW(o,1-a),c=(u[1]+u[0])/2,f=[c,c];return f[a]=l[a],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}},t}(GV),WW={line:function(e,t,n){var r=ZV([t,n[0]],[t,n[1]],qW(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:JV([t-r/2,n[0]],[r,i],qW(e))}}};function qW(e){return e.isHorizontal()?0:1}function XW(e,t){var n=e.getRect();return[n[HW[t]],n[HW[t]]+n[VW[t]]]}var YW=GW,KW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="single",t}(Op);function $W(e){z_(MG),TT.registerAxisPointerClass("SingleAxisPointer",YW),e.registerComponentView(KW),e.registerComponentView(PW),e.registerComponentModel(DW),hC(e,"single",DW,DW.defaultOption),e.registerCoordinateSystem("single",UW)}var ZW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(t,n,r){var i=Wc(t);e.prototype.init.apply(this,arguments),JW(t,i)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),JW(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}($c);function JW(e,t){var n,r=e.cellSize;n=l["t"](r)?r:e.cellSize=[r,r],1===n.length&&(n[1]=n[0]);var i=l["H"]([0,1],(function(e){return Hc(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));Gc(e,t,{type:"box",ignoreSize:i})}var QW=ZW,eq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,o,r),this._renderLines(e,o,a,r),this._renderYearText(e,o,a,r),this._renderMonthText(e,s,a,r),this._renderWeekText(e,s,o,a,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,u=new ls({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(u)}},t.prototype._renderLines=function(e,t,n,r){var i=this,o=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var f=u.date;f.setMonth(f.getMonth()+1),u=o.getDateInfo(f)}function h(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new Mg({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,i=r.getDateInfo(t),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},t.prototype._formatterLabel=function(e,t){return Object(l["C"])(e)&&e?Pc(e,t):Object(l["w"])(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,r,i){var o=t[0],a=t[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var i=e.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,f={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},h=t.start.y;+t.end.y>+t.start.y&&(h=h+"-"+t.end.y);var d=i.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:h},g=this._formatterLabel(d,p),v=new Os({z2:30,style:ru(i,{text:g})});v.attr(this._yearTextPositionControl(v,f[a],n,a,o)),r.add(v)}},t.prototype._monthTextPositionControl=function(e,t,n,r,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=i,t&&(o="center"),"start"===r&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,n,r){var i=e.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),u=i.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(l["C"])(o)||(o&&(t=Vu(o)||t),o=t.get(["time","monthAbbr"])||[]);var f="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===u,p=0;p<c[f].length-1;p++){var g=c[f][p].slice(),v=this._firstDayOfMonth[p];if(d){var y=this._firstDayPoints[p];g[h]=(y[h]+c[0][p+1][h])/2}var m=i.get("formatter"),b=o[+v.m-1],_={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:b},x=this._formatterLabel(m,_),w=new Os({z2:30,style:Object(l["m"])(ru(i,{text:x}),this._monthTextPositionControl(g,d,n,s,a))});r.add(w)}}},t.prototype._weekTextPositionControl=function(e,t,n,r,i){var o="center",a="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+r+(u?1:-1)*i[0]/2,o=u?"right":"left"):(l=l+r+(u?1:-1)*i[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,n,r,i){var o=e.getModel("dayLabel");if(o.get("show")){var a=e.coordinateSystem,s=o.get("position"),u=o.get("nameMap"),c=o.get("margin"),f=a.getFirstDayOfWeek();if(!u||Object(l["C"])(u)){u&&(t=Vu(u)||t);var h=t.get(["time","dayOfWeekShort"]);u=h||Object(l["H"])(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]}))}var d=a.getNextNDay(n.end.time,7-n.lweek).time,p=[a.getCellWidth(),a.getCellHeight()];c=Br(c,Math.min(p[1],p[0])),"start"===s&&(d=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var g=0;g<7;g++){var v=a.getNextNDay(d,g),y=a.dataToRect([v.time],!1).center,m=g;m=Math.abs((g+f)%7);var b=new Os({z2:30,style:Object(l["m"])(ru(o,{text:u[m]}),this._weekTextPositionControl(y,r,s,c,p))});i.add(b)}}},t.type="calendar",t}(Op),tq=eq,nq=864e5,rq=function(){function e(t,n,r){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(e){e=$r(e);var t=e.getFullYear(),n=e.getMonth()+1,r=n<10?"0"+n:""+n,i=e.getDate(),o=i<10?"0"+i:""+i,a=e.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:t+"",m:r,d:o,day:a,time:e.getTime(),formatedDate:t+"-"+r+"-"+o,date:e}},e.prototype.getNextNDay=function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},e.prototype.update=function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];l["k"]([0,1],(function(e){c(i,e)&&(o[r[e]]=i[e]*a[e])}));var s={width:t.getWidth(),height:t.getHeight()},u=this._rect=zc(o,s);function c(e,t){return null!=e[t]&&"auto"!==e[t]}l["k"]([0,1],(function(e){c(i,e)||(i[e]=u[r[e]]/a[e])})),this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(e,t){l["t"](e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,i=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+nq))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},e.prototype.pointToData=function(e){var t=this.pointToDate(e);return t&&t.time},e.prototype.dataToRect=function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},e.prototype.pointToDate=function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},e.prototype.convertToPixel=function(e,t,n){var r=iq(t);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=iq(t);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(l["t"](t)&&1===t.length&&(t=t[0]),l["t"](t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),i=r.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[r.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,n=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];n[0].time>n[1].time&&(t=!0,n.reverse());var r=Math.floor(n[1].time/nq)-Math.floor(n[0].time/nq)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a){var l=i.getTime()-n[1].time>0?1:-1;while((s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0)r-=l,i.setDate(s-l)}var u=Math.floor((r+n[0].day+6)/7),c=t?1-u:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return null;var i=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",(function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("calendarIndex")||0])})),r},e.dimensions=["time","value"],e}();function iq(e){var t=e.calendarModel,n=e.seriesModel,r=t?t.coordinateSystem:n?n.coordinateSystem:null;return r}var oq=rq;function aq(e){e.registerComponentModel(QW),e.registerComponentView(tq),e.registerCoordinateSystem("calendar",oq)}function sq(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function lq(e,t){var n;return l["k"](t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function uq(e,t,n){var r=l["m"]({},n),i=e[t],o=n.$action||"merge";"merge"===o?i?(l["I"](i,r,!0),Gc(i,r,{ignoreSize:!0}),qc(n,i),hq(n,i),hq(n,i,"shape"),hq(n,i,"style"),hq(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:"replace"===o?e[t]=r:"remove"===o&&i&&(e[t]=null)}var cq=["transition","enterFrom","leaveTo"],fq=cq.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function hq(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var r=n?cq:fq,i=0;i<r.length;i++){var o=r[i];null==e[o]&&null!=t[o]&&(e[o]=t[o])}}function dq(e,t){if(e&&(e.hv=t.hv=[lq(t,["left","right"]),lq(t,["top","bottom"])],"group"===e.type)){var n=e,r=t;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}var pq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return a(t,e),t.prototype.mergeOption=function(t,n){var r=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=r},t.prototype.optionUpdated=function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,o=[];this._flatten(r,o,null);var a=gi(i,o,"normalMerge"),s=this._elOptionsToUpdate=[];l["k"](a,(function(e,t){var n=e.newOption;n&&(s.push(n),sq(e,n),uq(i,t,n),dq(i[t],n))}),this),n.elements=l["n"](i,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,n){l["k"](e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;r&&r.length&&this._flatten(r,t,e),delete e.children}}),this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}($c),gq={path:null,compoundPath:null,group:Sr,image:Qa,text:Os},vq=Di(),yq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){this._elMap=l["f"]()},t.prototype.render=function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},t.prototype._updateElements=function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group,i=e.get("z"),o=e.get("zlevel");l["k"](t,(function(t){var a=ki(t.id,null),s=null!=a?n.get(a):null,l=ki(t.parentId,null),u=null!=l?n.get(l):r,c=t.type,f=t.style;"text"===c&&f&&t.hv&&t.hv[1]&&(f.textVerticalAlign=f.textBaseline=f.verticalAlign=f.align=null);var h=t.textContent,d=t.textConfig;if(f&&bH(f,c,!!d,!!h)){var p=_H(f,c,!0);!d&&p.textConfig&&(d=t.textConfig=p.textConfig),!h&&p.textContent&&(h=p.textContent)}var g=wq(t);var v=t.$action||"merge",y="merge"===v,m="replace"===v;if(y){var b=!s,_=s;b?_=bq(a,u,t.type,n):(_&&(vq(_).isNew=!1),XH(_)),_&&(TH(_,g,e,{isInit:b}),xq(_,t,i,o))}else if(m){_q(s,t,n,e);var x=bq(a,u,t.type,n);x&&(TH(x,g,e,{isInit:!0}),xq(x,t,i,o))}else"remove"===v&&(PH(s,t),_q(s,t,n,e));var w=n.get(a);if(w&&h)if(y){var S=w.getTextContent();S?S.attr(h):w.setTextContent(new Os(h))}else m&&w.setTextContent(new Os(h));if(w){var k=t.clipPath;if(k){var E=k.type,O=void 0;b=!1;if(y){var C=w.getClipPath();b=!C||vq(C).type!==E,O=b?mq(E):C}else m&&(b=!0,O=mq(E));w.setClipPath(O),TH(O,k,e,{isInit:b}),YH(O,k.keyframeAnimation,e)}var A=vq(w);w.setTextConfig(d),A.option=t,Sq(w,e,t),jv({el:w,componentModel:e,itemName:w.name,itemTooltipOption:t.tooltip}),YH(w,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=["x","y"],u=0;u<n.length;u++){var c=n[u],f=ki(c.id,null),h=null!=f?i.get(f):null;if(h&&h.isGroup){var d=h.parent,p=d===r,g=vq(h),v=vq(d);g.width=Br(g.option.width,p?o:v.width)||0,g.height=Br(g.option.height,p?a:v.height)||0}}for(u=n.length-1;u>=0;u--){c=n[u],f=ki(c.id,null),h=null!=f?i.get(f):null;if(h){d=h.parent,v=vq(d);var y=d===r?{width:o,height:a}:{width:v.width,height:v.height},m={},b=Uc(h,c,y,null,{hv:c.hv,boundingMode:c.bounding},m);if(!vq(h).isNew&&b){for(var _=c.transition,x={},w=0;w<s.length;w++){var S=s[w],k=m[S];_&&(DH(_)||l["r"](_,S)>=0)?x[S]=k:h[S]=k}Gl(h,x,e,0)}else h.attr(m)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){_q(n,vq(n).option,t,e._lastGraphicModel)})),this._elMap=l["f"]()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Op);function mq(e){var t=l["q"](gq,e)?gq[e]:pv(e);var n=new t({});return vq(n).type=e,n}function bq(e,t,n,r){var i=mq(n);return t.add(i),r.set(e,i),vq(i).id=e,vq(i).isNew=!0,i}function _q(e,t,n,r){var i=e&&e.parent;i&&("group"===e.type&&e.traverse((function(e){_q(e,t,n,r)})),MH(e,t,r),n.removeKey(vq(e).id))}function xq(e,t,n,r){e.isGroup||l["k"]([["cursor",Bo.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];l["q"](t,r)?e[r]=l["P"](t[r],n[1]):null==e[r]&&(e[r]=n[1])})),l["k"](l["F"](t),(function(n){if(0===n.indexOf("on")){var r=t[n];e[n]=l["w"](r)?r:null}})),l["q"](t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}function wq(e){return e=l["m"]({},e),l["k"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Rc),(function(t){delete e[t]})),e}function Sq(e,t,n){var r=Cs(e).eventData;e.silent||e.ignore||r||(r=Cs(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function kq(e){e.registerComponentModel(pq),e.registerComponentView(yq),e.registerPreprocessor((function(e){var t=e.graphic;Object(l["t"])(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))}var Eq=["x","y","radius","angle","single"],Oq=["cartesian2d","polar","singleAxis"];function Cq(e){var t=e.get("coordinateSystem");return Object(l["r"])(Oq,t)>=0}function Aq(e){return e+"Axis"}function Tq(e,t){var n,r=Object(l["f"])(),i=[],o=Object(l["f"])();e.eachComponent({mainType:"dataZoom",query:t},(function(e){o.get(e.uid)||s(e)}));do{n=!1,e.eachComponent("dataZoom",a)}while(n);function a(e){!o.get(e.uid)&&u(e)&&(s(e),n=!0)}function s(e){o.set(e.uid,!0),i.push(e),c(e)}function u(e){var t=!1;return e.eachTargetAxis((function(e,n){var i=r.get(e);i&&i[n]&&(t=!0)})),t}function c(e){e.eachTargetAxis((function(e,t){(r.get(e)||r.set(e,[]))[t]=!0}))}return i}function Pq(e){var t=e.ecModel,n={infoList:[],infoMap:Object(l["f"])()};return e.eachTargetAxis((function(e,r){var i=t.getComponent(Aq(e),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}})),n}var Mq=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),Dq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return a(t,e),t.prototype.init=function(e,t,n){var r=Iq(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=Iq(e);Object(l["I"])(this.option,e,!0),Object(l["I"])(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;Object(l["k"])([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(l["f"])(),n=this._fillSpecifiedTargetAxis(t);n?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return Object(l["k"])(Eq,(function(n){var r=this.getReferringComponents(Aq(n),Ni);if(r.specified){t=!0;var i=new Mq;Object(l["k"])(r.models,(function(e){i.add(e.componentIndex)})),e.set(n,i)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x",o=n.findComponents({mainType:i+"Axis"});a(o,i)}if(r){o=n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});a(o,"single")}function a(t,n){var i=t[0];if(i){var o=new Mq;if(o.add(i.componentIndex),e.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",ji).models[0];a&&Object(l["k"])(t,(function(e){i.componentIndex!==e.componentIndex&&a===e.getReferringComponents("grid",ji).models[0]&&o.add(e.componentIndex)}))}}}r&&Object(l["k"])(Eq,(function(t){if(r){var i=n.findComponents({mainType:Aq(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new Mq;o.add(i[0].componentIndex),e.set(t,o),r=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(l["k"])([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent(Aq(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){Object(l["k"])(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(Aq(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(l["k"])([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(l["k"])(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}($c);function Iq(e){var t={};return Object(l["k"])(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var Lq=Dq,Rq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.select",t}(Lq),jq=Rq,Nq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(Op),Bq=Nq,Fq=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.select",t}(Bq),zq=Fq,Uq=l["k"],Hq=zr,Vq=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries((function(t){if(Cq(t)){var n=Aq(this._dimName),r=t.getReferringComponents(n,ji).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return l["d"](this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel(),i=r.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];Uq(["start","end"],(function(r,u){var c=e[r],f=e[r+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),f=i.parse(Nr(c,a,n))):(t=!0,f=null==f?n[u]:i.parse(f),c=Nr(f,n,a)),l[u]=null==f||isNaN(f)?n[u]:f,s[u]=null==c||isNaN(c)?a[u]:c})),Hq(l),Hq(s);var u=this._minMaxSpan;function c(e,t,n,r,o){var a=o?"Span":"ValueSpan";cN(0,e,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)t[s]=Nr(e[s],n,r,!0),o&&(t[s]=i.parse(t[s]))}return t?c(l,s,n,a,!1):c(s,l,a,n,!0),{valueWindow:l,percentWindow:s}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=Gq(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&Uq(r,(function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var s=t.getStore(),u=l["H"](r,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,i,a=0;a<r.length;a++){var l=s.get(u[a],e),c=!isNaN(l),f=l<o[0],h=l>o[1];if(c&&!f&&!h)return!0;c&&(i=!0),f&&(t=!0),h&&(n=!0)}return i&&t&&n}))}else Uq(r,(function(n){if("empty"===i)e.setData(t=t.map(n,(function(e){return a(e)?e:NaN})));else{var r={};r[n]=o,t.selectRange(r)}}));Uq(r,(function(e){t.setApproximateExtent(o,e)}))}}))}function a(e){return e>=o[0]&&e<=o[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;Uq(["min","max"],(function(r){var i=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=Nr(n[0]+o,n,[0,100],!0):null!=i&&(o=Nr(i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=o}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=Vr(n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}();function Gq(e,t,n){var r=[1/0,-1/0];Uq(n,(function(e){vA(r,e.getData(),t)}));var i=e.getAxisModel(),o=nA(i.axis.scale,i,r).calculate();return[o.min,o.max]}var Wq=Vq,qq={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var o=e.getComponent(Aq(r),i);t(r,i,o,n)}))}))}t((function(e,t,n,r){n.__dzAxisProxy=null}));var n=[];t((function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new Wq(t,r,o,e),n.push(i.__dzAxisProxy))}));var r=Object(l["f"])();return Object(l["k"])(n,(function(e){Object(l["k"])(e.getTargetSeriesModels(),(function(e){r.set(e.uid,e)}))})),r},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,r){e.getAxisProxy(n,r).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}},Xq=qq;function Yq(e){e.registerAction("dataZoom",(function(e,t){var n=Tq(t,e);Object(l["k"])(n,(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}var Kq=!1;function $q(e){Kq||(Kq=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,Xq),Yq(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function Zq(e){e.registerComponentModel(jq),e.registerComponentView(zq),$q(e)}var Jq=function(){function e(){}return e}(),Qq={};function eX(e,t){Qq[e]=t}function tX(e){return Qq[e]}var nX=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;l["k"](this.option.feature,(function(e,n){var r=tX(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),l["I"](e,r.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}($c),rX=nX;function iX(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=zc(r,o,i);Bc(t.get("orient"),e,t.get("itemGap"),a.width,a.height),Uc(e,r,o,i)}function oX(e,t){var n=Ec(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new ls({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var aX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},u=this._features||(this._features={}),c=[];l["k"](s,(function(e,t){c.push(t)})),new SS(this._featureNames||[],c).add(f).update(f).remove(l["h"](f,null)).execute(),this._featureNames=c,iX(i,e,n),i.add(oX(i.getBoundingRect(),e)),a||i.eachChild((function(e){var t=e.__title,r=e.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=e.getTextContent(),u=s&&s.ensureState("emphasis");if(u&&!l["w"](u)&&t){var c=u.style||(u.style={}),f=nr(t,Os.makeFont(c)),h=e.x+i.x,d=e.y+i.y+o,p=!1;d+f.height>n.getHeight()&&(a.position="top",p=!0);var g=p?-5-f.height:o+10;h+f.width/2>n.getWidth()?(a.position=["100%",g],c.align="right"):h-f.width/2<0&&(a.position=[0,g],c.align="left")}}))}function f(i,o){var a,l=c[i],f=c[o],d=s[l],p=new Cu(d,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===l&&(d.title=r.newTitle),l&&!f){if(sX(l))a={onclick:p.option.onclick,featureName:l};else{var g=tX(l);if(!g)return;a=new g}u[l]=a}else if(a=u[f],!a)return;a.uid=Tu("toolbox-feature"),a.model=p,a.ecModel=t,a.api=n;var v=a instanceof Jq;l||!f?!p.get("show")||v&&a.unusable?v&&a.remove&&a.remove(t,n):(h(p,a,l),p.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?cl:fl)(r[e])},a instanceof Jq&&a.render&&a.render(p,t,n,r)):v&&a.dispose&&a.dispose(t,n)}function h(r,s,u){var c,f,h=r.getModel("iconStyle"),d=r.getModel(["emphasis","iconStyle"]),p=s instanceof Jq&&s.getIcons?s.getIcons():r.get("icon"),g=r.get("title")||{};l["C"](p)?(c={},c[u]=p):c=p,l["C"](g)?(f={},f[u]=g):f=g;var v=r.iconPaths={};l["k"](c,(function(u,c){var p=Mv(u,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle());var g=p.ensureState("emphasis");g.style=d.getItemStyle();var y=new Os({style:{text:f[c],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null,font:fu({fontStyle:d.get("textFontStyle"),fontFamily:d.get("textFontFamily"),fontSize:d.get("textFontSize"),fontWeight:d.get("textFontWeight")},t)},ignore:!0});p.setTextContent(y),jv({el:p,componentModel:e,itemName:c,formatterParamsExtra:{title:f[c]}}),p.__title=f[c],p.on("mouseover",(function(){var t=d.getItemStyle(),r=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";y.setStyle({fill:d.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||r}),y.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),y.hide()})),("emphasis"===r.get(["iconStatus",c])?cl:fl)(p),i.add(p),p.on("click",l["c"](s.onclick,s,t,n,c)),v[c]=p}))}},t.prototype.updateView=function(e,t,n,r){l["k"](this._features,(function(e){e instanceof Jq&&e.updateView&&e.updateView(e.model,t,n,r)}))},t.prototype.remove=function(e,t){l["k"](this._features,(function(n){n instanceof Jq&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){l["k"](this._features,(function(n){n instanceof Jq&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(Op);function sX(e){return 0===e.indexOf("my")}var lX=aX,uX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=s["a"].browser;if("function"!==typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||i){var u=a.split(","),c=u[0].indexOf("base64")>-1,f=i?decodeURIComponent(u[1]):u[1];c&&(f=window.atob(f));var h=r+"."+o;if(window.navigator.msSaveOrOpenBlob){var d=f.length,p=new Uint8Array(d);while(d--)p[d]=f.charCodeAt(d);var g=new Blob([p]);window.navigator.msSaveOrOpenBlob(g,h)}else{var v=document.createElement("iframe");document.body.appendChild(v);var y=v.contentWindow,m=y.document;m.open("image/svg+xml","replace"),m.write(f),m.close(),y.focus(),m.execCommand("SaveAs",!0,h),document.body.removeChild(v)}}else{var b=n.get("lang"),_='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(b&&b[0]||"")+'" /></body>',x=window.open();x.document.write(_),x.document.title=r}else{var w=document.createElement("a");w.download=r+"."+o,w.target="_blank",w.href=a;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},t.getDefaultOption=function(e){var t={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return t},t}(Jq),cX=uX,fX="__ec_magicType_stack__",hX=[["line","bar"],["stack"]],dX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return l["k"](e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n},t.getDefaultOption=function(e){var t={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return t},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(pX[n]){var o,a={series:[]},s=function(e){var t=e.subType,i=e.id,o=pX[n](t,i,e,r);o&&(l["i"](o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var u=s.getAxesByScale("ordinal")[0];if(u){var c=u.dim,f=c+"Axis",h=e.getReferringComponents(f,ji).models[0],d=h.componentIndex;a[f]=a[f]||[];for(var p=0;p<=d;p++)a[f][d]=a[f][d]||{};a[f][d].boundaryGap="bar"===n}}};l["k"](hX,(function(e){l["r"](e,n)>=0&&l["k"](e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var u=n;"stack"===n&&(o=l["I"]({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(u="tiled")),t.dispatchAction({type:"changeMagicType",currentType:u,newOption:a,newTitle:o,featureName:"magicType"})}},t}(Jq),pX={line:function(e,t,n,r){if("bar"===e)return l["I"]({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return l["I"]({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===fX;if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),l["I"]({id:t,stack:i?"":fX},r.get(["option","stack"])||{},!0)}};A_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));var gX=dX,vX=new Array(60).join("-"),yX="\t";function mX(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function bX(e){var t=[];return l["k"](e,(function(e,n){var r=e.categoryAxis,i=e.valueAxis,o=i.dim,a=[" "].concat(l["H"](e.series,(function(e){return e.name}))),s=[r.model.getCategories()];l["k"](e.series,(function(e){var t=e.getRawData();s.push(e.getRawData().mapArray(t.mapDimension(o),(function(e){return e})))}));for(var u=[a.join(yX)],c=0;c<s[0].length;c++){for(var f=[],h=0;h<s.length;h++)f.push(s[h][c]);u.push(f.join(yX))}t.push(u.join("\n"))})),t.join("\n\n"+vX+"\n\n")}function _X(e){return l["H"](e,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+yX:"")+r.join(yX))})),n.join("\n")})).join("\n\n"+vX+"\n\n")}function xX(e){var t=mX(e);return{value:l["n"]([bX(t.seriesGroupByCategoryAxis),_X(t.other)],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+vX+"\n\n"),meta:t.meta}}function wX(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function SX(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(yX)>=0)return!0}var kX=new RegExp("["+yX+"]+","g");function EX(e){for(var t=e.split(/\n+/g),n=wX(t.shift()).split(kX),r=[],i=l["H"](n,(function(e){return{name:e,data:[]}})),o=0;o<t.length;o++){var a=wX(t[o]).split(kX);r.push(a.shift());for(var s=0;s<a.length;s++)i[s]&&(i[s].data[o]=a[s])}return{series:i,categories:r}}function OX(e){for(var t=e.split(/\n+/g),n=wX(t.shift()),r=[],i=0;i<t.length;i++){var o=wX(t[i]);if(o){var a=o.split(kX),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}function CX(e,t){var n=e.split(new RegExp("\n*"+vX+"\n*","g")),r={series:[]};return l["k"](n,(function(e,n){if(SX(e)){var i=EX(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=OX(e);r.series.push(i)}})),r}var AX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=r.get("lang")||[];o.innerHTML=a[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),u=document.createElement("textarea");s.style.cssText="overflow:auto";var c=r.get("optionToContent"),f=r.get("contentToOption"),h=xX(e);if(l["w"](c)){var d=c(t.getOption());l["C"](d)?s.innerHTML=d:l["v"](d)&&s.appendChild(d)}else{u.readOnly=r.get("readOnly");var p=u.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=r.get("textColor"),p.borderColor=r.get("textareaBorderColor"),p.backgroundColor=r.get("textareaColor"),u.value=h.value,s.appendChild(u)}var g=h.meta,v=document.createElement("div");v.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),b=document.createElement("div");y+=";background-color:"+r.get("buttonColor"),y+=";color:"+r.get("buttonTextColor");var _=this;function x(){n.removeChild(i),_._dom=null}ee(m,"click",x),ee(b,"click",(function(){if(null==f&&null!=c||null!=f&&null==c)x();else{var e;try{e=l["w"](f)?f(s,t.getOption()):CX(u.value,g)}catch(n){throw x(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),x()}})),m.innerHTML=a[1],b.innerHTML=a[2],b.style.cssText=m.style.cssText=y,!r.get("readOnly")&&v.appendChild(b),v.appendChild(m),i.appendChild(o),i.appendChild(s),i.appendChild(v),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){var t={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return t},t}(Jq);function TX(e,t){return l["H"](e,(function(e,n){var r=t&&t[n];if(l["A"](r)&&!l["t"](r)){var i=l["A"](e)&&!l["t"](e);i||(e={value:e});var o=null!=r.name&&null==e.name;return e=l["i"](e,r),o&&delete e.name,e}return e}))}A_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];l["k"](e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var i=r.get("data");n.push({name:e.name,data:TX(e.data,i)})}else n.push(l["m"]({type:"scatter"},e))})),t.mergeOption(l["i"]({series:n},e.newOption))}));var PX=AX,MX=l["k"],DX=Di();function IX(e,t){var n=NX(e);MX(t,(function(t,r){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(t)}function LX(e){var t=NX(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return MX(n,(function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n],e){r[n]=e;break}})),r}function RX(e){DX(e).snapshots=null}function jX(e){return NX(e).length}function NX(e){var t=DX(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var BX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){RX(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}(Jq);A_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var FX=BX,zX=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],UX=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=VX(t,e);Object(l["k"])(GX,(function(e,t){(!n||!n.include||Object(l["r"])(n.include,t)>=0)&&e(i,r._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=XX[e.brushType](0,n,t);e.__rangeOffset={offset:KX[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){Object(l["k"])(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&Object(l["k"])(r.coordSyses,(function(r){var i=XX[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){Object(l["k"])(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=XX[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?KX[e.brushType](r.values,i.offset,ZX(r.xyMinMax,i.xyMinMax)):r.values}}),this)},e.prototype.makePanelOpts=function(e,t){return Object(l["H"])(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:OB(r),isTargetByCursor:AB(r,e,n.coordSysModel),getLinearBrushOtherExtent:CB(r)}}))},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&Object(l["r"])(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=VX(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<WX.length;s++)if(WX[s](r,o))return o}return!0},e}();function HX(e){return e[0]>e[1]&&e.reverse(),e}function VX(e,t){return Li(e,t,{includeMainTypes:zX})}var GX={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=Object(l["f"])(),a={},s={};(n||r||i)&&(Object(l["k"])(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),a[t.id]=!0})),Object(l["k"])(r,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),Object(l["k"])(i,(function(e){o.set(e.id,e),a[e.id]=!0,s[e.id]=!0})),o.each((function(e){var i=e.coordinateSystem,o=[];Object(l["k"])(i.getCartesians(),(function(e,t){(Object(l["r"])(n,e.getAxis("x").model)>=0||Object(l["r"])(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:qX.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){Object(l["k"])(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:qX.geo})}))}},WX=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],qX={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Sv(e)),t}},XX={lineX:Object(l["h"])(YX,0),lineY:Object(l["h"])(YX,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[HX([i[0],o[0]]),HX([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=Object(l["H"])(n,(function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}));return{values:o,xyMinMax:i}}};function YX(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=HX(Object(l["H"])([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))}))),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var KX={lineX:Object(l["h"])($X,0),lineY:Object(l["h"])($X,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Object(l["H"])(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function $X(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function ZX(e,t){var n=JX(e),r=JX(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function JX(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var QX=UX,eY=l["k"],tY=Ci("toolbox-dataZoom_"),nY=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new EB(n.getZr()),this._brushController.on("brush",l["c"](this._onBrush,this)).mount()),aY(e,t,this,r,n),oY(e,t)},t.prototype.onclick=function(e,t,n){rY[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new QX(iY(this.model),r,{include:["grid"]});i.matchOutputRanges(t,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}})),IX(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),s=o.model,l=a(e,s,r),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=cN(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)})),r}},t.prototype._dispatchZoomAction=function(e){var t=[];eY(e,(function(e,n){t.push(l["d"](e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){var t={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return t},t}(Jq),rY={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(LX(this.ecModel))}};function iY(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function oY(e,t){e.setIconStatus("back",jX(t)>1?"emphasis":"normal")}function aY(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new QX(iY(e),t,{include:["grid"]}),s=a.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}_f("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=iY(r),a=Li(e,o);return eY(a.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),eY(a.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),i}function s(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:tY+t+o};a[n]=o,i.push(a)}}));var sY=nY;function lY(e){e.registerComponentModel(rX),e.registerComponentView(lX),eX("saveAsImage",cX),eX("magicType",gX),eX("dataView",PX),eX("dataZoom",sY),eX("restore",FX),z_(Zq)}var uY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}($c),cY=uY;function fY(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function hY(e){if(s["a"].domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var dY=hY(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),pY=hY(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function gY(e,t){if(!e)return t;t=kc(t,!0);var n=e.indexOf(t);return e=-1===n?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function vY(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?t?n[t]:n:null}var yY=gY(pY,"transition"),mY=gY(dY,"transform"),bY="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(s["a"].transform3dSupported?"will-change:transform;":"");function _Y(e){return e="left"===e?"right":"right"===e?"left":"top"===e?"bottom":"top",e}function xY(e,t,n){if(!Object(l["C"])(n)||"inside"===n)return"";var r=e.get("backgroundColor"),i=e.get("borderWidth");t=Dc(t);var o,a=_Y(n),s=Math.max(1.5*Math.round(i),6),u="",c=mY+":";Object(l["r"])(["left","right"],a)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var f=o*Math.PI/180,h=s+i,d=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),p=Math.round(100*((d-Math.SQRT2*i)/2+Math.SQRT2*i-(d-h)/2))/100;u+=";"+a+":-"+p+"px";var g=t+" solid "+i+"px;",v=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",u+";"+c+";","border-bottom:"+g,"border-right:"+g,"background-color:"+r+";"];return'<div style="'+v.join("")+'"></div>'}function wY(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=s["a"].transformSupported?","+mY+r:",left"+r+",top"+r),yY+":"+i}function SY(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!s["a"].transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=s["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+mY+":"+a+";":[["top",0],["left",0],[dY,a]]}function kY(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(l["k"])(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}function EY(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),u=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),f=e.getModel("textStyle"),h=lp(e,"html"),d=u+"px "+c+"px "+a+"px "+s;return r.push("box-shadow:"+d),t&&i&&r.push(wY(i,n)),o&&r.push("background-color:"+o),Object(l["k"])(["width","color","radius"],(function(t){var n="border-"+t,i=kc(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))})),r.push(kY(f)),null!=h&&r.push("padding:"+Ec(h).join("px ")+"px"),r.join(";")+";"}function OY(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&B(e,a,n,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var CY=function(){function e(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,s["a"].wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=e.getZr(),i=t.appendTo,o=i&&(Object(l["C"])(i)?document.querySelector(i):Object(l["v"])(i)?i:Object(l["w"])(i)&&i(e.getDom()));OY(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),(o||e.getDom()).appendChild(n),this._api=e,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=r.handler,n=r.painter.getViewportRoot();J(n,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),n=vY(t,"position"),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=bY+EY(e,!this._firstShow,this._longHide)+SY(i[0],i[1],!0)+"border-color:"+Dc(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if(Object(l["C"])(i)&&"item"===n.get("trigger")&&!fY(n)&&(a=xY(n,r,i)),Object(l["C"])(e))o.innerHTML=e+a;else if(e){o.innerHTML="",Object(l["t"])(e)||(e=[e]);for(var s=0;s<e.length;s++)Object(l["v"])(e[s])&&e[s].parentNode!==o&&o.appendChild(e[s]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}}else o.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},e.prototype.moveTo=function(e,t){var n=this._styleCoord;if(OY(n,this._zr,this._container,e,t),null!=n[0]&&null!=n[1]){var r=this.el.style,i=SY(n[0],n[1]);Object(l["k"])(i,(function(e){r[e[0]]=e[1]}))}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",s["a"].transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Object(l["c"])(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},e}(),AY=CY,TY=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),DY(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,n,r,i){var o=this;l["A"](e)&&If(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new Os({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:lp(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),l["k"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){o.el.style[e]=n.get(e)})),l["k"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){o.el.style[e]=a.get(e)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=MY(e.style);return[t.width+n.left+n.right,t.height+n.top+n.bottom]},e.prototype.moveTo=function(e,t){var n=this.el;if(n){var r=this._styleCoord;DY(r,this._zr,e,t),e=r[0],t=r[1];var i=n.style,o=PY(i.borderWidth||0),a=MY(i);n.x=e+o+a.left,n.y=t+o+a.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(l["c"](this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function PY(e){return Math.max(0,e)}function MY(e){var t=PY(e.shadowBlur||0),n=PY(e.shadowOffsetX||0),r=PY(e.shadowOffsetY||0);return{left:PY(t-n),right:PY(t+n),top:PY(t-r),bottom:PY(t+r)}}function DY(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var IY=TY,LY=new ls({shape:{x:-1,y:-1,width:2,height:2}}),RY=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){if(!s["a"].node&&t.getDom()){var n=e.getComponent("tooltip"),r=this._renderMode=Ui(n.get("renderMode"));this._tooltipContent="richText"===r?new IY(t):new AY(t,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},t.prototype.render=function(e,t,n){if(!s["a"].node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?Jv(this,"_updatePosition",50,"fixRate"):Qv(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,t=e.get("triggerOn");uG("itemTooltip",this._api,Object(l["c"])((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!s["a"].node&&n.getDom()){var i=NY(r,n);this._ticket="";var o=r.dataByCoordSys,a=HY(r,t,n);if(a){var l=a.el.getBoundingRect().clone();l.applyTransform(a.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=LY;u.x=r.x,u.y=r.y,u.update(),Cs(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var c=mG(r,t),f=c.point[0],h=c.point[1];null!=f&&null!=h&&this._tryShow({offsetX:f,offsetY:h,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(NY(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData(),u=jY([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},t.prototype._tryShow=function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,e);else if(n){var o,a,s=Cs(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,qy(n,(function(e){return null!=Cs(e).dataIndex?(o=e,!0):null!=Cs(e).tooltipConfig?(a=e,!0):void 0}),!0),o?this._showSeriesItemTooltip(e,o,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=Object(l["c"])(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=jY([t.tooltipOption],r),a=this._renderMode,s=[],u=Yd("section",{blocks:[],noHeader:!0}),c=[],f=new up;Object(l["k"])(e,(function(e){Object(l["k"])(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=YV(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),h=Yd("section",{header:o,noHeader:!Object(l["T"])(o),sortBlocks:!0,blocks:[]});u.blocks.push(h),Object(l["k"])(e.seriesDataIndices,(function(u){var d=n.getSeriesByIndex(u.seriesIndex),p=u.dataIndexInside,g=d.getDataParams(p);if(!(g.dataIndex<0)){g.axisDim=e.axisDim,g.axisIndex=e.axisIndex,g.axisType=e.axisType,g.axisId=e.axisId,g.axisValue=cA(t.axis,{value:i}),g.axisValueLabel=o,g.marker=f.makeTooltipMarker("item",Dc(g.color),a);var v=id(d.formatTooltip(p,!0,null)),y=v.frag;if(y){var m=jY([d],r).get("valueFormatter");h.blocks.push(m?Object(l["m"])({valueFormatter:m},y):y)}v.text&&c.push(v.text),s.push(g)}}))}}))})),u.blocks.reverse(),c.reverse();var h=t.position,d=o.get("order"),p=ep(u,f,a,d,n.get("useUTC"),o.get("textStyle"));p&&c.unshift(p);var g="richText"===a?"\n\n":"<br/>",v=c.join(g);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",i[0],i[1],h,null,f)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=Cs(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,u=i.dataIndex,c=i.dataType,f=s.getData(c),h=this._renderMode,d=e.positionDefault,p=jY([f.getItemModel(u),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=p.get("trigger");if(null==g||"item"===g){var v=s.getDataParams(u,c),y=new up;v.marker=y.makeTooltipMarker("item",Dc(v.color),h);var m=id(s.formatTooltip(u,!1,c)),b=p.get("order"),_=p.get("valueFormatter"),x=m.frag,w=x?ep(_?Object(l["m"])({valueFormatter:_},x):x,y,h,b,r.get("useUTC"),p.get("textStyle")):m.text,S="item_"+s.name+"_"+u;this._showOrMove(p,(function(){this._showTooltipContent(p,w,v,S,e.offsetX,e.offsetY,e.position,e.target,y)})),n({type:"showTip",dataIndexInside:u,dataIndex:f.getRawIndex(u),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r="html"===this._renderMode,i=Cs(t),o=i.tooltipConfig,a=o.option||{},s=a.encodeHTMLContent;if(Object(l["C"])(a)){var u=a;a={content:u,formatter:u},s=!0}s&&r&&a.content&&(a=Object(l["d"])(a),a.content=W(a.content));var c=[a],f=this._ecModel.getComponent(i.componentMainType,i.componentIndex);f&&c.push(f),c.push({formatter:a.content});var h=e.positionDefault,d=jY(c,this._tooltipModel,h?{position:h}:null),p=d.get("content"),g=Math.random()+"",v=new up;this._showOrMove(d,(function(){var n=Object(l["d"])(d.get("formatterParams")||{});this._showTooltipContent(d,p,n,g,e.offsetX,e.offsetY,e.position,t,v)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent;c.setEnterable(e.get("enterable"));var f=e.get("formatter");a=a||e.get("position");var h=t,d=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")),p=d.color;if(f)if(Object(l["C"])(f)){var g=e.ecModel.get("useUTC"),v=Object(l["t"])(n)?n[0]:n,y=v&&v.axisType&&v.axisType.indexOf("time")>=0;h=f,y&&(h=oc(v.axisValue,h,g)),h=Tc(h,n,!0)}else if(Object(l["w"])(f)){var m=Object(l["c"])((function(t,r){t===this._ticket&&(c.setContent(r,u,e,p,a),this._updatePosition(e,a,i,o,c,n,s))}),this);this._ticket=r,h=f(n,r,m)}else h=f;c.setContent(h,u,e,p,a),c.show(e,p),this._updatePosition(e,a,i,o,c,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||Object(l["t"])(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(l["t"])(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),f=e.get("align"),h=e.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Object(l["w"])(t)&&(t=t([n,r],o,i.el,d,{viewSize:[s,u],contentSize:c.slice()})),Object(l["t"])(t))n=Br(t[0],s),r=Br(t[1],u);else if(Object(l["A"])(t)){var p=t;p.width=c[0],p.height=c[1];var g=zc(p,{width:s,height:u});n=g.x,r=g.y,f=null,h=null}else if(Object(l["C"])(t)&&a){var v=zY(t,d,c,e.get("borderWidth"));n=v[0],r=v[1]}else{v=BY(n,r,i,s,u,f?null:20,h?null:20);n=v[0],r=v[1]}if(f&&(n-=UY(f)?c[0]/2:"right"===f?c[0]:0),h&&(r-=UY(h)?c[1]/2:"bottom"===h?c[1]:0),fY(e)){v=FY(n,r,i,s,u);n=v[0],r=v[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&Object(l["k"])(n,(function(n,o){var a=n.dataByAxis||[],s=e[o]||{},u=s.dataByAxis||[];i=i&&a.length===u.length,i&&Object(l["k"])(a,(function(e,n){var o=u[n]||{},a=e.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===s.length,i&&Object(l["k"])(a,(function(e,t){var n=s[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),r&&Object(l["k"])(e.seriesDataIndices,(function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!s["a"].node&&t.getDom()&&(Qv(this,"_updatePosition"),this._tooltipContent.dispose(),gG("itemTooltip",t))},t.type="tooltip",t}(Op);function jY(e,t,n){var r,i=t.ecModel;n?(r=new Cu(n,i,i),r=new Cu(t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof Cu&&(a=a.get("tooltip",!0)),Object(l["C"])(a)&&(a={formatter:a}),a&&(r=new Cu(a,r,i)))}return r}function NY(e,t){return e.dispatchAction||Object(l["c"])(t.dispatchAction,t)}function BY(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>r?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function FY(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function zY(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}function UY(e){return"center"===e||"middle"===e}function HY(e,t,n){var r=Ri(e).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=Bi(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(t){var n=Cs(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0})),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var VY=RY;function GY(e){z_(MG),e.registerComponentModel(cY),e.registerComponentView(VY),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l["L"]),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l["L"])}var WY=["rect","polygon","keep","clear"];function qY(e,t){var n=ci(e?e.brush:[]);if(n.length){var r=[];l["k"](n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(r=r.concat(t))}));var i=e&&e.toolbox;l["t"](i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,r),XY(s),t&&!s.length&&s.push.apply(s,WY)}}function XY(e){var t={};l["k"](e,(function(e){t[e]=1})),e.length=0,l["k"](t,(function(t,n){e.push(n)}))}var YY=l["k"];function KY(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function $Y(e,t,n){var r={};return YY(t,(function(t){var o=r[t]=i();YY(e[t],(function(e,r){if(yL.isValidType(r)){var i={type:r,visual:e};n&&n(i,t),o[r]=new yL(i),"opacity"===r&&(i=l["d"](i),i.type="colorAlpha",o.__hidden.__alphaForOpacity=new yL(i))}}))})),r;function i(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function ZY(e,t,n){var r;l["k"](n,(function(e){t.hasOwnProperty(e)&&KY(t[e])&&(r=!0)})),r&&l["k"](n,(function(n){t.hasOwnProperty(n)&&KY(t[n])?e[n]=l["d"](t[n]):delete e[n]}))}function JY(e,t,n,r,i,o){var a,s={};function u(e){return zy(n,a,e)}function c(e,t){Hy(n,a,e,t)}function f(e,l){a=null==o?e:l;var f=n.getRawDataItem(a);if(!f||!1!==f.visualMap)for(var h=r.call(i,e),d=t[h],p=s[h],g=0,v=p.length;g<v;g++){var y=p[g];d[y]&&d[y].applyVisual(e,u,c)}}l["k"](e,(function(e){var n=yL.prepareVisualTypes(t[e]);s[e]=n})),null==o?n.each(f):n.each([o],f)}function QY(e,t,n,r){var i={};return l["k"](e,(function(e){var n=yL.prepareVisualTypes(t[e]);i[e]=n})),{progress:function(e,o){var a,s;function l(e){return zy(o,s,e)}function u(e,t){Hy(o,s,e,t)}null!=r&&(a=o.getDimensionIndex(r));var c=o.getStore();while(null!=(s=e.next())){var f=o.getRawDataItem(s);if(!f||!1!==f.visualMap)for(var h=null!=r?c.get(a,s):s,d=n(h),p=t[d],g=i[d],v=0,y=g.length;v<y;v++){var m=g[v];p[m]&&p[m].applyVisual(h,l,u)}}}}}function eK(e){var t=e.brushType,n={point:function(r){return tK[t].point(r,n,e)},rect:function(r){return tK[t].rect(r,n,e)}};return n}var tK={lineX:nK(0),lineY:nK(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&QP(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var i=e.x,o=e.y,a=e.width,s=e.height,l=r[0];return!!(QP(r,i,o)||QP(r,i+a,o)||QP(r,i,o+s)||QP(r,i+a,o+s)||Ae.create(e).contain(l[0],l[1])||Dv(i,o,i+a,o,r)||Dv(i,o,i,o+s,r)||Dv(i+a,o,i+a,o+s,r)||Dv(i,o+s,i+a,o+s,r))||void 0}}};function nK(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var i=r.range,o=t[e];return rK(o,i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),rK(s[0],a)||rK(s[1],a)||rK(a[0],s)||rK(a[1],s)}}}}function rK(e,t){return t[0]<=e&&e<=t[1]}var iK=["inBrush","outOfBrush"],oK="__ecBrushSelect",aK="__ecInBrushSelectEvent";function sK(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new QX(t.option,e);n.setInputRanges(t.areas,e)}))}function lK(e,t,n){var r,i,o=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),sK(e),e.eachComponent({mainType:"brush"},(function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:l["d"](t.areas),selected:[]};o.push(a);var s=t.option,u=s.brushLink,c=[],f=[],h=[],d=!1;n||(r=s.throttleType,i=s.throttleDelay);var p=l["H"](t.areas,(function(e){var t=dK[e.brushType],n=l["i"]({boundingRect:t?t(e):void 0},e);return n.selectors=eK(n),n})),g=$Y(t.option,iK,(function(e){e.mappingMethod="fixed"}));function v(e){return"all"===u||!!c[e]}function y(e){return!!e.length}function m(e,t){var n=e.coordinateSystem;d=d||n.hasAxisBrushed(),v(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(f[t]=1)}))}function b(n,r,i){if(n.brushSelector&&!hK(t,r)&&(l["k"](p,(function(r){t.brushTargetManager.controlSeries(r,n,e)&&i.push(r),d=d||y(i)})),v(r)&&y(i))){var o=n.getData();o.each((function(e){fK(n,i,o,e)&&(f[e]=1)}))}}l["t"](u)&&l["k"](u,(function(e){c[e]=1})),e.eachSeries((function(e,t){var n=h[t]=[];"parallel"===e.subType?m(e,t):b(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var r=h[t],i=e.getData(),o=v(t)?function(e){return f[e]?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return fK(e,r,i,t)?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"};(v(t)?d:y(r))&&JY(iK,g,i,o)}))})),uK(t,r,i,o,n)}function uK(e,t,n,r,i){if(i){var o=e.getZr();if(!o[aK]){o[oK]||(o[oK]=cK);var a=Jv(o,oK,n,t);a(e,r)}}}function cK(e,t){if(!e.isDisposed()){var n=e.getZr();n[aK]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[aK]=!1}}function fK(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e.brushSelector(r,n,a.selectors,a))return!0}}function hK(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(l["t"](n)?l["r"](n,t)<0:t!==n)}var dK={rect:function(e){return pK(e.range)},polygon:function(e){for(var t,n=e.range,r=0,i=n.length;r<i;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&pK(t)}};function pK(e){return new Ae(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var gK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new EB(t.getZr())).on("brush",l["c"](this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){sK(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:l["d"](n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:l["d"](n),$from:t})},t.type="brush",t}(Op),vK=gK,yK="#ddd",mK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return a(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&ZY(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:yK},r.hasOwnProperty("liftZ")||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=l["H"](e,(function(e){return bK(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=bK(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}($c);function bK(e,t){return l["I"]({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Cu(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var _K=mK,xK=["rect","polygon","lineX","lineY","keep","clear"],wK=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,n){var r,i,o;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,i=e.brushOption.brushMode||"single",o=o||!!e.areas.length})),this._brushType=r,this._brushMode=i,l["k"](e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===i:"clear"===t?o:t===r)?"emphasis":"normal")}))},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return l["k"](e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},t.getDefaultOption=function(e){var t={show:!0,type:xK.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])};return t},t}(Jq),SK=wK;function kK(e){e.registerComponentView(vK),e.registerComponentModel(_K),e.registerPreprocessor(qY),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,lK),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},l["L"]),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},l["L"]),eX("brush",SK)}var EK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(t,e),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}($c),OK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,i=e.getModel("textStyle"),o=e.getModel("subtextStyle"),a=e.get("textAlign"),s=l["P"](e.get("textBaseline"),e.get("textVerticalAlign")),u=new Os({style:ru(i,{text:e.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),f=e.get("subtext"),h=new Os({style:ru(o,{text:f,fill:o.getTextColor(),y:c.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),p=e.get("sublink"),g=e.get("triggerEvent",!0);u.silent=!d&&!g,h.silent=!p&&!g,d&&u.on("click",(function(){Ic(d,"_"+e.get("target"))})),p&&h.on("click",(function(){Ic(p,"_"+e.get("subtarget"))})),Cs(u).eventData=Cs(h).eventData=g?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(u),f&&r.add(h);var v=r.getBoundingRect(),y=e.getBoxLayoutParams();y.width=v.width,y.height=v.height;var m=zc(y,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));a||(a=e.get("left")||e.get("right"),"middle"===a&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||(s=e.get("top")||e.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),r.x=m.x,r.y=m.y,r.markRedraw();var b={align:a,verticalAlign:s};u.setStyle(b),h.setStyle(b),v=r.getBoundingRect();var _=m.margin,x=e.getItemStyle(["color","opacity"]);x.fill=e.get("backgroundColor");var w=new ls({shape:{x:v.x-_[3],y:v.y-_[0],width:v.width+_[1]+_[3],height:v.height+_[0]+_[2],r:e.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});r.add(w)}},t.type="title",t}(Op);function CK(e){e.registerComponentModel(EK),e.registerComponentView(OK)}var AK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,i=this._names=[];"category"===r?(e=[],Object(l["k"])(n,(function(t,n){var r,o=ki(di(t),"");Object(l["A"])(t)?(r=Object(l["d"])(t),r.value=n):r=n,e.push(r),i.push(o)}))):e=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number",a=this._data=new QS([{name:"value",type:o}],this);a.initData(e,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}($c),TK=AK,PK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="timeline.slider",t.defaultOption=Du(TK.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(TK);Object(l["K"])(PK,rd.prototype);var MK=PK,DK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="timeline",t}(Op),IK=DK,LK=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r)||this;return o.type=i||"value",o}return a(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(VA),RK=LK,jK=Math.PI,NK=Di(),BK=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){var t=a.scale.getLabel({value:e});return Yd("nameValue",{noName:!0,value:t})},Object(l["k"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,i,a,e)}),this),this._renderAxisLabel(r,o,a,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r=e.get(["label","position"]),i=e.get("orient"),o=zK(e,t);n=null==r||"auto"===r?"horizontal"===i?o.y+o.height/2<t.getHeight()/2?"-":"+":o.x+o.width/2<t.getWidth()/2?"+":"-":Object(l["C"])(r)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][r]:r;var a,s,u,c={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},f={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:jK/2},d="vertical"===i?o.height:o.width,p=e.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,m=v+y,b=e.get(["label","rotate"])||0;b=b*jK/180;var _=p.get("position",!0),x=g&&p.get("showPlayBtn",!0),w=g&&p.get("showPrevBtn",!0),S=g&&p.get("showNextBtn",!0),k=0,E=d;"left"===_||"bottom"===_?(x&&(a=[0,0],k+=m),w&&(s=[k,0],k+=m),S&&(u=[E-v,0],E-=m)):(x&&(a=[E-v,0],E-=m),w&&(s=[0,0],k+=m),S&&(u=[E-v,0],E-=m));var O=[k,E];return e.get("inverse")&&O.reverse(),{viewRect:o,mainLength:d,orient:i,rotation:h[i],labelRotation:b,labelPosOpt:n,labelAlign:e.get(["label","align"])||c[i],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||f[i],playPosition:a,prevBtnPosition:s,nextBtnPosition:u,axisExtent:O,controlSize:v,controlGap:y}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var o=le(),a=i.x,s=i.y+i.height;he(o,o,[-a,-s]),de(o,o,-jK/2),he(o,o,[a,s]),i=i.clone(),i.applyTransform(o)}var u=y(i),c=y(n.getBoundingRect()),f=y(r.getBoundingRect()),h=[n.x,n.y],d=[r.x,r.y];d[0]=h[0]=u[0][0];var p=e.labelPosOpt;if(null==p||Object(l["C"])(p)){var g="+"===p?0:1;m(h,c,u,1,g),m(d,f,u,1,1-g)}else{g=p>=0?0:1;m(h,c,u,1,g),d[1]=h[1]+p}function v(e){e.originX=u[0][0]-e.x,e.originY=u[1][0]-e.y}function y(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function m(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.setPosition(h),r.setPosition(d),n.rotation=r.rotation=e.rotation,v(n),v(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),i=FK(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new RK("value",i,e.axisExtent,r);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new Sr;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new Rg({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Object(l["m"])({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(o);var a=this._progressLine=new Rg({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Object(l["i"])({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(l["k"])(a,(function(e){var a=n.dataToCoord(e.value),s=o.getItemModel(e.value),u=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),f=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:Object(l["c"])(i._changeTimeline,i,e.value)},d=HK(s,u,t,h);d.ensureState("emphasis").style=c.getItemStyle(),d.ensureState("progress").style=f.getItemStyle(),Cl(d);var p=Cs(d);s.get("tooltip")?(p.dataIndex=e.value,p.dataModel=r):p.dataIndex=p.dataModel=null,i._tickSymbols.push(d)}))},t.prototype._renderAxisLabel=function(e,t,n,r){var i=this,o=n.getLabelModel();if(o.get("show")){var a=r.getData(),s=n.getViewLabels();this._tickLabels=[],Object(l["k"])(s,(function(r){var o=r.tickValue,s=a.getItemModel(o),u=s.getModel("label"),c=s.getModel(["emphasis","label"]),f=s.getModel(["progress","label"]),h=n.dataToCoord(r.tickValue),d=new Os({x:h,y:0,rotation:e.labelRotation-e.rotation,onclick:Object(l["c"])(i._changeTimeline,i,o),silent:!1,style:ru(u,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});d.ensureState("emphasis").style=ru(c),d.ensureState("progress").style=ru(f),t.add(d),Cl(d),NK(d).dataIndex=o,i._tickLabels.push(d)}))}},t.prototype._renderControl=function(e,t,n,r){var i=e.controlSize,o=e.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),u=r.getPlayState(),c=r.get("inverse",!0);function f(e,n,u,c){if(e){var f=ar(Object(l["P"])(r.get(["controlStyle",n+"BtnSize"]),i),i),h=[0,-f/2,f,f],d=UK(r,n+"Icon",h,{x:e[0],y:e[1],originX:i/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:u});d.ensureState("emphasis").style=s,t.add(d),Cl(d)}}f(e.nextBtnPosition,"next",Object(l["c"])(this._changeTimeline,this,c?"-":"+")),f(e.prevBtnPosition,"prev",Object(l["c"])(this._changeTimeline,this,c?"+":"-")),f(e.playPosition,u?"stop":"play",Object(l["c"])(this._handlePlayClick,this,!u),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,u={onCreate:function(e){e.draggable=!0,e.drift=Object(l["c"])(s._handlePointerDrag,s),e.ondragend=Object(l["c"])(s._handlePointerDragend,s),VK(e,s._progressLine,o,n,r,!0)},onUpdate:function(e){VK(e,s._progressLine,o,n,r)}};this._currentPointer=HK(a,a,this._mainGroup,{},this._currentPointer,u)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=zr(r.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var o=this._progressLine;o&&(o.shape.x2=n,o.dirty());var a=this._findNearestTick(n),s=this.model;(t||a!==s.getCurrentIndex()&&s.get("realtime"))&&this._changeTimeline(a)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var t=e.model;e._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){var t=this._mainGroup.getLocalTransform();return kv(e,t,!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=o)})),t},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),t=this._tickSymbols,n=this._tickLabels;if(t)for(var r=0;r<t.length;r++)t&&t[r]&&t[r].toggleState("progress",r<e);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",NK(n[r]).dataIndex<=e)},t.type="timeline.slider",t}(IK);function FK(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new OC({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new UC({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new TC}}function zK(e,t){return zc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function UK(e,t,n,r){var i=r.style,o=Mv(e.get(["controlStyle",t]),r||{},new Ae(n[0],n[1],n[2],n[3]));return i&&o.setStyle(i),o}function HK(e,t,n,r,i,o){var a=t.get("color");if(i)i.setColor(a),n.add(i),o&&o.onUpdate(i);else{var s=e.get("symbol");i=am(s,-1,-1,2,2,a),i.setStyle("strokeNoScale",!0),n.add(i),o&&o.onCreate(i)}var u=t.getItemStyle(["color"]);i.setStyle(u),r=Object(l["I"])({rectHover:!0,z2:100},r,!0);var c=sm(e.get("symbolSize"));r.scaleX=c[0]/2,r.scaleY=c[1]/2;var f=lm(e.get("symbolOffset"),c);f&&(r.x=(r.x||0)+f[0],r.y=(r.y||0)+f[1]);var h=e.get("symbolRotate");return r.rotation=(h||0)*Math.PI/180||0,i.attr(r),i.updateTransform(),i}function VK(e,t,n,r,i,o){if(!e.dragging){var a=i.getModel("checkpointStyle"),s=r.dataToCoord(i.getData().get("value",n));if(o||!a.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}var GK=BK;function WK(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,n){var r=t.getComponent("timeline");return r&&null!=e.currentIndex&&(r.setCurrentIndex(e.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),Object(l["i"])({currentIndex:r.option.currentIndex},e)})),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))}function qK(e){var t=e&&e.timeline;l["t"](t)||(t=t?[t]:[]),l["k"](t,(function(e){e&&XK(e)}))}function XK(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),YK(e),KK(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});KK(r,"position")||(r.position=e.controlPosition),"none"!==r.position||KK(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}l["k"](e.data||[],(function(e){l["A"](e)&&!l["t"](e)&&(!KK(e,"value")&&KK(e,"name")&&(e.value=e.name),YK(e))}))}function YK(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},i=r.normal||(r.normal={}),o={normal:1,emphasis:1};l["k"](r,(function(e,t){o[t]||KK(i,t)||(i[t]=e)})),n.label&&!KK(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function KK(e,t){return e.hasOwnProperty(t)}function $K(e){e.registerComponentModel(MK),e.registerComponentView(GK),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),WK(e),e.registerPreprocessor(qK)}function ZK(e,t){if(!e)return!1;for(var n=Object(l["t"])(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}function JK(e){fi(e,"label",["show"])}var QK=Di(),e$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(s["a"].node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var i=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),o=QK(e)[i];n&&n.data?(o?o._mergeOption(n,t,!0):(r&&JK(n),l["k"](n.data,(function(e){e instanceof Array?(JK(e[0]),JK(e[1])):JK(e)})),o=this.createMarkerModelFromSeries(n,this,t),l["m"](o,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),QK(e)[i]=o):QK(e)[i]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Yd("section",{header:this.name,blocks:[Yd("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=rd.prototype.getDataParams.call(this,e,t),r=this.__hostSeries;return r&&(n.seriesId=r.id,n.seriesName=r.name,n.seriesType=r.subType),n},t.getMarkerModelFromSeries=function(e,t){return QK(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}($c);l["K"](e$,rd.prototype);var t$=e$,n$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(t$),r$=n$;function i$(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function o$(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function a$(e,t,n,r,i,o){var a=[],s=ck(t,r),l=s?t.getCalculationInfo("stackResultDimension"):r,u=p$(t,l,e),c=t.indicesOfNearest(l,u)[0];a[i]=t.get(n,c),a[o]=t.get(l,c);var f=t.get(r,c),h=Ur(t.get(r,c));return h=Math.min(h,20),h>=0&&(a[o]=+a[o].toFixed(h)),[a,f]}var s$={min:Object(l["h"])(a$,"min"),max:Object(l["h"])(a$,"max"),average:Object(l["h"])(a$,"average"),median:Object(l["h"])(a$,"median")};function l$(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!o$(t)&&!Object(l["t"])(t.coord)&&Object(l["t"])(i)){var o=u$(t,n,r,e);if(t=Object(l["d"])(t),t.type&&s$[t.type]&&o.baseAxis&&o.valueAxis){var a=Object(l["r"])(i,o.baseAxis.dim),s=Object(l["r"])(i,o.valueAxis.dim),u=s$[t.type](n,o.baseDataDim,o.valueDataDim,a,s);t.coord=u[0],t.value=u[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&Object(l["t"])(i))for(var c=t.coord,f=0;f<2;f++)s$[c[f]]&&(c[f]=p$(n,n.mapDimension(i[f]),c[f]));else t.coord=[];return t}}function u$(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(c$(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function c$(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function f$(e,t){return!(e&&e.containData&&t.coord&&!i$(t))||e.containData(t.coord)}function h$(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!i$(t)&&!i$(n))||e.containZone(t.coord,n.coord)}function d$(e,t){return e?function(e,n,r,i){var o=i<2?e.coord&&e.coord[i]:e.value;return ld(o,t[i])}:function(e,n,r,i){return ld(e.value,t[i])}}function p$(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var g$=Di(),v$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.init=function(){this.markerGroupMap=Object(l["f"])()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each((function(e){g$(e).keep=!1})),t.eachSeries((function(e){var i=t$.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)})),i.each((function(e){!g$(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){g$(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;Object(l["k"])(e,(function(e){var r=t$.getMarkerModelFromSeries(e,n.type);if(r){var i=r.getData();i.eachItemGraphicEl((function(e){e&&(t?hl(e):dl(e))}))}}))},t.type="marker",t}(Op),y$=v$;function m$(e,t,n){var r=t.coordinateSystem;e.each((function(i){var o,a=e.getItemModel(i),s=Br(a.get("x"),n.getWidth()),l=Br(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),c=e.get(r.dimensions[1],i);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(i,o)}))}var b$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=t$.getMarkerModelFromSeries(e,"markPoint");t&&(m$(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,new Tk),c=_$(i,e,t);t.setData(c),m$(t.getData(),e,r),c.each((function(e){var n=c.getItemModel(e),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),u=n.getShallow("symbolKeepAspect");if(Object(l["w"])(r)||Object(l["w"])(i)||Object(l["w"])(o)||Object(l["w"])(s)){var f=t.getRawValue(e),h=t.getDataParams(e);Object(l["w"])(r)&&(r=r(f,h)),Object(l["w"])(i)&&(i=i(f,h)),Object(l["w"])(o)&&(o=o(f,h)),Object(l["w"])(s)&&(s=s(f,h))}var d=n.getModel("itemStyle").getItemStyle(),p=Uy(a,"color");d.fill||(d.fill=p),c.setItemVisual(e,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:u,style:d})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(e){e.traverse((function(e){Cs(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(y$);function _$(e,t,n){var r;r=e?Object(l["H"])(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new QS(r,n),o=Object(l["H"])(n.get("data"),Object(l["h"])(l$,t));e&&(o=Object(l["n"])(o,Object(l["h"])(f$,e)));var a=d$(!!e,r);return i.initData(o,null,a),i}var x$=b$;function w$(e){e.registerComponentModel(r$),e.registerComponentView(x$),e.registerPreprocessor((function(e){ZK(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}var S$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(t$),k$=S$,E$=Di(),O$=function(e,t,n,r){var i,o=e.getData();if(Object(l["t"])(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,u=void 0;if(null!=r.yAxis||null!=r.xAxis)s=t.getAxis(null!=r.yAxis?"y":"x"),u=Object(l["O"])(r.yAxis,r.xAxis);else{var c=u$(r,o,t,e);s=c.valueAxis;var f=fk(o,c.valueDataDim);u=p$(o,f,a)}var h="x"===s.dim?0:1,d=1-h,p=Object(l["d"])(r),g={coord:[]};p.type=null,p.coord=[],p.coord[d]=-1/0,g.coord[d]=1/0;var v=n.get("precision");v>=0&&Object(l["z"])(u)&&(u=+u.toFixed(Math.min(v,20))),p.coord[h]=g.coord[h]=u,i=[p,g,{type:a,valueIndex:r.valueIndex,value:u}]}else i=[]}var y=[l$(e,i[0]),l$(e,i[1]),Object(l["m"])({},i[2])];return y[2].type=y[2].type||null,Object(l["I"])(y[2],y[0]),Object(l["I"])(y[2],y[1]),y};function C$(e){return!isNaN(e)&&!isFinite(e)}function A$(e,t,n,r){var i=1-e,o=r.dimensions[e];return C$(t[i])&&C$(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function T$(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(A$(1,n,r,e)||A$(0,n,r,e)))return!0}return f$(e,t[0])&&f$(e,t[1])}function P$(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=Br(s.get("x"),i.getWidth()),u=Br(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=a.dimensions,f=e.get(c[0],t),h=e.get(c[1],t);o=a.dataToPoint([f,h])}if(Kk(a,"cartesian2d")){var d=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions;C$(e.get(c[0],t))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):C$(e.get(c[1],t))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];e.setItemLayout(t,o)}var M$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=t$.getMarkerModelFromSeries(e,"markLine");if(t){var r=t.getData(),i=E$(t).from,o=E$(t).to;i.each((function(t){P$(i,t,!0,e,n),P$(o,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,new qR);this.group.add(u.group);var c=D$(i,e,t),f=c.from,h=c.to,d=c.line;E$(t).from=f,E$(t).to=h,t.setData(d);var p=t.get("symbol"),g=t.get("symbolSize"),v=t.get("symbolRotate"),y=t.get("symbolOffset");function m(t,n,i){var o=t.getItemModel(n);P$(t,n,i,e,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Uy(a,"color")),t.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(l["P"])(o.get("symbolOffset",!0),y[i?0:1]),symbolRotate:Object(l["P"])(o.get("symbolRotate",!0),v[i?0:1]),symbolSize:Object(l["P"])(o.get("symbolSize"),g[i?0:1]),symbol:Object(l["P"])(o.get("symbol",!0),p[i?0:1]),style:s})}Object(l["t"])(p)||(p=[p,p]),Object(l["t"])(g)||(g=[g,g]),Object(l["t"])(v)||(v=[v,v]),Object(l["t"])(y)||(y=[y,y]),c.from.each((function(e){m(f,e,!0),m(h,e,!1)})),d.each((function(e){var t=d.getItemModel(e).getModel("lineStyle").getLineStyle();d.setItemLayout(e,[f.getItemLayout(e),h.getItemLayout(e)]),null==t.stroke&&(t.stroke=f.getItemVisual(e,"style").fill),d.setItemVisual(e,{fromSymbolKeepAspect:f.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:f.getItemVisual(e,"symbolOffset"),fromSymbolRotate:f.getItemVisual(e,"symbolRotate"),fromSymbolSize:f.getItemVisual(e,"symbolSize"),fromSymbol:f.getItemVisual(e,"symbol"),toSymbolKeepAspect:h.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(e,"symbolOffset"),toSymbolRotate:h.getItemVisual(e,"symbolRotate"),toSymbolSize:h.getItemVisual(e,"symbolSize"),toSymbol:h.getItemVisual(e,"symbol"),style:t})})),u.updateData(d),c.line.eachItemGraphicEl((function(e){Cs(e).dataModel=t,e.traverse((function(e){Cs(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(y$);function D$(e,t,n){var r;r=e?Object(l["H"])(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new QS(r,n),o=new QS(r,n),a=new QS([],n),s=Object(l["H"])(n.get("data"),Object(l["h"])(O$,t,e,n));e&&(s=Object(l["n"])(s,Object(l["h"])(T$,e)));var u=d$(!!e,r);return i.initData(Object(l["H"])(s,(function(e){return e[0]})),null,u),o.initData(Object(l["H"])(s,(function(e){return e[1]})),null,u),a.initData(Object(l["H"])(s,(function(e){return e[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}var I$=M$;function L$(e){e.registerComponentModel(k$),e.registerComponentView(I$),e.registerPreprocessor((function(e){ZK(e.series,"markLine")&&(e.markLine=e.markLine||{})}))}var R$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(t$),j$=R$,N$=Di(),B$=function(e,t,n,r){var i=r[0],o=r[1];if(i&&o){var a=l$(e,i),s=l$(e,o),u=a.coord,c=s.coord;u[0]=Object(l["O"])(u[0],-1/0),u[1]=Object(l["O"])(u[1],-1/0),c[0]=Object(l["O"])(c[0],1/0),c[1]=Object(l["O"])(c[1],1/0);var f=Object(l["J"])([{},a,s]);return f.coord=[a.coord,s.coord],f.x0=a.x,f.y0=a.y,f.x1=s.x,f.y1=s.y,f}};function F$(e){return!isNaN(e)&&!isFinite(e)}function z$(e,t,n,r){var i=1-e;return F$(t[i])&&F$(n[i])}function U$(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return Kk(e,"cartesian2d")?!(!n||!r||!z$(1,n,r,e)&&!z$(0,n,r,e))||h$(e,i,o):f$(e,i)||f$(e,o)}function H$(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=Br(s.get(n[0]),i.getWidth()),u=Br(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),f=e.getValues(["x1","y1"],t),h=a.clampData(c),d=a.clampData(f),p=[];"x0"===n[0]?p[0]=h[0]>d[0]?f[0]:c[0]:p[0]=h[0]>d[0]?c[0]:f[0],"y0"===n[1]?p[1]=h[1]>d[1]?f[1]:c[1]:p[1]=h[1]>d[1]?c[1]:f[1],o=r.getMarkerPosition(p,n,!0)}else{var g=e.get(n[0],t),v=e.get(n[1],t),y=[g,v];a.clampData&&a.clampData(y,y),o=a.dataToPoint(y,!0)}if(Kk(a,"cartesian2d")){var m=a.getAxis("x"),b=a.getAxis("y");g=e.get(n[0],t),v=e.get(n[1],t);F$(g)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):F$(v)&&(o[1]=b.toGlobalCoord(b.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var V$=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],G$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=t$.getMarkerModelFromSeries(e,"markArea");if(t){var r=t.getData();r.each((function(t){var i=Object(l["H"])(V$,(function(i){return H$(r,t,i,e,n)}));r.setItemLayout(t,i);var o=r.getItemGraphicEl(t);o.setShape("points",i)}))}}),this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,{group:new Sr});this.group.add(u.group),this.markKeep(u);var c=W$(i,e,t);t.setData(c),c.each((function(t){var n=Object(l["H"])(V$,(function(n){return H$(c,t,n,e,r)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,u=o.getExtent(),f=s.getExtent(),h=[o.parse(c.get("x0",t)),o.parse(c.get("x1",t))],d=[s.parse(c.get("y0",t)),s.parse(c.get("y1",t))];zr(h),zr(d);var p=!(u[0]>h[1]||u[1]<h[0]||f[0]>d[1]||f[1]<d[0]),g=!p;c.setItemLayout(t,{points:n,allClipped:g});var v=c.getItemModel(t).getModel("itemStyle").getItemStyle(),y=Uy(a,"color");v.fill||(v.fill=y,Object(l["C"])(v.fill)&&(v.fill=Bt["f"](v.fill,.4))),v.stroke||(v.stroke=y),c.setItemVisual(t,"style",v)})),c.diff(N$(u).data).add((function(e){var t=c.getItemLayout(e);if(!t.allClipped){var n=new Ag({shape:{points:t.points}});c.setItemGraphicEl(e,n),u.group.add(n)}})).update((function(e,n){var r=N$(u).data.getItemGraphicEl(n),i=c.getItemLayout(e);i.allClipped?r&&u.group.remove(r):(r?Gl(r,{shape:{points:i.points}},t,e):r=new Ag({shape:{points:i.points}}),c.setItemGraphicEl(e,r),u.group.add(r))})).remove((function(e){var t=N$(u).data.getItemGraphicEl(e);u.group.remove(t)})).execute(),c.eachItemGraphicEl((function(e,n){var r=c.getItemModel(n),i=c.getItemVisual(n,"style");e.useStyle(c.getItemVisual(n,"style")),tu(e,nu(r),{labelFetcher:t,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:Object(l["C"])(i.fill)?Bt["f"](i.fill,1):"#000"}),Il(e,r),Tl(e,null,null,r.get(["emphasis","disabled"])),Cs(e).dataModel=t})),N$(u).data=c,u.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(y$);function W$(e,t,n){var r,i,o=["x0","y0","x1","y1"];if(e){var a=Object(l["H"])(e&&e.dimensions,(function(e){var n=t.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},r),{name:e,ordinalMeta:null})}));i=Object(l["H"])(o,(function(e,t){return{name:e,type:a[t%2].type}})),r=new QS(i,n)}else i=[{name:"value",type:"float"}],r=new QS(i,n);var s=Object(l["H"])(n.get("data"),Object(l["h"])(B$,t,e,n));e&&(s=Object(l["n"])(s,Object(l["h"])(U$,e)));var u=e?function(e,t,n,r){var o=e.coord[Math.floor(r/2)][r%2];return ld(o,i[r])}:function(e,t,n,r){return ld(e.value,i[r])};return r.initData(s,null,u),r.hasItemOption=!0,r}var q$=G$;function X$(e){e.registerComponentModel(j$),e.registerComponentView(q$),e.registerPreprocessor((function(e){ZK(e.series,"markArea")&&(e.markArea=e.markArea||{})}))}var Y$=function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0},K$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),l["t"](t)&&l["k"](t,(function(e,r){l["C"](e)&&(e={type:e}),t[r]=l["I"](e,Y$(n,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider,s=a.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(s)),s.length?t=t.concat(s):i=!0}else i=!0;i&&Ei(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,i=l["f"](),o=l["H"](r,(function(e){return(l["C"](e)||l["z"](e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new Cu(e,this,this.ecModel))}),this);this._data=l["n"](o,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var r=this._data;l["k"](r,(function(e){t[e.get("name")]=!1}))}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;l["k"](e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;l["k"](e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&l["r"](this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}($c),$$=K$,Z$=l["h"],J$=l["k"],Q$=Sr,eZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return a(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new Q$),this.group.add(this._selectorGroup=new Q$),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),o=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===o?"right":"left");var a=e.get("selector",!0),s=e.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(i,e,t,n,a,o,s);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),h=zc(u,c,f),d=this.layoutInner(e,i,h,r,a,s),p=zc(l["i"]({width:d.width,height:d.height},u),c,f);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=oX(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,o,a){var s=this.getContentGroup(),u=l["f"](),c=t.get("selectedMode"),f=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&f.push(e.id)})),J$(t.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new Q$;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(a)[0];if(!u.get(a)){if(d){var p=d.getData(),g=p.getVisual("legendLineStyle")||{},v=p.getVisual("legendIcon"),y=p.getVisual("style"),m=this._createItem(d,a,o,i,t,e,g,y,v,c,r);m.on("click",Z$(rZ,a,null,r,f)).on("mouseover",Z$(oZ,d.name,null,r,f)).on("mouseout",Z$(aZ,d.name,null,r,f)),n.ssr&&m.eachChild((function(e){var t=Cs(e);t.seriesIndex=d.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),u.set(a,!0)}else n.eachRawSeries((function(s){if(!u.get(a)&&s.legendVisualProvider){var h=s.legendVisualProvider;if(!h.containName(a))return;var d=h.indexOfName(a),p=h.getItemVisual(d,"style"),g=h.getItemVisual(d,"legendIcon"),v=Object(Bt["h"])(p.fill);v&&0===v[3]&&(v[3]=.2,p=l["m"](l["m"]({},p),{fill:Object(Bt["i"])(v,"rgba")}));var y=this._createItem(s,a,o,i,t,e,{},p,g,c,r);y.on("click",Z$(rZ,null,a,r,f)).on("mouseover",Z$(oZ,null,a,r,f)).on("mouseout",Z$(aZ,null,a,r,f)),n.ssr&&y.eachChild((function(e){var t=Cs(e);t.seriesIndex=s.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),u.set(a,!0)}}),this);0}}),this),i&&this._createSelector(i,t,r,o,a)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();J$(e,(function(e){var r=e.type,i=new Os({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);tu(i,{normal:a,emphasis:s},{defaultText:e.title}),Cl(i)}))},t.prototype._createItem=function(e,t,n,r,i,o,a,s,u,c,f){var h=e.visualDrawType,d=i.get("itemWidth"),p=i.get("itemHeight"),g=i.isSelected(t),v=r.get("symbolRotate"),y=r.get("symbolKeepAspect"),m=r.get("icon");u=m||u||"roundRect";var b=tZ(u,r,a,s,h,g,f),_=new Q$,x=r.getModel("textStyle");if(!l["w"](e.getLegendIcon)||m&&"inherit"!==m){var w="inherit"===m&&e.getData().getVisual("symbol")?"inherit"===v?e.getData().getVisual("symbolRotate"):v:0;_.add(nZ({itemWidth:d,itemHeight:p,icon:u,iconRotate:w,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}else _.add(e.getLegendIcon({itemWidth:d,itemHeight:p,icon:u,iconRotate:v,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));var S="left"===o?d+5:-5,k=o,E=i.get("formatter"),O=t;l["C"](E)&&E?O=E.replace("{name}",null!=t?t:""):l["w"](E)&&(O=E(t));var C=g?x.getTextColor():r.get("inactiveColor");_.add(new Os({style:ru(x,{text:O,x:S,y:p/2,fill:C,align:k,verticalAlign:"middle"},{inheritColor:C})}));var A=new ls({shape:_.getBoundingRect(),style:{fill:"transparent"}}),T=r.getModel("tooltip");return T.get("show")&&jv({el:A,componentModel:i,itemName:t,itemTooltipOption:T.option}),_.add(A),_.eachChild((function(e){e.silent=!0})),A.silent=!c,this.getContentGroup().add(_),Cl(_),_.__legendDataIndex=n,_},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Bc(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){Bc("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),f=[-c.x,-c.y],h=e.get("selectorButtonGap",!0),d=e.getOrient().index,p=0===d?"width":"height",g=0===d?"height":"width",v=0===d?"y":"x";"end"===o?f[d]+=l[p]+h:u[d]+=c[p]+h,f[1-d]+=l[g]/2-c[g]/2,s.x=f[0],s.y=f[1],a.x=u[0],a.y=u[1];var y={x:0,y:0};return y[p]=l[p]+h+c[p],y[g]=Math.max(l[g],c[g]),y[v]=Math.min(0,c[v]+f[1-d]),y}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Op);function tZ(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),J$(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",f=l.getShallow("decal");u.decal=f&&"inherit"!==f?Km(f,a):r.decal,"inherit"===u.fill&&(u.fill=r[i]),"inherit"===u.stroke&&(u.stroke=r[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity),s(u,r);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===d.stroke&&(d.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&g?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}function nZ(e){var t=e.icon||"roundRect",n=am(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function rZ(e,t,n,r){aZ(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),oZ(e,t,n,r)}function iZ(e){var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;while(r<i&&!(t=n[r].states.emphasis))r++;return t&&t.hoverLayer}function oZ(e,t,n,r){iZ(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function aZ(e,t,n,r){iZ(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}var sZ=eZ;function lZ(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}function uZ(e,t,n){var r,i={},o="toggleSelected"===e;return n.eachComponent("legend",(function(n){o&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name));var a=n.getData();Object(l["k"])(a,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);i.hasOwnProperty(t)?i[t]=i[t]&&r:i[t]=r}}))})),"allSelect"===e||"inverseSelect"===e?{selected:i}:{name:t.name,selected:i}}function cZ(e){e.registerAction("legendToggleSelect","legendselectchanged",Object(l["h"])(uZ,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Object(l["h"])(uZ,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Object(l["h"])(uZ,"inverseSelect")),e.registerAction("legendSelect","legendselected",Object(l["h"])(uZ,"select")),e.registerAction("legendUnSelect","legendunselected",Object(l["h"])(uZ,"unSelect"))}function fZ(e){e.registerComponentModel($$),e.registerComponentView(sZ),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,lZ),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),cZ(e)}var hZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,r){var i=Wc(t);e.prototype.init.call(this,t,n,r),dZ(this,t,i)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),dZ(this,this.option,t)},t.type="legend.scroll",t.defaultOption=Du($$.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}($$);function dZ(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,Gc(t,n,{type:"box",ignoreSize:!!i})}var pZ=hZ,gZ=Sr,vZ=["width","height"],yZ=["x","y"],mZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return a(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new gZ),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new gZ)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,r,i,o,a,s){var u=this;e.prototype.renderInner.call(this,t,n,r,i,o,a,s);var c=this._controllerGroup,f=n.get("pageIconSize",!0),h=l["t"](f)?f:[f,f];p("pagePrev",0);var d=n.getModel("pageTextStyle");function p(e,t){var r=e+"DataIndex",o=Mv(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:l["c"](u._pageGo,u,r,n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=e,c.add(o)}c.add(new Os({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getSelectorGroup(),s=e.getOrient().index,u=vZ[s],c=yZ[s],f=vZ[1-s],h=yZ[1-s];i&&Bc("horizontal",a,e.get("selectorItemGap",!0));var d=e.get("selectorButtonGap",!0),p=a.getBoundingRect(),g=[-p.x,-p.y],v=l["d"](n);i&&(v[u]=n[u]-p[u]-d);var y=this._layoutContentAndController(e,r,v,s,u,f,h,c);if(i){if("end"===o)g[s]+=y[u]+d;else{var m=p[u]+d;g[s]-=m,y[c]-=m}y[u]+=p[u]+d,g[1-s]+=y[h]+y[f]/2-p[f]/2,y[f]=Math.max(y[f],p[f]),y[h]=Math.min(y[h],p[h]+g[1-s]),a.x=g[0],a.y=g[1],a.markRedraw()}return y},t.prototype._layoutContentAndController=function(e,t,n,r,i,o,a,s){var u=this.getContentGroup(),c=this._containerGroup,f=this._controllerGroup;Bc(e.get("orient"),u,e.get("itemGap"),r?n.width:null,r?null:n.height),Bc("horizontal",f,e.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),d=f.getBoundingRect(),p=this._showController=h[i]>n[i],g=[-h.x,-h.y];t||(g[r]=u[s]);var v=[0,0],y=[-d.x,-d.y],m=l["P"](e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var b=e.get("pageButtonPosition",!0);"end"===b?y[r]+=n[i]-d[i]:v[r]+=d[i]+m}y[1-r]+=h[o]/2-d[o]/2,u.setPosition(g),c.setPosition(v),f.setPosition(y);var _={x:0,y:0};if(_[i]=p?n[i]:h[i],_[o]=Math.max(h[o],d[o]),_[a]=Math.min(0,d[a]+y[1-r]),c.__rectSize=n[i],p){var x={x:0,y:0};x[i]=Math.max(n[i]-d[i]-m,0),x[o]=_[o],c.setClipPath(new ls({shape:x})),c.__rectSize=x[i]}else f.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(e);return null!=w.pageIndex&&Gl(u,{x:w.contentPosition[0],y:w.contentPosition[1]},p?e:null),this._updatePageInfoView(e,w),_},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;l["k"](["pagePrev","pageNext"],(function(r){var i=r+"DataIndex",o=null!=t[i],a=n.childOfName(r);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var r=n.childOfName("pageText"),i=e.get("pageFormatter"),o=t.pageIndex,a=null!=o?o+1:0,s=t.pageCount;r&&i&&r.setStyle("text",l["C"](i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=vZ[i],a=yZ[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,f=c?1:0,h={contentPosition:[n.x,n.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var d=m(u);h.contentPosition[i]=-d.s;for(var p=s+1,g=d,v=d,y=null;p<=c;++p)y=m(l[p]),(!y&&v.e>g.s+r||y&&!b(y,g.s))&&(g=v.i>g.i?v:y,g&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=g.i),++h.pageCount)),v=y;for(p=s-1,g=d,v=d,y=null;p>=-1;--p)y=m(l[p]),y&&b(v,y.s)||!(g.i<v.i)||(v=g,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=g.i),++h.pageCount,++h.pageIndex),g=y;return h;function m(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function b(e,t){return e.e>=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)})),null!=t?t:n},t.type="legend.scroll",t}(sZ),bZ=mZ;function _Z(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}function xZ(e){z_(fZ),e.registerComponentModel(pZ),e.registerComponentView(bZ),_Z(e)}function wZ(e){z_(fZ),z_(xZ)}var SZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.inside",t.defaultOption=Du(Lq.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Lq),kZ=SZ,EZ=Di();function OZ(e,t,n){EZ(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}function CZ(e,t){for(var n=EZ(e).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||AZ(n,a))}}}function AZ(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function TZ(e,t){var n={model:t,containsPoint:Object(l["h"])(MZ,t),dispatchAction:Object(l["h"])(PZ,e),dataZoomInfoMap:null,controller:null},r=n.controller=new bP(e.getZr());return Object(l["k"])(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(t){var r=[];n.dataZoomInfoMap.each((function(i){if(t.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[e],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}function PZ(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function MZ(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function DZ(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each((function(e){var o=e.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+a]>r[n+t]&&(t=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function IZ(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=EZ(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=Object(l["f"])());r.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){var n=Pq(e);Object(l["k"])(n.infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,TZ(t,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(l["f"])());a.set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),r.each((function(e){var t,n=e.controller,i=e.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(t=i.get(o))}if(t){var a=DZ(i);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),Jv(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else AZ(r,e)}))}))}var LZ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return a(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),OZ(r,t,{pan:Object(l["c"])(RZ.pan,this),zoom:Object(l["c"])(RZ.zoom,this),scrollMove:Object(l["c"])(RZ.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){CZ(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(Bq),RZ={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var s=NZ[t](null,[r.originX,r.originY],a,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return cN(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:jZ((function(e,t,n,r,i,o){var a=NZ[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:jZ((function(e,t,n,r,i,o){var a=NZ[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function jZ(e){return function(t,n,r,i){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s){var l=e(a,s,t,n,r,i);return cN(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var NZ={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},BZ=LZ;function FZ(e){$q(e),e.registerComponentModel(kZ),e.registerComponentView(BZ),IZ(e)}var zZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Du(Lq.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(Lq),UZ=zZ,HZ=ls,VZ=7,GZ=1,WZ=30,qZ=7,XZ="horizontal",YZ="vertical",KZ=5,$Z=["line","bar","candlestick","scatter"],ZZ={easing:"cubicOut",duration:100,delay:0},JZ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return a(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=Object(l["c"])(this._onBrush,this),this._onBrushEnd=Object(l["c"])(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,i){if(e.prototype.render.apply(this,arguments),Jv(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Qv(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new Sr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect"),r=n?qZ:0,i=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a=this._orient===XZ?{right:o.width-i.x-i.width,top:o.height-WZ-VZ-r,width:i.width,height:WZ}:{right:VZ,top:i.y,width:WZ,height:i.height},s=Wc(e.option);Object(l["k"])(["right","top","width","height"],(function(e){"ph"===s[e]&&(s[e]=a[e])}));var u=zc(s,o);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===YZ&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==XZ||i?n===XZ&&i?{scaleY:a?1:-1,scaleX:-1}:n!==YZ||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new HZ({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var i=new HZ({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:Object(l["c"])(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var u=i.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var f,h=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],g=[],v=d[1]/(i.count()-1),y=0,m=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(m>0&&t%m)y+=v;else{var n=null==e||isNaN(e)||""===e,r=n?0:Nr(e,u,h,!0);n&&!f&&t?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&f&&(p.push([y,0]),g.push([y,0])),p.push([y,r]),g.push([y,r]),y+=v,f=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var b=this.dataZoomModel,_=0;_<3;_++){var x=w(1===_);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}function w(e){var t=b.getModel(e?"selectedDataBackground":"dataBackground"),n=new Sr,r=new Ag({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new Mg({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(i,o){var a=e.getAxisProxy(i,o).getTargetSeriesModels();Object(l["k"])(a,(function(e){if(!n&&!(!0!==t&&Object(l["r"])($Z,e.get("type"))<0)){var a,s=r.getComponent(Aq(i),o).axis,u=QZ(i),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),u=e.getData().mapDimension(u),n={thisAxis:s,series:e,thisDim:i,otherDim:u,otherAxisInverse:a}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,u=a.get("borderRadius")||0,c=a.get("brushSelect"),f=t.filler=new HZ({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(f),i.add(new HZ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:GZ,fill:"rgba(0,0,0,0)"}})),Object(l["k"])([0,1],(function(t){var o=a.get("handleIcon");!rm[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=am(o,-1,0,2,2,null,!0);s.attr({cursor:eJ(this._orient),draggable:!0,drift:Object(l["c"])(this._onDragMove,this,t),ondragend:Object(l["c"])(this._onDragEnd,this),onmouseover:Object(l["c"])(this._showDataInfo,this,!0),onmouseout:Object(l["c"])(this._showDataInfo,this,!1),z2:5});var u=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=Br(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Cl(s);var f=a.get("handleColor");null!=f&&(s.style.fill=f),i.add(n[t]=s);var h=a.getModel("textStyle");e.add(r[t]=new Os({silent:!0,invisible:!0,style:ru(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=f;if(c){var d=Br(a.get("moveHandleSize"),o[1]),p=t.moveHandle=new ls({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),g=.8*d,v=t.moveHandleIcon=am(a.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);v.silent=!0,v.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(d,10));h=t.moveZone=new ls({invisible:!0,shape:{y:o[1]-y,height:d+y}}),h.on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),i.add(p),i.add(v),i.add(h)}h.attr({draggable:!0,cursor:eJ(this._orient),drift:Object(l["c"])(this._onDragMove,this,"all"),ondragstart:Object(l["c"])(this._showDataInfo,this,!0),ondragend:Object(l["c"])(this._onDragEnd,this),onmouseover:Object(l["c"])(this._showDataInfo,this,!0),onmouseout:Object(l["c"])(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[Nr(e[0],[0,100],t,!0),Nr(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];cN(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?Nr(o.minSpan,a,i,!0):null,null!=o.maxSpan?Nr(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=zr([Nr(r[0],i,a,!0),Nr(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=zr(n.slice()),i=this._size;Object(l["k"])([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[e]+(e?-1:1),y:i[1]/2-o/2})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,s=[0,r[0],r[1],i[0]],u=0;u<a.length;u++){var c=a[u],f=c.getClipPath();f||(f=new ls,c.setClipPath(f)),f.setShape({x:s[u],y:0,width:s[u+1]-s[u],height:i[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=zr(this._handleEnds.slice());function f(e){var t=Sv(n.handles[e].parent,this.group),a=Ev(0===e?"right":"left",t),s=this._handleWidth/2+KZ,l=kv([c[e]+(0===e?-s:s),this._size[1]/2],t);r[e].setStyle({x:l[0],y:l[1],verticalAlign:i===XZ?"middle":a,align:i===XZ?a:"center",text:o[e]})}f.call(this,0),f.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(i,20));return Object(l["w"])(r)?r(e,o):Object(l["C"])(r)?r.replace("{value}",o):o},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,n=t.handleLabels;n[0].attr("invisible",!e),n[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,r){this._dragging=!0,ne(r.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=kv([t,n],i,!0),a=this._updateInterval(e,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new me(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape,r=+new Date;if(!(r-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),o=[0,100];this._range=zr([Nr(n.x,i,o,!0),Nr(n.x+n.width,i,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(ne(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new HZ({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?ZZ:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=Pq(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),i=this.api.getHeight();e={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return e},t.type="dataZoom.slider",t}(Bq);function QZ(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function eJ(e){return"vertical"===e?"ns-resize":"ew-resize"}var tJ=JZ;function nJ(e){e.registerComponentModel(UZ),e.registerComponentView(tJ),$q(e)}function rJ(e){z_(FZ),z_(nJ)}var iJ={get:function(e,t,n){var r=l["d"]((oJ[e]||{})[t]);return n&&l["t"](r)?r[r.length-1]:r}},oJ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},aJ=iJ,sJ=yL.mapVisual,lJ=yL.eachVisual,uJ=l["t"],cJ=l["k"],fJ=zr,hJ=Nr,dJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return a(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&ZY(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=l["c"](e,this),this.controllerVisuals=$Y(this.option.controller,t,e),this.targetVisuals=$Y(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=ci(e),t},t.prototype.eachTargetSeries=function(e,t){l["k"](this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,n){var r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],l["t"](e)&&(e=e.slice(),r=!0);var u=t?e:r?[c(e[0]),c(e[1])]:c(e);return l["C"](s)?s.replace("{value}",r?u[0]:u).replace("{value2}",r?u[1]:u):l["w"](s)?r?s(e[0],e[1]):s(e):r?e[0]===a[0]?n[0]+" "+u[1]:e[1]===a[1]?n[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=fJ([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var i=n[r],o=e.getDimensionInfo(i);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),i=t.controller||(t.controller={});l["I"](r,n),l["I"](i,n);var o=this.isCategory();function a(n){uJ(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}function s(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},cJ(r,(function(e,t){if(yL.isValidType(t)){var n=aJ.get(t,"inactive",o);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function u(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol(),a=i||"roundRect";cJ(this.stateList,(function(i){var s=this.itemSize,u=e[i];u||(u=e[i]={color:o?r:[r]}),null==u.symbol&&(u.symbol=t&&l["d"](t)||(o?a:[a])),null==u.symbolSize&&(u.symbolSize=n&&l["d"](n)||(o?s[0]:[s[0],s[0]])),u.symbol=sJ(u.symbol,(function(e){return"none"===e?a:e}));var c=u.symbolSize;if(null!=c){var f=-1/0;lJ(c,(function(e){e>f&&(f=e)})),u.symbolSize=sJ(c,(function(e){return hJ(e,[0,f],[0,s[0]],!0)}))}}),this)}a.call(this,r),a.call(this,i),s.call(this,r,"inRange","outOfRange"),u.call(this,i)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}($c),pJ=dJ,gJ=[20,140],vJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=gJ[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=gJ[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):l["t"](t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),l["k"](this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)}),this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=zr((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},t.prototype.getVisualMeta=function(e){var t=yJ(this,"outOfRange",this.getExtent()),n=yJ(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,l=t.length;a<l&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&i(t[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<t[a])&&(u&&(r.length&&i(r[r.length-1].value,"outOfRange"),u=0),i(t[a],"outOfRange"));var c=r.length;return{stops:r,outerColors:[c?r[0].color:"transparent",c?r[c-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Du(pJ.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(pJ);function yJ(e,t,n){if(n[0]===n[1])return n.slice();for(var r=200,i=(n[1]-n[0])/r,o=n[0],a=[],s=0;s<=r&&o<n[1];s++)a.push(o),o+=i;return a.push(n[1]),a}var mJ=vJ,bJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return a(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,r):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=Ec(t.get("padding")||0),r=e.getBoundingRect();e.add(new ls({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,n){n=n||{};var r=n.forceState,i=this.visualMapModel,o={};if("color"===t){var a=i.get("contentColor");o.color=a}function s(e){return o[e]}function u(e,t){o[e]=t}var c=i.controllerVisuals[r||i.getValueState(e)],f=yL.prepareVisualTypes(c);return l["k"](f,(function(r){var i=c[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=c.__alphaForOpacity),yL.dependsOn(r,t)&&i&&i.applyVisual(e,s,u)})),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;Uc(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,r){},t.type="visualMap",t}(Op),_J=bJ,xJ=[["left","right","width"],["top","bottom","height"]];function wJ(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===r.orient?1:0,s=xJ[a],l=[0,null,10],u={},c=0;c<3;c++)u[xJ[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:r[s[c]];var f=[["x","width",3],["y","height",0]][a],h=zc(u,o,r.padding);return s[(h.margin[f[2]]||0)+h[f[0]]+.5*h[f[1]]<.5*o[f[1]]?0:1]}function SJ(e,t){return l["k"](e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var kJ=Nr,EJ=l["k"],OJ=Math.min,CJ=Math.max,AJ=12,TJ=6,PJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return a(t,e),t.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this._hoverLinkFromSeriesMouseOver=l["c"](this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=l["c"](this._hideIndicator,this)},t.prototype.doRender=function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new Os({style:ru(f,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:r})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,i=this._orient,o=this._useHandle,a=wJ(t,this.api,r),s=n.mainGroup=this._createBarGroup(a),u=new Sr;s.add(u),u.add(n.outOfRange=MJ()),u.add(n.inRange=MJ(null,o?LJ(this._orient):null,l["c"](this._dragHandle,this,"all",!1),l["c"](this._dragHandle,this,"all",!0))),u.setClipPath(new ls({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),f=CJ(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,s,0,r,f,i),this._createHandle(t,s,1,r,f,i)),this._createIndicator(t,s,r,f,i),e.add(s)},t.prototype._createHandle=function(e,t,n,r,i,o){var a=l["c"](this._dragHandle,this,n,!1),s=l["c"](this._dragHandle,this,n,!0),u=ar(e.get("handleSize"),r[0]),c=am(e.get("handleIcon"),-u/2,-u/2,u,u,null,!0),f=LJ(this._orient);c.attr({cursor:f,draggable:!0,drift:a,ondragend:s,onmousemove:function(e){ne(e.event)}}),c.x=r[0]/2,c.useStyle(e.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),Ll(c,!0),t.add(c);var h=this.visualMapModel.textStyleModel,d=new Os({cursor:f,draggable:!0,drift:a,onmousemove:function(e){ne(e.event)},ondragend:s,style:ru(h,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var p=[u,0],g=this._shapes;g.handleThumbs[n]=c,g.handleLabelPoints[n]=p,g.handleLabels[n]=d},t.prototype._createIndicator=function(e,t,n,r,i){var o=ar(e.get("indicatorSize"),n[0]),a=am(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(a instanceof Qa){var u=a.style;a.useStyle(l["m"]({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else a.useStyle(s);t.add(a);var c=this.visualMapModel.textStyleModel,f=new Os({silent:!0,invisible:!0,style:ru(c,{x:0,y:0,text:""})});this.group.add(f);var h=[("horizontal"===i?r/2:TJ)+n[0]/2,0],d=this._shapes;d.indicator=a,d.indicatorLabel=f,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(e,i[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():IJ(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[kJ(t[0],n,r,!0),kJ(t[1],n,r,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];cN(t,r,i,e,0);var o=n.getExtent();this._dataInterval=[kJ(r[0],i,o,!0),kJ(r[1],i,o,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},t.prototype._createBarVisual=function(e,t,n,r){var i={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,i),a=[this.getControllerVisual(e[0],"symbolSize",i),this.getControllerVisual(e[1],"symbolSize",i)],s=this._createBarPoints(n,a);return{barColor:new Kg(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=100,r=[],i=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<n;o++){var a=e[0]+i*o;if(a>e[1])break;r.push({color:this.getControllerVisual(a,"color",t),offset:o/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new Sr("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent();EJ([0,1],(function(l){var u=i[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=kJ(e[l],[0,a[1]],s,!0),f=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=f/a[0],u.x=a[0]-f/2;var h=kv(n.handleLabelPoints[l],Sv(u,this.group));o[l].setStyle({x:h[0],y:h[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",c),h=this.getControllerVisual(e,"symbolSize"),d=kJ(e,o,s,!0),p=a[0]-h/2,g={x:u.x,y:u.y};u.y=d,u.x=p;var v=kv(l.indicatorLabelPoint,Sv(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),b=this._orient,_="horizontal"===b;y.setStyle({text:(n||"")+i.formatValueText(t),verticalAlign:_?m:"middle",align:_?"center":m});var x={x:p,y:d,style:{fill:f}},w={style:{x:v[0],y:v[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(x,S),y.animateTo(w,S)}else u.attr(x),y.attr(w);this._firstShowIndicator=!1;var k=this._shapes.handleLabels;if(k)for(var E=0;E<k.length;E++)this.api.enterBlur(k[E])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);r[1]=OJ(CJ(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();e=OJ(CJ(i[0],e),i[1]);var a=DJ(n,o,i),s=[e-a,e+a],l=kJ(e,i,o,!0),u=[kJ(s[0],i,o,!0),kJ(s[1],i,o,!0)];s[0]<i[0]&&(u[0]=-1/0),s[1]>i[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,f=[];(t||IJ(n))&&(f=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=Pi(c,f);this._dispatchHighDown("downplay",SJ(h[0],n)),this._dispatchHighDown("highlight",SJ(h[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(qy(e.target,(function(e){var n=Cs(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(t.dataType),o=i.getStore().get(r.getDataDimensionIndex(i),t.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n<t.length;n++)this.api.leaveBlur(t[n])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",SJ(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,n,r){var i=Sv(t,r?null:this.group);return l["t"](e)?kv(e,i,n):Ev(e,i,n)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(_J);function MJ(e,t,n,r){return new Ag({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){ne(e.event)},ondragend:r})}function DJ(e,t,n){var r=AJ/2,i=e.get("hoverLinkDataSize");return i&&(r=kJ(i,t,n,!0)/2),r}function IJ(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function LJ(e){return"vertical"===e?"ns-resize":"ew-resize"}var RJ=PJ,jJ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},NJ=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},BJ=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var r=e.pipelineContext;!t.isTargetSeries(e)||r&&r.large||n.push(QY(t.stateList,t.targetVisuals,l["c"](t.getValueState,t),t.getDataDimensionIndex(e.getData())))})),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var i=t.getVisualMeta(l["c"](FJ,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}})),e.getData().setVisual("visualMeta",r)}}];function FJ(e,t,n,r){for(var i=t.targetVisuals[r],o=yL.prepareVisualTypes(i),a={color:Uy(e.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,f,h)}return a.color;function f(e){return a[e]}function h(e,t){a[e]=t}}var zJ=l["k"];function UJ(e){var t=e&&e.visualMap;l["t"](t)||(t=t?[t]:[]),zJ(t,(function(e){if(e){HJ(e,"splitList")&&!HJ(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&l["t"](t)&&zJ(t,(function(e){l["A"](e)&&(HJ(e,"start")&&!HJ(e,"min")&&(e.min=e.start),HJ(e,"end")&&!HJ(e,"max")&&(e.max=e.end))}))}}))}function HJ(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var VJ=!1;function GJ(e){VJ||(VJ=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(jJ,NJ),Object(l["k"])(BJ,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(UJ))}function WJ(e){e.registerComponentModel(mJ),e.registerComponentView(RJ),GJ(e)}var qJ=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return a(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],XJ[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var i=this.option.categories;this.resetVisual((function(e,t){"categories"===r?(e.mappingMethod="category",e.categories=l["d"](i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=l["H"](this._pieceList,(function(e){return e=l["d"](e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=yL.listVisualTypes(),i=this.isCategory();function o(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}l["k"](t.pieces,(function(e){l["k"](r,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),l["k"](n,(function(e,n){var r=!1;l["k"](this.stateList,(function(e){r=r||o(t,e,n)||o(t.target,e,n)}),this),!r&&l["k"](this.stateList,(function(e){(t[e]||(t[e]={}))[n]=aJ.get(n,"inRange"===e?"active":"inactive",i)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,i=(t?n:e).selected||{};if(n.selected=i,l["k"](r,(function(e,t){var n=this.getSelectedMapKey(e);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var o=!1;l["k"](r,(function(e,t){var n=this.getSelectedMapKey(e);i[n]&&(o?i[n]=!1:o=!0)}),this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=l["d"](e)},t.prototype.getValueState=function(e){var t=yL.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries((function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(t,r){var o=yL.findPieceIndex(t,n);o===e&&i.push(r)}),this),t.push({seriesId:r.id,dataIndex:i})}),this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),o=i[i.length-1].interval[1],o!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return l["k"](i,(function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])}),this),{stops:t,outerColors:n}}function s(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=e(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=Du(pJ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(pJ),XJ={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;var o=(r[1]-r[0])/i;while(+o.toFixed(n)!==o&&n<5)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a<i;s+=o,a++){var u=a===i-1?r[1]:s+o;e.push({interval:[s,u],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),ti(e),l["k"](e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;l["k"](t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),YJ(t,e)},pieces:function(e){var t=this.option;l["k"](t.pieces,(function(t,n){l["A"](t)||(t={value:t});var r={text:"",index:n};if(null!=t.label&&(r.text=t.label),t.hasOwnProperty("value")){var i=r.value=t.value;r.interval=[i,i],r.close=[1,1]}else{for(var o=r.interval=[],a=r.close=[0,0],s=[1,0,1],u=[-1/0,1/0],c=[],f=0;f<2;f++){for(var h=[["gte","gt","min"],["lte","lt","max"]][f],d=0;d<3&&null==o[f];d++)o[f]=t[h[d]],a[f]=s[d],c[f]=2===d;null==o[f]&&(o[f]=u[f])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(r.value=o[0])}r.visual=yL.retrieveVisuals(t),e.push(r)}),this),YJ(t,e),ti(e),l["k"](e,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function YJ(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var KJ=qJ,$J=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return a(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=t.itemSize,u=this._getViewData(),c=u.endsText,f=l["O"](t.get("showLabel",!0),!c);c&&this._renderEndsText(e,c[0],s,f,a),l["k"](u.viewPieceList,(function(r){var u=r.piece,c=new Sr;c.onclick=l["c"](this._onItemClick,this,u),this._enableHoverLink(c,r.indexInModelPieceList);var h=t.getRepresentValue(u);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),f){var d=this.visualMapModel.getValueState(h);c.add(new Os({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:u.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===d?.5:1}}))}e.add(c)}),this),c&&this._renderEndsText(e,c[1],s,f,a),Bc(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:SJ(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return wJ(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,r,i){if(t){var o=new Sr,a=this.visualMapModel.textStyleModel;o.add(new Os({style:ru(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=l["H"](e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),i=e.get("inverse");return("horizontal"===r?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n){e.add(am(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var i=l["d"](n.selected),o=t.getSelectedMapKey(e);"single"===r||!0===r?(i[o]=!0,l["k"](i,(function(e,t){i[t]=t===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type="visualMap.piecewise",t}(_J),ZJ=$J;function JJ(e){e.registerComponentModel(KJ),e.registerComponentView(ZJ),GJ(e)}function QJ(e){z_(WJ),z_(JJ)}var eQ={label:{enabled:!0},decal:{show:!1}},tQ=Di(),nQ={};function rQ(e,t){var n=e.getModel("aria");if(n.get("enabled")){var r=l["d"](eQ);l["I"](r.label,e.getLocaleModel().get("aria"),!1),l["I"](n.option,r,!1),i(),o()}function i(){var t=n.getModel("decal"),r=t.get("show");if(r){var i=l["f"]();e.eachSeries((function(e){if(!e.isColorBySeries()){var t=i.get(e.type);t||(t={},i.set(e.type,t)),tQ(e).scope=t}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(l["w"](t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var r=Ef(t.ecModel,t.name,nQ,e.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",c(i,r))}else{var o=t.getRawData(),a={},s=tQ(t).scope;n.each((function(e){var t=n.getRawIndex(e);a[t]=e}));var u=o.count();o.each((function(e){var r=a[e],i=o.getName(e)||e+"",l=Ef(t.ecModel,i,s,u),f=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",c(f,l))}))}}function c(e,t){var n=e?l["m"](l["m"]({},t),e):t;return n.dirty=!0,n}}))}}function o(){var r=t.getZr().dom;if(r){var i=e.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=l["i"](o.option,i),o.get("enabled"))if(o.get("description"))r.setAttribute("aria-label",o.get("description"));else{var c,f=e.getSeriesCount(),h=o.get(["data","maxCount"])||10,d=o.get(["series","maxCount"])||10,p=Math.min(f,d);if(!(f<1)){var g=s();if(g){var v=o.get(["general","withTitle"]);c=a(v,{title:g})}else c=o.get(["general","withoutTitle"]);var y=[],m=f>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);c+=a(m,{seriesCount:f}),e.eachSeries((function(e,t){if(t<p){var n=void 0,r=e.get("name"),i=r?"withName":"withoutName";n=f>1?o.get(["series","multiple",i]):o.get(["series","single",i]),n=a(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:u(e.subType)});var s=e.getData();if(s.count()>h){var l=o.get(["data","partialData"]);n+=a(l,{displayCnt:h})}else n+=o.get(["data","allData"]);for(var c=o.get(["data","separator","middle"]),d=o.get(["data","separator","end"]),g=[],v=0;v<s.count();v++)if(v<h){var m=s.getName(v),b=s.getValues(v),_=o.get(["data",m?"withName":"withoutName"]);g.push(a(_,{name:m,value:b.join(c)}))}n+=g.join(c)+d,y.push(n)}}));var b=o.getModel(["series","multiple","separator"]),_=b.get("middle"),x=b.get("end");c+=y.join(_)+x,r.setAttribute("aria-label",c)}}}}function a(e,t){if(!l["C"](e))return e;var n=e;return l["k"](t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}function s(){var t=e.get("title");return t&&t.length&&(t=t[0]),t&&t.text}function u(t){var n=e.getLocaleModel().get(["series","typeNames"]);return n[t]||n.chart}}function iQ(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},l["k"](["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}function oQ(e){e.registerPreprocessor(iQ),e.registerVisual(e.PRIORITY.VISUAL.ARIA,rQ)}var aQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},sQ=function(){function e(e){var t=this._condVal=Object(l["C"])(e)?new RegExp(e):Object(l["B"])(e)?e:null;if(null==t){var n="";0,If(n)}}return e.prototype.evaluate=function(e){var t=typeof e;return Object(l["C"])(t)?this._condVal.test(e):!!Object(l["z"])(t)&&this._condVal.test(e+"")},e}(),lQ=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),uQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0},e}(),cQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1},e}(),fQ=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),hQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=this.getValue,n=t(this.valueGetterParam),r=e?this.valueParser(n):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(e?r:n))return!1;return!0},e}();function dQ(e,t){if(!0===e||!1===e){var n=new lQ;return n.value=e,n}var r="";return yQ(e)||If(r),e.and?pQ("and",e,t):e.or?pQ("or",e,t):e.not?gQ(e,t):vQ(e,t)}function pQ(e,t,n){var r=t[e],i="";Object(l["t"])(r)||If(i),r.length||If(i);var o="and"===e?new uQ:new cQ;return o.children=Object(l["H"])(r,(function(e){return dQ(e,n)})),o.children.length||If(i),o}function gQ(e,t){var n=e.not,r="";yQ(n)||If(r);var i=new fQ;return i.child=dQ(n,t),i.child||If(r),i}function vQ(e,t){for(var n="",r=t.prepareGetValue(e),i=[],o=Object(l["F"])(e),a=e.parser,s=a?cd(a):null,u=0;u<o.length;u++){var c=o[u];if("parser"!==c&&!t.valueGetterAttrMap.get(c)){var f=Object(l["q"])(aQ,c)?aQ[c]:c,h=e[c],d=s?s(h):h,p=gd(f,d)||"reg"===f&&new sQ(d);p||If(n),i.push(p)}}i.length||If(n);var g=new hQ;return g.valueGetterParam=r,g.valueParser=s,g.getValue=t.getValue,g.subCondList=i,g}function yQ(e){return Object(l["A"])(e)&&!Object(l["u"])(e)}var mQ=function(){function e(e,t){this._cond=dQ(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function bQ(e,t){return new mQ(e,t)}var _Q={type:"echarts:filter",transform:function(e){for(var t,n=e.upstream,r=bQ(e.config,{valueGetterAttrMap:Object(l["f"])({dimension:!0}),prepareGetValue:function(e){var t="",r=e.dimension;Object(l["q"])(e,"dimension")||If(t);var i=n.getDimensionInfo(r);return i||If(t),{dimIdx:i.index}},getValue:function(e){return n.retrieveValueFromItem(t,e.dimIdx)}}),i=[],o=0,a=n.count();o<a;o++)t=n.getRawDataItem(o),r.evaluate()&&i.push(t);return{data:i}}};var xQ={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,r="",i=ci(n);i.length||If(r);var o=[];Object(l["k"])(i,(function(e){var n=e.dimension,i=e.order,a=e.parser,s=e.incomparable;if(null==n&&If(r),"asc"!==i&&"desc"!==i&&If(r),s&&"min"!==s&&"max"!==s){var l="";0,If(l)}if("asc"!==i&&"desc"!==i){var u="";0,If(u)}var c=t.getDimensionInfo(n);c||If(r);var f=a?cd(a):null;a&&!f&&If(r),o.push({dimIdx:c.index,parser:f,comparator:new dd(i,s)})}));var a=t.sourceFormat;a!==nf&&a!==rf&&If(r);for(var s=[],u=0,c=t.count();u<c;u++)s.push(t.getRawDataItem(u));return s.sort((function(e,n){for(var r=0;r<o.length;r++){var i=o[r],a=t.retrieveValueFromItem(e,i.dimIdx),s=t.retrieveValueFromItem(n,i.dimIdx);i.parser&&(a=i.parser(a),s=i.parser(s));var l=i.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};function wQ(e){e.registerTransform(_Q),e.registerTransform(xQ)}var SQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return a(t,e),t.prototype.init=function(t,n,r){e.prototype.init.call(this,t,n,r),this._sourceManager=new zd(this),Ud(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),Ud(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:lf},t}($c),kQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return a(t,e),t.type="dataset",t}(Op);function EQ(e){e.registerComponentModel(SQ),e.registerComponentView(kQ)}var OQ=ba.CMD;function CQ(e,t){return Math.abs(e-t)<1e-5}function AQ(e){var t,n,r,i,o,a=e.data,s=e.len(),l=[],u=0,c=0,f=0,h=0;function d(e,n){t&&t.length>2&&l.push(t),t=[e,n]}function p(e,n,r,i){CQ(e,r)&&CQ(n,i)||t.push(e,n,r,i,r,i)}function g(e,n,r,i,o,a){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,u=n<e?-1:1,c=Math.cos(e),f=Math.sin(e),h=Math.cos(n),d=Math.sin(n),p=c*o+r,g=f*a+i,v=h*o+r,y=d*a+i,m=o*l*u,b=a*l*u;t.push(p-m*f,g+b*c,v+m*d,y-b*h,v,y)}for(var v=0;v<s;){var y=a[v++],m=1===v;switch(m&&(u=a[v],c=a[v+1],f=u,h=c,y!==OQ.L&&y!==OQ.C&&y!==OQ.Q||(t=[f,h])),y){case OQ.M:u=f=a[v++],c=h=a[v++],d(f,h);break;case OQ.L:n=a[v++],r=a[v++],p(u,c,n,r),u=n,c=r;break;case OQ.C:t.push(a[v++],a[v++],a[v++],a[v++],u=a[v++],c=a[v++]);break;case OQ.Q:n=a[v++],r=a[v++],i=a[v++],o=a[v++],t.push(u+2/3*(n-u),c+2/3*(r-c),i+2/3*(n-i),o+2/3*(r-o),i,o),u=i,c=o;break;case OQ.A:var b=a[v++],_=a[v++],x=a[v++],w=a[v++],S=a[v++],k=a[v++]+S;v+=1;var E=!a[v++];n=Math.cos(S)*x+b,r=Math.sin(S)*w+_,m?(f=n,h=r,d(f,h)):p(u,c,n,r),u=Math.cos(k)*x+b,c=Math.sin(k)*w+_;for(var O=(E?-1:1)*Math.PI/2,C=S;E?C>k:C<k;C+=O){var A=E?Math.max(C+O,k):Math.min(C+O,k);g(C,A,b,_,x,w)}break;case OQ.R:f=u=a[v++],h=c=a[v++],n=f+a[v++],r=h+a[v++],d(n,h),p(n,h,n,r),p(n,r,f,r),p(f,r,f,h),p(f,h,n,h);break;case OQ.Z:t&&p(u,c,f,h),u=f,c=h;break}}return t&&t.length>2&&l.push(t),l}function TQ(e,t,n,r,i,o,a,s,l,u){if(CQ(e,n)&&CQ(t,r)&&CQ(i,a)&&CQ(o,s))l.push(a,s);else{var c=2/u,f=c*c,h=a-e,d=s-t,p=Math.sqrt(h*h+d*d);h/=p,d/=p;var g=n-e,v=r-t,y=i-a,m=o-s,b=g*g+v*v,_=y*y+m*m;if(b<f&&_<f)l.push(a,s);else{var x=h*g+d*v,w=-h*y-d*m,S=b-x*x,k=_-w*w;if(S<f&&x>=0&&k<f&&w>=0)l.push(a,s);else{var E=[],O=[];kt(e,n,i,a,.5,E),kt(t,r,o,s,.5,O),TQ(E[0],O[0],E[1],O[1],E[2],O[2],E[3],O[3],l,u),TQ(E[4],O[4],E[5],O[5],E[6],O[6],E[7],O[7],l,u)}}}}function PQ(e,t){var n=AQ(e),r=[];t=t||1;for(var i=0;i<n.length;i++){var o=n[i],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],f=o[u++],h=o[u++],d=o[u++],p=o[u++],g=o[u++];TQ(s,l,c,f,h,d,p,g,a,t),s=p,l=g}r.push(a)}return r}function MQ(e,t,n){var r=e[t],i=e[1-t],o=Math.abs(r/i),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=a*s,f=n-c;if(f>0)for(u=0;u<f;u++)l[u%a]+=1;return l}function DQ(e,t,n){for(var r=e.r0,i=e.r,o=e.startAngle,a=e.endAngle,s=Math.abs(a-o),l=s*i,u=i-r,c=l>Math.abs(u),f=MQ([l,u],c?0:1,t),h=(c?s:u)/f.length,d=0;d<f.length;d++)for(var p=(c?u:s)/f[d],g=0;g<f[d];g++){var v={};c?(v.startAngle=o+h*d,v.endAngle=o+h*(d+1),v.r0=r+p*g,v.r=r+p*(g+1)):(v.startAngle=o+p*g,v.endAngle=o+p*(g+1),v.r0=r+h*d,v.r=r+h*(d+1)),v.clockwise=e.clockwise,v.cx=e.cx,v.cy=e.cy,n.push(v)}}function IQ(e,t,n){for(var r=e.width,i=e.height,o=r>i,a=MQ([r,i],o?0:1,t),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",f=e[s]/a.length,h=0;h<a.length;h++)for(var d=e[l]/a[h],p=0;p<a[h];p++){var g={};g[u]=h*f,g[c]=p*d,g[s]=f,g[l]=d,g.x+=e.x,g.y+=e.y,n.push(g)}}function LQ(e,t,n,r){return e*r-n*t}function RQ(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,f=s-o,h=LQ(c,f,l,u);if(Math.abs(h)<1e-6)return null;var d=e-i,p=t-o,g=LQ(d,p,c,f)/h;return g<0||g>1?null:new me(g*l+e,g*u+t)}function jQ(e,t,n){var r=new me;me.sub(r,n,t),r.normalize();var i=new me;me.sub(i,e,t);var o=i.dot(r);return o}function NQ(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function BQ(e,t,n){for(var r=e.length,i=[],o=0;o<r;o++){var a=e[o],s=e[(o+1)%r],l=RQ(a[0],a[1],s[0],s[1],t.x,t.y,n.x,n.y);l&&i.push({projPt:jQ(l,t,n),pt:l,idx:o})}if(i.length<2)return[{points:e},{points:e}];i.sort((function(e,t){return e.projPt-t.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var f=u;u=c,c=f}var h=[u.pt.x,u.pt.y],d=[c.pt.x,c.pt.y],p=[h],g=[d];for(o=u.idx+1;o<=c.idx;o++)NQ(p,e[o].slice());NQ(p,d),NQ(p,h);for(o=c.idx+1;o<=u.idx+r;o++)NQ(g,e[o%r].slice());return NQ(g,h),NQ(g,d),[{points:p},{points:g}]}function FQ(e){var t=e.points,n=[],r=[];Xo(t,n,r);var i=new Ae(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=i.width,a=i.height,s=i.x,l=i.y,u=new me,c=new me;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),BQ(t,u,c)}function zQ(e,t,n,r){if(1===n)r.push(t);else{var i=Math.floor(n/2),o=e(t);zQ(e,o[0],i,r),zQ(e,o[1],n-i,r)}return r}function UQ(e,t){for(var n=[],r=0;r<t;r++)n.push($p(e));return n}function HQ(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function VQ(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}function GQ(e,t){var n,r=[],i=e.shape;switch(e.type){case"rect":IQ(i,t,r),n=ls;break;case"sector":DQ(i,t,r),n=_g;break;case"circle":DQ({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},t,r),n=_g;break;default:var o=e.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=Object(l["H"])(PQ(e.getUpdatedPathProxy(),a),(function(e){return VQ(e)})),u=s.length;if(0===u)zQ(FQ,{points:s[0]},t,r);else if(u===t)for(var c=0;c<u;c++)r.push({points:s[c]});else{var f=0,h=Object(l["H"])(s,(function(e){var t=[],n=[];Xo(e,t,n);var r=(n[1]-t[1])*(n[0]-t[0]);return f+=r,{poly:e,area:r}}));h.sort((function(e,t){return t.area-e.area}));var d=t;for(c=0;c<u;c++){var p=h[c];if(d<=0)break;var g=c===u-1?d:Math.ceil(p.area/f*t);g<0||(zQ(FQ,{points:p.poly},g,r),d-=g)}}n=Ag;break}if(!n)return UQ(e,t);var v=[];for(c=0;c<r.length;c++){var y=new n;y.setShape(r[c]),HQ(e,y),v.push(y)}return v}function WQ(e,t){var n=e.length,r=t.length;if(n===r)return[e,t];for(var i=[],o=[],a=n<r?e:t,s=Math.min(n,r),l=Math.abs(r-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,f=[a[0],a[1]],h=l,d=2;d<s;){var p=a[d-2],g=a[d-1],v=a[d++],y=a[d++],m=a[d++],b=a[d++],_=a[d++],x=a[d++];if(h<=0)f.push(v,y,m,b,_,x);else{for(var w=Math.min(h,c-1)+1,S=1;S<=w;S++){var k=S/w;kt(p,v,m,_,k,i),kt(g,y,b,x,k,o),p=i[3],g=o[3],f.push(i[1],o[1],i[2],o[2],p,g),v=i[5],y=o[5],m=i[6],b=o[6]}h-=w-1}}return a===e?[f,t]:[e,f]}function qQ(e,t){for(var n=e.length,r=e[n-2],i=e[n-1],o=[],a=0;a<t.length;)o[a++]=r,o[a++]=i;return o}function XQ(e,t){for(var n,r,i,o=[],a=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,f=void 0;l?u?(n=WQ(l,u),c=n[0],f=n[1],r=c,i=f):(f=qQ(i||l,l),c=l):(c=qQ(r||u,u),f=u),o.push(c),a.push(f)}return[o,a]}function YQ(e){for(var t=0,n=0,r=0,i=e.length,o=0,a=i-2;o<i;a=o,o+=2){var s=e[a],l=e[a+1],u=e[o],c=e[o+1],f=s*c-u*l;t+=f,n+=(s+u)*f,r+=(l+c)*f}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,r/t/3,t]}function KQ(e,t,n,r){for(var i=(e.length-2)/6,o=1/0,a=0,s=e.length,l=s-2,u=0;u<i;u++){for(var c=6*u,f=0,h=0;h<s;h+=2){var d=0===h?c:(c+h-2)%l+2,p=e[d]-n[0],g=e[d+1]-n[1],v=t[h]-r[0],y=t[h+1]-r[1],m=v-p,b=y-g;f+=m*m+b*b}f<o&&(o=f,a=u)}return a}function $Q(e){for(var t=[],n=e.length,r=0;r<n;r+=2)t[r]=e[n-r-2],t[r+1]=e[n-r-1];return t}function ZQ(e,t,n,r){for(var i,o=[],a=0;a<e.length;a++){var s=e[a],l=t[a],u=YQ(s),c=YQ(l);null==i&&(i=u[2]<0!==c[2]<0);var f=[],h=[],d=0,p=1/0,g=[],v=s.length;i&&(s=$Q(s));for(var y=6*KQ(s,l,u,c),m=v-2,b=0;b<m;b+=2){var _=(y+b)%m+2;f[b+2]=s[_]-u[0],f[b+3]=s[_+1]-u[1]}if(f[0]=s[y]-u[0],f[1]=s[y+1]-u[1],n>0)for(var x=r/n,w=-r/2;w<=r/2;w+=x){var S=Math.sin(w),k=Math.cos(w),E=0;for(b=0;b<s.length;b+=2){var O=f[b],C=f[b+1],A=l[b]-c[0],T=l[b+1]-c[1],P=A*k-T*S,M=A*S+T*k;g[b]=P,g[b+1]=M;var D=P-O,I=M-C;E+=D*D+I*I}if(E<p){p=E,d=w;for(var L=0;L<g.length;L++)h[L]=g[L]}}else for(var R=0;R<v;R+=2)h[R]=l[R]-c[0],h[R+1]=l[R+1]-c[1];o.push({from:f,to:h,fromCp:u,toCp:c,rotation:-d})}return o}function JQ(e){return e.__isCombineMorphing}var QQ="__mOriginal_";function e0(e,t,n){var r=QQ+t,i=e[r]||e[t];e[r]||(e[r]=e[t]);var o=n.replace,a=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=o?o.apply(this,t):i.apply(this,t),a&&a.apply(this,t),e}}function t0(e,t){var n=QQ+t;e[n]&&(e[t]=e[n],e[n]=null)}function n0(e,t){for(var n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;){var o=r[i],a=r[i+1];r[i++]=t[0]*o+t[2]*a+t[4],r[i++]=t[1]*o+t[3]*a+t[5]}}function r0(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),i=XQ(AQ(n),AQ(r)),o=i[0],a=i[1],s=e.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&n0(o,s),l&&n0(a,l),e0(t,"updateTransform",{replace:u}),t.transform=null;var c=ZQ(o,a,10,Math.PI),f=[];e0(t,"buildPath",{replace:function(e){for(var n=t.__morphT,r=1-n,i=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,u=a.rotation*n,h=a.fromCp,d=a.toCp,p=Math.sin(u),g=Math.cos(u);k(i,h,d,n);for(var v=0;v<s.length;v+=2){var y=s[v],m=s[v+1],b=l[v],_=l[v+1],x=y*r+b*n,w=m*r+_*n;f[v]=x*g-w*p+i[0],f[v+1]=x*p+w*g+i[1]}var S=f[0],E=f[1];e.moveTo(S,E);for(v=2;v<s.length;){b=f[v++],_=f[v++];var O=f[v++],C=f[v++],A=f[v++],T=f[v++];S===b&&E===_&&O===A&&C===T?e.lineTo(A,T):e.bezierCurveTo(b,_,O,C,A,T),S=A,E=T}}}})}function i0(e,t,n){if(!e||!t)return t;var r=n.done,i=n.during;function o(){t0(t,"buildPath"),t0(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return r0(e,t),t.__morphT=0,t.animateTo({__morphT:1},Object(l["i"])({during:function(e){t.dirtyShape(),i&&i(e)},done:function(){o(),r&&r()}},n)),t}function o0(e,t,n,r,i,o){var a=16;e=i===n?0:Math.round(32767*(e-n)/(i-n)),t=o===r?0:Math.round(32767*(t-r)/(o-r));for(var s,l=0,u=(1<<a)/2;u>0;u/=2){var c=0,f=0;(e&u)>0&&(c=1),(t&u)>0&&(f=1),l+=u*u*(3*c^f),0===f&&(1===c&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function a0(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=Object(l["H"])(e,(function(e){var o=e.getBoundingRect(),a=e.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]})),a=Object(l["H"])(o,(function(o,a){return{cp:o,z:o0(o[0],o[1],t,n,r,i),path:e[a]}}));return a.sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function s0(e){return GQ(e.path,e.count)}function l0(){return{fromIndividuals:[],toIndividuals:[],count:0}}function u0(e,t,n){var r=[];function i(e){for(var t=0;t<e.length;t++){var n=e[t];JQ(n)?i(n.childrenRef()):n instanceof Wa&&r.push(n)}}i(e);var o=r.length;if(!o)return l0();var a=n.dividePath||s0,s=a({path:t,count:o});if(s.length!==o)return console.error("Invalid morphing: unmatched splitted path"),l0();r=a0(r),s=a0(s);for(var u=n.done,c=n.during,f=n.individualDelay,h=new $n,d=0;d<o;d++){var p=r[d],g=s[d];g.parent=t,g.copyTransform(h),f||r0(p,g)}function v(e){for(var t=0;t<s.length;t++)s[t].addSelfToZr(e)}function y(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,t0(t,"addSelfToZr"),t0(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return s},e0(t,"addSelfToZr",{after:function(e){v(e)}}),e0(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<s.length;t++)s[t].removeSelfFromZr(e)}});var m=s.length;if(f){var b=m,_=function(){b--,0===b&&(y(),u&&u())};for(d=0;d<m;d++){var x=f?Object(l["i"])({delay:(n.delay||0)+f(d,m,r[d],s[d]),done:_},n):n;i0(r[d],s[d],x)}}else t.__morphT=0,t.animateTo({__morphT:1},Object(l["i"])({during:function(e){for(var n=0;n<m;n++){var r=s[n];r.__morphT=t.__morphT,r.dirtyShape()}c&&c(e)},done:function(){y();for(var t=0;t<e.length;t++)t0(e[t],"updateTransform");u&&u()}},n));return t.__zr&&v(t.__zr),{fromIndividuals:r,toIndividuals:s,count:m}}function c0(e,t,n){var r=t.length,i=[],o=n.dividePath||s0;function a(e){for(var t=0;t<e.length;t++){var n=e[t];JQ(n)?a(n.childrenRef()):n instanceof Wa&&i.push(n)}}if(JQ(e)){a(e.childrenRef());var s=i.length;if(s<r)for(var u=0,c=s;c<r;c++)i.push($p(i[u++%s]));i.length=r}else{i=o({path:e,count:r});var f=e.getComputedTransform();for(c=0;c<i.length;c++)i[c].setLocalTransform(f);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),l0()}i=a0(i),t=a0(t);var h=n.individualDelay;for(c=0;c<r;c++){var d=h?Object(l["i"])({delay:(n.delay||0)+h(c,r,i[c],t[c])},n):n;i0(i[c],t[c],d)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}function f0(e){return Object(l["t"])(e[0])}function h0(e,t){for(var n=[],r=e.length,i=0;i<r;i++)n.push({one:e[i],many:[]});for(i=0;i<t.length;i++){var o=t[i].length,a=void 0;for(a=0;a<o;a++)n[a%r].many.push(t[i][a])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var d0={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r<e.count;r++){var i=$p(e.path);i.setStyle("opacity",n),t.push(i)}return t},split:null};function p0(e,t,n,r,i,o){if(e.length&&t.length){var a=Hl("update",r,i);if(a&&a.duration>0){var s,u,c=r.getModel("universalTransition").get("delay"),f=Object.assign({setToFinal:!0},a);f0(e)&&(s=e,u=t),f0(t)&&(s=t,u=e);for(var h=s?s===e:e.length>t.length,d=s?h0(u,s):h0(h?t:e,[h?e:t]),p=0,g=0;g<d.length;g++)p+=d[g].many.length;var v=0;for(g=0;g<d.length;g++)y(d[g],h,v,p),v+=d[g].many.length}}function y(e,t,r,i,a){var s=e.many,u=e.one;if(1!==s.length||a)for(var h=Object(l["i"])({dividePath:d0[n],individualDelay:c&&function(e,t,n,o){return c(e+r,i)}},f),d=t?u0(s,u,h):c0(u,s,h),p=d.fromIndividuals,g=d.toIndividuals,v=p.length,m=0;m<v;m++){x=c?Object(l["i"])({delay:c(m,v)},f):f;o(p[m],g[m],t?s[m]:e.one,t?e.one:s[m],x)}else{var b=t?s[0]:u,_=t?u:s[0];if(JQ(b))y({many:[b],one:_},!0,r,i,!0);else{var x=c?Object(l["i"])({delay:c(r,i)},f):f;i0(b,_,x),o(b,_,b,_,x)}}}}function g0(e){if(!e)return[];if(Object(l["t"])(e)){for(var t=[],n=0;n<e.length;n++)t.push(g0(e[n]));return t}var r=[];return e.traverse((function(e){e instanceof Wa&&!e.disableMorphing&&!e.invisible&&!e.ignore&&r.push(e)})),r}var v0=1e4,y0=0,m0=1,b0=2,_0=Di();function x0(e,t){for(var n=e.dimensions,r=0;r<n.length;r++){var i=e.getDimensionInfo(n[r]);if(i&&0===i.otherDims[t])return n[r]}}function w0(e,t,n){var r=e.getDimensionInfo(n),i=r&&r.ordinalMeta;if(r){var o=e.get(r.name,t);return i&&i.categories[o]||o+""}}function S0(e,t,n,r){var i=r?"itemChildGroupId":"itemGroupId",o=x0(e,i);if(o){var a=w0(e,t,o);return a}var s=e.getRawDataItem(t),l=r?"childGroupId":"groupId";return s&&s[l]?s[l]+"":r?void 0:n||e.getId(t)}function k0(e){var t=[];return Object(l["k"])(e,(function(e){var n=e.data,r=e.dataGroupId;if(!(n.count()>v0))for(var i=n.getIndices(),o=0;o<i.length;o++)t.push({data:n,groupId:S0(n,o,r,!1),childGroupId:S0(n,o,r,!0),divide:e.divide,dataIndex:o})})),t}function E0(e,t,n){e.traverse((function(e){e instanceof Wa&&Wl(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})}))}function O0(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function C0(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function A0(e,t,n){var r=Hl("update",n,t);r&&e.traverse((function(e){if(e instanceof Bo){var t=Zl(e);t&&e.animateFrom({style:t},r)}}))}function T0(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++){var i=e[r],o=t[r];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function P0(e,t,n){var r=k0(e),i=k0(t);function o(e,t,n,r,i){(n||e)&&t.animateFrom({style:n&&n!==e?Object(l["m"])(Object(l["m"])({},n.style),e.style):e.style},i)}var a=!1,s=y0,u=Object(l["f"])(),c=Object(l["f"])();r.forEach((function(e){e.groupId&&u.set(e.groupId,!0),e.childGroupId&&c.set(e.childGroupId,!0)}));for(var f=0;f<i.length;f++){var h=i[f].groupId;if(c.get(h)){s=m0;break}var d=i[f].childGroupId;if(d&&u.get(d)){s=b0;break}}function p(e,t){return function(n){var r=n.data,i=n.dataIndex;return t?r.getId(i):e?s===m0?n.childGroupId:n.groupId:s===b0?n.childGroupId:n.groupId}}var g=T0(r,i),v={};if(!g)for(f=0;f<i.length;f++){var y=i[f],m=y.data.getItemGraphicEl(y.dataIndex);m&&(v[m.id]=!0)}function b(e,t){var n=r[t],s=i[e],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&v[u.id]||c&&(C0(c),u?(C0(u),O0(u),a=!0,p0(g0(u),g0(c),s.divide,l,e,o)):E0(c,l,e)):c&&A0(c,s.dataIndex,l)}new SS(r,i,p(!0,g),p(!1,g),null,"multiple").update(b).updateManyToOne((function(e,t){var n=i[e],s=n.data,u=s.hostModel,c=s.getItemGraphicEl(n.dataIndex),f=Object(l["n"])(Object(l["H"])(t,(function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)})),(function(e){return e&&e!==c&&!v[e.id]}));c&&(C0(c),f.length?(Object(l["k"])(f,(function(e){C0(e),O0(e)})),a=!0,p0(g0(f),g0(c),n.divide,u,e,o)):E0(c,u,n.dataIndex))})).updateOneToMany((function(e,t){var n=r[t],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!v[s.id]){var u=Object(l["n"])(Object(l["H"])(e,(function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)})),(function(e){return e&&e!==s})),c=i[e[0]].data.hostModel;u.length&&(Object(l["k"])(u,(function(e){return C0(e)})),s?(C0(s),O0(s),a=!0,p0(g0(s),g0(u),n.divide,c,e[0],o)):Object(l["k"])(u,(function(t){return E0(t,c,e[0])})))}})).updateManyToMany((function(e,t){new SS(t,e,(function(e){return r[e].data.getId(r[e].dataIndex)}),(function(e){return i[e].data.getId(i[e].dataIndex)})).update((function(n,r){b(e[n],t[r])})).execute()})).execute(),a&&Object(l["k"])(t,(function(e){var t=e.data,r=t.hostModel,i=r&&n.getViewOfSeriesModel(r),o=Hl("update",r,0);i&&r.isAnimationEnabled()&&o&&o.duration>0&&i.group.traverse((function(e){e instanceof Wa&&!e.animators.length&&e.animateFrom({style:{opacity:0}},o)}))}))}function M0(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function D0(e){return Object(l["t"])(e)?e.sort().join(","):e}function I0(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function L0(e,t){var n=Object(l["f"])(),r=Object(l["f"])(),i=Object(l["f"])();return Object(l["k"])(e.oldSeries,(function(t,n){var o=e.oldDataGroupIds[n],a=e.oldData[n],s=M0(t),u=D0(s);r.set(u,{dataGroupId:o,data:a}),Object(l["t"])(s)&&Object(l["k"])(s,(function(e){i.set(e,{key:u,dataGroupId:o,data:a})}))})),Object(l["k"])(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),o=e.getData(),a=M0(e),s=D0(a),u=r.get(s);if(u)n.set(s,{oldSeries:[{dataGroupId:u.dataGroupId,divide:I0(u.data),data:u.data}],newSeries:[{dataGroupId:t,divide:I0(o),data:o}]});else if(Object(l["t"])(a)){0;var c=[];Object(l["k"])(a,(function(e){var t=r.get(e);t.data&&c.push({dataGroupId:t.dataGroupId,divide:I0(t.data),data:t.data})})),c.length&&n.set(s,{oldSeries:c,newSeries:[{dataGroupId:t,data:o,divide:I0(o)}]})}else{var f=i.get(a);if(f){var h=n.get(f.key);h||(h={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:I0(f.data)}],newSeries:[]},n.set(f.key,h)),h.newSeries.push({dataGroupId:t,data:o,divide:I0(o)})}}}})),n}function R0(e,t){for(var n=0;n<e.length;n++){var r=null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id;if(r)return n}}function j0(e,t,n,r){var i=[],o=[];Object(l["k"])(ci(e.from),(function(e){var n=R0(t.oldSeries,e);n>=0&&i.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:I0(t.oldData[n]),groupIdDim:e.dimension})})),Object(l["k"])(ci(e.to),(function(e){var r=R0(n.updatedSeries,e);if(r>=0){var i=n.updatedSeries[r].getData();o.push({dataGroupId:t.oldDataGroupIds[r],data:i,divide:I0(i),groupIdDim:e.dimension})}})),i.length>0&&o.length>0&&P0(i,o,r)}function N0(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){Object(l["k"])(ci(n.seriesTransition),(function(e){Object(l["k"])(ci(e.to),(function(e){for(var t=n.updatedSeries,r=0;r<t.length;r++)(null!=e.seriesIndex&&e.seriesIndex===t[r].seriesIndex||null!=e.seriesId&&e.seriesId===t[r].id)&&(t[r][pp]=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,n){var r=_0(t);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)Object(l["k"])(ci(i),(function(e){j0(e,r,n,t)}));else{var o=L0(r,n);Object(l["k"])(o.keys(),(function(e){var n=o.get(e);P0(n.oldSeries,n.newSeries,t)}))}Object(l["k"])(n.updatedSeries,(function(e){e[pp]&&(e[pp]=!1)}))}for(var a=e.getSeries(),s=r.oldSeries=[],u=r.oldDataGroupIds=[],c=r.oldData=[],f=0;f<a.length;f++){var h=a[f].getData();h.count()<v0&&(s.push(a[f]),u.push(a[f].get("dataGroupId")),c.push(h))}}))}z_([Fx]),z_([bS]),z_([bE,yO,UO,HT,uP,SD,xI,KL,pj,kj,Rj,zB,bF,NF,fz,bz,Hz,Qz,TU,FU,iH,LV]),z_(DG),z_(kW),z_(wD),z_($W),z_(FB),z_(aq),z_(kq),z_(lY),z_(GY),z_(MG),z_(kK),z_(CK),z_($K),z_(w$),z_(L$),z_(X$),z_(wZ),z_(rJ),z_(FZ),z_(nJ),z_(QJ),z_(WJ),z_(JJ),z_(oQ),z_(wQ),z_(EQ),z_(N0),z_(Cx)},"349e":function(e,t,n){!function(t,r){e.exports=r(n("a026"),n("b311"))}(0,(function(e,t){return i={},n.m=r=[function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u,c="function"==typeof e?e.options:e;return t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l&&(c.functional?(c._injectStyles=l,u=c.render,c.render=function(e,t){return l.call(t),u(e,t)}):(s=c.beforeCreate,c.beforeCreate=s?[].concat(s,l):[l])),{exports:e,options:c}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t);var r,i=n(2),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),a(n(29));var r=a(n(21)),i=a(n(41)),o=n(42);function a(e){return e&&e.__esModule?e:{default:e}}t.default={name:"JsonViewer",components:{JsonBox:r.default},props:{value:{type:[Object,Array,String,Number,Boolean,Function],required:!0},expanded:{type:Boolean,default:!1},expandDepth:{type:Number,default:1},copyable:{type:[Boolean,Object],default:!1},sort:{type:Boolean,default:!1},boxed:{type:Boolean,default:!1},theme:{type:String,default:"jv-light"},timeformat:{type:Function,default:function(e){return e.toLocaleString()}},previewMode:{type:Boolean,default:!1},showArrayIndex:{type:Boolean,default:!0},showDoubleQuotes:{type:Boolean,default:!1}},provide:function(){return{expandDepth:this.expandDepth,timeformat:this.timeformat,onKeyclick:this.onKeyclick}},data:function(){return{copied:!1,expandableCode:!1,expandCode:this.expanded}},computed:{jvClass:function(){return"jv-container "+this.theme+(this.boxed?" boxed":"")},copyText:function(){var e=this.copyable;return{copyText:e.copyText||"copy",copiedText:e.copiedText||"copied!",timeout:e.timeout||2e3,align:e.align}}},watch:{value:function(){this.onResized()}},mounted:function(){var e=this;this.debounceResized=(0,o.debounce)(this.debResized.bind(this),200),this.boxed&&this.$refs.jsonBox&&(this.onResized(),this.$refs.jsonBox.$el.addEventListener("resized",this.onResized,!0)),this.copyable&&new i.default(this.$refs.clip,{container:this.$refs.viewer,text:function(){return JSON.stringify(e.value,null,2)}}).on("success",(function(t){e.onCopied(t)}))},methods:{onResized:function(){this.debounceResized()},debResized:function(){var e=this;this.$nextTick((function(){e.$refs.jsonBox&&(250<=e.$refs.jsonBox.$el.clientHeight?e.expandableCode=!0:e.expandableCode=!1)}))},onCopied:function(e){var t=this;this.copied||(this.copied=!0,setTimeout((function(){t.copied=!1}),this.copyText.timeout),this.$emit("copied",e))},toggleExpandCode:function(){this.expandCode=!this.expandCode},onKeyclick:function(e){this.$emit("keyclick",e)}}}},function(e,t,n){"use strict";n.r(t);var r,i=n(4),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=h(n(30)),o=h(n(31)),a=h(n(32)),s=h(n(33)),l=h(n(34)),u=h(n(35)),c=h(n(36)),f=h(n(37));function h(e){return e&&e.__esModule?e:{default:e}}t.default={name:"JsonBox",inject:["expandDepth","onKeyclick"],props:{value:{type:[Object,Array,String,Number,Boolean,Function,Date],default:null},keyName:{type:String,default:""},sort:Boolean,depth:{type:Number,default:0},previewMode:Boolean,forceExpand:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:{type:String,default:"$"}},data:function(){return{expand:!0,forceExpandMe:this.forceExpand}},mounted:function(){this.expand=this.previewMode||!(this.depth>=this.expandDepth)||this.forceExpandMe},methods:{toggle:function(){this.expand=!this.expand,this.dispatchEvent()},toggleAll:function(){this.expand=!this.expand,this.forceExpandMe=this.expand,this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}},getPath:function(){for(var e=[this.keyName],t=this.$parent;t.depth;)t.$el.classList.contains("jv-node")&&e.push(t.keyName),t=t.$parent;return e.reverse()}},render:function(e){var t=this,n=[],h=void 0;null===this.value||void 0===this.value?h=o.default:Array.isArray(this.value)?h=u.default:"[object Date]"===Object.prototype.toString.call(this.value)?h=f.default:"object"===r(this.value)?h=l.default:"number"==typeof this.value?h=a.default:"string"==typeof this.value?h=i.default:"boolean"==typeof this.value?h=s.default:"function"==typeof this.value&&(h=c.default);var d=this.keyName&&this.value&&(Array.isArray(this.value)||"object"===r(this.value)&&"[object Date]"!==Object.prototype.toString.call(this.value));return!this.previewMode&&d&&n.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}}})),this.keyName&&n.push(e("span",{class:{"jv-key":!0},domProps:{innerText:this.showDoubleQuotes?'"'+this.keyName+'":':this.keyName+":"},on:{click:function(){t.onKeyclick(t.path)}}})),n.push(e(h,{class:{"jv-push":!0},props:{jsonValue:this.value,keyName:this.keyName,sort:this.sort,depth:this.depth,expand:this.expand,previewMode:this.previewMode,forceExpand:this.forceExpandMe,showArrayIndex:this.showArrayIndex,showDoubleQuotes:this.showDoubleQuotes,path:this.path},on:{"update:expand":function(e){t.expand=e},"update:expandAll":function(e){t.expand=e,t.forceExpandMe=t.expand}}})),e("div",{class:{"jv-node":!0,"jv-key-node":Boolean(this.keyName)&&!d,toggle:!this.previewMode&&d}},n)}}},function(e,t,n){"use strict";n.r(t);var r,i=n(6),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/^\w+:\/\//;t.default={name:"JsonString",props:{jsonValue:{type:String,required:!0}},data:function(){return{expand:!0,canExtend:!1}},mounted:function(){this.$refs.itemRef.offsetHeight>this.$refs.holderRef.offsetHeight&&(this.canExtend=!0)},methods:{toggle:function(){this.expand=!this.expand}},render:function(e){var t=this.jsonValue,n=r.test(t),i=void 0;return this.expand?(i={class:{"jv-item":!0,"jv-string":!0},ref:"itemRef"}).domProps=n?{innerHTML:'"'+(t='<a href="'+t+'" target="_blank" class="jv-link">'+t+"</a>").toString()+'"'}:{innerText:'"'+t.toString()+'"'}:i={class:{"jv-ellipsis":!0},on:{click:this.toggle},domProps:{innerText:"..."}},e("span",{},[this.canExtend&&e("span",{class:{"jv-toggle":!0,open:this.expand},on:{click:this.toggle}}),e("span",{class:{"jv-holder-node":!0},ref:"holderRef"}),e("span",i)])}}},function(e,t,n){"use strict";n.r(t);var r,i=n(8),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonUndefined",functional:!0,props:{jsonValue:{type:Object,default:null}},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-undefined":!0},domProps:{innerText:null===t.props.jsonValue?"null":"undefined"}})}}},function(e,t,n){"use strict";n.r(t);var r,i=n(10),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonNumber",functional:!0,props:{jsonValue:{type:Number,required:!0}},render:function(e,t){var n=t.props;t=Number.isInteger(n.jsonValue);return e("span",{class:{"jv-item":!0,"jv-number":!0,"jv-number-integer":t,"jv-number-float":!t},domProps:{innerText:n.jsonValue.toString()}})}}},function(e,t,n){"use strict";n.r(t);var r,i=n(12),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonBoolean",functional:!0,props:{jsonValue:Boolean},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-boolean":!0},domProps:{innerText:t.props.jsonValue.toString()}})}}},function(e,t,n){"use strict";n.r(t);var r,i=n(14),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(21);var r=(n=n)&&n.__esModule?n:{default:n};t.default={name:"JsonObject",props:{jsonValue:{type:Object,required:!0},keyName:{type:String,default:""},depth:{type:Number,default:0},expand:Boolean,forceExpand:Boolean,sort:Boolean,previewMode:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:String},data:function(){return{value:{}}},computed:{ordered:function(){var e=this;if(!this.sort)return this.value;var t={};return Object.keys(this.value).sort().forEach((function(n){t[n]=e.value[n]})),t}},watch:{jsonValue:function(e){this.setValue(e)}},mounted:function(){this.setValue(this.jsonValue)},methods:{setValue:function(e){var t=this;setTimeout((function(){t.value=e}),0)},toggle:function(){this.$emit("update:expand",!this.expand),this.dispatchEvent()},toggleAll:function(){this.$emit("update:expandAll",!this.expand),this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}}},render:function(e){var t,n=this,i=[];if(this.previewMode||this.keyName||i.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?n.toggleAll():n.toggle()}}})),i.push(e("span",{class:{"jv-item":!0,"jv-object":!0},domProps:{innerText:"{"}})),this.expand)for(var o in this.ordered)this.ordered.hasOwnProperty(o)&&(t=this.ordered[o],i.push(e(r.default,{key:o,props:{sort:this.sort,keyName:o,depth:this.depth+1,value:t,previewMode:this.previewMode,forceExpand:this.forceExpand,showArrayIndex:this.showArrayIndex,showDoubleQuotes:this.showDoubleQuotes,path:this.path+"."+o}})));return!this.expand&&Object.keys(this.value).length&&i.push(e("span",{class:{"jv-ellipsis":!0},on:{click:function(e){e.altKey?n.toggleAll():n.toggle()}},attrs:{title:"click to reveal object content (keys: "+Object.keys(this.ordered).join(", ")+")"},domProps:{innerText:"..."}})),i.push(e("span",{class:{"jv-item":!0,"jv-object":!0},domProps:{innerText:"}"}})),e("span",i)}}},function(e,t,n){"use strict";n.r(t);var r,i=n(16),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(21);var r=(n=n)&&n.__esModule?n:{default:n};t.default={name:"JsonArray",props:{jsonValue:{type:Array,required:!0},keyName:{type:String,default:""},depth:{type:Number,default:0},sort:Boolean,expand:Boolean,forceExpand:Boolean,previewMode:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:String},data:function(){return{value:[]}},watch:{jsonValue:function(e){this.setValue(e)}},mounted:function(){this.setValue(this.jsonValue)},methods:{setValue:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;0===n&&(this.value=[]),setTimeout((function(){e.length>n&&(t.value.push(e[n]),t.setValue(e,n+1))}),0)},toggle:function(){this.$emit("update:expand",!this.expand),this.dispatchEvent()},toggleAll:function(){this.$emit("update:expandAll",!this.expand),this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}}},render:function(e){var t=this,n=[];return this.previewMode||this.keyName||n.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}}})),n.push(e("span",{class:{"jv-item":!0,"jv-array":!0},domProps:{innerText:"["}})),this.expand&&this.value.forEach((function(i,o){n.push(e(r.default,{key:o,props:{sort:t.sort,keyName:t.showArrayIndex?""+o:"",depth:t.depth+1,value:i,previewMode:t.previewMode,forceExpand:t.forceExpand,showArrayIndex:t.showArrayIndex,showDoubleQuotes:t.showDoubleQuotes,path:t.path+"."+o}}))})),!this.expand&&this.value.length&&n.push(e("span",{class:{"jv-ellipsis":!0},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}},attrs:{title:"click to reveal "+this.value.length+" hidden items"},domProps:{innerText:"..."}})),n.push(e("span",{class:{"jv-item":!0,"jv-array":!0},domProps:{innerText:"]"}})),e("span",n)}}},function(e,t,n){"use strict";n.r(t);var r,i=n(18),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonFunction",functional:!0,props:{jsonValue:{type:Function,required:!0}},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-function":!0},attrs:{title:t.props.jsonValue.toString()},domProps:{innerHTML:"&lt;function&gt;"}})}}},function(e,t,n){"use strict";n.r(t);var r,i=n(20),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonDate",inject:["timeformat"],functional:!0,props:{jsonValue:{type:Date,required:!0}},render:function(e,t){var n=t.props;t=t.injections,n=n.jsonValue;return e("span",{class:{"jv-item":!0,"jv-string":!0},domProps:{innerText:'"'+(0,t.timeformat)(n)+'"'}})}}},function(e,t,n){"use strict";n.r(t);var r,i=n(3);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n(38);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/json-box.vue",t.default=o.exports},function(e,t,n){"use strict";function r(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{ref:"viewer",class:e.jvClass},[e.copyable?t("div",{class:"jv-tooltip "+(e.copyText.align||"right")},[t("span",{ref:"clip",staticClass:"jv-button",class:{copied:e.copied}},[e._t("copy",(function(){return[e._v("\n "+e._s(e.copied?e.copyText.copiedText:e.copyText.copyText)+"\n ")]}),{copied:e.copied})],2)]):e._e(),e._v(" "),t("div",{staticClass:"jv-code",class:{open:e.expandCode,boxed:e.boxed}},[t("json-box",{ref:"jsonBox",attrs:{value:e.value,sort:e.sort,"preview-mode":e.previewMode,"show-array-index":e.showArrayIndex,"show-double-quotes":e.showDoubleQuotes},on:{keyclick:e.onKeyclick}})],1),e._v(" "),e.expandableCode&&e.boxed?t("div",{staticClass:"jv-more",on:{click:e.toggleExpandCode}},[t("span",{staticClass:"jv-toggle",class:{open:!!e.expandCode}})]):e._e()])}var i=[];r._withStripped=!0,n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}))},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0};n(25)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];return r?t&&"function"==typeof btoa?(e=function(e){return e=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),e="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e),"/*# ".concat(e," */")}(r),t=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")})),[n].concat(t).concat([e]).join("\n")):[n].join("\n"):n}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){var r,i,o,a={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return i=void 0===i?r.apply(this,arguments):i}),l=(o={},function(e){if(void 0===o[e]){var t=function(e){return document.querySelector(e)}.call(this,e);if(t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}o[e]=t}return o[e]}),u=null,c=0,f=[],h=n(40);function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=a[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(b(r.parts[o],t))}else{var s=[];for(o=0;o<r.parts.length;o++)s.push(b(r.parts[o],t));a[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0];o={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(o):n.push(r[a]={id:a,parts:[o]})}return n}function g(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");e=l(e.insertInto+" "+e.insertAt.before),n.insertBefore(t,e)}}function v(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=f.indexOf(e))&&f.splice(e,1))}function y(e){var t=document.createElement("style");return e.attrs.type="text/css",m(t,e.attrs),g(e,t),t}function m(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function b(e,t){var n,r,i,o,a;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}return i=t.singleton?(a=c++,n=u=u||y(t),r=w.bind(null,n,a,!1),w.bind(null,n,a,!0)):e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=t,a=document.createElement("link"),o.attrs.type="text/css",o.attrs.rel="stylesheet",m(a,o.attrs),g(o,a),n=a,r=function(e,t,n){var r=n.css,i=n.sourceMap;n=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||n)&&(r=h(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),i=new Blob([r],{type:"text/css"}),r=e.href,e.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}.bind(null,n,t),function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=y(t),r=function(e,t){var n=t.css;t=t.media;if(t&&e.setAttribute("media",t),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),function(){v(n)}),r(e),function(t){t?t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap||r(e=t):i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return d(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var o=n[i];(s=a[o.id]).refs--,r.push(s)}e&&d(p(e,t),t);var s;for(i=0;i<r.length;i++)if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete a[s.id]}}};var _,x=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function w(e,t,n,r){n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=x(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},function(e,t,n){var r=n(44);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0};n(25)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(28);var r=(n=n)&&n.__esModule?n:{default:n};t.default=Object.assign(r.default,{install:function(e){e.component("JsonViewer",r.default)}})},function(e,t,n){"use strict";n.r(t);var r,i=n(22),o=n(1);for(r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n(43);var a=n(0);i=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);i.options.__file="lib/json-viewer.vue",t.default=i.exports},function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t);var r,i=n(5);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-string.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(7);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-undefined.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(9);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-number.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(11);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-boolean.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(13);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-object.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(15);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-array.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(17);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-function.vue",t.default=o.exports},function(e,t,n){"use strict";n.r(t);var r,i=n(19);for(r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var o=n(0);o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/types/json-date.vue",t.default=o.exports},function(e,t,n){"use strict";n(23)},function(e,t,n){(t=n(24)(!1)).push([e.i,".jv-node{position:relative}.jv-node:after{content:','}.jv-node:last-of-type:after{content:''}.jv-node.toggle{margin-left:13px !important}.jv-node .jv-node{margin-left:25px}\n",""]),e.exports=t},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){t=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(t)?e:(t=0===t.indexOf("//")?t:0===t.indexOf("/")?n+t:r+t.replace(/^\.\//,""),"url("+JSON.stringify(t)+")")}))}},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=function(e,t){var n=Date.now(),r=void 0;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];Date.now()-n<t&&r&&clearTimeout(r),r=setTimeout((function(){e.apply(void 0,o)}),t),n=Date.now()}}},function(e,t,n){"use strict";n(26)},function(e,t,n){var r=n(24),i=n(45);n=n(46);t=r(!1),n=i(n),t.push([e.i,".jv-container{box-sizing:border-box;position:relative}.jv-container.boxed{border:1px solid #eee;border-radius:6px}.jv-container.boxed:hover{box-shadow:0 2px 7px rgba(0,0,0,0.15);border-color:transparent;position:relative}.jv-container.jv-light{background:#fff;white-space:nowrap;color:#525252;font-size:14px;font-family:Consolas, Menlo, Courier, monospace}.jv-container.jv-light .jv-ellipsis{color:#999;background-color:#eee;display:inline-block;line-height:0.9;font-size:0.9em;padding:0px 4px 2px 4px;margin:0 4px;border-radius:3px;vertical-align:2px;cursor:pointer;-webkit-user-select:none;user-select:none}.jv-container.jv-light .jv-button{color:#49b3ff}.jv-container.jv-light .jv-key{color:#111111;margin-right:4px}.jv-container.jv-light .jv-item.jv-array{color:#111111}.jv-container.jv-light .jv-item.jv-boolean{color:#fc1e70}.jv-container.jv-light .jv-item.jv-function{color:#067bca}.jv-container.jv-light .jv-item.jv-number{color:#fc1e70}.jv-container.jv-light .jv-item.jv-object{color:#111111}.jv-container.jv-light .jv-item.jv-undefined{color:#e08331}.jv-container.jv-light .jv-item.jv-string{color:#42b983;word-break:break-word;white-space:normal}.jv-container.jv-light .jv-item.jv-string .jv-link{color:#0366d6}.jv-container.jv-light .jv-code .jv-toggle:before{padding:0px 2px;border-radius:2px}.jv-container.jv-light .jv-code .jv-toggle:hover:before{background:#eee}.jv-container .jv-code{overflow:hidden;padding:30px 20px}.jv-container .jv-code.boxed{max-height:300px}.jv-container .jv-code.open{max-height:initial !important;overflow:visible;overflow-x:auto;padding-bottom:45px}.jv-container .jv-toggle{background-image:url("+n+');background-repeat:no-repeat;background-size:contain;background-position:center center;cursor:pointer;width:10px;height:10px;margin-right:2px;display:inline-block;-webkit-transition:-webkit-transform 0.1s;transition:-webkit-transform 0.1s;transition:transform 0.1s;transition:transform 0.1s, -webkit-transform 0.1s}.jv-container .jv-toggle.open{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jv-container .jv-more{position:absolute;z-index:1;bottom:0;left:0;right:0;height:40px;width:100%;text-align:center;cursor:pointer}.jv-container .jv-more .jv-toggle{position:relative;top:40%;z-index:2;color:#888;-webkit-transition:all 0.1s;transition:all 0.1s;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jv-container .jv-more .jv-toggle.open{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.jv-container .jv-more:after{content:"";width:100%;height:100%;position:absolute;bottom:0;left:0;z-index:1;background:-webkit-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);background:linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);-webkit-transition:all 0.1s;transition:all 0.1s}.jv-container .jv-more:hover .jv-toggle{top:50%;color:#111}.jv-container .jv-more:hover:after{background:-webkit-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);background:linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%)}.jv-container .jv-button{position:relative;cursor:pointer;display:inline-block;padding:5px;z-index:5}.jv-container .jv-button.copied{opacity:0.4;cursor:default}.jv-container .jv-tooltip{position:absolute}.jv-container .jv-tooltip.right{right:15px}.jv-container .jv-tooltip.left{left:15px}.jv-container .j-icon{font-size:12px}\n',""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t=t||{},"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIAo8cG9seWdvbiBwb2ludHM9IjAsMCA4LDggMCwxNiIKc3R5bGU9ImZpbGw6IzY2NjtzdHJva2U6cHVycGxlO3N0cm9rZS13aWR0aDowIiAvPgo8L3N2Zz4="}],n.c=i,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=27);function n(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var r,i}))},"36f2":function(e,t,n){"use strict";var r,i,o,a,s=n("cfe9"),l=n("2a07"),u=n("dbe5"),c=s.structuredClone,f=s.ArrayBuffer,h=s.MessageChannel,d=!1;if(u)d=function(e){c(e,{transfer:[e]})};else if(f)try{h||(r=l("worker_threads"),r&&(h=r.MessageChannel)),h&&(i=new h,o=new f(2),a=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(a(o),0===o.byteLength&&(d=a)))}catch(p){}e.exports=d},3729:function(e,t,n){var r=n("9e69"),i=n("00fd"),o=n("29f3"),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}e.exports=u},"38c2":function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="f059")}({"16de":function(e,t,n){},"47f1":function(e,t,n){
/*!
* Cropper.js v1.5.9
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2020-09-10T13:16:26.743Z
*/
(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(t){return e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e){return l(e)||u(e)||c(e)||h()}function l(e){if(Array.isArray(e))return f(e)}function u(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function c(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d="undefined"!==typeof window&&"undefined"!==typeof window.document,p=d?window:{},g=!(!d||!p.document.documentElement)&&"ontouchstart"in p.document.documentElement,v=!!d&&"PointerEvent"in p,y="cropper",m="all",b="crop",_="move",x="zoom",w="e",S="w",k="s",E="n",O="ne",C="nw",A="se",T="sw",P="".concat(y,"-crop"),M="".concat(y,"-disabled"),D="".concat(y,"-hidden"),I="".concat(y,"-hide"),L="".concat(y,"-invisible"),R="".concat(y,"-modal"),j="".concat(y,"-move"),N="".concat(y,"Action"),B="".concat(y,"Preview"),F="crop",z="move",U="none",H="crop",V="cropend",G="cropmove",W="cropstart",q="dblclick",X=g?"touchstart":"mousedown",Y=g?"touchmove":"mousemove",K=g?"touchend touchcancel":"mouseup",$=v?"pointerdown":X,Z=v?"pointermove":Y,J=v?"pointerup pointercancel":K,Q="ready",ee="resize",te="wheel",ne="zoom",re="image/jpeg",ie=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,oe=/^data:/,ae=/^data:image\/jpeg;base64,/,se=/^img|canvas$/i,le=200,ue=100,ce={viewMode:0,dragMode:F,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:le,minContainerHeight:ue,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},fe='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',he=Number.isNaN||p.isNaN;function de(e){return"number"===typeof e&&!he(e)}var pe=function(e){return e>0&&e<1/0};function ge(e){return"undefined"===typeof e}function ve(t){return"object"===e(t)&&null!==t}var ye=Object.prototype.hasOwnProperty;function me(e){if(!ve(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&ye.call(n,"isPrototypeOf")}catch(r){return!1}}function be(e){return"function"===typeof e}var _e=Array.prototype.slice;function xe(e){return Array.from?Array.from(e):_e.call(e)}function we(e,t){return e&&be(t)&&(Array.isArray(e)||de(e.length)?xe(e).forEach((function(n,r){t.call(e,n,r,e)})):ve(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}))),e}var Se=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ve(e)&&n.length>0&&n.forEach((function(t){ve(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},ke=/\.\d*(?:0|9){12}\d*$/;function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return ke.test(e)?Math.round(e*t)/t:e}var Oe=/^width|height|left|top|marginLeft|marginTop$/;function Ce(e,t){var n=e.style;we(t,(function(e,t){Oe.test(t)&&de(e)&&(e="".concat(e,"px")),n[t]=e}))}function Ae(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Te(e,t){if(t)if(de(e.length))we(e,(function(e){Te(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Pe(e,t){t&&(de(e.length)?we(e,(function(e){Pe(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Me(e,t,n){t&&(de(e.length)?we(e,(function(e){Me(e,t,n)})):n?Te(e,t):Pe(e,t))}var De=/([a-z\d])([A-Z])/g;function Ie(e){return e.replace(De,"$1-$2").toLowerCase()}function Le(e,t){return ve(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Ie(t)))}function Re(e,t,n){ve(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Ie(t)),n)}function je(e,t){if(ve(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Ie(t)))}var Ne=/\s\s*/,Be=function(){var e=!1;if(d){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});p.addEventListener("test",n,r),p.removeEventListener("test",n,r)}return e}();function Fe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(Ne).forEach((function(t){if(!Be){var o=e.listeners;o&&o[t]&&o[t][n]&&(i=o[t][n],delete o[t][n],0===Object.keys(o[t]).length&&delete o[t],0===Object.keys(o).length&&delete e.listeners)}e.removeEventListener(t,i,r)}))}function ze(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(Ne).forEach((function(t){if(r.once&&!Be){var o=e.listeners,a=void 0===o?{}:o;i=function(){delete a[t][n],e.removeEventListener(t,i,r);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];n.apply(e,s)},a[t]||(a[t]={}),a[t][n]&&e.removeEventListener(t,a[t][n],r),a[t][n]=i,e.listeners=a}e.addEventListener(t,i,r)}))}function Ue(e,t,n){var r;return be(Event)&&be(CustomEvent)?r=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,!0,!0,n)),e.dispatchEvent(r)}function He(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ve=p.location,Ge=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function We(e){var t=e.match(Ge);return null!==t&&(t[1]!==Ve.protocol||t[2]!==Ve.hostname||t[3]!==Ve.port)}function qe(e){var t="timestamp=".concat((new Date).getTime());return e+(-1===e.indexOf("?")?"?":"&")+t}function Xe(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,i=e.translateX,o=e.translateY,a=[];de(i)&&0!==i&&a.push("translateX(".concat(i,"px)")),de(o)&&0!==o&&a.push("translateY(".concat(o,"px)")),de(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),de(n)&&1!==n&&a.push("scaleX(".concat(n,")")),de(r)&&1!==r&&a.push("scaleY(".concat(r,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function Ye(e){var t=a({},e),n=0;return we(e,(function(e,r){delete t[r],we(t,(function(t){var r=Math.abs(e.startX-t.startX),i=Math.abs(e.startY-t.startY),o=Math.abs(e.endX-t.endX),a=Math.abs(e.endY-t.endY),s=Math.sqrt(r*r+i*i),l=Math.sqrt(o*o+a*a),u=(l-s)/s;Math.abs(u)>Math.abs(n)&&(n=u)}))})),n}function Ke(e,t){var n=e.pageX,r=e.pageY,i={endX:n,endY:r};return t?i:a({startX:n,startY:r},i)}function $e(e){var t=0,n=0,r=0;return we(e,(function(e){var i=e.startX,o=e.startY;t+=i,n+=o,r+=1})),t/=r,n/=r,{pageX:t,pageY:n}}function Ze(e){var t=e.aspectRatio,n=e.height,r=e.width,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",o=pe(r),a=pe(n);if(o&&a){var s=n*t;"contain"===i&&s>r||"cover"===i&&s<r?n=r/t:r=n*t}else o?n=r/t:a&&(r=n*t);return{width:r,height:n}}function Je(e){var t=e.width,n=e.height,r=e.degree;if(r=Math.abs(r)%180,90===r)return{width:n,height:t};var i=r%90*Math.PI/180,o=Math.sin(i),a=Math.cos(i),s=t*a+n*o,l=t*o+n*a;return r>90?{width:l,height:s}:{width:s,height:l}}function Qe(e,t,n,r){var i=t.aspectRatio,o=t.naturalWidth,a=t.naturalHeight,l=t.rotate,u=void 0===l?0:l,c=t.scaleX,f=void 0===c?1:c,h=t.scaleY,d=void 0===h?1:h,p=n.aspectRatio,g=n.naturalWidth,v=n.naturalHeight,y=r.fillColor,m=void 0===y?"transparent":y,b=r.imageSmoothingEnabled,_=void 0===b||b,x=r.imageSmoothingQuality,w=void 0===x?"low":x,S=r.maxWidth,k=void 0===S?1/0:S,E=r.maxHeight,O=void 0===E?1/0:E,C=r.minWidth,A=void 0===C?0:C,T=r.minHeight,P=void 0===T?0:T,M=document.createElement("canvas"),D=M.getContext("2d"),I=Ze({aspectRatio:p,width:k,height:O}),L=Ze({aspectRatio:p,width:A,height:P},"cover"),R=Math.min(I.width,Math.max(L.width,g)),j=Math.min(I.height,Math.max(L.height,v)),N=Ze({aspectRatio:i,width:k,height:O}),B=Ze({aspectRatio:i,width:A,height:P},"cover"),F=Math.min(N.width,Math.max(B.width,o)),z=Math.min(N.height,Math.max(B.height,a)),U=[-F/2,-z/2,F,z];return M.width=Ee(R),M.height=Ee(j),D.fillStyle=m,D.fillRect(0,0,R,j),D.save(),D.translate(R/2,j/2),D.rotate(u*Math.PI/180),D.scale(f,d),D.imageSmoothingEnabled=_,D.imageSmoothingQuality=w,D.drawImage.apply(D,[e].concat(s(U.map((function(e){return Math.floor(Ee(e))}))))),D.restore(),M}var et=String.fromCharCode;function tt(e,t,n){var r="";n+=t;for(var i=t;i<n;i+=1)r+=et(e.getUint8(i));return r}var nt=/^data:.*,/;function rt(e){var t=e.replace(nt,""),n=atob(t),r=new ArrayBuffer(n.length),i=new Uint8Array(r);return we(i,(function(e,t){i[t]=n.charCodeAt(t)})),r}function it(e,t){var n=[],r=8192,i=new Uint8Array(e);while(i.length>0)n.push(et.apply(null,xe(i.subarray(0,r)))),i=i.subarray(r);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function ot(e){var t,n=new DataView(e);try{var r,i,o;if(255===n.getUint8(0)&&216===n.getUint8(1)){var a=n.byteLength,s=2;while(s+1<a){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){i=s;break}s+=1}}if(i){var l=i+4,u=i+10;if("Exif"===tt(n,l,4)){var c=n.getUint16(u);if(r=18761===c,(r||19789===c)&&42===n.getUint16(u+2,r)){var f=n.getUint32(u+4,r);f>=8&&(o=u+f)}}}if(o){var h,d,p=n.getUint16(o,r);for(d=0;d<p;d+=1)if(h=o+12*d+2,274===n.getUint16(h,r)){h+=8,t=n.getUint16(h,r),n.setUint16(h,1,r);break}}}catch(g){t=1}return t}function at(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:n,scaleY:r}}var st={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,n=this.container,r=this.cropper,i=Number(t.minContainerWidth),o=Number(t.minContainerHeight);Te(r,D),Pe(e,D);var a={width:Math.max(n.offsetWidth,i>=0?i:le),height:Math.max(n.offsetHeight,o>=0?o:ue)};this.containerData=a,Ce(r,{width:a.width,height:a.height}),Te(e,D),Pe(r,D)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,r=Math.abs(t.rotate)%180===90,i=r?t.naturalHeight:t.naturalWidth,o=r?t.naturalWidth:t.naturalHeight,a=i/o,s=e.width,l=e.height;e.height*a>e.width?3===n?s=e.height*a:l=e.width/a:3===n?l=e.width/a:s=e.height*a;var u={aspectRatio:a,naturalWidth:i,naturalHeight:o,width:s,height:l};this.canvasData=u,this.limited=1===n||2===n,this.limitCanvas(!0,!0),u.width=Math.min(Math.max(u.width,u.minWidth),u.maxWidth),u.height=Math.min(Math.max(u.height,u.minHeight),u.maxHeight),u.left=(e.width-u.width)/2,u.top=(e.height-u.height)/2,u.oldLeft=u.left,u.oldTop=u.top,this.initialCanvasData=Se({},u)},limitCanvas:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,o=this.cropBoxData,a=n.viewMode,s=i.aspectRatio,l=this.cropped&&o;if(e){var u=Number(n.minCanvasWidth)||0,c=Number(n.minCanvasHeight)||0;a>1?(u=Math.max(u,r.width),c=Math.max(c,r.height),3===a&&(c*s>u?u=c*s:c=u/s)):a>0&&(u?u=Math.max(u,l?o.width:0):c?c=Math.max(c,l?o.height:0):l&&(u=o.width,c=o.height,c*s>u?u=c*s:c=u/s));var f=Ze({aspectRatio:s,width:u,height:c});u=f.width,c=f.height,i.minWidth=u,i.minHeight=c,i.maxWidth=1/0,i.maxHeight=1/0}if(t)if(a>(l?0:1)){var h=r.width-i.width,d=r.height-i.height;i.minLeft=Math.min(0,h),i.minTop=Math.min(0,d),i.maxLeft=Math.max(0,h),i.maxTop=Math.max(0,d),l&&this.limited&&(i.minLeft=Math.min(o.left,o.left+(o.width-i.width)),i.minTop=Math.min(o.top,o.top+(o.height-i.height)),i.maxLeft=o.left,i.maxTop=o.top,2===a&&(i.width>=r.width&&(i.minLeft=Math.min(0,h),i.maxLeft=Math.max(0,h)),i.height>=r.height&&(i.minTop=Math.min(0,d),i.maxTop=Math.max(0,d))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=r.width,i.maxTop=r.height},renderCanvas:function(e,t){var n=this.canvasData,r=this.imageData;if(t){var i=Je({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),o=i.width,a=i.height,s=n.width*(o/n.naturalWidth),l=n.height*(a/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=o/a,n.naturalWidth=o,n.naturalHeight=a,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,Ce(this.canvas,Se({width:n.width,height:n.height},Xe({translateX:n.left,translateY:n.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,n=this.imageData,r=n.naturalWidth*(t.width/t.naturalWidth),i=n.naturalHeight*(t.height/t.naturalHeight);Se(n,{width:r,height:i,left:(t.width-r)/2,top:(t.height-i)/2}),Ce(this.image,Se({width:n.width,height:n.height},Xe(Se({translateX:n.left,translateY:n.top},n)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,n=e.aspectRatio||e.initialAspectRatio,r=Number(e.autoCropArea)||.8,i={width:t.width,height:t.height};n&&(t.height*n>t.width?i.height=i.width/n:i.width=i.height*n),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=t.left+(t.width-i.width)/2,i.top=t.top+(t.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=Se({},i)},limitCropBox:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,o=this.cropBoxData,a=this.limited,s=n.aspectRatio;if(e){var l=Number(n.minCropBoxWidth)||0,u=Number(n.minCropBoxHeight)||0,c=a?Math.min(r.width,i.width,i.width+i.left,r.width-i.left):r.width,f=a?Math.min(r.height,i.height,i.height+i.top,r.height-i.top):r.height;l=Math.min(l,r.width),u=Math.min(u,r.height),s&&(l&&u?u*s>l?u=l/s:l=u*s:l?u=l/s:u&&(l=u*s),f*s>c?f=c/s:c=f*s),o.minWidth=Math.min(l,c),o.minHeight=Math.min(u,f),o.maxWidth=c,o.maxHeight=f}t&&(a?(o.minLeft=Math.max(0,i.left),o.minTop=Math.max(0,i.top),o.maxLeft=Math.min(r.width,i.left+i.width)-o.width,o.maxTop=Math.min(r.height,i.top+i.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=r.width-o.width,o.maxTop=r.height-o.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,e.movable&&e.cropBoxMovable&&Re(this.face,N,n.width>=t.width&&n.height>=t.height?_:m),Ce(this.cropBox,Se({width:n.width,height:n.height},Xe({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Ue(this.element,H,this.getData())}},lt={initPreview:function(){var e=this.element,t=this.crossOrigin,n=this.options.preview,r=t?this.crossOriginUrl:this.url,i=e.alt||"The image to preview",o=document.createElement("img");if(t&&(o.crossOrigin=t),o.src=r,o.alt=i,this.viewBox.appendChild(o),this.viewBoxImage=o,n){var a=n;"string"===typeof n?a=e.ownerDocument.querySelectorAll(n):n.querySelector&&(a=[n]),this.previews=a,we(a,(function(e){var n=document.createElement("img");Re(e,B,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=r,n.alt=i,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(n)}))}},resetPreview:function(){we(this.previews,(function(e){var t=Le(e,B);Ce(e,{width:t.width,height:t.height}),e.innerHTML=t.html,je(e,B)}))},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,r=n.width,i=n.height,o=e.width,a=e.height,s=n.left-t.left-e.left,l=n.top-t.top-e.top;this.cropped&&!this.disabled&&(Ce(this.viewBoxImage,Se({width:o,height:a},Xe(Se({translateX:-s,translateY:-l},e)))),we(this.previews,(function(t){var n=Le(t,B),u=n.width,c=n.height,f=u,h=c,d=1;r&&(d=u/r,h=i*d),i&&h>c&&(d=c/i,f=r*d,h=c),Ce(t,{width:f,height:h}),Ce(t.getElementsByTagName("img")[0],Se({width:o*d,height:a*d},Xe(Se({translateX:-s*d,translateY:-l*d},e))))})))}},ut={bind:function(){var e=this.element,t=this.options,n=this.cropper;be(t.cropstart)&&ze(e,W,t.cropstart),be(t.cropmove)&&ze(e,G,t.cropmove),be(t.cropend)&&ze(e,V,t.cropend),be(t.crop)&&ze(e,H,t.crop),be(t.zoom)&&ze(e,ne,t.zoom),ze(n,$,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&ze(n,te,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ze(n,q,this.onDblclick=this.dblclick.bind(this)),ze(e.ownerDocument,Z,this.onCropMove=this.cropMove.bind(this)),ze(e.ownerDocument,J,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&ze(window,ee,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;be(t.cropstart)&&Fe(e,W,t.cropstart),be(t.cropmove)&&Fe(e,G,t.cropmove),be(t.cropend)&&Fe(e,V,t.cropend),be(t.crop)&&Fe(e,H,t.crop),be(t.zoom)&&Fe(e,ne,t.zoom),Fe(n,$,this.onCropStart),t.zoomable&&t.zoomOnWheel&&Fe(n,te,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Fe(n,q,this.onDblclick),Fe(e.ownerDocument,Z,this.onCropMove),Fe(e.ownerDocument,J,this.onCropEnd),t.responsive&&Fe(window,ee,this.onResize)}},ct={resize:function(){if(!this.disabled){var e,t,n=this.options,r=this.container,i=this.containerData,o=r.offsetWidth/i.width;1===o&&r.offsetHeight===i.height||(n.restore&&(e=this.getCanvasData(),t=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(we(e,(function(t,n){e[n]=t*o}))),this.setCropBoxData(we(t,(function(e,n){t[n]=e*o})))))}},dblclick:function(){this.disabled||this.options.dragMode===U||this.setDragMode(Ae(this.dragBox,P)?z:F)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50),e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(de(t)&&1!==t||de(n)&&0!==n||e.ctrlKey))){var r,i=this.options,o=this.pointers;e.changedTouches?we(e.changedTouches,(function(e){o[e.identifier]=Ke(e)})):o[e.pointerId||0]=Ke(e),r=Object.keys(o).length>1&&i.zoomable&&i.zoomOnTouch?x:Le(e.target,N),ie.test(r)&&!1!==Ue(this.element,W,{originalEvent:e,action:r})&&(e.preventDefault(),this.action=r,this.cropping=!1,r===b&&(this.cropping=!0,Te(this.dragBox,R)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==Ue(this.element,G,{originalEvent:e,action:t})&&(e.changedTouches?we(e.changedTouches,(function(e){Se(n[e.identifier]||{},Ke(e,!0))})):Se(n[e.pointerId||0]||{},Ke(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?we(e.changedTouches,(function(e){delete n[e.identifier]})):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Me(this.dragBox,R,this.cropped&&this.options.modal)),Ue(this.element,V,{originalEvent:e,action:t}))}}},ft={change:function(e){var t,n=this.options,r=this.canvasData,i=this.containerData,o=this.cropBoxData,a=this.pointers,s=this.action,l=n.aspectRatio,u=o.left,c=o.top,f=o.width,h=o.height,d=u+f,p=c+h,g=0,v=0,y=i.width,P=i.height,M=!0;!l&&e.shiftKey&&(l=f&&h?f/h:1),this.limited&&(g=o.minLeft,v=o.minTop,y=g+Math.min(i.width,r.width,r.left+r.width),P=v+Math.min(i.height,r.height,r.top+r.height));var I=a[Object.keys(a)[0]],L={x:I.endX-I.startX,y:I.endY-I.startY},R=function(e){switch(e){case w:d+L.x>y&&(L.x=y-d);break;case S:u+L.x<g&&(L.x=g-u);break;case E:c+L.y<v&&(L.y=v-c);break;case k:p+L.y>P&&(L.y=P-p);break}};switch(s){case m:u+=L.x,c+=L.y;break;case w:if(L.x>=0&&(d>=y||l&&(c<=v||p>=P))){M=!1;break}R(w),f+=L.x,f<0&&(s=S,f=-f,u-=f),l&&(h=f/l,c+=(o.height-h)/2);break;case E:if(L.y<=0&&(c<=v||l&&(u<=g||d>=y))){M=!1;break}R(E),h-=L.y,c+=L.y,h<0&&(s=k,h=-h,c-=h),l&&(f=h*l,u+=(o.width-f)/2);break;case S:if(L.x<=0&&(u<=g||l&&(c<=v||p>=P))){M=!1;break}R(S),f-=L.x,u+=L.x,f<0&&(s=w,f=-f,u-=f),l&&(h=f/l,c+=(o.height-h)/2);break;case k:if(L.y>=0&&(p>=P||l&&(u<=g||d>=y))){M=!1;break}R(k),h+=L.y,h<0&&(s=E,h=-h,c-=h),l&&(f=h*l,u+=(o.width-f)/2);break;case O:if(l){if(L.y<=0&&(c<=v||d>=y)){M=!1;break}R(E),h-=L.y,c+=L.y,f=h*l}else R(E),R(w),L.x>=0?d<y?f+=L.x:L.y<=0&&c<=v&&(M=!1):f+=L.x,L.y<=0?c>v&&(h-=L.y,c+=L.y):(h-=L.y,c+=L.y);f<0&&h<0?(s=T,h=-h,f=-f,c-=h,u-=f):f<0?(s=C,f=-f,u-=f):h<0&&(s=A,h=-h,c-=h);break;case C:if(l){if(L.y<=0&&(c<=v||u<=g)){M=!1;break}R(E),h-=L.y,c+=L.y,f=h*l,u+=o.width-f}else R(E),R(S),L.x<=0?u>g?(f-=L.x,u+=L.x):L.y<=0&&c<=v&&(M=!1):(f-=L.x,u+=L.x),L.y<=0?c>v&&(h-=L.y,c+=L.y):(h-=L.y,c+=L.y);f<0&&h<0?(s=A,h=-h,f=-f,c-=h,u-=f):f<0?(s=O,f=-f,u-=f):h<0&&(s=T,h=-h,c-=h);break;case T:if(l){if(L.x<=0&&(u<=g||p>=P)){M=!1;break}R(S),f-=L.x,u+=L.x,h=f/l}else R(k),R(S),L.x<=0?u>g?(f-=L.x,u+=L.x):L.y>=0&&p>=P&&(M=!1):(f-=L.x,u+=L.x),L.y>=0?p<P&&(h+=L.y):h+=L.y;f<0&&h<0?(s=O,h=-h,f=-f,c-=h,u-=f):f<0?(s=A,f=-f,u-=f):h<0&&(s=C,h=-h,c-=h);break;case A:if(l){if(L.x>=0&&(d>=y||p>=P)){M=!1;break}R(w),f+=L.x,h=f/l}else R(k),R(w),L.x>=0?d<y?f+=L.x:L.y>=0&&p>=P&&(M=!1):f+=L.x,L.y>=0?p<P&&(h+=L.y):h+=L.y;f<0&&h<0?(s=C,h=-h,f=-f,c-=h,u-=f):f<0?(s=T,f=-f,u-=f):h<0&&(s=O,h=-h,c-=h);break;case _:this.move(L.x,L.y),M=!1;break;case x:this.zoom(Ye(a),e),M=!1;break;case b:if(!L.x||!L.y){M=!1;break}t=He(this.cropper),u=I.startX-t.left,c=I.startY-t.top,f=o.minWidth,h=o.minHeight,L.x>0?s=L.y>0?A:O:L.x<0&&(u-=f,s=L.y>0?T:C),L.y<0&&(c-=h),this.cropped||(Pe(this.cropBox,D),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}M&&(o.width=f,o.height=h,o.left=u,o.top=c,this.action=s,this.renderCropBox()),we(a,(function(e){e.startX=e.endX,e.startY=e.endY}))}},ht={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Te(this.dragBox,R),Pe(this.cropBox,D),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Se({},this.initialImageData),this.canvasData=Se({},this.initialCanvasData),this.cropBoxData=Se({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Se(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Pe(this.dragBox,R),Te(this.cropBox,D)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,we(this.previews,(function(t){t.getElementsByTagName("img")[0].src=e})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Pe(this.cropper,M)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Te(this.cropper,M)),this},destroy:function(){var e=this.element;return e[y]?(e[y]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=n.left,i=n.top;return this.moveTo(ge(e)?e:r+Number(e),ge(t)?t:i+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(de(e)&&(n.left=e,r=!0),de(t)&&(n.top=t,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var r=this.options,i=this.canvasData,o=i.width,a=i.height,s=i.naturalWidth,l=i.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&r.zoomable){var u=s*e,c=l*e;if(!1===Ue(this.element,ne,{ratio:e,oldRatio:o/s,originalEvent:n}))return this;if(n){var f=this.pointers,h=He(this.cropper),d=f&&Object.keys(f).length?$e(f):{pageX:n.pageX,pageY:n.pageY};i.left-=(u-o)*((d.pageX-h.left-i.left)/o),i.top-=(c-a)*((d.pageY-h.top-i.top)/a)}else me(t)&&de(t.x)&&de(t.y)?(i.left-=(u-o)*((t.x-i.left)/o),i.top-=(c-a)*((t.y-i.top)/a)):(i.left-=(u-o)/2,i.top-=(c-a)/2);i.width=u,i.height=c,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),de(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,de(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(de(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(de(e)&&(n.scaleX=e,r=!0),de(t)&&(n.scaleY=t,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,r=this.imageData,i=this.canvasData,o=this.cropBoxData;if(this.ready&&this.cropped){e={x:o.left-i.left,y:o.top-i.top,width:o.width,height:o.height};var a=r.width/r.naturalWidth;if(we(e,(function(t,n){e[n]=t/a})),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=r.rotate||0),n.scalable&&(e.scaleX=r.scaleX||1,e.scaleY=r.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,r=this.canvasData,i={};if(this.ready&&!this.disabled&&me(e)){var o=!1;t.rotatable&&de(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,o=!0),t.scalable&&(de(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,o=!0),de(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var a=n.width/n.naturalWidth;de(e.x)&&(i.left=e.x*a+r.left),de(e.y)&&(i.top=e.y*a+r.top),de(e.width)&&(i.width=e.width*a),de(e.height)&&(i.height=e.height*a),this.setCropBoxData(i)}return this},getContainerData:function(){return this.ready?Se({},this.containerData):{}},getImageData:function(){return this.sized?Se({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&we(["left","top","width","height","naturalWidth","naturalHeight"],(function(n){t[n]=e[n]})),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&me(e)&&(de(e.left)&&(t.left=e.left),de(e.top)&&(t.top=e.top),de(e.width)?(t.width=e.width,t.height=e.width/n):de(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,r=this.cropBoxData,i=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&me(e)&&(de(e.left)&&(r.left=e.left),de(e.top)&&(r.top=e.top),de(e.width)&&e.width!==r.width&&(t=!0,r.width=e.width),de(e.height)&&e.height!==r.height&&(n=!0,r.height=e.height),i&&(t?r.height=r.width/i:n&&(r.width=r.height*i)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=Qe(this.image,this.imageData,t,e);if(!this.cropped)return n;var r=this.getData(),i=r.x,o=r.y,a=r.width,l=r.height,u=n.width/Math.floor(t.naturalWidth);1!==u&&(i*=u,o*=u,a*=u,l*=u);var c=a/l,f=Ze({aspectRatio:c,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Ze({aspectRatio:c,width:e.minWidth||0,height:e.minHeight||0},"cover"),d=Ze({aspectRatio:c,width:e.width||(1!==u?n.width:a),height:e.height||(1!==u?n.height:l)}),p=d.width,g=d.height;p=Math.min(f.width,Math.max(h.width,p)),g=Math.min(f.height,Math.max(h.height,g));var v=document.createElement("canvas"),y=v.getContext("2d");v.width=Ee(p),v.height=Ee(g),y.fillStyle=e.fillColor||"transparent",y.fillRect(0,0,p,g);var m=e.imageSmoothingEnabled,b=void 0===m||m,_=e.imageSmoothingQuality;y.imageSmoothingEnabled=b,_&&(y.imageSmoothingQuality=_);var x,w,S,k,E,O,C=n.width,A=n.height,T=i,P=o;T<=-a||T>C?(T=0,x=0,S=0,E=0):T<=0?(S=-T,T=0,x=Math.min(C,a+T),E=x):T<=C&&(S=0,x=Math.min(a,C-T),E=x),x<=0||P<=-l||P>A?(P=0,w=0,k=0,O=0):P<=0?(k=-P,P=0,w=Math.min(A,l+P),O=w):P<=A&&(k=0,w=Math.min(l,A-P),O=w);var M=[T,P,x,w];if(E>0&&O>0){var D=p/a;M.push(S*D,k*D,E*D,O*D)}return y.drawImage.apply(y,[n].concat(s(M.map((function(e){return Math.floor(Ee(e))}))))),v},setAspectRatio:function(e){var t=this.options;return this.disabled||ge(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var i=e===F,o=t.movable&&e===z;e=i||o?e:U,t.dragMode=e,Re(n,N,e),Me(n,P,i),Me(n,j,o),t.cropBoxMovable||(Re(r,N,e),Me(r,P,i),Me(r,j,o))}return this}},dt=p.Cropper,pt=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t(this,e),!n||!se.test(n.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=n,this.options=Se({},ce,me(r)&&r),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return r(e,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[y]){if(t[y]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,r=this.options;if(r.rotatable||r.scalable||(r.checkOrientation=!1),r.checkOrientation&&window.ArrayBuffer)if(oe.test(e))ae.test(e)?this.read(rt(e)):this.clone();else{var i=new XMLHttpRequest,o=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=o,i.onerror=o,i.ontimeout=o,i.onprogress=function(){i.getResponseHeader("content-type")!==re&&i.abort()},i.onload=function(){t.read(i.response)},i.onloadend=function(){t.reloading=!1,t.xhr=null},r.checkCrossOrigin&&We(e)&&n.crossOrigin&&(e=qe(e)),i.open("GET",e),i.responseType="arraybuffer",i.withCredentials="use-credentials"===n.crossOrigin,i.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,r=ot(e),i=0,o=1,a=1;if(r>1){this.url=it(e,re);var s=at(r);i=s.rotate,o=s.scaleX,a=s.scaleY}t.rotatable&&(n.rotate=i),t.scalable&&(n.scaleX=o,n.scaleY=a),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,n=e.crossOrigin,r=t;this.options.checkCrossOrigin&&We(t)&&(n||(n="anonymous"),r=qe(t)),this.crossOrigin=n,this.crossOriginUrl=r;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=r||t,i.alt=e.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),Te(i,I),e.parentNode.insertBefore(i,e.nextSibling)}},{key:"start",value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=p.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(p.navigator.userAgent),r=function(t,n){Se(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.initialImageData=Se({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var i=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){r(i.width,i.height),n||o.removeChild(i)},i.src=t.src,n||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(i))}else r(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,r=e.parentNode,i=document.createElement("div");i.innerHTML=fe;var o=i.querySelector(".".concat(y,"-container")),a=o.querySelector(".".concat(y,"-canvas")),s=o.querySelector(".".concat(y,"-drag-box")),l=o.querySelector(".".concat(y,"-crop-box")),u=l.querySelector(".".concat(y,"-face"));this.container=r,this.cropper=o,this.canvas=a,this.dragBox=s,this.cropBox=l,this.viewBox=o.querySelector(".".concat(y,"-view-box")),this.face=u,a.appendChild(n),Te(e,D),r.insertBefore(o,e.nextSibling),this.isImg||Pe(n,I),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Te(l,D),t.guides||Te(l.getElementsByClassName("".concat(y,"-dashed")),D),t.center||Te(l.getElementsByClassName("".concat(y,"-center")),D),t.background&&Te(o,"".concat(y,"-bg")),t.highlight||Te(u,L),t.cropBoxMovable&&(Te(u,j),Re(u,N,m)),t.cropBoxResizable||(Te(l.getElementsByClassName("".concat(y,"-line")),D),Te(l.getElementsByClassName("".concat(y,"-point")),D)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),be(t.ready)&&ze(e,Q,t.ready,{once:!0}),Ue(e,Q)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),Pe(this.element,D))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=dt,e}},{key:"setDefaults",value:function(e){Se(ce,me(e)&&e)}}]),e}();return Se(pt.prototype,st,lt,ut,ct,ft,ht),pt}))},"79e4":function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===l)return f[h];if(l===c&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},"81b7":function(e,t,n){"use strict";n("16de")},c98b:function(e,t,n){},f059:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,i=n("79e4");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.originImg?n("div",{staticClass:"vab-cropper"},[n("div",{staticClass:"vab-cropper-canvas"},[e.cropper?e._e():n("img",{attrs:{src:e.originImg}}),n("canvas",{ref:"canvas"})]),n("div",{staticClass:"vab-cropper-preview"},[e._t("default")],2)]):e._e()},s=[],l=n("47f1"),u=n.n(l),c=(n("c98b"),{name:"VabCropper",props:{options:{type:Object,required:!0,default:function(){}},originImg:{type:String,required:!0},previewImg:{type:String}},data:function(){return{cropper:null,croppShow:!0}},mounted:function(){this.drawImg()},methods:{drawImg:function(){var e=this;this.$nextTick((function(){var t=e.$refs["canvas"];if(t){t.width=274,t.height=274;var n=t.getContext("2d");n.clearRect(0,0,t.width,t.height);var r=new Image;r.crossOrigin="Anonymous",r.src=e.originImg,r.onload=function(){n.drawImage(r,0,0,t.width,t.height),e.initCropper()}}}))},initCropper:function(){var e=this;this.croppShow=!0;var t=this.options,n=t.viewMode,r=t.aspectRatio,i=t.x,o=t.y,a=t.width,s=t.height;this.cropper=new u.a(this.$refs.canvas,{checkCrossOrigin:!0,viewMode:n||3,zoomOnWheel:!0,aspectRatio:r||1,ready:function(){e.cropper.setData({x:i,y:o,width:a,height:s})},crop:function(){e.sureCropper()}})},sureCropper:function(){var e=this;this.cropper.getCroppedCanvas().toBlob((function(t){var n=new FileReader;n.onloadend=function(t){var n=t.target.result;e.$emit("get-vab-cropper",n)},n.readAsDataURL(t)}),"image/jpeg")},cancelCropper:function(){this.cropper.destroy(),this.croppShow=!1,this.cropper=null}}}),f=c;function h(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}n("81b7");var d=h(f,a,s,!1,null,"8eb1aefc",null),p=d.exports,g=p;t["default"]=g}})}))},"3c5d":function(e,t,n){"use strict";var r=n("cfe9"),i=n("c65b"),o=n("ebb5"),a=n("07fa"),s=n("182d8"),l=n("7b0b"),u=n("d039"),c=r.RangeError,f=r.Int8Array,h=f&&f.prototype,d=h&&h.set,p=o.aTypedArray,g=o.exportTypedArrayMethod,v=!u((function(){var e=new Uint8ClampedArray(2);return i(d,e,{length:1,0:3},1),3!==e[1]})),y=v&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(v)return i(d,this,n,t);var r=this.length,o=a(n),u=0;if(o+t>r)throw new c("Wrong length");while(u<o)this[t+u]=n[u++]}),!v||y)},"3e8f":function(e,t){},"406e":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return g}));n("14d9");var r=null;function i(e){return r||(r=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window)),r(e)}var o=null;function a(e){o||(o=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window)),o(e)}function s(e){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function l(e,t){void 0===t&&(t={});var n=document.createElement(e);return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function u(e,t,n){var r=window.getComputedStyle(e,n||null)||{display:"none"};return r[t]}function c(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};var t=e;while(t!==document){if("none"===u(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var f='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',h=0,d=null;function p(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=y.bind(e));var n=e.__resize_listeners__;if(!n)if(e.__resize_listeners__=[],window.ResizeObserver){var r=e.offsetWidth,i=e.offsetHeight,o=new ResizeObserver((function(){(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==r||e.offsetHeight!==i))&&b(e)})),a=c(e),l=a.detached,u=a.rendered;e.__resize_observer_triggered__=!1===l&&!1===u,e.__resize_observer__=o,o.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){b(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(h||(d=s(f)),_(e),e.__resize_rendered__=c(e).rendered,window.MutationObserver){var p=new MutationObserver(e.__resize_mutation_handler__);p.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=p}e.__resize_listeners__.push(t),h++}function g(e,t){var n=e.__resize_listeners__;if(n){if(t&&n.splice(n.indexOf(t),1),!n.length||!t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",m),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--h&&d&&d.parentNode.removeChild(d)}}function v(e){var t=e.__resize_last__,n=t.width,r=t.height,i=e.offsetWidth,o=e.offsetHeight;return i!==n||o!==r?{width:i,height:o}:null}function y(){var e=c(this),t=e.rendered,n=e.detached;t!==this.__resize_rendered__&&(!n&&this.__resize_triggers__&&(x(this),this.addEventListener("scroll",m,!0)),this.__resize_rendered__=t,b(this))}function m(){var e=this;x(this),this.__resize_raf__&&a(this.__resize_raf__),this.__resize_raf__=i((function(){var t=v(e);t&&(e.__resize_last__=t,b(e))}))}function b(e){e&&e.__resize_listeners__&&e.__resize_listeners__.forEach((function(t){t.call(e,e)}))}function _(e){var t=u(e,"position");t&&"static"!==t||(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};var n=l("div",{className:"resize-triggers"}),r=l("div",{className:"resize-expand-trigger"}),i=l("div"),o=l("div",{className:"resize-contract-trigger"});r.appendChild(i),n.appendChild(r),n.appendChild(o),e.appendChild(n),e.__resize_triggers__={triggers:n,expand:r,expandChild:i,contract:o},x(e),e.addEventListener("scroll",m,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function x(e){var t=e.__resize_triggers__,n=t.expand,r=t.expandChild,i=t.contract,o=i.scrollWidth,a=i.scrollHeight,s=n.offsetWidth,l=n.offsetHeight,u=n.scrollWidth,c=n.scrollHeight;i.scrollLeft=o,i.scrollTop=a,r.style.width=s+1+"px",r.style.height=l+1+"px",n.scrollLeft=u,n.scrollTop=c}},"408c":function(e,t,n){var r=n("2b3e"),i=function(){return r.Date.now()};e.exports=i},"40e9":function(e,t,n){"use strict";var r=n("23e7"),i=n("41f6");i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},"417c":function(e,t,n){},"41ef":function(e,t,n){"use strict";n.d(t,"h",(function(){return m})),n.d(t,"c",(function(){return x})),n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return S})),n.d(t,"g",(function(){return k})),n.d(t,"f",(function(){return E})),n.d(t,"i",(function(){return O})),n.d(t,"e",(function(){return C})),n.d(t,"d",(function(){return T}));var r=n("d51b"),i=n("6d8b"),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(e){return e=Math.round(e),e<0?0:e>255?255:e}function s(e){return e=Math.round(e),e<0?0:e>360?360:e}function l(e){return e<0?0:e>1?1:e}function u(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function c(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?l(parseFloat(t)/100):l(parseFloat(t))}function f(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){return e+(t-e)*n}function d(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var g=new r["a"](20),v=null;function y(e,t){v&&p(v,t),v=g.put(e,v||t.slice())}function m(e,t){if(e){t=t||[];var n=g.get(e);if(n)return p(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in o)return p(t,o[r]),y(e,t),t;var i=r.length;if("#"!==r.charAt(0)){var a=r.indexOf("("),s=r.indexOf(")");if(-1!==a&&s+1===i){var l=r.substr(0,a),f=r.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==f.length)return 3===f.length?d(t,+f[0],+f[1],+f[2],1):d(t,0,0,0,1);h=c(f.pop());case"rgb":return f.length>=3?(d(t,u(f[0]),u(f[1]),u(f[2]),3===f.length?h:c(f[3])),y(e,t),t):void d(t,0,0,0,1);case"hsla":return 4!==f.length?void d(t,0,0,0,1):(f[3]=c(f[3]),b(f,t),y(e,t),t);case"hsl":return 3!==f.length?void d(t,0,0,0,1):(b(f,t),y(e,t),t);default:return}}d(t,0,0,0,1)}else{if(4===i||5===i){var v=parseInt(r.slice(1,4),16);return v>=0&&v<=4095?(d(t,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===i?parseInt(r.slice(4),16)/15:1),y(e,t),t):void d(t,0,0,0,1)}if(7===i||9===i){v=parseInt(r.slice(1,7),16);return v>=0&&v<=16777215?(d(t,(16711680&v)>>16,(65280&v)>>8,255&v,9===i?parseInt(r.slice(7),16)/255:1),y(e,t),t):void d(t,0,0,0,1)}}}}function b(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=c(e[1]),i=c(e[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return t=t||[],d(t,a(255*f(s,o,n+1/3)),a(255*f(s,o,n)),a(255*f(s,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function _(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,f=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?t=h-f:i===s?t=1/3+c-h:o===s&&(t=2/3+f-c),t<0&&(t+=1),t>1&&(t-=1)}var d=[360*t,n,u];return null!=e[3]&&d.push(e[3]),d}}function x(e,t){var n=m(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return O(n,4===n.length?"rgba":"rgb")}}function w(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),s=t[i],u=t[o],c=r-i;return n[0]=a(h(s[0],u[0],c)),n[1]=a(h(s[1],u[1],c)),n[2]=a(h(s[2],u[2],c)),n[3]=l(h(s[3],u[3],c)),n}}function S(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),s=m(t[i]),u=m(t[o]),c=r-i,f=O([a(h(s[0],u[0],c)),a(h(s[1],u[1],c)),a(h(s[2],u[2],c)),l(h(s[3],u[3],c))],"rgba");return n?{color:f,leftIndex:i,rightIndex:o,value:r}:f}}function k(e,t,n,r){var i=m(e);if(e)return i=_(i),null!=t&&(i[0]=s(t)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),O(b(i),"rgba")}function E(e,t){var n=m(e);if(n&&null!=t)return n[3]=l(t),O(n,"rgba")}function O(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function C(e,t){var n=m(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var A=new r["a"](100);function T(e){if(Object(i["C"])(e)){var t=A.get(e);return t||(t=x(e,-.1),A.put(e,t)),t}if(Object(i["x"])(e)){var n=Object(i["m"])({},e);return n.colorStops=Object(i["H"])(e.colorStops,(function(e){return{offset:e.offset,color:x(e.color,-.1)}})),n}return e}},"41f6":function(e,t,n){"use strict";var r=n("cfe9"),i=n("e330"),o=n("7282"),a=n("0b25"),s=n("2005"),l=n("b620"),u=n("36f2"),c=n("dbe5"),f=r.structuredClone,h=r.ArrayBuffer,d=r.DataView,p=Math.min,g=h.prototype,v=d.prototype,y=i(g.slice),m=o(g,"resizable","get"),b=o(g,"maxByteLength","get"),_=i(v.getInt8),x=i(v.setInt8);e.exports=(c||u)&&function(e,t,n){var r,i=l(e),o=void 0===t?i:a(t),g=!m||!m(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===o&&(n||g)))return e;if(i>=o&&(!n||g))r=y(e,0,o);else{var v=n&&!g&&b?{maxByteLength:b(e)}:void 0;r=new h(o,v);for(var w=new d(e),S=new d(r),k=p(o,i),E=0;E<k;E++)x(S,E,_(w,E))}return c||u(e),r}},"45f9":function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="f03e")}({"10fb":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"13d4":function(e,t,n){var r=n("d1ac"),i=n("56c1"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},"1b73":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("2409"))},"1dfa":function(e,t,n){var r=n("4ce1");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},2409:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"338b":function(e,t){e.exports=!1},"392e":function(e,t,n){var r=n("1b73");e.exports=r},4382:function(e,t,n){var r=n("4ce1");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"470f":function(e,t,n){(function(t,r){e.exports=r(n("7163"))})(window,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=31)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.enableLogs=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(5);function o(){}var a={trace:o,debug:o,log:o,warn:o,info:o,error:o},s=a;function l(e,t){return t="["+e+"] > "+t,t}var u=(0,i.getSelfScope)();function c(e){var t=u.console[e];return t?function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];r[0]&&(r[0]=l(e,r[0])),t.apply(u.console,r)}:o}function f(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.forEach((function(t){s[t]=e[t]?e[t].bind(e):c(t)}))}t.enableLogs=function(e){if(!0===e||"object"===("undefined"===typeof e?"undefined":r(e))){f(e,"debug","log","info","warn","error");try{s.log()}catch(t){s=a}}else s=a},t.logger=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={MEDIA_ATTACHING:"hlsMediaAttaching",MEDIA_ATTACHED:"hlsMediaAttached",MEDIA_DETACHING:"hlsMediaDetaching",MEDIA_DETACHED:"hlsMediaDetached",BUFFER_RESET:"hlsBufferReset",BUFFER_CODECS:"hlsBufferCodecs",BUFFER_CREATED:"hlsBufferCreated",BUFFER_APPENDING:"hlsBufferAppending",BUFFER_APPENDED:"hlsBufferAppended",BUFFER_EOS:"hlsBufferEos",BUFFER_FLUSHING:"hlsBufferFlushing",BUFFER_FLUSHED:"hlsBufferFlushed",MANIFEST_LOADING:"hlsManifestLoading",MANIFEST_LOADED:"hlsManifestLoaded",MANIFEST_PARSED:"hlsManifestParsed",LEVEL_SWITCHING:"hlsLevelSwitching",LEVEL_SWITCHED:"hlsLevelSwitched",LEVEL_LOADING:"hlsLevelLoading",LEVEL_LOADED:"hlsLevelLoaded",LEVEL_UPDATED:"hlsLevelUpdated",LEVEL_PTS_UPDATED:"hlsLevelPtsUpdated",AUDIO_TRACKS_UPDATED:"hlsAudioTracksUpdated",AUDIO_TRACK_SWITCHING:"hlsAudioTrackSwitching",AUDIO_TRACK_SWITCHED:"hlsAudioTrackSwitched",AUDIO_TRACK_LOADING:"hlsAudioTrackLoading",AUDIO_TRACK_LOADED:"hlsAudioTrackLoaded",SUBTITLE_TRACKS_UPDATED:"hlsSubtitleTracksUpdated",SUBTITLE_TRACK_SWITCH:"hlsSubtitleTrackSwitch",SUBTITLE_TRACK_LOADING:"hlsSubtitleTrackLoading",SUBTITLE_TRACK_LOADED:"hlsSubtitleTrackLoaded",SUBTITLE_FRAG_PROCESSED:"hlsSubtitleFragProcessed",INIT_PTS_FOUND:"hlsInitPtsFound",FRAG_LOADING:"hlsFragLoading",FRAG_LOAD_PROGRESS:"hlsFragLoadProgress",FRAG_LOAD_EMERGENCY_ABORTED:"hlsFragLoadEmergencyAborted",FRAG_LOADED:"hlsFragLoaded",FRAG_DECRYPTED:"hlsFragDecrypted",FRAG_PARSING_INIT_SEGMENT:"hlsFragParsingInitSegment",FRAG_PARSING_USERDATA:"hlsFragParsingUserdata",FRAG_PARSING_METADATA:"hlsFragParsingMetadata",FRAG_PARSING_DATA:"hlsFragParsingData",FRAG_PARSED:"hlsFragParsed",FRAG_BUFFERED:"hlsFragBuffered",FRAG_CHANGED:"hlsFragChanged",FPS_DROP:"hlsFpsDrop",FPS_DROP_LEVEL_CAPPING:"hlsFpsDropLevelCapping",ERROR:"hlsError",DESTROYING:"hlsDestroying",KEY_LOADING:"hlsKeyLoading",KEY_LOADED:"hlsKeyLoaded",STREAM_STATE_TRANSITION:"hlsStreamStateTransition"};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTypes={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",KEY_SYSTEM_ERROR:"keySystemError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},t.ErrorDetails={KEY_SYSTEM_NO_KEYS:"keySystemNoKeys",KEY_SYSTEM_NO_ACCESS:"keySystemNoAccess",KEY_SYSTEM_NO_SESSION:"keySystemNoSession",KEY_SYSTEM_LICENSE_REQUEST_FAILED:"keySystemLicenseRequestFailed",MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",MANIFEST_PARSING_ERROR:"manifestParsingError",MANIFEST_INCOMPATIBLE_CODECS_ERROR:"manifestIncompatibleCodecsError",LEVEL_LOAD_ERROR:"levelLoadError",LEVEL_LOAD_TIMEOUT:"levelLoadTimeOut",LEVEL_SWITCH_ERROR:"levelSwitchError",AUDIO_TRACK_LOAD_ERROR:"audioTrackLoadError",AUDIO_TRACK_LOAD_TIMEOUT:"audioTrackLoadTimeOut",FRAG_LOAD_ERROR:"fragLoadError",FRAG_LOAD_TIMEOUT:"fragLoadTimeOut",FRAG_DECRYPT_ERROR:"fragDecryptError",FRAG_PARSING_ERROR:"fragParsingError",REMUX_ALLOC_ERROR:"remuxAllocError",KEY_LOAD_ERROR:"keyLoadError",KEY_LOAD_TIMEOUT:"keyLoadTimeOut",BUFFER_ADD_CODEC_ERROR:"bufferAddCodecError",BUFFER_APPEND_ERROR:"bufferAppendError",BUFFER_APPENDING_ERROR:"bufferAppendingError",BUFFER_STALLED_ERROR:"bufferStalledError",BUFFER_FULL_ERROR:"bufferFullError",BUFFER_SEEK_OVER_HOLE:"bufferSeekOverHole",BUFFER_NUDGE_ON_STALL:"bufferNudgeOnStall",INTERNAL_EXCEPTION:"internalException"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),a=n(2),s=n(1),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f={hlsEventGeneric:!0,hlsHandlerDestroying:!0,hlsHandlerDestroyed:!0},h=function(){function e(t){c(this,e),this.hls=t,this.onEvent=this.onEvent.bind(this);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.handledEvents=r,this.useGenericHandler=!0,this.registerListeners()}return i(e,[{key:"destroy",value:function(){this.onHandlerDestroying(),this.unregisterListeners(),this.onHandlerDestroyed()}},{key:"onHandlerDestroying",value:function(){}},{key:"onHandlerDestroyed",value:function(){}},{key:"isEventHandler",value:function(){return"object"===r(this.handledEvents)&&this.handledEvents.length&&"function"===typeof this.onEvent}},{key:"registerListeners",value:function(){this.isEventHandler()&&this.handledEvents.forEach((function(e){if(f[e])throw new Error("Forbidden event-name: "+e);this.hls.on(e,this.onEvent)}),this)}},{key:"unregisterListeners",value:function(){this.isEventHandler()&&this.handledEvents.forEach((function(e){this.hls.off(e,this.onEvent)}),this)}},{key:"onEvent",value:function(e,t){this.onEventGeneric(e,t)}},{key:"onEventGeneric",value:function(e,t){var n=function(e,t){var n="on"+e.replace("hls","");if("function"!==typeof this[n])throw new Error("Event "+e+" has no generic handler in this "+this.constructor.name+" class (tried "+n+")");return this[n].bind(this,t)};try{n.call(this,e,t).call()}catch(r){o.logger.error("An internal error happened while handling event "+e+'. Error message: "'+r.message+'". Here is a stacktrace:',r),this.hls.trigger(l.default.ERROR,{type:a.ErrorTypes.OTHER_ERROR,details:a.ErrorDetails.INTERNAL_EXCEPTION,fatal:!1,event:e,err:r})}}}]),e}();t.default=h,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.BufferHelper=function(){function e(){i(this,e)}return r(e,null,[{key:"isBuffered",value:function(e,t){try{if(e)for(var n=e.buffered,r=0;r<n.length;r++)if(t>=n.start(r)&&t<=n.end(r))return!0}catch(i){}return!1}},{key:"bufferInfo",value:function(e,t,n){try{if(e){var r=e.buffered,i=[],o=void 0;for(o=0;o<r.length;o++)i.push({start:r.start(o),end:r.end(o)});return this.bufferedInfo(i,t,n)}}catch(a){}return{len:0,start:t,end:t,nextStart:void 0}}},{key:"bufferedInfo",value:function(e,t,n){var r=[],i=void 0,o=void 0,a=void 0,s=void 0,l=void 0;for(e.sort((function(e,t){var n=e.start-t.start;return n||t.end-e.end})),l=0;l<e.length;l++){var u=r.length;if(u){var c=r[u-1].end;e[l].start-c<n?e[l].end>c&&(r[u-1].end=e[l].end):r.push(e[l])}else r.push(e[l])}for(l=0,i=0,o=a=t;l<r.length;l++){var f=r[l].start,h=r[l].end;if(t+n>=f&&t<h)o=f,a=h,i=a-t;else if(t+n<f){s=f;break}}return{len:i,start:o,end:a,nextStart:s}}}]),e}()},function(e,t,n){"use strict";function r(){return"undefined"===typeof window?self:window}Object.defineProperty(t,"__esModule",{value:!0}),t.getSelfScope=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentTracker=t.FragmentState=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(3),a=u(o),s=n(1),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=t.FragmentState={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};t.FragmentTracker=function(e){function t(e){c(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,l.default.BUFFER_APPENDED,l.default.FRAG_BUFFERED,l.default.FRAG_LOADED));return n.bufferPadding=.2,n.fragments=Object.create(null),n.timeRanges=Object.create(null),n.config=e.config,n}return h(t,e),r(t,[{key:"destroy",value:function(){this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.config=null,a.default.prototype.destroy.call(this),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"getBufferedFrag",value:function(e,t){var n=this.fragments,r=Object.keys(n).filter((function(r){var i=n[r];if(i.body.type!==t)return!1;if(!i.buffered)return!1;var o=i.body;return o.startPTS<=e&&e<=o.endPTS}));if(0===r.length)return null;var i=r.pop();return n[i].body}},{key:"detectEvictedFragments",value:function(e,t){var n=this,r=void 0,i=void 0;Object.keys(this.fragments).forEach((function(o){var a=n.fragments[o];if(!0===a.buffered){var s=a.range[e];if(s){r=s.time;for(var l=0;l<r.length;l++)if(i=r[l],!1===n.isTimeBuffered(i.startPTS,i.endPTS,t)){n.removeFragment(a.body);break}}}}))}},{key:"detectPartialFragments",value:function(e){var t=this,n=this.getFragmentKey(e),r=this.fragments[n];r&&(r.buffered=!0,Object.keys(this.timeRanges).forEach((function(n){if(e.hasElementaryStream(n)){var i=t.timeRanges[n];r.range[n]=t.getBufferedTimes(e.startPTS,e.endPTS,i)}})))}},{key:"getBufferedTimes",value:function(e,t,n){for(var r=[],i=void 0,o=void 0,a=!1,s=0;s<n.length;s++){if(i=n.start(s)-this.bufferPadding,o=n.end(s)+this.bufferPadding,e>=i&&t<=o){r.push({startPTS:Math.max(e,n.start(s)),endPTS:Math.min(t,n.end(s))});break}if(e<o&&t>i)r.push({startPTS:Math.max(e,n.start(s)),endPTS:Math.min(t,n.end(s))}),a=!0;else if(t<=i)break}return{time:r,partial:a}}},{key:"getFragmentKey",value:function(e){return e.type+"_"+e.level+"_"+e.urlId+"_"+e.sn}},{key:"getPartialFragment",value:function(e){var t=this,n=void 0,r=void 0,i=void 0,o=null,a=0;return Object.keys(this.fragments).forEach((function(s){var l=t.fragments[s];t.isPartial(l)&&(r=l.body.startPTS-t.bufferPadding,i=l.body.endPTS+t.bufferPadding,e>=r&&e<=i&&(n=Math.min(e-r,i-e),a<=n&&(o=l.body,a=n)))})),o}},{key:"getState",value:function(e){var t=this.getFragmentKey(e),n=this.fragments[t],r=d.NOT_LOADED;return void 0!==n&&(r=n.buffered?!0===this.isPartial(n)?d.PARTIAL:d.OK:d.APPENDING),r}},{key:"isPartial",value:function(e){return!0===e.buffered&&(void 0!==e.range.video&&!0===e.range.video.partial||void 0!==e.range.audio&&!0===e.range.audio.partial)}},{key:"isTimeBuffered",value:function(e,t,n){for(var r=void 0,i=void 0,o=0;o<n.length;o++){if(r=n.start(o)-this.bufferPadding,i=n.end(o)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1}},{key:"onFragLoaded",value:function(e){var t=e.frag;Number.isFinite(t.sn)&&!t.bitrateTest&&(this.fragments[this.getFragmentKey(t)]={body:t,range:Object.create(null),buffered:!1})}},{key:"onBufferAppended",value:function(e){var t=this;this.timeRanges=e.timeRanges,Object.keys(this.timeRanges).forEach((function(e){var n=t.timeRanges[e];t.detectEvictedFragments(e,n)}))}},{key:"onFragBuffered",value:function(e){this.detectPartialFragments(e.frag)}},{key:"hasFragment",value:function(e){var t=this.getFragmentKey(e);return void 0!==this.fragments[t]}},{key:"removeFragment",value:function(e){var t=this.getFragmentKey(e);delete this.fragments[t]}},{key:"removeAllFragments",value:function(){this.fragments=Object.create(null)}}]),t}(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addGroupId=i,t.updatePTS=o,t.updateFragPTSDTS=a,t.mergeDetails=s,t.mergeSubtitlePlaylists=l,t.mapFragmentIntersection=u,t.adjustSliding=c,t.computeReloadInterval=f;var r=n(0);function i(e,t,n){switch(t){case"audio":e.audioGroupIds||(e.audioGroupIds=[]),e.audioGroupIds.push(n);break;case"text":e.textGroupIds||(e.textGroupIds=[]),e.textGroupIds.push(n);break}}function o(e,t,n){var i=e[t],o=e[n],a=o.startPTS;Number.isFinite(a)?n>t?(i.duration=a-i.start,i.duration<0&&r.logger.warn("negative duration computed for frag "+i.sn+",level "+i.level+", there should be some duration drift between playlist and fragment!")):(o.duration=i.start-a,o.duration<0&&r.logger.warn("negative duration computed for frag "+o.sn+",level "+o.level+", there should be some duration drift between playlist and fragment!")):o.start=n>t?i.start+i.duration:Math.max(i.start-o.duration,0)}function a(e,t,n,r,i,a){var s=n;if(Number.isFinite(t.startPTS)){var l=Math.abs(t.startPTS-n);Number.isFinite(t.deltaPTS)?t.deltaPTS=Math.max(l,t.deltaPTS):t.deltaPTS=l,s=Math.max(n,t.startPTS),n=Math.min(n,t.startPTS),r=Math.max(r,t.endPTS),i=Math.min(i,t.startDTS),a=Math.max(a,t.endDTS)}var u=n-t.start;t.start=t.startPTS=n,t.maxStartPTS=s,t.endPTS=r,t.startDTS=i,t.endDTS=a,t.duration=r-n;var c=t.sn;if(!e||c<e.startSN||c>e.endSN)return 0;var f=void 0,h=void 0,d=void 0;for(f=c-e.startSN,h=e.fragments,h[f]=t,d=f;d>0;d--)o(h,d,d-1);for(d=f;d<h.length-1;d++)o(h,d,d+1);return e.PTSKnown=!0,u}function s(e,t){t.initSegment&&e.initSegment&&(t.initSegment=e.initSegment);var n=0,i=void 0;if(u(e,t,(function(e,r){n=e.cc-r.cc,Number.isFinite(e.startPTS)&&(r.start=r.startPTS=e.startPTS,r.endPTS=e.endPTS,r.duration=e.duration,r.backtracked=e.backtracked,r.dropped=e.dropped,i=r),t.PTSKnown=!0})),t.PTSKnown){if(n){r.logger.log("discontinuity sliding from playlist, take drift into account");for(var o=t.fragments,s=0;s<o.length;s++)o[s].cc+=n}i?a(t,i,i.startPTS,i.endPTS,i.startDTS,i.endDTS):c(e,t),t.PTSKnown=e.PTSKnown}}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=-1;u(e,t,(function(e,t,n){t.start=e.start,r=n}));var i=t.fragments;if(r<0)i.forEach((function(e){e.start+=n}));else for(var o=r+1;o<i.length;o++)i[o].start=i[o-1].start+i[o-1].duration}function u(e,t,n){if(e&&t)for(var r=Math.max(e.startSN,t.startSN)-t.startSN,i=Math.min(e.endSN,t.endSN)-t.startSN,o=t.startSN-e.startSN,a=r;a<=i;a++){var s=e.fragments[o+a],l=t.fragments[a];if(!s||!l)break;n(s,l,a)}}function c(e,t){var n=t.startSN-e.startSN,r=e.fragments,i=t.fragments;if(!(n<0||n>r.length))for(var o=0;o<i.length;o++)i[o].start+=r[n].start}function f(e,t,n){var r=1e3*(t.averagetargetduration?t.averagetargetduration:t.targetduration),i=r/2;return e&&t.endSN===e.endSN&&(r=i),n&&(r=Math.max(i,r-(window.performance.now()-n))),Math.round(r)}},function(e,t,n){(function(t){var n=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#.*)?$/,r=/^([^\/?#]*)(.*)$/,i=/(?:\/|^)\.(?=\/)/g,o=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,a={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),t=t.trim(),!t){if(!n.alwaysNormalize)return e;var i=a.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=a.normalizePath(i.path),a.buildURLFromParts(i)}var o=a.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=a.normalizePath(o.path),a.buildURLFromParts(o)):t;var s=a.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var l=r.exec(s.path);s.netLoc=l[1],s.path=l[2]}s.netLoc&&!s.path&&(s.path="/");var u={scheme:s.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(u.netLoc=s.netLoc,"/"!==o.path[0]))if(o.path){var c=s.path,f=c.substring(0,c.lastIndexOf("/")+1)+o.path;u.path=a.normalizePath(f)}else u.path=s.path,o.params||(u.params=s.params,o.query||(u.query=s.query));return null===u.path&&(u.path=n.alwaysNormalize?a.normalizePath(o.path):o.path),a.buildURLFromParts(u)},parseURL:function(e){var t=n.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){e=e.split("").reverse().join("").replace(i,"");while(e.length!==(e=e.replace(o,"")).length);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}};e.exports=a})()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={search:function(e,t){var n=0,r=e.length-1,i=null,o=null;while(n<=r){i=(n+r)/2|0,o=e[i];var a=t(o);if(a>0)n=i+1;else{if(!(a<0))return o;r=i-1}}return null}};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return r(e,null,[{key:"isHeader",value:function(e,t){return t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128}},{key:"isFooter",value:function(e,t){return t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128}},{key:"getID3Data",value:function(t,n){var r=n,i=0;while(e.isHeader(t,n)){i+=10;var o=e._readSize(t,n+6);i+=o,e.isFooter(t,n+10)&&(i+=10),n+=i}if(i>0)return t.subarray(r,r+i)}},{key:"_readSize",value:function(e,t){var n=0;return n=(127&e[t])<<21,n|=(127&e[t+1])<<14,n|=(127&e[t+2])<<7,n|=127&e[t+3],n}},{key:"getTimeStamp",value:function(t){for(var n=e.getID3Frames(t),r=0;r<n.length;r++){var i=n[r];if(e.isTimeStampFrame(i))return e._readTimeStamp(i)}}},{key:"isTimeStampFrame",value:function(e){return e&&"PRIV"===e.key&&"com.apple.streaming.transportStreamTimestamp"===e.info}},{key:"_getFrameData",value:function(t){var n=String.fromCharCode(t[0],t[1],t[2],t[3]),r=e._readSize(t,4),i=10;return{type:n,size:r,data:t.subarray(i,i+r)}}},{key:"getID3Frames",value:function(t){var n=0,r=[];while(e.isHeader(t,n)){var i=e._readSize(t,n+6);n+=10;var o=n+i;while(n+8<o){var a=e._getFrameData(t.subarray(n)),s=e._decodeFrame(a);s&&r.push(s),n+=a.size+10}e.isFooter(t,n)&&(n+=10)}return r}},{key:"_decodeFrame",value:function(t){return"PRIV"===t.type?e._decodePrivFrame(t):"T"===t.type[0]?e._decodeTextFrame(t):"W"===t.type[0]?e._decodeURLFrame(t):void 0}},{key:"_readTimeStamp",value:function(e){if(8===e.data.byteLength){var t=new Uint8Array(e.data),n=1&t[3],r=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return r/=45,n&&(r+=47721858.84),Math.round(r)}}},{key:"_decodePrivFrame",value:function(t){if(!(t.size<2)){var n=e._utf8ArrayToStr(t.data,!0),r=new Uint8Array(t.data.subarray(n.length+1));return{key:t.type,info:n,data:r.buffer}}}},{key:"_decodeTextFrame",value:function(t){if(!(t.size<2)){if("TXXX"===t.type){var n=1,r=e._utf8ArrayToStr(t.data.subarray(n));n+=r.length+1;var i=e._utf8ArrayToStr(t.data.subarray(n));return{key:t.type,info:r,data:i}}var o=e._utf8ArrayToStr(t.data.subarray(1));return{key:t.type,data:o}}}},{key:"_decodeURLFrame",value:function(t){if("WXXX"===t.type){if(t.size<2)return;var n=1,r=e._utf8ArrayToStr(t.data.subarray(n));n+=r.length+1;var i=e._utf8ArrayToStr(t.data.subarray(n));return{key:t.type,info:r,data:i}}var o=e._utf8ArrayToStr(t.data);return{key:t.type,data:o}}},{key:"_utf8ArrayToStr",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.length,r=void 0,i=void 0,o=void 0,a="",s=0;while(s<n){if(r=e[s++],0===r&&t)return a;if(0!==r&&3!==r)switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:a+=String.fromCharCode(r);break;case 12:case 13:i=e[s++],a+=String.fromCharCode((31&r)<<6|63&i);break;case 14:i=e[s++],o=e[s++],a+=String.fromCharCode((15&r)<<12|(63&i)<<6|(63&o)<<0);break;default:}}return a}}]),e}(),a=o._utf8ArrayToStr;t.default=o,t.utf8ArrayToStr=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(8),o=u(i),a=n(17),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(){var t;f(this,e),this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[],this.programDateTime=null,this.rawProgramDateTime=null,this._elementaryStreams=(t={},c(t,e.ElementaryStreamTypes.AUDIO,!1),c(t,e.ElementaryStreamTypes.VIDEO,!1),t)}return r(e,[{key:"addElementaryStream",value:function(e){this._elementaryStreams[e]=!0}},{key:"hasElementaryStream",value:function(e){return!0===this._elementaryStreams[e]}},{key:"createInitializationVector",value:function(e){for(var t=new Uint8Array(16),n=12;n<16;n++)t[n]=e>>8*(15-n)&255;return t}},{key:"fragmentDecryptdataFromLevelkey",value:function(e,t){var n=e;return e&&e.method&&e.uri&&!e.iv&&(n=new s.default,n.method=e.method,n.baseuri=e.baseuri,n.reluri=e.reluri,n.iv=this.createInitializationVector(t)),n}},{key:"url",get:function(){return!this._url&&this.relurl&&(this._url=o.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},set:function(e){this._url=e}},{key:"byteRange",get:function(){if(!this._byteRange&&!this.rawByteRange)return[];if(this._byteRange)return this._byteRange;var e=[];if(this.rawByteRange){var t=this.rawByteRange.split("@",2);if(1===t.length){var n=this.lastByteRangeEndOffset;e[0]=n||0}else e[0]=parseInt(t[1]);e[1]=parseInt(t[0])+e[0],this._byteRange=e}return e}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"decryptdata",get:function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)),this._decryptdata}},{key:"endProgramDateTime",get:function(){if(!Number.isFinite(this.programDateTime))return null;var e=Number.isFinite(this.duration)?this.duration:0;return this.programDateTime+1e3*e}},{key:"encrypted",get:function(){return!(!this.decryptdata||null===this.decryptdata.uri||null!==this.decryptdata.key)}}],[{key:"ElementaryStreamTypes",get:function(){return{AUDIO:"audio",VIDEO:"video"}}}]),e}();t.default=h,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(42),o=g(i),a=n(43),s=g(a),l=n(44),u=g(l),c=n(2),f=n(0),h=n(1),d=g(h),p=n(5);function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=(0,p.getSelfScope)(),m=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.removePKCS7Padding,o=void 0===i||i;if(v(this,e),this.logEnabled=!0,this.observer=t,this.config=n,this.removePKCS7Padding=o,o)try{var a=y.crypto;a&&(this.subtle=a.subtle||a.webkitSubtle)}catch(s){}this.disableWebCrypto=!this.subtle}return r(e,[{key:"isSync",value:function(){return this.disableWebCrypto&&this.config.enableSoftwareAES}},{key:"decrypt",value:function(e,t,n,r){var i=this;if(this.disableWebCrypto&&this.config.enableSoftwareAES){this.logEnabled&&(f.logger.log("JS AES decrypt"),this.logEnabled=!1);var a=this.decryptor;a||(this.decryptor=a=new u.default),a.expandKey(t),r(a.decrypt(e,0,n,this.removePKCS7Padding))}else{this.logEnabled&&(f.logger.log("WebCrypto AES decrypt"),this.logEnabled=!1);var l=this.subtle;this.key!==t&&(this.key=t,this.fastAesKey=new s.default(l,t)),this.fastAesKey.expandKey().then((function(a){var s=new o.default(l,n);s.decrypt(e,a).catch((function(o){i.onWebCryptoError(o,e,t,n,r)})).then((function(e){r(e)}))})).catch((function(o){i.onWebCryptoError(o,e,t,n,r)}))}}},{key:"onWebCryptoError",value:function(e,t,n,r,i){this.config.enableSoftwareAES?(f.logger.log("WebCrypto Error, disable WebCrypto API"),this.disableWebCrypto=!0,this.logEnabled=!0,this.decrypt(t,n,r,i)):(f.logger.error("decrypting error : "+e.message),this.observer.trigger(d.default.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.FRAG_DECRYPT_ERROR,fatal:!0,reason:e.message}))}},{key:"destroy",value:function(){var e=this.decryptor;e&&(e.destroy(),this.decryptor=void 0)}}]),e}();t.default=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(){if("undefined"!==typeof window)return window.MediaSource||window.WebKitMediaSource}Object.defineProperty(t,"__esModule",{value:!0}),t.getMediaSource=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(28),a=c(o),s=n(6),l=n(4),u=n(0);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=t.State={STOPPED:"STOPPED",STARTING:"STARTING",IDLE:"IDLE",PAUSED:"PAUSED",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"},g=function(e){function t(){return f(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"doTick",value:function(){}},{key:"startLoad",value:function(){}},{key:"stopLoad",value:function(){var e=this.fragCurrent;e&&(e.loader&&e.loader.abort(),this.fragmentTracker.removeFragment(e)),this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=p.STOPPED}},{key:"_streamEnded",value:function(e,t){var n=this.fragCurrent,r=this.fragmentTracker;if(!t.live&&n&&!n.backtracked&&n.sn===t.endSN&&!e.nextStart){var i=r.getState(n);return i===s.FragmentState.PARTIAL||i===s.FragmentState.OK}return!1}},{key:"onMediaSeeking",value:function(){var e=this.config,t=this.media,n=this.mediaBuffer,r=this.state,i=t?t.currentTime:null,o=l.BufferHelper.bufferInfo(n||t,i,this.config.maxBufferHole);if(Number.isFinite(i)&&u.logger.log("media seeking to "+i.toFixed(3)),r===p.FRAG_LOADING){var a=this.fragCurrent;if(0===o.len&&a){var s=e.maxFragLookUpTolerance,c=a.start-s,f=a.start+a.duration+s;i<c||i>f?(a.loader&&(u.logger.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),a.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.state=p.IDLE):u.logger.log("seeking outside of buffer but within currently loaded fragment range")}}else r===p.ENDED&&(0===o.len&&(this.fragPrevious=null,this.fragCurrent=null),this.state=p.IDLE);t&&(this.lastCurrentTime=i),this.loadedmetadata||(this.nextLoadPosition=this.startPosition=i),this.tick()}},{key:"onMediaEnded",value:function(){this.startPosition=this.lastCurrentTime=0}},{key:"onHandlerDestroying",value:function(){this.stopLoad(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onHandlerDestroying",this).call(this)}},{key:"onHandlerDestroyed",value:function(){this.state=p.STOPPED,this.fragmentTracker=null}}]),t}(a.default);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(1),a=g(o),s=n(3),l=g(s),u=n(2),c=n(0),f=n(16),h=g(f),d=n(35),p=g(d);function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=window,_=b.performance,x={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},w={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"},S=function(e){function t(e){v(this,t);var n=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,a.default.MANIFEST_LOADING,a.default.LEVEL_LOADING,a.default.AUDIO_TRACK_LOADING,a.default.SUBTITLE_TRACK_LOADING));return n.loaders={},n}return m(t,e),r(t,[{key:"createInternalLoader",value:function(e){var t=this.hls.config,n=t.pLoader,r=t.loader,i=n||r,o=new i(t);return e.loader=o,this.loaders[e.type]=o,o}},{key:"getInternalLoader",value:function(e){return this.loaders[e.type]}},{key:"resetInternalLoader",value:function(e){this.loaders[e]&&delete this.loaders[e]}},{key:"destroyInternalLoaders",value:function(){for(var e in this.loaders){var t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}},{key:"destroy",value:function(){this.destroyInternalLoaders(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"onManifestLoading",value:function(e){this.load(e.url,{type:x.MANIFEST,level:0,id:null})}},{key:"onLevelLoading",value:function(e){this.load(e.url,{type:x.LEVEL,level:e.level,id:e.id})}},{key:"onAudioTrackLoading",value:function(e){this.load(e.url,{type:x.AUDIO_TRACK,level:null,id:e.id})}},{key:"onSubtitleTrackLoading",value:function(e){this.load(e.url,{type:x.SUBTITLE_TRACK,level:null,id:e.id})}},{key:"load",value:function(e,t){var n=this.hls.config;c.logger.debug("Loading playlist of type "+t.type+", level: "+t.level+", id: "+t.id);var r=this.getInternalLoader(t);if(r){var i=r.context;if(i&&i.url===e)return c.logger.trace("playlist request ongoing"),!1;c.logger.warn("aborting previous loader for type: "+t.type),r.abort()}var o=void 0,a=void 0,s=void 0,l=void 0;switch(t.type){case x.MANIFEST:o=n.manifestLoadingMaxRetry,a=n.manifestLoadingTimeOut,s=n.manifestLoadingRetryDelay,l=n.manifestLoadingMaxRetryTimeout;break;case x.LEVEL:o=0,a=n.levelLoadingTimeOut;break;default:o=n.levelLoadingMaxRetry,a=n.levelLoadingTimeOut,s=n.levelLoadingRetryDelay,l=n.levelLoadingMaxRetryTimeout;break}r=this.createInternalLoader(t),t.url=e,t.responseType=t.responseType||"";var u={timeout:a,maxRetry:o,retryDelay:s,maxRetryDelay:l},f={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};return c.logger.debug("Calling internal loader delegate for URL: "+e),r.load(t,u,f),!0}},{key:"loadsuccess",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n.isSidxRequest)return this._handleSidxRequest(e,n),void this._handlePlaylistLoaded(e,t,n,r);this.resetInternalLoader(n.type);var i=e.data;t.tload=_.now(),0===i.indexOf("#EXTM3U")?i.indexOf("#EXTINF:")>0||i.indexOf("#EXT-X-TARGETDURATION:")>0?this._handleTrackOrLevelPlaylist(e,t,n,r):this._handleMasterPlaylist(e,t,n,r):this._handleManifestParsingError(e,n,"no EXTM3U delimiter",r)}},{key:"loaderror",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._handleNetworkError(t,n,!1,e)}},{key:"loadtimeout",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._handleNetworkError(t,n,!0)}},{key:"_handleMasterPlaylist",value:function(e,n,r,i){var o=this.hls,s=e.data,l=t.getResponseUrl(e,r),u=p.default.parseMasterPlaylist(s,l);if(u.length){var f=u.map((function(e){return{id:e.attrs.AUDIO,codec:e.audioCodec}})),h=p.default.parseMasterPlaylistMedia(s,l,"AUDIO",f),d=p.default.parseMasterPlaylistMedia(s,l,"SUBTITLES");if(h.length){var g=!1;h.forEach((function(e){e.url||(g=!0)})),!1===g&&u[0].audioCodec&&!u[0].attrs.AUDIO&&(c.logger.log("audio codec signaled in quality level, but no embedded audio track signaled, create one"),h.unshift({type:"main",name:"main"}))}o.trigger(a.default.MANIFEST_LOADED,{levels:u,audioTracks:h,subtitles:d,url:l,stats:n,networkDetails:i})}else this._handleManifestParsingError(e,r,"no level found in manifest",i)}},{key:"_handleTrackOrLevelPlaylist",value:function(e,n,r,i){var o=this.hls,s=r.id,l=r.level,u=r.type,c=t.getResponseUrl(e,r),f=Number.isFinite(s)?s:0,h=Number.isFinite(l)?l:f,d=t.mapContextToLevelType(r),g=p.default.parseLevelPlaylist(e.data,c,h,d,f);if(g.tload=n.tload,u===x.MANIFEST){var v={url:c,details:g};o.trigger(a.default.MANIFEST_LOADED,{levels:[v],audioTracks:[],url:c,stats:n,networkDetails:i})}if(n.tparsed=_.now(),g.needSidxRanges){var y=g.initSegment.url;this.load(y,{isSidxRequest:!0,type:u,level:l,levelDetails:g,id:s,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer"})}else r.levelDetails=g,this._handlePlaylistLoaded(e,n,r,i)}},{key:"_handleSidxRequest",value:function(e,t){var n=h.default.parseSegmentIndex(new Uint8Array(e.data));if(n){var r=n.references,i=t.levelDetails;r.forEach((function(e,t){var n=e.info,r=i.fragments[t];0===r.byteRange.length&&(r.rawByteRange=String(1+n.end-n.start)+"@"+String(n.start))})),i.initSegment.rawByteRange=String(n.moovEndOffset)+"@0"}}},{key:"_handleManifestParsingError",value:function(e,t,n,r){this.hls.trigger(a.default.ERROR,{type:u.ErrorTypes.NETWORK_ERROR,details:u.ErrorDetails.MANIFEST_PARSING_ERROR,fatal:!0,url:e.url,reason:n,networkDetails:r})}},{key:"_handleNetworkError",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;c.logger.info("A network error occured while loading a "+e.type+"-type playlist");var i=void 0,o=void 0,s=this.getInternalLoader(e);switch(e.type){case x.MANIFEST:i=n?u.ErrorDetails.MANIFEST_LOAD_TIMEOUT:u.ErrorDetails.MANIFEST_LOAD_ERROR,o=!0;break;case x.LEVEL:i=n?u.ErrorDetails.LEVEL_LOAD_TIMEOUT:u.ErrorDetails.LEVEL_LOAD_ERROR,o=!1;break;case x.AUDIO_TRACK:i=n?u.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:u.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,o=!1;break;default:o=!1}s&&(s.abort(),this.resetInternalLoader(e.type));var l={type:u.ErrorTypes.NETWORK_ERROR,details:i,fatal:o,url:s.url,loader:s,context:e,networkDetails:t};r&&(l.response=r),this.hls.trigger(a.default.ERROR,l)}},{key:"_handlePlaylistLoaded",value:function(e,n,r,i){var o=r.type,s=r.level,l=r.id,u=r.levelDetails;if(u.targetduration){var c=t.canHaveQualityLevels(r.type);if(c)this.hls.trigger(a.default.LEVEL_LOADED,{details:u,level:s||0,id:l||0,stats:n,networkDetails:i});else switch(o){case x.AUDIO_TRACK:this.hls.trigger(a.default.AUDIO_TRACK_LOADED,{details:u,id:l,stats:n,networkDetails:i});break;case x.SUBTITLE_TRACK:this.hls.trigger(a.default.SUBTITLE_TRACK_LOADED,{details:u,id:l,stats:n,networkDetails:i});break}}else this._handleManifestParsingError(e,r,"invalid target duration",i)}}],[{key:"canHaveQualityLevels",value:function(e){return e!==x.AUDIO_TRACK&&e!==x.SUBTITLE_TRACK}},{key:"mapContextToLevelType",value:function(e){var t=e.type;switch(t){case x.AUDIO_TRACK:return w.AUDIO;case x.SUBTITLE_TRACK:return w.SUBTITLE;default:return w.MAIN}}},{key:"getResponseUrl",value:function(e,t){var n=e.url;return void 0!==n&&0!==n.indexOf("data:")||(n=t.url),n}},{key:"ContextType",get:function(){return x}},{key:"LevelType",get:function(){return w}}]),t}(l.default);t.default=S,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(1),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=Math.pow(2,32)-1,c=function(){function e(t,n){l(this,e),this.observer=t,this.remuxer=n}return r(e,[{key:"resetTimeStamp",value:function(e){this.initPTS=e}},{key:"resetInitSegment",value:function(t,n,r,i){if(t&&t.byteLength){var o=this.initData=e.parseInitSegment(t);null==n&&(n="mp4a.40.5"),null==r&&(r="avc1.42e01e");var s={};o.audio&&o.video?s.audiovideo={container:"video/mp4",codec:n+","+r,initSegment:i?t:null}:(o.audio&&(s.audio={container:"audio/mp4",codec:n,initSegment:i?t:null}),o.video&&(s.video={container:"video/mp4",codec:r,initSegment:i?t:null})),this.observer.trigger(a.default.FRAG_PARSING_INIT_SEGMENT,{tracks:s})}else n&&(this.audioCodec=n),r&&(this.videoCodec=r)}},{key:"append",value:function(t,n,r,i){var o=this.initData;o||(this.resetInitSegment(t,this.audioCodec,this.videoCodec,!1),o=this.initData);var s=void 0,l=this.initPTS;if(void 0===l){var u=e.getStartDTS(o,t);this.initPTS=l=u-n,this.observer.trigger(a.default.INIT_PTS_FOUND,{initPTS:l})}e.offsetStartDTS(o,t,l),s=e.getStartDTS(o,t),this.remuxer.remux(o.audio,o.video,null,null,s,r,i,t)}},{key:"destroy",value:function(){}}],[{key:"probe",value:function(t){return e.findBox({data:t,start:0,end:Math.min(t.length,16384)},["moof"]).length>0}},{key:"bin2str",value:function(e){return String.fromCharCode.apply(null,e)}},{key:"readUint16",value:function(e,t){e.data&&(t+=e.start,e=e.data);var n=e[t]<<8|e[t+1];return n<0?65536+n:n}},{key:"readUint32",value:function(e,t){e.data&&(t+=e.start,e=e.data);var n=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];return n<0?4294967296+n:n}},{key:"writeUint32",value:function(e,t,n){e.data&&(t+=e.start,e=e.data),e[t]=n>>24,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}},{key:"findBox",value:function(t,n){var r=[],i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=void 0;if(t.data?(u=t.start,s=t.end,t=t.data):(u=0,s=t.byteLength),!n.length)return null;for(i=u;i<s;)o=e.readUint32(t,i),a=e.bin2str(t.subarray(i+4,i+8)),c=o>1?i+o:s,a===n[0]&&(1===n.length?r.push({data:t,start:i+8,end:c}):(l=e.findBox({data:t,start:i+8,end:c},n.slice(1)),l.length&&(r=r.concat(l)))),i=c;return r}},{key:"parseSegmentIndex",value:function(t){var n=e.findBox(t,["moov"])[0],r=n?n.end:null,i=0,o=e.findBox(t,["sidx"]),a=void 0;if(!o||!o[0])return null;a=[],o=o[0];var s=o.data[0];i=0===s?8:16;var l=e.readUint32(o,i);i+=4;var u=0,c=0;i+=0===s?8:16,i+=2;var f=o.end+c,h=e.readUint16(o,i);i+=2;for(var d=0;d<h;d++){var p=i,g=e.readUint32(o,p);p+=4;var v=2147483647&g,y=(2147483648&g)>>>31;if(1===y)return void console.warn("SIDX has hierarchical references (not supported)");var m=e.readUint32(o,p);p+=4,a.push({referenceSize:v,subsegmentDuration:m,info:{duration:m/l,start:f,end:f+v-1}}),f+=v,p+=4,i=p}return{earliestPresentationTime:u,timescale:l,version:s,referencesCount:h,references:a,moovEndOffset:r}}},{key:"parseInitSegment",value:function(t){var n=[],r=e.findBox(t,["moov","trak"]);return r.forEach((function(t){var r=e.findBox(t,["tkhd"])[0];if(r){var o=r.data[r.start],a=0===o?12:20,s=e.readUint32(r,a),l=e.findBox(t,["mdia","mdhd"])[0];if(l){o=l.data[l.start],a=0===o?12:20;var u=e.readUint32(l,a),c=e.findBox(t,["mdia","hdlr"])[0];if(c){var f=e.bin2str(c.data.subarray(c.start+8,c.start+12)),h={soun:"audio",vide:"video"}[f];if(h){var d=e.findBox(t,["mdia","minf","stbl","stsd"]);if(d.length){d=d[0];var p=e.bin2str(d.data.subarray(d.start+12,d.start+16));i.logger.log("MP4Demuxer:"+h+":"+p+" found")}n[s]={timescale:u,type:h},n[h]={timescale:u,id:s}}}}}})),n}},{key:"getStartDTS",value:function(t,n){var r=void 0,i=void 0,o=void 0;return r=e.findBox(n,["moof","traf"]),i=[].concat.apply([],r.map((function(n){return e.findBox(n,["tfhd"]).map((function(r){var i=void 0,o=void 0,a=void 0;return i=e.readUint32(r,4),o=t[i].timescale||9e4,a=e.findBox(n,["tfdt"]).map((function(t){var n=void 0,r=void 0;return n=t.data[t.start],r=e.readUint32(t,4),1===n&&(r*=Math.pow(2,32),r+=e.readUint32(t,8)),r}))[0],a/o}))}))),o=Math.min.apply(null,i),isFinite(o)?o:0}},{key:"offsetStartDTS",value:function(t,n,r){e.findBox(n,["moof","traf"]).map((function(n){return e.findBox(n,["tfhd"]).map((function(i){var o=e.readUint32(i,4),a=t[o].timescale||9e4;e.findBox(n,["tfdt"]).map((function(t){var n=t.data[t.start],i=e.readUint32(t,4);if(0===n)e.writeUint32(t,4,i-r*a);else{i*=Math.pow(2,32),i+=e.readUint32(t,8),i-=r*a,i=Math.max(i,0);var o=Math.floor(i/(u+1)),s=Math.floor(i%(u+1));e.writeUint32(t,4,o),e.writeUint32(t,8,s)}}))}))}))}}]),e}();t.default=c,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(8),o=a(i);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){s(this,e),this.method=null,this.key=null,this.iv=null,this._uri=null}return r(e,[{key:"uri",get:function(){return!this._uri&&this.reluri&&(this._uri=o.buildAbsoluteURL(this.baseuri,this.reluri,{alwaysNormalize:!0})),this._uri}}]),e}();t.default=l,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}};function i(e,t){var n=r[t];return!!n&&!0===n[e.slice(0,4)]}function o(e,t){return window.MediaSource.isTypeSupported((t||"video")+'/mp4;codecs="'+e+'"')}t.isCodecType=i,t.isCodecSupportedInMp4=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=(n(20),n(41)),o=v(i),a=n(1),s=g(a),l=n(21),u=g(l),c=n(0),f=n(2),h=n(13),d=n(5),p=n(24);function g(e){return e&&e.__esModule?e:{default:e}}function v(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=(0,d.getSelfScope)(),b=(0,h.getMediaSource)(),_=function(){function e(t,n){var r=this;y(this,e),this.hls=t,this.id=n;var i=this.observer=new p.Observer,a=t.config,l=function(e,n){n=n||{},n.frag=r.frag,n.id=r.id,t.trigger(e,n)};i.on(s.default.FRAG_DECRYPTED,l),i.on(s.default.FRAG_PARSING_INIT_SEGMENT,l),i.on(s.default.FRAG_PARSING_DATA,l),i.on(s.default.FRAG_PARSED,l),i.on(s.default.ERROR,l),i.on(s.default.FRAG_PARSING_METADATA,l),i.on(s.default.FRAG_PARSING_USERDATA,l),i.on(s.default.INIT_PTS_FOUND,l);var h={mp4:b.isTypeSupported("video/mp4"),mpeg:b.isTypeSupported("audio/mpeg"),mp3:b.isTypeSupported('audio/mp4; codecs="mp3"')},d=navigator.vendor;if(a.enableWorker&&"undefined"!==typeof Worker){c.logger.log("demuxing in webworker");var g=void 0;try{g=this.w=o(55),this.onwmsg=this.onWorkerMessage.bind(this),g.addEventListener("message",this.onwmsg),g.onerror=function(e){t.trigger(s.default.ERROR,{type:f.ErrorTypes.OTHER_ERROR,details:f.ErrorDetails.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",err:{message:e.message+" ("+e.filename+":"+e.lineno+")"}})},g.postMessage({cmd:"init",typeSupported:h,vendor:d,id:n,config:JSON.stringify(a)})}catch(v){c.logger.warn("Error in worker:",v),c.logger.error("Error while initializing DemuxerWorker, fallback on DemuxerInline"),g&&m.URL.revokeObjectURL(g.objectURL),this.demuxer=new u.default(i,h,a,d),this.w=void 0}}else this.demuxer=new u.default(i,h,a,d)}return r(e,[{key:"destroy",value:function(){var e=this.w;if(e)e.removeEventListener("message",this.onwmsg),e.terminate(),this.w=null;else{var t=this.demuxer;t&&(t.destroy(),this.demuxer=null)}var n=this.observer;n&&(n.removeAllListeners(),this.observer=null)}},{key:"push",value:function(e,t,n,r,i,o,a,s){var l=this.w,u=Number.isFinite(i.startPTS)?i.startPTS:i.start,f=i.decryptdata,h=this.frag,d=!(h&&i.cc===h.cc),p=!(h&&i.level===h.level),g=h&&i.sn===h.sn+1,v=!p&&g;if(d&&c.logger.log(this.id+":discontinuity detected"),p&&c.logger.log(this.id+":switch detected"),this.frag=i,l)l.postMessage({cmd:"demux",data:e,decryptdata:f,initSegment:t,audioCodec:n,videoCodec:r,timeOffset:u,discontinuity:d,trackSwitch:p,contiguous:v,duration:o,accurateTimeOffset:a,defaultInitPTS:s},e instanceof ArrayBuffer?[e]:[]);else{var y=this.demuxer;y&&y.push(e,f,t,n,r,u,d,p,v,o,a,s)}}},{key:"onWorkerMessage",value:function(e){var t=e.data,n=this.hls;switch(t.event){case"init":m.URL.revokeObjectURL(this.w.objectURL);break;case s.default.FRAG_PARSING_DATA:t.data.data1=new Uint8Array(t.data1),t.data2&&(t.data.data2=new Uint8Array(t.data2));default:t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,n.trigger(t.event,t.data);break}}}]),e}();t.default=_,e.exports=t["default"]},function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function a(e){console&&console.warn&&console.warn(e)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function l(){l.init.call(this)}e.exports=l,e.exports.once=_,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,o,s;if(c(n),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"===typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=f(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?b(i):y(i,i.length)}function v(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function b(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function _(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return f(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)o(l,this,t);else{var u=l.length,c=y(l,u);for(n=0;n<u;++n)o(c[n],this,t)}return!0},l.prototype.addListener=function(e,t){return h(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return h(this,e,t,!0)},l.prototype.once=function(e,t){return c(t),this.on(e,p(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,p(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,i,o,a;if(c(t),r=this._events,void 0===r)return this;if(n=r[e],void 0===n)return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():m(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)i=o[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return g(this,e,!0)},l.prototype.rawListeners=function(e){return g(this,e,!1)},l.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):v.call(e,t)},l.prototype.listenerCount=v,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=S(i),a=n(2),s=n(12),l=S(s),u=n(45),c=S(u),f=n(16),h=S(f),d=n(46),p=S(d),g=n(49),v=S(g),y=n(50),m=S(y),b=n(53),_=S(b),x=n(5),w=n(0);function S(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var E=(0,x.getSelfScope)(),O=void 0;try{O=E.performance.now.bind(E.performance)}catch(A){w.logger.debug("Unable to use Performance API on this environment"),O=E.Date.now}var C=function(){function e(t,n,r,i){k(this,e),this.observer=t,this.typeSupported=n,this.config=r,this.vendor=i}return r(e,[{key:"destroy",value:function(){var e=this.demuxer;e&&e.destroy()}},{key:"push",value:function(e,t,n,r,i,a,s,u,c,f,h,d){var p=this;if(e.byteLength>0&&null!=t&&null!=t.key&&"AES-128"===t.method){var g=this.decrypter;null==g&&(g=this.decrypter=new l.default(this.observer,this.config));var v=O();g.decrypt(e,t.key.buffer,t.iv.buffer,(function(e){var l=O();p.observer.trigger(o.default.FRAG_DECRYPTED,{stats:{tstart:v,tdecrypt:l}}),p.pushDecrypted(new Uint8Array(e),t,new Uint8Array(n),r,i,a,s,u,c,f,h,d)}))}else this.pushDecrypted(new Uint8Array(e),t,new Uint8Array(n),r,i,a,s,u,c,f,h,d)}},{key:"pushDecrypted",value:function(e,t,n,r,i,s,l,u,f,d,g,y){var b=this.demuxer;if(!b||(l||u)&&!this.probe(e)){for(var x=this.observer,w=this.typeSupported,S=this.config,k=[{demux:p.default,remux:m.default},{demux:h.default,remux:_.default},{demux:c.default,remux:m.default},{demux:v.default,remux:m.default}],E=0,O=k.length;E<O;E++){var C=k[E],A=C.demux.probe;if(A(e)){var T=this.remuxer=new C.remux(x,S,w,this.vendor);b=new C.demux(x,T,S,w),this.probe=A;break}}if(!b)return void x.trigger(o.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=b}var P=this.remuxer;(l||u)&&(b.resetInitSegment(n,r,i,d),P.resetInitSegment()),l&&(b.resetTimeStamp(y),P.resetTimeStamp(y)),"function"===typeof b.setDecryptData&&b.setDecryptData(t),b.append(e,s,f,g)}}]),e}();t.default=C,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAudioConfig=l,t.isHeaderPattern=u,t.getHeaderLength=c,t.getFullFrameLength=f,t.isHeader=h,t.probe=d,t.initTrackConfig=p,t.getFrameDuration=g,t.parseFrameHeader=v,t.appendFrame=y;var r=n(0),i=n(2),o=n(1),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,o){var s=void 0,l=void 0,u=void 0,c=void 0,f=void 0,h=navigator.userAgent.toLowerCase(),d=o,p=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];if(s=1+((192&t[n+2])>>>6),l=(60&t[n+2])>>>2,!(l>p.length-1))return c=(1&t[n+2])<<2,c|=(192&t[n+3])>>>6,r.logger.log("manifest codec:"+o+",ADTS data:type:"+s+",sampleingIndex:"+l+"["+p[l]+"Hz],channelConfig:"+c),/firefox/i.test(h)?l>=6?(s=5,f=new Array(4),u=l-3):(s=2,f=new Array(2),u=l):-1!==h.indexOf("android")?(s=2,f=new Array(2),u=l):(s=5,f=new Array(4),o&&(-1!==o.indexOf("mp4a.40.29")||-1!==o.indexOf("mp4a.40.5"))||!o&&l>=6?u=l-3:((o&&-1!==o.indexOf("mp4a.40.2")&&(l>=6&&1===c||/vivaldi/i.test(h))||!o&&1===c)&&(s=2,f=new Array(2)),u=l)),f[0]=s<<3,f[0]|=(14&l)>>1,f[1]|=(1&l)<<7,f[1]|=c<<3,5===s&&(f[1]|=(14&u)>>1,f[2]=(1&u)<<7,f[2]|=8,f[3]=0),{config:f,samplerate:p[l],channelCount:c,codec:"mp4a.40."+s,manifestCodec:d};e.trigger(a.default.ERROR,{type:i.ErrorTypes.MEDIA_ERROR,details:i.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+l})}function u(e,t){return 255===e[t]&&240===(246&e[t+1])}function c(e,t){return 1&e[t+1]?7:9}function f(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function h(e,t){return!!(t+1<e.length&&u(e,t))}function d(e,t){if(t+1<e.length&&u(e,t)){var n=c(e,t),r=n;t+5<e.length&&(r=f(e,t));var i=t+r;if(i===e.length||i+1<e.length&&u(e,i))return!0}return!1}function p(e,t,n,i,o){if(!e.samplerate){var a=l(t,n,i,o);e.config=a.config,e.samplerate=a.samplerate,e.channelCount=a.channelCount,e.codec=a.codec,e.manifestCodec=a.manifestCodec,r.logger.log("parsed codec:"+e.codec+",rate:"+a.samplerate+",nb channel:"+a.channelCount)}}function g(e){return 9216e4/e}function v(e,t,n,r,i){var o=void 0,a=void 0,s=void 0,l=e.length;if(o=c(e,t),a=f(e,t),a-=o,a>0&&t+o+a<=l)return s=n+r*i,{headerLength:o,frameLength:a,stamp:s}}function y(e,t,n,r,i){var o=g(e.samplerate),a=v(t,n,r,i,o);if(a){var s=a.stamp,l=a.headerLength,u=a.frameLength,c={unit:t.subarray(n+l,n+l+u),pts:s,dts:s};return e.samples.push(c),e.len+=u,{sample:c,length:u+l}}}n(5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={BitratesMap:[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],SamplingRateMap:[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],SamplesCoefficients:[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],BytesInSlot:[0,1,1,4],appendFrame:function(e,t,n,r,i){if(!(n+24>t.length)){var o=this.parseHeader(t,n);if(o&&n+o.frameLength<=t.length){var a=9e4*o.samplesPerFrame/o.sampleRate,s=r+i*a,l={unit:t.subarray(n,n+o.frameLength),pts:s,dts:s};return e.config=[],e.channelCount=o.channelCount,e.samplerate=o.sampleRate,e.samples.push(l),e.len+=o.frameLength,{sample:l,length:o.frameLength}}}},parseHeader:function(e,t){var n=e[t+1]>>3&3,i=e[t+1]>>1&3,o=e[t+2]>>4&15,a=e[t+2]>>2&3,s=e[t+2]>>1&1;if(1!==n&&0!==o&&15!==o&&3!==a){var l=3===n?3-i:3===i?3:4,u=1e3*r.BitratesMap[14*l+o-1],c=3===n?0:2===n?1:2,f=r.SamplingRateMap[3*c+a],h=e[t+3]>>6===3?1:2,d=r.SamplesCoefficients[n][i],p=r.BytesInSlot[i],g=8*d*p,v=parseInt(d*u/f+s,10)*p;return{sampleRate:f,channelCount:h,frameLength:v,samplesPerFrame:g}}},isHeaderPattern:function(e,t){return 255===e[t]&&224===(224&e[t+1])&&0!==(6&e[t+1])},isHeader:function(e,t){return!!(t+1<e.length&&this.isHeaderPattern(e,t))},probe:function(e,t){if(t+1<e.length&&this.isHeaderPattern(e,t)){var n=4,r=this.parseHeader(e,t),i=n;r&&r.frameLength&&(i=r.frameLength);var o=t+i;if(o===e.length||o+1<e.length&&this.isHeaderPattern(e,o))return!0}return!1}};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observer=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(54);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.Observer=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),r(t,[{key:"trigger",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.emit.apply(this,[e,e].concat(n))}}]),t}(i.EventEmitter)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={toString:function(e){for(var t="",n=e.length,r=0;r<n;r++)t+="["+e.start(r).toFixed(3)+","+e.end(r).toFixed(3)+"]";return t}};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findFirstFragWithCC=s,t.findFragWithCC=l,t.shouldAlignOnDiscontinuities=u,t.findDiscontinuousReferenceFrag=c,t.adjustPts=f,t.alignStream=h,t.alignDiscontinuities=d,t.alignPDT=p;var r=n(9),i=a(r),o=n(0);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=null,r=0;r<e.length;r+=1){var i=e[r];if(i&&i.cc===t){n=i;break}}return n}function l(e,t){return i.default.search(e,(function(e){return e.cc<t?1:e.cc>t?-1:0}))}function u(e,t,n){var r=!1;return t&&t.details&&n&&(n.endCC>n.startCC||e&&e.cc<n.startCC)&&(r=!0),r}function c(e,t){var n=e.fragments,r=t.fragments;if(r.length&&n.length){var i=s(n,r[0].cc);if(i&&(!i||i.startPTS))return i;o.logger.log("No frag in previous level to align on")}else o.logger.log("No fragments to align")}function f(e,t){t.fragments.forEach((function(t){if(t){var n=t.start+e;t.start=t.startPTS=n,t.endPTS=n+t.duration}})),t.PTSKnown=!0}function h(e,t,n){d(e,n,t),!n.PTSKnown&&t&&p(n,t.details)}function d(e,t,n){if(u(e,n,t)){var r=c(n.details,t);r&&(o.logger.log("Adjusting PTS using last level due to CC increase within current level"),f(r.start,t))}}function p(e,t){if(t&&t.fragments.length){if(!e.hasProgramDateTime||!t.hasProgramDateTime)return;var n=t.fragments[0].programDateTime,r=e.fragments[0].programDateTime,i=(r-n)/1e3+t.fragments[0].start;Number.isFinite(i)&&(o.logger.log("adjusting PTS using programDateTime delta, sliding:"+i.toFixed(3)),f(i,e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findFragmentByPDT=a,t.findFragmentByPTS=s,t.fragmentWithinToleranceTest=l,t.pdtWithinToleranceTest=u;var r=n(9),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){if(!Array.isArray(e)||!e.length||!Number.isFinite(t))return null;if(t<e[0].programDateTime)return null;if(t>=e[e.length-1].endProgramDateTime)return null;n=n||0;for(var r=0;r<e.length;++r){var i=e[r];if(u(t,n,i))return i}return null}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=e?t[e.sn-t[0].sn+1]:null;return o&&!l(n,r,o)?o:i.default.search(t,l.bind(null,n,r))}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],r=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-r<=e?1:n.start-r>e&&n.start?-1:0}function u(e,t,n){var r=1e3*Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.endProgramDateTime-r>e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(3),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(e){var n;s(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];var a=l(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(i)));return a._tickInterval=null,a._tickTimer=null,a._tickCallCount=0,a._boundTick=a.tick.bind(a),a}return u(t,e),r(t,[{key:"onHandlerDestroying",value:function(){this.clearNextTick(),this.clearInterval()}},{key:"hasInterval",value:function(){return!!this._tickInterval}},{key:"hasNextTick",value:function(){return!!this._tickTimer}},{key:"setInterval",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return!this._tickInterval&&(this._tickInterval=setInterval(this._boundTick,e),!0)}))},{key:"clearInterval",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return!!this._tickInterval&&(clearInterval(this._tickInterval),this._tickInterval=null,!0)}))},{key:"clearNextTick",value:function(){return!!this._tickTimer&&(clearTimeout(this._tickTimer),this._tickTimer=null,!0)}},{key:"tick",value:function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&(this.clearNextTick(),this._tickTimer=setTimeout(this._boundTick,0)),this._tickCallCount=0)}},{key:"doTick",value:function(){}}]),t}(o.default);t.default=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n=null;try{n=new window.Event("addtrack")}catch(r){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=e,t.dispatchEvent(n)}function i(e){if(e&&e.cues)while(e.cues.length>0)e.removeCue(e.cues[0])}Object.defineProperty(t,"__esModule",{value:!0}),t.sendAddTrackEvent=r,t.clearCurrentCues=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fixLineBreaks=void 0;var r=n(71),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){return{decode:function(e){if(!e)return"";if("string"!==typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}};function s(){this.window=window,this.state="INITIAL",this.buffer="",this.decoder=new a,this.regionList=[]}function l(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function u(){this.values=Object.create(null)}function c(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"===typeof i[o]){var a=i[o].split(n);if(2===a.length){var s=a[0],l=a[1];t(s,l)}}}u.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t),t>=0&&t<=100))&&(this.set(e,t),!0)}};var f=new i.default(0,0,0),h="middle"===f.align?"middle":"center";function d(e,t,n){var r=e;function i(){var t=l(e);if(null===t)throw new Error("Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function o(e,t){var r=new u;c(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start",h,"end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start",h,"end","line-left","line-right","auto"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start",h,"end","left","right"]);break}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");var i=r.get("line","auto");"auto"===i&&-1===f.line&&(i=-1),t.line=i,t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100),t.align=r.get("align",h);var o=r.get("position","auto");"auto"===o&&50===f.position&&(o="start"===t.align||"left"===t.align?0:"end"===t.align||"right"===t.align?100:50),t.position=o}function a(){e=e.replace(/^\s+/,"")}if(a(),t.startTime=i(),a(),"--\x3e"!==e.substr(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),a(),t.endTime=i(),a(),o(e,t)}function p(e){return e.replace(/<br(?: \/)?>/gi,"\n")}s.prototype={parse:function(e){var t=this;function n(){var e=t.buffer,n=0;e=p(e);while(n<e.length&&"\r"!==e[n]&&"\n"!==e[n])++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){c(e,(function(e,t){switch(e){case"Region":break}}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var o=void 0;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;o=n();var a=o.match(/^()?WEBVTT([ \t].*)?$/);if(!a||!a[0])throw new Error("Malformed WebVTT signature.");t.state="HEADER"}var s=!1;while(t.buffer){if(!/\r\n|\n/.test(t.buffer))return this;switch(s?s=!1:o=n(),t.state){case"HEADER":/:/.test(o)?r(o):o||(t.state="ID");continue;case"NOTE":o||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){t.state="NOTE";break}if(!o)continue;if(t.cue=new i.default(0,0,""),t.state="CUE",-1===o.indexOf("--\x3e")){t.cue.id=o;continue}case"CUE":try{d(o,t.cue,t.regionList)}catch(u){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var l=-1!==o.indexOf("--\x3e");if(!o||l&&(s=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=o;continue;case"BADCUE":o||(t.state="ID");continue}}}catch(u){"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new Error("Malformed WebVTT signature.")}catch(t){throw t}return e.onflush&&e.onflush(),this}},t.fixLineBreaks=p,t.default=s},function(e,t,n){e.exports=n(32)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},a=n(33),s=h(a),l=n(34),u=h(l),c=n(80),f=h(c);function h(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(e){d(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.hlsOpts=e.hlsOpts||{};var r=s.default.util,i=n;if(i.once("complete",(function(){if(i.config.isLive&&(r.addClass(i.root,"xgplayer-is-live"),!r.findDom(i.controls,".xgplayer-live"))){var e=r.createDom("xg-live",i.lang.LIVE||"正在直播",{},"xgplayer-live");i.controls.appendChild(e)}})),n.browser=f.default.getBrowserVersion(),void 0===i.config.useHls){if("mobile"===s.default.sniffer.device&&"MacIntel"!==navigator.platform&&"Win32"!==navigator.platform||n.browser.indexOf("Safari")>-1)return p(n)}else if(!i.config.useHls)return p(n);n._start=n.start,n.start=function(){window.XgVideoProxy||n.root.insertBefore(n.video,n.root.firstChild),setTimeout((function(){n.emit("complete"),n.danmu&&"function"===typeof n.danmu.resize&&n.danmu.resize()}),1)},Number.isFinite=Number.isFinite||function(e){return"number"===typeof e&&isFinite(e)};var o=void 0;return o=new u.default(n.hlsOpts),n.hls=o,Object.defineProperty(i,"src",{get:function(){return i.currentSrc},set:function(e){r.removeClass(i.root,"xgplayer-is-live");var t=document.querySelector(".xgplayer-live");t&&t.parentNode.removeChild(t),i.autoplay=!0;var n=i.paused;n||i.pause(),i.hls.stopLoad(),i.hls.detachMedia(),i.hls.destroy(),i.hls=new u.default(i.hlsOpts),i.register(e),i.once("canplay",(function(){i.play().catch((function(e){}))})),i.hls.loadSource(e),i.hls.attachMedia(i.video)},configurable:!0}),n.register(n.config.url),n.once("complete",(function(){o.attachMedia(i.video),i.once("canplay",(function(){i.play().catch((function(e){}))}))})),n.once("destroy",(function(){o.stopLoad()})),n}return g(t,e),i(t,[{key:"switchURL",value:function(e){var t=this;t.url=e,t.config.url=e;var n=t.currentTime;s.default.util.addClass(t.root,"xgplayer-is-enter"),t.once("playing",(function(){s.default.util.removeClass(t.root,"xgplayer-is-enter")})),t.once("canplay",(function(){t.currentTime=n,t.play()})),"object"===r(t.hls)&&(t.hls.originUrl=e),t.src=e}},{key:"register",value:function(e){var t=this.hls,n=s.default.util,r=this;t.on(u.default.Events.MEDIA_ATTACHED,(function(){t.loadSource(e)})),t.on(u.default.Events.LEVEL_LOADED,(function(e,i){if(!t.inited&&(t.inited=!0,i&&i.details&&i.details.live&&(n.addClass(r.root,"xgplayer-is-live"),!n.findDom(r.root,".xgplayer-live")))){var o=n.createDom("xg-live","正在直播",{},"xgplayer-live");r.controls.appendChild(o)}})),t.on(u.default.Events.ERROR,(function(e,n){if(r.emit("HLS_ERROR",{errorType:n.type,errorDetails:n.details,errorFatal:n.fatal}),n.fatal)switch(n.type){case u.default.ErrorTypes.NETWORK_ERROR:t.startLoad();break;case u.default.ErrorTypes.MEDIA_ERROR:t.recoverMediaError();break;default:r.emit("error",n)}})),this._statistics()}},{key:"_statistics",value:function(){var e={speed:0,playerType:"HlsPlayer"},t={videoDataRate:0,audioDataRate:0},n=this.hls,r=this;n.on(u.default.Events.FRAG_LOAD_PROGRESS,(function(t,n){e.speed=n.stats.loaded/1e3})),n.on(u.default.Events.FRAG_PARSING_DATA,(function(e,n){"video"===n.type&&(t.fps=parseInt(n.nb/(n.endPTS-n.startPTS)))})),n.on(u.default.Events.FRAG_PARSING_INIT_SEGMENT,(function(e,n){if(t.hasAudio=!!(n&&n.tracks&&n.tracks.audio),t.hasVideo=!!(n&&n.tracks&&n.tracks.video),t.hasAudio&&n.tracks.audio){var i=n.tracks.audio;t.audioChannelCount=i.metadata&&i.metadata.channelCount?i.metadata.channelCount:0,t.audioCodec=i.codec}if(t.hasVideo&&n.tracks.video){var o=n.tracks.video;t.videoCodec=o.codec,t.width=o.metadata&&o.metadata.width?o.metadata.width:0,t.height=o.metadata&&o.metadata.height?o.metadata.height:0}t.duration=n.frag&&n.frag.duration?n.frag.duration:0,t.level=n.frag&&n.frag.level?n.frag.level:0,(t.videoCodec||t.audioCodec)&&(t.mimeType='video/hls; codecs="'+t.videoCodec+";"+t.audioCodec+'"'),r.mediainfo=t,r.emit("media_info",t)})),this._statisticsTimmer=setInterval((function(){r.emit("statistics_info",e),e.speed=0}),1e3)}},{key:"destroy",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),clearInterval(this._statisticsTimmer)}}]),t}(s.default);v.isSupported=u.default.isSupported,v.HlsJs=u.default,t.default=v,e.exports=t["default"]},function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(8),o=C(i),a=n(2),s=n(15),l=O(s),u=n(38),c=O(u),f=n(39),h=O(f),d=n(6),p=n(40),g=O(p),v=n(57),y=O(v),m=n(58),b=O(m),_=n(59),x=n(0),w=n(60),S=n(1),k=O(S),E=n(24);function O(e){return e&&e.__esModule?e:{default:e}}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function P(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var M=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};A(this,t);var n=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),r=t.DefaultConfig;if((e.liveSyncDurationCount||e.liveMaxLatencyDurationCount)&&(e.liveSyncDuration||e.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var i in r)i in e||(e[i]=r[i]);if(void 0!==e.liveMaxLatencyDurationCount&&e.liveMaxLatencyDurationCount<=e.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==e.liveMaxLatencyDuration&&(e.liveMaxLatencyDuration<=e.liveSyncDuration||void 0===e.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');(0,x.enableLogs)(e.debug),n.config=e,n._autoLevelCapping=-1;var o=n.abrController=new e.abrController(n),a=new e.bufferController(n),s=new e.capLevelController(n),u=new e.fpsController(n),f=new l.default(n),p=new c.default(n),v=new h.default(n),m=new b.default(n),_=n.levelController=new y.default(n),w=new d.FragmentTracker(n),S=n.streamController=new g.default(n,w),k=[_,S],E=e.audioStreamController;E&&k.push(new E(n,w)),n.networkControllers=k;var O=[f,p,v,o,a,s,u,m,w];if(E=e.audioTrackController,E){var C=new E(n);n.audioTrackController=C,O.push(C)}if(E=e.subtitleTrackController,E){var P=new E(n);n.subtitleTrackController=P,k.push(P)}if(E=e.emeController,E){var M=new E(n);n.emeController=M,O.push(M)}return E=e.subtitleStreamController,E&&k.push(new E(n,w)),E=e.timelineController,E&&O.push(new E(n)),n.coreComponents=O,n}return P(t,e),r(t,null,[{key:"isSupported",value:function(){return(0,_.isSupported)()}},{key:"version",get:function(){return __VERSION__}},{key:"Events",get:function(){return k.default}},{key:"ErrorTypes",get:function(){return a.ErrorTypes}},{key:"ErrorDetails",get:function(){return a.ErrorDetails}},{key:"DefaultConfig",get:function(){return t.defaultConfig?t.defaultConfig:w.hlsDefaultConfig},set:function(e){t.defaultConfig=e}}]),r(t,[{key:"destroy",value:function(){x.logger.log("destroy"),this.trigger(k.default.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach((function(e){e.destroy()})),this.url=null,this.removeAllListeners(),this._autoLevelCapping=-1}},{key:"attachMedia",value:function(e){x.logger.log("attachMedia"),this.media=e,this.trigger(k.default.MEDIA_ATTACHING,{media:e})}},{key:"detachMedia",value:function(){x.logger.log("detachMedia"),this.trigger(k.default.MEDIA_DETACHING),this.media=null}},{key:"loadSource",value:function(e){e=o.buildAbsoluteURL(window.location.href,e,{alwaysNormalize:!0}),x.logger.log("loadSource:"+e),this.url=e,this.trigger(k.default.MANIFEST_LOADING,{url:e})}},{key:"startLoad",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;x.logger.log("startLoad("+e+")"),this.networkControllers.forEach((function(t){t.startLoad(e)}))}},{key:"stopLoad",value:function(){x.logger.log("stopLoad"),this.networkControllers.forEach((function(e){e.stopLoad()}))}},{key:"swapAudioCodec",value:function(){x.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}},{key:"recoverMediaError",value:function(){x.logger.log("recoverMediaError");var e=this.media;this.detachMedia(),this.attachMedia(e)}},{key:"levels",get:function(){return this.levelController.levels}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(e){x.logger.log("set currentLevel:"+e),this.loadLevel=e,this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(e){x.logger.log("set nextLevel:"+e),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(e){x.logger.log("set loadLevel:"+e),this.levelController.manualLevel=e}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(e){this.levelController.nextLoadLevel=e}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(e){x.logger.log("set firstLevel:"+e),this.levelController.firstLevel=e}},{key:"startLevel",get:function(){return this.levelController.startLevel},set:function(e){x.logger.log("set startLevel:"+e);var t=this;-1!==e&&(e=Math.max(e,t.minAutoLevel)),t.levelController.startLevel=e}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(e){x.logger.log("set autoLevelCapping:"+e),this._autoLevelCapping=e}},{key:"autoLevelEnabled",get:function(){return-1===this.levelController.manualLevel}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){for(var e=this,t=e.levels,n=e.config.minAutoBitrate,r=t?t.length:0,i=0;i<r;i++){var o=t[i].realBitrate?Math.max(t[i].realBitrate,t[i].bitrate):t[i].bitrate;if(o>n)return i}return 0}},{key:"maxAutoLevel",get:function(){var e=this,t=e.levels,n=e.autoLevelCapping,r=void 0;return r=-1===n&&t&&t.length?t.length-1:n,r}},{key:"nextAutoLevel",get:function(){var e=this;return Math.min(Math.max(e.abrController.nextAutoLevel,e.minAutoLevel),e.maxAutoLevel)},set:function(e){var t=this;t.abrController.nextAutoLevel=Math.max(t.minAutoLevel,e)}},{key:"audioTracks",get:function(){var e=this.audioTrackController;return e?e.audioTracks:[]}},{key:"audioTrack",get:function(){var e=this.audioTrackController;return e?e.audioTrack:-1},set:function(e){var t=this.audioTrackController;t&&(t.audioTrack=e)}},{key:"liveSyncPosition",get:function(){return this.streamController.liveSyncPosition}},{key:"subtitleTracks",get:function(){var e=this.subtitleTrackController;return e?e.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var e=this.subtitleTrackController;return e?e.subtitleTrack:-1},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}},{key:"subtitleDisplay",get:function(){var e=this.subtitleTrackController;return!!e&&e.subtitleDisplay},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}}]),t}(E.Observer);t.default=M,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(8),o=y(i),a=n(11),s=v(a),l=n(36),u=v(l),c=n(17),f=v(c),h=n(37),d=v(h),p=n(0),g=n(18);function v(e){return e&&e.__esModule?e:{default:e}}function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var b=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,_=/#EXT-X-MEDIA:(.*)/g,x=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)([\S+ ?]+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),w=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,S=/\.(mp4|m4s|m4v|m4a)$/i,k=function(){function e(){m(this,e)}return r(e,null,[{key:"findGroup",value:function(e,t){if(!e)return null;for(var n=null,r=0;r<e.length;r++){var i=e[r];i.id===t&&(n=i)}return n}},{key:"convertAVC1ToAVCOTI",value:function(e){var t=void 0,n=e.split(".");return n.length>2?(t=n.shift()+".",t+=parseInt(n.shift()).toString(16),t+=("000"+parseInt(n.shift()).toString(16)).substr(-4)):t=e,t}},{key:"resolve",value:function(e,t){return o.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}},{key:"parseMasterPlaylist",value:function(t,n){var r=[],i=void 0;function o(e,t){["video","audio"].forEach((function(n){var r=e.filter((function(e){return(0,g.isCodecType)(e,n)}));if(r.length){var i=r.filter((function(e){return 0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)}));t[n+"Codec"]=i.length>0?i[0]:r[0],e=e.filter((function(e){return-1===r.indexOf(e)}))}})),t.unknownCodecs=e}b.lastIndex=0;while(null!=(i=b.exec(t))){var a={},s=a.attrs=new d.default(i[1]);a.url=e.resolve(i[2],n);var l=s.decimalResolution("RESOLUTION");l&&(a.width=l.width,a.height=l.height),a.bitrate=s.decimalInteger("AVERAGE-BANDWIDTH")||s.decimalInteger("BANDWIDTH"),a.name=s.NAME,o([].concat((s.CODECS||"").split(/[ ,]+/)),a),a.videoCodec&&-1!==a.videoCodec.indexOf("avc1")&&(a.videoCodec=e.convertAVC1ToAVCOTI(a.videoCodec)),r.push(a)}return r}},{key:"parseMasterPlaylistMedia",value:function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=void 0,a=[],s=0;_.lastIndex=0;while(null!==(o=_.exec(t))){var l={},u=new d.default(o[1]);if(u.TYPE===r){if(l.groupId=u["GROUP-ID"],l.name=u.NAME,l.type=r,l.default="YES"===u.DEFAULT,l.autoselect="YES"===u.AUTOSELECT,l.forced="YES"===u.FORCED,u.URI&&(l.url=e.resolve(u.URI,n)),l.lang=u.LANGUAGE,l.name||(l.name=l.lang),i.length){var c=e.findGroup(i,l.groupId);l.audioCodec=c?c.codec:i[0].codec}l.id=s++,a.push(l)}}return a}},{key:"parseLevelPlaylist",value:function(e,t,n,r,i){var o=0,a=0,l=new u.default(t),c=new f.default,h=0,g=null,v=new s.default,y=void 0,m=void 0,b=null;x.lastIndex=0;while(null!==(y=x.exec(e))){var _=y[1];if(_){v.duration=parseFloat(_);var k=(" "+y[2]).slice(1);v.title=k||null,v.tagList.push(k?["INF",_,k]:["INF",_])}else if(y[3]){if(Number.isFinite(v.duration)){var C=o++;v.type=r,v.start=a,v.levelkey=c,v.sn=C,v.level=n,v.cc=h,v.urlId=i,v.baseurl=t,v.relurl=(" "+y[3]).slice(1),O(v,g),l.fragments.push(v),g=v,a+=v.duration,v=new s.default}}else if(y[4]){if(v.rawByteRange=(" "+y[4]).slice(1),g){var A=g.byteRangeEndOffset;A&&(v.lastByteRangeEndOffset=A)}}else if(y[5])v.rawProgramDateTime=(" "+y[5]).slice(1),v.tagList.push(["PROGRAM-DATE-TIME",v.rawProgramDateTime]),null===b&&(b=l.fragments.length);else{for(y=y[0].match(w),m=1;m<y.length;m++)if(void 0!==y[m])break;var T=(" "+y[m+1]).slice(1),P=(" "+y[m+2]).slice(1);switch(y[m]){case"#":v.tagList.push(P?[T,P]:[T]);break;case"PLAYLIST-TYPE":l.type=T.toUpperCase();break;case"MEDIA-SEQUENCE":o=l.startSN=parseInt(T);break;case"TARGETDURATION":l.targetduration=parseFloat(T);break;case"VERSION":l.version=parseInt(T);break;case"EXTM3U":break;case"ENDLIST":l.live=!1;break;case"DIS":h++,v.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":h=parseInt(T);break;case"KEY":var M=T,D=new d.default(M),I=D.enumeratedString("METHOD"),L=D.URI,R=D.hexadecimalInteger("IV");I&&(c=new f.default,L&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(I)>=0&&(c.method=I,c.baseuri=t,c.reluri=L,c.key=null,c.iv=R));break;case"START":var j=T,N=new d.default(j),B=N.decimalFloatingPoint("TIME-OFFSET");Number.isFinite(B)&&(l.startTimeOffset=B);break;case"MAP":var F=new d.default(T);v.relurl=F.URI,v.rawByteRange=F.BYTERANGE,v.baseurl=t,v.level=n,v.type=r,v.sn="initSegment",l.initSegment=v,v=new s.default,v.rawProgramDateTime=l.initSegment.rawProgramDateTime;break;default:p.logger.warn("line parsed but not handled: "+y);break}}}return v=g,v&&!v.relurl&&(l.fragments.pop(),a-=v.duration),l.totalduration=a,l.averagetargetduration=a/l.fragments.length,l.endSN=o-1,l.startCC=l.fragments[0]?l.fragments[0].cc:0,l.endCC=h,!l.initSegment&&l.fragments.length&&l.fragments.every((function(e){return S.test(e.relurl)}))&&(p.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),v=new s.default,v.relurl=l.fragments[0].relurl,v.baseurl=t,v.level=n,v.type=r,v.sn="initSegment",l.initSegment=v,l.needSidxRanges=!0),b&&E(l.fragments,b),l}}]),e}();function E(e,t){for(var n=e[t],r=t-1;r>=0;r--){var i=e[r];i.programDateTime=n.programDateTime-1e3*i.duration,n=i}}function O(e,t){e.rawProgramDateTime?e.programDateTime=Date.parse(e.rawProgramDateTime):t&&t.programDateTime&&(e.programDateTime=t.endProgramDateTime),Number.isFinite(e.programDateTime)||(e.programDateTime=null,e.rawProgramDateTime=null)}t.default=k,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){i(this,e),this.endCC=0,this.endSN=0,this.fragments=[],this.initSegment=null,this.live=!0,this.needSidxRanges=!1,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=t,this.version=null}return r(e,[{key:"hasProgramDateTime",get:function(){return!(!this.fragments[0]||!Number.isFinite(this.fragments[0].programDateTime))}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=/^(\d+)x(\d+)$/,a=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,s=function(){function e(t){for(var n in i(this,e),"string"===typeof t&&(t=e.parseAttrList(t)),t)t.hasOwnProperty(n)&&(this[n]=t[n])}return r(e,[{key:"decimalInteger",value:function(e){var t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}},{key:"hexadecimalInteger",value:function(e){if(this[e]){var t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;for(var n=new Uint8Array(t.length/2),r=0;r<t.length/2;r++)n[r]=parseInt(t.slice(2*r,2*r+2),16);return n}return null}},{key:"hexadecimalIntegerAsNumber",value:function(e){var t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}},{key:"decimalFloatingPoint",value:function(e){return parseFloat(this[e])}},{key:"enumeratedString",value:function(e){return this[e]}},{key:"decimalResolution",value:function(e){var t=o.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}}],[{key:"parseAttrList",value:function(e){var t=void 0,n={};a.lastIndex=0;while(null!==(t=a.exec(e))){var r=t[2],i='"';0===r.indexOf(i)&&r.lastIndexOf(i)===r.length-1&&(r=r.slice(1,-1)),n[t[1]]=r}return n}}]),e}();t.default=s,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(1),a=f(o),s=n(3),l=f(s),u=n(2),c=n(0);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e){function t(e){h(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,a.default.FRAG_LOADING));return n.loaders={},n}return p(t,e),r(t,[{key:"destroy",value:function(){var e=this.loaders;for(var n in e){var r=e[n];r&&r.destroy()}this.loaders={},i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"onFragLoading",value:function(e){var t=e.frag,n=t.type,r=this.loaders,i=this.hls.config,o=i.fLoader,a=i.loader;t.loaded=0;var s=r[n];s&&(c.logger.warn("abort previous fragment loader for type: "+n),s.abort()),s=r[n]=t.loader=i.fLoader?new o(i):new a(i);var l=void 0,u=void 0,f=void 0;l={url:t.url,frag:t,responseType:"arraybuffer",progressData:!1};var h=t.byteRangeStartOffset,d=t.byteRangeEndOffset;Number.isFinite(h)&&Number.isFinite(d)&&(l.rangeStart=h,l.rangeEnd=d),u={timeout:i.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:i.fragLoadingMaxRetryTimeout},f={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this),onProgress:this.loadprogress.bind(this)},s.load(l,u,f)}},{key:"loadsuccess",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=e.data,o=n.frag;o.loader=void 0,this.loaders[o.type]=void 0,this.hls.trigger(a.default.FRAG_LOADED,{payload:i,frag:o,stats:t,networkDetails:r})}},{key:"loaderror",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.frag,i=r.loader;i&&i.abort(),this.loaders[r.type]=void 0,this.hls.trigger(a.default.ERROR,{type:u.ErrorTypes.NETWORK_ERROR,details:u.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:t.frag,response:e,networkDetails:n})}},{key:"loadtimeout",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.frag,i=r.loader;i&&i.abort(),this.loaders[r.type]=void 0,this.hls.trigger(a.default.ERROR,{type:u.ErrorTypes.NETWORK_ERROR,details:u.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t.frag,networkDetails:n})}},{key:"loadprogress",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t.frag;i.loaded=e.loaded,this.hls.trigger(a.default.FRAG_LOAD_PROGRESS,{frag:i,stats:e,networkDetails:r})}}]),t}(l.default);t.default=g,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=c(i),a=n(3),s=c(a),l=n(2),u=n(0);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e){f(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.KEY_LOADING));return n.loaders={},n.decryptkey=null,n.decrypturl=null,n}return d(t,e),r(t,[{key:"destroy",value:function(){for(var e in this.loaders){var t=this.loaders[e];t&&t.destroy()}this.loaders={},s.default.prototype.destroy.call(this)}},{key:"onKeyLoading",value:function(e){var t=e.frag,n=t.type,r=this.loaders[n],i=t.decryptdata,a=i.uri;if(a!==this.decrypturl||null===this.decryptkey){var s=this.hls.config;r&&(u.logger.warn("abort previous key loader for type:"+n),r.abort()),t.loader=this.loaders[n]=new s.loader(s),this.decrypturl=a,this.decryptkey=null;var l=void 0,c=void 0,f=void 0;l={url:a,frag:t,responseType:"arraybuffer"},c={timeout:s.fragLoadingTimeOut,maxRetry:0,retryDelay:s.fragLoadingRetryDelay,maxRetryDelay:s.fragLoadingMaxRetryTimeout},f={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},t.loader.load(l,c,f)}else this.decryptkey&&(i.key=this.decryptkey,this.hls.trigger(o.default.KEY_LOADED,{frag:t}))}},{key:"loadsuccess",value:function(e,t,n){var r=n.frag;this.decryptkey=r.decryptdata.key=new Uint8Array(e.data),r.loader=void 0,this.loaders[r.type]=void 0,this.hls.trigger(o.default.KEY_LOADED,{frag:r})}},{key:"loaderror",value:function(e,t){var n=t.frag,r=n.loader;r&&r.abort(),this.loaders[t.type]=void 0,this.hls.trigger(o.default.ERROR,{type:l.ErrorTypes.NETWORK_ERROR,details:l.ErrorDetails.KEY_LOAD_ERROR,fatal:!1,frag:n,response:e})}},{key:"loadtimeout",value:function(e,t){var n=t.frag,r=n.loader;r&&r.abort(),this.loaders[t.type]=void 0,this.hls.trigger(o.default.ERROR,{type:l.ErrorTypes.NETWORK_ERROR,details:l.ErrorDetails.KEY_LOAD_TIMEOUT,fatal:!1,frag:n})}}]),t}(s.default);t.default=p,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(9),a=P(o),s=n(4),l=n(19),u=P(l),c=n(1),f=P(c),h=n(6),d=n(11),p=P(d),g=n(15),v=P(g),y=n(7),m=T(y),b=n(25),_=P(b),x=n(2),w=n(0),S=n(26),k=n(27),E=n(56),O=P(E),C=n(14),A=P(C);function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function P(e){return e&&e.__esModule?e:{default:e}}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function I(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var L=100,R=function(e){function t(e,n){M(this,t);var r=D(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,f.default.MEDIA_ATTACHED,f.default.MEDIA_DETACHING,f.default.MANIFEST_LOADING,f.default.MANIFEST_PARSED,f.default.LEVEL_LOADED,f.default.KEY_LOADED,f.default.FRAG_LOADED,f.default.FRAG_LOAD_EMERGENCY_ABORTED,f.default.FRAG_PARSING_INIT_SEGMENT,f.default.FRAG_PARSING_DATA,f.default.FRAG_PARSED,f.default.ERROR,f.default.AUDIO_TRACK_SWITCHING,f.default.AUDIO_TRACK_SWITCHED,f.default.BUFFER_CREATED,f.default.BUFFER_APPENDED,f.default.BUFFER_FLUSHED));return r.fragmentTracker=n,r.config=e.config,r.audioCodecSwap=!1,r._state=C.State.STOPPED,r.stallReported=!1,r.gapController=null,r}return I(t,e),r(t,[{key:"startLoad",value:function(e){if(this.levels){var t=this.lastCurrentTime,n=this.hls;if(this.stopLoad(),this.setInterval(L),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var r=n.startLevel;-1===r&&(r=0,this.bitrateTest=!0),this.level=n.nextLoadLevel=r,this.loadedmetadata=!1}t>0&&-1===e&&(w.logger.log("override startPosition with lastCurrentTime @"+t.toFixed(3)),e=t),this.state=C.State.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this.forceStartLoad=!0,this.state=C.State.STOPPED}},{key:"stopLoad",value:function(){this.forceStartLoad=!1,i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"stopLoad",this).call(this)}},{key:"doTick",value:function(){switch(this.state){case C.State.BUFFER_FLUSHING:this.fragLoadError=0;break;case C.State.IDLE:this._doTickIdle();break;case C.State.WAITING_LEVEL:var e=this.levels[this.level];e&&e.details&&(this.state=C.State.IDLE);break;case C.State.FRAG_LOADING_WAITING_RETRY:var t=window.performance.now(),n=this.retryDate;(!n||t>=n||this.media&&this.media.seeking)&&(w.logger.log("mediaController: retryDate reached, switch back to IDLE state"),this.state=C.State.IDLE);break;case C.State.ERROR:case C.State.STOPPED:case C.State.FRAG_LOADING:case C.State.PARSING:case C.State.PARSED:case C.State.ENDED:break;default:break}this._checkBuffer(),this._checkFragmentChanged()}},{key:"_doTickIdle",value:function(){var e=this.hls,t=e.config,n=this.media;if(void 0!==this.levelLastLoaded&&(n||!this.startFragRequested&&t.startFragPrefetch)){var r=void 0;r=this.loadedmetadata?n.currentTime:this.nextLoadPosition;var i=e.nextLoadLevel,o=this.levels[i];if(o){var a=o.bitrate,l=void 0;l=a?Math.max(8*t.maxBufferSize/a,t.maxBufferLength):t.maxBufferLength,l=Math.min(l,t.maxMaxBufferLength);var u=s.BufferHelper.bufferInfo(this.mediaBuffer?this.mediaBuffer:n,r,t.maxBufferHole),c=u.len;if(!(c>=l)){w.logger.trace("buffer length of "+c.toFixed(3)+" is below max of "+l.toFixed(3)+". checking for more payload ..."),this.level=e.nextLoadLevel=i;var h=o.details;if(!h||h.live&&this.levelLastLoaded!==i)this.state=C.State.WAITING_LEVEL;else{if(this._streamEnded(u,h)){var d={};return this.altAudio&&(d.type="video"),this.hls.trigger(f.default.BUFFER_EOS,d),void(this.state=C.State.ENDED)}this._fetchPayloadOrEos(r,u,h)}}}}}},{key:"_fetchPayloadOrEos",value:function(e,t,n){var r=this.fragPrevious,i=this.level,o=n.fragments,a=o.length;if(0!==a){var s=o[0].start,l=o[a-1].start+o[a-1].duration,u=t.end,c=void 0;if(n.initSegment&&!n.initSegment.data)c=n.initSegment;else if(n.live){var f=this.config.initialLiveManifestSize;if(a<f)return void w.logger.warn("Can not start playback of a level, reason: not enough fragments "+a+" < "+f);if(c=this._ensureFragmentAtLivePoint(n,u,s,l,r,o,a),null===c)return}else u<s&&(c=o[0]);c||(c=this._findFragment(s,r,a,o,u,l,n)),c&&(c.encrypted?(w.logger.log("Loading key for "+c.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+i),this._loadKey(c)):(w.logger.log("Loading "+c.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+i+", currentTime:"+e.toFixed(3)+",bufferEnd:"+u.toFixed(3)),this._loadFragment(c)))}}},{key:"_ensureFragmentAtLivePoint",value:function(e,t,n,r,i,o,s){var l=this.hls.config,u=this.media,c=void 0,f=void 0!==l.liveMaxLatencyDuration?l.liveMaxLatencyDuration:l.liveMaxLatencyDurationCount*e.targetduration;if(t<Math.max(n-l.maxFragLookUpTolerance,r-f)){var h=this.liveSyncPosition=this.computeLivePosition(n,e);w.logger.log("buffer end: "+t.toFixed(3)+" is located too far from the end of live sliding playlist, reset currentTime to : "+h.toFixed(3)),t=h,u&&u.readyState&&u.duration>h&&(u.currentTime=h),this.nextLoadPosition=h}if(e.PTSKnown&&t>r&&u&&u.readyState)return null;if(this.startFragRequested&&!e.PTSKnown){if(i)if(e.hasProgramDateTime)w.logger.log("live playlist, switching playlist, load frag with same PDT: "+i.programDateTime),c=(0,k.findFragmentByPDT)(o,i.endProgramDateTime,l.maxFragLookUpTolerance);else{var d=i.sn+1;if(d>=e.startSN&&d<=e.endSN){var p=o[d-e.startSN];i.cc===p.cc&&(c=p,w.logger.log("live playlist, switching playlist, load frag with next SN: "+c.sn))}c||(c=a.default.search(o,(function(e){return i.cc-e.cc})),c&&w.logger.log("live playlist, switching playlist, load frag with same CC: "+c.sn))}c||(c=o[Math.min(s-1,Math.round(s/2))],w.logger.log("live playlist, switching playlist, unknown, load middle frag : "+c.sn))}return c}},{key:"_findFragment",value:function(e,t,n,r,i,o,a){var s=this.hls.config,l=void 0;if(i<o){var u=i>o-s.maxFragLookUpTolerance?0:s.maxFragLookUpTolerance;l=(0,k.findFragmentByPTS)(t,r,i,u)}else l=r[n-1];if(l){var c=l.sn-a.startSN,f=t&&l.level===t.level,h=r[c-1],d=r[c+1];if(t&&l.sn===t.sn)if(f&&!l.backtracked)if(l.sn<a.endSN){var p=t.deltaPTS;p&&p>s.maxBufferHole&&t.dropped&&c?(l=h,w.logger.warn("SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this")):(l=d,w.logger.log("SN just loaded, load next one: "+l.sn,l))}else l=null;else l.backtracked&&(d&&d.backtracked?(w.logger.warn("Already backtracked from fragment "+d.sn+", will not backtrack to fragment "+l.sn+". Loading fragment "+d.sn),l=d):(w.logger.warn("Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe"),l.dropped=0,h?(l=h,l.backtracked=!0):c&&(l=null)))}return l}},{key:"_loadKey",value:function(e){this.state=C.State.KEY_LOADING,this.hls.trigger(f.default.KEY_LOADING,{frag:e})}},{key:"_loadFragment",value:function(e){var t=this.fragmentTracker.getState(e);this.fragCurrent=e,this.startFragRequested=!0,Number.isFinite(e.sn)&&!e.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),e.backtracked||t===h.FragmentState.NOT_LOADED||t===h.FragmentState.PARTIAL?(e.autoLevel=this.hls.autoLevelEnabled,e.bitrateTest=this.bitrateTest,this.hls.trigger(f.default.FRAG_LOADING,{frag:e}),this.demuxer||(this.demuxer=new u.default(this.hls,"main")),this.state=C.State.FRAG_LOADING):t===h.FragmentState.APPENDING&&this._reduceMaxBufferLength(e.duration)&&this.fragmentTracker.removeFragment(e)}},{key:"getBufferedFrag",value:function(e){return this.fragmentTracker.getBufferedFrag(e,v.default.LevelType.MAIN)}},{key:"followingBufferedFrag",value:function(e){return e?this.getBufferedFrag(e.endPTS+.5):null}},{key:"_checkFragmentChanged",value:function(){var e=void 0,t=void 0,n=this.media;if(n&&n.readyState&&!1===n.seeking&&(t=n.currentTime,t>this.lastCurrentTime&&(this.lastCurrentTime=t),s.BufferHelper.isBuffered(n,t)?e=this.getBufferedFrag(t):s.BufferHelper.isBuffered(n,t+.1)&&(e=this.getBufferedFrag(t+.1)),e)){var r=e;if(r!==this.fragPlaying){this.hls.trigger(f.default.FRAG_CHANGED,{frag:r});var i=r.level;this.fragPlaying&&this.fragPlaying.level===i||this.hls.trigger(f.default.LEVEL_SWITCHED,{level:i}),this.fragPlaying=r}}}},{key:"immediateLevelSwitch",value:function(){if(w.logger.log("immediateLevelSwitch"),!this.immediateSwitch){this.immediateSwitch=!0;var e=this.media,t=void 0;e?(t=e.paused,e.pause()):t=!0,this.previouslyPaused=t}var n=this.fragCurrent;n&&n.loader&&n.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}},{key:"immediateLevelSwitchEnd",value:function(){var e=this.media;e&&e.buffered.length&&(this.immediateSwitch=!1,s.BufferHelper.isBuffered(e,e.currentTime)&&(e.currentTime-=1e-4),this.previouslyPaused||e.play())}},{key:"nextLevelSwitch",value:function(){var e=this.media;if(e&&e.readyState){var t=void 0,n=void 0,r=void 0;if(n=this.getBufferedFrag(e.currentTime),n&&n.startPTS>1&&this.flushMainBuffer(0,n.startPTS-1),e.paused)t=0;else{var i=this.hls.nextLoadLevel,o=this.levels[i],a=this.fragLastKbps;t=a&&this.fragCurrent?this.fragCurrent.duration*o.bitrate/(1e3*a)+1:0}if(r=this.getBufferedFrag(e.currentTime+t),r&&(r=this.followingBufferedFrag(r),r)){var s=this.fragCurrent;s&&s.loader&&s.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(r.maxStartPTS,Number.POSITIVE_INFINITY)}}}},{key:"flushMainBuffer",value:function(e,t){this.state=C.State.BUFFER_FLUSHING;var n={startOffset:e,endOffset:t};this.altAudio&&(n.type="video"),this.hls.trigger(f.default.BUFFER_FLUSHING,n)}},{key:"onMediaAttached",value:function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("seeked",this.onvseeked),t.addEventListener("ended",this.onvended);var n=this.config;this.levels&&n.autoStartLoad&&this.hls.startLoad(n.startPosition),this.gapController=new O.default(n,t,this.fragmentTracker,this.hls)}},{key:"onMediaDetaching",value:function(){var e=this.media;e&&e.ended&&(w.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var t=this.levels;t&&t.forEach((function(e){e.details&&e.details.fragments.forEach((function(e){e.backtracked=void 0}))})),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("seeked",this.onvseeked),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.stopLoad()}},{key:"onMediaSeeked",value:function(){var e=this.media,t=e?e.currentTime:void 0;Number.isFinite(t)&&w.logger.log("media seeked to "+t.toFixed(3)),this.tick()}},{key:"onManifestLoading",value:function(){w.logger.log("trigger BUFFER_RESET"),this.hls.trigger(f.default.BUFFER_RESET),this.fragmentTracker.removeAllFragments(),this.stalled=!1,this.startPosition=this.lastCurrentTime=0}},{key:"onManifestParsed",value:function(e){var t=!1,n=!1,r=void 0;e.levels.forEach((function(e){r=e.audioCodec,r&&(-1!==r.indexOf("mp4a.40.2")&&(t=!0),-1!==r.indexOf("mp4a.40.5")&&(n=!0))})),this.audioCodecSwitch=t&&n,this.audioCodecSwitch&&w.logger.log("both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=e.levels,this.startFragRequested=!1;var i=this.config;(i.autoStartLoad||this.forceStartLoad)&&this.hls.startLoad(i.startPosition)}},{key:"onLevelLoaded",value:function(e){var t=e.details,n=e.level,r=this.levels[this.levelLastLoaded],i=this.levels[n],o=t.totalduration,a=0;if(w.logger.log("level "+n+" loaded ["+t.startSN+","+t.endSN+"],duration:"+o),t.live){var s=i.details;s&&t.fragments.length>0?(m.mergeDetails(s,t),a=t.fragments[0].start,this.liveSyncPosition=this.computeLivePosition(a,s),t.PTSKnown&&Number.isFinite(a)?w.logger.log("live playlist sliding:"+a.toFixed(3)):(w.logger.log("live playlist - outdated PTS, unknown sliding"),(0,S.alignStream)(this.fragPrevious,r,t))):(w.logger.log("live playlist - first load, unknown sliding"),t.PTSKnown=!1,(0,S.alignStream)(this.fragPrevious,r,t))}else t.PTSKnown=!1;if(i.details=t,this.levelLastLoaded=n,this.hls.trigger(f.default.LEVEL_UPDATED,{details:t,level:n}),!1===this.startFragRequested){if(-1===this.startPosition||-1===this.lastCurrentTime){var l=t.startTimeOffset;Number.isFinite(l)?(l<0&&(w.logger.log("negative start time offset "+l+", count from end of last fragment"),l=a+o+l),w.logger.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l):t.live?(this.startPosition=this.computeLivePosition(a,t),w.logger.log("configure startPosition to "+this.startPosition)):this.startPosition=0,this.lastCurrentTime=this.startPosition}this.nextLoadPosition=this.startPosition}this.state===C.State.WAITING_LEVEL&&(this.state=C.State.IDLE),this.tick()}},{key:"onKeyLoaded",value:function(){this.state===C.State.KEY_LOADING&&(this.state=C.State.IDLE,this.tick())}},{key:"onFragLoaded",value:function(e){var t=this.fragCurrent,n=this.hls,r=this.levels,i=this.media,o=e.frag;if(this.state===C.State.FRAG_LOADING&&t&&"main"===o.type&&o.level===t.level&&o.sn===t.sn){var a=e.stats,s=r[t.level],l=s.details;if(this.bitrateTest=!1,this.stats=a,w.logger.log("Loaded "+t.sn+" of ["+l.startSN+" ,"+l.endSN+"],level "+t.level),o.bitrateTest&&n.nextLoadLevel)this.state=C.State.IDLE,this.startFragRequested=!1,a.tparsed=a.tbuffered=window.performance.now(),n.trigger(f.default.FRAG_BUFFERED,{stats:a,frag:t,id:"main"}),this.tick();else if("initSegment"===o.sn)this.state=C.State.IDLE,a.tparsed=a.tbuffered=window.performance.now(),l.initSegment.data=e.payload,n.trigger(f.default.FRAG_BUFFERED,{stats:a,frag:t,id:"main"}),this.tick();else{w.logger.log("Parsing "+t.sn+" of ["+l.startSN+" ,"+l.endSN+"],level "+t.level+", cc "+t.cc),this.state=C.State.PARSING,this.pendingBuffering=!0,this.appended=!1,o.bitrateTest&&(o.bitrateTest=!1,this.fragmentTracker.onFragLoaded({frag:o}));var c=!(i&&i.seeking)&&(l.PTSKnown||!l.live),h=l.initSegment?l.initSegment.data:[],d=this._getAudioCodec(s),p=this.demuxer=this.demuxer||new u.default(this.hls,"main");p.push(e.payload,h,d,s.videoCodec,t,l.totalduration,c)}}this.fragLoadError=0}},{key:"onFragParsingInitSegment",value:function(e){var t=this.fragCurrent,n=e.frag;if(t&&"main"===e.id&&n.sn===t.sn&&n.level===t.level&&this.state===C.State.PARSING){var r=e.tracks,i=void 0,o=void 0;if(r.audio&&this.altAudio&&delete r.audio,o=r.audio,o){var a=this.levels[this.level].audioCodec,s=navigator.userAgent.toLowerCase();a&&this.audioCodecSwap&&(w.logger.log("swapping playlist audio codec"),a=-1!==a.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),this.audioCodecSwitch&&1!==o.metadata.channelCount&&-1===s.indexOf("firefox")&&(a="mp4a.40.5"),-1!==s.indexOf("android")&&"audio/mpeg"!==o.container&&(a="mp4a.40.2",w.logger.log("Android: force audio codec to "+a)),o.levelCodec=a,o.id=e.id}for(i in o=r.video,o&&(o.levelCodec=this.levels[this.level].videoCodec,o.id=e.id),this.hls.trigger(f.default.BUFFER_CODECS,r),r){o=r[i],w.logger.log("main track:"+i+",container:"+o.container+",codecs[level/parsed]=["+o.levelCodec+"/"+o.codec+"]");var l=o.initSegment;l&&(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(f.default.BUFFER_APPENDING,{type:i,data:l,parent:"main",content:"initSegment"}))}this.tick()}}},{key:"onFragParsingData",value:function(e){var t=this,n=this.fragCurrent,r=e.frag;if(n&&"main"===e.id&&r.sn===n.sn&&r.level===n.level&&("audio"!==e.type||!this.altAudio)&&this.state===C.State.PARSING){var i=this.levels[this.level],o=n;if(Number.isFinite(e.endPTS)||(e.endPTS=e.startPTS+n.duration,e.endDTS=e.startDTS+n.duration),!0===e.hasAudio&&o.addElementaryStream(p.default.ElementaryStreamTypes.AUDIO),!0===e.hasVideo&&o.addElementaryStream(p.default.ElementaryStreamTypes.VIDEO),w.logger.log("Parsed "+e.type+",PTS:["+e.startPTS.toFixed(3)+","+e.endPTS.toFixed(3)+"],DTS:["+e.startDTS.toFixed(3)+"/"+e.endDTS.toFixed(3)+"],nb:"+e.nb+",dropped:"+(e.dropped||0)),"video"===e.type)if(o.dropped=e.dropped,o.dropped)if(o.backtracked)w.logger.warn("Already backtracked on this fragment, appending with the gap",o.sn);else{var a=i.details;if(!a||o.sn!==a.startSN)return w.logger.warn("missing video frame(s), backtracking fragment",o.sn),this.fragmentTracker.removeFragment(o),o.backtracked=!0,this.nextLoadPosition=e.startPTS,this.state=C.State.IDLE,this.fragPrevious=o,void this.tick();w.logger.warn("missing video frame(s) on first frag, appending with gap",o.sn)}else o.backtracked=!1;var s=m.updateFragPTSDTS(i.details,o,e.startPTS,e.endPTS,e.startDTS,e.endDTS),l=this.hls;l.trigger(f.default.LEVEL_PTS_UPDATED,{details:i.details,level:this.level,drift:s,type:e.type,start:e.startPTS,end:e.endPTS}),[e.data1,e.data2].forEach((function(n){n&&n.length&&t.state===C.State.PARSING&&(t.appended=!0,t.pendingBuffering=!0,l.trigger(f.default.BUFFER_APPENDING,{type:e.type,data:n,parent:"main",content:"data"}))})),this.tick()}}},{key:"onFragParsed",value:function(e){var t=this.fragCurrent,n=e.frag;t&&"main"===e.id&&n.sn===t.sn&&n.level===t.level&&this.state===C.State.PARSING&&(this.stats.tparsed=window.performance.now(),this.state=C.State.PARSED,this._checkAppendedParsed())}},{key:"onAudioTrackSwitching",value:function(e){var t=!!e.url,n=e.id;if(!t){if(this.mediaBuffer!==this.media){w.logger.log("switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var r=this.fragCurrent;r.loader&&(w.logger.log("switching to main audio track, cancel main fragment load"),r.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=C.State.IDLE}var i=this.hls;i.trigger(f.default.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),i.trigger(f.default.AUDIO_TRACK_SWITCHED,{id:n}),this.altAudio=!1}}},{key:"onAudioTrackSwitched",value:function(e){var t=e.id,n=!!this.hls.audioTracks[t].url;if(n){var r=this.videoBuffer;r&&this.mediaBuffer!==r&&(w.logger.log("switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n,this.tick()}},{key:"onBufferCreated",value:function(e){var t=e.tracks,n=void 0,r=void 0,i=!1;for(var o in t){var a=t[o];"main"===a.id?(r=o,n=a,"video"===o&&(this.videoBuffer=t[o].buffer)):i=!0}i&&n?(w.logger.log("alternate track found, use "+r+".buffered to schedule main fragment loading"),this.mediaBuffer=n.buffer):this.mediaBuffer=this.media}},{key:"onBufferAppended",value:function(e){if("main"===e.parent){var t=this.state;t!==C.State.PARSING&&t!==C.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}}},{key:"_checkAppendedParsed",value:function(){if(this.state===C.State.PARSED&&(!this.appended||!this.pendingBuffering)){var e=this.fragCurrent;if(e){var t=this.mediaBuffer?this.mediaBuffer:this.media;w.logger.log("main buffered : "+_.default.toString(t.buffered)),this.fragPrevious=e;var n=this.stats;n.tbuffered=window.performance.now(),this.fragLastKbps=Math.round(8*n.total/(n.tbuffered-n.tfirst)),this.hls.trigger(f.default.FRAG_BUFFERED,{stats:n,frag:e,id:"main"}),this.state=C.State.IDLE}this.tick()}}},{key:"onError",value:function(e){var t=e.frag||this.fragCurrent;if(!t||"main"===t.type){var n=!!this.media&&s.BufferHelper.isBuffered(this.media,this.media.currentTime)&&s.BufferHelper.isBuffered(this.media,this.media.currentTime+.5);switch(e.details){case x.ErrorDetails.FRAG_LOAD_ERROR:case x.ErrorDetails.FRAG_LOAD_TIMEOUT:case x.ErrorDetails.KEY_LOAD_ERROR:case x.ErrorDetails.KEY_LOAD_TIMEOUT:if(!e.fatal)if(this.fragLoadError+1<=this.config.fragLoadingMaxRetry){var r=Math.min(Math.pow(2,this.fragLoadError)*this.config.fragLoadingRetryDelay,this.config.fragLoadingMaxRetryTimeout);w.logger.warn("mediaController: frag loading failed, retry in "+r+" ms"),this.retryDate=window.performance.now()+r,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.fragLoadError++,this.state=C.State.FRAG_LOADING_WAITING_RETRY}else w.logger.error("mediaController: "+e.details+" reaches max retry, redispatch as fatal ..."),e.fatal=!0,this.state=C.State.ERROR;break;case x.ErrorDetails.LEVEL_LOAD_ERROR:case x.ErrorDetails.LEVEL_LOAD_TIMEOUT:this.state!==C.State.ERROR&&(e.fatal?(this.state=C.State.ERROR,w.logger.warn("streamController: "+e.details+",switch to "+this.state+" state ...")):e.levelRetry||this.state!==C.State.WAITING_LEVEL||(this.state=C.State.IDLE));break;case x.ErrorDetails.BUFFER_FULL_ERROR:"main"!==e.parent||this.state!==C.State.PARSING&&this.state!==C.State.PARSED||(n?(this._reduceMaxBufferLength(this.config.maxBufferLength),this.state=C.State.IDLE):(w.logger.warn("buffer full error also media.currentTime is not buffered, flush everything"),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)));break;default:break}}}},{key:"_reduceMaxBufferLength",value:function(e){var t=this.config;return t.maxMaxBufferLength>=e&&(t.maxMaxBufferLength/=2,w.logger.warn("main:reduce max buffer length to "+t.maxMaxBufferLength+"s"),!0)}},{key:"_checkBuffer",value:function(){var e=this.media;if(e&&0!==e.readyState){var t=this.mediaBuffer?this.mediaBuffer:e,n=t.buffered;!this.loadedmetadata&&n.length?(this.loadedmetadata=!0,this._seekToStartPos()):this.immediateSwitch?this.immediateLevelSwitchEnd():this.gapController.poll(this.lastCurrentTime,n)}}},{key:"onFragLoadEmergencyAborted",value:function(){this.state=C.State.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tick()}},{key:"onBufferFlushed",value:function(){var e=this.mediaBuffer?this.mediaBuffer:this.media;e&&this.fragmentTracker.detectEvictedFragments(p.default.ElementaryStreamTypes.VIDEO,e.buffered),this.state=C.State.IDLE,this.fragPrevious=null}},{key:"swapAudioCodec",value:function(){this.audioCodecSwap=!this.audioCodecSwap}},{key:"computeLivePosition",value:function(e,t){var n=void 0!==this.config.liveSyncDuration?this.config.liveSyncDuration:this.config.liveSyncDurationCount*t.targetduration;return e+Math.max(0,t.totalduration-n)}},{key:"_seekToStartPos",value:function(){var e=this.media,t=e.currentTime,n=e.seeking?t:this.startPosition;t!==n&&(w.logger.log("target start position not buffered, seek to buffered.start(0) "+n+" from current time "+t+" "),e.currentTime=n)}},{key:"_getAudioCodec",value:function(e){var t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&(w.logger.log("swapping playlist audio codec"),t&&(t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5")),t}},{key:"state",set:function(e){if(this.state!==e){var t=this.state;this._state=e,w.logger.log("main stream:"+t+"->"+e),this.hls.trigger(f.default.STREAM_STATE_TRANSITION,{previousState:t,nextState:e})}},get:function(){return this._state}},{key:"currentLevel",get:function(){var e=this.media;if(e){var t=this.getBufferedFrag(e.currentTime);if(t)return t.level}return-1}},{key:"nextBufferedFrag",get:function(){var e=this.media;return e?this.followingBufferedFrag(this.getBufferedFrag(e.currentTime)):null}},{key:"nextLevel",get:function(){var e=this.nextBufferedFrag;return e?e.level:-1}},{key:"liveSyncPosition",get:function(){return this._liveSyncPosition},set:function(e){this._liveSyncPosition=e}}]),t}(A.default);t.default=R,e.exports=t["default"]},function(e,t,n){function r(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n.oe=function(e){throw console.error(e),e};var r=n(n.s=ENTRY_MODULE);return r.default||r}var i="[\\.|\\-|\\+|\\w|/|@]+",o="\\(\\s*(/\\*.*?\\*/)?\\s*.*?("+i+").*?\\)";function a(e){return(e+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function s(e){return!isNaN(1*e)}function l(e,t,r){var l={};l[r]=[];var u=t.toString(),c=u.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);if(!c)return l;var f,h=c[1],d=new RegExp("(\\\\n|\\W)"+a(h)+o,"g");while(f=d.exec(u))"dll-reference"!==f[3]&&l[r].push(f[3]);d=new RegExp("\\("+a(h)+'\\("(dll-reference\\s('+i+'))"\\)\\)'+o,"g");while(f=d.exec(u))e[f[2]]||(l[r].push(f[1]),e[f[2]]=n(f[1]).m),l[f[2]]=l[f[2]]||[],l[f[2]].push(f[4]);for(var p=Object.keys(l),g=0;g<p.length;g++)for(var v=0;v<l[p[g]].length;v++)s(l[p[g]][v])&&(l[p[g]][v]=1*l[p[g]][v]);return l}function u(e){var t=Object.keys(e);return t.reduce((function(t,n){return t||e[n].length>0}),!1)}function c(e,t){var n={main:[t]},r={main:[]},i={main:{}};while(u(n))for(var o=Object.keys(n),a=0;a<o.length;a++){var s=o[a],c=n[s],f=c.pop();if(i[s]=i[s]||{},!i[s][f]&&e[s][f]){i[s][f]=!0,r[s]=r[s]||[],r[s].push(f);for(var h=l(e,e[s][f],s),d=Object.keys(h),p=0;p<d.length;p++)n[d[p]]=n[d[p]]||[],n[d[p]]=n[d[p]].concat(h[d[p]])}}return r}e.exports=function(e,t){t=t||{};var i={main:n.m},o=t.all?{main:Object.keys(i.main)}:c(i,e),a="";Object.keys(o).filter((function(e){return"main"!==e})).forEach((function(e){var t=0;while(o[e][t])t++;o[e].push(t),i[e][t]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",a=a+"var "+e+" = ("+r.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+o[e].map((function(t){return JSON.stringify(t)+": "+i[e][t].toString()})).join(",")+"});\n"})),a=a+"new (("+r.toString().replace("ENTRY_MODULE",JSON.stringify(e))+")({"+o.main.map((function(e){return JSON.stringify(e)+": "+i.main[e].toString()})).join(",")+"}))(self);";var s=new window.Blob([a],{type:"text/javascript"});if(t.bare)return s;var l=window.URL||window.webkitURL||window.mozURL||window.msURL,u=l.createObjectURL(s),f=new window.Worker(u);return f.objectURL=u,f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){i(this,e),this.subtle=t,this.aesIV=n}return r(e,[{key:"decrypt",value:function(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){i(this,e),this.subtle=t,this.key=n}return r(e,[{key:"expandKey",value:function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){var t=e.byteLength,n=t&&new DataView(e).getUint8(t-1);return n?e.slice(0,t-n):e}t.removePadding=o;var a=function(){function e(){i(this,e),this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return r(e,[{key:"uint8ArrayToUint32Array_",value:function(e){for(var t=new DataView(e),n=new Uint32Array(4),r=0;r<4;r++)n[r]=t.getUint32(4*r);return n}},{key:"initTable",value:function(){var e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],i=n[1],o=n[2],a=n[3],s=this.invSubMix,l=s[0],u=s[1],c=s[2],f=s[3],h=new Uint32Array(256),d=0,p=0,g=0;for(g=0;g<256;g++)h[g]=g<128?g<<1:g<<1^283;for(g=0;g<256;g++){var v=p^p<<1^p<<2^p<<3^p<<4;v=v>>>8^255&v^99,e[d]=v,t[v]=d;var y=h[d],m=h[y],b=h[m],_=257*h[v]^16843008*v;r[d]=_<<24|_>>>8,i[d]=_<<16|_>>>16,o[d]=_<<8|_>>>24,a[d]=_,_=16843009*b^65537*m^257*y^16843008*d,l[v]=_<<24|_>>>8,u[v]=_<<16|_>>>16,c[v]=_<<8|_>>>24,f[v]=_,d?(d=y^h[h[h[b^y]]],p^=h[h[p]]):d=p=1}}},{key:"expandKey",value:function(e){var t=this.uint8ArrayToUint32Array_(e),n=!0,r=0;while(r<t.length&&n)n=t[r]===this.key[r],r++;if(!n){this.key=t;var i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);var o=this.ksRows=4*(i+6+1),a=void 0,s=void 0,l=this.keySchedule=new Uint32Array(o),u=this.invKeySchedule=new Uint32Array(o),c=this.sBox,f=this.rcon,h=this.invSubMix,d=h[0],p=h[1],g=h[2],v=h[3],y=void 0,m=void 0;for(a=0;a<o;a++)a<i?y=l[a]=t[a]:(m=y,a%i===0?(m=m<<8|m>>>24,m=c[m>>>24]<<24|c[m>>>16&255]<<16|c[m>>>8&255]<<8|c[255&m],m^=f[a/i|0]<<24):i>6&&a%i===4&&(m=c[m>>>24]<<24|c[m>>>16&255]<<16|c[m>>>8&255]<<8|c[255&m]),l[a]=y=(l[a-i]^m)>>>0);for(s=0;s<o;s++)a=o-s,m=3&s?l[a]:l[a-4],u[s]=s<4||a<=4?m:d[c[m>>>24]]^p[c[m>>>16&255]]^g[c[m>>>8&255]]^v[c[255&m]],u[s]=u[s]>>>0}}},{key:"networkToHostOrderSwap",value:function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24}},{key:"decrypt",value:function(e,t,n,r){var i=this.keySize+6,a=this.invKeySchedule,s=this.invSBox,l=this.invSubMix,u=l[0],c=l[1],f=l[2],h=l[3],d=this.uint8ArrayToUint32Array_(n),p=d[0],g=d[1],v=d[2],y=d[3],m=new Int32Array(e),b=new Int32Array(m.length),_=void 0,x=void 0,w=void 0,S=void 0,k=void 0,E=void 0,O=void 0,C=void 0,A=void 0,T=void 0,P=void 0,M=void 0,D=void 0,I=void 0,L=this.networkToHostOrderSwap;while(t<m.length){for(A=L(m[t]),T=L(m[t+1]),P=L(m[t+2]),M=L(m[t+3]),k=A^a[0],E=M^a[1],O=P^a[2],C=T^a[3],D=4,I=1;I<i;I++)_=u[k>>>24]^c[E>>16&255]^f[O>>8&255]^h[255&C]^a[D],x=u[E>>>24]^c[O>>16&255]^f[C>>8&255]^h[255&k]^a[D+1],w=u[O>>>24]^c[C>>16&255]^f[k>>8&255]^h[255&E]^a[D+2],S=u[C>>>24]^c[k>>16&255]^f[E>>8&255]^h[255&O]^a[D+3],k=_,E=x,O=w,C=S,D+=4;_=s[k>>>24]<<24^s[E>>16&255]<<16^s[O>>8&255]<<8^s[255&C]^a[D],x=s[E>>>24]<<24^s[O>>16&255]<<16^s[C>>8&255]<<8^s[255&k]^a[D+1],w=s[O>>>24]<<24^s[C>>16&255]<<16^s[k>>8&255]<<8^s[255&E]^a[D+2],S=s[C>>>24]<<24^s[k>>16&255]<<16^s[E>>8&255]<<8^s[255&O]^a[D+3],D+=3,b[t]=L(_^p),b[t+1]=L(S^g),b[t+2]=L(w^v),b[t+3]=L(x^y),p=A,g=T,v=P,y=M,t+=4}return r?o(b.buffer):b.buffer}},{key:"destroy",value:function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(22),o=c(i),a=n(0),s=n(10),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(t,n,r){f(this,e),this.observer=t,this.config=r,this.remuxer=n}return r(e,[{key:"resetInitSegment",value:function(e,t,n,r){this._audioTrack={container:"audio/adts",type:"audio",id:0,sequenceNumber:0,isAAC:!0,samples:[],len:0,manifestCodec:t,duration:r,inputTimeScale:9e4}}},{key:"resetTimeStamp",value:function(){}},{key:"append",value:function(e,t,n,r){var i=this._audioTrack,s=l.default.getID3Data(e,0)||[],u=l.default.getTimeStamp(s),c=Number.isFinite(u)?90*u:9e4*t,f=0,h=c,d=e.length,p=s.length,g=[{pts:h,dts:h,data:s}];while(p<d-1)if(o.isHeader(e,p)&&p+5<d){o.initTrackConfig(i,this.observer,e,p,i.manifestCodec);var v=o.appendFrame(i,e,p,c,f);if(!v){a.logger.log("Unable to parse AAC frame");break}p+=v.length,h=v.sample.pts,f++}else l.default.isHeader(e,p)?(s=l.default.getID3Data(e,p),g.push({pts:h,dts:h,data:s}),p+=s.length):p++;this.remuxer.remux(i,{samples:[]},{samples:g,inputTimeScale:9e4},{samples:[]},t,n,r)}},{key:"destroy",value:function(){}}],[{key:"probe",value:function(e){if(!e)return!1;for(var t=l.default.getID3Data(e,0)||[],n=t.length,r=e.length;n<r;n++)if(o.probe(e,n))return a.logger.log("ADTS sync word found !"),!0;return!1}}]),e}();t.default=h,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(22),o=y(i),a=n(23),s=v(a),l=n(1),u=v(l),c=n(47),f=v(c),h=n(48),d=v(h),p=n(0),g=n(2);function v(e){return e&&e.__esModule?e:{default:e}}function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var b={video:1,audio:2,id3:3,text:4},_=function(){function e(t,n,r,i){m(this,e),this.observer=t,this.config=r,this.typeSupported=i,this.remuxer=n,this.sampleAes=null}return r(e,[{key:"setDecryptData",value:function(e){null!=e&&null!=e.key&&"SAMPLE-AES"===e.method?this.sampleAes=new d.default(this.observer,this.config,e,this.discardEPB):this.sampleAes=null}},{key:"resetInitSegment",value:function(t,n,r,i){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=e.createTrack("video",i),this._audioTrack=e.createTrack("audio",i),this._id3Track=e.createTrack("id3",i),this._txtTrack=e.createTrack("text",i),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=n,this.videoCodec=r,this._duration=i}},{key:"resetTimeStamp",value:function(){}},{key:"append",value:function(t,n,r,i){var o=void 0,a=t.length,s=void 0,l=void 0,c=void 0,f=void 0,h=void 0,d=!1;this.contiguous=r;var v=this.pmtParsed,y=this._avcTrack,m=this._audioTrack,b=this._id3Track,_=y.pid,x=m.pid,w=b.pid,S=this._pmtId,k=y.pesData,E=m.pesData,O=b.pesData,C=this._parsePAT,A=this._parsePMT,T=this._parsePES,P=this._parseAVCPES.bind(this),M=this._parseAACPES.bind(this),D=this._parseMPEGPES.bind(this),I=this._parseID3PES.bind(this),L=e._syncOffset(t);for(a-=(a+L)%188,o=L;o<a;o+=188)if(71===t[o]){if(s=!!(64&t[o+1]),l=((31&t[o+1])<<8)+t[o+2],c=(48&t[o+3])>>4,c>1){if(f=o+5+t[o+4],f===o+188)continue}else f=o+4;switch(l){case _:s&&(k&&(h=T(k))&&void 0!==h.pts&&P(h,!1),k={data:[],size:0}),k&&(k.data.push(t.subarray(f,o+188)),k.size+=o+188-f);break;case x:s&&(E&&(h=T(E))&&void 0!==h.pts&&(m.isAAC?M(h):D(h)),E={data:[],size:0}),E&&(E.data.push(t.subarray(f,o+188)),E.size+=o+188-f);break;case w:s&&(O&&(h=T(O))&&void 0!==h.pts&&I(h),O={data:[],size:0}),O&&(O.data.push(t.subarray(f,o+188)),O.size+=o+188-f);break;case 0:s&&(f+=t[f]+1),S=this._pmtId=C(t,f);break;case S:s&&(f+=t[f]+1);var R=A(t,f,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);_=R.avc,_>0&&(y.pid=_),x=R.audio,x>0&&(m.pid=x,m.isAAC=R.isAAC),w=R.id3,w>0&&(b.pid=w),d&&!v&&(p.logger.log("reparse from beginning"),d=!1,o=L-188),v=this.pmtParsed=!0;break;case 17:case 8191:break;default:d=!0;break}}else this.observer.trigger(u.default.ERROR,{type:g.ErrorTypes.MEDIA_ERROR,details:g.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});k&&(h=T(k))&&void 0!==h.pts?(P(h,!0),y.pesData=null):y.pesData=k,E&&(h=T(E))&&void 0!==h.pts?(m.isAAC?M(h):D(h),m.pesData=null):(E&&E.size&&p.logger.log("last AAC PES packet truncated,might overlap between fragments"),m.pesData=E),O&&(h=T(O))&&void 0!==h.pts?(I(h),b.pesData=null):b.pesData=O,null==this.sampleAes?this.remuxer.remux(m,y,b,this._txtTrack,n,r,i):this.decryptAndRemux(m,y,b,this._txtTrack,n,r,i)}},{key:"decryptAndRemux",value:function(e,t,n,r,i,o,a){if(e.samples&&e.isAAC){var s=this;this.sampleAes.decryptAacSamples(e.samples,0,(function(){s.decryptAndRemuxAvc(e,t,n,r,i,o,a)}))}else this.decryptAndRemuxAvc(e,t,n,r,i,o,a)}},{key:"decryptAndRemuxAvc",value:function(e,t,n,r,i,o,a){if(t.samples){var s=this;this.sampleAes.decryptAvcSamples(t.samples,0,0,(function(){s.remuxer.remux(e,t,n,r,i,o,a)}))}else this.remuxer.remux(e,t,n,r,i,o,a)}},{key:"destroy",value:function(){this._initPTS=this._initDTS=void 0,this._duration=0}},{key:"_parsePAT",value:function(e,t){return(31&e[t+10])<<8|e[t+11]}},{key:"_parsePMT",value:function(e,t,n,r){var i=void 0,o=void 0,a=void 0,s=void 0,l={audio:-1,avc:-1,id3:-1,isAAC:!0};i=(15&e[t+1])<<8|e[t+2],o=t+3+i-4,a=(15&e[t+10])<<8|e[t+11],t+=12+a;while(t<o){switch(s=(31&e[t+1])<<8|e[t+2],e[t]){case 207:if(!r){p.logger.log("unkown stream type:"+e[t]);break}case 15:-1===l.audio&&(l.audio=s);break;case 21:-1===l.id3&&(l.id3=s);break;case 219:if(!r){p.logger.log("unkown stream type:"+e[t]);break}case 27:-1===l.avc&&(l.avc=s);break;case 3:case 4:n?-1===l.audio&&(l.audio=s,l.isAAC=!1):p.logger.log("MPEG audio found, not supported in this browser for now");break;case 36:p.logger.warn("HEVC stream type found, not supported for now");break;default:p.logger.log("unkown stream type:"+e[t]);break}t+=5+((15&e[t+3])<<8|e[t+4])}return l}},{key:"_parsePES",value:function(e){var t=0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,f=e.data;if(!e||0===e.size)return null;while(f[0].length<19&&f.length>1){var h=new Uint8Array(f[0].length+f[1].length);h.set(f[0]),h.set(f[1],f[0].length),f[0]=h,f.splice(1,1)}if(n=f[0],i=(n[0]<<16)+(n[1]<<8)+n[2],1===i){if(o=(n[4]<<8)+n[5],o&&o>e.size-6)return null;r=n[7],192&r&&(l=536870912*(14&n[9])+4194304*(255&n[10])+16384*(254&n[11])+128*(255&n[12])+(254&n[13])/2,l>4294967295&&(l-=8589934592),64&r?(u=536870912*(14&n[14])+4194304*(255&n[15])+16384*(254&n[16])+128*(255&n[17])+(254&n[18])/2,u>4294967295&&(u-=8589934592),l-u>54e5&&(p.logger.warn(Math.round((l-u)/9e4)+"s delta between PTS and DTS, align them"),l=u)):u=l),a=n[8],c=a+9,e.size-=c,s=new Uint8Array(e.size);for(var d=0,g=f.length;d<g;d++){n=f[d];var v=n.byteLength;if(c){if(c>v){c-=v;continue}n=n.subarray(c),v-=c,c=0}s.set(n,t),t+=v}return o&&(o-=a+3),{data:s,pts:l,dts:u,len:o}}return null}},{key:"pushAccesUnit",value:function(e,t){if(e.units.length&&e.frame){var n=t.samples,r=n.length;!this.config.forceKeyFrameOnDiscontinuity||!0===e.key||t.sps&&(r||this.contiguous)?(e.id=r,n.push(e)):t.dropped++}e.debug.length&&p.logger.log(e.pts+"/"+e.dts+":"+e.debug)}},{key:"_parseAVCPES",value:function(e,t){var n=this,r=this._avcTrack,i=this._parseAVCNALu(e.data),o=!1,a=void 0,s=this.avcSample,l=void 0,u=!1,c=void 0,h=this.pushAccesUnit.bind(this),d=function(e,t,n,r){return{key:e,pts:t,dts:n,units:[],debug:r}};e.data=null,s&&i.length&&!r.audFound&&(h(s,r),s=this.avcSample=d(!1,e.pts,e.dts,"")),i.forEach((function(t){switch(t.type){case 1:l=!0,s||(s=n.avcSample=d(!0,e.pts,e.dts,"")),o&&(s.debug+="NDR "),s.frame=!0;var i=t.data;if(u&&i.length>4){var p=new f.default(i).readSliceType();2!==p&&4!==p&&7!==p&&9!==p||(s.key=!0)}break;case 5:l=!0,s||(s=n.avcSample=d(!0,e.pts,e.dts,"")),o&&(s.debug+="IDR "),s.key=!0,s.frame=!0;break;case 6:l=!0,o&&s&&(s.debug+="SEI "),a=new f.default(n.discardEPB(t.data)),a.readUByte();var g=0,v=0,y=!1,m=0;while(!y&&a.bytesAvailable>1){g=0;do{m=a.readUByte(),g+=m}while(255===m);v=0;do{m=a.readUByte(),v+=m}while(255===m);if(4===g&&0!==a.bytesAvailable){y=!0;var b=a.readUByte();if(181===b){var _=a.readUShort();if(49===_){var x=a.readUInt();if(1195456820===x){var w=a.readUByte();if(3===w){var S=a.readUByte(),k=a.readUByte(),E=31&S,O=[S,k];for(c=0;c<E;c++)O.push(a.readUByte()),O.push(a.readUByte()),O.push(a.readUByte());n._insertSampleInOrder(n._txtTrack.samples,{type:3,pts:e.pts,bytes:O})}}}}}else if(v<a.bytesAvailable)for(c=0;c<v;c++)a.readUByte()}break;case 7:if(l=!0,u=!0,o&&s&&(s.debug+="SPS "),!r.sps){a=new f.default(t.data);var C=a.readSPS();r.width=C.width,r.height=C.height,r.pixelRatio=C.pixelRatio,r.sps=[t.data],r.duration=n._duration;var A=t.data.subarray(1,4),T="avc1.";for(c=0;c<3;c++){var P=A[c].toString(16);P.length<2&&(P="0"+P),T+=P}r.codec=T}break;case 8:l=!0,o&&s&&(s.debug+="PPS "),r.pps||(r.pps=[t.data]);break;case 9:l=!1,r.audFound=!0,s&&h(s,r),s=n.avcSample=d(!1,e.pts,e.dts,o?"AUD ":"");break;case 12:l=!1;break;default:l=!1,s&&(s.debug+="unknown NAL "+t.type+" ");break}if(s&&l){var M=s.units;M.push(t)}})),t&&s&&(h(s,r),this.avcSample=null)}},{key:"_insertSampleInOrder",value:function(e,t){var n=e.length;if(n>0){if(t.pts>=e[n-1].pts)e.push(t);else for(var r=n-1;r>=0;r--)if(t.pts<e[r].pts){e.splice(r,0,t);break}}else e.push(t)}},{key:"_getLastNalUnit",value:function(){var e=this.avcSample,t=void 0;if(!e||0===e.units.length){var n=this._avcTrack,r=n.samples;e=r[r.length-1]}if(e){var i=e.units;t=i[i.length-1]}return t}},{key:"_parseAVCNALu",value:function(e){var t=0,n=e.byteLength,r=void 0,i=void 0,o=this._avcTrack,a=o.naluState||0,s=a,l=[],u=void 0,c=void 0,f=-1,h=void 0;-1===a&&(f=0,h=31&e[0],a=0,t=1);while(t<n)if(r=e[t++],a)if(1!==a)if(r)if(1===r){if(f>=0)u={data:e.subarray(f,t-a-1),type:h},l.push(u);else{var d=this._getLastNalUnit();if(d&&(s&&t<=4-s&&d.state&&(d.data=d.data.subarray(0,d.data.byteLength-s)),i=t-a-1,i>0)){var p=new Uint8Array(d.data.byteLength+i);p.set(d.data,0),p.set(e.subarray(0,i),d.data.byteLength),d.data=p}}t<n?(c=31&e[t],f=t,h=c,a=0):a=-1}else a=0;else a=3;else a=r?0:2;else a=r?0:1;if(f>=0&&a>=0&&(u={data:e.subarray(f,n),type:h,state:a},l.push(u)),0===l.length){var g=this._getLastNalUnit();if(g){var v=new Uint8Array(g.data.byteLength+e.byteLength);v.set(g.data,0),v.set(e,g.data.byteLength),g.data=v}}return o.naluState=a,l}},{key:"discardEPB",value:function(e){var t=e.byteLength,n=[],r=1,i=void 0,o=void 0;while(r<t-2)0===e[r]&&0===e[r+1]&&3===e[r+2]?(n.push(r+2),r+=2):r++;if(0===n.length)return e;i=t-n.length,o=new Uint8Array(i);var a=0;for(r=0;r<i;a++,r++)a===n[0]&&(a++,n.shift()),o[r]=e[a];return o}},{key:"_parseAACPES",value:function(e){var t=this._audioTrack,n=e.data,r=e.pts,i=0,a=this.aacOverFlow,s=this.aacLastPTS,l=void 0,c=void 0,f=void 0,h=void 0,d=void 0;if(a){var v=new Uint8Array(a.byteLength+n.byteLength);v.set(a,0),v.set(n,a.byteLength),n=v}for(f=i,d=n.length;f<d-1;f++)if(o.isHeader(n,f))break;if(f){var y=void 0,m=void 0;if(f<d-1?(y="AAC PES did not start with ADTS header,offset:"+f,m=!1):(y="no ADTS header found in AAC PES",m=!0),p.logger.warn("parsing error:"+y),this.observer.trigger(u.default.ERROR,{type:g.ErrorTypes.MEDIA_ERROR,details:g.ErrorDetails.FRAG_PARSING_ERROR,fatal:m,reason:y}),m)return}if(o.initTrackConfig(t,this.observer,n,f,this.audioCodec),c=0,l=o.getFrameDuration(t.samplerate),a&&s){var b=s+l;Math.abs(b-r)>1&&(p.logger.log("AAC: align PTS for overlapping frames by "+Math.round((b-r)/90)),r=b)}while(f<d)if(o.isHeader(n,f)&&f+5<d){var _=o.appendFrame(t,n,f,r,c);if(!_)break;f+=_.length,h=_.sample.pts,c++}else f++;a=f<d?n.subarray(f,d):null,this.aacOverFlow=a,this.aacLastPTS=h}},{key:"_parseMPEGPES",value:function(e){var t=e.data,n=t.length,r=0,i=0,o=e.pts;while(i<n)if(s.default.isHeader(t,i)){var a=s.default.appendFrame(this._audioTrack,t,i,o,r);if(!a)break;i+=a.length,r++}else i++}},{key:"_parseID3PES",value:function(e){this._id3Track.samples.push(e)}}],[{key:"probe",value:function(t){var n=e._syncOffset(t);return!(n<0)&&(n&&p.logger.warn("MPEG2-TS detected but first sync word found @ offset "+n+", junk ahead ?"),!0)}},{key:"_syncOffset",value:function(e){var t=Math.min(1e3,e.length-564),n=0;while(n<t){if(71===e[n]&&71===e[n+188]&&71===e[n+376])return n;n++}return-1}},{key:"createTrack",value:function(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:b[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===e?0:void 0,isAAC:"audio"===e||void 0,duration:"audio"===e?t:void 0}}}]),e}();t.default=_,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(t){o(this,e),this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}return r(e,[{key:"loadWord",value:function(){var e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),i=Math.min(4,t);if(0===i)throw new Error("no bytes available");r.set(e.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i}},{key:"skipBits",value:function(e){var t=void 0;this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(e-=this.bitsAvailable,t=e>>3,e-=t>>3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}},{key:"readBits",value:function(e){var t=Math.min(this.bitsAvailable,e),n=this.word>>>32-t;return e>32&&i.logger.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0?this.word<<=t:this.bytesAvailable>0&&this.loadWord(),t=e-t,t>0&&this.bitsAvailable?n<<t|this.readBits(t):n}},{key:"skipLZ",value:function(){var e=void 0;for(e=0;e<this.bitsAvailable;++e)if(0!==(this.word&2147483648>>>e))return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}},{key:"skipUEG",value:function(){this.skipBits(1+this.skipLZ())}},{key:"skipEG",value:function(){this.skipBits(1+this.skipLZ())}},{key:"readUEG",value:function(){var e=this.skipLZ();return this.readBits(e+1)-1}},{key:"readEG",value:function(){var e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}},{key:"readBoolean",value:function(){return 1===this.readBits(1)}},{key:"readUByte",value:function(){return this.readBits(8)}},{key:"readUShort",value:function(){return this.readBits(16)}},{key:"readUInt",value:function(){return this.readBits(32)}},{key:"skipScalingList",value:function(e){var t=8,n=8,r=void 0,i=void 0;for(r=0;r<e;r++)0!==n&&(i=this.readEG(),n=(t+i+256)%256),t=0===n?t:n}},{key:"readSPS",value:function(){var e=0,t=0,n=0,r=0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,f=this.readUByte.bind(this),h=this.readBits.bind(this),d=this.readUEG.bind(this),p=this.readBoolean.bind(this),g=this.skipBits.bind(this),v=this.skipEG.bind(this),y=this.skipUEG.bind(this),m=this.skipScalingList.bind(this);if(f(),i=f(),h(5),g(3),f(),y(),100===i||110===i||122===i||244===i||44===i||83===i||86===i||118===i||128===i){var b=d();if(3===b&&g(1),y(),y(),g(1),p())for(u=3!==b?8:12,c=0;c<u;c++)p()&&m(c<6?16:64)}y();var _=d();if(0===_)d();else if(1===_)for(g(1),v(),v(),o=d(),c=0;c<o;c++)v();y(),g(1),a=d(),s=d(),l=h(1),0===l&&g(1),g(1),p()&&(e=d(),t=d(),n=d(),r=d());var x=[1,1];if(p()&&p()){var w=f();switch(w){case 1:x=[1,1];break;case 2:x=[12,11];break;case 3:x=[10,11];break;case 4:x=[16,11];break;case 5:x=[40,33];break;case 6:x=[24,11];break;case 7:x=[20,11];break;case 8:x=[32,11];break;case 9:x=[80,33];break;case 10:x=[18,11];break;case 11:x=[15,11];break;case 12:x=[64,33];break;case 13:x=[160,99];break;case 14:x=[4,3];break;case 15:x=[3,2];break;case 16:x=[2,1];break;case 255:x=[f()<<8|f(),f()<<8|f()];break}}return{width:Math.ceil(16*(a+1)-2*e-2*t),height:(2-l)*(s+1)*16-(l?2:4)*(n+r),pixelRatio:x}}},{key:"readSliceType",value:function(){return this.readUByte(),this.readUEG(),this.readUEG()}}]),e}();t.default=a,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(12),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(t,n,r,i){s(this,e),this.decryptdata=r,this.discardEPB=i,this.decrypter=new o.default(t,n,{removePKCS7Padding:!1})}return r(e,[{key:"decryptBuffer",value:function(e,t){this.decrypter.decrypt(e,this.decryptdata.key.buffer,this.decryptdata.iv.buffer,t)}},{key:"decryptAacSample",value:function(e,t,n,r){var i=e[t].unit,o=i.subarray(16,i.length-i.length%16),a=o.buffer.slice(o.byteOffset,o.byteOffset+o.length),s=this;this.decryptBuffer(a,(function(o){o=new Uint8Array(o),i.set(o,16),r||s.decryptAacSamples(e,t+1,n)}))}},{key:"decryptAacSamples",value:function(e,t,n){for(;;t++){if(t>=e.length)return void n();if(!(e[t].unit.length<32)){var r=this.decrypter.isSync();if(this.decryptAacSample(e,t,n,r),!r)return}}}},{key:"getAvcEncryptedData",value:function(e){for(var t=16*Math.floor((e.length-48)/160)+16,n=new Int8Array(t),r=0,i=32;i<=e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n}},{key:"getAvcDecryptedUnit",value:function(e,t){t=new Uint8Array(t);for(var n=0,r=32;r<=e.length-16;r+=160,n+=16)e.set(t.subarray(n,n+16),r);return e}},{key:"decryptAvcSample",value:function(e,t,n,r,i,o){var a=this.discardEPB(i.data),s=this.getAvcEncryptedData(a),l=this;this.decryptBuffer(s.buffer,(function(s){i.data=l.getAvcDecryptedUnit(a,s),o||l.decryptAvcSamples(e,t,n+1,r)}))}},{key:"decryptAvcSamples",value:function(e,t,n,r){for(;;t++,n=0){if(t>=e.length)return void r();for(var i=e[t].units;;n++){if(n>=i.length)break;var o=i[n];if(!(o.length<=48||1!==o.type&&5!==o.type)){var a=this.decrypter.isSync();if(this.decryptAvcSample(e,t,n,r,o,a),!a)return}}}}}]),e}();t.default=l,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(10),o=u(i),a=n(0),s=n(23),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=function(){function e(t,n,r){c(this,e),this.observer=t,this.config=r,this.remuxer=n}return r(e,[{key:"resetInitSegment",value:function(e,t,n,r){this._audioTrack={container:"audio/mpeg",type:"audio",id:-1,sequenceNumber:0,isAAC:!1,samples:[],len:0,manifestCodec:t,duration:r,inputTimeScale:9e4}}},{key:"resetTimeStamp",value:function(){}},{key:"append",value:function(e,t,n,r){var i=o.default.getID3Data(e,0),a=o.default.getTimeStamp(i),s=a?90*a:9e4*t,u=i.length,c=e.length,f=0,h=0,d=this._audioTrack,p=[{pts:s,dts:s,data:i}];while(u<c)if(l.default.isHeader(e,u)){var g=l.default.appendFrame(d,e,u,s,f);if(!g)break;u+=g.length,h=g.sample.pts,f++}else o.default.isHeader(e,u)?(i=o.default.getID3Data(e,u),p.push({pts:h,dts:h,data:i}),u+=i.length):u++;this.remuxer.remux(d,{samples:[]},{samples:p,inputTimeScale:9e4},{samples:[]},t,n,r)}},{key:"destroy",value:function(){}}],[{key:"probe",value:function(e){var t=void 0,n=void 0,r=o.default.getID3Data(e,0);if(r&&void 0!==o.default.getTimeStamp(r))for(t=r.length,n=Math.min(e.length-1,t+100);t<n;t++)if(l.default.probe(e,t))return a.logger.log("MPEG Audio sync word found !"),!0;return!1}}]),e}();t.default=f,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(51),o=h(i),a=n(52),s=h(a),l=n(1),u=h(l),c=n(2),f=n(0);function h(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=1e4,g=function(){function e(t,n,r,i){d(this,e),this.observer=t,this.config=n,this.typeSupported=r;var o=navigator.userAgent;this.isSafari=i&&i.indexOf("Apple")>-1&&o&&!o.match("CriOS"),this.ISGenerated=!1}return r(e,[{key:"destroy",value:function(){}},{key:"resetTimeStamp",value:function(e){this._initPTS=this._initDTS=e}},{key:"resetInitSegment",value:function(){this.ISGenerated=!1}},{key:"remux",value:function(e,t,n,r,i,o,a){if(this.ISGenerated||this.generateIS(e,t,i),this.ISGenerated){var s=e.samples.length,l=t.samples.length,c=i,h=i;if(s&&l){var d=(e.samples[0].pts-t.samples[0].pts)/t.inputTimeScale;c+=Math.max(0,d),h+=Math.max(0,-d)}if(s){e.timescale||(f.logger.warn("regenerate InitSegment as audio detected"),this.generateIS(e,t,i));var p=this.remuxAudio(e,c,o,a);if(l){var g=void 0;p&&(g=p.endPTS-p.startPTS),t.timescale||(f.logger.warn("regenerate InitSegment as video detected"),this.generateIS(e,t,i)),this.remuxVideo(t,h,o,g,a)}}else if(l){var v=this.remuxVideo(t,h,o,0,a);v&&e.codec&&this.remuxEmptyAudio(e,c,o,v)}}n.samples.length&&this.remuxID3(n,i),r.samples.length&&this.remuxText(r,i),this.observer.trigger(u.default.FRAG_PARSED)}},{key:"generateIS",value:function(e,t,n){var r=this.observer,i=e.samples,o=t.samples,a=this.typeSupported,l="audio/mp4",h={},d={tracks:h},p=void 0===this._initPTS,g=void 0,v=void 0;if(p&&(g=v=1/0),e.config&&i.length&&(e.timescale=e.samplerate,f.logger.log("audio sampling rate : "+e.samplerate),e.isAAC||(a.mpeg?(l="audio/mpeg",e.codec=""):a.mp3&&(e.codec="mp3")),h.audio={container:l,codec:e.codec,initSegment:!e.isAAC&&a.mpeg?new Uint8Array:s.default.initSegment([e]),metadata:{channelCount:e.channelCount}},p&&(g=v=i[0].pts-e.inputTimeScale*n)),t.sps&&t.pps&&o.length){var y=t.inputTimeScale;t.timescale=y,h.video={container:"video/mp4",codec:t.codec,initSegment:s.default.initSegment([t]),metadata:{width:t.width,height:t.height}},p&&(g=Math.min(g,o[0].pts-y*n),v=Math.min(v,o[0].dts-y*n),this.observer.trigger(u.default.INIT_PTS_FOUND,{initPTS:g}))}Object.keys(h).length?(r.trigger(u.default.FRAG_PARSING_INIT_SEGMENT,d),this.ISGenerated=!0,p&&(this._initPTS=g,this._initDTS=v)):r.trigger(u.default.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})}},{key:"remuxVideo",value:function(e,t,n,r,i){var o=8,a=void 0,l=void 0,h=void 0,d=void 0,p=void 0,g=void 0,v=void 0,y=e.timescale,m=e.samples,b=[],_=m.length,x=this._PTSNormalize,w=this._initPTS,S=this.nextAvcDts,k=this.isSafari;if(0!==_){k&&(n|=m.length&&S&&(i&&Math.abs(t-S/y)<.1||Math.abs(m[0].pts-S-w)<y/5)),n||(S=t*y),m.forEach((function(e){e.pts=x(e.pts-w,S),e.dts=x(e.dts-w,S)})),m.sort((function(e,t){var n=e.dts-t.dts,r=e.pts-t.pts;return n||r||e.id-t.id}));var E=m.reduce((function(e,t){return Math.max(Math.min(e,t.pts-t.dts),-18e3)}),0);if(E<0){f.logger.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(E/90)+" ms to overcome this issue");for(var O=0;O<m.length;O++)m[O].dts+=E}var C=m[0];p=Math.max(C.dts,0),d=Math.max(C.pts,0);var A=Math.round((p-S)/90);n&&A&&(A>1?f.logger.log("AVC:"+A+" ms hole between fragments detected,filling it"):A<-1&&f.logger.log("AVC:"+-A+" ms overlapping between fragments detected"),p=S,m[0].dts=p,d=Math.max(d-A,S),m[0].pts=d,f.logger.log("Video/PTS/DTS adjusted: "+Math.round(d/90)+"/"+Math.round(p/90)+",delta:"+A+" ms")),C=m[m.length-1],v=Math.max(C.dts,0),g=Math.max(C.pts,0,v),k&&(a=Math.round((v-p)/(m.length-1)));for(var T=0,P=0,M=0;M<_;M++){for(var D=m[M],I=D.units,L=I.length,R=0,j=0;j<L;j++)R+=I[j].data.length;P+=R,T+=L,D.length=R,D.dts=k?p+M*a:Math.max(D.dts,p),D.pts=Math.max(D.pts,D.dts)}var N=P+4*T+8;try{l=new Uint8Array(N)}catch(re){return void this.observer.trigger(u.default.ERROR,{type:c.ErrorTypes.MUX_ERROR,details:c.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:N,reason:"fail allocating video mdat "+N})}var B=new DataView(l.buffer);B.setUint32(0,N),l.set(s.default.types.mdat,4);for(var F=0;F<_;F++){for(var z=m[F],U=z.units,H=0,V=void 0,G=0,W=U.length;G<W;G++){var q=U[G],X=q.data,Y=q.data.byteLength;B.setUint32(o,Y),o+=4,l.set(X,o),o+=Y,H+=4+Y}if(k)V=Math.max(0,a*Math.round((z.pts-z.dts)/a));else{if(F<_-1)a=m[F+1].dts-z.dts;else{var K=this.config,$=z.dts-m[F>0?F-1:F].dts;if(K.stretchShortVideoTrack){var Z=K.maxBufferHole,J=Math.floor(Z*y),Q=(r?d+r*y:this.nextAudioPts)-z.pts;Q>J?(a=Q-$,a<0&&(a=$),f.logger.log("It is approximately "+Q/90+" ms to the next segment; using duration "+a/90+" ms for the last video frame.")):a=$}else a=$}V=Math.round(z.pts-z.dts)}b.push({size:H,duration:a,cts:V,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:z.key?2:1,isNonSync:z.key?0:1}})}this.nextAvcDts=v+a;var ee=e.dropped;if(e.len=0,e.nbNalu=0,e.dropped=0,b.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var te=b[0].flags;te.dependsOn=2,te.isNonSync=0}e.samples=b,h=s.default.moof(e.sequenceNumber++,p,e),e.samples=[];var ne={data1:h,data2:l,startPTS:d/y,endPTS:(g+a)/y,startDTS:p/y,endDTS:this.nextAvcDts/y,type:"video",hasAudio:!1,hasVideo:!0,nb:b.length,dropped:ee};return this.observer.trigger(u.default.FRAG_PARSING_DATA,ne),ne}}},{key:"remuxAudio",value:function(e,t,n,r){var i=e.inputTimeScale,a=e.timescale,l=i/a,h=e.isAAC?1024:1152,d=h*l,g=this._PTSNormalize,v=this._initPTS,y=!e.isAAC&&this.typeSupported.mpeg,m=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,k=void 0,E=e.samples,O=[],C=this.nextAudioPts;if(n|=E.length&&C&&(r&&Math.abs(t-C/i)<.1||Math.abs(E[0].pts-C-v)<20*d),E.forEach((function(e){e.pts=e.dts=g(e.pts-v,t*i)})),E=E.filter((function(e){return e.pts>=0})),0!==E.length){if(n||(C=r?t*i:E[0].pts),e.isAAC)for(var A=this.config.maxAudioFramesDrift,T=0,P=C;T<E.length;){var M,D=E[T],I=D.pts;M=I-P;var L=Math.abs(1e3*M/i);if(M<=-A*d)f.logger.warn("Dropping 1 audio frame @ "+(P/i).toFixed(3)+"s due to "+Math.round(L)+" ms overlap."),E.splice(T,1),e.len-=D.unit.length;else if(M>=A*d&&L<p&&P){var R=Math.round(M/d);f.logger.warn("Injecting "+R+" audio frame @ "+(P/i).toFixed(3)+"s due to "+Math.round(1e3*M/i)+" ms gap.");for(var j=0;j<R;j++){var N=Math.max(P,0);_=o.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount),_||(f.logger.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),_=D.unit.subarray()),E.splice(T,0,{unit:_,pts:N,dts:N}),e.len+=_.length,P+=d,T++}D.pts=D.dts=P,P+=d,T++}else Math.abs(M),D.pts=D.dts=P,P+=d,T++}for(var B=0,F=E.length;B<F;B++){var z=E[B],U=z.unit,H=z.pts;if(void 0!==k)b.duration=Math.round((H-k)/l);else{var V=Math.round(1e3*(H-C)/i),G=0;if(n&&e.isAAC&&V){if(V>0&&V<p)G=Math.round((H-C)/d),f.logger.log(V+" ms hole between AAC samples detected,filling it"),G>0&&(_=o.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount),_||(_=U.subarray()),e.len+=G*_.length);else if(V<-12){f.logger.log("drop overlapping AAC sample, expected/parsed/delta:"+(C/i).toFixed(3)+"s/"+(H/i).toFixed(3)+"s/"+-V+"ms"),e.len-=U.byteLength;continue}H=C}if(S=H,!(e.len>0))return;var W=y?e.len:e.len+8;m=y?0:8;try{x=new Uint8Array(W)}catch(ee){return void this.observer.trigger(u.default.ERROR,{type:c.ErrorTypes.MUX_ERROR,details:c.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:W,reason:"fail allocating audio mdat "+W})}if(!y){var q=new DataView(x.buffer);q.setUint32(0,W),x.set(s.default.types.mdat,4)}for(var X=0;X<G;X++)_=o.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount),_||(f.logger.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),_=U.subarray()),x.set(_,m),m+=_.byteLength,b={size:_.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},O.push(b)}x.set(U,m);var Y=U.byteLength;m+=Y,b={size:Y,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},O.push(b),k=H}var K=0,$=O.length;if($>=2&&(K=O[$-2].duration,b.duration=K),$){this.nextAudioPts=C=k+l*K,e.len=0,e.samples=O,w=y?new Uint8Array:s.default.moof(e.sequenceNumber++,S/l,e),e.samples=[];var Z=S/i,J=C/i,Q={data1:w,data2:x,startPTS:Z,endPTS:J,startDTS:Z,endDTS:J,type:"audio",hasAudio:!0,hasVideo:!1,nb:$};return this.observer.trigger(u.default.FRAG_PARSING_DATA,Q),Q}return null}}},{key:"remuxEmptyAudio",value:function(e,t,n,r){var i=e.inputTimeScale,a=e.samplerate?e.samplerate:i,s=i/a,l=this.nextAudioPts,u=(void 0!==l?l:r.startDTS*i)+this._initDTS,c=r.endDTS*i+this._initDTS,h=1024,d=s*h,p=Math.ceil((c-u)/d),g=o.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(f.logger.warn("remux empty Audio"),g){for(var v=[],y=0;y<p;y++){var m=u+y*d;v.push({unit:g,pts:m,dts:m}),e.len+=g.length}e.samples=v,this.remuxAudio(e,t,n)}else f.logger.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!")}},{key:"remuxID3",value:function(e){var t=e.samples.length,n=void 0,r=e.inputTimeScale,i=this._initPTS,o=this._initDTS;if(t){for(var a=0;a<t;a++)n=e.samples[a],n.pts=(n.pts-i)/r,n.dts=(n.dts-o)/r;this.observer.trigger(u.default.FRAG_PARSING_METADATA,{samples:e.samples})}e.samples=[]}},{key:"remuxText",value:function(e){e.samples.sort((function(e,t){return e.pts-t.pts}));var t=e.samples.length,n=void 0,r=e.inputTimeScale,i=this._initPTS;if(t){for(var o=0;o<t;o++)n=e.samples[o],n.pts=(n.pts-i)/r;this.observer.trigger(u.default.FRAG_PARSING_USERDATA,{samples:e.samples})}e.samples=[]}},{key:"_PTSNormalize",value:function(e,t){var n=void 0;if(void 0===t)return e;n=t<e?-8589934592:8589934592;while(Math.abs(e-t)>4294967296)e+=n;return e}}]),e}();t.default=g,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return r(e,null,[{key:"getSilentFrame",value:function(e,t){switch(e){case"mp4a.40.2":if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}return null}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=Math.pow(2,32)-1,a=function(){function e(){i(this,e)}return r(e,null,[{key:"init",value:function(){e.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};var t=void 0;for(t in e.types)e.types.hasOwnProperty(t)&&(e.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);var n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),r=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);e.HDLR_TYPES={video:n,audio:r};var i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),o=new Uint8Array([0,0,0,0,0,0,0,0]);e.STTS=e.STSC=e.STCO=o,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var a=new Uint8Array([105,115,111,109]),s=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);e.FTYP=e.box(e.types.ftyp,a,l,a,s),e.DINF=e.box(e.types.dinf,e.box(e.types.dref,i))}},{key:"box",value:function(e){var t=Array.prototype.slice.call(arguments,1),n=8,r=t.length,i=r,o=void 0;while(r--)n+=t[r].byteLength;for(o=new Uint8Array(n),o[0]=n>>24&255,o[1]=n>>16&255,o[2]=n>>8&255,o[3]=255&n,o.set(e,4),r=0,n=8;r<i;r++)o.set(t[r],n),n+=t[r].byteLength;return o}},{key:"hdlr",value:function(t){return e.box(e.types.hdlr,e.HDLR_TYPES[t])}},{key:"mdat",value:function(t){return e.box(e.types.mdat,t)}},{key:"mdhd",value:function(t,n){n*=t;var r=Math.floor(n/(o+1)),i=Math.floor(n%(o+1));return e.box(e.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,r>>24,r>>16&255,r>>8&255,255&r,i>>24,i>>16&255,i>>8&255,255&i,85,196,0,0]))}},{key:"mdia",value:function(t){return e.box(e.types.mdia,e.mdhd(t.timescale,t.duration),e.hdlr(t.type),e.minf(t))}},{key:"mfhd",value:function(t){return e.box(e.types.mfhd,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]))}},{key:"minf",value:function(t){return"audio"===t.type?e.box(e.types.minf,e.box(e.types.smhd,e.SMHD),e.DINF,e.stbl(t)):e.box(e.types.minf,e.box(e.types.vmhd,e.VMHD),e.DINF,e.stbl(t))}},{key:"moof",value:function(t,n,r){return e.box(e.types.moof,e.mfhd(t),e.traf(r,n))}},{key:"moov",value:function(t){var n=t.length,r=[];while(n--)r[n]=e.trak(t[n]);return e.box.apply(null,[e.types.moov,e.mvhd(t[0].timescale,t[0].duration)].concat(r).concat(e.mvex(t)))}},{key:"mvex",value:function(t){var n=t.length,r=[];while(n--)r[n]=e.trex(t[n]);return e.box.apply(null,[e.types.mvex].concat(r))}},{key:"mvhd",value:function(t,n){n*=t;var r=Math.floor(n/(o+1)),i=Math.floor(n%(o+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,r>>24,r>>16&255,r>>8&255,255&r,i>>24,i>>16&255,i>>8&255,255&i,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return e.box(e.types.mvhd,a)}},{key:"sdtp",value:function(t){var n=t.samples||[],r=new Uint8Array(4+n.length),i=void 0,o=void 0;for(o=0;o<n.length;o++)i=n[o].flags,r[o+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return e.box(e.types.sdtp,r)}},{key:"stbl",value:function(t){return e.box(e.types.stbl,e.stsd(t),e.box(e.types.stts,e.STTS),e.box(e.types.stsc,e.STSC),e.box(e.types.stsz,e.STSZ),e.box(e.types.stco,e.STCO))}},{key:"avc1",value:function(t){var n=[],r=[],i=void 0,o=void 0,a=void 0;for(i=0;i<t.sps.length;i++)o=t.sps[i],a=o.byteLength,n.push(a>>>8&255),n.push(255&a),n=n.concat(Array.prototype.slice.call(o));for(i=0;i<t.pps.length;i++)o=t.pps[i],a=o.byteLength,r.push(a>>>8&255),r.push(255&a),r=r.concat(Array.prototype.slice.call(o));var s=e.box(e.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(r))),l=t.width,u=t.height,c=t.pixelRatio[0],f=t.pixelRatio[1];return e.box(e.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,e.box(e.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),e.box(e.types.pasp,new Uint8Array([c>>24,c>>16&255,c>>8&255,255&c,f>>24,f>>16&255,f>>8&255,255&f])))}},{key:"esds",value:function(e){var t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))}},{key:"mp4a",value:function(t){var n=t.samplerate;return e.box(e.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]),e.box(e.types.esds,e.esds(t)))}},{key:"mp3",value:function(t){var n=t.samplerate;return e.box(e.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]))}},{key:"stsd",value:function(t){return"audio"===t.type?t.isAAC||"mp3"!==t.codec?e.box(e.types.stsd,e.STSD,e.mp4a(t)):e.box(e.types.stsd,e.STSD,e.mp3(t)):e.box(e.types.stsd,e.STSD,e.avc1(t))}},{key:"tkhd",value:function(t){var n=t.id,r=t.duration*t.timescale,i=t.width,a=t.height,s=Math.floor(r/(o+1)),l=Math.floor(r%(o+1));return e.box(e.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,255&n,0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,l>>24,l>>16&255,l>>8&255,255&l,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>8&255,255&i,0,0,a>>8&255,255&a,0,0]))}},{key:"traf",value:function(t,n){var r=e.sdtp(t),i=t.id,a=Math.floor(n/(o+1)),s=Math.floor(n%(o+1));return e.box(e.types.traf,e.box(e.types.tfhd,new Uint8Array([0,0,0,0,i>>24,i>>16&255,i>>8&255,255&i])),e.box(e.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s])),e.trun(t,r.length+16+20+8+16+8+8),r)}},{key:"trak",value:function(t){return t.duration=t.duration||4294967295,e.box(e.types.trak,e.tkhd(t),e.mdia(t))}},{key:"trex",value:function(t){var n=t.id;return e.box(e.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}},{key:"trun",value:function(t,n){var r=t.samples||[],i=r.length,o=12+16*i,a=new Uint8Array(o),s=void 0,l=void 0,u=void 0,c=void 0,f=void 0,h=void 0;for(n+=8+o,a.set([0,0,15,1,i>>>24&255,i>>>16&255,i>>>8&255,255&i,n>>>24&255,n>>>16&255,n>>>8&255,255&n],0),s=0;s<i;s++)l=r[s],u=l.duration,c=l.size,f=l.flags,h=l.cts,a.set([u>>>24&255,u>>>16&255,u>>>8&255,255&u,c>>>24&255,c>>>16&255,c>>>8&255,255&c,f.isLeading<<2|f.dependsOn,f.isDependedOn<<6|f.hasRedundancy<<4|f.paddingValue<<1|f.isNonSync,61440&f.degradPrio,15&f.degradPrio,h>>>24&255,h>>>16&255,h>>>8&255,255&h],12+16*s);return e.box(e.types.trun,a)}},{key:"initSegment",value:function(t){e.types||e.init();var n=e.moov(t),r=void 0;return r=new Uint8Array(e.FTYP.byteLength+n.byteLength),r.set(e.FTYP),r.set(n,e.FTYP.byteLength),r}}]),e}();t.default=a,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(t){s(this,e),this.observer=t}return r(e,[{key:"destroy",value:function(){}},{key:"resetTimeStamp",value:function(){}},{key:"resetInitSegment",value:function(){}},{key:"remux",value:function(e,t,n,r,i,a,s,l){var u=this.observer,c="";e&&(c+="audio"),t&&(c+="video"),u.trigger(o.default.FRAG_PARSING_DATA,{data1:l,startPTS:i,startDTS:i,type:c,hasAudio:!!e,hasVideo:!!t,nb:1,dropped:0}),u.trigger(o.default.FRAG_PARSED)}}]),e}();t.default=l,e.exports=t["default"]},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),l=i?i+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function l(e,t){0===--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},u.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},u.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var l,u,c=this._events[s],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,o),!0;case 6:return c.fn.call(c.context,t,n,r,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,d=c.length;for(u=0;u<d;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,r);break;default:if(!l)for(h=1,l=new Array(f-1);h<f;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},u.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return l(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||l(this,o);else{for(var s=0,u=[],c=a.length;s<c;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:l(this,o)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&l(this,t)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),i=u(r),o=n(1),a=u(o),s=n(0),l=n(20);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=new l.EventEmitter;t.trigger=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit.apply(t,[e,e].concat(r))},t.off=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.removeListener.apply(t,[e].concat(r))};var n=function(t,n){e.postMessage({event:t,data:n})};e.addEventListener("message",(function(r){var o=r.data;switch(o.cmd){case"init":var a=JSON.parse(o.config);e.demuxer=new i.default(t,o.typeSupported,a,o.vendor),(0,s.enableLogs)(a.debug),n("init",null);break;case"demux":e.demuxer.push(o.data,o.decryptdata,o.initSegment,o.audioCodec,o.videoCodec,o.timeOffset,o.discontinuity,o.trackSwitch,o.contiguous,o.duration,o.accurateTimeOffset,o.defaultInitPTS);break;default:break}})),t.on(a.default.FRAG_DECRYPTED,n),t.on(a.default.FRAG_PARSING_INIT_SEGMENT,n),t.on(a.default.FRAG_PARSED,n),t.on(a.default.ERROR,n),t.on(a.default.FRAG_PARSING_METADATA,n),t.on(a.default.FRAG_PARSING_USERDATA,n),t.on(a.default.INIT_PTS_FOUND,n),t.on(a.default.FRAG_PARSING_DATA,(function(t,n){var r=[],i={event:t,data:n};n.data1&&(i.data1=n.data1.buffer,r.push(n.data1.buffer),delete n.data1),n.data2&&(i.data2=n.data2.buffer,r.push(n.data2.buffer),delete n.data2),e.postMessage(i,r)}))};t.default=c,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),o=n(2),a=n(1),s=u(a),l=n(0);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=1e3,h=.5,d=function(){function e(t,n,r,i){c(this,e),this.config=t,this.media=n,this.fragmentTracker=r,this.hls=i,this.stallReported=!1}return r(e,[{key:"poll",value:function(e,t){var n=this.config,r=this.media,o=r.currentTime,a=window.performance.now();if(o!==e)return this.stallReported&&(l.logger.warn("playback not stuck anymore @"+o+", after "+Math.round(a-this.stalled)+"ms"),this.stallReported=!1),this.stalled=null,void(this.nudgeRetry=0);if(!(r.ended||!r.buffered.length||r.readyState>2)&&(!r.seeking||!i.BufferHelper.isBuffered(r,o))){var s=a-this.stalled,u=i.BufferHelper.bufferInfo(r,o,n.maxBufferHole);this.stalled?(s>=f&&this._reportStall(u.len),this._tryFixBufferStall(u,s)):this.stalled=a}}},{key:"_tryFixBufferStall",value:function(e,t){var n=this.config,r=this.fragmentTracker,i=this.media,o=i.currentTime,a=r.getPartialFragment(o);a&&this._trySkipBufferHole(a),e.len>h&&t>1e3*n.highBufferWatchdogPeriod&&(this.stalled=null,this._tryNudgeBuffer())}},{key:"_reportStall",value:function(e){var t=this.hls,n=this.media,r=this.stallReported;r||(this.stallReported=!0,l.logger.warn("Playback stalling at @"+n.currentTime+" due to low buffer"),t.trigger(s.default.ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!1,buffer:e}))}},{key:"_trySkipBufferHole",value:function(e){for(var t=this.hls,n=this.media,r=n.currentTime,i=0,a=0;a<n.buffered.length;a++){var u=n.buffered.start(a);if(r>=i&&r<u)return n.currentTime=Math.max(u,n.currentTime+.1),l.logger.warn("skipping hole, adjusting currentTime from "+r+" to "+n.currentTime),this.stalled=null,void t.trigger(s.default.ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.BUFFER_SEEK_OVER_HOLE,fatal:!1,reason:"fragment loaded with buffer holes, seeking from "+r+" to "+n.currentTime,frag:e});i=n.buffered.end(a)}}},{key:"_tryNudgeBuffer",value:function(){var e=this.config,t=this.hls,n=this.media,r=n.currentTime,i=(this.nudgeRetry||0)+1;if(this.nudgeRetry=i,i<e.nudgeMaxRetry){var a=r+i*e.nudgeOffset;l.logger.log("adjust currentTime from "+r+" to "+a),n.currentTime=a,t.trigger(s.default.ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.BUFFER_NUDGE_ON_STALL,fatal:!1})}else l.logger.error("still stuck in high buffer @"+r+" after "+e.nudgeMaxRetry+", raise fatal error"),t.trigger(s.default.ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!0})}}]),e}();t.default=d,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(1),a=d(o),s=n(3),l=d(s),u=n(0),c=n(2),f=n(18),h=n(7);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=window,m=void y.performance,b=function(e){function t(e){p(this,t);var n=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,a.default.MANIFEST_LOADED,a.default.LEVEL_LOADED,a.default.AUDIO_TRACK_SWITCHED,a.default.FRAG_LOADED,a.default.ERROR));return n.canload=!1,n.currentLevelIndex=null,n.manualLevelIndex=-1,n.timer=null,m=/chrome|firefox/.test(navigator.userAgent.toLowerCase()),n}return v(t,e),i(t,[{key:"onHandlerDestroying",value:function(){this.clearTimer(),this.manualLevelIndex=-1}},{key:"clearTimer",value:function(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)}},{key:"startLoad",value:function(){var e=this._levels;this.canload=!0,this.levelRetryCount=0,e&&e.forEach((function(e){e.loadError=0;var t=e.details;t&&t.live&&(e.details=void 0)})),null!==this.timer&&this.loadLevel()}},{key:"stopLoad",value:function(){this.canload=!1}},{key:"onManifestLoaded",value:function(e){var t=[],n=[],r=void 0,i={},o=null,s=!1,l=!1;if(e.levels.forEach((function(e){var n=e.attrs;e.loadError=0,e.fragmentError=!1,s=s||!!e.videoCodec,l=l||!!e.audioCodec,m&&e.audioCodec&&-1!==e.audioCodec.indexOf("mp4a.40.34")&&(e.audioCodec=void 0),o=i[e.bitrate],o?o.url.push(e.url):(e.url=[e.url],e.urlId=0,i[e.bitrate]=e,t.push(e)),n&&(n.AUDIO&&(l=!0,(0,h.addGroupId)(o||e,"audio",n.AUDIO)),n.SUBTITLES&&(0,h.addGroupId)(o||e,"text",n.SUBTITLES))})),s&&l&&(t=t.filter((function(e){var t=e.videoCodec;return!!t}))),t=t.filter((function(e){var t=e.audioCodec,n=e.videoCodec;return(!t||(0,f.isCodecSupportedInMp4)(t,"audio"))&&(!n||(0,f.isCodecSupportedInMp4)(n,"video"))})),e.audioTracks&&(n=e.audioTracks.filter((function(e){return!e.audioCodec||(0,f.isCodecSupportedInMp4)(e.audioCodec,"audio")})),n.forEach((function(e,t){e.id=t}))),t.length>0){r=t[0].bitrate,t.sort((function(e,t){return e.bitrate-t.bitrate})),this._levels=t;for(var d=0;d<t.length;d++)if(t[d].bitrate===r){this._firstLevel=d,u.logger.log("manifest loaded,"+t.length+" level(s) found, first bitrate:"+r);break}this.hls.trigger(a.default.MANIFEST_PARSED,{levels:t,audioTracks:n,firstLevel:this._firstLevel,stats:e.stats,audio:l,video:s,altAudio:n.some((function(e){return!!e.url}))})}else this.hls.trigger(a.default.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:this.hls.url,reason:"no level with compatible codecs found in manifest"})}},{key:"setLevelInternal",value:function(e){var t=this._levels,n=this.hls;if(e>=0&&e<t.length){if(this.clearTimer(),this.currentLevelIndex!==e){u.logger.log("switching to level "+e),this.currentLevelIndex=e;var r=t[e];r.level=e,n.trigger(a.default.LEVEL_SWITCHING,r)}var i=t[e],o=i.details;if(!o||o.live){var s=i.urlId;n.trigger(a.default.LEVEL_LOADING,{url:i.url[s],level:e,id:s})}}else n.trigger(a.default.ERROR,{type:c.ErrorTypes.OTHER_ERROR,details:c.ErrorDetails.LEVEL_SWITCH_ERROR,level:e,fatal:!1,reason:"invalid level idx"})}},{key:"onError",value:function(e){if(e.fatal)e.type===c.ErrorTypes.NETWORK_ERROR&&this.clearTimer();else{var t=!1,n=!1,r=void 0;switch(e.details){case c.ErrorDetails.FRAG_LOAD_ERROR:case c.ErrorDetails.FRAG_LOAD_TIMEOUT:case c.ErrorDetails.KEY_LOAD_ERROR:case c.ErrorDetails.KEY_LOAD_TIMEOUT:r=e.frag.level,n=!0;break;case c.ErrorDetails.LEVEL_LOAD_ERROR:case c.ErrorDetails.LEVEL_LOAD_TIMEOUT:r=e.context.level,t=!0;break;case c.ErrorDetails.REMUX_ALLOC_ERROR:r=e.level,t=!0;break}void 0!==r&&this.recoverLevel(e,r,t,n)}}},{key:"recoverLevel",value:function(e,t,n,r){var i=this,o=this.hls.config,a=e.details,s=this._levels[t],l=void 0,c=void 0,f=void 0;if(s.loadError++,s.fragmentError=r,n){if(!(this.levelRetryCount+1<=o.levelLoadingMaxRetry))return u.logger.error("level controller, cannot recover from "+a+" error"),this.currentLevelIndex=null,this.clearTimer(),void(e.fatal=!0);c=Math.min(Math.pow(2,this.levelRetryCount)*o.levelLoadingRetryDelay,o.levelLoadingMaxRetryTimeout),this.timer=setTimeout((function(){return i.loadLevel()}),c),e.levelRetry=!0,this.levelRetryCount++,u.logger.warn("level controller, "+a+", retry in "+c+" ms, current retry count is "+this.levelRetryCount)}(n||r)&&(l=s.url.length,l>1&&s.loadError<l?(s.urlId=(s.urlId+1)%l,s.details=void 0,u.logger.warn("level controller, "+a+" for level "+t+": switching to redundant URL-id "+s.urlId)):-1===this.manualLevelIndex?(f=0===t?this._levels.length-1:t-1,u.logger.warn("level controller, "+a+": switch to "+f),this.hls.nextAutoLevel=this.currentLevelIndex=f):r&&(u.logger.warn("level controller, "+a+": reload a fragment"),this.currentLevelIndex=null))}},{key:"onFragLoaded",value:function(e){var t=e.frag;if(void 0!==t&&"main"===t.type){var n=this._levels[t.level];void 0!==n&&(n.fragmentError=!1,n.loadError=0,this.levelRetryCount=0)}}},{key:"onLevelLoaded",value:function(e){var t=this,n=e.level,r=e.details;if(n===this.currentLevelIndex){var i=this._levels[n];if(i.fragmentError||(i.loadError=0,this.levelRetryCount=0),r.live){var o=(0,h.computeReloadInterval)(i.details,r,e.stats.trequest);u.logger.log("live playlist, reload in "+Math.round(o)+" ms"),this.timer=setTimeout((function(){return t.loadLevel()}),o)}else this.clearTimer()}}},{key:"onAudioTrackSwitched",value:function(e){var t=this.hls.audioTracks[e.id].groupId,n=this.hls.levels[this.currentLevelIndex];if(n&&n.audioGroupIds){for(var r=-1,i=0;i<n.audioGroupIds.length;i++)if(n.audioGroupIds[i]===t){r=i;break}r!==n.urlId&&(n.urlId=r,this.startLoad())}}},{key:"loadLevel",value:function(){if(u.logger.debug("call to loadLevel"),null!==this.currentLevelIndex&&this.canload){var e=this._levels[this.currentLevelIndex];if("object"===("undefined"===typeof e?"undefined":r(e))&&e.url.length>0){var t=this.currentLevelIndex,n=e.urlId,i=e.url[n];u.logger.log("Attempt loading level index "+t+" with URL-id "+n),this.hls.trigger(a.default.LEVEL_LOADING,{url:i,level:t,id:n})}}}},{key:"levels",get:function(){return this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(e){var t=this._levels;t&&(e=Math.min(e,t.length-1),this.currentLevelIndex===e&&t[e].details||this.setLevelInternal(e))}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(e){this._firstLevel=e}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var e=this.hls.config.startLevel;return void 0!==e?e:this._firstLevel}return this._startLevel},set:function(e){this._startLevel=e}},{key:"nextLoadLevel",get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)}}]),t}(l.default);t.default=b,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=f(i),a=n(3),s=f(a),l=n(10),u=f(l),c=n(29);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e){function t(e){h(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.MEDIA_ATTACHED,o.default.MEDIA_DETACHING,o.default.FRAG_PARSING_METADATA));return n.id3Track=void 0,n.media=void 0,n}return p(t,e),r(t,[{key:"destroy",value:function(){s.default.prototype.destroy.call(this)}},{key:"onMediaAttached",value:function(e){this.media=e.media,this.media}},{key:"onMediaDetaching",value:function(){(0,c.clearCurrentCues)(this.id3Track),this.id3Track=void 0,this.media=void 0}},{key:"getID3Track",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if("metadata"===n.kind&&"id3"===n.label)return(0,c.sendAddTrackEvent)(n,this.media),n}return this.media.addTextTrack("metadata","id3")}},{key:"onFragParsingMetadata",value:function(e){var t=e.frag,n=e.samples;this.id3Track||(this.id3Track=this.getID3Track(this.media.textTracks),this.id3Track.mode="hidden");for(var r=window.WebKitDataCue||window.VTTCue||window.TextTrackCue,i=0;i<n.length;i++){var o=u.default.getID3Frames(n[i].data);if(o){var a=n[i].pts,s=i<n.length-1?n[i+1].pts:t.endPTS;a===s&&(s+=1e-4);for(var l=0;l<o.length;l++){var c=o[l];if(!u.default.isTimeStampFrame(c)){var f=new r(a,s,"");f.value=c,this.id3Track.addCue(f)}}}}}}]),t}(s.default);t.default=g,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupported=i;var r=n(13);function i(){var e=(0,r.getMediaSource)(),t=window.SourceBuffer||window.WebKitSourceBuffer,n=e&&"function"===typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),i=!t||t.prototype&&"function"===typeof t.prototype.appendBuffer&&"function"===typeof t.prototype.remove;return!!n&&!!i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hlsDefaultConfig=void 0;var r=n(61),i=A(r),o=n(64),a=A(o),s=n(65),l=A(s),u=n(66),c=A(u),f=n(67),h=A(f),d=n(68),p=A(d),g=n(69),v=A(g),y=n(70),m=C(y),b=n(72),_=A(b),x=n(76),w=A(x),S=n(77),k=n(78),E=A(k),O=n(79);function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function A(e){return e&&e.__esModule?e:{default:e}}var T=t.hlsDefaultConfig={autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,lowBufferWatchdogPeriod:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,liveDurationInfinity:!1,liveBackBufferLength:1/0,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:h.default,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,abrController:i.default,bufferController:a.default,capLevelController:l.default,fpsController:c.default,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,requestMediaKeySystemAccessFunc:O.requestMediaKeySystemAccess};T.subtitleStreamController=S.SubtitleStreamController,T.subtitleTrackController=w.default,T.timelineController=_.default,T.cueHandler=m,T.enableCEA708Captions=!0,T.enableWebVTT=!0,T.captionsTextTrack1Label="English",T.captionsTextTrack1LanguageCode="en",T.captionsTextTrack2Label="Spanish",T.captionsTextTrack2LanguageCode="es",T.audioStreamController=v.default,T.audioTrackController=p.default,T.emeController=E.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=d(i),a=n(3),s=d(a),l=n(4),u=n(2),c=n(0),f=n(62),h=d(f);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=window,m=y.performance,b=function(e){function t(e){p(this,t);var n=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.FRAG_LOADING,o.default.FRAG_LOADED,o.default.FRAG_BUFFERED,o.default.ERROR));return n.lastLoadedFragLevel=0,n._nextAutoLevel=-1,n.hls=e,n.timer=null,n._bwEstimator=null,n.onCheck=n._abandonRulesCheck.bind(n),n}return v(t,e),r(t,[{key:"destroy",value:function(){this.clearTimer(),s.default.prototype.destroy.call(this)}},{key:"onFragLoading",value:function(e){var t=e.frag;if("main"===t.type&&(this.timer||(this.fragCurrent=t,this.timer=setInterval(this.onCheck,100)),!this._bwEstimator)){var n=this.hls,r=n.config,i=t.level,o=n.levels[i].details.live,a=void 0,s=void 0;o?(a=r.abrEwmaFastLive,s=r.abrEwmaSlowLive):(a=r.abrEwmaFastVoD,s=r.abrEwmaSlowVoD),this._bwEstimator=new h.default(n,s,a,r.abrEwmaDefaultEstimate)}}},{key:"_abandonRulesCheck",value:function(){var e=this.hls,t=e.media,n=this.fragCurrent;if(n){var r=n.loader,i=e.minAutoLevel;if(!r||r.stats&&r.stats.aborted)return c.logger.warn("frag loader destroy or aborted, disarm abandonRules"),this.clearTimer(),void(this._nextAutoLevel=-1);var a=r.stats;if(t&&a&&(!t.paused&&0!==t.playbackRate||!t.readyState)&&n.autoLevel&&n.level){var s=m.now()-a.trequest,u=Math.abs(t.playbackRate);if(s>500*n.duration/u){var f=e.levels,h=Math.max(1,a.bw?a.bw/8:1e3*a.loaded/s),d=f[n.level],p=d.realBitrate?Math.max(d.realBitrate,d.bitrate):d.bitrate,g=a.total?a.total:Math.max(a.loaded,Math.round(n.duration*p/8)),v=t.currentTime,y=(g-a.loaded)/h,b=(l.BufferHelper.bufferInfo(t,v,e.config.maxBufferHole).end-v)/u;if(b<2*n.duration/u&&y>b){var _=void 0,x=void 0;for(x=n.level-1;x>i;x--){var w=f[x].realBitrate?Math.max(f[x].realBitrate,f[x].bitrate):f[x].bitrate;if(_=n.duration*w/(6.4*h),_<b)break}_<y&&(c.logger.warn("loading too slow, abort fragment loading and switch to level "+x+":fragLoadedDelay["+x+"]<fragLoadedDelay["+(n.level-1)+"];bufferStarvationDelay:"+_.toFixed(1)+"<"+y.toFixed(1)+":"+b.toFixed(1)),e.nextLoadLevel=x,this._bwEstimator.sample(s,a.loaded),r.abort(),this.clearTimer(),e.trigger(o.default.FRAG_LOAD_EMERGENCY_ABORTED,{frag:n,stats:a}))}}}}}},{key:"onFragLoaded",value:function(e){var t=e.frag;if("main"===t.type&&Number.isFinite(t.sn)){if(this.clearTimer(),this.lastLoadedFragLevel=t.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var n=this.hls.levels[t.level],r=(n.loaded?n.loaded.bytes:0)+e.stats.loaded,i=(n.loaded?n.loaded.duration:0)+e.frag.duration;n.loaded={bytes:r,duration:i},n.realBitrate=Math.round(8*r/i)}if(e.frag.bitrateTest){var o=e.stats;o.tparsed=o.tbuffered=o.tload,this.onFragBuffered(e)}}}},{key:"onFragBuffered",value:function(e){var t=e.stats,n=e.frag;if(!0!==t.aborted&&"main"===n.type&&Number.isFinite(n.sn)&&(!n.bitrateTest||t.tload===t.tbuffered)){var r=t.tparsed-t.trequest;c.logger.log("latency/loading/parsing/append/kbps:"+Math.round(t.tfirst-t.trequest)+"/"+Math.round(t.tload-t.tfirst)+"/"+Math.round(t.tparsed-t.tload)+"/"+Math.round(t.tbuffered-t.tparsed)+"/"+Math.round(8*t.loaded/(t.tbuffered-t.trequest))),this._bwEstimator.sample(r,t.loaded),t.bwEstimate=this._bwEstimator.getEstimate(),n.bitrateTest?this.bitrateTestDelay=r/1e3:this.bitrateTestDelay=0}}},{key:"onError",value:function(e){switch(e.details){case u.ErrorDetails.FRAG_LOAD_ERROR:case u.ErrorDetails.FRAG_LOAD_TIMEOUT:this.clearTimer();break;default:break}}},{key:"clearTimer",value:function(){clearInterval(this.timer),this.timer=null}},{key:"_findBestLevel",value:function(e,t,n,r,i,o,a,s,l){for(var u=i;u>=r;u--){var f=l[u];if(f){var h=f.details,d=h?h.totalduration/h.fragments.length:t,p=!!h&&h.live,g=void 0;g=u<=e?a*n:s*n;var v=l[u].realBitrate?Math.max(l[u].realBitrate,l[u].bitrate):l[u].bitrate,y=v*d/g;if(c.logger.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+u+"/"+Math.round(g)+"/"+v+"/"+d+"/"+o+"/"+y),g>v&&(!y||p&&!this.bitrateTestDelay||y<o))return u}}return-1}},{key:"nextAutoLevel",get:function(){var e=this._nextAutoLevel,t=this._bwEstimator;if(-1!==e&&(!t||!t.canEstimate()))return e;var n=this._nextABRAutoLevel;return-1!==e&&(n=Math.min(e,n)),n},set:function(e){this._nextAutoLevel=e}},{key:"_nextABRAutoLevel",get:function(){var e=this.hls,t=e.maxAutoLevel,n=e.levels,r=e.config,i=e.minAutoLevel,o=e.media,a=this.lastLoadedFragLevel,s=this.fragCurrent?this.fragCurrent.duration:0,u=o?o.currentTime:0,f=o&&0!==o.playbackRate?Math.abs(o.playbackRate):1,h=this._bwEstimator?this._bwEstimator.getEstimate():r.abrEwmaDefaultEstimate,d=(l.BufferHelper.bufferInfo(o,u,r.maxBufferHole).end-u)/f,p=this._findBestLevel(a,s,h,i,t,d,r.abrBandWidthFactor,r.abrBandWidthUpFactor,n);if(p>=0)return p;c.logger.trace("rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering");var g=s?Math.min(s,r.maxStarvationDelay):r.maxStarvationDelay,v=r.abrBandWidthFactor,y=r.abrBandWidthUpFactor;if(0===d){var m=this.bitrateTestDelay;if(m){var b=s?Math.min(s,r.maxLoadingDelay):r.maxLoadingDelay;g=b-m,c.logger.trace("bitrate test took "+Math.round(1e3*m)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*g)+" ms"),v=y=1}}return p=this._findBestLevel(a,s,h,i,t,d+g,v,y,n),Math.max(p,0)}}]),t}(s.default);t.default=b,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(63),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(t,n,r,i){s(this,e),this.hls=t,this.defaultEstimate_=i,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new o.default(n),this.fast_=new o.default(r)}return r(e,[{key:"sample",value:function(e,t){e=Math.max(e,this.minDelayMs_);var n=8e3*t/e,r=e/1e3;this.fast_.sample(r,n),this.slow_.sample(r,n)}},{key:"canEstimate",value:function(){var e=this.fast_;return e&&e.getTotalWeight()>=this.minWeight_}},{key:"getEstimate",value:function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}},{key:"destroy",value:function(){}}]),e}();t.default=l,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){i(this,e),this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=0,this.totalWeight_=0}return r(e,[{key:"sample",value:function(e,t){var n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}},{key:"getTotalWeight",value:function(){return this.totalWeight_}},{key:"getEstimate",value:function(){if(this.alpha_){var e=1-Math.pow(this.alpha_,this.totalWeight_);return this.estimate_/e}return this.estimate_}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=f(i),a=n(3),s=f(a),l=n(0),u=n(2),c=n(13);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=(0,c.getMediaSource)(),v=function(e){function t(e){h(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.MEDIA_ATTACHING,o.default.MEDIA_DETACHING,o.default.MANIFEST_PARSED,o.default.BUFFER_RESET,o.default.BUFFER_APPENDING,o.default.BUFFER_CODECS,o.default.BUFFER_EOS,o.default.BUFFER_FLUSHING,o.default.LEVEL_PTS_UPDATED,o.default.LEVEL_UPDATED));return n._msDuration=null,n._levelDuration=null,n._levelTargetDuration=10,n._live=null,n._objectUrl=null,n.bufferCodecEventsExpected=0,n.onsbue=n.onSBUpdateEnd.bind(n),n.onsbe=n.onSBUpdateError.bind(n),n.pendingTracks={},n.tracks={},n}return p(t,e),r(t,[{key:"destroy",value:function(){s.default.prototype.destroy.call(this)}},{key:"onLevelPtsUpdated",value:function(e){var t=e.type,n=this.tracks.audio;if("audio"===t&&n&&"audio/mpeg"===n.container){var r=this.sourceBuffer.audio,i=Math.abs(r.timestampOffset-e.start);if(i>.1){var o=r.updating;try{r.abort()}catch(a){l.logger.warn("can not abort audio buffer: "+a)}o?this.audioTimestampOffset=e.start:(l.logger.warn("change mpeg audio timestamp offset from "+r.timestampOffset+" to "+e.start),r.timestampOffset=e.start)}}}},{key:"onManifestParsed",value:function(e){this.bufferCodecEventsExpected=e.altAudio?2:1,l.logger.log(this.bufferCodecEventsExpected+" bufferCodec event(s) expected")}},{key:"onMediaAttaching",value:function(e){var t=this.media=e.media;if(t){var n=this.mediaSource=new g;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this),n.addEventListener("sourceopen",this.onmso),n.addEventListener("sourceended",this.onmse),n.addEventListener("sourceclose",this.onmsc),t.src=window.URL.createObjectURL(n),this._objectUrl=t.src}}},{key:"onMediaDetaching",value:function(){l.logger.log("media source detaching");var e=this.mediaSource;if(e){if("open"===e.readyState)try{e.endOfStream()}catch(t){l.logger.warn("onMediaDetaching:"+t.message+" while calling endOfStream")}e.removeEventListener("sourceopen",this.onmso),e.removeEventListener("sourceended",this.onmse),e.removeEventListener("sourceclose",this.onmsc),this.media&&(window.URL.revokeObjectURL(this._objectUrl),this.media.src===this._objectUrl?(this.media.removeAttribute("src"),this.media.load()):l.logger.warn("media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.pendingTracks={},this.tracks={},this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}this.onmso=this.onmse=this.onmsc=null,this.hls.trigger(o.default.MEDIA_DETACHED)}},{key:"onMediaSourceOpen",value:function(){l.logger.log("media source opened"),this.hls.trigger(o.default.MEDIA_ATTACHED,{media:this.media});var e=this.mediaSource;e&&e.removeEventListener("sourceopen",this.onmso),this.checkPendingTracks()}},{key:"checkPendingTracks",value:function(){var e=this.bufferCodecEventsExpected,t=this.pendingTracks,n=Object.keys(t).length;(n&&!e||2===n)&&(this.createSourceBuffers(t),this.pendingTracks={},this.doAppending())}},{key:"onMediaSourceClose",value:function(){l.logger.log("media source closed")}},{key:"onMediaSourceEnded",value:function(){l.logger.log("media source ended")}},{key:"onSBUpdateEnd",value:function(){if(this.audioTimestampOffset){var e=this.sourceBuffer.audio;l.logger.warn("change mpeg audio timestamp offset from "+e.timestampOffset+" to "+this.audioTimestampOffset),e.timestampOffset=this.audioTimestampOffset,delete this.audioTimestampOffset}this._needsFlush&&this.doFlush(),this._needsEos&&this.checkEos(),this.appending=!1;var t=this.parent,n=this.segments.reduce((function(e,n){return n.parent===t?e+1:e}),0),r={},i=this.sourceBuffer;for(var a in i)r[a]=i[a].buffered;if(!1===this._paused&&r["video"]&&r["video"].length>0&&r["audio"]&&r["audio"].length>0)if(r["video"].end(0)-r["video"].start(0)>1&&r["audio"].end(0)-r["audio"].start(0)>1){var s=Math.max(r["video"].start(0),r["audio"].start(0));this.media.currentTime=s,this.media.play(),delete this["_paused"]}else{var u=Math.max(r["video"].end(0),r["audio"].end(0));this.media.currentTime=u,this.media.play()}this.hls.trigger(o.default.BUFFER_APPENDED,{parent:t,pending:n,timeRanges:r}),this._needsFlush||this.doAppending(),this.updateMediaElementDuration(),0===n&&this.flushLiveBackBuffer()}},{key:"onSBUpdateError",value:function(e){l.logger.error("sourceBuffer error:",e),this.hls.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1})}},{key:"onBufferReset",value:function(){var e=this.sourceBuffer;for(var t in e){var n=e[t];try{this.mediaSource.removeSourceBuffer(n),n.removeEventListener("updateend",this.onsbue),n.removeEventListener("error",this.onsbe)}catch(r){}}this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}},{key:"onBufferCodecs",value:function(e){var t=this;Object.keys(e).forEach((function(n){t.pendingTracks[n]=e[n]}));var n=this.mediaSource;this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),n&&"open"===n.readyState&&this.checkPendingTracks()}},{key:"createSourceBuffers",value:function(e){var t=this.sourceBuffer,n=this.mediaSource;for(var r in e)if(!t[r]){var i=e[r],a=i.levelCodec||i.codec,s=i.container+";codecs="+a;l.logger.log("creating sourceBuffer("+s+")");try{var c=t[r]=n.addSourceBuffer(s);c.addEventListener("updateend",this.onsbue),c.addEventListener("error",this.onsbe),this.tracks[r]={codec:a,container:i.container},i.buffer=c}catch(p){if(22==p.code){l.logger.log("Found new track, try to rebuild"),this._paused=!1;var f=this.mediaSource=new g;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this);for(var h=0;h<Object.keys(this.tracks).length;h++){var d=this.tracks[Object.keys(this.tracks)[h]];this.pendingTracks[Object.keys(this.tracks)[h]]=d}this.tracks={},this.sourceBuffer={},f.addEventListener("sourceopen",this.onmso),f.addEventListener("sourceended",this.onmse),f.addEventListener("sourceclose",this.onmsc),this.media.src=window.URL.createObjectURL(f),this._objectUrl=media.src}else l.logger.error("error while trying to add sourceBuffer:"+p.message),this.hls.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.BUFFER_ADD_CODEC_ERROR,fatal:!1,err:p,mimeType:s})}}this.hls.trigger(o.default.BUFFER_CREATED,{tracks:e})}},{key:"onBufferAppending",value:function(e){this._needsFlush||(this.segments?this.segments.push(e):this.segments=[e],this.doAppending())}},{key:"onBufferAppendFail",value:function(e){l.logger.error("sourceBuffer error:",e.event),this.hls.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1})}},{key:"onBufferEos",value:function(e){var t=this.sourceBuffer,n=e.type;for(var r in t)n&&r!==n||t[r].ended||(t[r].ended=!0,l.logger.log(r+" sourceBuffer now EOS"));this.checkEos()}},{key:"checkEos",value:function(){var e=this.sourceBuffer,t=this.mediaSource;if(t&&"open"===t.readyState){for(var n in e){var r=e[n];if(!r.ended)return;if(r.updating)return void(this._needsEos=!0)}l.logger.log("all media data are available, signal endOfStream() to MediaSource and stop loading fragment");try{t.endOfStream()}catch(i){l.logger.warn("exception while calling mediaSource.endOfStream()")}this._needsEos=!1}else this._needsEos=!1}},{key:"onBufferFlushing",value:function(e){this.flushRange.push({start:e.startOffset,end:e.endOffset,type:e.type}),this.flushBufferCounter=0,this.doFlush()}},{key:"flushLiveBackBuffer",value:function(){if(this._live){var e=this.hls.config.liveBackBufferLength;if(isFinite(e)&&!(e<0))for(var t=this.media.currentTime,n=this.sourceBuffer,r=Object.keys(n),i=t-Math.max(e,this._levelTargetDuration),o=r.length-1;o>=0;o--){var a=r[o],s=n[a].buffered;s.length>0&&i>s.start(0)&&this.removeBufferRange(a,n[a],0,i)}}}},{key:"onLevelUpdated",value:function(e){var t=e.details;t.fragments.length>0&&(this._levelDuration=t.totalduration+t.fragments[0].start,this._levelTargetDuration=t.averagetargetduration||t.targetduration||10,this._live=t.live,this.updateMediaElementDuration())}},{key:"updateMediaElementDuration",value:function(){var e=this.hls.config,t=void 0;if(null!==this._levelDuration&&this.media&&this.mediaSource&&this.sourceBuffer&&0!==this.media.readyState&&"open"===this.mediaSource.readyState){for(var n in this.sourceBuffer)if(!0===this.sourceBuffer[n].updating)return;t=this.media.duration,null===this._msDuration&&(this._msDuration=this.mediaSource.duration),!0===this._live&&!0===e.liveDurationInfinity?(l.logger.log("Media Source duration is set to Infinity"),this._msDuration=this.mediaSource.duration=1/0):(this._levelDuration>this._msDuration&&this._levelDuration>t||!Number.isFinite(t))&&(l.logger.log("Updating Media Source duration to "+this._levelDuration.toFixed(3)),this._msDuration=this.mediaSource.duration=this._levelDuration)}}},{key:"doFlush",value:function(){while(this.flushRange.length){var e=this.flushRange[0];if(!this.flushBuffer(e.start,e.end,e.type))return void(this._needsFlush=!0);this.flushRange.shift(),this.flushBufferCounter=0}if(0===this.flushRange.length){this._needsFlush=!1;var t=0,n=this.sourceBuffer;try{for(var r in n)t+=n[r].buffered.length}catch(i){l.logger.error("error while accessing sourceBuffer.buffered")}this.appended=t,this.hls.trigger(o.default.BUFFER_FLUSHED)}}},{key:"doAppending",value:function(){var e=this.hls,t=this.segments,n=this.sourceBuffer;if(Object.keys(n).length){if(this.media.error)return this.segments=[],void l.logger.error("trying to append although a media error occured, flush segment and abort");if(this.appending)return;if(t&&t.length){var r=t.shift();try{var i=r.type,a=n[i];a?a.updating?t.unshift(r):(a.ended=!1,this.parent=r.parent,a.appendBuffer(r.data),this.appendError=0,this.appended++,this.appending=!0):this.onSBUpdateEnd()}catch(c){l.logger.error("error while trying to append buffer:"+c.message),t.unshift(r);var s={type:u.ErrorTypes.MEDIA_ERROR,parent:r.parent};22!==c.code?(this.appendError?this.appendError++:this.appendError=1,s.details=u.ErrorDetails.BUFFER_APPEND_ERROR,this.appendError>e.config.appendErrorMaxRetry?(l.logger.log("fail "+e.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),this.segments=[],s.fatal=!0,e.trigger(o.default.ERROR,s)):(s.fatal=!1,e.trigger(o.default.ERROR,s))):(this.segments=[],s.details=u.ErrorDetails.BUFFER_FULL_ERROR,s.fatal=!1,e.trigger(o.default.ERROR,s))}}}}},{key:"flushBuffer",value:function(e,t,n){var r=void 0,i=this.sourceBuffer;if(Object.keys(i).length){if(l.logger.log("flushBuffer,pos/start/end: "+this.media.currentTime.toFixed(3)+"/"+e+"/"+t),this.flushBufferCounter<this.appended){for(var o in i)if(!n||o===n){if(r=i[o],r.ended=!1,r.updating)return l.logger.warn("cannot flush, sb updating in progress"),!1;if(this.removeBufferRange(o,r,e,t))return this.flushBufferCounter++,!1}}else l.logger.warn("abort flushing too many retries");l.logger.log("buffer flushed")}return!0}},{key:"removeBufferRange",value:function(e,t,n,r){try{for(var i=0;i<t.buffered.length;i++){var o=t.buffered.start(i),a=t.buffered.end(i),s=Math.max(o,n),u=Math.min(a,r);if(Math.min(u,a)-s>.5)return l.logger.log("sb remove "+e+" ["+s+","+u+"], of ["+o+","+a+"], pos:"+this.media.currentTime),t.remove(s,u),!0}}catch(c){l.logger.warn("removeBufferRange failed",c)}return!1}}]),t}(s.default);t.default=v,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=l(i),a=n(3),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(e){u(this,t);var n=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.FPS_DROP_LEVEL_CAPPING,o.default.MEDIA_ATTACHING,o.default.MANIFEST_PARSED,o.default.BUFFER_CODECS,o.default.MEDIA_DETACHING));return n.autoLevelCapping=Number.POSITIVE_INFINITY,n.firstLevel=null,n.levels=[],n.media=null,n.restrictedLevels=[],n.timer=null,n}return f(t,e),r(t,[{key:"destroy",value:function(){this.hls.config.capLevelToPlayerSize&&(this.media=null,this._stopCapping())}},{key:"onFpsDropLevelCapping",value:function(e){t.isLevelAllowed(e.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(e.droppedLevel)}},{key:"onMediaAttaching",value:function(e){this.media=e.media instanceof window.HTMLVideoElement?e.media:null}},{key:"onManifestParsed",value:function(e){var t=this.hls;this.restrictedLevels=[],this.levels=e.levels,this.firstLevel=e.firstLevel,t.config.capLevelToPlayerSize&&e.video&&this._startCapping()}},{key:"onBufferCodecs",value:function(e){var t=this.hls;t.config.capLevelToPlayerSize&&e.video&&this._startCapping()}},{key:"onLevelsUpdated",value:function(e){this.levels=e.levels}},{key:"onMediaDetaching",value:function(){this._stopCapping()}},{key:"detectPlayerSize",value:function(){if(this.media){var e=this.levels?this.levels.length:0;if(e){var t=this.hls;t.autoLevelCapping=this.getMaxLevel(e-1),t.autoLevelCapping>this.autoLevelCapping&&t.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}},{key:"getMaxLevel",value:function(e){var n=this;if(!this.levels)return-1;var r=this.levels.filter((function(r,i){return t.isLevelAllowed(i,n.restrictedLevels)&&i<=e}));return t.getMaxLevelByMediaSize(r,this.mediaWidth,this.mediaHeight)}},{key:"_startCapping",value:function(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),clearInterval(this.timer),this.timer=setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}},{key:"_stopCapping",value:function(){this.restrictedLevels=[],this.firstLevel=null,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(this.timer=clearInterval(this.timer),this.timer=null)}},{key:"mediaWidth",get:function(){var e=void 0,n=this.media;return n&&(e=n.width||n.clientWidth||n.offsetWidth,e*=t.contentScaleFactor),e}},{key:"mediaHeight",get:function(){var e=void 0,n=this.media;return n&&(e=n.height||n.clientHeight||n.offsetHeight,e*=t.contentScaleFactor),e}}],[{key:"isLevelAllowed",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return-1===t.indexOf(e)}},{key:"getMaxLevelByMediaSize",value:function(e,t,n){if(!e||e&&!e.length)return-1;for(var r=function(e,t){return!t||e.width!==t.width||e.height!==t.height},i=e.length-1,o=0;o<e.length;o+=1){var a=e[o];if((a.width>=t||a.height>=n)&&r(a,e[o+1])){i=o;break}}return i}},{key:"contentScaleFactor",get:function(){var e=1;try{e=window.devicePixelRatio}catch(t){}return e}}]),t}(s.default);t.default=h,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=u(i),a=n(3),s=u(a),l=n(0);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=window,p=d.performance,g=function(e){function t(e){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.MEDIA_ATTACHING))}return h(t,e),r(t,[{key:"destroy",value:function(){this.timer&&clearInterval(this.timer),this.isVideoPlaybackQualityAvailable=!1}},{key:"onMediaAttaching",value:function(e){var t=this.hls.config;if(t.capLevelOnFPSDrop){var n=this.video=e.media instanceof window.HTMLVideoElement?e.media:null;"function"===typeof n.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),clearInterval(this.timer),this.timer=setInterval(this.checkFPSInterval.bind(this),t.fpsDroppedMonitoringPeriod)}}},{key:"checkFPS",value:function(e,t,n){var r=p.now();if(t){if(this.lastTime){var i=r-this.lastTime,a=n-this.lastDroppedFrames,s=t-this.lastDecodedFrames,u=1e3*a/i,c=this.hls;if(c.trigger(o.default.FPS_DROP,{currentDropped:a,currentDecoded:s,totalDroppedFrames:n}),u>0&&a>c.config.fpsDroppedMonitoringThreshold*s){var f=c.currentLevel;l.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+f),f>0&&(-1===c.autoLevelCapping||c.autoLevelCapping>=f)&&(f-=1,c.trigger(o.default.FPS_DROP_LEVEL_CAPPING,{level:f,droppedLevel:c.currentLevel}),c.autoLevelCapping=f,c.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}},{key:"checkFPSInterval",value:function(){var e=this.video;if(e)if(this.isVideoPlaybackQualityAvailable){var t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}}]),t}(s.default);t.default=g,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=window,s=a.performance,l=a.XMLHttpRequest,u=function(){function e(t){o(this,e),t&&t.xhrSetup&&(this.xhrSetup=t.xhrSetup)}return r(e,[{key:"destroy",value:function(){this.abort(),this.loader=null}},{key:"abort",value:function(){var e=this.loader;e&&4!==e.readyState&&(this.stats.aborted=!0,e.abort()),window.clearTimeout(this.requestTimeout),this.requestTimeout=null,window.clearTimeout(this.retryTimeout),this.retryTimeout=null}},{key:"load",value:function(e,t,n){this.context=e,this.config=t,this.callbacks=n,this.stats={trequest:s.now(),retry:0},this.retryDelay=t.retryDelay,this.loadInternal()}},{key:"loadInternal",value:function(){var e=void 0,t=this.context;e=this.loader=new l;var n=this.stats;n.tfirst=0,n.loaded=0;var r=this.xhrSetup;try{if(r)try{r(e,t.url)}catch(i){e.open("GET",t.url,!0),r(e,t.url)}e.readyState||e.open("GET",t.url,!0)}catch(i){return void this.callbacks.onError({code:e.status,text:i.message},t,e)}t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),this.config.timeout),e.send()}},{key:"readystatechange",value:function(e){var t=e.currentTarget,n=t.readyState,r=this.stats,o=this.context,a=this.config;if(!r.aborted&&n>=2)if(window.clearTimeout(this.requestTimeout),0===r.tfirst&&(r.tfirst=Math.max(s.now(),r.trequest)),4===n){var l=t.status;if(l>=200&&l<300){r.tload=Math.max(r.tfirst,s.now());var u=void 0,c=void 0;"arraybuffer"===o.responseType?(u=t.response,c=u.byteLength):(u=t.responseText,c=u.length),r.loaded=r.total=c;var f={url:t.responseURL,data:u};this.callbacks.onSuccess(f,r,o,t)}else r.retry>=a.maxRetry||l>=400&&l<499?(i.logger.error(l+" while loading "+o.url),this.callbacks.onError({code:l,text:t.statusText},o,t)):(i.logger.warn(l+" while loading "+o.url+", retrying in "+this.retryDelay+"..."),this.destroy(),this.retryTimeout=window.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,a.maxRetryDelay),r.retry++)}else this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),a.timeout)}},{key:"loadtimeout",value:function(){i.logger.warn("timeout while loading "+this.context.url),this.callbacks.onTimeout(this.stats,this.context,null)}},{key:"loadprogress",value:function(e){var t=e.currentTarget,n=this.stats;n.loaded=e.loaded,e.lengthComputable&&(n.total=e.total);var r=this.callbacks.onProgress;r&&r(n,this.context,null,t)}}]),e}();t.default=u,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=c(i),a=n(28),s=c(a),l=n(0),u=n(2);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e){f(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.MANIFEST_LOADING,o.default.MANIFEST_PARSED,o.default.AUDIO_TRACK_LOADED,o.default.AUDIO_TRACK_SWITCHED,o.default.LEVEL_LOADED,o.default.ERROR));return n._trackId=-1,n._selectDefaultTrack=!0,n.tracks=[],n.trackIdBlacklist=Object.create(null),n.audioGroupId=null,n}return d(t,e),r(t,[{key:"onManifestLoading",value:function(){this.tracks=[],this._trackId=-1,this._selectDefaultTrack=!0}},{key:"onManifestParsed",value:function(e){var t=this.tracks=e.audioTracks||[];this.hls.trigger(o.default.AUDIO_TRACKS_UPDATED,{audioTracks:t})}},{key:"onAudioTrackLoaded",value:function(e){if(e.id>=this.tracks.length)l.logger.warn("Invalid audio track id:",e.id);else{if(l.logger.log("audioTrack "+e.id+" loaded"),this.tracks[e.id].details=e.details,e.details.live&&!this.hasInterval()){var t=1e3*e.details.targetduration;this.setInterval(t)}!e.details.live&&this.hasInterval()&&this.clearInterval()}}},{key:"onAudioTrackSwitched",value:function(e){var t=this.tracks[e.id].groupId;t&&this.audioGroupId!==t&&(this.audioGroupId=t)}},{key:"onLevelLoaded",value:function(e){var t=this.hls.levels[e.level];if(t.audioGroupIds){var n=t.audioGroupIds[t.urlId];this.audioGroupId!==n&&(this.audioGroupId=n,this._selectInitialAudioTrack())}}},{key:"onError",value:function(e){e.type===u.ErrorTypes.NETWORK_ERROR&&(e.fatal&&this.clearInterval(),e.details===u.ErrorDetails.AUDIO_TRACK_LOAD_ERROR&&(l.logger.warn("Network failure on audio-track id:",e.context.id),this._handleLoadError()))}},{key:"_setAudioTrack",value:function(e){if(this._trackId===e&&this.tracks[this._trackId].details)l.logger.debug("Same id as current audio-track passed, and track details available -> no-op");else if(e<0||e>=this.tracks.length)l.logger.warn("Invalid id passed to audio-track controller");else{var t=this.tracks[e];l.logger.log("Now switching to audio-track index "+e),this.clearInterval(),this._trackId=e;var n=t.url,r=t.type,i=t.id;this.hls.trigger(o.default.AUDIO_TRACK_SWITCHING,{id:i,type:r,url:n}),this._loadTrackDetailsIfNeeded(t)}}},{key:"doTick",value:function(){this._updateTrack(this._trackId)}},{key:"_selectInitialAudioTrack",value:function(){var e=this,t=this.tracks;if(t.length){var n=this.tracks[this._trackId],r=null;if(n&&(r=n.name),this._selectDefaultTrack){var i=t.filter((function(e){return e.default}));i.length?t=i:l.logger.warn("No default audio tracks defined")}var a=!1,s=function(){t.forEach((function(t){a||e.audioGroupId&&t.groupId!==e.audioGroupId||r&&r!==t.name||(e._setAudioTrack(t.id),a=!0)}))};s(),a||(r=null,s()),a||(l.logger.error("No track found for running audio group-ID: "+this.audioGroupId),this.hls.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,fatal:!0}))}}},{key:"_needsTrackLoading",value:function(e){var t=e.details,n=e.url;return!(t&&!t.live)&&!!n}},{key:"_loadTrackDetailsIfNeeded",value:function(e){if(this._needsTrackLoading(e)){var t=e.url,n=e.id;l.logger.log("loading audio-track playlist for id: "+n),this.hls.trigger(o.default.AUDIO_TRACK_LOADING,{url:t,id:n})}}},{key:"_updateTrack",value:function(e){if(!(e<0||e>=this.tracks.length)){this.clearInterval(),this._trackId=e,l.logger.log("trying to update audio-track "+e);var t=this.tracks[e];this._loadTrackDetailsIfNeeded(t)}}},{key:"_handleLoadError",value:function(){this.trackIdBlacklist[this._trackId]=!0;var e=this._trackId,t=this.tracks[e],n=t.name,r=t.language,i=t.groupId;l.logger.warn("Loading failed on audio track id: "+e+", group-id: "+i+', name/language: "'+n+'" / "'+r+'"');for(var o=e,a=0;a<this.tracks.length;a++)if(!this.trackIdBlacklist[a]){var s=this.tracks[a];if(s.name===n){o=a;break}}o!==e?(l.logger.log("Attempting audio-track fallback id:",o,"group-id:",this.tracks[o].groupId),this._setAudioTrack(o)):l.logger.warn('No fallback audio-track found for name/language: "'+n+'" / "'+r+'"')}},{key:"audioTracks",get:function(){return this.tracks}},{key:"audioTrack",get:function(){return this._trackId},set:function(e){this._setAudioTrack(e),this._selectDefaultTrack=!1}}]),t}(s.default);t.default=p,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(9),o=k(i),a=n(4),s=n(19),l=k(s),u=n(1),c=k(u),f=n(7),h=S(f),d=n(25),p=k(d),g=n(2),v=n(0),y=n(26),m=n(6),b=n(11),_=k(b),x=n(14),w=k(x);function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function C(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var A=window,T=A.performance,P=100,M=function(e){function t(e,n){E(this,t);var r=O(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,c.default.MEDIA_ATTACHED,c.default.MEDIA_DETACHING,c.default.AUDIO_TRACKS_UPDATED,c.default.AUDIO_TRACK_SWITCHING,c.default.AUDIO_TRACK_LOADED,c.default.KEY_LOADED,c.default.FRAG_LOADED,c.default.FRAG_PARSING_INIT_SEGMENT,c.default.FRAG_PARSING_DATA,c.default.FRAG_PARSED,c.default.ERROR,c.default.BUFFER_RESET,c.default.BUFFER_CREATED,c.default.BUFFER_APPENDED,c.default.BUFFER_FLUSHED,c.default.INIT_PTS_FOUND));return r.fragmentTracker=n,r.config=e.config,r.audioCodecSwap=!1,r._state=x.State.STOPPED,r.initPTS=[],r.waitingFragment=null,r.videoTrackCC=null,r}return C(t,e),r(t,[{key:"onInitPtsFound",value:function(e){var t=e.id,n=e.frag.cc,r=e.initPTS;"main"===t&&(this.initPTS[n]=r,this.videoTrackCC=n,v.logger.log("InitPTS for cc: "+n+" found from video track: "+r),this.state===x.State.WAITING_INIT_PTS&&this.tick())}},{key:"startLoad",value:function(e){if(this.tracks){var t=this.lastCurrentTime;this.stopLoad(),this.setInterval(P),this.fragLoadError=0,t>0&&-1===e?(v.logger.log("audio:override startPosition with lastCurrentTime @"+t.toFixed(3)),this.state=x.State.IDLE):(this.lastCurrentTime=this.startPosition?this.startPosition:e,this.state=x.State.STARTING),this.nextLoadPosition=this.startPosition=this.lastCurrentTime,this.tick()}else this.startPosition=e,this.state=x.State.STOPPED}},{key:"doTick",value:function(){var e=void 0,t=void 0,n=void 0,r=this.hls,i=r.config;switch(this.state){case x.State.ERROR:case x.State.PAUSED:case x.State.BUFFER_FLUSHING:break;case x.State.STARTING:this.state=x.State.WAITING_TRACK,this.loadedmetadata=!1;break;case x.State.IDLE:var s=this.tracks;if(!s)break;if(!this.media&&(this.startFragRequested||!i.startFragPrefetch))break;if(this.loadedmetadata)e=this.media.currentTime;else if(e=this.nextLoadPosition,void 0===e)break;var l=this.mediaBuffer?this.mediaBuffer:this.media,u=this.videoBuffer?this.videoBuffer:this.media,f=a.BufferHelper.bufferInfo(l,e,i.maxBufferHole),h=a.BufferHelper.bufferInfo(u,e,i.maxBufferHole),d=f.len,p=f.end,g=this.fragPrevious,b=Math.min(i.maxBufferLength,i.maxMaxBufferLength),_=Math.max(b,h.len),w=this.audioSwitch,S=this.trackId;if((d<_||w)&&S<s.length){if(n=s[S].details,"undefined"===typeof n){this.state=x.State.WAITING_TRACK;break}if(!w&&this._streamEnded(f,n))return this.hls.trigger(c.default.BUFFER_EOS,{type:"audio"}),void(this.state=x.State.ENDED);var k=n.fragments,E=k.length,O=k[0].start,C=k[E-1].start+k[E-1].duration,A=void 0;if(w)if(n.live&&!n.PTSKnown)v.logger.log("switching audiotrack, live stream, unknown PTS,load first fragment"),p=0;else if(p=e,n.PTSKnown&&e<O){if(!(f.end>O||f.nextStart))return;v.logger.log("alt audio track ahead of main track, seek to start of alt audio track"),this.media.currentTime=O+.05}if(n.initSegment&&!n.initSegment.data)A=n.initSegment;else if(p<=O){if(A=k[0],null!==this.videoTrackCC&&A.cc!==this.videoTrackCC&&(A=(0,y.findFragWithCC)(k,this.videoTrackCC)),n.live&&A.loadIdx&&A.loadIdx===this.fragLoadIdx){var P=f.nextStart?f.nextStart:O;return v.logger.log("no alt audio available @currentTime:"+this.media.currentTime+", seeking @"+(P+.05)),void(this.media.currentTime=P+.05)}}else{var M=void 0,D=i.maxFragLookUpTolerance,I=g?k[g.sn-k[0].sn+1]:void 0,L=function(e){var t=Math.min(D,e.duration);return e.start+e.duration-t<=p?1:e.start-t>p&&e.start?-1:0};p<C?(p>C-D&&(D=0),M=I&&!L(I)?I:o.default.search(k,L)):M=k[E-1],M&&(A=M,O=M.start,g&&A.level===g.level&&A.sn===g.sn&&(A.sn<n.endSN?(A=k[A.sn+1-n.startSN],v.logger.log("SN just loaded, load next one: "+A.sn)):A=null))}A&&(A.encrypted?(v.logger.log("Loading key for "+A.sn+" of ["+n.startSN+" ,"+n.endSN+"],track "+S),this.state=x.State.KEY_LOADING,r.trigger(c.default.KEY_LOADING,{frag:A})):(v.logger.log("Loading "+A.sn+", cc: "+A.cc+" of ["+n.startSN+" ,"+n.endSN+"],track "+S+", currentTime:"+e+",bufferEnd:"+p.toFixed(3)),this.fragCurrent=A,(w||this.fragmentTracker.getState(A)===m.FragmentState.NOT_LOADED)&&(this.startFragRequested=!0,Number.isFinite(A.sn)&&(this.nextLoadPosition=A.start+A.duration),r.trigger(c.default.FRAG_LOADING,{frag:A}),this.state=x.State.FRAG_LOADING)))}break;case x.State.WAITING_TRACK:t=this.tracks[this.trackId],t&&t.details&&(this.state=x.State.IDLE);break;case x.State.FRAG_LOADING_WAITING_RETRY:var R=T.now(),j=this.retryDate;l=this.media;var N=l&&l.seeking;(!j||R>=j||N)&&(v.logger.log("audioStreamController: retryDate reached, switch back to IDLE state"),this.state=x.State.IDLE);break;case x.State.WAITING_INIT_PTS:var B=this.videoTrackCC;if(void 0===this.initPTS[B])break;var F=this.waitingFragment;if(F){var z=F.frag.cc;B!==z?(t=this.tracks[this.trackId],t.details&&t.details.live&&(v.logger.warn("Waiting fragment CC ("+z+") does not match video track CC ("+B+")"),this.waitingFragment=null,this.state=x.State.IDLE)):(this.state=x.State.FRAG_LOADING,this.onFragLoaded(this.waitingFragment),this.waitingFragment=null)}else this.state=x.State.IDLE;break;case x.State.STOPPED:case x.State.FRAG_LOADING:case x.State.PARSING:case x.State.PARSED:case x.State.ENDED:break;default:break}}},{key:"onMediaAttached",value:function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("ended",this.onvended);var n=this.config;this.tracks&&n.autoStartLoad&&this.startLoad(n.startPosition)}},{key:"onMediaDetaching",value:function(){var e=this.media;e&&e.ended&&(v.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1,this.stopLoad()}},{key:"onAudioTracksUpdated",value:function(e){v.logger.log("audio tracks updated"),this.tracks=e.audioTracks}},{key:"onAudioTrackSwitching",value:function(e){var t=!!e.url;this.trackId=e.id,this.fragCurrent=null,this.state=x.State.PAUSED,this.waitingFragment=null,t?this.setInterval(P):this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),t&&(this.audioSwitch=!0,this.state=x.State.IDLE),this.tick()}},{key:"onAudioTrackLoaded",value:function(e){var t=e.details,n=e.id,r=this.tracks[n],i=t.totalduration,o=0;if(v.logger.log("track "+n+" loaded ["+t.startSN+","+t.endSN+"],duration:"+i),t.live){var a=r.details;a&&t.fragments.length>0?(h.mergeDetails(a,t),o=t.fragments[0].start,t.PTSKnown?v.logger.log("live audio playlist sliding:"+o.toFixed(3)):v.logger.log("live audio playlist - outdated PTS, unknown sliding")):(t.PTSKnown=!1,v.logger.log("live audio playlist - first load, unknown sliding"))}else t.PTSKnown=!1;if(r.details=t,!this.startFragRequested){if(-1===this.startPosition){var s=t.startTimeOffset;Number.isFinite(s)?(v.logger.log("start time offset found in playlist, adjust startPosition to "+s),this.startPosition=s):this.startPosition=0}this.nextLoadPosition=this.startPosition}this.state===x.State.WAITING_TRACK&&(this.state=x.State.IDLE),this.tick()}},{key:"onKeyLoaded",value:function(){this.state===x.State.KEY_LOADING&&(this.state=x.State.IDLE,this.tick())}},{key:"onFragLoaded",value:function(e){var t=this.fragCurrent,n=e.frag;if(this.state===x.State.FRAG_LOADING&&t&&"audio"===n.type&&n.level===t.level&&n.sn===t.sn){var r=this.tracks[this.trackId],i=r.details,o=i.totalduration,a=t.level,s=t.sn,u=t.cc,f=this.config.defaultAudioCodec||r.audioCodec||"mp4a.40.2",h=this.stats=e.stats;if("initSegment"===s)this.state=x.State.IDLE,h.tparsed=h.tbuffered=T.now(),i.initSegment.data=e.payload,this.hls.trigger(c.default.FRAG_BUFFERED,{stats:h,frag:t,id:"audio"}),this.tick();else{this.state=x.State.PARSING,this.appended=!1,this.demuxer||(this.demuxer=new l.default(this.hls,"audio"));var d=this.initPTS[u],p=i.initSegment?i.initSegment.data:[];if(i.initSegment||void 0!==d){this.pendingBuffering=!0,v.logger.log("Demuxing "+s+" of ["+i.startSN+" ,"+i.endSN+"],track "+a);var g=!1;this.demuxer.push(e.payload,p,f,null,t,o,g,d)}else v.logger.log("unknown video PTS for continuity counter "+u+", waiting for video PTS before demuxing audio frag "+s+" of ["+i.startSN+" ,"+i.endSN+"],track "+a),this.waitingFragment=e,this.state=x.State.WAITING_INIT_PTS}}this.fragLoadError=0}},{key:"onFragParsingInitSegment",value:function(e){var t=this.fragCurrent,n=e.frag;if(t&&"audio"===e.id&&n.sn===t.sn&&n.level===t.level&&this.state===x.State.PARSING){var r=e.tracks,i=void 0;if(r.video&&delete r.video,i=r.audio,i){i.levelCodec=i.codec,i.id=e.id,this.hls.trigger(c.default.BUFFER_CODECS,r),v.logger.log("audio track:audio,container:"+i.container+",codecs[level/parsed]=["+i.levelCodec+"/"+i.codec+"]");var o=i.initSegment;if(o){var a={type:"audio",data:o,parent:"audio",content:"initSegment"};this.audioSwitch?this.pendingData=[a]:(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(c.default.BUFFER_APPENDING,a))}this.tick()}}}},{key:"onFragParsingData",value:function(e){var t=this,n=this.fragCurrent,r=e.frag;if(n&&"audio"===e.id&&"audio"===e.type&&r.sn===n.sn&&r.level===n.level&&this.state===x.State.PARSING){var i=this.trackId,o=this.tracks[i],a=this.hls;Number.isFinite(e.endPTS)||(e.endPTS=e.startPTS+n.duration,e.endDTS=e.startDTS+n.duration),n.addElementaryStream(_.default.ElementaryStreamTypes.AUDIO),v.logger.log("parsed "+e.type+",PTS:["+e.startPTS.toFixed(3)+","+e.endPTS.toFixed(3)+"],DTS:["+e.startDTS.toFixed(3)+"/"+e.endDTS.toFixed(3)+"],nb:"+e.nb),h.updateFragPTSDTS(o.details,n,e.startPTS,e.endPTS);var s=this.audioSwitch,l=this.media,u=!1;if(s&&l)if(l.readyState){var f=l.currentTime;v.logger.log("switching audio track : currentTime:"+f),f>=e.startPTS&&(v.logger.log("switching audio track : flushing all audio"),this.state=x.State.BUFFER_FLUSHING,a.trigger(c.default.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),u=!0,this.audioSwitch=!1,a.trigger(c.default.AUDIO_TRACK_SWITCHED,{id:i}))}else this.audioSwitch=!1,a.trigger(c.default.AUDIO_TRACK_SWITCHED,{id:i});var d=this.pendingData;if(!d)return v.logger.warn("Apparently attempt to enqueue media payload without codec initialization data upfront"),void a.trigger(c.default.ERROR,{type:g.ErrorTypes.MEDIA_ERROR,details:null,fatal:!0});this.audioSwitch||([e.data1,e.data2].forEach((function(t){t&&t.length&&d.push({type:e.type,data:t,parent:"audio",content:"data"})})),!u&&d.length&&(d.forEach((function(e){t.state===x.State.PARSING&&(t.pendingBuffering=!0,t.hls.trigger(c.default.BUFFER_APPENDING,e))})),this.pendingData=[],this.appended=!0)),this.tick()}}},{key:"onFragParsed",value:function(e){var t=this.fragCurrent,n=e.frag;t&&"audio"===e.id&&n.sn===t.sn&&n.level===t.level&&this.state===x.State.PARSING&&(this.stats.tparsed=T.now(),this.state=x.State.PARSED,this._checkAppendedParsed())}},{key:"onBufferReset",value:function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1}},{key:"onBufferCreated",value:function(e){var t=e.tracks.audio;t&&(this.mediaBuffer=t.buffer,this.loadedmetadata=!0),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer)}},{key:"onBufferAppended",value:function(e){if("audio"===e.parent){var t=this.state;t!==x.State.PARSING&&t!==x.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}}},{key:"_checkAppendedParsed",value:function(){if(this.state===x.State.PARSED&&(!this.appended||!this.pendingBuffering)){var e=this.fragCurrent,t=this.stats,n=this.hls;if(e){this.fragPrevious=e,t.tbuffered=T.now(),n.trigger(c.default.FRAG_BUFFERED,{stats:t,frag:e,id:"audio"});var r=this.mediaBuffer?this.mediaBuffer:this.media;v.logger.log("audio buffered : "+p.default.toString(r.buffered)),this.audioSwitch&&this.appended&&(this.audioSwitch=!1,n.trigger(c.default.AUDIO_TRACK_SWITCHED,{id:this.trackId})),this.state=x.State.IDLE}this.tick()}}},{key:"onError",value:function(e){var t=e.frag;if(!t||"audio"===t.type)switch(e.details){case g.ErrorDetails.FRAG_LOAD_ERROR:case g.ErrorDetails.FRAG_LOAD_TIMEOUT:var n=e.frag;if(n&&"audio"!==n.type)break;if(!e.fatal){var r=this.fragLoadError;r?r++:r=1;var i=this.config;if(r<=i.fragLoadingMaxRetry){this.fragLoadError=r;var o=Math.min(Math.pow(2,r-1)*i.fragLoadingRetryDelay,i.fragLoadingMaxRetryTimeout);v.logger.warn("AudioStreamController: frag loading failed, retry in "+o+" ms"),this.retryDate=T.now()+o,this.state=x.State.FRAG_LOADING_WAITING_RETRY}else v.logger.error("AudioStreamController: "+e.details+" reaches max retry, redispatch as fatal ..."),e.fatal=!0,this.state=x.State.ERROR}break;case g.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:case g.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:case g.ErrorDetails.KEY_LOAD_ERROR:case g.ErrorDetails.KEY_LOAD_TIMEOUT:this.state!==x.State.ERROR&&(this.state=e.fatal?x.State.ERROR:x.State.IDLE,v.logger.warn("AudioStreamController: "+e.details+" while loading frag, now switching to "+this.state+" state ..."));break;case g.ErrorDetails.BUFFER_FULL_ERROR:if("audio"===e.parent&&(this.state===x.State.PARSING||this.state===x.State.PARSED)){var s=this.mediaBuffer,l=this.media.currentTime,u=s&&a.BufferHelper.isBuffered(s,l)&&a.BufferHelper.isBuffered(s,l+.5);if(u){var f=this.config;f.maxMaxBufferLength>=f.maxBufferLength&&(f.maxMaxBufferLength/=2,v.logger.warn("AudioStreamController: reduce max buffer length to "+f.maxMaxBufferLength+"s")),this.state=x.State.IDLE}else v.logger.warn("AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,this.state=x.State.BUFFER_FLUSHING,this.hls.trigger(c.default.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"})}break;default:break}}},{key:"onBufferFlushed",value:function(){var e=this,t=this.pendingData;t&&t.length?(v.logger.log("AudioStreamController: appending pending audio data after buffer flushed"),t.forEach((function(t){e.hls.trigger(c.default.BUFFER_APPENDING,t)})),this.appended=!0,this.pendingData=[],this.state=x.State.PARSED):(this.state=x.State.IDLE,this.fragPrevious=null,this.tick())}},{key:"state",set:function(e){if(this.state!==e){var t=this.state;this._state=e,v.logger.log("audio stream:"+t+"->"+e)}},get:function(){return this._state}}]),t}(w.default);t.default=M,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.newCue=i;var r=n(30);function i(e,t,n,i){for(var o=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=window.VTTCue||window.TextTrackCue,f=0;f<i.rows.length;f++)if(o=i.rows[f],s=!0,l=0,u="",!o.isEmpty()){for(var h=0;h<o.chars.length;h++)o.chars[h].uchar.match(/\s/)&&s?l++:(u+=o.chars[h].uchar,s=!1);o.cueStartTime=t,t===n&&(n+=1e-4),a=new c(t,n,(0,r.fixLineBreaks)(u.trim())),l>=16?l--:l++,navigator.userAgent.match(/Firefox\//)?a.line=f+1:a.line=f>7?f-2:f+1,a.align="left",a.position=Math.max(0,Math.min(100,l/32*100+(navigator.userAgent.match(/Firefox\//)?50:0))),e.addCue(a)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if("undefined"!==typeof window&&window.VTTCue)return window.VTTCue;var e="auto",t={"":!0,lr:!0,rl:!0},n={start:!0,middle:!0,end:!0,left:!0,right:!0};function r(e){if("string"!==typeof e)return!1;var n=t[e.toLowerCase()];return!!n&&e.toLowerCase()}function i(e){if("string"!==typeof e)return!1;var t=n[e.toLowerCase()];return!!t&&e.toLowerCase()}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function a(t,n,a){var s=this,l=function(){if("undefined"!==typeof navigator)return/MSIE\s8\.0/.test(navigator.userAgent)}(),u={};l?s=document.createElement("custom"):u.enumerable=!0,s.hasBeenReset=!1;var c="",f=!1,h=t,d=n,p=a,g=null,v="",y=!0,m="auto",b="start",_=50,x="middle",w=50,S="middle";if(Object.defineProperty(s,"id",o({},u,{get:function(){return c},set:function(e){c=""+e}})),Object.defineProperty(s,"pauseOnExit",o({},u,{get:function(){return f},set:function(e){f=!!e}})),Object.defineProperty(s,"startTime",o({},u,{get:function(){return h},set:function(e){if("number"!==typeof e)throw new TypeError("Start time must be set to a number.");h=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",o({},u,{get:function(){return d},set:function(e){if("number"!==typeof e)throw new TypeError("End time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",o({},u,{get:function(){return p},set:function(e){p=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",o({},u,{get:function(){return g},set:function(e){g=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",o({},u,{get:function(){return v},set:function(e){var t=r(e);if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");v=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",o({},u,{get:function(){return y},set:function(e){y=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",o({},u,{get:function(){return m},set:function(t){if("number"!==typeof t&&t!==e)throw new SyntaxError("An invalid number or illegal string was specified.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",o({},u,{get:function(){return b},set:function(e){var t=i(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",o({},u,{get:function(){return _},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",o({},u,{get:function(){return x},set:function(e){var t=i(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");x=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",o({},u,{get:function(){return w},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");w=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",o({},u,{get:function(){return S},set:function(e){var t=i(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");S=t,this.hasBeenReset=!0}})),s.displayState=void 0,l)return s}return a.prototype.getCueAsHTML=function(){var e=window.WebVTT;return e.convertCueToDOMTree(window,this.text)},a}(),e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=v(i),a=n(3),s=v(a),l=n(73),u=v(l),c=n(74),f=v(c),h=n(75),d=v(h),p=n(0),g=n(29);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function _(e,t){return e&&e.label===t.name&&!(e.textTrack1||e.textTrack2)}function x(e,t,n,r){return Math.min(t,r)-Math.max(e,n)}var w=function(e){function t(e){y(this,t);var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.MEDIA_ATTACHING,o.default.MEDIA_DETACHING,o.default.FRAG_PARSING_USERDATA,o.default.FRAG_DECRYPTED,o.default.MANIFEST_LOADING,o.default.MANIFEST_LOADED,o.default.FRAG_LOADED,o.default.LEVEL_SWITCHING,o.default.INIT_PTS_FOUND));if(n.hls=e,n.config=e.config,n.enabled=!0,n.Cues=e.config.cueHandler,n.textTracks=[],n.tracks=[],n.unparsedVttFrags=[],n.initPTS=[],n.cueRanges=[],n.captionsTracks={},n.captionsProperties={textTrack1:{label:n.config.captionsTextTrack1Label,languageCode:n.config.captionsTextTrack1LanguageCode},textTrack2:{label:n.config.captionsTextTrack2Label,languageCode:n.config.captionsTextTrack2LanguageCode}},n.config.enableCEA708Captions){var r=new f.default(n,"textTrack1"),i=new f.default(n,"textTrack2");n.cea608Parser=new u.default(0,r,i)}return n}return b(t,e),r(t,[{key:"addCues",value:function(e,t,n,r){for(var i=this.cueRanges,o=!1,a=i.length;a--;){var s=i[a],l=x(s[0],s[1],t,n);if(l>=0&&(s[0]=Math.min(s[0],t),s[1]=Math.max(s[1],n),o=!0,l/(n-t)>.5))return}o||i.push([t,n]),this.Cues.newCue(this.captionsTracks[e],t,n,r)}},{key:"onInitPtsFound",value:function(e){var t=this;if("main"===e.id&&(this.initPTS[e.frag.cc]=e.initPTS),this.unparsedVttFrags.length){var n=this.unparsedVttFrags;this.unparsedVttFrags=[],n.forEach((function(e){t.onFragLoaded(e)}))}}},{key:"getExistingTrack",value:function(e){var t=this.media;if(t)for(var n=0;n<t.textTracks.length;n++){var r=t.textTracks[n];if(r[e])return r}return null}},{key:"createCaptionsTrack",value:function(e){var t=this.captionsProperties[e],n=t.label,r=t.languageCode,i=this.captionsTracks;if(!i[e]){var o=this.getExistingTrack(e);if(o)i[e]=o,(0,g.clearCurrentCues)(i[e]),(0,g.sendAddTrackEvent)(i[e],this.media);else{var a=this.createTextTrack("captions",n,r);a&&(a[e]=!0,i[e]=a)}}}},{key:"createTextTrack",value:function(e,t,n){var r=this.media;if(r)return r.addTextTrack(e,t,n)}},{key:"destroy",value:function(){s.default.prototype.destroy.call(this)}},{key:"onMediaAttaching",value:function(e){this.media=e.media,this._cleanTracks()}},{key:"onMediaDetaching",value:function(){var e=this.captionsTracks;Object.keys(e).forEach((function(t){(0,g.clearCurrentCues)(e[t]),delete e[t]}))}},{key:"onManifestLoading",value:function(){this.lastSn=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!1}},this._cleanTracks()}},{key:"_cleanTracks",value:function(){var e=this.media;if(e){var t=e.textTracks;if(t)for(var n=0;n<t.length;n++)(0,g.clearCurrentCues)(t[n])}}},{key:"onManifestLoaded",value:function(e){var t=this;if(this.textTracks=[],this.unparsedVttFrags=this.unparsedVttFrags||[],this.initPTS=[],this.cueRanges=[],this.config.enableWebVTT){this.tracks=e.subtitles||[];var n=this.media?this.media.textTracks:[];this.tracks.forEach((function(e,r){var i=void 0;if(r<n.length){for(var o=null,a=0;a<n.length;a++)if(_(n[a],e)){o=n[a];break}o&&(i=o)}i||(i=t.createTextTrack("subtitles",e.name,e.lang)),e.default?i.mode=t.hls.subtitleDisplay?"showing":"hidden":i.mode="disabled",t.textTracks.push(i)}))}}},{key:"onLevelSwitching",value:function(){this.enabled="NONE"!==this.hls.currentLevel.closedCaptions}},{key:"onFragLoaded",value:function(e){var t=e.frag,n=e.payload;if("main"===t.type){var r=t.sn;if(r!==this.lastSn+1){var i=this.cea608Parser;i&&i.reset()}this.lastSn=r}else if("subtitle"===t.type)if(n.byteLength){if(!Number.isFinite(this.initPTS[t.cc]))return this.unparsedVttFrags.push(e),void(this.initPTS.length&&this.hls.trigger(o.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t}));var a=t.decryptdata;null!=a&&null!=a.key&&"AES-128"===a.method||this._parseVTTs(t,n)}else this.hls.trigger(o.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t})}},{key:"_parseVTTs",value:function(e,t){var n=this.vttCCs;n[e.cc]||(n[e.cc]={start:e.start,prevCC:this.prevCC,new:!0},this.prevCC=e.cc);var r=this.textTracks,i=this.hls;d.default.parse(t,this.initPTS[e.cc],n,e.cc,(function(t){var n=r[e.level];"disabled"!==n.mode?(t.forEach((function(e){if(!n.cues.getCueById(e.id))try{n.addCue(e)}catch(r){var t=new window.TextTrackCue(e.startTime,e.endTime,e.text);t.id=e.id,n.addCue(t)}})),i.trigger(o.default.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})):i.trigger(o.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})}),(function(t){p.logger.log("Failed to parse VTT cue: "+t),i.trigger(o.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})}))}},{key:"onFragDecrypted",value:function(e){var t=e.payload,n=e.frag;if("subtitle"===n.type){if(!Number.isFinite(this.initPTS[n.cc]))return void this.unparsedVttFrags.push(e);this._parseVTTs(n,t)}}},{key:"onFragParsingUserdata",value:function(e){if(this.enabled&&this.config.enableCEA708Captions)for(var t=0;t<e.samples.length;t++){var n=this.extractCea608Data(e.samples[t].bytes);this.cea608Parser.addData(e.samples[t].pts,n)}}},{key:"extractCea608Data",value:function(e){for(var t=31&e[0],n=2,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=[],u=0;u<t;u++)r=e[n++],i=127&e[n++],o=127&e[n++],a=0!==(4&r),s=3&r,0===i&&0===o||a&&0===s&&(l.push(i),l.push(o));return l}}]),t}(s.default);t.default=w,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},a=function(e){var t=e;return o.hasOwnProperty(e)&&(t=o[e]),String.fromCharCode(t)},s=15,l=100,u={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},c={17:2,18:4,21:6,22:8,23:10,19:13,20:15},f={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},h={25:2,26:4,29:6,30:8,31:10,27:13,28:15},d=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],p={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(e){this.time=e},log:function(e,t){this.verboseFilter[e],this.verboseLevel}},g=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].toString(16));return t},v=function(){function e(t,n,r,o,a){i(this,e),this.foreground=t||"white",this.underline=n||!1,this.italics=r||!1,this.background=o||"black",this.flash=a||!1}return r(e,[{key:"reset",value:function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}},{key:"setStyles",value:function(e){for(var t=["foreground","underline","italics","background","flash"],n=0;n<t.length;n++){var r=t[n];e.hasOwnProperty(r)&&(this[r]=e[r])}}},{key:"isDefault",value:function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash}},{key:"equals",value:function(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}},{key:"copy",value:function(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}},{key:"toString",value:function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}]),e}(),y=function(){function e(t,n,r,o,a,s){i(this,e),this.uchar=t||" ",this.penState=new v(n,r,o,a,s)}return r(e,[{key:"reset",value:function(){this.uchar=" ",this.penState.reset()}},{key:"setChar",value:function(e,t){this.uchar=e,this.penState.copy(t)}},{key:"setPenState",value:function(e){this.penState.copy(e)}},{key:"equals",value:function(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}},{key:"copy",value:function(e){this.uchar=e.uchar,this.penState.copy(e.penState)}},{key:"isEmpty",value:function(){return" "===this.uchar&&this.penState.isDefault()}}]),e}(),m=function(){function e(){i(this,e),this.chars=[];for(var t=0;t<l;t++)this.chars.push(new y);this.pos=0,this.currPenState=new v}return r(e,[{key:"equals",value:function(e){for(var t=!0,n=0;n<l;n++)if(!this.chars[n].equals(e.chars[n])){t=!1;break}return t}},{key:"copy",value:function(e){for(var t=0;t<l;t++)this.chars[t].copy(e.chars[t])}},{key:"isEmpty",value:function(){for(var e=!0,t=0;t<l;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}},{key:"setCursor",value:function(e){this.pos!==e&&(this.pos=e),this.pos<0?(p.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>l&&(p.log("ERROR","Too large cursor position "+this.pos),this.pos=l)}},{key:"moveCursor",value:function(e){var t=this.pos+e;if(e>1)for(var n=this.pos+1;n<t+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(t)}},{key:"backSpace",value:function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}},{key:"insertChar",value:function(e){e>=144&&this.backSpace();var t=a(e);this.pos>=l?p.log("ERROR","Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!"):(this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1))}},{key:"clearFromPos",value:function(e){var t=void 0;for(t=e;t<l;t++)this.chars[t].reset()}},{key:"clear",value:function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}},{key:"clearToEndOfRow",value:function(){this.clearFromPos(this.pos)}},{key:"getTextString",value:function(){for(var e=[],t=!0,n=0;n<l;n++){var r=this.chars[n].uchar;" "!==r&&(t=!1),e.push(r)}return t?"":e.join("")}},{key:"setPenStyles",value:function(e){this.currPenState.setStyles(e);var t=this.chars[this.pos];t.setPenState(this.currPenState)}}]),e}(),b=function(){function e(){i(this,e),this.rows=[];for(var t=0;t<s;t++)this.rows.push(new m);this.currRow=s-1,this.nrRollUpRows=null,this.reset()}return r(e,[{key:"reset",value:function(){for(var e=0;e<s;e++)this.rows[e].clear();this.currRow=s-1}},{key:"equals",value:function(e){for(var t=!0,n=0;n<s;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}},{key:"copy",value:function(e){for(var t=0;t<s;t++)this.rows[t].copy(e.rows[t])}},{key:"isEmpty",value:function(){for(var e=!0,t=0;t<s;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}},{key:"backSpace",value:function(){var e=this.rows[this.currRow];e.backSpace()}},{key:"clearToEndOfRow",value:function(){var e=this.rows[this.currRow];e.clearToEndOfRow()}},{key:"insertChar",value:function(e){var t=this.rows[this.currRow];t.insertChar(e)}},{key:"setPen",value:function(e){var t=this.rows[this.currRow];t.setPenStyles(e)}},{key:"moveCursor",value:function(e){var t=this.rows[this.currRow];t.moveCursor(e)}},{key:"setCursor",value:function(e){p.log("INFO","setCursor: "+e);var t=this.rows[this.currRow];t.setCursor(e)}},{key:"setPAC",value:function(e){p.log("INFO","pacData = "+JSON.stringify(e));var t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(var n=0;n<s;n++)this.rows[n].clear();var r=this.currRow+1-this.nrRollUpRows,i=this.lastOutputScreen;if(i){var o=i.rows[r].cueStartTime;if(o&&o<p.time)for(var a=0;a<this.nrRollUpRows;a++)this.rows[t-this.nrRollUpRows+a+1].copy(i.rows[r+a])}}this.currRow=t;var l=this.rows[this.currRow];if(null!==e.indent){var u=e.indent,c=Math.max(u-1,0);l.setCursor(e.indent),e.color=l.chars[c].penState.foreground}var f={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(f)}},{key:"setBkgData",value:function(e){p.log("INFO","bkgData = "+JSON.stringify(e)),this.backSpace(),this.setPen(e),this.insertChar(32)}},{key:"setRollUpRows",value:function(e){this.nrRollUpRows=e}},{key:"rollUp",value:function(){if(null!==this.nrRollUpRows){p.log("TEXT",this.getDisplayText());var e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),p.log("INFO","Rolling up")}else p.log("DEBUG","roll_up but nrRollUpRows not set yet")}},{key:"getDisplayText",value:function(e){e=e||!1;for(var t=[],n="",r=-1,i=0;i<s;i++){var o=this.rows[i].getTextString();o&&(r=i+1,e?t.push("Row "+r+": '"+o+"'"):t.push(o.trim()))}return t.length>0&&(n=e?"["+t.join(" | ")+"]":t.join("\n")),n}},{key:"getTextAndFormat",value:function(){return this.rows}}]),e}(),_=function(){function e(t,n){i(this,e),this.chNr=t,this.outputFilter=n,this.mode=null,this.verbose=0,this.displayedMemory=new b,this.nonDisplayedMemory=new b,this.lastOutputScreen=new b,this.currRollUpRow=this.displayedMemory.rows[s-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}return r(e,[{key:"reset",value:function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.currRollUpRow=this.displayedMemory.rows[s-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.lastCueEndTime=null}},{key:"getHandler",value:function(){return this.outputFilter}},{key:"setHandler",value:function(e){this.outputFilter=e}},{key:"setPAC",value:function(e){this.writeScreen.setPAC(e)}},{key:"setBkgData",value:function(e){this.writeScreen.setBkgData(e)}},{key:"setMode",value:function(e){e!==this.mode&&(this.mode=e,p.log("INFO","MODE="+e),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}},{key:"insertChars",value:function(e){for(var t=0;t<e.length;t++)this.writeScreen.insertChar(e[t]);var n=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";p.log("INFO",n+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(p.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}},{key:"ccRCL",value:function(){p.log("INFO","RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}},{key:"ccBS",value:function(){p.log("INFO","BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}},{key:"ccAOF",value:function(){}},{key:"ccAON",value:function(){}},{key:"ccDER",value:function(){p.log("INFO","DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}},{key:"ccRU",value:function(e){p.log("INFO","RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}},{key:"ccFON",value:function(){p.log("INFO","FON - Flash On"),this.writeScreen.setPen({flash:!0})}},{key:"ccRDC",value:function(){p.log("INFO","RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}},{key:"ccTR",value:function(){p.log("INFO","TR"),this.setMode("MODE_TEXT")}},{key:"ccRTD",value:function(){p.log("INFO","RTD"),this.setMode("MODE_TEXT")}},{key:"ccEDM",value:function(){p.log("INFO","EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}},{key:"ccCR",value:function(){p.log("CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}},{key:"ccENM",value:function(){p.log("INFO","ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}},{key:"ccEOC",value:function(){if(p.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,p.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}},{key:"ccTO",value:function(e){p.log("INFO","TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}},{key:"ccMIDROW",value:function(e){var t={flash:!1};if(t.underline=e%2===1,t.italics=e>=46,t.italics)t.foreground="white";else{var n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}p.log("INFO","MIDROW: "+JSON.stringify(t)),this.writeScreen.setPen(t)}},{key:"outputDataUpdate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=p.time;null!==t&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),!0===e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue()),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))}},{key:"cueSplitAtTime",value:function(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}]),e}(),x=function(){function e(t,n,r){i(this,e),this.field=t||1,this.outputs=[n,r],this.channels=[new _(1,n),new _(2,r)],this.currChNr=-1,this.lastCmdA=null,this.lastCmdB=null,this.bufferedData=[],this.startTime=null,this.lastTime=null,this.dataCounters={padding:0,char:0,cmd:0,other:0}}return r(e,[{key:"getHandler",value:function(e){return this.channels[e].getHandler()}},{key:"setHandler",value:function(e,t){this.channels[e].setHandler(t)}},{key:"addData",value:function(e,t){var n=void 0,r=void 0,i=void 0,o=!1;this.lastTime=e,p.setTime(e);for(var a=0;a<t.length;a+=2)if(r=127&t[a],i=127&t[a+1],0!==r||0!==i){if(p.log("DATA","["+g([t[a],t[a+1]])+"] -> ("+g([r,i])+")"),n=this.parseCmd(r,i),n||(n=this.parseMidrow(r,i)),n||(n=this.parsePAC(r,i)),n||(n=this.parseBackgroundAttributes(r,i)),!n&&(o=this.parseChars(r,i),o))if(this.currChNr&&this.currChNr>=0){var s=this.channels[this.currChNr-1];s.insertChars(o)}else p.log("WARNING","No channel found yet. TEXT-MODE?");n?this.dataCounters.cmd+=2:o?this.dataCounters.char+=2:(this.dataCounters.other+=2,p.log("WARNING","Couldn't parse cleaned data "+g([r,i])+" orig: "+g([t[a],t[a+1]])))}else this.dataCounters.padding+=2}},{key:"parseCmd",value:function(e,t){var n=null,r=(20===e||28===e)&&t>=32&&t<=47,i=(23===e||31===e)&&t>=33&&t<=35;if(!r&&!i)return!1;if(e===this.lastCmdA&&t===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,p.log("DEBUG","Repeated command ("+g([e,t])+") is dropped"),!0;n=20===e||23===e?1:2;var o=this.channels[n-1];return 20===e||28===e?32===t?o.ccRCL():33===t?o.ccBS():34===t?o.ccAOF():35===t?o.ccAON():36===t?o.ccDER():37===t?o.ccRU(2):38===t?o.ccRU(3):39===t?o.ccRU(4):40===t?o.ccFON():41===t?o.ccRDC():42===t?o.ccTR():43===t?o.ccRTD():44===t?o.ccEDM():45===t?o.ccCR():46===t?o.ccENM():47===t&&o.ccEOC():o.ccTO(t-32),this.lastCmdA=e,this.lastCmdB=t,this.currChNr=n,!0}},{key:"parseMidrow",value:function(e,t){var n=null;if((17===e||25===e)&&t>=32&&t<=47){if(n=17===e?1:2,n!==this.currChNr)return p.log("ERROR","Mismatch channel in midrow parsing"),!1;var r=this.channels[n-1];return r.ccMIDROW(t),p.log("DEBUG","MIDROW ("+g([e,t])+")"),!0}return!1}},{key:"parsePAC",value:function(e,t){var n=null,r=null,i=(e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127,o=(16===e||24===e)&&t>=64&&t<=95;if(!i&&!o)return!1;if(e===this.lastCmdA&&t===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,!0;n=e<=23?1:2,r=t>=64&&t<=95?1===n?u[e]:f[e]:1===n?c[e]:h[e];var a=this.interpretPAC(r,t),s=this.channels[n-1];return s.setPAC(a),this.lastCmdA=e,this.lastCmdB=t,this.currChNr=n,!0}},{key:"interpretPAC",value:function(e,t){var n=t,r={color:null,italics:!1,indent:null,underline:!1,row:e};return n=t>95?t-96:t-64,r.underline=1===(1&n),n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=4*Math.floor((n-16)/2),r}},{key:"parseChars",value:function(e,t){var n=null,r=null,i=null;if(e>=25?(n=2,i=e-8):(n=1,i=e),i>=17&&i<=19){var o=t;o=17===i?t+80:18===i?t+112:t+144,p.log("INFO","Special char '"+a(o)+"' in channel "+n),r=[o]}else e>=32&&e<=127&&(r=0===t?[e]:[e,t]);if(r){var s=g(r);p.log("DEBUG","Char codes = "+s.join(",")),this.lastCmdA=null,this.lastCmdB=null}return r}},{key:"parseBackgroundAttributes",value:function(e,t){var n=void 0,r=void 0,i=void 0,o=void 0,a=(16===e||24===e)&&t>=32&&t<=47,s=(23===e||31===e)&&t>=45&&t<=47;return!(!a&&!s)&&(n={},16===e||24===e?(r=Math.floor((t-32)/2),n.background=d[r],t%2===1&&(n.background=n.background+"_semi")):45===t?n.background="transparent":(n.foreground="black",47===t&&(n.underline=!0)),i=e<24?1:2,o=this.channels[i-1],o.setBkgData(n),this.lastCmdA=null,this.lastCmdB=null,!0)}},{key:"reset",value:function(){for(var e=0;e<this.channels.length;e++)this.channels[e]&&this.channels[e].reset();this.lastCmdA=null,this.lastCmdB=null}},{key:"cueSplitAtTime",value:function(e){for(var t=0;t<this.channels.length;t++)this.channels[t]&&this.channels[t].cueSplitAtTime(e)}}]),e}();t.default=x,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){i(this,e),this.timelineController=t,this.trackName=n,this.startTime=null,this.endTime=null,this.screen=null}return r(e,[{key:"dispatchCue",value:function(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen),this.startTime=null)}},{key:"newCue",value:function(e,t,n){(null===this.startTime||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30),i=a(r),o=n(10);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t,n){return e.substr(n||0,t.length)===t},l=function(e){var t=parseInt(e.substr(-3)),n=parseInt(e.substr(-6,2)),r=parseInt(e.substr(-9,2)),i=e.length>9?parseInt(e.substr(0,e.indexOf(":"))):0;return Number.isFinite(t)&&Number.isFinite(n)&&Number.isFinite(r)&&Number.isFinite(i)?(t+=1e3*n,t+=6e4*r,t+=36e5*i,t):-1},u=function(e){var t=5381,n=e.length;while(n)t=33*t^e.charCodeAt(--n);return(t>>>0).toString()},c=function(e,t,n){var r=e[t],i=e[r.prevCC];if(!i||!i.new&&r.new)return e.ccOffset=e.presentationOffset=r.start,void(r.new=!1);while(i&&i.new)e.ccOffset+=r.start-i.start,r.new=!1,r=i,i=e[r.prevCC];e.presentationOffset=n},f={parse:function(e,t,n,r,a,f){var h=/\r\n|\n\r|\n|\r/g,d=(0,o.utf8ArrayToStr)(new Uint8Array(e)).trim().replace(h,"\n").split("\n"),p="00:00.000",g=0,v=0,y=0,m=[],b=void 0,_=!0,x=new i.default;x.oncue=function(e){var t=n[r],i=n.ccOffset;t&&t.new&&(void 0!==v?i=n.ccOffset=t.start:c(n,r,y)),y&&(i=y-n.presentationOffset),e.startTime+=i-v,e.endTime+=i-v,e.id=u(e.startTime.toString())+u(e.endTime.toString())+u(e.text),e.text=decodeURIComponent(encodeURIComponent(e.text)),e.endTime>0&&m.push(e)},x.onparsingerror=function(e){b=e},x.onflush=function(){b&&f?f(b):a(m)},d.forEach((function(e){if(_){if(s(e,"X-TIMESTAMP-MAP=")){_=!1,e.substr(16).split(",").forEach((function(e){s(e,"LOCAL:")?p=e.substr(6):s(e,"MPEGTS:")&&(g=parseInt(e.substr(7)))}));try{t+(9e4*n[r].start||0)<0&&(t+=8589934592),g-=t,v=l(p)/1e3,y=g/9e4,-1===v&&(b=new Error("Malformed X-TIMESTAMP-MAP: "+e))}catch(i){b=new Error("Malformed X-TIMESTAMP-MAP: "+e)}return}""===e&&(_=!1)}x.parse(e+"\n")})),x.flush()}};t.default=f,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),o=c(i),a=n(3),s=c(a),l=n(0),u=n(7);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e){f(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o.default.MEDIA_ATTACHED,o.default.MEDIA_DETACHING,o.default.MANIFEST_LOADED,o.default.SUBTITLE_TRACK_LOADED));return n.tracks=[],n.trackId=-1,n.media=null,n.stopped=!0,n.subtitleDisplay=!0,n}return d(t,e),r(t,[{key:"destroy",value:function(){s.default.prototype.destroy.call(this)}},{key:"onMediaAttached",value:function(e){var t=this;this.media=e.media,this.media&&(this.queuedDefaultTrack&&(this.subtitleTrack=this.queuedDefaultTrack,delete this.queuedDefaultTrack),this.trackChangeListener=this._onTextTracksChanged.bind(this),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.subtitlePollingInterval=setInterval((function(){t.trackChangeListener()}),500):this.media.textTracks.addEventListener("change",this.trackChangeListener))}},{key:"onMediaDetaching",value:function(){this.media&&(this.useTextTrackPolling?clearInterval(this.subtitlePollingInterval):this.media.textTracks.removeEventListener("change",this.trackChangeListener),this.media=null)}},{key:"onManifestLoaded",value:function(e){var t=this,n=e.subtitles||[];this.tracks=n,this.hls.trigger(o.default.SUBTITLE_TRACKS_UPDATED,{subtitleTracks:n}),n.forEach((function(e){e.default&&(t.media?t.subtitleTrack=e.id:t.queuedDefaultTrack=e.id)}))}},{key:"onSubtitleTrackLoaded",value:function(e){var t=this,n=e.id,r=e.details,i=this.trackId,o=this.tracks,a=o[i];if(n>=o.length||n!==i||!a||this.stopped)this._clearReloadTimer();else if(l.logger.log("subtitle track "+n+" loaded"),r.live){var s=(0,u.computeReloadInterval)(a.details,r,e.stats.trequest);l.logger.log("Reloading live subtitle playlist in "+s+"ms"),this.timer=setTimeout((function(){t._loadCurrentTrack()}),s)}else this._clearReloadTimer()}},{key:"startLoad",value:function(){this.stopped=!1,this._loadCurrentTrack()}},{key:"stopLoad",value:function(){this.stopped=!0,this._clearReloadTimer()}},{key:"_clearReloadTimer",value:function(){this.timer&&(clearTimeout(this.timer),this.timer=null)}},{key:"_loadCurrentTrack",value:function(){var e=this.trackId,t=this.tracks,n=this.hls,r=t[e];e<0||!r||r.details&&!r.details.live||(l.logger.log("Loading subtitle track "+e),n.trigger(o.default.SUBTITLE_TRACK_LOADING,{url:r.url,id:e}))}},{key:"_toggleTrackModes",value:function(e){var t=this.media,n=this.subtitleDisplay,r=this.trackId;if(t){var i=g(t.textTracks);if(-1===e)[].slice.call(i).forEach((function(e){e.mode="disabled"}));else{var o=i[r];o&&(o.mode="disabled")}var a=i[e];a&&(a.mode=n?"showing":"hidden")}}},{key:"_setSubtitleTrackInternal",value:function(e){var t=this.hls,n=this.tracks;!Number.isFinite(e)||e<-1||e>=n.length||(this.trackId=e,l.logger.log("Switching to subtitle track "+e),t.trigger(o.default.SUBTITLE_TRACK_SWITCH,{id:e}),this._loadCurrentTrack())}},{key:"_onTextTracksChanged",value:function(){if(this.media){for(var e=-1,t=g(this.media.textTracks),n=0;n<t.length;n++)if("hidden"===t[n].mode)e=n;else if("showing"===t[n].mode){e=n;break}this.subtitleTrack=e}}},{key:"subtitleTracks",get:function(){return this.tracks}},{key:"subtitleTrack",get:function(){return this.trackId},set:function(e){this.trackId!==e&&(this._toggleTrackModes(e),this._setSubtitleTrackInternal(e))}}]),t}(s.default);function g(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];"subtitles"===r.kind&&r.label&&t.push(e[n])}return t}t.default=p,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleStreamController=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(1),a=v(o),s=n(0),l=n(12),u=v(l),c=n(4),f=n(27),h=n(6),d=n(14),p=v(d),g=n(7);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _=window,x=_.performance,w=500;t.SubtitleStreamController=function(e){function t(e,n){y(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,a.default.MEDIA_ATTACHED,a.default.MEDIA_DETACHING,a.default.ERROR,a.default.KEY_LOADED,a.default.FRAG_LOADED,a.default.SUBTITLE_TRACKS_UPDATED,a.default.SUBTITLE_TRACK_SWITCH,a.default.SUBTITLE_TRACK_LOADED,a.default.SUBTITLE_FRAG_PROCESSED,a.default.LEVEL_UPDATED));return r.fragmentTracker=n,r.config=e.config,r.state=d.State.STOPPED,r.tracks=[],r.tracksBuffered=[],r.currentTrackId=-1,r.decrypter=new u.default(e,e.config),r.lastAVStart=0,r._onMediaSeeking=r.onMediaSeeking.bind(r),r}return b(t,e),r(t,[{key:"onSubtitleFragProcessed",value:function(e){var t=e.frag,n=e.success;if(this.fragPrevious=t,this.state=d.State.IDLE,n){var r=this.tracksBuffered[this.currentTrackId];if(r){for(var i=void 0,o=t.start,a=0;a<r.length;a++)if(o>=r[a].start&&o<=r[a].end){i=r[a];break}var s=t.start+t.duration;i?i.end=s:(i={start:o,end:s},r.push(i))}}}},{key:"onMediaAttached",value:function(e){var t=e.media;this.media=t,t.addEventListener("seeking",this._onMediaSeeking),this.state=d.State.IDLE}},{key:"onMediaDetaching",value:function(){this.media.removeEventListener("seeking",this._onMediaSeeking),this.media=null,this.state=d.State.STOPPED}},{key:"onError",value:function(e){var t=e.frag;t&&"subtitle"===t.type&&(this.state=d.State.IDLE)}},{key:"onSubtitleTracksUpdated",value:function(e){var t=this;s.logger.log("subtitle tracks updated"),this.tracksBuffered=[],this.tracks=e.subtitleTracks,this.tracks.forEach((function(e){t.tracksBuffered[e.id]=[]}))}},{key:"onSubtitleTrackSwitch",value:function(e){if(this.currentTrackId=e.id,this.tracks&&-1!==this.currentTrackId){var t=this.tracks[this.currentTrackId];t&&t.details&&this.setInterval(w)}else this.clearInterval()}},{key:"onSubtitleTrackLoaded",value:function(e){var t=e.id,n=e.details,r=this.currentTrackId,i=this.tracks,o=i[r];t>=i.length||t!==r||!o||(n.live&&(0,g.mergeSubtitlePlaylists)(o.details,n,this.lastAVStart),o.details=n,this.setInterval(w))}},{key:"onKeyLoaded",value:function(){this.state===d.State.KEY_LOADING&&(this.state=d.State.IDLE)}},{key:"onFragLoaded",value:function(e){var t=this.fragCurrent,n=e.frag.decryptdata,r=e.frag,i=this.hls;if(this.state===d.State.FRAG_LOADING&&t&&"subtitle"===e.frag.type&&t.sn===e.frag.sn&&e.payload.byteLength>0&&n&&n.key&&"AES-128"===n.method){var o=x.now();this.decrypter.decrypt(e.payload,n.key.buffer,n.iv.buffer,(function(e){var t=x.now();i.trigger(a.default.FRAG_DECRYPTED,{frag:r,payload:e,stats:{tstart:o,tdecrypt:t}})}))}}},{key:"onLevelUpdated",value:function(e){var t=e.details,n=t.fragments;this.lastAVStart=n.length?n[0].start:0}},{key:"doTick",value:function(){if(this.media)switch(this.state){case d.State.IDLE:var e=this.config,t=this.currentTrackId,n=this.fragmentTracker,r=this.media,i=this.tracks;if(!i||!i[t]||!i[t].details)break;var o=e.maxBufferHole,l=e.maxFragLookUpTolerance,u=Math.min(e.maxBufferLength,e.maxMaxBufferLength),p=c.BufferHelper.bufferedInfo(this._getBuffered(),r.currentTime,o),g=p.end,v=p.len,y=i[t].details,m=y.fragments,b=m.length,_=m[b-1].start+m[b-1].duration;if(v>u)return;var x=void 0,w=this.fragPrevious;g<_?(w&&y.hasProgramDateTime&&(x=(0,f.findFragmentByPDT)(m,w.endProgramDateTime,l)),x||(x=(0,f.findFragmentByPTS)(w,m,g,l))):x=m[b-1],x&&x.encrypted?(s.logger.log("Loading key for "+x.sn),this.state=d.State.KEY_LOADING,this.hls.trigger(a.default.KEY_LOADING,{frag:x})):x&&n.getState(x)===h.FragmentState.NOT_LOADED&&(this.fragCurrent=x,this.state=d.State.FRAG_LOADING,this.hls.trigger(a.default.FRAG_LOADING,{frag:x}))}else this.state=d.State.IDLE}},{key:"stopLoad",value:function(){this.lastAVStart=0,i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"stopLoad",this).call(this)}},{key:"_getBuffered",value:function(){return this.tracksBuffered[this.currentTrackId]||[]}},{key:"onMediaSeeking",value:function(){this.fragPrevious=null}}]),t}(p.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(3),o=c(i),a=n(1),s=c(a),l=n(2),u=n(0);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=window,g=p.XMLHttpRequest,v=3,y={WIDEVINE:"com.widevine.alpha",PLAYREADY:"com.microsoft.playready"},m=function(e,t,n){var r={videoCapabilities:[]};return t.forEach((function(e){r.videoCapabilities.push({contentType:'video/mp4; codecs="'+e+'"'})})),[r]},b=function(e,t,n){switch(e){case y.WIDEVINE:return m(t,n);default:throw Error("Unknown key-system: "+e)}},_=function(e){function t(e){f(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,s.default.MEDIA_ATTACHED,s.default.MANIFEST_PARSED));return n._widevineLicenseUrl=e.config.widevineLicenseUrl,n._licenseXhrSetup=e.config.licenseXhrSetup,n._emeEnabled=e.config.emeEnabled,n._requestMediaKeySystemAccess=e.config.requestMediaKeySystemAccessFunc,n._mediaKeysList=[],n._media=null,n._hasSetMediaKeys=!1,n._isMediaEncrypted=!1,n._requestLicenseFailureCount=0,n}return d(t,e),r(t,[{key:"getLicenseServerUrl",value:function(e){var t=void 0;switch(e){case y.WIDEVINE:t=this._widevineLicenseUrl;break;default:t=null;break}return t||(u.logger.error('No license server URL configured for key-system "'+e+'"'),this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})),t}},{key:"_attemptKeySystemAccess",value:function(e,t,n){var r=this,i=b(e,t,n);i?(u.logger.log("Requesting encrypted media key-system access"),this.requestMediaKeySystemAccess(e,i).then((function(t){r._onMediaKeySystemAccessObtained(e,t)})).catch((function(t){u.logger.error('Failed to obtain key-system "'+e+'" access:',t)}))):u.logger.warn("Can not create config for key-system (maybe because platform is not supported):",e)}},{key:"_onMediaKeySystemAccessObtained",value:function(e,t){var n=this;u.logger.log('Access for key-system "'+e+'" obtained');var r={mediaKeys:null,mediaKeysSession:null,mediaKeysSessionInitialized:!1,mediaKeySystemAccess:t,mediaKeySystemDomain:e};this._mediaKeysList.push(r),t.createMediaKeys().then((function(t){r.mediaKeys=t,u.logger.log('Media-keys created for key-system "'+e+'"'),n._onMediaKeysCreated()})).catch((function(e){u.logger.error("Failed to create media-keys:",e)}))}},{key:"_onMediaKeysCreated",value:function(){var e=this;this._mediaKeysList.forEach((function(t){t.mediaKeysSession||(t.mediaKeysSession=t.mediaKeys.createSession(),e._onNewMediaKeySession(t.mediaKeysSession))}))}},{key:"_onNewMediaKeySession",value:function(e){var t=this;u.logger.log("New key-system session "+e.sessionId),e.addEventListener("message",(function(n){t._onKeySessionMessage(e,n.message)}),!1)}},{key:"_onKeySessionMessage",value:function(e,t){u.logger.log("Got EME message event, creating license request"),this._requestLicense(t,(function(t){u.logger.log("Received license data, updating key-session"),e.update(t)}))}},{key:"_onMediaEncrypted",value:function(e,t){u.logger.log('Media is encrypted using "'+e+'" init data type'),this._isMediaEncrypted=!0,this._mediaEncryptionInitDataType=e,this._mediaEncryptionInitData=t,this._attemptSetMediaKeys(),this._generateRequestWithPreferredKeySession()}},{key:"_attemptSetMediaKeys",value:function(){if(!this._hasSetMediaKeys){var e=this._mediaKeysList[0];if(!e||!e.mediaKeys)return u.logger.error("Fatal: Media is encrypted but no CDM access or no keys have been obtained yet"),void this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_NO_KEYS,fatal:!0});u.logger.log("Setting keys for encrypted media"),this._media.setMediaKeys(e.mediaKeys),this._hasSetMediaKeys=!0}}},{key:"_generateRequestWithPreferredKeySession",value:function(){var e=this,t=this._mediaKeysList[0];if(!t)return u.logger.error("Fatal: Media is encrypted but not any key-system access has been obtained yet"),void this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});if(t.mediaKeysSessionInitialized)u.logger.warn("Key-Session already initialized but requested again");else{var n=t.mediaKeysSession;n||(u.logger.error("Fatal: Media is encrypted but no key-session existing"),this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_NO_SESSION,fatal:!0}));var r=this._mediaEncryptionInitDataType,i=this._mediaEncryptionInitData;u.logger.log('Generating key-session request for "'+r+'" init data type'),t.mediaKeysSessionInitialized=!0,n.generateRequest(r,i).then((function(){u.logger.debug("Key-session generation succeeded")})).catch((function(t){u.logger.error("Error generating key-session request:",t),e.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_NO_SESSION,fatal:!1})}))}}},{key:"_createLicenseXhr",value:function(e,t,n){var r=new g,i=this._licenseXhrSetup;try{if(i)try{i(r,e)}catch(o){r.open("POST",e,!0),i(r,e)}r.readyState||r.open("POST",e,!0)}catch(o){return u.logger.error("Error setting up key-system license XHR",o),void this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}return r.responseType="arraybuffer",r.onreadystatechange=this._onLicenseRequestReadyStageChange.bind(this,r,e,t,n),r}},{key:"_onLicenseRequestReadyStageChange",value:function(e,t,n,r){switch(e.readyState){case 4:if(200===e.status)this._requestLicenseFailureCount=0,u.logger.log("License request succeeded"),r(e.response);else{if(u.logger.error("License Request XHR failed ("+t+"). Status: "+e.status+" ("+e.statusText+")"),this._requestLicenseFailureCount++,this._requestLicenseFailureCount<=v){var i=v-this._requestLicenseFailureCount+1;return u.logger.warn("Retrying license request, "+i+" attempts left"),void this._requestLicense(n,r)}this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}break}}},{key:"_generateLicenseRequestChallenge",value:function(e,t){var n=void 0;return e.mediaKeySystemDomain===y.PLAYREADY?u.logger.error("PlayReady is not supported (yet)"):e.mediaKeySystemDomain===y.WIDEVINE?n=t:u.logger.error("Unsupported key-system:",e.mediaKeySystemDomain),n}},{key:"_requestLicense",value:function(e,t){u.logger.log("Requesting content license for key-system");var n=this._mediaKeysList[0];if(!n)return u.logger.error("Fatal error: Media is encrypted but no key-system access has been obtained yet"),void this.hls.trigger(s.default.ERROR,{type:l.ErrorTypes.KEY_SYSTEM_ERROR,details:l.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});var r=this.getLicenseServerUrl(n.mediaKeySystemDomain),i=this._createLicenseXhr(r,e,t);u.logger.log("Sending license request to URL: "+r),i.send(this._generateLicenseRequestChallenge(n,e))}},{key:"onMediaAttached",value:function(e){var t=this;if(this._emeEnabled){var n=e.media;this._media=n,n.addEventListener("encrypted",(function(e){t._onMediaEncrypted(e.initDataType,e.initData)}))}}},{key:"onManifestParsed",value:function(e){if(this._emeEnabled){var t=e.levels.map((function(e){return e.audioCodec})),n=e.levels.map((function(e){return e.videoCodec}));this._attemptKeySystemAccess(y.WIDEVINE,t,n)}}},{key:"requestMediaKeySystemAccess",get:function(){if(!this._requestMediaKeySystemAccess)throw new Error("No requestMediaKeySystemAccess function configured");return this._requestMediaKeySystemAccess}}]),t}(o.default);t.default=_,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return"undefined"!==typeof window&&window.navigator&&window.navigator.requestMediaKeySystemAccess?window.navigator.requestMediaKeySystemAccess.bind(window.navigator):null}();t.requestMediaKeySystemAccess=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getBrowserVersion:function(){var e=navigator.userAgent;if(e.toLowerCase().indexOf("mobile")>-1)return"Unknown";if(e.indexOf("Firefox")>-1){var t=e.match(/firefox\/[\d.]+/gi)[0].match(/[\d]+/)[0];return"Firefox "+t}if(e.indexOf("Edge")>-1){var n=e.match(/edge\/[\d.]+/gi)[0].match(/[\d]+/)[0];return"Edge "+n}if(e.indexOf("rv:11")>-1)return"IE 11";if(e.indexOf("Opera")>-1||e.indexOf("OPR")>-1){if(e.indexOf("Opera")>-1){var r=e.match(/opera\/[\d.]+/gi)[0].match(/[\d]+/)[0];return"Opera "+r}if(e.indexOf("OPR")>-1){var i=e.match(/opr\/[\d.]+/gi)[0].match(/[\d]+/)[0];return"Opera "+i}}else{if(e.indexOf("Chrome")>-1){var o=e.match(/chrome\/[\d.]+/gi)[0].match(/[\d]+/)[0];return"Chrome "+o}if(e.indexOf("Safari")>-1){var a=e.match(/safari\/[\d.]+/gi)[0].match(/[\d]+/)[0];return"Safari "+a}if(!(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1))return"Unknown";if(e.indexOf("MSIE")>-1){var s=e.match(/msie [\d.]+/gi)[0].match(/[\d]+/)[0];return"IE "+s}if(e.indexOf("Trident")>-1){var l=e.match(/trident\/[\d.]+/gi)[0].match(/[\d]+/)[0],u=parseInt(l)+4;return"IE "+u}}}};t.default=r,e.exports=t["default"]}])}))},"4a07":function(e,t,n){var r=n("6278"),i=n("56a8"),o=n("6052"),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4c20":function(e,t){e.exports={}},"4c65":function(e,t,n){var r=n("baaa"),i=n("e9b8"),o=n("f8e2"),a=n("6278"),s=n("1dfa"),l=n("feee"),u=n("b81c"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"4ce1":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"531a":function(e,t,n){var r=n("eeea"),i=n("f219"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"56a8":function(e,t,n){var r=n("bb39"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"56c1":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},6052:function(e,t,n){var r=n("bb39"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},6278:function(e,t,n){var r=n("531a"),i=n("8a56");e.exports=function(e){return r(i(e))}},6324:function(e,t,n){var r=n("feee"),i=n("6278"),o=n("4a07").indexOf,a=n("4c20");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},6569:function(e,t,n){var r=n("1b73"),i=n("f861");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},"6f16":function(e,t,n){var r=n("feee"),i=n("e910"),o=n("4c65"),a=n("eb5b");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},"6f63":function(e,t,n){var r=n("1b73"),i=n("f861"),o=n("feee"),a=n("6569"),s=n("fe7f"),l=n("a1cc"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e!==r?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7163:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=79)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.util=void 0,t.createDom=a,t.hasClass=s,t.addClass=l,t.removeClass=u,t.toggleClass=c,t.findDom=f,t.padStart=h,t.format=d,t.event=p,t.typeOf=g,t.deepCopy=v,t.getBgImage=y,t.copyDom=m,t._setInterval=b,t._clearInterval=_,t.createImgBtn=x,t.isWeiXin=w,t.isUc=S,t.computeWatchDur=k,t.offInDestroy=E,t.on=O,t.once=C,t.getBuffered2=A,t.checkIsBrowser=T;var r,i=n(7),o=(r=i)&&r.__esModule?r:{default:r};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=document.createElement(e);return i.className=r,i.innerHTML=t,Object.keys(n).forEach((function(t){var r=t,o=n[t];"video"===e||"audio"===e?o&&i.setAttribute(r,o):i.setAttribute(r,o)})),i}function s(e,t){return!!e&&(e.classList?Array.prototype.some.call(e.classList,(function(e){return e===t})):!!e.className&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)")))}function l(e,t){e&&(e.classList?t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach((function(t){t&&e.classList.add(t)})):s(e,t)||(e.className+=" "+t))}function u(e,t){e&&(e.classList?t.split(/\s+/g).forEach((function(t){e.classList.remove(t)})):s(e,t)&&t.split(/\s+/g).forEach((function(t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")})))}function c(e,t){e&&t.split(/\s+/g).forEach((function(t){s(e,t)?u(e,t):l(e,t)}))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=arguments[1],n=void 0;try{n=e.querySelector(t)}catch(r){0===t.indexOf("#")&&(n=e.getElementById(t.slice(1)))}return n}function h(e,t,n){for(var r=String(n),i=t>>0,o=Math.ceil(i/r.length),a=[],s=String(e);o--;)a.push(r);return a.join("").substring(0,i-s.length)+s}function d(e){if(window.isNaN(e))return"";var t=h(Math.floor(e/3600),2,0),n=h(Math.floor((e-3600*t)/60),2,0),r=h(Math.floor(e-3600*t-60*n),2,0);return("00"===t?[n,r]:[t,n,r]).join(":")}function p(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement}function g(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]}function v(e,t){if("Object"===g(t)&&"Object"===g(e))return Object.keys(t).forEach((function(n){"Object"!==g(t[n])||t[n]instanceof Node?"Array"===g(t[n])?e[n]="Array"===g(e[n])?e[n].concat(t[n]):t[n]:e[n]=t[n]:e[n]?v(e[n],t[n]):e[n]=t[n]})),e}function y(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var n=document.createElement("a");return n.href=t.replace(/url\("|"\)/g,""),n.href}function m(e){if(e&&1===e.nodeType){var t=document.createElement(e.tagName);return Array.prototype.forEach.call(e.attributes,(function(e){t.setAttribute(e.name,e.value)})),e.innerHTML&&(t.innerHTML=e.innerHTML),t}return""}function b(e,t,n,r){e._interval[t]||(e._interval[t]=setInterval(n.bind(e),r))}function _(e,t){clearInterval(e._interval[t]),e._interval[t]=null}function x(e,t,n,r){var i=a("xg-"+e,"",{},"xgplayer-"+e+"-img");if(i.style.backgroundImage='url("'+t+'")',n&&r){var o=void 0,s=void 0,l=void 0;["px","rem","em","pt","dp","vw","vh","vm","%"].every((function(e){return!(n.indexOf(e)>-1&&r.indexOf(e)>-1)||(o=Number(n.slice(0,n.indexOf(e)).trim()),s=Number(r.slice(0,r.indexOf(e)).trim()),l=e,!1)})),i.style.width=""+o+l,i.style.height=""+s+l,i.style.backgroundSize=""+o+l+" "+s+l,i.style.margin="start"===e?"-"+s/2+l+" auto auto -"+o/2+l:"auto 5px auto 5px"}return i}function w(){return window.navigator.userAgent.toLowerCase().indexOf("micromessenger")>-1}function S(){return window.navigator.userAgent.toLowerCase().indexOf("ucbrowser")>-1}function k(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],n=0;n<e.length;n++)if(!(!e[n].end||e[n].begin<0||e[n].end<0||e[n].end<e[n].begin))if(t.length<1)t.push({begin:e[n].begin,end:e[n].end});else for(var r=0;r<t.length;r++){var i=e[n].begin,o=e[n].end;if(o<t[r].begin){t.splice(r,0,{begin:i,end:o});break}if(!(i>t[r].end)){var a=t[r].begin,s=t[r].end;t[r].begin=Math.min(i,a),t[r].end=Math.max(o,s);break}if(r>t.length-2){t.push({begin:i,end:o});break}}for(var l=0,u=0;u<t.length;u++)l+=t[u].end-t[u].begin;return l}function E(e,t,n,r){e.once(r,(function i(){e.off(t,n),e.off(r,i)}))}function O(e,t,n,r){r?(e.on(t,n),E(e,t,n,r)):e.on(t,(function r(i){n(i),e.off(t,r)}))}function C(e,t,n,r){r?(e.once(t,n),E(e,t,n,r)):e.once(t,(function r(i){n(i),e.off(t,r)}))}function A(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=[],r=0;r<e.length;r++)n.push({start:e.start(r)<.5?0:e.start(r),end:e.end(r)});n.sort((function(e,t){var n=e.start-t.start;return n||t.end-e.end}));var i=[];if(t)for(var a=0;a<n.length;a++){var s=i.length;if(s){var l=i[s-1].end;n[a].start-l<t?n[a].end>l&&(i[s-1].end=n[a].end):i.push(n[a])}else i.push(n[a])}else i=n;return new o.default(i)}function T(){return!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)}t.util={createDom:a,hasClass:s,addClass:l,removeClass:u,toggleClass:c,findDom:f,padStart:h,format:d,event:p,typeOf:g,deepCopy:v,getBgImage:y,copyDom:m,setInterval:b,clearInterval:_,createImgBtn:x,isWeiXin:w,isUc:S,computeWatchDur:k,offInDestroy:E,on:O,once:C,getBuffered2:A,checkIsBrowser:T}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),u=null,c=0,f=[],h=n(36);function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(b(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(b(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function g(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=f.indexOf(e);t>=0&&f.splice(t,1)}function y(e){var t=document.createElement("style");return e.attrs.type="text/css",m(t,e.attrs),g(e,t),t}function m(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function b(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var a=c++;n=u||(u=y(t)),r=w.bind(null,n,a,!1),i=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",m(t,e.attrs),g(e,t),t}(t),r=k.bind(null,n,t),i=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=y(t),r=S.bind(null,n),i=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return d(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}for(e&&d(p(e,t),t),i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var _,x=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function w(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function S(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function k(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=h(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t,n){"use strict";var r=n(24)();e.exports=function(e){return e!==r&&null!==e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};Object.defineProperty(r,"device",{get:function(){return r.os.isPc?"pc":"mobile"}}),Object.defineProperty(r,"browser",{get:function(){var e=navigator.userAgent.toLowerCase(),t={ie:/rv:([\d.]+)\) like gecko/,firfox:/firefox\/([\d.]+)/,chrome:/chrome\/([\d.]+)/,opera:/opera.([\d.]+)/,safari:/version\/([\d.]+).*safari/};return[].concat(Object.keys(t).filter((function(n){return t[n].test(e)})))[0]||""}}),Object.defineProperty(r,"os",{get:function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||r&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!o;return{isTablet:o,isPhone:a,isAndroid:r,isPc:!(a||r||n||o),isSymbian:n,isWindowsPhone:t,isFireFox:i}}}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o={network:{code:1,msg:"视频下载错误",remark:"只要视频下载错误就使用此类型无论是video本身的超时还是xhr的分段请求超时或者资源不存在"},mse:{code:2,msg:"流追加错误",remark:"追加流的时候如果类型不对、无法被正确解码则会触发此类错误"},parse:{code:3,msg:"解析错误",remark:"mp4、hls、flv我们都是使用js进行格式解析如果解析失败则会触发此类错误"},format:{code:4,msg:"格式错误",remark:"如果浏览器不支持的格式导致播放错误"},decoder:{code:5,msg:"解码错误",remark:"浏览器解码异常会抛出此类型错误"},runtime:{code:6,msg:"语法错误",remark:"播放器语法错误"},timeout:{code:7,msg:"播放超时",remark:"播放过程中无法正常请求下一个分段导致播放中断"},other:{code:8,msg:"其他错误",remark:"不可知的错误或被忽略的错误类型"}};t.default=function e(t,n,a,s,l,u,c,f){var h=arguments.length>8&&void 0!==arguments[8]?arguments[8]:{line:"",handle:"",msg:"",version:""},d=arguments[9],p=arguments[10];i(this,e);var g={};if(arguments.length>1)g.playerVersion=r.version,g.errorType=t,g.domain=document.domain,g.duration=a,g.currentTime=n,g.networkState=s,g.readyState=l,g.currentSrc=c,g.src=u,g.ended=f,g.errd=h,g.ex=(o[t]||{}).msg,g.errorCode=d,g.mediaError=p;else{var v=arguments[0];Object.keys(v).map((function(e){g[e]=v[e]})),g.ex=(v.type&&o[v.type]||{}).msg}return g},e.exports=t.default},function(e,t,n){"use strict";e.exports=function(e){return null!=e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.bufferedList=t}return r(e,[{key:"start",value:function(e){return this.bufferedList[e].start}},{key:"end",value:function(e){return this.bufferedList[e].end}},{key:"length",get:function(){return this.bufferedList.length}}]),e}();t.default=i,e.exports=t.default},function(e){e.exports=JSON.parse('{"version":"2.22.1"}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=d(n(11)),a=n(0),s=d(n(4)),l=d(n(7)),u=d(n(5)),c=d(n(31)),f=d(n(10));n(34);var h=n(8);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));if(n.config=(0,a.deepCopy)({width:600,height:337.5,ignores:[],whitelist:[],lang:(document.documentElement.getAttribute("lang")||navigator.language||"zh-cn").toLocaleLowerCase(),inactive:3e3,volume:.6,controls:!0,controlsList:["nodownload"]},e),n.version=h.version,n.userTimer=null,n.waitTimer=null,n.history=[],n.isProgressMoving=!1,n.root=(0,a.findDom)(document,"#"+n.config.id),n.controls=(0,a.createDom)("xg-controls","",{unselectable:"on",onselectstart:"return false"},"xgplayer-controls"),n.config.isShowControl&&(n.controls.style.display="none"),!n.root){var r=n.config.el;if(!r||1!==r.nodeType)return n.emit("error",new u.default({type:"use",errd:{line:45,handle:"Constructor",msg:"container id can't be empty"},vid:n.config.vid})),console.error("container id can't be empty"),p(n,!1);n.root=r}if((0,a.addClass)(n.root,"xgplayer xgplayer-"+s.default.device+" xgplayer-nostart "+(n.config.controls?"":"xgplayer-no-controls")),n.root.appendChild(n.controls),n.config.fluid?(n.root.style["max-width"]="100%",n.root.style.width="100%",n.root.style.height="0",n.root.style["padding-top"]=100*n.config.height/n.config.width+"%",n.video.style.position="absolute",n.video.style.top="0",n.video.style.left="0"):(n.config.width&&("number"!=typeof n.config.width?n.root.style.width=n.config.width:n.root.style.width=n.config.width+"px"),n.config.height&&("number"!=typeof n.config.height?n.root.style.height=n.config.height:n.root.style.height=n.config.height+"px")),n.config.execBeforePluginsCall&&n.config.execBeforePluginsCall.forEach((function(e){e.call(n,n)})),n.config.closeI18n||t.install(f.default.name,f.default.method),n.config.controlStyle&&"String"===(0,a.typeOf)(n.config.controlStyle)){var i=n;fetch(i.config.controlStyle,{method:"GET",headers:{Accept:"application/json"}}).then((function(e){e.ok&&e.json().then((function(e){for(var t in e)e.hasOwnProperty(t)&&(i.config[t]=e[t]);i.pluginsCall()}))})).catch((function(e){console.log("Fetch错误:"+e)}))}else n.pluginsCall();n.config.controlPlugins&&t.controlsRun(n.config.controlPlugins,n),n.ev.forEach((function(e){var t=Object.keys(e)[0],r=n[e[t]];r&&n.on(t,r)})),["focus","blur"].forEach((function(e){n.on(e,n["on"+e.charAt(0).toUpperCase()+e.slice(1)])}));var o=n;return n.mousemoveFunc=function(){o.emit("focus"),o.config.closeFocusVideoFocus||o.video.focus()},n.root.addEventListener("mousemove",n.mousemoveFunc),n.playFunc=function(){o.emit("focus"),o.config.closePlayVideoFocus||o.video.focus()},o.once("play",n.playFunc),n.getVideoSize=function(){if(this.video.videoWidth&&this.video.videoHeight){var e=o.root.getBoundingClientRect();"auto"===o.config.fitVideoSize?e.width/e.height>this.video.videoWidth/this.video.videoHeight?o.root.style.height=this.video.videoHeight/this.video.videoWidth*e.width+"px":o.root.style.width=this.video.videoWidth/this.video.videoHeight*e.height+"px":"fixWidth"===o.config.fitVideoSize?o.root.style.height=this.video.videoHeight/this.video.videoWidth*e.width+"px":"fixHeight"===o.config.fitVideoSize&&(o.root.style.width=this.video.videoWidth/this.video.videoHeight*e.height+"px")}},o.once("loadeddata",n.getVideoSize),setTimeout((function(){n.emit("ready"),n.isReady=!0}),0),n.config.videoInit&&(0,a.hasClass)(n.root,"xgplayer-nostart")&&n.start(),o.config.rotate&&(o.on("requestFullscreen",n.updateRotateDeg),o.on("exitFullscreen",n.updateRotateDeg)),o.once("destroy",(function e(){o.root.removeEventListener("mousemove",o.mousemoveFunc),o.off("destroy",e)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"attachVideo",value:function(){var e=this;window.XgVideoProxy||this.root.insertBefore(this.video,this.root.firstChild),setTimeout((function(){e.emit("complete"),e.danmu&&"function"==typeof e.danmu.resize&&e.danmu.resize()}),1)}},{key:"start",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.config.url,n=this;t&&""!==t||this.emit("urlNull"),this.canPlayFunc=function(){n.off("canplay",n.canPlayFunc);var e=n.video.play();void 0!==e&&e&&e.then((function(){n.emit("autoplay started")})).catch((function(){n.emit("autoplay was prevented"),(0,a.addClass)(n.root,"xgplayer-is-autoplay")}))},"Array"!==(0,a.typeOf)(t)?"String"===(0,a.typeOf)(t)&&t.indexOf("blob:")>-1&&t===this.video.src||(this.video.src=t):t.forEach((function(t){e.video.appendChild((0,a.createDom)("source","",{src:""+t.src,type:""+(t.type||"")}))})),this.config.autoplay&&(s.default.os.isPhone?this.canPlayFunc():this.on("canplay",this.canPlayFunc)),this.config.disableStartLoad||this.video.load(),this.attachVideo()}},{key:"reload",value:function(){this.video.load(),this.reloadFunc=function(){var e=this.play();void 0!==e&&e&&e.catch((function(e){}))},this.once("loadeddata",this.reloadFunc)}},{key:"destroy",value:function(){var e=this,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=this;for(var o in clearInterval(this.bulletResizeTimer),this._interval)clearInterval(this._interval[o]),this._interval[o]=null;function a(){if(this.emit("destroy"),this.video.removeAttribute("src"),this.video.load(),n){this.root.innerHTML="";var e=this.root.className.split(" ");e.length>0?this.root.className=e.filter((function(e){return e.indexOf("xgplayer")<0})).join(" "):this.root.className=""}for(var t in this)delete this[t];(0,c.default)(this)}this.checkTimer&&clearInterval(this.checkTimer),this.waitTimer&&clearTimeout(this.waitTimer),this.ev.forEach((function(t){var n=Object.keys(t)[0],r=e[t[n]];r&&e.off(n,r)})),this.loadeddataFunc&&this.off("loadeddata",this.loadeddataFunc),this.reloadFunc&&this.off("loadeddata",this.reloadFunc),this.replayFunc&&this.off("play",this.replayFunc),this.playFunc&&this.off("play",this.playFunc),this.getVideoSize&&this.off("loadeddata",this.getVideoSize),["focus","blur"].forEach((function(t){e.off(t,e["on"+t.charAt(0).toUpperCase()+t.slice(1)])})),this.config.keyShortcut&&"on"!==this.config.keyShortcut||["video","controls"].forEach((function(t){e[t]&&e[t].removeEventListener("keydown",(function(e){r.onKeydown(e,r)}))})),this.paused?a.call(this):(this.pause(),this.once("pause",a)),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"replay",value:function(){var e=this._replay;if((0,a.removeClass)(this.root,"xgplayer-ended"),s.default.browser.indexOf("ie")>-1&&(this.emit("play"),this.emit("playing")),e&&e instanceof Function)e();else{this.currentTime=0;var t=this.play();void 0!==t&&t&&t.catch((function(e){}))}}},{key:"userGestureTrigEvent",value:function(e,t){var n=this,r=function(e,t){n.emit(e,t)};this.config.userGestureEventMiddleware&&"function"==typeof this.config.userGestureEventMiddleware[e]?this.config.userGestureEventMiddleware[e].call(this,this,e,t,r):r.call(this,e,t)}},{key:"pluginsCall",value:function(){var e=this;t.plugins.s_i18n&&t.plugins.s_i18n.call(this,this);var n=this;if(t.plugins){var r=this.config.ignores;Object.keys(t.plugins).forEach((function(i){var o=t.plugins[i];o&&"function"==typeof o?r.some((function(e){return i===e||i==="s_"+e}))||"s_i18n"===i||(["pc","tablet","mobile"].some((function(e){return e===i}))?i===s.default.device&&setTimeout((function(){n.video&&o.call(n,n)}),0):o.call(e,e)):console.warn("plugin name",i,"is invalid")}))}}},{key:"onFocus",value:function(){var e=this;(0,a.hasClass)(this.root,"xgplayer-inactive")&&e.emit("controlShow"),(0,a.removeClass)(this.root,"xgplayer-inactive"),e.userTimer&&clearTimeout(e.userTimer),e.userTimer=setTimeout((function(){e.emit("blur")}),e.config.inactive)}},{key:"onBlur",value:function(){!this.config.enablePausedInactive&&this.paused||this.ended||this.config.closeInactive||((0,a.hasClass)(this.root,"xgplayer-inactive")||this.emit("controlHide"),(0,a.addClass)(this.root,"xgplayer-inactive"))}},{key:"onPlay",value:function(){(0,a.addClass)(this.root,"xgplayer-isloading"),(0,a.addClass)(this.root,"xgplayer-playing"),(0,a.removeClass)(this.root,"xgplayer-pause")}},{key:"onPause",value:function(){(0,a.addClass)(this.root,"xgplayer-pause"),this.userTimer&&clearTimeout(this.userTimer),this.emit("focus")}},{key:"onEnded",value:function(){(0,a.addClass)(this.root,"xgplayer-ended"),(0,a.removeClass)(this.root,"xgplayer-playing")}},{key:"onSeeking",value:function(){this.isSeeking=!0,this.onWaiting()}},{key:"onSeeked",value:function(){this.isSeeking=!1,this.waitTimer&&clearTimeout(this.waitTimer),(0,a.removeClass)(this.root,"xgplayer-isloading")}},{key:"onWaiting",value:function(){var e=this;e.waitTimer&&clearTimeout(e.waitTimer),e.checkTimer&&(clearInterval(e.checkTimer),e.checkTimer=null);var t=e.currentTime;e.waitTimer=setTimeout((function(){(0,a.addClass)(e.root,"xgplayer-isloading"),e.checkTimer=setInterval((function(){e.currentTime!==t&&((0,a.removeClass)(e.root,"xgplayer-isloading"),clearInterval(e.checkTimer),e.checkTimer=null)}),1e3)}),500)}},{key:"onPlaying",value:function(){this.paused||(this.isSeeking=!1,this.waitTimer&&clearTimeout(this.waitTimer),(0,a.removeClass)(this.root,"xgplayer-isloading xgplayer-nostart xgplayer-pause xgplayer-ended xgplayer-is-error xgplayer-replay"),(0,a.addClass)(this.root,"xgplayer-playing"))}}],[{key:"install",value:function(e,n){(0,a.checkIsBrowser)()&&(t.plugins||(t.plugins={}),t.plugins[e]||(t.plugins[e]=n))}},{key:"installAll",value:function(e){for(var n=0;n<e.length;n++)t.install(e[n].name,e[n].method)}},{key:"use",value:function(e,n){t.plugins||(t.plugins={}),t.plugins[e]=n}},{key:"useAll",value:function(e){for(var n in e)t.use(e[n].name,e[n].method)}},{key:"controlsRun",value:function(e,t){e.forEach((function(e){e.method.call(t)}))}}]),t}(o.default);g.util=a.util,g.sniffer=s.default,g.Errors=u.default,g.XgplayerTimeRange=l.default,t.default=g,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"s_i18n",method:function(){var e=this,t={en:{HAVE_NOTHING:"There is no information on whether audio/video is ready",HAVE_METADATA:"Audio/video metadata is ready ",HAVE_CURRENT_DATA:"Data about the current play location is available, but there is not enough data to play the next frame/millisecond",HAVE_FUTURE_DATA:"Current and at least one frame of data is available",HAVE_ENOUGH_DATA:"The available data is sufficient to start playing",NETWORK_EMPTY:"Audio/video has not been initialized",NETWORK_IDLE:"Audio/video is active and has been selected for resources, but no network is used",NETWORK_LOADING:"The browser is downloading the data",NETWORK_NO_SOURCE:"No audio/video source was found",MEDIA_ERR_ABORTED:"The fetch process is aborted by the user",MEDIA_ERR_NETWORK:"An error occurred while downloading",MEDIA_ERR_DECODE:"An error occurred while decoding",MEDIA_ERR_SRC_NOT_SUPPORTED:"Audio/video is not supported",REPLAY:"Replay",ERROR:"Network is offline",PLAY_TIPS:"Play",PAUSE_TIPS:"Pause",PLAYNEXT_TIPS:"Play next",DOWNLOAD_TIPS:"Download",ROTATE_TIPS:"Rotate",RELOAD_TIPS:"Reload",FULLSCREEN_TIPS:"Fullscreen",EXITFULLSCREEN_TIPS:"Exit fullscreen",CSSFULLSCREEN_TIPS:"Cssfullscreen",EXITCSSFULLSCREEN_TIPS:"Exit cssfullscreen",TEXTTRACK:"Caption",PIP:"Pip",MINIPLAYER:"Miniplayer",SCREENSHOT:"Screenshot",LIVE:"LIVE",OFF:"Off",MINIPLAYER_DRAG:"Click and hold to drag",AIRPLAY_TIPS:"Airplay"},"zh-cn":{HAVE_NOTHING:"没有关于音频/视频是否就绪的信息",HAVE_METADATA:"音频/视频的元数据已就绪",HAVE_CURRENT_DATA:"关于当前播放位置的数据是可用的,但没有足够的数据来播放下一帧/毫秒",HAVE_FUTURE_DATA:"当前及至少下一帧的数据是可用的",HAVE_ENOUGH_DATA:"可用数据足以开始播放",NETWORK_EMPTY:"音频/视频尚未初始化",NETWORK_IDLE:"音频/视频是活动的且已选取资源,但并未使用网络",NETWORK_LOADING:"浏览器正在下载数据",NETWORK_NO_SOURCE:"未找到音频/视频来源",MEDIA_ERR_ABORTED:"取回过程被用户中止",MEDIA_ERR_NETWORK:"当下载时发生错误",MEDIA_ERR_DECODE:"当解码时发生错误",MEDIA_ERR_SRC_NOT_SUPPORTED:"不支持的音频/视频格式",REPLAY:"重播",ERROR:"网络连接似乎出现了问题",PLAY_TIPS:"播放",PAUSE_TIPS:"暂停",PLAYNEXT_TIPS:"下一集",DOWNLOAD_TIPS:"下载",ROTATE_TIPS:"旋转",RELOAD_TIPS:"重新载入",FULLSCREEN_TIPS:"进入全屏",EXITFULLSCREEN_TIPS:"退出全屏",CSSFULLSCREEN_TIPS:"进入样式全屏",EXITCSSFULLSCREEN_TIPS:"退出样式全屏",TEXTTRACK:"字幕",PIP:"画中画",MINIPLAYER:"迷你播放器",SCREENSHOT:"截图",LIVE:"正在直播",OFF:"关闭",MINIPLAYER_DRAG:"点击按住可拖动视频",AIRPLAY_TIPS:"隔空播放"},"zh-hk":{HAVE_NOTHING:"沒有關於音頻/視頻是否就緒的信息",HAVE_METADATA:"音頻/視頻的元數據已就緒",HAVE_CURRENT_DATA:"關於當前播放位置的數據是可用的,但沒有足夠的數據來播放下壹幀/毫秒",HAVE_FUTURE_DATA:"當前及至少下壹幀的數據是可用的",HAVE_ENOUGH_DATA:"可用數據足以開始播放",NETWORK_EMPTY:"音頻/視頻尚未初始化",NETWORK_IDLE:"音頻/視頻是活動的且已選取資源,但並未使用網絡",NETWORK_LOADING:"瀏覽器正在下載數據",NETWORK_NO_SOURCE:"未找到音頻/視頻來源",MEDIA_ERR_ABORTED:"取回過程被用戶中止",MEDIA_ERR_NETWORK:"當下載時發生錯誤",MEDIA_ERR_DECODE:"當解碼時發生錯誤",MEDIA_ERR_SRC_NOT_SUPPORTED:"不支持的音頻/視頻格式",REPLAY:"重播",ERROR:"網絡連接似乎出現了問題",PLAY_TIPS:"播放",PAUSE_TIPS:"暫停",PLAYNEXT_TIPS:"下壹集",DOWNLOAD_TIPS:"下載",ROTATE_TIPS:"旋轉",RELOAD_TIPS:"重新載入",FULLSCREEN_TIPS:"進入全屏",EXITFULLSCREEN_TIPS:"退出全屏",CSSFULLSCREEN_TIPS:"進入樣式全屏",EXITCSSFULLSCREEN_TIPS:"退出樣式全屏",TEXTTRACK:"字幕",PIP:"畫中畫",MINIPLAYER:"迷妳播放器",SCREENSHOT:"截圖",LIVE:"正在直播",OFF:"關閉",MINIPLAYER_DRAG:"點擊按住可拖動視頻",AIRPLAY_TIPS:"隔空播放"},jp:{HAVE_NOTHING:"オーディオ/ビデオが準備できているか情報がありません",HAVE_METADATA:"オーディオ/ビデオのメタデータは準備できています",HAVE_CURRENT_DATA:"現在の再生位置に関するデータは利用可能ですが、次のフレーム/ミリ秒を再生するのに十分なデータがありません",HAVE_FUTURE_DATA:"現在、少なくとも次のフレームのデータが利用可能です",HAVE_ENOUGH_DATA:"利用可能なデータは再生を開始するのに十分です",NETWORK_EMPTY:"オーディオ/ビデオが初期化されていません",NETWORK_IDLE:"オーディオ/ビデオはアクティブでリソースが選択されていますが、ネットワークが使用されていません",NETWORK_LOADING:"ブラウザーはデータをダウンロードしています",NETWORK_NO_SOURCE:"オーディオ/ビデオ のソースが見つかりません",MEDIA_ERR_ABORTED:"ユーザーによってフェッチプロセスが中止されました",MEDIA_ERR_NETWORK:"ダウンロード中にエラーが発生しました",MEDIA_ERR_DECODE:"デコード中にエラーが発生しました",MEDIA_ERR_SRC_NOT_SUPPORTED:"オーディオ/ビデオ の形式がサポートされていません",REPLAY:"リプレイ",ERROR:"ネットワークの接続に問題が発生しました",PLAY_TIPS:"プレイ",PAUSE_TIPS:"一時停止",PLAYNEXT_TIPS:"次をプレイ",DOWNLOAD_TIPS:"ダウンロード",ROTATE_TIPS:"回転",RELOAD_TIPS:"再読み込み",FULLSCREEN_TIPS:"フルスクリーン",EXITFULLSCREEN_TIPS:"フルスクリーンを終了",CSSFULLSCREEN_TIPS:"シアターモード",EXITCSSFULLSCREEN_TIPS:"シアターモードを終了",TEXTTRACK:"字幕",PIP:"ミニプレーヤー",MINIPLAYER:"ミニプレーヤー",SCREENSHOT:"スクリーンショット",LIVE:"生放送",OFF:"オフ",MINIPLAYER_DRAG:"ボタンを押して働画をドラッグする",AIRPLAY_TIPS:"隔空放送"}};Object.defineProperty(e,"lang",{get:function(){return e.config&&t[e.config.lang]||t.en},set:function(e){"Object"===(0,r.typeOf)(e)&&Object.keys(e).forEach((function(n){t[n]=e[n]}))}})}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(12)),o=n(0),a=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._hasStart=!1,this.videoConfig={controls:!!t.isShowControl,autoplay:t.autoplay,playsinline:t.playsinline,"webkit-playsinline":t.playsinline,"x5-playsinline":t.playsinline,"x5-video-player-type":t["x5-video-player-type"]||t.x5VideoPlayerType,"x5-video-player-fullscreen":t["x5-video-player-fullscreen"]||t.x5VideoPlayerFullscreen,"x5-video-orientation":t["x5-video-orientation"]||t.x5VideoOrientation,airplay:t.airplay,"webkit-airplay":t.airplay,tabindex:2,mediaType:t.mediaType||"video"},t.muted&&(this.videoConfig.muted="muted"),t.loop&&(this.videoConfig.loop="loop");var r="";if(this.textTrackShowDefault=!0,t.nativeTextTrack&&Array.isArray(t.nativeTextTrack)&&(t.nativeTextTrack.length>0&&!t.nativeTextTrack.some((function(e){return e.default}))&&(t.nativeTextTrack[0].default=!0,this.textTrackShowDefault=!1),t.nativeTextTrack.some((function(e){if(e.src&&e.label&&e.default)return r+='<track src="'+e.src+'" ',e.kind&&(r+='kind="'+e.kind+'" '),r+='label="'+e.label+'" ',e.srclang&&(r+='srclang="'+e.srclang+'" '),r+=(e.default?"default":"")+">",!0})),this.videoConfig.crossorigin="anonymous"),t.textTrackStyle){var a=document.createElement("style");this.textTrackStyle=a,document.head.appendChild(a);var s="";for(var l in t.textTrackStyle)s+=l+": "+t.textTrackStyle[l]+";";var u=t.id?"#"+t.id:t.el.id?"#"+t.el.id:"."+t.el.className;a.sheet.insertRule?a.sheet.insertRule(u+" video::cue { "+s+" }",0):a.sheet.addRule&&a.sheet.addRule(u+" video::cue",s)}var c=t.el?t.el:(0,o.findDom)(document,"#"+t.id);window.XgVideoProxy&&c.hasAttribute("data-xgmse")?this.video=new window.XgVideoProxy(c,t):this.video=(0,o.createDom)(this.videoConfig.mediaType,r,this.videoConfig,""),!this.textTrackShowDefault&&r&&(this.video.getElementsByTagName("Track")[0].track.mode="hidden"),t.autoplay&&(this.video.autoplay=!0,t.autoplayMuted&&(this.video.muted=!0)),this.ev=["play","playing","pause","ended","error","seeking","seeked","progress","timeupdate","waiting","canplay","canplaythrough","durationchange","volumechange","loadedmetadata","loadeddata","loadstart"].map((function(e){return t={},n=e,r="on"+e.charAt(0).toUpperCase()+e.slice(1),n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r})),(0,i.default)(this),this._interval={};var f="0,0",h=this,d=function(e){n&&("play"===e?n.hasStart=!0:"canplay"===e?(0,o.removeClass)(n.root,"xgplayer-is-enter"):"waiting"===e?n.inWaitingStart=(new Date).getTime():"playing"===e&&((0,o.removeClass)(n.root,"xgplayer-is-enter"),n.inWaitingStart&&(n.inWaitingStart=void 0)),"error"===e?n._onError(e):n.emit(e,n),n.hasOwnProperty("_interval")&&(["ended","error","timeupdate"].indexOf(e)<0?((0,o._clearInterval)(n,"bufferedChange"),(0,o._setInterval)(n,"bufferedChange",(function(){if(this.video&&this.video.buffered){for(var e=[],t=0,n=this.video.buffered.length;t<n;t++)e.push([this.video.buffered.start(t),this.video.buffered.end(t)]);e.toString()!==f&&(f=e.toString(),this.emit("bufferedChange",e))}}),200)):"timeupdate"!==e&&(0,o._clearInterval)(n,"bufferedChange")))},p=function(e){t.videoEventMiddleware&&"function"==typeof t.videoEventMiddleware[e]?t.videoEventMiddleware[e].call(n,n,e,d):d.call(n,e)};this.ev.forEach((function(e){h.evItem=Object.keys(e)[0];var t=Object.keys(e)[0];h.video.addEventListener(Object.keys(e)[0],p.bind(h,t))}))}return r(e,[{key:"_onError",value:function(e){this.video&&this.video.error&&this.emit(e,new a.default("other",this.currentTime,this.duration,this.networkState,this.readyState,this.currentSrc,this.src,this.ended,{line:162,msg:this.error,handle:"Constructor"},this.video.error.code,this.video.error))}},{key:"destroy",value:function(){this.textTrackStyle&&this.textTrackStyle.parentNode.removeChild(this.textTrackStyle)}},{key:"play",value:function(){return this.video.play()}},{key:"pause",value:function(){this.video.pause()}},{key:"canPlayType",value:function(e){return this.video.canPlayType(e)}},{key:"getBufferedRange",value:function(e){var t=[0,0],n=this.video;e||(e=n.buffered);var r=n.currentTime;if(e)for(var i=0,o=e.length;i<o&&(t[0]=e.start(i),t[1]=e.end(i),!(t[0]<=r&&r<=t[1]));i++);return t[0]-r<=0&&r-t[1]<=0?t:[0,0]}},{key:"proxyOn",value:function(e,t){(0,o.on)(this,e,t,"destroy")}},{key:"proxyOnce",value:function(e,t){(0,o.once)(this,e,t,"destroy")}},{key:"hasStart",get:function(){return this._hasStart},set:function(e){"boolean"!=typeof e||!0!==e||this._hasStart||(this._hasStart=!0,this.emit("hasstart"))}},{key:"autoplay",set:function(e){this.video.autoplay=e},get:function(){return this.video.autoplay}},{key:"buffered",get:function(){return this.video.buffered}},{key:"buffered2",get:function(){return(0,o.getBuffered2)(this.video.buffered)}},{key:"crossOrigin",get:function(){return this.video.crossOrigin},set:function(e){this.video.crossOrigin=e}},{key:"currentSrc",get:function(){return this.video.currentSrc}},{key:"currentTime",get:function(){return this.video&&this.video.currentTime||0},set:function(e){var t=this;("function"!=typeof isFinite||isFinite(e))&&((0,o.hasClass)(this.root,"xgplayer-ended")?(this.once("playing",(function(){t.video.currentTime=e})),this.replay()):this.video.currentTime=e,this.emit("currentTimeChange"))}},{key:"defaultMuted",get:function(){return this.video.defaultMuted},set:function(e){this.video.defaultMuted=e}},{key:"duration",get:function(){return this.config.duration?this.video?Math.min(this.config.duration,this.video.duration):this.config.duration:this.video?this.video.duration:null}},{key:"ended",get:function(){return!this.video||this.video.ended||!1}},{key:"error",get:function(){var e=this.video.error;if(!e)return null;var t=[{en:"MEDIA_ERR_ABORTED",cn:"取回过程被用户中止"},{en:"MEDIA_ERR_NETWORK",cn:"当下载时发生错误"},{en:"MEDIA_ERR_DECODE",cn:"当解码时发生错误"},{en:"MEDIA_ERR_SRC_NOT_SUPPORTED",cn:"不支持音频/视频"}];return this.lang?this.lang[t[e.code-1].en]:t[e.code-1].en}},{key:"loop",get:function(){return this.video.loop},set:function(e){this.video.loop=e}},{key:"muted",get:function(){return this.video.muted},set:function(e){this.video.muted=e}},{key:"networkState",get:function(){var e=[{en:"NETWORK_EMPTY",cn:"音频/视频尚未初始化"},{en:"NETWORK_IDLE",cn:"音频/视频是活动的且已选取资源,但并未使用网络"},{en:"NETWORK_LOADING",cn:"浏览器正在下载数据"},{en:"NETWORK_NO_SOURCE",cn:"未找到音频/视频来源"}];return this.lang?this.lang[e[this.video.networkState].en]:e[this.video.networkState].en}},{key:"paused",get:function(){return this.video.paused}},{key:"playbackRate",get:function(){return this.video.playbackRate},set:function(e){this.video.playbackRate=e}},{key:"played",get:function(){return this.video.played}},{key:"preload",get:function(){return this.video.preload},set:function(e){this.video.preload=e}},{key:"readyState",get:function(){var e=[{en:"HAVE_NOTHING",cn:"没有关于音频/视频是否就绪的信息"},{en:"HAVE_METADATA",cn:"关于音频/视频就绪的元数据"},{en:"HAVE_CURRENT_DATA",cn:"关于当前播放位置的数据是可用的,但没有足够的数据来播放下一帧/毫秒"},{en:"HAVE_FUTURE_DATA",cn:"当前及至少下一帧的数据是可用的"},{en:"HAVE_ENOUGH_DATA",cn:"可用数据足以开始播放"}];return this.lang?this.lang[e[this.video.readyState].en]:e[this.video.readyState]}},{key:"seekable",get:function(){return this.video.seekable}},{key:"seeking",get:function(){return this.video.seeking}},{key:"src",get:function(){return this.video.src},set:function(e){(0,o.hasClass)(this.root,"xgplayer-ended")||this.emit("urlchange",this.video.src),this.autoplay=!0,this.video.pause(),this.video.src=e,this.emit("srcChange")}},{key:"poster",set:function(e){var t=(0,o.findDom)(this.root,".xgplayer-poster");t&&(t.style.backgroundImage="url("+e+")")}},{key:"volume",get:function(){return this.video.volume},set:function(e){this.video.volume=e}},{key:"fullscreen",get:function(){return(0,o.hasClass)(this.root,"xgplayer-is-fullscreen")||(0,o.hasClass)(this.root,"xgplayer-fullscreen-active")}},{key:"bullet",get:function(){return!!(0,o.findDom)(this.root,"xg-danmu")&&(0,o.hasClass)((0,o.findDom)(this.root,"xg-danmu"),"xgplayer-has-danmu")}},{key:"textTrack",get:function(){return(0,o.hasClass)(this.root,"xgplayer-is-textTrack")}},{key:"pip",get:function(){return(0,o.hasClass)(this.root,"xgplayer-pip-active")}}]),e}();t.default=l,e.exports=t.default},function(e,t,n){"use strict";var r,i,o,a,s,l,u,c=n(13),f=n(30),h=Function.prototype.apply,d=Function.prototype.call,p=Object.create,g=Object.defineProperty,v=Object.defineProperties,y=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0};i=function(e,t){var n,i;return f(t),i=this,r.call(this,e,n=function(){o.call(i,e,n),h.call(t,this,arguments)}),n.__eeOnceListener__=t,this},s={on:r=function(e,t){var n;return f(t),y.call(this,"__ee__")?n=this.__ee__:(n=m.value=p(null),g(this,"__ee__",m),m.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:i,off:o=function(e,t){var n,r,i,o;if(f(t),!y.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:a=function(e){var t,n,r,i,o;if(y.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)h.call(r,this,o)}else switch(arguments.length){case 1:d.call(i,this);break;case 2:d.call(i,this,arguments[1]);break;case 3:d.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];h.call(i,this,o)}}},l={on:c(r),once:c(i),off:c(o),emit:c(a)},u=v({},l),e.exports=t=function(e){return null==e?p(u):v(Object(e),l)},t.methods=s},function(e,t,n){"use strict";var r=n(6),i=n(14),o=n(18),a=n(26),s=n(27);(e.exports=function(e,t){var n,i,l,u,c;return arguments.length<2||"string"!=typeof e?(u=t,t=e,e=null):u=arguments[2],r(e)?(n=s.call(e,"c"),i=s.call(e,"e"),l=s.call(e,"w")):(n=l=!0,i=!1),c={value:t,configurable:n,enumerable:i,writable:l},u?o(a(u),c):c}).gs=function(e,t,n){var l,u,c,f;return"string"!=typeof e?(c=n,n=t,t=e,e=null):c=arguments[3],r(t)?i(t)?r(n)?i(n)||(c=n,n=void 0):n=void 0:(c=t,t=n=void 0):t=void 0,r(e)?(l=s.call(e,"c"),u=s.call(e,"e")):(l=!0,u=!1),f={get:t,set:n,configurable:l,enumerable:u},c?o(a(c),f):f}},function(e,t,n){"use strict";var r=n(15),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!i.test(o.call(e))}},function(e,t,n){"use strict";var r=n(16);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},function(e,t,n){"use strict";var r=n(6),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(i,typeof e)}},function(e,t,n){"use strict";e.exports=n(19)()?Object.assign:n(20)},function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},function(e,t,n){"use strict";var r=n(21),i=n(25),o=Math.max;e.exports=function(e,t){var n,a,s,l=o(arguments.length,2);for(e=Object(i(e)),s=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},a=1;a<l;++a)r(t=arguments[a]).forEach(s);if(void 0!==n)throw n;return e}},function(e,t,n){"use strict";e.exports=n(22)()?Object.keys:n(23)},function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},function(e,t,n){"use strict";var r=n(3),i=Object.keys;e.exports=function(e){return i(r(e)?Object(e):e)}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},function(e,t,n){"use strict";var r=n(3),i=Array.prototype.forEach,o=Object.create,a=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=o(null);return i.call(arguments,(function(e){r(e)&&a(Object(e),t)})),t}},function(e,t,n){"use strict";e.exports=n(28)()?String.prototype.contains:n(29)},function(e,t,n){"use strict";var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo")}},function(e,t,n){"use strict";var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){"use strict";var r=n(32),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=arguments[1];if(r(e),void 0===n)i.call(e,"__ee__")&&delete e.__ee__;else{if(!(t=i.call(e,"__ee__")&&e.__ee__))return;t[n]&&delete t[n]}}},function(e,t,n){"use strict";var r=n(33);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not an Object");return e}},function(e,t,n){"use strict";var r=n(3),i={function:!0,object:!0};e.exports=function(e){return r(e)&&i[typeof e]||!1}},function(e,t,n){var r=n(35);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default{background:#000;width:100%;height:100%;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;-ms-user-select:none}.xgplayer-skin-default *{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.xgplayer-skin-default.xgplayer-rotate-fullscreen{position:absolute;top:0;left:100%;bottom:0;right:0;height:100vw!important;width:100vh!important;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.xgplayer-skin-default.xgplayer-is-fullscreen{width:100%!important;height:100%!important;padding-top:0!important;z-index:9999}.xgplayer-skin-default.xgplayer-is-fullscreen.xgplayer-inactive{cursor:none}.xgplayer-skin-default video{width:100%;height:100%;outline:none}.xgplayer-skin-default .xgplayer-none{display:none}@-webkit-keyframes loadingRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loadingRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes loadingDashOffset{0%{stroke-dashoffset:236}to{stroke-dashoffset:0}}@keyframes loadingDashOffset{0%{stroke-dashoffset:236}to{stroke-dashoffset:0}}.xgplayer-skin-default .xgplayer-controls{display:-webkit-flex;display:-moz-box;display:flex;position:absolute;bottom:0;left:0;right:0;height:40px;background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.37),rgba(0,0,0,.75),rgba(0,0,0,.75));z-index:10}.xgplayer-skin-default.xgplayer-inactive .xgplayer-controls,.xgplayer-skin-default.xgplayer-is-live .xgplayer-controls .xgplayer-progress,.xgplayer-skin-default.xgplayer-is-live .xgplayer-controls .xgplayer-time,.xgplayer-skin-default.xgplayer-no-controls .xgplayer-controls,.xgplayer-skin-default.xgplayer-nostart .xgplayer-controls{display:none}.xgplayer-skin-default.xgplayer-is-live .xgplayer-controls .xgplayer-live{display:block}.xgplayer-skin-default .xgplayer-live{display:block;font-size:12px;color:#fff;line-height:40px;-webkit-order:1;-moz-box-ordinal-group:2;order:1}.xgplayer-skin-default .xgplayer-icon{display:block;width:40px;height:40px;overflow:hidden;fill:#fff}.xgplayer-skin-default .xgplayer-icon svg{position:absolute}.xgplayer-skin-default .xgplayer-tips{background:rgba(0,0,0,.54);border-radius:1px;display:none;position:absolute;font-family:PingFangSC-Regular;font-size:11px;color:#fff;padding:2px 4px;text-align:center;top:-30px;left:50%;margin-left:-16px;width:auto;white-space:nowrap}.xgplayer-skin-default.xgplayer-mobile .xgplayer-tips{display:none!important}.xgplayer-skin-default .xgplayer-screen-container,.xgplayer-skin-default .xgplayer-screen-container .xgplayer-screen-canvas{width:100%;height:100%}",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"mobile",method:function(){var e=this,t=e.root,n=0,i=void 0,o={first:"",second:""};function a(t){e.video.addEventListener("touchend",(function(t){e.onElementTouchend(t,e.video)})),e.video.addEventListener("touchstart",(function(){e.isTouchMove=!1})),e.video.addEventListener("touchmove",(function(){e.isTouchMove=!0})),e.config.autoplay&&e.start()}e.onElementTouchend=function(e,a){this.config.closeVideoPreventDefault||e.preventDefault(),this.config.closeVideoStopPropagation||e.stopPropagation();var s=this;if((0,r.hasClass)(t,"xgplayer-inactive")?s.emit("focus"):s.emit("blur"),!s.config.closeVideoTouch&&!s.isTouchMove){var l=function(){i=setTimeout((function(){if((0,r.hasClass)(s.root,"xgplayer-nostart"))return!1;if(!s.ended)if(s.paused){var e=s.play();void 0!==e&&e&&e.catch((function(e){}))}else s.pause();n=0}),200)};s.config.closeVideoClick||(n++,i&&clearTimeout(i),1===n?s.config.enableVideoDbltouch?o.first=new Date:l():2===n&&s.config.enableVideoDbltouch?(o.second=new Date,Math.abs(o.first-o.second)<400?l():(o.first=new Date,n=1)):n=0)}},e.once("ready",a),e.once("destroy",(function t(){e.off("ready",a),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"pc",method:function(){var e=this;if(e.controls&&e.video){var t=e.controls,n=e.root,i=0,o=void 0;e.onElementClick=function(e,t){this.config.closeVideoPreventDefault||e.preventDefault(),this.config.closeVideoStopPropagation||e.stopPropagation();var n=this;n.config.closeVideoClick||(i++,o&&clearTimeout(o),1===i?o=setTimeout((function(){if((0,r.hasClass)(n.root,"xgplayer-nostart"))return!1;if(!n.ended)if(n.paused){var e=n.play();void 0!==e&&e&&e.catch((function(e){}))}else n.pause();i=0}),200):i=0)},e.video.addEventListener("click",(function(t){e.onElementClick(t,e.video)}),!1),e.onElementDblclick=function(e,n){if(this.config.closeVideoPreventDefault||e.preventDefault(),this.config.closeVideoStopPropagation||e.stopPropagation(),!this.config.closeVideoDblclick){var r=t.querySelector(".xgplayer-fullscreen");if(r){var i=void 0;document.createEvent?(i=document.createEvent("Event")).initEvent("click",!0,!0):i=new Event("click"),r.dispatchEvent(i)}}},e.video.addEventListener("dblclick",(function(t){e.onElementDblclick(t,e.video)}),!1),n.addEventListener("mouseenter",a),n.addEventListener("mouseleave",s),t.addEventListener("mouseenter",(function(t){e.userTimer&&clearTimeout(e.userTimer)})),t.addEventListener("mouseleave",(function(t){e.config.closeControlsBlur||e.emit("focus",e)})),t.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation()})),e.once("ready",l),e.once("destroy",(function t(){n.removeEventListener("mouseenter",a),n.removeEventListener("mouseleave",s),e.off("ready",l),e.off("destroy",t)}))}function a(){clearTimeout(e.leavePlayerTimer),e.emit("focus",e)}function s(){e.config.closePlayerBlur||(e.leavePlayerTimer=setTimeout((function(){e.emit("blur",e)}),e.config.leavePlayerTime||0))}function l(t){e.config.autoplay&&e.start()}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"start",method:function(){var e=this,t=e.root;function n(){e.off("canplay",n);var t=e.play();void 0!==t&&t&&t.catch((function(e){}))}function i(){(0,r.hasClass)(t,"xgplayer-nostart")?((0,r.removeClass)(t,"xgplayer-nostart"),(0,r.addClass)(t,"xgplayer-is-enter"),"function"==typeof t.contains?e.video&&1===e.video.nodeType&&!t.contains(e.video)||e.video&&1!==e.video.nodeType&&"ready"!==e.video.audioPlayer.status?(e.once("canplay",n),e.start()):n():e.video&&1===e.video.nodeType&&!t.querySelector(this.videoConfig.mediaType)||e.video&&1!==e.video.nodeType&&!t.querySelector("canvas")&&"ready"!==e.video.audioPlayer.status?(e.once("canplay",n),e.start()):n()):e.paused&&((0,r.removeClass)(t,"xgplayer-nostart xgplayer-isloading"),setTimeout((function(){var t=e.play();void 0!==t&&t&&t.catch((function(e){}))}),10))}e.on("startBtnClick",i),e.once("destroy",(function t(){e.off("startBtnClick",i),e.off("canplay",n),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=a(n(41)),o=a(n(42));function a(e){return e&&e.__esModule?e:{default:e}}n(43),t.default={name:"s_start",method:function(){var e=this,t=e.root,n=(0,r.createDom)("xg-start",'<div class="xgplayer-icon-play">'+i.default+'</div>\n <div class="xgplayer-icon-pause">'+o.default+"</div>",{},"xgplayer-start");function a(e){(0,r.addClass)(e.root,"xgplayer-skin-default"),e.config&&(e.config.autoplay&&!(0,r.isWeiXin)()&&!(0,r.isUc)()&&(0,r.addClass)(e.root,"xgplayer-is-enter"),e.config.lang&&"en"===e.config.lang?(0,r.addClass)(e.root,"xgplayer-lang-is-en"):"jp"===e.config.lang&&(0,r.addClass)(e.root,"xgplayer-lang-is-jp"),e.config.enableContextmenu||e.video.addEventListener("contextmenu",(function(e){e.preventDefault(),e.stopPropagation()})))}e.config&&e.config.hideStartBtn&&(0,r.addClass)(t,"xgplayer-start-hide"),e.isReady?(t.appendChild(n),a(e)):e.once("ready",(function(){t.appendChild(n),a(e)})),e.once("autoplay was prevented",(function(){(0,r.removeClass)(e.root,"xgplayer-is-enter"),(0,r.addClass)(e.root,"xgplayer-nostart")})),e.once("canplay",(function(){(0,r.removeClass)(e.root,"xgplayer-is-enter")})),n.onclick=function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("startBtnClick")}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" viewBox="0 0 70 70">\n <path transform="translate(15,15) scale(0.04,0.04)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>\n</svg>\n'},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" viewBox="0 0 70 70">\n <path transform="translate(15,15) scale(0.04 0.04)" d="M598,214h170v596h-170v-596zM256 810v-596h170v596h-170z"></path>\n</svg>\n'},function(e,t,n){var r=n(44);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-start{border-radius:50%;display:inline-block;width:70px;height:70px;background:rgba(0,0,0,.38);overflow:hidden;text-align:center;line-height:70px;vertical-align:middle;position:absolute;left:50%;top:50%;z-index:115;margin:-35px auto auto -35px;cursor:pointer}.xgplayer-skin-default .xgplayer-start div{position:absolute}.xgplayer-skin-default .xgplayer-start div svg{fill:hsla(0,0%,100%,.7)}.xgplayer-skin-default .xgplayer-start .xgplayer-icon-play{display:block}.xgplayer-skin-default .xgplayer-start .xgplayer-icon-pause{display:none}.xgplayer-skin-default .xgplayer-start:hover{opacity:.85}.xgplayer-skin-default.xgplayer-pause.xgplayer-start-hide .xgplayer-start,.xgplayer-skin-default.xgplayer-playing .xgplayer-start,.xgplayer-skin-default.xgplayer-playing .xgplayer-start .xgplayer-icon-play,.xgplayer-skin-default.xgplayer-start-hide .xgplayer-start{display:none}.xgplayer-skin-default.xgplayer-playing .xgplayer-start .xgplayer-icon-pause{display:block}.xgplayer-skin-default.xgplayer-pause .xgplayer-start{display:inline-block}.xgplayer-skin-default.xgplayer-pause .xgplayer-start .xgplayer-icon-play{display:block}.xgplayer-skin-default.xgplayer-is-replay .xgplayer-start,.xgplayer-skin-default.xgplayer-pause .xgplayer-start .xgplayer-icon-pause{display:none}.xgplayer-skin-default.xgplayer-is-replay .xgplayer-start .xgplayer-icon-play{display:block}.xgplayer-skin-default.xgplayer-is-replay .xgplayer-start .xgplayer-icon-pause{display:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"fullscreen",method:function(){var e=this,t=e.root;function n(){e.config.rotateFullscreen?(0,r.hasClass)(t,"xgplayer-rotate-fullscreen")?e.exitRotateFullscreen():e.getRotateFullscreen():(0,r.hasClass)(t,"xgplayer-is-fullscreen")?e.exitFullscreen(t):e.getFullscreen(t)}function i(){var n=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;n&&n===t?((0,r.addClass)(t,"xgplayer-is-fullscreen"),e.emit("requestFullscreen")):(0,r.hasClass)(t,"xgplayer-is-fullscreen")&&((0,r.removeClass)(t,"xgplayer-is-fullscreen"),e.emit("exitFullscreen")),e.danmu&&"function"==typeof e.danmu.resize&&e.danmu.resize()}e.on("fullscreenBtnClick",n),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"].forEach((function(e){document.addEventListener(e,i)})),e.video.addEventListener("webkitbeginfullscreen",(function(){(0,r.addClass)(t,"xgplayer-is-fullscreen"),e.emit("requestFullscreen")})),e.video.addEventListener("webkitendfullscreen",(function(){(0,r.removeClass)(t,"xgplayer-is-fullscreen"),e.emit("exitFullscreen")})),e.once("destroy",(function t(){e.off("fullscreenBtnClick",n),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"].forEach((function(e){document.removeEventListener(e,i)})),e.off("destroy",t)})),e.getFullscreen=function(e){var t=this;if(e.requestFullscreen){var n=e.requestFullscreen();n&&n.catch((function(){t.emit("fullscreen error")}))}else e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT):t.video.webkitSupportsFullscreen?t.video.webkitEnterFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():(0,r.addClass)(e,"xgplayer-is-cssfullscreen")},e.exitFullscreen=function(e){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),(0,r.removeClass)(e,"xgplayer-is-cssfullscreen")},e.getRotateFullscreen=function(){document.documentElement.style.width="100%",document.documentElement.style.height="100%",this.root&&!(0,r.hasClass)(this.root,"xgplayer-rotate-fullscreen")&&(0,r.addClass)(this.root,"xgplayer-rotate-fullscreen"),this.emit("getRotateFullscreen")},e.exitRotateFullscreen=function(){document.documentElement.style.width="unset",document.documentElement.style.height="unset",this.root&&(0,r.hasClass)(this.root,"xgplayer-rotate-fullscreen")&&(0,r.removeClass)(this.root,"xgplayer-rotate-fullscreen"),this.emit("exitRotateFullscreen")}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"play",method:function(){var e=this;function t(){if(e.config.allowPlayAfterEnded||!e.ended)if(e.paused){var t=e.play();void 0!==t&&t&&t.catch((function(e){}))}else e.pause()}e.on("playBtnClick",t),e.once("destroy",(function n(){e.off("playBtnClick",t),e.off("destroy",n)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"replay",method:function(){var e=this,t=e.root;function n(){(0,r.removeClass)(t,"xgplayer-is-replay"),e.replay()}e.on("replayBtnClick",n),e.on("ended",(function(){e.config.loop||(0,r.addClass)(t,"xgplayer-is-replay")})),e.once("destroy",(function t(){e.off("replayBtnClick",n),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=a(n(49)),o=a(n(50));function a(e){return e&&e.__esModule?e:{default:e}}n(51),t.default={name:"s_play",method:function(){var e=this,t=e.config.playBtn?e.config.playBtn:{},n=void 0;n="img"===t.type?(0,r.createImgBtn)("play",t.url.play,t.width,t.height):(0,r.createDom)("xg-play",'<xg-icon class="xgplayer-icon">\n <div class="xgplayer-icon-play">'+i.default+'</div>\n <div class="xgplayer-icon-pause">'+o.default+"</div>\n </xg-icon>",{},"xgplayer-play");var a={};a.play=e.lang.PLAY_TIPS,a.pause=e.lang.PAUSE_TIPS;var s=(0,r.createDom)("xg-tips",'<span class="xgplayer-tip-play">'+a.play+'</span>\n <span class="xgplayer-tip-pause">'+a.pause+"</span>",{},"xgplayer-tips");n.appendChild(s),e.once("ready",(function(){e.controls&&e.controls.appendChild(n)})),["click","touchend"].forEach((function(t){n.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("playBtnClick")}))}))}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="translate(2,2) scale(0.0320625 0.0320625)" d="M576,363L810,512L576,661zM342,214L576,363L576,661L342,810z"></path>\n</svg>\n'},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="translate(2,2) scale(0.0320625 0.0320625)" d="M598,214h170v596h-170v-596zM256 810v-596h170v596h-170z"></path>\n</svg>\n'},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-play,.xgplayer-skin-default .xgplayer-play-img{width:40px;position:relative;-webkit-order:0;-moz-box-ordinal-group:1;order:0;display:block;cursor:pointer;margin-left:3px}.xgplayer-skin-default .xgplayer-play-img .xgplayer-icon,.xgplayer-skin-default .xgplayer-play .xgplayer-icon{margin-top:3px;width:32px}.xgplayer-skin-default .xgplayer-play-img .xgplayer-icon div,.xgplayer-skin-default .xgplayer-play .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-play-img .xgplayer-icon .xgplayer-icon-play,.xgplayer-skin-default .xgplayer-play .xgplayer-icon .xgplayer-icon-play{display:block}.xgplayer-skin-default .xgplayer-play-img .xgplayer-icon .xgplayer-icon-pause,.xgplayer-skin-default .xgplayer-play .xgplayer-icon .xgplayer-icon-pause{display:none}.xgplayer-skin-default .xgplayer-play-img .xgplayer-tips .xgplayer-tip-play,.xgplayer-skin-default .xgplayer-play .xgplayer-tips .xgplayer-tip-play{display:block}.xgplayer-skin-default .xgplayer-play-img .xgplayer-tips .xgplayer-tip-pause,.xgplayer-skin-default .xgplayer-play .xgplayer-tips .xgplayer-tip-pause{display:none}.xgplayer-skin-default .xgplayer-play-img:hover,.xgplayer-skin-default .xgplayer-play:hover{opacity:.85}.xgplayer-skin-default .xgplayer-play-img:hover .xgplayer-tips,.xgplayer-skin-default .xgplayer-play:hover .xgplayer-tips{display:block}.xgplayer-skin-default.xgplayer-playing .xgplayer-play-img .xgplayer-icon .xgplayer-icon-play,.xgplayer-skin-default.xgplayer-playing .xgplayer-play .xgplayer-icon .xgplayer-icon-play{display:none}.xgplayer-skin-default.xgplayer-playing .xgplayer-play-img .xgplayer-icon .xgplayer-icon-pause,.xgplayer-skin-default.xgplayer-playing .xgplayer-play .xgplayer-icon .xgplayer-icon-pause{display:block}.xgplayer-skin-default.xgplayer-playing .xgplayer-play-img .xgplayer-tips .xgplayer-tip-play,.xgplayer-skin-default.xgplayer-playing .xgplayer-play .xgplayer-tips .xgplayer-tip-play{display:none}.xgplayer-skin-default.xgplayer-pause .xgplayer-play-img .xgplayer-icon .xgplayer-icon-play,.xgplayer-skin-default.xgplayer-pause .xgplayer-play .xgplayer-icon .xgplayer-icon-play,.xgplayer-skin-default.xgplayer-playing .xgplayer-play-img .xgplayer-tips .xgplayer-tip-pause,.xgplayer-skin-default.xgplayer-playing .xgplayer-play .xgplayer-tips .xgplayer-tip-pause{display:block}.xgplayer-skin-default.xgplayer-pause .xgplayer-play-img .xgplayer-icon .xgplayer-icon-pause,.xgplayer-skin-default.xgplayer-pause .xgplayer-play .xgplayer-icon .xgplayer-icon-pause{display:none}.xgplayer-skin-default.xgplayer-pause .xgplayer-play-img .xgplayer-tips .xgplayer-tip-play,.xgplayer-skin-default.xgplayer-pause .xgplayer-play .xgplayer-tips .xgplayer-tip-play{display:block}.xgplayer-skin-default.xgplayer-pause .xgplayer-play-img .xgplayer-tips .xgplayer-tip-pause,.xgplayer-skin-default.xgplayer-pause .xgplayer-play .xgplayer-tips .xgplayer-tip-pause{display:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(54),t.default={name:"s_poster",method:function(){var e=this.root;if(this.config.poster){var t=(0,r.createDom)("xg-poster","",{},"xgplayer-poster");t.style.backgroundImage="url("+this.config.poster+")",e.appendChild(t)}}},e.exports=t.default},function(e,t,n){var r=n(55);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-poster{display:none;position:absolute;left:0;top:0;width:100%;height:100%;z-index:100;background-size:cover;background-position:50%}.xgplayer-skin-default.xgplayer-nostart .xgplayer-poster{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(57),t.default={name:"s_flex",method:function(){var e=(0,r.createDom)("xg-placeholder","",{},"xgplayer-placeholder");this.controls.appendChild(e)}},e.exports=t.default},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-placeholder{-webkit-flex:1;-moz-box-flex:1;flex:1;-webkit-order:3;-moz-box-ordinal-group:4;order:3;display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=a(n(60)),o=a(n(61));function a(e){return e&&e.__esModule?e:{default:e}}n(62),t.default={name:"s_fullscreen",method:function(){var e=this,t=e.config.fullscreenBtn?e.config.fullscreenBtn:{},n=void 0;n="img"===t.type?(0,r.createImgBtn)("fullscreen",t.url.request,t.width,t.height):(0,r.createDom)("xg-fullscreen",'<xg-icon class="xgplayer-icon">\n <div class="xgplayer-icon-requestfull">'+i.default+'</div>\n <div class="xgplayer-icon-exitfull">'+o.default+"</div>\n </xg-icon>",{},"xgplayer-fullscreen");var a={};a.requestfull=e.lang.FULLSCREEN_TIPS,a.exitfull=e.lang.EXITFULLSCREEN_TIPS;var s=(0,r.createDom)("xg-tips",'<span class="xgplayer-tip-requestfull">'+a.requestfull+'</span>\n <span class="xgplayer-tip-exitfull">'+a.exitfull+"</span>",{},"xgplayer-tips");n.appendChild(s),e.once("ready",(function(){e.controls&&e.controls.appendChild(n)})),["click","touchend"].forEach((function(t){n.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("fullscreenBtnClick")}))}))}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="scale(0.0320625 0.0320625)" d="M598 214h212v212h-84v-128h-128v-84zM726 726v-128h84v212h-212v-84h128zM214 426v-212h212v84h-128v128h-84zM298 598v128h128v84h-212v-212h84z"></path>\n</svg>\n'},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="scale(0.0320625 0.0320625)" d="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z"></path>\n</svg>\n'},function(e,t,n){var r=n(63);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-fullscreen,.xgplayer-skin-default .xgplayer-fullscreen-img{position:relative;-webkit-order:13;-moz-box-ordinal-group:14;order:13;display:block;cursor:pointer;margin-left:5px;margin-right:3px}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-icon,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-icon{margin-top:3px}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-icon div,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-icon .xgplayer-icon-requestfull,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-icon .xgplayer-icon-requestfull{display:block}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-icon .xgplayer-icon-exitfull,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-icon .xgplayer-icon-exitfull{display:none}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-tips,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-tips{position:absolute;right:0;left:auto}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-tips .xgplayer-tip-requestfull,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-tips .xgplayer-tip-requestfull{display:block}.xgplayer-skin-default .xgplayer-fullscreen-img .xgplayer-tips .xgplayer-tip-exitfull,.xgplayer-skin-default .xgplayer-fullscreen .xgplayer-tips .xgplayer-tip-exitfull{display:none}.xgplayer-skin-default .xgplayer-fullscreen-img:hover,.xgplayer-skin-default .xgplayer-fullscreen:hover{opacity:.85}.xgplayer-skin-default .xgplayer-fullscreen-img:hover .xgplayer-tips,.xgplayer-skin-default .xgplayer-fullscreen:hover .xgplayer-tips{display:block}.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen-img .xgplayer-icon .xgplayer-icon-requestfull,.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen .xgplayer-icon .xgplayer-icon-requestfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen-img .xgplayer-icon .xgplayer-icon-requestfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen .xgplayer-icon .xgplayer-icon-requestfull{display:none}.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen-img .xgplayer-icon .xgplayer-icon-exitfull,.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen .xgplayer-icon .xgplayer-icon-exitfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen-img .xgplayer-icon .xgplayer-icon-exitfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen .xgplayer-icon .xgplayer-icon-exitfull{display:block}.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen-img .xgplayer-tips .xgplayer-tip-requestfull,.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen .xgplayer-tips .xgplayer-tip-requestfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen-img .xgplayer-tips .xgplayer-tip-requestfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen .xgplayer-tips .xgplayer-tip-requestfull{display:none}.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen-img .xgplayer-tips .xgplayer-tip-exitfull,.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-fullscreen .xgplayer-tips .xgplayer-tip-exitfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen-img .xgplayer-tips .xgplayer-tip-exitfull,.xgplayer-skin-default.xgplayer-rotate-fullscreen .xgplayer-fullscreen .xgplayer-tips .xgplayer-tip-exitfull{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(65),a=(r=o)&&r.__esModule?r:{default:r};n(66),t.default={name:"s_loading",method:function(){var e=this.root,t=(0,i.createDom)("xg-loading",""+a.default,{},"xgplayer-loading");this.once("ready",(function(){e.appendChild(t)}))}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewbox="0 0 100 100">\n <path d="M100,50A50,50,0,1,1,50,0"></path>\n</svg>\n'},function(e,t,n){var r=n(67);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-loading{display:none;width:100px;height:100px;overflow:hidden;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7);position:absolute;left:50%;top:50%;margin:-50px auto auto -50px}.xgplayer-skin-default .xgplayer-loading svg{border-radius:50%;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-animation:loadingRotate 1s linear infinite;animation:loadingRotate 1s linear infinite}.xgplayer-skin-default .xgplayer-loading svg path{stroke:#ddd;stroke-dasharray:236;-webkit-animation:loadingDashOffset 2s linear infinite;animation:loadingDashOffset 2s linear infinite;animation-direction:alternate-reverse;fill:none;stroke-width:12px}.xgplayer-skin-default.xgplayer-nostart .xgplayer-loading{display:none}.xgplayer-skin-default.xgplayer-pause .xgplayer-loading{display:none!important}.xgplayer-skin-default.xgplayer-isloading .xgplayer-loading{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(4),a=(r=o)&&r.__esModule?r:{default:r};n(69);var s=function(e){return(0,i.hasClass)(e.root,"xgplayer-rotate-fullscreen")};t.default={name:"s_progress",method:function(){var e=this,t=(0,i.createDom)("xg-progress",'<xg-outer class="xgplayer-progress-outer">\n <xg-cache class="xgplayer-progress-cache"></xg-cache>\n <xg-played class="xgplayer-progress-played">\n <xg-progress-btn class="xgplayer-progress-btn"></xg-progress-btn>\n <xg-point class="xgplayer-progress-point xgplayer-tips"></xg-point>\n <xg-thumbnail class="xgplayer-progress-thumbnail xgplayer-tips"></xg-thumbnail>\n </xg-played>\n </xg-outer>',{tabindex:1},"xgplayer-progress"),n=void 0;e.controls.appendChild(t);var r=t.querySelector(".xgplayer-progress-played"),o=t.querySelector(".xgplayer-progress-outer"),l=t.querySelector(".xgplayer-progress-cache"),u=t.querySelector(".xgplayer-progress-point"),c=t.querySelector(".xgplayer-progress-thumbnail");function f(n,r){n.addEventListener("mouseenter",(function(e){r&&((0,i.addClass)(n,"xgplayer-progress-dot-show"),(0,i.addClass)(t,"xgplayer-progress-dot-active"))})),n.addEventListener("mouseleave",(function(e){r&&((0,i.removeClass)(n,"xgplayer-progress-dot-show"),(0,i.removeClass)(t,"xgplayer-progress-dot-active"))})),n.addEventListener("touchend",(function(o){o.stopPropagation(),r&&((0,i.hasClass)(n,"xgplayer-progress-dot-show")||Object.keys(e.dotArr).forEach((function(t){e.dotArr[t]&&(0,i.removeClass)(e.dotArr[t],"xgplayer-progress-dot-show")})),(0,i.toggleClass)(n,"xgplayer-progress-dot-show"),(0,i.toggleClass)(t,"xgplayer-progress-dot-active"))}))}function h(){e.config.progressDot&&"Array"===(0,i.typeOf)(e.config.progressDot)&&e.config.progressDot.forEach((function(t){if(t.time>=0&&t.time<=e.duration){var n=(0,i.createDom)("xg-progress-dot",t.text?'<span class="xgplayer-progress-tip">'+t.text+"</span>":"",{},"xgplayer-progress-dot");if(n.style.left=t.time/e.duration*100+"%",t.duration>=0&&(n.style.width=Math.min(t.duration,e.duration-t.time)/e.duration*100+"%"),t.style)for(var r in t.style)n.style[r]=t.style[r];o.appendChild(n),e.dotArr[t.time]=n,f(n,t.text)}}))}e.dotArr={},e.once("canplay",h),e.addProgressDot=function(t,n,r,a){if(!e.dotArr[t]&&t>=0&&t<=e.duration){var s=(0,i.createDom)("xg-progress-dot",n?'<span class="xgplayer-progress-tip">'+n+"</span>":"",{},"xgplayer-progress-dot");if(s.style.left=t/e.duration*100+"%",r>=0&&(s.style.width=Math.min(r,e.duration-t)/e.duration*100+"%"),a)for(var l in a)s.style[l]=a[l];o.appendChild(s),e.dotArr[t]=s,f(s,n)}},e.removeProgressDot=function(t){if(t>=0&&t<=e.duration&&e.dotArr[t]){var n=e.dotArr[t];n.parentNode.removeChild(n),n=null,e.dotArr[t]=null}},e.removeAllProgressDot=function(){Object.keys(e.dotArr).forEach((function(t){if(e.dotArr[t]){var n=e.dotArr[t];n.parentNode.removeChild(n),n=null,e.dotArr[t]=null}}))};var d=0,p=0,g=0,v=0,y=0,m=0,b=[],_=void 0,x=void 0,w=function(){e.config.thumbnail&&(e.config.thumbnail.isShowCoverPreview&&!_&&(r.removeChild(c),_=(0,i.createDom)("xg-coverpreview",'<xg-outer class="xgplayer-coverpreview-outer">\n <xg-thumbnail class="xgplayer-coverpreview-thumbnail"></xg-thumbnail>\n <xg-point class="xgplayer-coverpreview-point"></xg-point>\n </xg-outer>',{tabindex:1},"xgplayer-coverpreview"),_.querySelector(".xgplayer-coverpreview-outer"),x=_.querySelector(".xgplayer-coverpreview-point"),c=_.querySelector(".xgplayer-coverpreview-thumbnail"),e.root.appendChild(_)),d=e.config.thumbnail.pic_num,p=e.config.thumbnail.width,g=e.config.thumbnail.height,v=e.config.thumbnail.col,y=e.config.thumbnail.row,b=e.config.thumbnail.urls,c.style.width=p+"px",c.style.height=g+"px")};e.on("loadedmetadata",w),"function"==typeof e.config.disableSwipeHandler&&"function"==typeof e.config.enableSwipeHandler&&(e.root.addEventListener("touchmove",(function(t){t.preventDefault(),e.disableSwipe||(e.disableSwipe=!0,e.config.disableSwipeHandler.call(e))})),e.root.addEventListener("touchstart",(function(t){e.disableSwipe=!0,e.config.disableSwipeHandler.call(e)})),e.root.addEventListener("touchend",(function(t){e.disableSwipe=!1,e.config.enableSwipeHandler.call(e)}))),["touchstart","mousedown"].forEach((function(o){t.addEventListener(o,(function(o){if(!e.config.disableProgress){if(o.stopPropagation(),(0,i.event)(o),o._target===u||!e.config.allowSeekAfterEnded&&e.ended)return!0;t.focus();var l=r.getBoundingClientRect().left,f=s(e);f?(l=r.getBoundingClientRect().top,n=t.getBoundingClientRect().height):(n=t.getBoundingClientRect().width,l=r.getBoundingClientRect().left);var h=function(t){t.stopPropagation(),(0,i.event)(t),e.isProgressMoving=!0;var o=(f?t.clientY:t.clientX)-l;o>n&&(o=n);var a=o/n*e.duration;if(a<0&&(a=0),e.config.allowSeekPlayed&&Number(a).toFixed(1)>e.maxPlayedTime);else if(r.style.width=100*o/n+"%","video"!==e.videoConfig.mediaType||e.dash||e.config.closeMoveSeek){var s=(0,i.findDom)(e.controls,".xgplayer-time");s&&(s.innerHTML='<span class="xgplayer-time-current">'+(0,i.format)(a||0)+"</span><span>"+(0,i.format)(e.duration)+"</span>")}else e.currentTime=Number(a).toFixed(1);if(e.config.thumbnail&&e.config.thumbnail.isShowCoverPreview){x.innerHTML="<span>"+(0,i.format)(a)+"</span> / "+(0,i.format)(e.duration||0),m=e.duration/d;var u=Math.floor(a/m);c.style.backgroundImage="url("+b[Math.ceil((u+1)/(v*y))-1]+")";var h=u+1-v*y*(Math.ceil((u+1)/(v*y))-1),w=Math.ceil(h/y)-1,S=h-w*y-1;c.style["background-position"]="-"+S*p+"px -"+w*g+"px",_.style.display="block"}e.emit("focus")},w=function o(s){if(s.stopPropagation(),(0,i.event)(s),window.removeEventListener("mousemove",h),window.removeEventListener("touchmove",h,{passive:!1}),window.removeEventListener("mouseup",o),window.removeEventListener("touchend",o),a.default.browser.indexOf("ie")<0&&t.blur(),!e.isProgressMoving||e.videoConfig&&"audio"===e.videoConfig.mediaType||e.dash||e.config.closeMoveSeek){var u=(f?s.clientY:s.clientX)-l;u>n&&(u=n);var c=u/n*e.duration;c<0&&(c=0),e.config.allowSeekPlayed&&Number(c).toFixed(1)>e.maxPlayedTime||(r.style.width=100*u/n+"%",e.currentTime=Number(c).toFixed(1))}e.config.thumbnail&&e.config.thumbnail.isShowCoverPreview&&(_.style.display="none"),e.emit("focus"),e.isProgressMoving=!1};return window.addEventListener("mousemove",h),window.addEventListener("touchmove",h,{passive:!1}),window.addEventListener("mouseup",w),window.addEventListener("touchend",w),!0}}))})),t.addEventListener("mouseenter",(function(n){if(!e.config.allowSeekAfterEnded&&e.ended)return!0;var r=s(e),o=r?t.getBoundingClientRect().top:t.getBoundingClientRect().left,a=r?t.getBoundingClientRect().height:t.getBoundingClientRect().width,l=function(n){var s=((r?n.clientY:n.clientX)-o)/a*e.duration;s=s<0?0:s,u.textContent=(0,i.format)(s);var l=u.getBoundingClientRect().width;if(e.config.thumbnail&&!e.config.thumbnail.isShowCoverPreview){m=e.duration/d;var f=Math.floor(s/m);c.style.backgroundImage="url("+b[Math.ceil((f+1)/(v*y))-1]+")";var h=f+1-v*y*(Math.ceil((f+1)/(v*y))-1),_=Math.ceil(h/y)-1,x=h-_*y-1;c.style["background-position"]="-"+x*p+"px -"+_*g+"px";var w=(r?n.clientY:n.clientX)-o-p/2;w=(w=w>0?w:0)<a-p?w:a-p,c.style.left=w+"px",c.style.top=-10-g+"px",c.style.display="block",u.style.left=w+p/2-l/2+"px"}else{var S=n.clientX-o-l/2;S=(S=S>0?S:0)>a-l?a-l:S,u.style.left=S+"px"}(0,i.hasClass)(t,"xgplayer-progress-dot-active")?u.style.display="none":u.style.display="block"},f=function(e){l(e)};t.addEventListener("mousemove",f,!1),t.addEventListener("mouseleave",(function n(r){t.removeEventListener("mousemove",f,!1),t.removeEventListener("mouseleave",n,!1),l(r),u.style.display="none",e.config.thumbnail&&!e.config.thumbnail.isShowCoverPreview&&(c.style.display="none")}),!1),l(n)}),!1);var S=function(){if(void 0===e.maxPlayedTime&&(e.maxPlayedTime=0),e.maxPlayedTime<e.currentTime&&(e.maxPlayedTime=e.currentTime),!n&&t&&(n=t.getBoundingClientRect().width),"audio"!==e.videoConfig.mediaType||!e.isProgressMoving||!e.dash){var i=e.currentTime/e.duration,o=Number(r.style.width.replace("%","")||"0")/Number(t.style.width||"100");Math.abs(i-o)<=1&&(r.style.width=100*e.currentTime/e.duration+"%")}};e.on("timeupdate",S);var k=function(){r.style.width=100*e.currentTime/e.duration+"%"};e.on("currentTimeChange",k);var E=function(){r.style.width="0%"};e.on("srcChange",E);var O=function(){var t=e.buffered;if(t&&t.length>0){for(var n=t.end(t.length-1),r=0,i=t.length;r<i;r++)if(e.currentTime>=t.start(r)&&e.currentTime<=t.end(r)){n=t.end(r);for(var o=r+1;o<t.length;o++)if(t.start(o)-t.end(o-1)>=2){n=t.end(o-1);break}break}l.style.width=n/e.duration*100+"%"}},C=["bufferedChange","cacheupdate","ended","timeupdate"];C.forEach((function(t){e.on(t,O)})),e.once("destroy",(function t(){e.removeAllProgressDot(),e.off("canplay",h),e.off("timeupdate",S),e.off("currentTimeChange",k),e.off("srcChange",E),e.off("loadedmetadata",w),C.forEach((function(t){e.off(t,O)})),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-progress{display:block;position:absolute;height:20px;line-height:20px;left:12px;right:12px;outline:none;top:-15px;z-index:35}.xgplayer-skin-default .xgplayer-progress-outer{background:hsla(0,0%,100%,.3);display:block;height:3px;line-height:3px;margin-top:8.5px;width:100%;position:relative;cursor:pointer}.xgplayer-skin-default .xgplayer-progress-cache,.xgplayer-skin-default .xgplayer-progress-played{display:block;height:100%;line-height:1;position:absolute;left:0;top:0}.xgplayer-skin-default .xgplayer-progress-cache{width:0;background:hsla(0,0%,100%,.5)}.xgplayer-skin-default .xgplayer-progress-played{display:block;width:0;background-image:linear-gradient(-90deg,#fa1f41,#e31106);border-radius:0 1.5px 1.5px 0}.xgplayer-skin-default .xgplayer-progress-btn{display:none;position:absolute;left:0;top:-5px;width:13px;height:13px;border-radius:30px;background:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.26);left:100%;-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%);z-index:36}.xgplayer-skin-default .xgplayer-progress-point{position:absolute}.xgplayer-skin-default .xgplayer-progress-point.xgplayer-tips{margin-left:0;top:-25px;display:none;z-index:100}.xgplayer-skin-default .xgplayer-progress-dot{display:inline-block;position:absolute;height:3px;width:5px;top:0;background:#fff;border-radius:6px;z-index:16}.xgplayer-skin-default .xgplayer-progress-dot .xgplayer-progress-tip{position:absolute;bottom:200%;right:50%;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);height:auto;line-height:30px;width:auto;background:rgba(0,0,0,.3);border-radius:6px;border:1px solid rgba(0,0,0,.8);cursor:default;white-space:nowrap;display:none}.xgplayer-skin-default .xgplayer-progress-dot-show .xgplayer-progress-tip{display:block}.xgplayer-skin-default .xgplayer-progress-thumbnail{position:absolute;-moz-box-sizing:border-box;box-sizing:border-box}.xgplayer-skin-default .xgplayer-progress-thumbnail.xgplayer-tips{margin-left:0;display:none;z-index:99}.xgplayer-skin-default .xgplayer-coverpreview{position:absolute;width:100%;height:100%;top:0;left:0;display:none}.xgplayer-skin-default .xgplayer-coverpreview .xgplayer-coverpreview-outer{position:absolute;display:block;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.xgplayer-skin-default .xgplayer-coverpreview .xgplayer-coverpreview-outer .xgplayer-coverpreview-thumbnail{display:block}.xgplayer-skin-default .xgplayer-coverpreview .xgplayer-coverpreview-outer .xgplayer-coverpreview-point{display:block;text-align:center;font-family:PingFangSC-Regular;font-size:11px;color:#ccc;padding:2px 4px}.xgplayer-skin-default .xgplayer-coverpreview .xgplayer-coverpreview-outer .xgplayer-coverpreview-point span{color:#fff}.xgplayer-skin-default .xgplayer-progress:focus .xgplayer-progress-outer,.xgplayer-skin-default .xgplayer-progress:hover .xgplayer-progress-outer{height:6px;margin-top:7px}.xgplayer-skin-default .xgplayer-progress:focus .xgplayer-progress-dot,.xgplayer-skin-default .xgplayer-progress:hover .xgplayer-progress-dot{height:6px}.xgplayer-skin-default .xgplayer-progress:focus .xgplayer-progress-btn,.xgplayer-skin-default .xgplayer-progress:hover .xgplayer-progress-btn{display:block;top:-3px}.xgplayer-skin-default.xgplayer-definition-active .xgplayer-progress,.xgplayer-skin-default.xgplayer-playbackrate-active .xgplayer-progress,.xgplayer-skin-default.xgplayer-texttrack-active .xgplayer-progress,.xgplayer-skin-default.xgplayer-volume-active .xgplayer-progress{z-index:15}.xgplayer-skin-default.xgplayer-mobile .xgplayer-progress-btn{display:block!important}.xgplayer-skin-default.xgplayer-mobile .xgplayer-progress:focus .xgplayer-progress-outer,.xgplayer-skin-default.xgplayer-mobile .xgplayer-progress:hover .xgplayer-progress-outer{height:3px!important;margin-top:8.5px!important}.xgplayer-skin-default.xgplayer-mobile .xgplayer-progress:focus .xgplayer-progress-btn,.xgplayer-skin-default.xgplayer-mobile .xgplayer-progress:hover .xgplayer-progress-btn{display:block!important;top:-5px!important}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(72),t.default={name:"s_time",method:function(){var e=this,t=(0,r.createDom)("xg-time",'<span class="xgplayer-time-current">'+(e.currentTime||(0,r.format)(0))+"</span>\n <span>"+(e.duration||(0,r.format)(0))+"</span>",{},"xgplayer-time");e.once("ready",(function(){e.controls&&e.controls.appendChild(t)}));var n=function(){"audio"===e.videoConfig.mediaType&&e.isProgressMoving&&e.dash||(t.innerHTML='<span class="xgplayer-time-current">'+(0,r.format)(e.currentTime||0)+"</span><span>"+(0,r.format)(e.duration)+"</span>")};e.on("durationchange",n),e.on("timeupdate",n),e.once("destroy",(function t(){e.off("durationchange",n),e.off("timeupdate",n),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){var r=n(73);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,'.xgplayer-skin-default .xgplayer-time{-webkit-order:2;-moz-box-ordinal-group:3;order:2;font-family:ArialMT;font-size:13px;color:#fff;line-height:40px;height:40px;text-align:center;display:inline-block;margin:auto 8px}.xgplayer-skin-default .xgplayer-time span{color:hsla(0,0%,100%,.5)}.xgplayer-skin-default .xgplayer-time .xgplayer-time-current{color:#fff}.xgplayer-skin-default .xgplayer-time .xgplayer-time-current:after{content:"/";display:inline-block;padding:0 3px}',""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(75),a=(r=o)&&r.__esModule?r:{default:r};n(76),t.default={name:"s_replay",method:function(){var e=this,t=e.root,n=e.lang.REPLAY,r=(0,i.createDom)("xg-replay",a.default+'\n <xg-replay-txt class="xgplayer-replay-txt">'+n+"</xg-replay-txt>\n ",{},"xgplayer-replay");function o(){var e=r.querySelector("path");if(e){var t=window.getComputedStyle(e).getPropertyValue("transform");if("string"==typeof t&&t.indexOf("none")>-1)return;e.setAttribute("transform",t)}}e.once("ready",(function(){t.appendChild(r)})),e.on("ended",o),r.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation()}));var s=r.querySelector("svg");["click","touchend"].forEach((function(t){s.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("replayBtnClick")}))})),e.once("destroy",(function t(){e.off("ended",o),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg class="xgplayer-replay-svg" xmlns="http://www.w3.org/2000/svg" width="78" height="78" viewbox="0 0 78 78">\n <path d="M8.22708362,13.8757234 L11.2677371,12.6472196 C11.7798067,12.4403301 12.3626381,12.6877273 12.5695276,13.1997969 L12.9441342,14.1269807 C13.1510237,14.6390502 12.9036264,15.2218816 12.3915569,15.4287712 L6.8284538,17.6764107 L5.90126995,18.0510173 C5.38920044,18.2579068 4.80636901,18.0105096 4.5994795,17.49844 L1.97723335,11.0081531 C1.77034384,10.4960836 2.0177411,9.91325213 2.52981061,9.70636262 L3.45699446,9.33175602 C3.96906396,9.12486652 4.5518954,9.37226378 4.75878491,9.88433329 L5.67885163,12.1615783 C7.99551726,6.6766934 13.3983951,3 19.5,3 C27.7842712,3 34.5,9.71572875 34.5,18 C34.5,26.2842712 27.7842712,33 19.5,33 C15.4573596,33 11.6658607,31.3912946 8.87004692,28.5831991 C8.28554571,27.9961303 8.28762719,27.0463851 8.87469603,26.4618839 C9.46176488,25.8773827 10.4115101,25.8794641 10.9960113,26.466533 C13.2344327,28.7147875 16.263503,30 19.5,30 C26.127417,30 31.5,24.627417 31.5,18 C31.5,11.372583 26.127417,6 19.5,6 C14.4183772,6 9.94214483,9.18783811 8.22708362,13.8757234 Z"></path>\n</svg>\n'},function(e,t,n){var r=n(77);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-replay{position:absolute;left:0;top:0;width:100%;height:100%;z-index:105;display:none;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:rgba(0,0,0,.54);-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.xgplayer-skin-default .xgplayer-replay svg{background:rgba(0,0,0,.58);border-radius:100%;cursor:pointer}.xgplayer-skin-default .xgplayer-replay svg path{-webkit-transform:translate(20px,21px);-ms-transform:translate(20px,21px);transform:translate(20px,21px);fill:#ddd}.xgplayer-skin-default .xgplayer-replay svg:hover{background:rgba(0,0,0,.38)}.xgplayer-skin-default .xgplayer-replay svg:hover path{fill:#fff}.xgplayer-skin-default .xgplayer-replay .xgplayer-replay-txt{display:inline-block;font-family:PingFangSC-Regular;font-size:14px;color:#fff;line-height:34px}.xgplayer-skin-default.xgplayer.xgplayer-ended .xgplayer-controls{display:none}.xgplayer-skin-default.xgplayer.xgplayer-ended .xgplayer-replay{display:-webkit-flex;display:-moz-box;display:flex}",""])},function(e,t,n){var r=n(158);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){e.exports=n(80)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=O(n(9)),i=O(n(81)),o=O(n(82)),a=O(n(83)),s=O(n(84)),l=O(n(85)),u=O(n(88)),c=O(n(45)),f=O(n(89)),h=O(n(90)),d=O(n(91)),p=O(n(92)),g=O(n(37)),v=O(n(38)),y=O(n(98)),m=O(n(46)),b=O(n(99)),_=O(n(100)),x=O(n(47)),w=O(n(101)),S=O(n(102)),k=O(n(39)),E=O(n(103));function O(e){return e&&e.__esModule?e:{default:e}}n(104),r.default.installAll([i.default,o.default,a.default,s.default,l.default,u.default,c.default,f.default,h.default,d.default,p.default,g.default,v.default,y.default,m.default,b.default,_.default,x.default,w.default,S.default,k.default,E.default]),t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"airplay",method:function(){var e=this;function t(){e.video.webkitShowPlaybackTargetPicker()}e.config.airplay&&window.WebKitPlaybackTargetAvailabilityEvent&&(e.on("airplayBtnClick",t),e.once("destroy",(function n(){e.off("airplayBtnClick",t),e.off("destroy",n)})))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"cssFullscreen",method:function(){var e=this,t=e.root;function n(){(0,r.hasClass)(t,"xgplayer-is-cssfullscreen")?e.exitCssFullscreen():e.getCssFullscreen()}e.on("cssFullscreenBtnClick",n),e.on("exitFullscreen",(function(){(0,r.removeClass)(t,"xgplayer-is-cssfullscreen")})),e.once("destroy",(function t(){e.off("cssFullscreenBtnClick",n),e.off("destroy",t)})),e.getCssFullscreen=function(){this.config.fluid&&(this.root.style["padding-top"]=""),(0,r.addClass)(this.root,"xgplayer-is-cssfullscreen"),this.emit("requestCssFullscreen")},e.exitCssFullscreen=function(){this.config.fluid&&(this.root.style.width="100%",this.root.style.height="0",this.root.style["padding-top"]=100*this.config.height/this.config.width+"%"),(0,r.removeClass)(this.root,"xgplayer-is-cssfullscreen"),this.emit("exitCssFullscreen")}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"danmu",method:function(){var e=this;e.on("initDefaultDanmu",(function(t){var n=e.root.querySelector("xg-danmu");if((0,r.addClass)(n,"xgplayer-has-danmu"),!e.config.danmu.closeDefaultBtn){var i=function(){t.start()},o=function(){(0,r.hasClass)(e.danmuBtn,"danmu-switch-active")&&t.pause()},a=function(){(0,r.hasClass)(e.danmuBtn,"danmu-switch-active")&&t.play()},s=function(){(0,r.hasClass)(e.danmuBtn,"danmu-switch-active")&&(t.stop(),t.start())};e.danmuBtn=(0,r.copyDom)(t.bulletBtn.createSwitch(!0)),e.controls.appendChild(e.danmuBtn),["click","touchend"].forEach((function(o){e.danmuBtn.addEventListener(o,(function(o){o.preventDefault(),o.stopPropagation(),(0,r.toggleClass)(e.danmuBtn,"danmu-switch-active"),(0,r.hasClass)(e.danmuBtn,"danmu-switch-active")?(e.emit("danmuBtnOn"),(0,r.addClass)(n,"xgplayer-has-danmu"),e.once("timeupdate",i)):(e.emit("danmuBtnOff"),(0,r.removeClass)(n,"xgplayer-has-danmu"),t.stop())}))})),e.onElementClick&&n.addEventListener("click",(function(t){e.onElementClick(t,n)}),!1),e.onElementDblclick&&n.addEventListener("dblclick",(function(t){e.onElementDblclick(t,n)}),!1),e.on("pause",o),e.on("play",a),e.on("seeked",s),e.once("destroy",(function t(){e.off("timeupdate",i),e.off("pause",o),e.off("play",a),e.off("seeked",s),e.off("destroy",t)}))}}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"definition",method:function(){var e=this;e.once("destroy",(function t(){e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(86),o=(r=i)&&r.__esModule?r:{default:r},a=n(87);t.default={name:"download",method:function(){var e=this;function t(){e.download()}e.on("downloadBtnClick",t),e.once("destroy",(function n(){e.off("downloadBtnClick",t),e.off("destroy",n)})),e.download=function(){var e=(0,a.getAbsoluteURL)(this.config.url);(0,o.default)(e)}}},e.exports=t.default},function(e,t,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){return function e(t,n,r){var i,o,a=window,s="application/octet-stream",l=r||s,u=t,c=!n&&!r&&u,f=document.createElement("a"),h=function(e){return String(e)},d=a.Blob||a.MozBlob||a.WebKitBlob||h,p=n||"download";if(d=d.call?d.bind(a):Blob,"true"===String(this)&&(l=(u=[u,l])[0],u=u[1]),c&&c.length<2048&&(p=c.split("/").pop().split("?")[0],f.href=c,-1!==f.href.indexOf(c))){var g=new XMLHttpRequest;return g.open("GET",c,!0),g.responseType="blob",g.onload=function(t){e(t.target.response,p,s)},setTimeout((function(){g.send()}),0),g}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u)){if(!(u.length>2096103.424&&d!==h))return navigator.msSaveBlob?navigator.msSaveBlob(b(u),p):_(u);l=(u=b(u)).type||s}else if(/([\x80-\xff])/.test(u)){for(var v=0,y=new Uint8Array(u.length),m=y.length;v<m;++v)y[v]=u.charCodeAt(v);u=new d([y],{type:l})}function b(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),i=r.length,o=0,a=new Uint8Array(i);o<i;++o)a[o]=r.charCodeAt(o);return new d([a],{type:n})}function _(e,t){if("download"in f)return f.href=e,f.setAttribute("download",p),f.className="download-js-link",f.innerHTML="downloading...",f.style.display="none",document.body.appendChild(f),setTimeout((function(){f.click(),document.body.removeChild(f),!0===t&&setTimeout((function(){a.URL.revokeObjectURL(f.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(i=u instanceof d?u:new d([u],{type:l}),navigator.msSaveBlob)return navigator.msSaveBlob(i,p);if(a.URL)_(a.URL.createObjectURL(i),!0);else{if("string"==typeof i||i.constructor===h)try{return _("data:"+l+";base64,"+a.btoa(i))}catch(e){return _("data:"+l+","+encodeURIComponent(i))}(o=new FileReader).onload=function(e){_(this.result)},o.readAsDataURL(i)}return!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAbsoluteURL=function(e){if(!e.match(/^https?:\/\//)){var t=document.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(5),o=(r=i)&&r.__esModule?r:{default:r},a={maxCount:3,backupUrl:"",isFetch:!0,fetchTimeout:100};t.default={name:"errorretry",method:function(){var e=this,t=this;if(t.config.errorConfig&&!(t.src.indexOf("blob:")>-1)){var n={},r=t.config.errorConfig;for(var i in a)void 0===r[i]?n[i]=a[i]:n[i]=r[i];t.retryData={count:0,errfTimer:null,isFetchReturn:!1,currentTime:0};var s=t._onError;t._onError=function(r){var i=e.retryData.count;if(i>n.maxCount)n.isFetch?function(e,t,n){var r=function(t,n){e.retryData.isFetchReturn||(e.retryData.isFetchReturn=!0,t(n))};return new Promise((function(i,o){try{var a=new window.XMLHttpRequest;a.open("get",t),a.onload=function(){r(i,{status:a.status,statusText:a.statusText,xhr:a})},a.onerror=function(){r(i,{status:a.status,statusText:a.statusText||"The network environment is disconnected or the address is invalid",xhr:a})},a.onabort=function(){},e.retryData.errfTimer=window.setTimeout((function(){var t=e.retryData.errfTimer;window.clearTimeout(t),e.retryData.errfTimer=null,r(i,{status:-1,statusText:"request timeout"})}),n),a.send()}catch(t){e.retryData.isFetchReturn=!0,r(i,{status:-2,statusText:"request error"})}}))}(e,e.currentSrc,n.fetchTimeout).then((function(t){e.emit("error",new o.default({type:"network",currentTime:e.currentTime,duration:e.duration||0,networkState:e.networkState,readyState:e.readyState,currentSrc:e.currentSrc,src:e.src,ended:e.ended,httpCode:t.status,httpMsg:t.statusText,errd:{line:101,msg:e.error,handle:"plugin errorRetry"},errorCode:e.video&&e.video.error.code,mediaError:e.video&&e.video.error})),s.call(e,t)})):s.call(e,r);else{0===i&&(e.retryData.currentTime=e.currentTime,e.once("canplay",l.bind(e)));var a="";a=n.count<2?n.backupUrl?n.backupUrl:t.currentSrc:n.backupUrl&&i>1?n.backupUrl:t.currentSrc,e.retryData.count++,e.src=a}}}function l(){this.currentTime=this.retryData.currentTime,this.play(),this.retryData.retryCode=0,this.retryData.isFetchReturn=!1,this.retryData.currentTime=0}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.state={playbackRate:0,isRepeat:!1,keyCode:0,repeat:0,isBody:!1},this.timer=null,this.initEvents()}return r(e,[{key:"initEvents",value:function(){var e=this,t=this.player,n=t.root,r=t.config;this.player.onBodyKeydown=this.onBodyKeydown.bind(this),this.player.onKeydown=this.onKeydown.bind(this),this.player.onKeyup=this.onKeyup.bind(this),r.keyShortcut&&"on"!==r.keyShortcut||(document.addEventListener("keydown",this.player.onBodyKeydown),n.addEventListener("keydown",this.player.onKeydown),(0,i.on)(this.player,"destroy",(function(){document.removeEventListener("keydown",e.player.onBodyKeydown),n.removeEventListener("keydown",e.player.onKeydown),clearTimeout(e.timer),e.timer=null})))}},{key:"checkTarget",value:function(e){var t=this.player;return e.target===t.root||e.target===t.video||e.target===t.controls}},{key:"onBodyKeydown",value:function(e){var t=e||window.event,n=t.keyCode;if(t.target===document.body&&(37===n||39===n||32===n))return t.preventDefault(),t.cancelBubble=!0,t.returnValue=!1,t.repeat||document.addEventListener("keyup",this.player.onKeyup),this.handler(t),!1}},{key:"onKeydown",value:function(e){var t=e||window.event,n=t.keyCode;if(this.checkTarget(t)&&(37===n||38===n||39===n||40===n||32===n||27===n))return t.preventDefault(),t.cancelBubble=!0,t.returnValue=!1,this.player.emit("focus"),t.repeat||this.player.root.addEventListener("keyup",this.player.onKeyup),this.handler(t),!1}},{key:"onKeyup",value:function(){var e=this.state,t=this.player;document.removeEventListener("keyup",this.player.onKeyup),t.root.removeEventListener("keyup",this.player.onKeyup),e.keyCode&&(0!==e.playbackRate&&(t.playbackRate=e.playbackRate),e.isRepeat||this.handlerKeyCode(e.keyCode,!1),e.playbackRate=0,e.isRepeat=!1,e.keyCode=0,e.repeat=0,this.changeVolumeSlide())}},{key:"handler",value:function(e){var t=this.state,n=this.player;t.keyCode=e.keyCode,t.isRepeat=e.repeat,e.repeat&&(n.config.disableLongPress?this.handlerKeyCode(t.keyCode,!1):t.repeat%2==0&&this.handlerKeyCode(t.keyCode,!0),t.repeat++)}},{key:"handlerKeyCode",value:function(e,t){var n=this.player,r=this.state;switch(e){case 39:t?0===r.repeat&&this.changeRate():this.seek(!1,t);break;case 37:this.seek(!0,t);break;case 38:this.changeVolume(!0);break;case 40:this.changeVolume(!1);break;case 32:t||(n.paused?n.play():n.pause());break;case 27:(0,i.hasClass)(n.root,"xgplayer-is-cssfullscreen")&&n.exitCssFullscreen()}}},{key:"seek",value:function(e,t){var n=this.player,r=(n.config.keyShortcutStep||{}).currentTime||10;n.isLoading||n.isSeeking||t&&this.state.repeat%8>0||(e?n.currentTime-r>=0?n.currentTime-=r:n.currentTime=0:n.maxPlayedTime&&n.config.allowSeekPlayed&&n.currentTime+r>n.maxPlayedTime?n.currentTime=n.maxPlayedTime:n.currentTime+r<=n.duration?n.currentTime+=r:n.currentTime=n.duration-1)}},{key:"changeRate",value:function(){this.state.playbackRate=this.player.playbackRate,this.player.playbackRate=this.player.config.keyboardRate||5}},{key:"changeVolumeSlide",value:function(e){var t=this.player;t.controls&&(e?(t.emit("focus"),(0,i.hasClass)(t.root,"xgplayer-volume-active")||(0,i.addClass)(t.root,"xgplayer-volume-active")):(clearTimeout(this.timer),this.timer=setTimeout((function(){(0,i.removeClass)(t.root,"xgplayer-volume-active")}),1e3)))}},{key:"changeVolume",value:function(e){var t=this.player,n=(t.config.keyShortcutStep||{}).volume||.1;this.changeVolumeSlide(!0);var r=t.volume;e&&r+n<=1?t.volume=r+n:!e&&r-n>=0&&(t.volume=r-n)}}]),e}();t.default={name:"keyboard",method:function(){this.keyboard=new o(this)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"localPreview",method:function(){var e=this,t=e.root;function n(n){e.uploadFile=n.files[0];var i=URL.createObjectURL(e.uploadFile);if((0,r.hasClass)(t,"xgplayer-nostart"))e.config.url=i,e.start();else{e.src=i;var o=e.play();void 0!==o&&o&&o.catch((function(e){}))}}e.on("upload",n),e.once("destroy",(function t(){e.off("upload",n),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"memoryPlay",method:function(){var e=this;e.on("memoryPlayStart",(function(t){e.currentTime=t}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(93),a=(r=o)&&r.__esModule?r:{default:r};t.default={name:"miniplayer",method:function(){var e=this,t=e.root;function n(){(0,i.hasClass)(t,"xgplayer-miniplayer-active")?e.exitMiniplayer():e.getMiniplayer()}e.on("miniplayerBtnClick",n),e.once("destroy",(function t(){e.off("miniplayerBtnClick",n),e.off("destroy",t)})),e.getMiniplayer=function(){(0,i.hasClass)(t,"xgplayer-is-fullscreen")&&this.exitFullscreen(t),(0,i.hasClass)(t,"xgplayer-is-cssfullscreen")&&this.exitCssFullscreen(),(0,i.hasClass)(t,"xgplayer-rotate-fullscreen")&&this.exitRotateFullscreen();var e=(0,i.createDom)("xg-miniplayer-lay","<div></div>",{},"xgplayer-miniplayer-lay");this.root.appendChild(e);var n=(0,i.createDom)("xg-miniplayer-drag",'<div class="drag-handle"><span>'+this.lang.MINIPLAYER_DRAG+"</span></div>",{tabindex:9},"xgplayer-miniplayer-drag");this.root.appendChild(n),new a.default(".xgplayer",{handle:".drag-handle"}),(0,i.addClass)(this.root,"xgplayer-miniplayer-active"),this.root.style.right=0,this.root.style.bottom="200px",this.root.style.top="",this.root.style.left="",this.root.style.width="320px",this.root.style.height="180px",this.config.miniplayerConfig&&(void 0!==this.config.miniplayerConfig.top&&(this.root.style.top=this.config.miniplayerConfig.top+"px",this.root.style.bottom=""),void 0!==this.config.miniplayerConfig.bottom&&(this.root.style.bottom=this.config.miniplayerConfig.bottom+"px"),void 0!==this.config.miniplayerConfig.left&&(this.root.style.left=this.config.miniplayerConfig.left+"px",this.root.style.right=""),void 0!==this.config.miniplayerConfig.right&&(this.root.style.right=this.config.miniplayerConfig.right+"px"),void 0!==this.config.miniplayerConfig.width&&(this.root.style.width=this.config.miniplayerConfig.width+"px"),void 0!==this.config.miniplayerConfig.height&&(this.root.style.height=this.config.miniplayerConfig.height+"px")),this.config.fluid&&(this.root.style["padding-top"]="");var r=this;["click","touchend"].forEach((function(t){e.addEventListener(t,(function(e){e.preventDefault(),e.stopPropagation(),r.exitMiniplayer()}))}))},e.exitMiniplayer=function(){(0,i.removeClass)(this.root,"xgplayer-miniplayer-active"),this.root.style.right="",this.root.style.bottom="",this.root.style.top="",this.root.style.left="",this.config.fluid?(this.root.style.width="100%",this.root.style.height="0",this.root.style["padding-top"]=100*this.config.height/this.config.width+"%"):(this.config.width&&("number"!=typeof this.config.width?this.root.style.width=this.config.width:this.root.style.width=this.config.width+"px"),this.config.height&&("number"!=typeof this.config.height?this.root.style.height=this.config.height:this.root.style.height=this.config.height+"px"));var e=(0,i.findDom)(this.root,".xgplayer-miniplayer-lay");e&&e.parentNode&&e.parentNode.removeChild(e);var t=(0,i.findDom)(this.root,".xgplayer-miniplayer-drag");t&&t.parentNode&&t.parentNode.removeChild(t)}}},e.exports=t.default},function(e,t,n){var r,i;
/*!
* Draggabilly v2.3.0
* Make that shiz draggable
* https://draggabilly.desandro.com
* MIT license
*/!function(o,a){r=[n(94),n(95)],void 0===(i=function(e,t){return function(e,t,n){function r(e,t){for(var n in t)e[n]=t[n];return e}var i=e.jQuery;function o(e,t){this.element="string"==typeof e?document.querySelector(e):e,i&&(this.$element=i(this.element)),this.options=r({},this.constructor.defaults),this.option(t),this._create()}var a=o.prototype=Object.create(n.prototype);o.defaults={},a.option=function(e){r(this.options,e)};var s={relative:!0,absolute:!0,fixed:!0};function l(e,t,n){return n=n||"round",t?Math[n](e/t)*t:e}return a._create=function(){this.position={},this._getPosition(),this.startPoint={x:0,y:0},this.dragPoint={x:0,y:0},this.startPosition=r({},this.position);var e=getComputedStyle(this.element);s[e.position]||(this.element.style.position="relative"),this.on("pointerMove",this.onPointerMove),this.on("pointerUp",this.onPointerUp),this.enable(),this.setHandles()},a.setHandles=function(){this.handles=this.options.handle?this.element.querySelectorAll(this.options.handle):[this.element],this.bindHandles()},a.dispatchEvent=function(e,t,n){var r=[t].concat(n);this.emitEvent(e,r),this.dispatchJQueryEvent(e,t,n)},a.dispatchJQueryEvent=function(t,n,r){var i=e.jQuery;if(i&&this.$element){var o=i.Event(n);o.type=t,this.$element.trigger(o,r)}},a._getPosition=function(){var e=getComputedStyle(this.element),t=this._getPositionCoord(e.left,"width"),n=this._getPositionCoord(e.top,"height");this.position.x=isNaN(t)?0:t,this.position.y=isNaN(n)?0:n,this._addTransformPosition(e)},a._getPositionCoord=function(e,n){if(-1!=e.indexOf("%")){var r=t(this.element.parentNode);return r?parseFloat(e)/100*r[n]:0}return parseInt(e,10)},a._addTransformPosition=function(e){var t=e.transform;if(0===t.indexOf("matrix")){var n=t.split(","),r=0===t.indexOf("matrix3d")?12:4,i=parseInt(n[r],10),o=parseInt(n[r+1],10);this.position.x+=i,this.position.y+=o}},a.onPointerDown=function(e,t){this.element.classList.add("is-pointer-down"),this.dispatchJQueryEvent("pointerDown",e,[t])},a.pointerDown=function(e,t){this.okayPointerDown(e)&&this.isEnabled?(this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.element.classList.add("is-pointer-down"),this.dispatchEvent("pointerDown",e,[t])):this._pointerReset()},a.dragStart=function(e,t){this.isEnabled&&(this._getPosition(),this.measureContainment(),this.startPosition.x=this.position.x,this.startPosition.y=this.position.y,this.setLeftTop(),this.dragPoint.x=0,this.dragPoint.y=0,this.element.classList.add("is-dragging"),this.dispatchEvent("dragStart",e,[t]),this.animate())},a.measureContainment=function(){var e=this.getContainer();if(e){var n=t(this.element),r=t(e),i=this.element.getBoundingClientRect(),o=e.getBoundingClientRect(),a=r.borderLeftWidth+r.borderRightWidth,s=r.borderTopWidth+r.borderBottomWidth,l=this.relativeStartPosition={x:i.left-(o.left+r.borderLeftWidth),y:i.top-(o.top+r.borderTopWidth)};this.containSize={width:r.width-a-l.x-n.width,height:r.height-s-l.y-n.height}}},a.getContainer=function(){var e=this.options.containment;if(e)return e instanceof HTMLElement?e:"string"==typeof e?document.querySelector(e):this.element.parentNode},a.onPointerMove=function(e,t,n){this.dispatchJQueryEvent("pointerMove",e,[t,n])},a.dragMove=function(e,t,n){if(this.isEnabled){var r=n.x,i=n.y,o=this.options.grid,a=o&&o[0],s=o&&o[1];r=l(r,a),i=l(i,s),r=this.containDrag("x",r,a),i=this.containDrag("y",i,s),r="y"==this.options.axis?0:r,i="x"==this.options.axis?0:i,this.position.x=this.startPosition.x+r,this.position.y=this.startPosition.y+i,this.dragPoint.x=r,this.dragPoint.y=i,this.dispatchEvent("dragMove",e,[t,n])}},a.containDrag=function(e,t,n){if(!this.options.containment)return t;var r="x"==e?"width":"height",i=l(-this.relativeStartPosition[e],n,"ceil"),o=this.containSize[r];return o=l(o,n,"floor"),Math.max(i,Math.min(o,t))},a.onPointerUp=function(e,t){this.element.classList.remove("is-pointer-down"),this.dispatchJQueryEvent("pointerUp",e,[t])},a.dragEnd=function(e,t){this.isEnabled&&(this.element.style.transform="",this.setLeftTop(),this.element.classList.remove("is-dragging"),this.dispatchEvent("dragEnd",e,[t]))},a.animate=function(){if(this.isDragging){this.positionDrag();var e=this;requestAnimationFrame((function(){e.animate()}))}},a.setLeftTop=function(){this.element.style.left=this.position.x+"px",this.element.style.top=this.position.y+"px"},a.positionDrag=function(){this.element.style.transform="translate3d( "+this.dragPoint.x+"px, "+this.dragPoint.y+"px, 0)"},a.staticClick=function(e,t){this.dispatchEvent("staticClick",e,[t])},a.setPosition=function(e,t){this.position.x=e,this.position.y=t,this.setLeftTop()},a.enable=function(){this.isEnabled=!0},a.disable=function(){this.isEnabled=!1,this.isDragging&&this.dragEnd()},a.destroy=function(){this.disable(),this.element.style.transform="",this.element.style.left="",this.element.style.top="",this.element.style.position="",this.unbindHandles(),this.$element&&this.$element.removeData("draggabilly")},a._init=function(){},i&&i.bridget&&i.bridget("draggabilly",o),o}(o,e,t)}.apply(t,r))||(e.exports=i)}(window)},function(e,t,n){var r,i;
/*!
* getSize v2.0.3
* measure size of elements
* MIT license
*/window,void 0===(i="function"==typeof(r=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=n.length;function i(e){var n=getComputedStyle(e);return n||t("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),n}var o,a=!1;function s(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var r=i(t);o=200==Math.round(e(r.width)),s.isBoxSizeOuter=o,n.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var l=i(t);if("none"==l.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<r;t++)e[n[t]]=0;return e}();var u={};u.width=t.offsetWidth,u.height=t.offsetHeight;for(var c=u.isBorderBox="border-box"==l.boxSizing,f=0;f<r;f++){var h=n[f],d=l[h],p=parseFloat(d);u[h]=isNaN(p)?0:p}var g=u.paddingLeft+u.paddingRight,v=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,m=u.marginTop+u.marginBottom,b=u.borderLeftWidth+u.borderRightWidth,_=u.borderTopWidth+u.borderBottomWidth,x=c&&o,w=e(l.width);!1!==w&&(u.width=w+(x?0:g+b));var S=e(l.height);return!1!==S&&(u.height=S+(x?0:v+_)),u.innerWidth=u.width-(g+b),u.innerHeight=u.height-(v+_),u.outerWidth=u.width+y,u.outerHeight=u.height+m,u}}return s})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){var r,i;
/*!
* Unidragger v2.3.1
* Draggable base class
* MIT license
*/!function(o,a){r=[n(96)],void 0===(i=function(e){return function(e,t){"use strict";function n(){}var r=n.prototype=Object.create(t.prototype);r.bindHandles=function(){this._bindHandles(!0)},r.unbindHandles=function(){this._bindHandles(!1)},r._bindHandles=function(t){for(var n=(t=void 0===t||t)?"addEventListener":"removeEventListener",r=t?this._touchActionValue:"",i=0;i<this.handles.length;i++){var o=this.handles[i];this._bindStartEvent(o,t),o[n]("click",this),e.PointerEvent&&(o.style.touchAction=r)}},r._touchActionValue="none",r.pointerDown=function(e,t){this.okayPointerDown(e)&&(this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t]))};var i={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return r.okayPointerDown=function(e){var t=i[e.target.nodeName],n=o[e.target.type],r=!t||n;return r||this._pointerReset(),r},r.pointerDownBlur=function(){var e=document.activeElement;e&&e.blur&&e!=document.body&&e.blur()},r.pointerMove=function(e,t){var n=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,n]),this._dragMove(e,t,n)},r._dragPointerMove=function(e,t){var n={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(n)&&this._dragStart(e,t),n},r.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},r.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},r._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},r._dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(e,t)},r.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},r._dragMove=function(e,t,n){this.isDragging&&this.dragMove(e,t,n)},r.dragMove=function(e,t,n){e.preventDefault(),this.emitEvent("dragMove",[e,t,n])},r._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},r.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},r.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},r._staticClick=function(e,t){this.isIgnoringMouseUp&&"mouseup"==e.type||(this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},r.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},n.getPointerPoint=t.getPointerPoint,n}(o,e)}.apply(t,r))||(e.exports=i)}(window)},function(e,t,n){var r,i;
/*!
* Unipointer v2.3.0
* base class for doing one thing with pointer event
* MIT license
*/!function(o,a){r=[n(97)],void 0===(i=function(e){return function(e,t){"use strict";function n(){}var r=n.prototype=Object.create(t.prototype);r.bindStartEvent=function(e){this._bindStartEvent(e,!0)},r.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},r._bindStartEvent=function(t,n){var r=(n=void 0===n||n)?"addEventListener":"removeEventListener",i="mousedown";e.PointerEvent?i="pointerdown":"ontouchstart"in e&&(i="touchstart"),t[r](i,this)},r.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.getTouch=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.identifier==this.pointerIdentifier)return n}},r.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},r.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},r.onpointerdown=function(e){this._pointerDown(e,e)},r._pointerDown=function(e,t){e.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},r.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])};var i={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return r._bindPostStartEvents=function(t){if(t){var n=i[t.type];n.forEach((function(t){e.addEventListener(t,this)}),this),this._boundPointerEvents=n}},r._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(t){e.removeEventListener(t,this)}),this),delete this._boundPointerEvents)},r.onmousemove=function(e){this._pointerMove(e,e)},r.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},r.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},r._pointerMove=function(e,t){this.pointerMove(e,t)},r.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},r.onmouseup=function(e){this._pointerUp(e,e)},r.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},r.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},r._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},r.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},r._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},r._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},r.pointerDone=function(){},r.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},r.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},r._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},r.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},n.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},n}(o,e)}.apply(t,r))||(e.exports=i)}(window)},function(e,t,n){var r,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(r=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],i=0;i<n.length;i++){var o=n[i];r&&r[o]&&(this.off(e,o),delete r[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"pip",method:function(){var e=this;function t(){e.video!==document.pictureInPictureElement?e.video.requestPictureInPicture():document.exitPictureInPicture()}e.on("pipBtnClick",t),e.video.addEventListener("enterpictureinpicture",(function(t){e.emit("requestPictureInPicture",t)})),e.video.addEventListener("leavepictureinpicture",(function(){e.emit("exitPictureInPicture")})),e.once("destroy",(function n(){e.off("pipBtnClick",t),e.off("destroy",n)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"playNext",method:function(){var e=this,t=e.config.playNext;function n(){e.currentVideoIndex+1<t.urlList.length&&(e.currentVideoIndex++,e.video.autoplay=!0,e.src=t.urlList[e.currentVideoIndex],e.emit("playerNext",e.currentVideoIndex+1),e.currentVideoIndex+1===t.urlList.length&&e.emit("urlListEnd"))}e.currentVideoIndex=-1,e.on("playNextBtnClick",n),e.once("destroy",(function t(){e.off("playNextBtnClick",n),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"reload",method:function(){var e=this;function t(){(0,r.removeClass)(e.root,"xgplayer-is-error"),e.src=e.config.url}e.config.reload&&(e.on("reloadBtnClick",t),e.once("destroy",(function n(){e.off("reloadBtnClick",t),e.off("destroy",n)})))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"rotate",method:function(){var e=this,t=e.config.rotate;function n(){e.rotate(t.clockwise,t.innerRotate)}t&&(e.on("rotateBtnClick",n),e.once("destroy",(function t(){e.off("rotateBtnClick",n),e.off("destroy",t)})),e.updateRotateDeg=function(){this.rotateDeg||(this.rotateDeg=0);var e=this.root.offsetWidth,t=this.root.offsetHeight,n=this.video.videoWidth,r=this.video.videoHeight;!this.config.rotate.innerRotate&&this.config.rotate.controlsFix&&(this.root.style.width=t+"px",this.root.style.height=e+"px");var i=void 0;.25===this.rotateDeg||.75===this.rotateDeg?(i=this.config.rotate.innerRotate?n/r>t/e?t/(r/n>t/e?t*n/r:e):e/(r/n>t/e?t:e*r/n):e>=t?e/t:t/e,i=Number(i.toFixed(5))):i=1,this.config.rotate.innerRotate||this.config.rotate.controlsFix?(this.video.style.transformOrigin="center center",this.video.style.transform="rotate("+this.rotateDeg+"turn) scale("+i+")",this.video.style.webKitTransform="rotate("+this.rotateDeg+"turn) scale("+i+")"):(this.root.style.transformOrigin="center center",this.root.style.transform="rotate("+this.rotateDeg+"turn) scale(1)",this.root.style.webKitTransform="rotate("+this.rotateDeg+"turn) scale(1)")},e.rotate=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this;n.rotateDeg||(n.rotateDeg=0);var r=e?1:-1;n.rotateDeg=(n.rotateDeg+1+.25*r*t)%1,this.updateRotateDeg(),n.emit("rotate",360*n.rotateDeg)})}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"screenShot",method:function(){var e=this,t=e.config.screenShot;if(t){e.video.setAttribute("crossOrigin","anonymous");var n=.92;(t.quality||0===t.quality)&&(n=t.quality);var r=void 0===t.type?"image/png":t.type,i=void 0===t.format?".png":t.format,o=document.createElement("canvas"),a=o.getContext("2d"),s=new Image;o.width=this.config.width||600,o.height=this.config.height||337.5;var l=function(e,t){var n=document.createElement("a");n.href=e,n.download=t;var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(r)};e.screenShot=function(){var u=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u=void 0===t.saveImg?u:t.saveImg,o.width=e.video.videoWidth||600,o.height=e.video.videoHeight||337.5,s.onload=function(){a.drawImage(e.video,0,0,o.width,o.height),s.src=o.toDataURL(r,n).replace(r,"image/octet-stream");var t=s.src.replace(/^data:image\/[^;]+/,"data:application/octet-stream");e.emit("screenShot",t),u&&l(t,"截图"+i)}()},e.on("screenShotBtnClick",e.screenShot),e.once("destroy",(function t(){e.off("screenShotBtnClick",e.screenShot),e.off("destroy",t)}))}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(4),a=(r=o)&&r.__esModule?r:{default:r};t.default={name:"volume",method:function(){var e=this,t=e.root,n=void 0,r=void 0,o=void 0,s=void 0;function l(){e.controls&&(e.volume=e.config.volume,(n=e.controls.querySelector(".xgplayer-volume"))&&(r=n.querySelector(".xgplayer-slider"),o=n.querySelector(".xgplayer-bar"),s=n.querySelector(".xgplayer-drag"),"mobile"===a.default.device&&p()))}function u(t){if(r){e.video.muted=!1,r.focus(),(0,i.event)(t);var n=o.getBoundingClientRect(),a=(t.clientX,t.clientY),l=s.getBoundingClientRect().height,u=!1,c=function(t){t.preventDefault(),t.stopPropagation(),(0,i.event)(t),u=!0;var r=l-t.clientY+a,o=r/n.height;s.style.height=r+"px",e.volume=Math.max(Math.min(o,1),0)},f=function t(o){if(o.preventDefault(),o.stopPropagation(),(0,i.event)(o),window.removeEventListener("mousemove",c),window.removeEventListener("touchmove",c),window.removeEventListener("mouseup",t),window.removeEventListener("touchend",t),!u){var a=n.height-(o.clientY-n.top),l=a/n.height;s.style.height=a+"px",l<=0&&(e.volume>0?s.volume=e.video.volume:l=s.volume),e.volume=Math.max(Math.min(l,1),0)}r.volume=e.volume,u=!1};return window.addEventListener("mousemove",c),window.addEventListener("touchmove",c),window.addEventListener("mouseup",f),window.addEventListener("touchend",f),!1}}function c(){if("mobile"===a.default.device)e.video.muted?(e.video.muted=!1,e.emit("unmute"),e.volume=1):(e.video.muted=!0,e.emit("mute"),e.volume=0);else{if(!r)return;e.video.muted=!1,e.volume<.1?(r.volume<.1?e.volume=.6:e.volume=r.volume,e.emit("unmute")):(e.volume=0,e.emit("mute"))}}function f(){(0,i.addClass)(t,"xgplayer-volume-active"),n&&n.focus()}function h(){(0,i.removeClass)(t,"xgplayer-volume-active")}e.once("canplay",l),e.on("volumeBarClick",u),e.on("volumeIconClick",c),e.on("volumeIconEnter",f),e.on("volumeIconLeave",h);var d=null;function p(){d&&clearTimeout(d),d=setTimeout((function(){if("mobile"===a.default.device)(0,i.removeClass)(t,"xgplayer-volume-muted"),(0,i.removeClass)(t,"xgplayer-volume-large"),e.video.muted||e.video.defaultMuted?(e.video.muted||(e.video.muted=!0),e.video.defaultMuted=!1,(0,i.addClass)(t,"xgplayer-volume-muted")):(0,i.addClass)(t,"xgplayer-volume-large");else{if((0,i.removeClass)(t,"xgplayer-volume-muted"),(0,i.removeClass)(t,"xgplayer-volume-small"),(0,i.removeClass)(t,"xgplayer-volume-large"),0===e.volume?(0,i.addClass)(t,"xgplayer-volume-muted"):e.volume<.5?(0,i.addClass)(t,"xgplayer-volume-small"):(0,i.addClass)(t,"xgplayer-volume-large"),!o)return;var n=o.getBoundingClientRect().height||76;s.style.height=e.volume*n+"px"}}),50)}e.on("volumechange",p),e.once("destroy",(function t(){e.off("canplay",l),e.off("volumeBarClick",u),e.off("volumeIconClick",c),e.off("volumeIconEnter",f),e.off("volumeIconLeave",h),e.off("volumechange",p),e.off("destroy",t),d&&(clearTimeout(d),d=null)}))}},e.exports=t.default},function(e,t,n){"use strict";var r=I(n(9)),i=I(n(10)),o=I(n(105)),a=I(n(48)),s=I(n(40)),l=I(n(53)),u=I(n(56)),c=I(n(59)),f=I(n(108)),h=I(n(113)),d=I(n(119)),p=I(n(64)),g=I(n(68)),v=I(n(71)),y=I(n(74)),m=I(n(122)),b=I(n(125)),_=I(n(126)),x=I(n(130)),w=I(n(136)),S=I(n(139)),k=I(n(142)),E=I(n(146)),O=I(n(150)),C=I(n(154)),A=I(n(157)),T=I(n(159)),P=I(n(161)),M=I(n(164)),D=I(n(167));function I(e){return e&&e.__esModule?e:{default:e}}r.default.installAll([i.default,o.default,a.default,s.default,l.default,u.default,c.default,f.default,h.default,d.default,p.default,g.default,v.default,y.default,m.default,b.default,_.default,x.default,w.default,S.default,k.default,E.default,O.default,C.default,A.default,T.default,P.default,M.default,D.default])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(106),t.default={name:"s_enter",method:function(){for(var e=this.root,t="",n=1;n<=12;n++)t+='<div class="xgplayer-enter-bar'+n+'"></div>';var i=(0,r.createDom)("xg-enter",'<div class="xgplayer-enter-spinner">\n '+t+"\n </div>",{},"xgplayer-enter");e.appendChild(i)}},e.exports=t.default},function(e,t,n){var r=n(107);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-enter{display:none;position:absolute;left:0;top:0;width:100%;height:100%;background:#000;z-index:120}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner{display:block;position:absolute;left:50%;top:50%;height:100px;width:100px;position:relative;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div{width:12%;height:26%;background-color:hsla(0,0%,100%,.7);position:absolute;left:44%;top:37%;opacity:0;border-radius:30px;-webkit-animation:fade 1s linear infinite;animation:fade 1s linear infinite}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar1{-webkit-transform:rotate(0deg) translateY(-142%);-ms-transform:rotate(0deg) translateY(-142%);transform:rotate(0deg) translateY(-142%);-webkit-animation-delay:0s;animation-delay:0s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar2{-webkit-transform:rotate(30deg) translateY(-142%);-ms-transform:rotate(30deg) translateY(-142%);transform:rotate(30deg) translateY(-142%);-webkit-animation-delay:-.9163s;animation-delay:-.9163s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar3{-webkit-transform:rotate(60deg) translateY(-142%);-ms-transform:rotate(60deg) translateY(-142%);transform:rotate(60deg) translateY(-142%);-webkit-animation-delay:-.833s;animation-delay:-.833s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar4{-webkit-transform:rotate(90deg) translateY(-142%);-ms-transform:rotate(90deg) translateY(-142%);transform:rotate(90deg) translateY(-142%);-webkit-animation-delay:-.7497s;animation-delay:-.7497s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar5{-webkit-transform:rotate(120deg) translateY(-142%);-ms-transform:rotate(120deg) translateY(-142%);transform:rotate(120deg) translateY(-142%);-webkit-animation-delay:-.6664s;animation-delay:-.6664s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar6{-webkit-transform:rotate(150deg) translateY(-142%);-ms-transform:rotate(150deg) translateY(-142%);transform:rotate(150deg) translateY(-142%);-webkit-animation-delay:-.5831s;animation-delay:-.5831s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar7{-webkit-transform:rotate(180deg) translateY(-142%);-ms-transform:rotate(180deg) translateY(-142%);transform:rotate(180deg) translateY(-142%);-webkit-animation-delay:-.4998s;animation-delay:-.4998s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar8{-webkit-transform:rotate(210deg) translateY(-142%);-ms-transform:rotate(210deg) translateY(-142%);transform:rotate(210deg) translateY(-142%);-webkit-animation-delay:-.4165s;animation-delay:-.4165s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar9{-webkit-transform:rotate(240deg) translateY(-142%);-ms-transform:rotate(240deg) translateY(-142%);transform:rotate(240deg) translateY(-142%);-webkit-animation-delay:-.3332s;animation-delay:-.3332s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar10{-webkit-transform:rotate(270deg) translateY(-142%);-ms-transform:rotate(270deg) translateY(-142%);transform:rotate(270deg) translateY(-142%);-webkit-animation-delay:-.2499s;animation-delay:-.2499s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar11{-webkit-transform:rotate(300deg) translateY(-142%);-ms-transform:rotate(300deg) translateY(-142%);transform:rotate(300deg) translateY(-142%);-webkit-animation-delay:-.1666s;animation-delay:-.1666s}.xgplayer-skin-default .xgplayer-enter .xgplayer-enter-spinner div.xgplayer-enter-bar12{-webkit-transform:rotate(330deg) translateY(-142%);-ms-transform:rotate(330deg) translateY(-142%);transform:rotate(330deg) translateY(-142%);-webkit-animation-delay:-.0833s;animation-delay:-.0833s}@-webkit-keyframes fade{0%{opacity:1}to{opacity:.25}}@keyframes fade{0%{opacity:1}to{opacity:.25}}.xgplayer-skin-default.xgplayer-is-enter .xgplayer-enter{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=a(n(109)),o=a(n(110));function a(e){return e&&e.__esModule?e:{default:e}}n(111),t.default={name:"s_cssFullscreen",method:function(){var e=this;if(e.config.cssFullscreen){var t=(0,r.createDom)("xg-cssfullscreen",'<xg-icon class="xgplayer-icon">\n <div class="xgplayer-icon-requestfull">'+i.default+'</div>\n <div class="xgplayer-icon-exitfull">'+o.default+"</div>\n </xg-icon>",{},"xgplayer-cssfullscreen"),n={};n.requestfull=e.lang.CSSFULLSCREEN_TIPS,n.exitfull=e.lang.EXITCSSFULLSCREEN_TIPS;var a=(0,r.createDom)("xg-tips",'<span class="xgplayer-tip-requestfull">'+n.requestfull+'</span>\n <span class="xgplayer-tip-exitfull">'+n.exitfull+"</span>",{},"xgplayer-tips");t.appendChild(a),e.once("ready",(function(){e.controls.appendChild(t)})),["click","touchend"].forEach((function(n){t.addEventListener(n,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("cssFullscreenBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="scale(0.028 0.028)" d="M843.617212 67.898413 175.411567 67.898413c-61.502749 0-111.367437 49.856501-111.367437 111.367437l0 668.205645c0 61.510936 49.864688 111.367437 111.367437 111.367437L843.617212 958.838931c61.510936 0 111.367437-49.856501 111.367437-111.367437L954.984648 179.26585C954.984648 117.754914 905.12917 67.898413 843.617212 67.898413zM398.146441 736.104057c15.380292 0 27.842115 12.461823 27.842115 27.842115 0 15.379269-12.461823 27.841092-27.842115 27.841092L259.725858 791.787264c-7.785314 0-14.781658-3.217275-19.838837-8.365528-5.383614-4.577249-8.791224-11.228739-8.791224-19.475564L231.095797 624.736621c0-15.371082 12.471033-27.842115 27.842115-27.842115 15.380292 0 27.842115 12.471033 27.842115 27.842115l-0.61603 71.426773 133.036969-133.037992 39.378869 39.378869L324.962651 736.113267 398.146441 736.104057zM419.199942 463.611943 286.162974 330.565764l0.61603 71.435982c0 15.380292-12.461823 27.842115-27.842115 27.842115-15.371082 0-27.842115-12.461823-27.842115-27.842115L231.094774 262.791172c0-8.256034 3.40761-14.908548 8.791224-19.476587 5.057179-5.148253 12.053524-8.374738 19.838837-8.374738l138.420583 0.00921c15.380292 0 27.842115 12.461823 27.842115 27.842115s-12.461823 27.842115-27.842115 27.842115l-73.175603-0.00921 133.607974 133.607974L419.199942 463.611943zM787.932981 763.946172c0 8.247848-3.40761 14.899338-8.791224 19.475564-5.057179 5.148253-12.053524 8.365528-19.839861 8.365528L620.881314 791.787264c-15.379269 0-27.841092-12.461823-27.841092-27.841092 0-15.380292 12.461823-27.842115 27.841092-27.842115l73.185836 0.00921L560.449967 602.50427l39.378869-39.378869L732.875015 696.163393l-0.62524-71.426773c0-15.371082 12.462846-27.842115 27.842115-27.842115 15.380292 0 27.842115 12.471033 27.842115 27.842115L787.934005 763.946172zM787.932981 402.000724c0 15.380292-12.461823 27.842115-27.842115 27.842115-15.379269 0-27.842115-12.461823-27.842115-27.842115l0.62524-71.435982L599.828836 463.611943l-39.378869-39.378869 133.617184-133.607974-73.185836 0.00921c-15.379269 0-27.841092-12.461823-27.841092-27.842115s12.461823-27.842115 27.841092-27.842115l138.421606-0.00921c7.785314 0 14.781658 3.226484 19.839861 8.374738 5.383614 4.568039 8.791224 11.219529 8.791224 19.476587L787.934005 402.000724z"></path>\n</svg>\n'},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="scale(0.028 0.028)" d="M834.56 81.92H189.44c-59.392 0-107.52 48.128-107.52 107.52v645.12c0 59.392 48.128 107.52 107.52 107.52h645.12c59.392 0 107.52-48.128 107.52-107.52V189.44c0-59.392-48.128-107.52-107.52-107.52zM458.24 727.04c0 14.848-12.288 26.624-26.624 26.624S404.48 741.888 404.48 727.04v-69.632L289.28 773.12c-10.752 10.24-27.648 10.24-37.888 0-10.24-10.752-10.24-27.648 0-37.888L366.592 619.52H296.96c-14.848 0-26.624-12.288-26.624-26.624s12.288-26.624 26.624-26.624h134.144c14.848 0 26.624 12.288 26.624 26.624V727.04z m0-295.936c0 14.848-12.288 26.624-26.624 26.624H296.96c-14.848 0-26.624-12.288-26.624-26.624S282.112 404.48 296.96 404.48h69.632L251.392 289.28c-10.24-10.752-10.24-27.648 0-37.888 5.12-5.12 12.288-7.68 18.944-7.68 6.656 0 13.824 2.56 18.944 7.68L404.48 366.592V296.96c0-14.848 12.288-26.624 26.624-26.624s26.624 12.288 26.624 26.624v134.144zM773.12 773.12c-10.752 10.24-27.648 10.24-37.888 0L619.52 657.408V727.04c0 14.848-12.288 26.624-26.624 26.624s-26.624-11.776-26.624-26.624v-134.144c0-14.848 12.288-26.624 26.624-26.624H727.04c14.848 0 26.624 12.288 26.624 26.624s-12.288 26.624-26.624 26.624h-69.632l115.2 115.2c10.752 10.752 10.752 27.648 0.512 38.4z m0-483.84L657.408 404.48H727.04c14.848 0 26.624 12.288 26.624 26.624 0 14.848-12.288 26.624-26.624 26.624h-134.144c-14.848 0-26.624-12.288-26.624-26.624V296.96c0-14.848 12.288-26.624 26.624-26.624s26.624 12.288 26.624 26.624v69.632L734.72 250.88c5.12-5.12 12.288-7.68 18.944-7.68s13.824 2.56 18.944 7.68c10.752 10.752 10.752 27.648 0.512 38.4z"></path>\n</svg>\n'},function(e,t,n){var r=n(112);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-cssfullscreen,.xgplayer-skin-default .xgplayer-cssfullscreen-img{position:relative;-webkit-order:12;-moz-box-ordinal-group:13;order:12;display:block;cursor:pointer}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-icon,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-icon{width:32px;margin-top:5px}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-icon div,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-icon .xgplayer-icon-requestfull,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-icon .xgplayer-icon-requestfull{display:block}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-icon .xgplayer-icon-exitfull,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-icon .xgplayer-icon-exitfull{display:none}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-tips,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-tips{margin-left:-40px}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-tips .xgplayer-tip-requestfull,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-tips .xgplayer-tip-requestfull{display:block}.xgplayer-skin-default .xgplayer-cssfullscreen-img .xgplayer-tips .xgplayer-tip-exitfull,.xgplayer-skin-default .xgplayer-cssfullscreen .xgplayer-tips .xgplayer-tip-exitfull{display:none}.xgplayer-skin-default .xgplayer-cssfullscreen-img:hover,.xgplayer-skin-default .xgplayer-cssfullscreen:hover{opacity:.85}.xgplayer-skin-default .xgplayer-cssfullscreen-img:hover .xgplayer-tips,.xgplayer-skin-default .xgplayer-cssfullscreen:hover .xgplayer-tips{display:block}.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-icon .xgplayer-icon-requestfull,.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-icon .xgplayer-icon-requestfull{display:none}.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-icon .xgplayer-icon-exitfull,.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-icon .xgplayer-icon-exitfull{display:block}.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-tips,.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-tips{margin-left:-47px}.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-tips .xgplayer-tip-requestfull,.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-tips .xgplayer-tip-requestfull{display:none}.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-tips .xgplayer-tip-exitfull,.xgplayer-skin-default.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-tips .xgplayer-tip-exitfull{display:block}.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-cssfullscreen,.xgplayer-skin-default.xgplayer-is-fullscreen .xgplayer-cssfullscreen-img{display:none}.xgplayer-skin-default.xgplayer-is-cssfullscreen{position:fixed!important;left:0!important;top:0!important;width:100%!important;height:100%!important;z-index:99999!important}.xgplayer-lang-is-en .xgplayer-cssfullscreen-img .xgplayer-tips,.xgplayer-lang-is-en .xgplayer-cssfullscreen .xgplayer-tips,.xgplayer-lang-is-en.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-tips,.xgplayer-lang-is-en.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-tips{margin-left:-46px}.lang-is-jp .xgplayer-cssfullscreen-img .xgplayer-tips,.lang-is-jp .xgplayer-cssfullscreen .xgplayer-tips{margin-left:-120px}.lang-is-jp.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen-img .xgplayer-tips,.lang-is-jp.xgplayer-is-cssfullscreen .xgplayer-cssfullscreen .xgplayer-tips{margin-left:-60px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=s(n(114)),o=s(n(115)),a=s(n(116));function s(e){return e&&e.__esModule?e:{default:e}}n(117),t.default={name:"s_volume",method:function(){var e=this,t=(0,r.createDom)("xg-volume",'<xg-icon class="xgplayer-icon">\n <div class="xgplayer-icon-large">'+a.default+'</div>\n <div class="xgplayer-icon-small">'+o.default+'</div>\n <div class="xgplayer-icon-muted">'+i.default+'</div>\n </xg-icon>\n <xg-slider class="xgplayer-slider" tabindex="2">\n <xg-bar class="xgplayer-bar">\n <xg-drag class="xgplayer-drag"></xg-drag>\n </xg-bar>\n </xg-slider>',{},"xgplayer-volume");e.once("ready",(function(){e.controls&&e.controls.appendChild(t)}));var n=t.querySelector(".xgplayer-slider"),s=t.querySelector(".xgplayer-bar"),l=t.querySelector(".xgplayer-drag"),u=t.querySelector(".xgplayer-icon");l.style.height=100*e.config.volume+"%",n.volume=e.config.volume,s.addEventListener("mousedown",(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("volumeBarClick",t)})),["click","touchend"].forEach((function(t){u.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("volumeIconClick")}))})),u.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("volumeIconEnter")})),["blur","mouseleave"].forEach((function(n){t.addEventListener(n,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("volumeIconLeave")}))}))}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">\n <path transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>\n <path transform="scale(0.0220625 0.0220625)" d="M920.4 439.808l-108.544-109.056-72.704 72.704 109.568 108.544-109.056 108.544 72.704 72.704 108.032-109.568 108.544 109.056 72.704-72.704-109.568-108.032 109.056-108.544-72.704-72.704-108.032 109.568z"></path>\n</svg>\n'},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">\n <path transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>\n <path transform="scale(0.0220625 0.0220625)" d="M795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>\n</svg>\n'},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">\n <path transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>\n <path transform="scale(0.0220625 0.0220625)" d="M940.632 837.632l-72.192-72.192c65.114-64.745 105.412-154.386 105.412-253.44s-40.299-188.695-105.396-253.424l-0.016-0.016 72.192-72.192c83.639 83.197 135.401 198.37 135.401 325.632s-51.762 242.434-135.381 325.612l-0.020 0.020zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>\n</svg>\n'},function(e,t,n){var r=n(118);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,'.xgplayer-skin-default .xgplayer-volume{outline:none;-webkit-order:4;-moz-box-ordinal-group:5;order:4;width:40px;height:40px;display:block;position:relative;z-index:18}.xgplayer-skin-default .xgplayer-volume .xgplayer-icon{margin-top:8px;cursor:pointer;position:absolute;bottom:-9px}.xgplayer-skin-default .xgplayer-volume .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-volume .xgplayer-icon .xgplayer-icon-large{display:block}.xgplayer-skin-default .xgplayer-volume .xgplayer-icon .xgplayer-icon-muted,.xgplayer-skin-default .xgplayer-volume .xgplayer-icon .xgplayer-icon-small{display:none}.xgplayer-skin-default .xgplayer-slider{display:none;position:absolute;width:28px;height:92px;background:rgba(0,0,0,.54);border-radius:1px;bottom:42px;outline:none}.xgplayer-skin-default .xgplayer-slider:after{content:" ";display:block;height:15px;width:28px;position:absolute;bottom:-15px;left:0;z-index:20}.xgplayer-skin-default .xgplayer-bar,.xgplayer-skin-default .xgplayer-drag{display:block;position:absolute;bottom:6px;left:12px;background:hsla(0,0%,100%,.3);border-radius:100px;width:4px;height:76px;outline:none;cursor:pointer}.xgplayer-skin-default .xgplayer-drag{bottom:0;left:0;background:#fa1f41;max-height:76px}.xgplayer-skin-default .xgplayer-drag:after{content:" ";display:inline-block;width:8px;height:8px;background:#fff;box-shadow:0 0 5px 0 rgba(0,0,0,.26);position:absolute;border-radius:50%;left:-2px;top:-6px}.xgplayer-skin-default.xgplayer-volume-active .xgplayer-slider,.xgplayer-skin-default.xgplayer-volume-large .xgplayer-volume .xgplayer-icon .xgplayer-icon-large{display:block}.xgplayer-skin-default.xgplayer-volume-large .xgplayer-volume .xgplayer-icon .xgplayer-icon-muted,.xgplayer-skin-default.xgplayer-volume-large .xgplayer-volume .xgplayer-icon .xgplayer-icon-small,.xgplayer-skin-default.xgplayer-volume-small .xgplayer-volume .xgplayer-icon .xgplayer-icon-large{display:none}.xgplayer-skin-default.xgplayer-volume-small .xgplayer-volume .xgplayer-icon .xgplayer-icon-small{display:block}.xgplayer-skin-default.xgplayer-volume-muted .xgplayer-volume .xgplayer-icon .xgplayer-icon-large,.xgplayer-skin-default.xgplayer-volume-muted .xgplayer-volume .xgplayer-icon .xgplayer-icon-small,.xgplayer-skin-default.xgplayer-volume-small .xgplayer-volume .xgplayer-icon .xgplayer-icon-muted{display:none}.xgplayer-skin-default.xgplayer-volume-muted .xgplayer-volume .xgplayer-icon .xgplayer-icon-muted{display:block}.xgplayer-skin-default.xgplayer-mobile .xgplayer-volume .xgplayer-slider{display:none}',""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(4),a=(r=o)&&r.__esModule?r:{default:r};n(120),t.default={name:"s_definition",method:function(){var e=this,t=e.root,n=void 0,r=(0,i.createDom)("xg-definition","",{tabindex:3},"xgplayer-definition");function o(){var n=e.definitionList,o=["<ul>"],a=e.config.url,s=document.createElement("a");e.switchURL?["mp4","hls","__flv__","dash"].every((function(t){return!e[t]||(e[t].url&&(s.href=e[t].url),"__flv__"===t&&(e[t]._options?s.href=e[t]._options.url:s.href=e[t]._mediaDataSource.url),"hls"===t&&(s.href=e[t].originUrl||e[t].url,a=s.href),a=s.href,!1)})):a=e.currentSrc||e.src,n.forEach((function(t){s.href=t.url,e.dash?o.push("<li url='"+t.url+"' cname='"+t.name+"' class='"+(t.selected?"selected":"")+"'>"+t.name+"</li>"):o.push("<li url='"+t.url+"' cname='"+t.name+"' class='"+(s.href===a?"selected":"")+"'>"+t.name+"</li>")}));var l=n.filter((function(t){return s.href=t.url,e.dash?!0===t.selected:s.href===a}));o.push("</ul><p class='name'>"+(l[0]||{name:""}).name+"</p>");var u=t.querySelector(".xgplayer-definition");if(u){u.innerHTML=o.join("");var c=u.querySelector(".name");e.config.definitionActive&&"hover"!==e.config.definitionActive||c.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.addClass)(e.root,"xgplayer-definition-active"),u.focus()}))}else{r.innerHTML=o.join("");var f=r.querySelector(".name");e.config.definitionActive&&"hover"!==e.config.definitionActive||f.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.addClass)(e.root,"xgplayer-definition-active"),r.focus()})),e.controls.appendChild(r)}}function s(n){e.definitionList=n,n&&n instanceof Array&&n.length>1&&((0,i.addClass)(t,"xgplayer-is-definition"),e.once("canplay",o))}function l(){if(e.currentTime=e.curTime,!n){var t=e.play();void 0!==t&&t&&t.catch((function(e){}))}}function u(){e.once("timeupdate",l)}function c(){(0,i.removeClass)(t,"xgplayer-definition-active")}"mobile"===a.default.device&&(e.config.definitionActive="click"),e.on("resourceReady",s),["touchend","click"].forEach((function(t){r.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation();var o=e.definitionList,s=t.target||t.srcElement,c=document.createElement("a");if(s&&"li"===s.tagName.toLocaleLowerCase()){var f,h=void 0;if(Array.prototype.forEach.call(s.parentNode.childNodes,(function(t){(0,i.hasClass)(t,"selected")&&(h=t.getAttribute("cname"),(0,i.removeClass)(t,"selected"),e.emit("beforeDefinitionChange",t.getAttribute("url")))})),e.dash&&o.forEach((function(e){e.selected=!1,e.name===s.innerHTML&&(e.selected=!0)})),(0,i.addClass)(s,"selected"),f=s.getAttribute("cname"),s.parentNode.nextSibling.innerHTML=""+s.getAttribute("cname"),c.href=s.getAttribute("url"),e.switchURL){var d=document.createElement("a");["mp4","hls","__flv__","dash"].every((function(t){return!e[t]||(e[t].url&&(d.href=e[t].url),"__flv__"===t&&(e[t]._options?d.href=e[t]._options.url:d.href=e[t]._mediaDataSource.url),"hls"===t&&(d.href=e[t].originUrl||e[t].url),!1)})),d.href===c.href||e.ended||e.switchURL(c.href)}else e.hls&&(document.createElement("a"),e.hls.url),c.href!==e.currentSrc&&(e.curTime=e.currentTime,n=e.paused,e.ended||(e.src=c.href,navigator.userAgent.toLowerCase().indexOf("android")>-1?e.once("timeupdate",u):e.once("playing",l)));e.emit("definitionChange",{from:h,to:f}),"mobile"===a.default.device&&(0,i.removeClass)(e.root,"xgplayer-definition-active")}else"click"!==e.config.definitionActive||!s||"p"!==s.tagName.toLocaleLowerCase()&&"em"!==s.tagName.toLocaleLowerCase()||("mobile"===a.default.device?(0,i.toggleClass)(e.root,"xgplayer-definition-active"):(0,i.addClass)(e.root,"xgplayer-definition-active"),r.focus());e.emit("focus")}),!1)})),r.addEventListener("mouseleave",(function(e){e.preventDefault(),e.stopPropagation(),(0,i.removeClass)(t,"xgplayer-definition-active")})),e.on("blur",c),e.once("destroy",(function t(){e.off("resourceReady",s),e.off("canplay",o),navigator.userAgent.toLowerCase().indexOf("android")>-1?(e.off("timeupdate",u),e.off("timeupdate",l)):e.off("playing",l),e.off("blur",c),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){var r=n(121);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-definition{-webkit-order:5;-moz-box-ordinal-group:6;order:5;width:60px;height:150px;z-index:18;position:relative;outline:none;display:none;cursor:default;margin-left:10px;margin-top:-119px}.xgplayer-skin-default .xgplayer-definition ul{display:none;list-style:none;width:78px;background:rgba(0,0,0,.54);border-radius:1px;position:absolute;bottom:30px;left:0;text-align:center;white-space:nowrap;margin-left:-10px;z-index:26;cursor:pointer}.xgplayer-skin-default .xgplayer-definition ul li{opacity:.7;font-family:PingFangSC-Regular;font-size:11px;color:hsla(0,0%,100%,.8);padding:6px 13px}.xgplayer-skin-default .xgplayer-definition ul li.selected,.xgplayer-skin-default .xgplayer-definition ul li:hover{color:#fff;opacity:1}.xgplayer-skin-default .xgplayer-definition .name{text-align:center;font-family:PingFangSC-Regular;font-size:13px;cursor:pointer;color:hsla(0,0%,100%,.8);position:absolute;bottom:0;width:60px;height:20px;line-height:20px;background:rgba(0,0,0,.38);border-radius:10px;display:inline-block;vertical-align:middle}.xgplayer-skin-default.xgplayer-definition-active .xgplayer-definition ul,.xgplayer-skin-default.xgplayer-is-definition .xgplayer-definition{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(4),a=(r=o)&&r.__esModule?r:{default:r};n(123),t.default={name:"s_playbackRate",method:function(){var e=this,t=[];if(!e.config.playbackRate)return!1;(t=[].concat(e.config.playbackRate)).sort((function(e,t){return t-e}));var n=void 0!==e.config.playbackRateUnit?e.config.playbackRateUnit:"x",r=(0,i.createDom)("xg-playbackrate"," ",{},"xgplayer-playbackrate");"mobile"===a.default.device&&(e.config.playbackRateActive="click");var o=[];t.forEach((function(e){o.push({name:""+e,rate:""+e+n,selected:!1})}));var s=1,l=["<ul>"];o.forEach((function(t){e.config.defaultPlaybackRate&&e.config.defaultPlaybackRate.toString()===t.name?(t.selected=!0,s=e.config.defaultPlaybackRate,e.once("playing",(function(){e.video.playbackRate=e.config.defaultPlaybackRate}))):"1.0"!==t.name&&"1"!==t.name||e.config.defaultPlaybackRate&&1!==e.config.defaultPlaybackRate||(t.selected=!0),l.push("<li cname='"+t.name+"' class='"+(t.selected?"selected":"")+"'>"+t.rate+"</li>")})),l.push("</ul><p class='name'>"+s+n+"</p>");var u=e.root.querySelector(".xgplayer-playbackrate");if(u){u.innerHTML=l.join("");var c=u.querySelector(".name");e.config.playbackRateActive&&"hover"!==e.config.playbackRateActive||c.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.addClass)(e.root,"xgplayer-playbackrate-active"),u.focus()}))}else{r.innerHTML=l.join("");var f=r.querySelector(".name");e.config.playbackRateActive&&"hover"!==e.config.playbackRateActive||f.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.addClass)(e.root,"xgplayer-playbackrate-active"),r.focus()})),e.once("ready",(function(){e.controls.appendChild(r)}))}["touchend","click"].forEach((function(t){r.addEventListener(t,(function(t){t.stopPropagation(),t.preventDefault();var l=t.target;if(l&&"li"===l.tagName.toLocaleLowerCase()){var u,c=void 0;o.forEach((function(t){t.selected=!1,l.textContent.replace(/\s+/g,"")===t.rate&&(Array.prototype.forEach.call(l.parentNode.childNodes,(function(e){(0,i.hasClass)(e,"selected")&&(c=Number(e.getAttribute("cname")),(0,i.removeClass)(e,"selected"))})),t.selected=!0,e.video.playbackRate=1*t.name,s=1*t.name)})),(0,i.addClass)(l,"selected"),u=Number(l.getAttribute("cname")),l.parentNode.nextSibling.innerHTML=""+l.getAttribute("cname")+n,e.emit("playbackrateChange",{from:c,to:u}),"mobile"===a.default.device&&(0,i.removeClass)(e.root,"xgplayer-playbackrate-active")}else"click"!==e.config.playbackRateActive||!l||"p"!==l.tagName.toLocaleLowerCase()&&"span"!==l.tagName.toLocaleLowerCase()||("mobile"===a.default.device?(0,i.toggleClass)(e.root,"xgplayer-playbackrate-active"):(0,i.addClass)(e.root,"xgplayer-playbackrate-active"),r.focus());e.emit("focus")}),!1)})),r.addEventListener("mouseleave",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.removeClass)(e.root,"xgplayer-playbackrate-active")})),e.on("blur",(function(){(0,i.removeClass)(e.root,"xgplayer-playbackrate-active")})),e.on("play",(function(){e.video.playbackRate.toFixed(1)!==s.toFixed(1)&&(e.video.playbackRate=s)}))}},e.exports=t.default},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-playbackrate{-webkit-order:8;-moz-box-ordinal-group:9;order:8;width:60px;height:150px;z-index:18;position:relative;display:inline-block;cursor:default;margin-top:-119px}.xgplayer-skin-default .xgplayer-playbackrate ul{display:none;list-style:none;width:78px;background:rgba(0,0,0,.54);border-radius:1px;position:absolute;bottom:30px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);text-align:left;white-space:nowrap;z-index:26;cursor:pointer}.xgplayer-skin-default .xgplayer-playbackrate ul li{opacity:.7;font-family:PingFangSC-Regular;font-size:11px;color:hsla(0,0%,100%,.8);position:relative;padding:4px 0;text-align:center}.xgplayer-skin-default .xgplayer-playbackrate ul li.selected,.xgplayer-skin-default .xgplayer-playbackrate ul li:hover{color:#fff;opacity:1}.xgplayer-skin-default .xgplayer-playbackrate ul li:first-child{position:relative;margin-top:12px}.xgplayer-skin-default .xgplayer-playbackrate ul li:last-child{position:relative;margin-bottom:12px}.xgplayer-skin-default .xgplayer-playbackrate .name{width:60px;height:20px;position:absolute;bottom:0;text-align:center;font-family:PingFangSC-Regular;font-size:13px;background:rgba(0,0,0,.38);color:hsla(0,0%,100%,.8);border-radius:10px;line-height:20px}.xgplayer-skin-default .xgplayer-playbackrate span{position:relative;top:19px;font-weight:700;text-shadow:0 0 4px rgba(0,0,0,.6)}.xgplayer-skin-default .xgplayer-playbackrate:hover{opacity:1}.xgplayer-skin-default.xgplayer-playbackrate-active .xgplayer-playbackrate ul{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"s_localPreview",method:function(){var e=this;if(e.config.preview&&e.config.preview.uploadEl){var t=(0,r.createDom)("xg-preview",'<input type="file">',{},"xgplayer-preview"),n=t.querySelector("input");e.config.preview.uploadEl.appendChild(t),n.onchange=function(){e.emit("upload",n)}}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(127),a=(r=o)&&r.__esModule?r:{default:r};n(128),t.default={name:"s_download",method:function(){var e=this;if(e.config.download){var t=(0,i.createDom)("xg-download",'<xg-icon class="xgplayer-icon">'+a.default+"</xg-icon>",{},"xgplayer-download"),n=e.lang.DOWNLOAD_TIPS,r=(0,i.createDom)("xg-tips",'<span class="xgplayer-tip-download">'+n+"</span>",{},"xgplayer-tips");t.appendChild(r),e.once("ready",(function(){e.controls.appendChild(t)})),["click","touchend"].forEach((function(n){t.addEventListener(n,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("downloadBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">\n <g id="Group-2">\n <g id="volme_big-copy" transform="translate(488.000000, 340.000000)">\n <rect id="Rectangle-18" x="11" y="4" width="2" height="12" rx="1"></rect>\n <rect id="Rectangle-2" x="3" y="18" width="18" height="2" rx="1"></rect>\n <rect id="Rectangle-2" transform="translate(4.000000, 17.500000) rotate(90.000000) translate(-4.000000, -17.500000) " x="1.5" y="16.5" width="5" height="2" rx="1"></rect><rect id="Rectangle-2-Copy-3" transform="translate(20.000000, 17.500000) rotate(90.000000) translate(-20.000000, -17.500000) " x="17.5" y="16.5" width="5" height="2" rx="1"></rect>\n <path d="M9.48791171,8.26502656 L9.48791171,14.2650266 C9.48791171,14.8173113 9.04019646,15.2650266 8.48791171,15.2650266 C7.93562696,15.2650266 7.48791171,14.8173113 7.48791171,14.2650266 L7.48791171,7.26502656 C7.48791171,6.71274181 7.93562696,6.26502656 8.48791171,6.26502656 L15.4879117,6.26502656 C16.0401965,6.26502656 16.4879117,6.71274181 16.4879117,7.26502656 C16.4879117,7.81731131 16.0401965,8.26502656 15.4879117,8.26502656 L9.48791171,8.26502656 Z" id="Combined-Shape" transform="translate(11.987912, 10.765027) scale(1, -1) rotate(45.000000) translate(-11.987912, -10.765027) "></path>\n </g>\n </g>\n </g>\n </g>\n</svg>\n'},function(e,t,n){var r=n(129);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-download{position:relative;-webkit-order:9;-moz-box-ordinal-group:10;order:9;display:block;cursor:pointer}.xgplayer-skin-default .xgplayer-download .xgplayer-icon{margin-top:3px}.xgplayer-skin-default .xgplayer-download .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-download .xgplayer-icon svg{position:relative;top:5px;left:5px}.xgplayer-skin-default .xgplayer-download .xgplayer-tips{margin-left:-20px}.xgplayer-skin-default .xgplayer-download .xgplayer-tips .xgplayer-tip-download{display:block}.xgplayer-skin-default .xgplayer-download:hover{opacity:.85}.xgplayer-skin-default .xgplayer-download:hover .xgplayer-tips{display:block}.xgplayer-lang-is-en .xgplayer-download .xgplayer-tips{margin-left:-32px}.xgplayer-lang-is-jp .xgplayer-download .xgplayer-tips{margin-left:-40px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=a(n(131)),o=a(n(133));function a(e){return e&&e.__esModule?e:{default:e}}n(134),t.default={name:"s_danmu",method:function(){var e=this,t=e.root;if(e.config.danmu){var n=(0,r.createDom)("xg-danmu","",{},"xgplayer-danmu");e.once("ready",(function(){t.appendChild(n)}));var a=(0,r.deepCopy)({container:n,player:e.video,comments:[],area:{start:0,end:1}},e.config.danmu),s=void 0;e.config.danmu.panel&&(s=(0,r.createDom)("xg-panel",'<xg-panel-icon class="xgplayer-panel-icon">\n '+o.default+'\n </xg-panel-icon>\n <xg-panel-slider class="xgplayer-panel-slider">\n <xg-hidemode class="xgplayer-hidemode">\n <p class="xgplayer-hidemode-font">屏蔽类型</p>\n <ul class="xgplayer-hidemode-radio">\n <li class="xgplayer-hidemode-scroll" id="false">滚动</li><li class="xgplayer-hidemode-top" id="false">顶部</li><li class="xgplayer-hidemode-bottom" id="false">底部</li><li class="xgplayer-hidemode-color" id="false">色彩</li>\n </ul>\n </xg-hidemode>\n <xg-transparency class="xgplayer-transparency">\n <span>不透明度</span>\n <input class="xgplayer-transparency-line xgplayer-transparency-color xgplayer-transparency-bar xgplayer-transparency-gradient" type="range" min="0" max="100" step="0.1" value="50"></input>\n </xg-transparency>\n <xg-showarea class="xgplayer-showarea">\n <div class="xgplayer-showarea-name">显示区域</div>\n <div class="xgplayer-showarea-control">\n <div class="xgplayer-showarea-control-up">\n <span class="xgplayer-showarea-control-up-item xgplayer-showarea-onequarters">1/4</span>\n <span class="xgplayer-showarea-control-up-item xgplayer-showarea-twoquarters selected-color">1/2</span>\n <span class="xgplayer-showarea-control-up-item xgplayer-showarea-threequarters">3/4</span>\n <span class="xgplayer-showarea-control-up-item xgplayer-showarea-full">1</span>\n </div>\n <div class="xgplayer-showarea-control-down">\n <div class="xgplayer-showarea-control-down-dots">\n <span class="xgplayer-showarea-onequarters-dot"></span>\n <span class="xgplayer-showarea-twoquarters-dot"></span>\n <span class="xgplayer-showarea-threequarters-dot"></span>\n <span class="xgplayer-showarea-full-dot"></span>\n </div>\n <input class="xgplayer-showarea-line xgplayer-showarea-color xgplayer-showarea-bar xgplayer-gradient" type="range" min="1" max="4" step="1" value="1">\n </div>\n </div>\n </xg-showarea>\n <xg-danmuspeed class="xgplayer-danmuspeed">\n <div class="xgplayer-danmuspeed-name">弹幕速度</div>\n <div class="xgplayer-danmuspeed-control">\n <div class="xgplayer-danmuspeed-control-up">\n <span class="xgplayer-danmuspeed-control-up-item xgplayer-danmuspeed-small">慢</span>\n <span class="xgplayer-danmuspeed-control-up-item xgplayer-danmuspeed-middle selected-color">中</span>\n <span class="xgplayer-danmuspeed-control-up-item xgplayer-danmuspeed-large">快</span>\n </div>\n <div class="xgplayer-danmuspeed-control-down">\n <div class="xgplayer-danmuspeed-control-down-dots">\n <span class="xgplayer-danmuspeed-small-dot"></span>\n <span class="xgplayer-danmuspeed-middle-dot"></span>\n <span class="xgplayer-danmuspeed-large-dot"></span>\n </div>\n <input class="xgplayer-danmuspeed-line xgplayer-danmuspeed-color xgplayer-danmuspeed-bar xgplayer-gradient" type="range" min="50" max="150" step="50" value="100">\n </div>\n </div>\n </xg-danmuspeed>\n <xg-danmufont class="xgplayer-danmufont">\n <div class="xgplayer-danmufont-name">字体大小</div>\n <div class="xgplayer-danmufont-control">\n <div class="xgplayer-danmufont-control-up">\n <span class="xgplayer-danmufont-control-up-item xgplayer-danmufont-small">小</span>\n <span class="xgplayer-danmufont-control-up-item xgplayer-danmufont-middle">中</span>\n <span class="xgplayer-danmufont-control-up-item xgplayer-danmufont-large selected-color">大</span>\n </div>\n <div class="xgplayer-danmufont-control-down">\n <div class="xgplayer-danmufont-control-down-dots">\n <span class="xgplayer-danmufont-small-dot"></span>\n <span class="xgplayer-danmufont-middle-dot"></span>\n <span class="xgplayer-danmufont-large-dot"></span>\n </div>\n <input class="xgplayer-danmufont-line xgplayer-danmufont-color xgplayer-danmufont-bar xgplayer-gradient" type="range" min="20" max="30" step="5" value="25">\n </div>\n </div>\n </xg-danmufont>\n </xg-panel-slider>',{tabindex:7},"xgplayer-panel"),e.once("ready",(function(){e.controls.appendChild(s)}))),e.once("complete",(function(){var t=new i.default(a);if(e.emit("initDefaultDanmu",t),e.danmu=t,e.config.danmu.panel){var n=s.querySelector(".xgplayer-panel-slider"),o=void 0;["mouseenter","touchend","click"].forEach((function(e){s.addEventListener(e,(function(e){e.preventDefault(),e.stopPropagation(),(0,r.addClass)(n,"xgplayer-panel-active"),s.focus(),o=!0}))})),s.addEventListener("mouseleave",(function(e){e.preventDefault(),e.stopPropagation(),(0,r.removeClass)(n,"xgplayer-panel-active"),o=!1})),n.addEventListener("mouseleave",(function(e){e.preventDefault(),e.stopPropagation(),!1===o&&(0,r.removeClass)(n,"xgplayer-panel-active")}));var l=e.config.danmu,u={scroll:s.querySelector(".xgplayer-hidemode-scroll"),top:s.querySelector(".xgplayer-hidemode-top"),bottom:s.querySelector(".xgplayer-hidemode-bottom"),color:s.querySelector(".xgplayer-hidemode-color")},c=function(t){var n=t;["touchend","click"].forEach((function(t){u[n].addEventListener(t,(function(t){"true"!==u[n].getAttribute("id")?(u[n].style.color="#f85959",u[n].setAttribute("id","true"),e.danmu.hide(n)):(u[n].style.color="#aaa",u[n].setAttribute("id","false"),e.danmu.show(n))}))}))};for(var f in u)c(f);var h=s.querySelector(".xgplayer-transparency-line"),d=s.querySelector(".xgplayer-transparency-gradient"),p=50;if(d.style.background="linear-gradient(to right, #f85959 0%, #f85959 "+p+"%, #aaa "+p+"%, #aaa)",h.addEventListener("input",(function(e){e.preventDefault(),e.stopPropagation(),p=e.target.value,d.style.background="linear-gradient(to right, #f85959 0%, #f85959 "+p+"%, #aaa "+p+"%, #aaa)",l.comments.forEach((function(e){e.style.opacity=p/100}))})),s.querySelector(".xgplayer-showarea-line").addEventListener("input",(function(t){t.preventDefault(),t.stopPropagation();var n=t.target.value;e.danmu.config.area.end=n/100,e.config.danmu.area.end=n/100,e.danmu.bulletBtn.main.channel.resize()})),s.querySelector(".xgplayer-danmuspeed-line").addEventListener("input",(function(e){e.preventDefault(),e.stopPropagation();var t=e.target.value;l.comments.forEach((function(e){e.duration=100*(200-t)}))})),s.querySelector(".xgplayer-danmufont-line").addEventListener("input",(function(e){e.preventDefault(),e.stopPropagation();var t=e.target.value;l.comments.forEach((function(e){e.style.fontSize=t+"px"}))})),navigator.userAgent.indexOf("Firefox")>-1)for(var g=0;g<n.querySelectorAll("input").length;g++)n.querySelectorAll("input")[g].style.marginTop="10px"}}))}}},e.exports=t.default},function(e,t,n){"use strict";(function(e){var n,r,i,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};window,o=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==(void 0===e?"undefined":a(e))&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=(r=n(26))&&r.__esModule?r:{default:r},a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"setLogger",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.logger=new o.default(e+".js")}}]),e}();t.default=a,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r={createDom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=document.createElement(e);return i.className=r,i.innerHTML=t,Object.keys(n).forEach((function(t){var r=t,o=n[t];"video"===e||"audio"===e?o&&i.setAttribute(r,o):i.setAttribute(r,o)})),i},hasClass:function(e,t){return e.classList?Array.prototype.some.call(e.classList,(function(e){return e===t})):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))},addClass:function(e,t){e.classList?t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach((function(t){t&&e.classList.add(t)})):r.hasClass(e,t)||(e.className+=" "+t)},removeClass:function(e,t){e.classList?t.split(/\s+/g).forEach((function(t){e.classList.remove(t)})):r.hasClass(e,t)&&t.split(/\s+/g).forEach((function(t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}))},toggleClass:function(e,t){t.split(/\s+/g).forEach((function(t){r.hasClass(e,t)?r.removeClass(e,t):r.addClass(e,t)}))},findDom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=arguments[1],n=void 0;try{n=e.querySelector(t)}catch(r){t.startsWith("#")&&(n=e.getElementById(t.slice(1)))}return n},deepCopy:function(e,t){if("Object"===r.typeOf(t)&&"Object"===r.typeOf(e))return Object.keys(t).forEach((function(n){"Object"!==r.typeOf(t[n])||t[n]instanceof Node?"Array"===r.typeOf(t[n])?e[n]="Array"===r.typeOf(e[n])?e[n].concat(t[n]):t[n]:e[n]=t[n]:e[n]?r.deepCopy(e[n],t[n]):e[n]=t[n]})),e},typeOf:function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},copyDom:function(e){if(e&&1===e.nodeType){var t=document.createElement(e.tagName);return Array.prototype.forEach.call(e.attributes,(function(e){t.setAttribute(e.name,e.value)})),e.innerHTML&&(t.innerHTML=e.innerHTML),t}return""},formatTime:function(e){var t=Math.floor(e);return 1e3*t+(e-t)},offInDestroy:function(e,t,n,r){e.once(r,(function i(){e.off(t,n),e.off(r,i)}))},on:function(e,t,n,i){i?(e.on(t,n),r.offInDestroy(e,t,n,i)):e.on(t,(function r(i){n(i),e.off(t,r)}))}};t.default=r,e.exports=t.default},function(e,t,n){var r=n(19)();e.exports=function(e){return e!==r&&null!==e}},function(e,t,n){e.exports=function(e){return null!=e}},function(e,t,n){e.exports=n(5)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(6))&&r.__esModule?r:{default:r};n(34),t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=h(n(7)),o=h(n(0)),s=h(n(27)),l=h(n(31)),u=h(n(1)),c=n(32),f=n(33);function h(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}var p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));n.setLogger("danmu"),n.logger.info("danmu.js version: "+c.version);var r=n;if(r.config=u.default.deepCopy({overlap:!1,area:{start:0,end:1},live:!1,comments:[],direction:"r2l",needResizeObserver:!1},e),r.hideArr=[],r.domObj=new l.default,(0,i.default)(r),r.config.comments.forEach((function(e){e.duration=e.duration?e.duration:5e3,e.mode||(e.mode="scroll")})),!r.config.container||1!==r.config.container.nodeType)return r.emit("error","container id can't be empty"),d(n,!1);if(r.container=r.config.container,r.config.containerStyle){var o=r.config.containerStyle;Object.keys(o).forEach((function(e){r.container.style[e]=o[e]}))}return r.live=r.config.live,r.player=r.config.player,r.direction=r.config.direction,u.default.addClass(r.container,"danmu"),r.bulletBtn=new s.default(r),r.isReady=!0,r.emit("ready"),n.logger.info("ready"),n.addResizeObserver(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"addResizeObserver",value:function(){var e=this;this.config.needResizeObserver&&(0,f.addObserver)(this.container,(function(){e.logger.info("needResizeObserver"),e.resize()}))}},{key:"start",value:function(){this.logger.info("start"),this.bulletBtn.main.start()}},{key:"pause",value:function(){this.logger.info("pause"),this.bulletBtn.main.pause()}},{key:"play",value:function(){this.logger.info("play"),this.bulletBtn.main.play()}},{key:"stop",value:function(){this.logger.info("stop"),this.bulletBtn.main.stop()}},{key:"clear",value:function(){this.logger.info("clear"),this.bulletBtn.main.clear()}},{key:"destroy",value:function(){for(var e in(0,f.unObserver)(this.container),this.logger.info("destroy"),this.stop(),this.bulletBtn.destroy(),this.domObj.destroy(),this)delete this[e];this.emit("destroy")}},{key:"sendComment",value:function(e){this.logger.info("sendComment: "+(e.txt||"[DOM Element]")),e.duration||(e.duration=15e3),e&&e.id&&e.duration&&(e.el||e.txt)&&(e.duration=e.duration?e.duration:5e3,e.style&&(this.opacity&&this.opacity!==e.style.opacity&&(e.style.opacity=this.opacity),this.fontSize&&this.fontSize!==e.style.fontSize&&(e.style.fontSize=this.fontSize),this.like&&(e.like=e.like?e.like:this.like)),e.prior||e.realTime?(this.bulletBtn.main.data.unshift(e),e.realTime&&(this.bulletBtn.main.readData(),this.bulletBtn.main.dataHandle())):this.bulletBtn.main.data.push(e))}},{key:"setCommentID",value:function(e,t){var n=this;this.logger.info("setCommentID: oldID "+e+" newID "+t);var r=this.container.getBoundingClientRect();e&&t&&(this.bulletBtn.main.data.some((function(n){return n.id===e&&(n.id=t,!0)})),this.bulletBtn.main.queue.some((function(i){return i.id===e&&(i.id=t,i.pauseMove(r),"paused"!==n.bulletBtn.main.status&&i.startMove(r),!0)})))}},{key:"setCommentDuration",value:function(e,t){var n=this;this.logger.info("setCommentDuration: id "+e+" duration "+t);var r=this.container.getBoundingClientRect();e&&t&&(t=t||5e3,this.bulletBtn.main.data.some((function(n){return n.id===e&&(n.duration=t,!0)})),this.bulletBtn.main.queue.some((function(i){return i.id===e&&(i.duration=t,i.pauseMove(r),"paused"!==n.bulletBtn.main.status&&i.startMove(r),!0)})))}},{key:"setCommentLike",value:function(e,t){this.logger.info("setCommentLike: id "+e+" like "+t);var n=this.container.getBoundingClientRect();this.like=t,e&&t&&(this.bulletBtn.main.data.some((function(n){return n.id===e&&(n.like=t,!0)})),this.bulletBtn.main.queue.some((function(r){return r.id===e&&(r.pauseMove(n),r.setLikeDom(t.el,t.style),"paused"!==r.danmu.bulletBtn.main.status&&r.startMove(n),!0)})))}},{key:"restartComment",value:function(e){this.logger.info("restartComment: id "+e),this.mouseControl=!1;var t=this.container.getBoundingClientRect();e&&this.bulletBtn.main.queue.some((function(n){return n.id===e&&("paused"!==n.danmu.bulletBtn.main.status?n.startMove(t,!0):n.status="paused",!0)}))}},{key:"freezeComment",value:function(e){this.logger.info("freezeComment: id "+e),this.mouseControl=!0;var t=this.container.getBoundingClientRect();e&&this.bulletBtn.main.queue.some((function(n){return n.id===e&&(n.status="forcedPause",n.pauseMove(t),n.el&&n.el.style&&(n.el.style.zIndex=10),!0)}))}},{key:"removeComment",value:function(e){this.logger.info("removeComment: id "+e),e&&(this.bulletBtn.main.queue.some((function(t){return t.id===e&&(t.remove(),!0)})),this.bulletBtn.main.data=this.bulletBtn.main.data.filter((function(t){return t.id!==e})))}},{key:"setAllDuration",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll",t=arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.logger.info("setAllDuration: mode "+e+" duration "+t+" force "+n);var r=this.container.getBoundingClientRect();t&&(t=t||5e3,n&&(this.bulletBtn.main.forceDuration=t),this.bulletBtn.main.data.forEach((function(n){e===n.mode&&(n.duration=t)})),this.bulletBtn.main.queue.forEach((function(n){e===n.mode&&(n.duration=t,n.pauseMove(r),"paused"!==n.danmu.bulletBtn.main.status&&n.startMove(r))})))}},{key:"setOpacity",value:function(e){this.logger.info("setOpacity: opacity "+e),this.container.style.opacity=e}},{key:"setFontSize",value:function(e,t){var n=this;this.logger.info("setFontSize: size "+e+" channelSize "+t),this.fontSize=e+"px",e&&(this.bulletBtn.main.data.forEach((function(e){e.style&&(e.style.fontSize=n.fontSize)})),this.bulletBtn.main.queue.forEach((function(e){e.options.style||(e.options.style={}),e.options.style.fontSize=n.fontSize,e.setFontSize(n.fontSize),t&&(e.top=e.channel_id[0]*t,e.topInit())}))),t&&(this.config.channelSize=t,this.bulletBtn.main.channel.resize(!0))}},{key:"setArea",value:function(e){this.logger.info("setArea: area "+e),this.config.area=e,this.bulletBtn.main.channel.resize(!0)}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll";this.logger.info("hide: mode "+e),this.hideArr.indexOf(e)<0&&this.hideArr.push(e);var t=this.bulletBtn.main.queue.filter((function(t){return e===t.mode||"color"===e&&t.color}));t.forEach((function(e){return e.remove()}))}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll";this.logger.info("show: mode "+e);var t=this.hideArr.indexOf(e);t>-1&&this.hideArr.splice(t,1)}},{key:"setDirection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"r2l";this.logger.info("setDirection: direction "+e),this.emit("changeDirection",e)}},{key:"resize",value:function(){this.logger.info("resize"),this.emit("channel_resize")}}]),t}(o.default);t.default=p,e.exports=t.default},function(e,t,n){var r,i,o,s,l,u,c,f=n(8),h=n(25),d=Function.prototype.apply,p=Function.prototype.call,g=Object.create,v=Object.defineProperty,y=Object.defineProperties,m=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};i=function(e,t){var n,i;return h(t),i=this,r.call(this,e,n=function(){o.call(i,e,n),d.call(t,this,arguments)}),n.__eeOnceListener__=t,this},l={on:r=function(e,t){var n;return h(t),m.call(this,"__ee__")?n=this.__ee__:(n=b.value=g(null),v(this,"__ee__",b),b.value=null),n[e]?"object"==a(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:i,off:o=function(e,t){var n,r,i,o;if(h(t),!m.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==a(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:s=function(e){var t,n,r,i,o;if(m.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==(void 0===i?"undefined":a(i))){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)d.call(r,this,o)}else switch(arguments.length){case 1:p.call(i,this);break;case 2:p.call(i,this,arguments[1]);break;case 3:p.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];d.call(i,this,o)}}},u={on:f(r),once:f(i),off:f(o),emit:f(s)},c=y({},u),e.exports=t=function(e){return null==e?g(c):y(Object(e),u)},t.methods=l},function(e,t,n){var r=n(3),i=n(9),o=n(13),a=n(21),s=n(22);(e.exports=function(e,t){var n,i,l,u,c;return arguments.length<2||"string"!=typeof e?(u=t,t=e,e=null):u=arguments[2],r(e)?(n=s.call(e,"c"),i=s.call(e,"e"),l=s.call(e,"w")):(n=l=!0,i=!1),c={value:t,configurable:n,enumerable:i,writable:l},u?o(a(u),c):c}).gs=function(e,t,n){var l,u,c,f;return"string"!=typeof e?(c=n,n=t,t=e,e=null):c=arguments[3],r(t)?i(t)?r(n)?i(n)||(c=n,n=void 0):n=void 0:(c=t,t=n=void 0):t=void 0,r(e)?(l=s.call(e,"c"),u=s.call(e,"e")):(l=!0,u=!1),f={get:t,set:n,configurable:l,enumerable:u},c?o(a(c),f):f}},function(e,t,n){var r=n(10),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!i.test(o.call(e))}},function(e,t,n){var r=n(11);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},function(e,t,n){var r=n(3),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(i,void 0===e?"undefined":a(e))}},function(e,t,n){e.exports=n(14)()?Object.assign:n(15)},function(e,t,n){e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},function(e,t,n){var r=n(16),i=n(20),o=Math.max;e.exports=function(e,t){var n,a,s,l=o(arguments.length,2);for(e=Object(i(e)),s=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},a=1;a<l;++a)r(t=arguments[a]).forEach(s);if(void 0!==n)throw n;return e}},function(e,t,n){e.exports=n(17)()?Object.keys:n(18)},function(e,t,n){e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},function(e,t,n){var r=n(2),i=Object.keys;e.exports=function(e){return i(r(e)?Object(e):e)}},function(e,t,n){e.exports=function(){}},function(e,t,n){var r=n(2);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},function(e,t,n){var r=n(2),i=Array.prototype.forEach,o=Object.create,a=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=o(null);return i.call(arguments,(function(e){r(e)&&a(Object(e),t)})),t}},function(e,t,n){e.exports=n(23)()?String.prototype.contains:n(24)},function(e,t,n){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo")}},function(e,t,n){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1}},function(e,t,n){e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=window.location.href.indexOf("danmu-debug")>-1,o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructorName=t||""}return r(e,[{key:"info",value:function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];i&&(t=console).log.apply(t,["[Danmu Log]["+this.constructorName+"]",e].concat(r))}}]),e}();t.default=o,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(0)),o=l(n(1)),s=l(n(28));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.setLogger("control"),n.danmu=e,n.main=new s.default(e),e.config.defaultOff||n.main.start(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"createSwitch",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.logger.info("createSwitch"),this.switchBtn=o.default.createDom("dk-switch",'<span class="txt">弹</span>',{},"danmu-switch "+(e?"danmu-switch-active":"")),this.switchBtn}},{key:"destroy",value:function(){for(var e in this.logger.info("destroy"),this.main.destroy(),this)delete this[e]}}]),t}(i.default);t.default=u,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(0)),o=u(n(29)),s=u(n(30)),l=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));n.setLogger("main"),n.danmu=e,n.container=e.container,n.channel=new o.default(e),n.data=[].concat(e.config.comments),n.playedData=[],n.queue=[],n.timer=null,n.retryTimer=null,n.retryStatus="normal",n.interval=e.config.interval||2e3,n.status="idle",l.default.on(e,"bullet_remove",n.updateQueue.bind(n),"destroy");var r=n;return l.default.on(n.danmu,"changeDirection",(function(e){r.danmu.direction=e}),"destroy"),n.nums=0,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"destroy",value:function(){for(var e in this.logger.info("destroy"),clearTimeout(this.dataHandleTimer),this.channel.destroy(),this.data=[],this)delete this[e]}},{key:"updateQueue",value:function(e){this.logger.info("updateQueue");var t=this;t.queue.some((function(n,r){return n.id===e.bullet.id&&(t.queue.splice(r,1),!0)})),t.data.some((function(t,n){return t.id===e.bullet.id&&(t.hasAttached=!1,!0)}))}},{key:"init",value:function(e,t){t.logger.info("init"),t||(t=this),t.retryStatus="normal",t.data.sort((function(e,t){return e.start-t.start})),t.retryTimer||function e(){"closed"===t.status&&"stop"===t.retryStatus||("playing"===t.status&&(t.readData(),t.dataHandle()),"stop"===t.retryStatus&&"paused"!==t.status||(t.dataHandleTimer=setTimeout((function(){e()}),t.interval-1e3)))}()}},{key:"start",value:function(){this.logger.info("start"),this.status="playing",this.queue=[],this.container.innerHTML="",this.channel.resetWithCb(this.init,this)}},{key:"stop",value:function(){this.logger.info("stop"),this.status="closed",this.retryTimer=null,this.retryStatus="stop",this.channel.reset(),this.queue=[],this.container.innerHTML=""}},{key:"clear",value:function(){this.logger.info("clear"),this.channel.reset(),this.data=[],this.queue=[],this.container.innerHTML=""}},{key:"play",value:function(){var e=this;this.logger.info("play"),this.status="playing";var t=this.channel.channels,n=this.danmu.container.getBoundingClientRect();t&&t.length>0&&["scroll","top","bottom"].forEach((function(r){e.queue.forEach((function(e){e.startMove(n),e.resized=!0}));for(var i=0;i<t.length;i++)t[i].queue[r].forEach((function(e){e.resized=!1}))}))}},{key:"pause",value:function(){this.logger.info("pause"),this.status="paused";var e=this.channel.channels,t=this.danmu.container.getBoundingClientRect();e&&e.length>0&&this.queue.forEach((function(e){e.pauseMove(t)}))}},{key:"dataHandle",value:function(){var e=this;"paused"!==this.status&&"closed"!==this.status&&e.queue.length&&e.queue.forEach((function(t){"waiting"===t.status&&t.startMove(e.channel.containerPos)}))}},{key:"readData",value:function(){var e=this,t=this.danmu;if(t.isReady){var n=0;t.player&&t.player.currentTime&&(n=l.default.formatTime(t.player.currentTime));var r=void 0,i=e.interval,o=e.channel,a=void 0;t.player?(a=e.data.filter((function(t){return!t.start&&e.danmu.hideArr.indexOf(t.mode)<0&&(!t.color||e.danmu.hideArr.indexOf("color")<0)&&(t.start=n),e.danmu.hideArr.indexOf(t.mode)<0&&(!t.color||e.danmu.hideArr.indexOf("color")<0)&&t.start-i<=n&&n<=t.start+i})),t.live&&(e.data=e.data.filter((function(e){return e.start||(e.start=n),e.start>n-3*i})))):0===(a=e.data.splice(0,1)).length&&(a=e.playedData.splice(0,1)),a.length>0&&a.forEach((function(n){e.forceDuration&&e.forceDuration!=n.duration&&(n.duration=e.forceDuration),r=new s.default(t,n),n.hasAttached||(r.attach(),n.hasAttached=!0,o.addBullet(r).result?(e.queue.push(r),e.nums++,r.topInit()):(r.detach(),r=null,n.hasAttached=!1,n.noDiscard&&(n.prior?e.data.unshift(n):e.data.push(n))))}))}}}]),t}(i.default);t.default=c,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),o=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));n.setLogger("channel"),n.danmu=e,n.reset(!0);var r=n;return o.default.on(n.danmu,"bullet_remove",(function(e){r.removeBullet(e.bullet)}),"destroy"),n.direction=e.direction,o.default.on(n.danmu,"changeDirection",(function(e){r.direction=e}),"destroy"),n.containerPos=n.danmu.container.getBoundingClientRect(),n.containerWidth=n.containerPos.width,n.containerHeight=n.containerPos.height,n.containerLeft=n.containerPos.left,n.containerRight=n.containerPos.right,o.default.on(n.danmu,"channel_resize",(function(){r.containerPos=r.danmu.container.getBoundingClientRect(),r.resizing||(r.containerWidth=r.containerPos.width,r.containerHeight=r.containerPos.height,r.containerLeft=r.containerPos.left,r.containerRight=r.containerPos.right,r.resize(!0))}),"destroy"),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"destroy",value:function(){for(var e in this.logger.info("destroy"),clearTimeout(this.resizeTimer),this.channels=[],this)delete this[e]}},{key:"resize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.logger.info("resize");var t=this.danmu.container,n=this;n.resizing||(n.resizing=!0,this.resizeTimer=setTimeout((function(){n.danmu.bulletBtn.main.data&&n.danmu.bulletBtn.main.data.forEach((function(e){e.bookChannelId&&(delete e.bookChannelId,n.logger.info("resize导致"+e.id+"号优先弹幕预定取消"))})),n.logger.info("resize导致所有轨道恢复正常使用");var r=t.getBoundingClientRect();n.width=r.width,n.height=r.height,n.danmu.config.area&&n.danmu.config.area.start>=0&&n.danmu.config.area.end>=n.danmu.config.area.start&&("b2t"===n.direction?n.width=n.width*(n.danmu.config.area.end-n.danmu.config.area.start):n.height=n.height*(n.danmu.config.area.end-n.danmu.config.area.start)),n.container=t;var i,o=n.danmu.config.channelSize||(/mobile/gi.test(navigator.userAgent)?10:12);i="b2t"===n.direction?Math.floor(n.width/o):Math.floor(n.height/o);for(var a=[],s=0;s<i;s++)a[s]={id:s,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}};if(n.channels&&n.channels.length<=a.length){for(var l=function(t){a[t]={id:t,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}},["scroll","top"].forEach((function(r){n.channels[t].queue[r].forEach((function(i){i.el&&(a[t].queue[r].push(i),i.resized||(i.pauseMove(n.containerPos,e),"paused"!==i.danmu.bulletBtn.main.status&&i.startMove(n.containerPos),i.resized=!0))}))})),n.channels[t].queue.bottom.forEach((function(r){if(r.el){if(a[t+a.length-n.channels.length].queue.bottom.push(r),r.channel_id[0]+r.channel_id[1]-1===t){var i=[].concat(r.channel_id);r.channel_id=[i[0]-n.channels.length+a.length,i[1]],r.top=r.channel_id[0]*o,n.danmu.config.area&&n.danmu.config.area.start&&(r.top+=n.containerHeight*n.danmu.config.area.start),r.topInit()}r.resized||(r.pauseMove(n.containerPos,e),"paused"!==r.danmu.bulletBtn.main.status&&r.startMove(n.containerPos),r.resized=!0)}}))},u=0;u<n.channels.length;u++)l(u);for(var c=function(e){["scroll","top","bottom"].forEach((function(t){a[e].queue[t].forEach((function(e){e.resized=!1}))}))},f=0;f<a.length;f++)c(f);n.channels=a,"b2t"===n.direction?n.channelWidth=o:n.channelHeight=o}else if(n.channels&&n.channels.length>a.length){for(var h=function(t){a[t]={id:t,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}},["scroll","top","bottom"].forEach((function(r){if("top"===r&&t>Math.floor(a.length/2));else if("bottom"===r&&t<=Math.floor(a.length/2));else{var i="bottom"===r?t-a.length+n.channels.length:t;n.channels[i].queue[r].forEach((function(s,l){if(s.el){if(a[t].queue[r].push(s),"bottom"===r&&s.channel_id[0]+s.channel_id[1]-1===i){var u=[].concat(s.channel_id);s.channel_id=[u[0]-n.channels.length+a.length,u[1]],s.top=s.channel_id[0]*o,n.danmu.config.area&&n.danmu.config.area.start&&(s.top+=n.containerHeight*n.danmu.config.area.start),s.topInit()}s.pauseMove(n.containerPos,e),"paused"!==s.danmu.bulletBtn.main.status&&s.startMove(n.containerPos),s.resized||(s.resized=!0)}n.channels[i].queue[r].splice(l,1)}))}}))},d=0;d<a.length;d++)h(d);for(var p=function(e){["scroll","top","bottom"].forEach((function(t){a[e].queue[t].forEach((function(e){e.resized=!1}))}))},g=0;g<a.length;g++)p(g);n.channels=a,"b2t"===n.direction?n.channelWidth=o:n.channelHeight=o}n.resizing=!1}),10))}},{key:"addBullet",value:function(e){var t=this,n=this.danmu,r=this.channels,i=void 0,o=void 0,a=void 0;if("b2t"===t.direction?(o=this.channelWidth,a=Math.ceil(e.width/o)):(i=this.channelHeight,a=Math.ceil(e.height/i)),a>r.length)return{result:!1,message:"exceed channels.length, occupy="+a+",channelsSize="+r.length};for(var s=!0,l=void 0,u=-1,c=0,f=r.length;c<f;c++)if(r[c].queue[e.mode].some((function(t){return t.id===e.id})))return{result:!1,message:"exsited, channelOrder="+c+",danmu_id="+e.id};if("scroll"===e.mode)for(var h=0,d=r.length-a;h<=d;h++){s=!0;for(var p=h;p<h+a;p++){if((l=r[p]).operating.scroll){s=!1;break}if((l.bookId.scroll||e.prior)&&l.bookId.scroll!==e.id){s=!1;break}l.operating.scroll=!0;var g=l.queue.scroll[0];if(g){var v=g.el.getBoundingClientRect();if("b2t"===t.direction){if(v.bottom>t.containerPos.bottom){s=!1,l.operating.scroll=!1;break}}else if(v.right>t.containerPos.right){s=!1,l.operating.scroll=!1;break}var y,m=void 0,b=void 0,_=void 0,x=void 0;if("b2t"===t.direction?(b=(v.top-t.containerPos.top+v.height)/(m=(t.containerPos.height+v.height)/g.duration),_=t.containerPos.height,x=(t.containerPos.height+e.height)/e.duration):(b=(v.left-t.containerPos.left+v.width)/(m=(t.containerPos.width+v.width)/g.duration),_=t.containerPos.width,x=(t.containerPos.width+e.width)/e.duration),y=_/x,n.config.bOffset||(n.config.bOffset=0),m<x&&b+n.config.bOffset>y){s=!1,l.operating.scroll=!1;break}}l.operating.scroll=!1}if(s){u=h;break}}else if("top"===e.mode)for(var w=0,S=r.length-a;w<=S;w++){s=!0;for(var k=w;k<w+a;k++){if(k>Math.floor(r.length/2)){s=!1;break}if((l=r[k]).operating[e.mode]){s=!1;break}if((l.bookId[e.mode]||e.prior)&&l.bookId[e.mode]!==e.id){s=!1;break}if(l.operating[e.mode]=!0,l.queue[e.mode].length>0){s=!1,l.operating[e.mode]=!1;break}l.operating[e.mode]=!1}if(s){u=w;break}}else if("bottom"===e.mode)for(var E=r.length-a;E>=0;E--){s=!0;for(var O=E;O<E+a;O++){if(O<=Math.floor(r.length/2)){s=!1;break}if((l=r[O]).operating[e.mode]){s=!1;break}if((l.bookId[e.mode]||e.prior)&&l.bookId[e.mode]!==e.id){s=!1;break}if(l.operating[e.mode]=!0,l.queue[e.mode].length>0){s=!1,l.operating[e.mode]=!1;break}l.operating[e.mode]=!1}if(s){u=E;break}}if(-1!==u){for(var C=u,A=u+a;C<A;C++)(l=r[C]).operating[e.mode]=!0,l.queue[e.mode].unshift(e),e.prior&&(delete l.bookId[e.mode],t.logger.info(C+"号轨道恢复正常使用")),l.operating[e.mode]=!1;return e.prior&&(t.logger.info(e.id+"号优先弹幕运行完毕"),delete e.bookChannelId,n.player&&n.bulletBtn.main.data.some((function(t){return t.id===e.id&&(delete t.bookChannelId,!0)}))),e.channel_id=[u,a],"b2t"===t.direction?(e.top=u*o,t.danmu.config.area&&t.danmu.config.area.start&&(e.top+=t.containerWidth*t.danmu.config.area.start)):(e.top=u*i,t.danmu.config.area&&t.danmu.config.area.start&&(e.top+=t.containerHeight*t.danmu.config.area.start)),{result:e,message:"success"}}if(e.options.realTime){var T=0,P=-1,M=null;if(t.danmu.bulletBtn.main.queue.forEach((function(e,n){!e.prior&&!e.options.realTime&&e.el&&e.el.getBoundingClientRect().left>t.containerPos.right&&e.start>=T&&(T=e.start,P=n,M=e)})),M){M.remove(),t.removeBullet(M),t.danmu.bulletBtn.main.queue.splice(P,1),e.channel_id=M.channel_id;for(var D=M.channel_id[0],I=M.channel_id[0]+M.channel_id[1];D<I;D++)(l=r[D]).operating[e.mode]=!0,l.queue[e.mode].unshift(e),e.prior&&delete l.bookId[e.mode],l.operating[e.mode]=!1;return e.top=M.top,t.danmu.config.area&&t.danmu.config.area.start&&(e.top+=t.containerHeight*t.danmu.config.area.start),{result:e,message:"success"}}}if(e.prior)if(e.bookChannelId)n.player&&n.bulletBtn.main.data.some((function(n){return n.id===e.id&&(t.logger.info(e.id+"号优先弹幕将于2秒后再次请求注册"),n.start+=2e3,!0)}));else{u=-1;for(var L=0,R=r.length-a;L<=R;L++){s=!0;for(var j=L;j<L+a;j++)if(r[j].bookId[e.mode]){s=!1;break}if(s){u=L;break}}if(-1!==u){for(var N=u;N<u+a;N++)r[N].bookId[e.mode]=e.id,t.logger.info(N+"号轨道被"+e.id+"号优先弹幕预定");n.player&&n.bulletBtn.main.data.some((function(n){return n.id===e.id&&(t.logger.info(e.id+"号优先弹幕将于2秒后再次请求注册"),n.start+=2e3,n.bookChannelId=[u,a],t.logger.info(e.id+"号优先弹幕预定了"+u+"~"+(u+a-1)+"号轨道"),!0)}))}}return{result:!1,message:"no surplus will right"}}},{key:"removeBullet",value:function(e){this.logger.info("removeBullet "+(e.options.txt||"[DOM Element]"));for(var t=this.channels,n=e.channel_id,r=void 0,i=n[0],o=n[0]+n[1];i<o;i++)if(r=t[i]){r.operating[e.mode]=!0;var a=-1;r.queue[e.mode].some((function(t,n){return t.id===e.id&&(a=n,!0)})),a>-1&&r.queue[e.mode].splice(a,1),r.operating[e.mode]=!1}e.options.loop&&this.danmu.bulletBtn.main.playedData.push(e.options)}},{key:"resetArea",value:function(){this.logger.info("resetArea");var e=this.danmu.container,t=this,n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,t.danmu.config.area&&t.danmu.config.area.start>=0&&t.danmu.config.area.end>=t.danmu.config.area.start&&("b2t"===t.direction?t.width=t.width*(t.danmu.config.area.end-t.danmu.config.area.start):t.height=t.height*(t.danmu.config.area.end-t.danmu.config.area.start)),t.container=e;var r,i=t.danmu.config.channelSize||(/mobile/gi.test(navigator.userAgent)?10:12);r="b2t"===t.direction?Math.floor(t.width/i):Math.floor(t.height/i);for(var o=[],a=0;a<r;a++)o[a]={id:a,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}};if(t.channels&&t.channels.length<=o.length){for(var s=function(e){o[e]={id:e,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}},["scroll","top"].forEach((function(n){t.channels[e].queue[n].forEach((function(r){r.el&&(o[e].queue[n].push(r),r.resized||(r.pauseMove(t.containerPos,!1),r.startMove(t.containerPos),r.resized=!0))}))})),t.channels[e].queue.bottom.forEach((function(n){if(n.el){if(o[e+o.length-t.channels.length].queue.bottom.push(n),n.channel_id[0]+n.channel_id[1]-1===e){var r=[].concat(n.channel_id);n.channel_id=[r[0]-t.channels.length+o.length,r[1]],n.top=n.channel_id[0]*i,t.danmu.config.area&&t.danmu.config.area.start&&(n.top+=t.containerHeight*t.danmu.config.area.start),n.topInit()}n.resized||(n.pauseMove(t.containerPos,!1),n.startMove(t.containerPos),n.resized=!0)}}))},l=0;l<t.channels.length;l++)s(l);for(var u=function(e){["scroll","top","bottom"].forEach((function(t){o[e].queue[t].forEach((function(e){e.resized=!1}))}))},c=0;c<o.length;c++)u(c);t.channels=o,"b2t"===t.direction?t.channelWidth=i:t.channelHeight=i}else if(t.channels&&t.channels.length>o.length){for(var f=function(e){o[e]={id:e,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}},["scroll","top","bottom"].forEach((function(n){if("top"===n&&e>Math.floor(o.length/2));else if("bottom"===n&&e<=Math.floor(o.length/2));else{var r="bottom"===n?e-o.length+t.channels.length:e;t.channels[r].queue[n].forEach((function(a,s){if(a.el){if(o[e].queue[n].push(a),"bottom"===n&&a.channel_id[0]+a.channel_id[1]-1===r){var l=[].concat(a.channel_id);a.channel_id=[l[0]-t.channels.length+o.length,l[1]],a.top=a.channel_id[0]*i,t.danmu.config.area&&t.danmu.config.area.start&&(a.top+=t.containerHeight*t.danmu.config.area.start),a.topInit()}a.resized||(a.pauseMove(t.containerPos,!1),a.startMove(t.containerPos),a.resized=!0)}t.channels[r].queue[n].splice(s,1)}))}}))},h=0;h<o.length;h++)f(h);for(var d=function(e){["scroll","top","bottom"].forEach((function(t){o[e].queue[t].forEach((function(e){e.resized=!1}))}))},p=0;p<o.length;p++)d(p);t.channels=o,"b2t"===t.direction?t.channelWidth=i:t.channelHeight=i}}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.logger.info("reset");var t=this.danmu.container,n=this;function r(){var e=t.getBoundingClientRect();n.width=e.width,n.height=e.height,n.danmu.config.area&&n.danmu.config.area.start>=0&&n.danmu.config.area.end>=n.danmu.config.area.start&&("b2t"===n.direction?n.width=n.width*(n.danmu.config.area.end-n.danmu.config.area.start):n.height=n.height*(n.danmu.config.area.end-n.danmu.config.area.start)),n.container=t;var r,i=n.danmu.config.channelSize||(/mobile/gi.test(navigator.userAgent)?10:12);r="b2t"===n.direction?Math.floor(n.width/i):Math.floor(n.height/i);for(var o=[],a=0;a<r;a++)o[a]={id:a,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}};n.channels=o,"b2t"===n.direction?n.channelWidth=i:n.channelHeight=i}n.danmu.bulletBtn&&n.danmu.bulletBtn.main&&n.danmu.bulletBtn.main.queue.forEach((function(e){e.pauseMove(n.containerPos),e.remove()})),n.channels&&n.channels.length>0&&["scroll","top","bottom"].forEach((function(e){for(var t=0;t<n.channels.length;t++)n.channels[t].queue[e].forEach((function(e){e.pauseMove(n.containerPos),e.remove()}))})),n.danmu.bulletBtn&&n.danmu.bulletBtn.main&&n.danmu.bulletBtn.main.data&&n.danmu.bulletBtn.main.data.forEach((function(e){e.hasAttached=!1})),e?this.resetTimer=setTimeout(r,200):r()}},{key:"resetWithCb",value:function(e,t){this.logger.info("resetWithCb");var n=this.danmu.container,r=this;r.channels&&r.channels.length>0&&["scroll","top","bottom"].forEach((function(e){for(var t=0;t<r.channels.length;t++)r.channels[t].queue[e].forEach((function(e){e.pauseMove(r.containerPos),e.remove()}))}));var i=n.getBoundingClientRect();r.width=i.width,r.height=i.height,r.danmu.config.area&&r.danmu.config.area.start>=0&&r.danmu.config.area.end>=r.danmu.config.area.start&&("b2t"===r.direction?r.width=r.width*(r.danmu.config.area.end-r.danmu.config.area.start):r.height=r.height*(r.danmu.config.area.end-r.danmu.config.area.start)),r.container=n;var o,a=r.danmu.config.channelSize||(/mobile/gi.test(navigator.userAgent)?10:12);o="b2t"===r.direction?Math.floor(r.width/a):Math.floor(r.height/a);for(var s=[],l=0;l<o;l++)s[l]={id:l,queue:{scroll:[],top:[],bottom:[]},operating:{scroll:!1,top:!1,bottom:!1},bookId:{}};r.channels=s,r.channelHeight=a,e&&e(!0,t)}}]),t}(i.default);t.default=l,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),o=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));r.setLogger("bullet"),r.danmu=e,r.options=n,r.duration=n.duration,r.moveV=n.moveV,r.id=n.id,r.container=e.container,r.start=n.start,r.prior=n.prior,r.color=n.color,r.bookChannelId=n.bookChannelId,r.direction=e.direction;var i=r;r.onChangeDirection=function(e){i.direction=e},r.danmu.on("changeDirection",r.onChangeDirection);var s=void 0;if(r.domObj=e.domObj,n.el&&1===n.el.nodeType){s=r.domObj.use();var l=o.default.copyDom(n.el);n.eventListeners&&n.eventListeners.length>0&&n.eventListeners.forEach((function(e){l.addEventListener(e.event,e.listener,e.useCapture||!1)})),s.appendChild(l)}else if((s=r.domObj.use()).textContent=n.txt,n.style){var u=n.style;Object.keys(u).forEach((function(e){s.style[e]=u[e]}))}"top"===n.mode||"bottom"===n.mode?r.mode=n.mode:r.mode="scroll",r.el=s,n.like&&n.like.el&&r.setLikeDom(n.like.el,n.like.style),r.status="waiting";var c=r.container.getBoundingClientRect(),f=Math.floor(Math.random()*(c.width/10>100?200:c.width/10));return n.realTime&&(f=0),r.el.style.left=c.width+f+"px",r.containerPos=c,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"attach",value:function(){if(this.container.appendChild(this.el),this.elPos=this.el.getBoundingClientRect(),"b2t"===this.direction?(this.width=this.elPos.height,this.height=this.elPos.width):(this.width=this.elPos.width,this.height=this.elPos.height),this.moveV){var e=this.containerPos;this.duration=(e.width+this.width)/this.moveV*1e3}this.danmu.config.mouseControl&&this.el.addEventListener("mouseover",this.mouseoverFun.bind(this))}},{key:"mouseoverFun",value:function(e){this.danmu.mouseControl&&this.danmu.config.mouseControlPause||"waiting"===this.status||"end"===this.status||this.danmu.emit("bullet_hover",{bullet:this,event:e})}},{key:"detach",value:function(){this.container&&this.el&&(this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.domObj.unuse(this.el),this.el=null),this.danmu.off("changeDirection",this.onChangeDirection)}},{key:"topInit",value:function(){if(this.logger.info("topInit #"+(this.options.txt||"[DOM Element]")+"#"),"b2t"===this.direction){var e=this.containerPos;this.el.style.transformOrigin="left top",this.el.style.transform="translateX(-"+this.top+"px) translateY("+e.height+"px) translateZ(0px) rotate(90deg)",this.el.style.transition="transform 0s linear 0s"}else this.el.style.top=this.top+"px"}},{key:"pauseMove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.logger.info("pauseMove #"+(this.options.txt||"[DOM Element]")+"#");var n=this;if("paused"!==this.status&&("forcedPause"!==n.status&&(this.status="paused"),clearTimeout(n.removeTimer),this.el))if(this.el.style.willChange="auto","scroll"===this.mode){if(t){var r=((new Date).getTime()-n.moveTime)/1e3,i=r*this.moveV,o=0;o=n.moveMoreS-i>=0?"b2t"===this.direction?(n.moveMoreS-i)/n.moveContainerHeight*e.height:(n.moveMoreS-i)/n.moveContainerWidth*e.width:n.moveMoreS-i,"b2t"===this.direction?this.el.style.transform="translateX(-"+this.top+"px) translateY("+o+"px) translateZ(0px) rotate(90deg)":this.el.style.left=o+"px"}else"b2t"===this.direction?this.el.style.transform="translateX(-"+this.top+"px) translateY("+(this.el.getBoundingClientRect().top-e.top)+"px) translateZ(0px) rotate(90deg)":this.el.style.left=this.el.getBoundingClientRect().left-e.left+"px";"b2t"===this.direction||(this.el.style.transform="translateX(0px) translateY(0px) translateZ(0px)"),this.el.style.transition="transform 0s linear 0s"}else this.pastDuration&&this.startTime?this.pastDuration=this.pastDuration+(new Date).getTime()-this.startTime:this.pastDuration=1}},{key:"startMove",value:function(e,t){this.logger.info("startMove #"+(this.options.txt||"[DOM Element]")+"#");var n=this;if(n.hasMove||(n.danmu.emit("bullet_start",n),n.hasMove=!0),("forcedPause"!==n.status||t)&&this.el&&"start"!==this.status)if(this.status="start",this.el.style.willChange="transform","scroll"===this.mode)if("b2t"===this.direction){this.moveV=(e.height+this.height)/this.duration*1e3;var r=(n.el.getBoundingClientRect().bottom-e.top)/this.moveV;this.el.style.transition="transform "+r+"s linear 0s",this.startMoveTimer=setTimeout((function(){n.el&&(n.el.style.transform="translateX(-"+n.top+"px) translateY(-"+n.height+"px) translateZ(0px) rotate(90deg)",n.moveTime=(new Date).getTime(),n.moveMoreS=n.el.getBoundingClientRect().top-e.top,n.moveContainerHeight=e.height,n.removeTimer=setTimeout(s,1e3*r))}),20)}else{var i=this.el.getBoundingClientRect();this.moveV=(e.width+this.width)/this.duration*1e3;var o=(i.right-e.left)/this.moveV;this.el.style.transition="transform "+o+"s linear 0s",this.startMoveTimer=setTimeout((function(){if(n.el){var t=n.el.getBoundingClientRect(),r=(t.right-e.left)/o;t.right>e.left&&r>n.moveV-1&&r<n.moveV+1?(n.el.style.transform="translateX(-"+(t.right-e.left)+"px) translateY(0px) translateZ(0px)",n.moveTime=(new Date).getTime(),n.moveMoreS=t.left-e.left,n.moveContainerWidth=e.width,n.removeTimer=setTimeout(s,1e3*o)):(n.status="end",n.remove())}}),0)}else{this.el.style.left="50%",this.el.style.margin="0 0 0 -"+this.width/2+"px",this.pastDuration||(this.pastDuration=1);var a=this.duration>=this.pastDuration?this.duration-this.pastDuration:0;this.removeTimer=setTimeout(s,a),this.startTime=(new Date).getTime()}function s(){if(n.el)if("scroll"===n.mode){var e=n.containerPos,t=n.el.getBoundingClientRect();"b2t"===n.direction?t&&t.bottom<=e.top+100?(n.status="end",n.remove()):(n.pauseMove(e),"paused"!==n.danmu.bulletBtn.main.status&&n.startMove(e)):t&&t.right<=e.left+100?(n.status="end",n.remove()):(n.pauseMove(e),"paused"!==n.danmu.bulletBtn.main.status&&n.startMove(e))}else n.status="end",n.remove()}}},{key:"remove",value:function(){this.logger.info("remove #"+(this.options.txt||"[DOM Element]")+"#"),this.removeTimer&&clearTimeout(this.removeTimer),this.startMoveTimer&&clearTimeout(this.startMoveTimer),this.el&&this.el.parentNode&&(this.el.style.willChange="auto",this.danmu.off("changeDirection",this.onChangeDirection),this.domObj.unuse(this.el),this.el.parentNode.removeChild(this.el),this.el=null,this.danmu.emit("bullet_remove",{bullet:this}))}},{key:"setFontSize",value:function(e){this.el&&(this.el.style.fontSize=e)}},{key:"setLikeDom",value:function(e,t){if(e&&(Object.keys(t).forEach((function(n){e.style[n]=t[n]})),e.className="danmu-like",this.el)){var n=this.el.querySelector(".danmu-like");n&&this.el.removeChild(n),this.el.innerHTML=""+this.el.innerHTML+e.outerHTML}return e}}]),t}(i.default);t.default=l,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t={initDOM:function(){return document.createElement("div")},initSize:10},this.init(t)}return r(e,[{key:"init",value:function(e){this.idleList=[],this.usingList=[],this._id=0,this.options=e,this._expand(e.initSize)}},{key:"use",value:function(){this.idleList.length||this._expand(1);var e=this.idleList.shift();return this.usingList.push(e),e}},{key:"unuse",value:function(e){var t=this.usingList.indexOf(e);t<0||(this.usingList.splice(t,1),e.innerHTML="",e.textcontent="",e.style="",this.idleList.push(e))}},{key:"_expand",value:function(e){for(var t=0;t<e;t++)this.idleList.push(this.options.initDOM(this._id++))}},{key:"destroy",value:function(){for(var e=0;e<this.idleList.length;e++)this.idleList[e].innerHTML="",this.idleList[e].textcontent="",this.idleList[e].style="";for(var t=0;t<this.usingList.length;t++)this.usingList[t].innerHTML="",this.usingList[t].textcontent="",this.usingList[t].style="";for(var n in this)delete this[n]}}]),e}();t.default=i,e.exports=t.default},function(e){e.exports=JSON.parse('{"version":"0.3.5"}')},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=new(function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__handlers=[],window.ResizeObserver&&(this.observer=new window.ResizeObserver((function(e){var n=(new Date).getTime();n-t.timeStampe<200||(t.timeStampe=n,t.__trigger(e))})),this.timeStampe=(new Date).getTime())}return r(e,[{key:"addObserver",value:function(e,t){if(this.observer){this.observer&&this.observer.observe(e);for(var n=this.__handlers,r=-1,i=0;i<n.length;i++)n[i]&&e===n[i].target&&(r=i);r>-1?this.__handlers[r].handler.push(t):this.__handlers.push({target:e,handler:[t]})}}},{key:"unObserver",value:function(e){var t=-1;this.__handlers.map((function(n,r){e===n.target&&(t=r)})),this.observer&&this.observer.unobserve(e),t>-1&&this.__handlers.splice(t,1)}},{key:"destroyObserver",value:function(){this.observer&&this.observer.disconnect(),this.observer=null,this.__handlers=null}},{key:"__runHandler",value:function(e){for(var t=this.__handlers,n=0;n<t.length;n++)if(t[n]&&e===t[n].target){t[n].handler&&t[n].handler.map((function(e){try{e()}catch(e){console.error(e)}}));break}}},{key:"__trigger",value:function(e){var t=this;e.map((function(e){t.__runHandler(e.target)}))}}]),e}());window.resizeObserver=i,t.addObserver=function(e,t){i.addObserver(e,t)},t.unObserver=function(e,t){i.unObserver(e,t)},t.destroyObserver=function(e,t){i.destroyObserver(e,t)}},function(e,t,n){var r=n(35);"string"==typeof r&&(r=[[e.i,r,""]]),n(37)(r,{hmr:!0,transform:void 0,insertInto:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(36)(!1)).push([e.i,".danmu{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;-ms-user-select:none}.danmu>*{position:absolute;white-space:nowrap}.danmu-switch{width:32px;height:20px;border-radius:100px;background-color:#ccc;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;cursor:pointer;position:relative;text-align:center;margin:10px auto}.danmu-switch.danmu-switch-active{padding-left:12px;background-color:#f85959}.danmu-switch span.txt{width:20px;height:20px;line-height:20px;text-align:center;display:block;border-radius:100px;background-color:#ffffff;-webkit-box-shadow:-2px 0 0 0 rgba(0, 0, 0, .04);box-shadow:-2px 0 0 0 rgba(0, 0, 0, .04);font-family:PingFangSC;font-size:10px;font-weight:500;color:#f44336}\n",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,i,o={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),l=function(e){return document.querySelector(e)},u=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=l.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,f=0,h=[],d=n(38);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(_(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(_(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function g(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function v(e,t){var n=u(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=h[h.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),h.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=a(e.insertAt)||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=u(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i)}}function y(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=h.indexOf(e);t>=0&&h.splice(t,1)}function m(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),b(t,e.attrs),v(e,t),t}function b(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function _(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var a=f++;n=c||(c=m(t)),r=S.bind(null,n,a,!1),i=S.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",b(t,e.attrs),v(e,t),t}(t),r=E.bind(null,n,t),i=function(){y(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(t),r=k.bind(null,n),i=function(){y(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=("undefined"==typeof document?"undefined":a(document)))throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==a(t.attrs)?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=g(e,t);return p(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}for(e&&p(g(e,t),t),i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var x,w=(x=[],function(e,t){return x[e]=t,x.filter(Boolean).join("\n")});function S(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function k(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function E(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=d(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}}])},"object"==a(t)&&"object"==a(e)?e.exports=o():(r=[],void 0===(i="function"==typeof(n=o)?n.apply(t,r):n)||(e.exports=i))}).call(this,n(132)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40">\n <path fill="#f85959" transform="scale(0.8 0.8)" d="M36.5,18.73a1.19,1.19,0,0,0,1-1.14V16.33a1.2,1.2,0,0,0-1-1.13l-.61-.08a1.75,1.75,0,0,1-1.3-.86l-.21-.36-.2-.36A1.72,1.72,0,0,1,34,12l.23-.58a1.18,1.18,0,0,0-.5-1.42l-1.1-.62a1.18,1.18,0,0,0-1.47.3l-.39.51a1.82,1.82,0,0,1-1.41.72c-.44,0-1.88-.27-2.22-.7l-.39-.49a1.18,1.18,0,0,0-1.48-.28l-1.09.64a1.19,1.19,0,0,0-.47,1.43l.25.59a1.87,1.87,0,0,1-.08,1.58c-.26.37-1.17,1.5-1.71,1.58l-.63.09a1.19,1.19,0,0,0-1,1.14l0,1.27a1.17,1.17,0,0,0,1,1.12l.61.08a1.74,1.74,0,0,1,1.3.87l.21.36.2.35A1.69,1.69,0,0,1,24,22.08l-.23.59a1.19,1.19,0,0,0,.5,1.42l1.1.62a1.19,1.19,0,0,0,1.48-.31l.38-.5a1.83,1.83,0,0,1,1.41-.72c.44,0,1.88.25,2.22.69l.39.49a1.18,1.18,0,0,0,1.48.28L33.86,24a1.19,1.19,0,0,0,.47-1.43L34.09,22a1.84,1.84,0,0,1,.07-1.58c.26-.37,1.17-1.5,1.72-1.58ZM31,18.94a2.76,2.76,0,0,1-4.65-1.2A2.71,2.71,0,0,1,27,15.13a2.76,2.76,0,0,1,4.64,1.2A2.7,2.7,0,0,1,31,18.94Z"/>\n <path fill="#f85959" transform="scale(0.8 0.8)" d="M32,0H3.59A3.59,3.59,0,0,0,0,3.59v17A3.59,3.59,0,0,0,3.59,24.2H19.72a12.59,12.59,0,0,1-.81-1.2A11.73,11.73,0,0,1,35.54,7.28V3.59A3.59,3.59,0,0,0,32,0ZM13,14.18H4.29a1.52,1.52,0,0,1,0-3H13a1.52,1.52,0,0,1,0,3ZM16.45,8H4.29a1.51,1.51,0,0,1,0-3H16.45a1.51,1.51,0,1,1,0,3Z"/>\n</svg>\n'},function(e,t,n){var r=n(135);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .danmu-switch{-webkit-order:6;-moz-box-ordinal-group:7;order:6;z-index:26}.xgplayer-skin-default .xgplayer-danmu{display:none;position:absolute;top:0;left:0;right:0;height:100%;overflow:hidden;z-index:9;outline:none}.xgplayer-skin-default .xgplayer-danmu>*{position:absolute;white-space:nowrap;z-index:9}.xgplayer-skin-default .xgplayer-danmu.xgplayer-has-danmu{display:block}.xgplayer-skin-default .xgplayer-panel{outline:none;-webkit-order:7;-moz-box-ordinal-group:8;order:7;width:40px;height:40px;display:inline-block;position:relative;font-family:PingFangSC-Regular;font-size:13px;color:hsla(0,0%,100%,.8);z-index:36}.xgplayer-skin-default .xgplayer-panel .xgplayer-panel-icon{cursor:pointer;position:absolute;margin-left:5px;top:10px}.xgplayer-skin-default .xgplayer-panel-active{display:block!important;bottom:30px}.xgplayer-skin-default .xgplayer-panel-slider{z-index:36;display:none;position:absolute;width:230px;height:230px;background:rgba(0,0,0,.54);border-radius:1px;padding:10px 20px;outline:none;left:-115px;bottom:40px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-hidemode{padding-bottom:10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-hidemode-radio li{display:inline;list-style:none;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-hidemode ul{display:-webkit-flex;display:-moz-box;display:flex;-webkit-justify-content:space-around;justify-content:space-around}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-hidemode li{margin:0 12px;font-size:11px;color:#aaa}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-hidemode-font{margin-bottom:10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency{display:block;margin-top:10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-line{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none;width:150px;height:4px;background:#aaa;border-radius:4px;border-style:none;margin-left:10px;margin-top:-2px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-line::-moz-focus-outer{border:0!important}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-color::-webkit-slider-runnable-track{outline:none;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-color::-moz-range-track{outline:none;background-color:#aaa;border-color:transparent;cursor:pointer;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-color::-ms-track{outline:none;background-color:#aaa;color:transparent;border-color:transparent;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-bar::-webkit-slider-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;margin-top:-4px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-bar::-moz-range-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:0;width:0;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-bar::-ms-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-transparency .xgplayer-transparency-bar::-moz-range-progress{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;border-radius:4px;background:linear-gradient(90deg,#f85959,#f85959 100%,#aaa)}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea{display:block;margin-top:8px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-name{display:inline-block;position:relative;top:-10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-control{display:inline-block}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-control-up{width:150px;margin-left:10px;display:-moz-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;color:#aaa}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-control-down{position:relative;top:-10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-control-down-dots{display:-webkit-flex;display:-moz-box;display:flex;width:150px;margin-left:10px;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-threequarters,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-twoquarters{margin-left:-6px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea-full{margin-right:3px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-line{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none;width:150px;height:4px;background:#aaa;border-radius:4px;border-style:none;margin-left:10px;margin-top:-2px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-line::-moz-focus-outer{border:0!important}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-color::-webkit-slider-runnable-track{outline:none;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-color::-moz-range-track{outline:none;background-color:#aaa;border-color:transparent;cursor:pointer;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-color::-ms-track{outline:none;background-color:#aaa;color:transparent;border-color:transparent;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-bar::-webkit-slider-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;margin-top:-4px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-bar::-moz-range-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:0;width:0;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-bar::-ms-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-full-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-onequarters-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-threequarters-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-twoquarters-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-showarea .xgplayer-showarea-zero-dot{width:3px;height:3px;border:3px solid #aaa;border-radius:50%;background-color:#aaa;position:relative;top:16px;z-index:-1}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed{display:block}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed-name{display:inline-block;position:relative;top:-10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed-control{display:inline-block}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed-control-up{width:150px;margin-left:10px;display:-moz-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;color:#aaa}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed-control-down{position:relative;top:-10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed-control-down-dots{display:-webkit-flex;display:-moz-box;display:flex;width:150px;margin-left:10px;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-line{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none;width:150px;height:4px;background:#aaa;border-radius:4px;border-style:none;margin-left:10px;margin-top:-2px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-line::-moz-focus-outer{border:0!important}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-color::-webkit-slider-runnable-track{outline:none;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-color::-moz-range-track{outline:none;background-color:#aaa;border-color:transparent;cursor:pointer;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-color::-ms-track{outline:none;background-color:#aaa;color:transparent;border-color:transparent;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-bar::-webkit-slider-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;margin-top:-4px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-bar::-moz-range-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:0;width:0;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-bar::-ms-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-large-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-middle-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmuspeed .xgplayer-danmuspeed-small-dot{width:3px;height:3px;border:3px solid #aaa;border-radius:50%;background-color:#aaa;position:relative;top:16px;z-index:-1}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont{display:block}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont-name{display:inline-block;position:relative;top:-10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont-control{display:inline-block}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont-control-up{width:150px;margin-left:10px;display:-moz-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;color:#aaa}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont-control-down{position:relative;top:-10px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont-control-down-dots{display:-webkit-flex;display:-moz-box;display:flex;width:150px;margin-left:10px;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-line{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;outline:none;width:150px;height:4px;background:#aaa;border-radius:4px;border-style:none;margin-left:10px;margin-top:-2px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-line::-moz-focus-outer{border:0!important}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-color::-webkit-slider-runnable-track{outline:none;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-color::-moz-range-track{outline:none;background-color:#aaa;border-color:transparent;cursor:pointer;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-color::-ms-track{outline:none;background-color:#aaa;color:transparent;border-color:transparent;width:150px;height:4px;border-radius:4px}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-bar::-webkit-slider-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;margin-top:-4px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-bar::-moz-range-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:0;width:0;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-bar::-ms-thumb{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:6px solid #f85959;height:6px;width:6px;border-radius:6px;cursor:pointer}.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-large-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-middle-dot,.xgplayer-skin-default .xgplayer-panel-slider .xgplayer-danmufont .xgplayer-danmufont-small-dot{width:3px;height:3px;border:3px solid #aaa;border-radius:50%;background-color:#aaa;position:relative;top:16px;z-index:-1}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(137),t.default={name:"s_pip",method:function(){var e=this;if(e.config.pip){var t=e.lang.PIP,n=(0,r.createDom)("xg-pip",'<p class="name"><span>'+t+"</span></p>",{tabindex:9},"xgplayer-pip");e.once("ready",(function(){e.controls.appendChild(n)})),["click","touchend"].forEach((function(t){n.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("pipBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){var r=n(138);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-pip{-webkit-order:9;-moz-box-ordinal-group:10;order:9;position:relative;outline:none;display:block;cursor:pointer;height:20px;top:10px}.xgplayer-skin-default .xgplayer-pip .name{text-align:center;font-family:PingFangSC-Regular;font-size:13px;line-height:20px;height:20px;color:hsla(0,0%,100%,.8)}.xgplayer-skin-default .xgplayer-pip .name span{width:60px;height:20px;line-height:20px;background:rgba(0,0,0,.38);border-radius:10px;display:inline-block;vertical-align:middle}.lang-is-jp .xgplayer-pip .name span{width:70px;height:20px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(140),t.default={name:"s_miniplayer",method:function(){var e=this;if(e.config.miniplayer){var t=e.lang.MINIPLAYER,n=(0,r.createDom)("xg-miniplayer",'<p class="name"><span>'+t+"</span></p>",{tabindex:9},"xgplayer-miniplayer");e.once("ready",(function(){e.controls.appendChild(n)})),["click","touchend"].forEach((function(t){n.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("miniplayerBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){var r=n(141);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-miniplayer{-webkit-order:9;-moz-box-ordinal-group:10;order:9;position:relative;outline:none;display:block;cursor:pointer;height:20px;top:10px}.xgplayer-skin-default .xgplayer-miniplayer .name{text-align:center;font-family:PingFangSC-Regular;font-size:13px;line-height:20px;height:20px;color:hsla(0,0%,100%,.8)}.xgplayer-skin-default .xgplayer-miniplayer .name span{width:80px;height:20px;line-height:20px;background:rgba(0,0,0,.38);border-radius:10px;display:inline-block;vertical-align:middle}.xgplayer-skin-default .xgplayer-miniplayer-lay{position:absolute;top:26px;left:0;width:100%;height:100%;z-index:130;cursor:pointer;background-color:transparent;display:none}.xgplayer-skin-default .xgplayer-miniplayer-lay div{width:100%;height:100%}.xgplayer-skin-default .xgplayer-miniplayer-drag{cursor:move;position:absolute;top:0;left:0;width:100%;height:26px;line-height:26px;background-image:linear-gradient(rgba(0,0,0,.3),transparent);z-index:130;display:none}.xgplayer-skin-default .xgplayer-miniplayer-drag .drag-handle{width:100%}.xgplayer-skin-default.xgplayer-miniplayer-active{position:fixed;right:0;bottom:200px;width:320px;height:180px;z-index:110}.xgplayer-skin-default.xgplayer-miniplayer-active .xgplayer-controls,.xgplayer-skin-default.xgplayer-miniplayer-active .xgplayer-danmu{display:none}.xgplayer-skin-default.xgplayer-miniplayer-active .xgplayer-miniplayer-lay{display:block}.xgplayer-skin-default.xgplayer-miniplayer-active .xgplayer-miniplayer-drag{display:-webkit-flex;display:-moz-box;display:flex}.xgplayer-skin-default.xgplayer-inactive .xgplayer-miniplayer-drag{display:none}.lang-is-jp .xgplayer-miniplayer .name span{width:70px;height:20px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(143),a=(r=o)&&r.__esModule?r:{default:r};n(144),t.default={name:"s_playNext",method:function(){var e=this,t=e.config.playNext;if(t&&t.urlList){var n=(0,i.createDom)("xg-playnext",'<xg-icon class="xgplayer-icon">'+a.default+"</xg-icon>",{},"xgplayer-playnext"),r=e.lang.PLAYNEXT_TIPS,o=(0,i.createDom)("xg-tips",'<span class="xgplayer-tip-playnext">'+r+"</span>",{},"xgplayer-tips");n.appendChild(o),e.once("ready",(function(){e.controls.appendChild(n)})),["click","touchend"].forEach((function(t){n.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),(0,i.addClass)(e.root,"xgplayer-is-enter"),e.userGestureTrigEvent("playNextBtnClick")}))}));var s=function(){(0,i.addClass)(e.root,"xgplayer-playnext-inactive")};e.on("urlListEnd",s),e.once("destroy",(function t(){e.off("urlListEnd",s),e.off("destroy",t)}))}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">\n <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>\n</svg>\n'},function(e,t,n){var r=n(145);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-playnext{position:relative;-webkit-order:1;-moz-box-ordinal-group:2;order:1;display:block;cursor:pointer;top:-2px}.xgplayer-skin-default .xgplayer-playnext .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-playnext .xgplayer-tips .xgplayer-tip-playnext{display:block}.xgplayer-skin-default .xgplayer-playnext:hover{opacity:.85}.xgplayer-skin-default .xgplayer-playnext:hover .xgplayer-tips{display:block}.xgplayer-lang-is-en .xgplayer-playnext .xgplayer-tips{margin-left:-25px}.xgplayer-lang-is-jp .xgplayer-playnext .xgplayer-tips{margin-left:-38px}.xgplayer-skin-default.xgplayer-playnext-inactive .xgplayer-playnext{display:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(147),a=(r=o)&&r.__esModule?r:{default:r};n(148),t.default={name:"s_rotate",method:function(){var e=this;if(e.config.rotate){var t=(0,i.createDom)("xg-rotate",'<xg-icon class="xgplayer-icon">'+a.default+"</xg-icon>",{},"xgplayer-rotate"),n=e.lang.ROTATE_TIPS,r=(0,i.createDom)("xg-tips",'<span class="xgplayer-tip-rotate">'+n+"</span>",{},"xgplayer-tips");t.appendChild(r),e.once("ready",(function(){e.controls.appendChild(t)})),["click","touchend"].forEach((function(n){t.addEventListener(n,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("rotateBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 40 40" fill="none">\n <g clip-path="url(#clip0)">\n <path transform="scale(1.5 1.5)" d="M11.6665 9.16663H4.1665C2.78579 9.16663 1.6665 10.2859 1.6665 11.6666V15.8333C1.6665 17.214 2.78579 18.3333 4.1665 18.3333H11.6665C13.0472 18.3333 14.1665 17.214 14.1665 15.8333V11.6666C14.1665 10.2859 13.0472 9.16663 11.6665 9.16663Z" fill="white"/>\n <path transform="scale(1.5 1.5)" fill-rule="evenodd" clip-rule="evenodd" d="M3.88148 4.06298C3.75371 4.21005 3.67667 4.40231 3.67749 4.61242C3.67847 4.87253 3.79852 5.10435 3.98581 5.25646L6.99111 8.05895C7.32771 8.37283 7.85502 8.35443 8.16891 8.01782C8.48279 7.68122 8.46437 7.15391 8.12778 6.84003L6.62061 5.43457L9.8198 5.4224C9.82848 5.42239 9.8372 5.42221 9.84591 5.4219C10.9714 5.38233 12.0885 5.6285 13.0931 6.13744C14.0976 6.64635 14.957 7.40148 15.5908 8.33234C16.2246 9.2632 16.6122 10.3394 16.7177 11.4606C16.823 12.5819 16.6427 13.7115 16.1934 14.7442C16.0098 15.1661 16.203 15.6571 16.6251 15.8408C17.0471 16.0243 17.5381 15.8311 17.7216 15.4091C18.2833 14.1183 18.5087 12.7063 18.3771 11.3047C18.2453 9.90318 17.7607 8.55792 16.9684 7.39433C16.1761 6.23073 15.1021 5.28683 13.8463 4.65065C12.5946 4.01651 11.203 3.70872 9.80072 3.75583L6.43415 3.76862L7.96326 2.12885C8.27715 1.79225 8.25872 1.26494 7.92213 0.951061C7.58553 0.63718 7.05822 0.655585 6.74433 0.99219L3.90268 4.0395C3.89545 4.04724 3.88841 4.05509 3.88154 4.06303L3.88148 4.06298Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0">\n <rect width="40" height="40" fill="white"/>\n </clipPath>\n </defs>\n</svg>\n'},function(e,t,n){var r=n(149);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-rotate{position:relative;-webkit-order:10;-moz-box-ordinal-group:11;order:10;display:block;cursor:pointer}.xgplayer-skin-default .xgplayer-rotate .xgplayer-icon{margin-top:7px;width:26px}.xgplayer-skin-default .xgplayer-rotate .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-rotate .xgplayer-tips{margin-left:-22px}.xgplayer-skin-default .xgplayer-rotate .xgplayer-tips .xgplayer-tip-rotate{display:block}.xgplayer-skin-default .xgplayer-rotate:hover{opacity:.85}.xgplayer-skin-default .xgplayer-rotate:hover .xgplayer-tips{display:block}.xgplayer-lang-is-en .xgplayer-rotate .xgplayer-tips{margin-left:-26px}.xgplayer-lang-is-jp .xgplayer-rotate .xgplayer-tips{margin-left:-38px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(151),a=(r=o)&&r.__esModule?r:{default:r};n(152),t.default={name:"s_reload",method:function(){var e=this;if(e.config.reload){var t=(0,i.createDom)("xg-reload",'<xg-icon class="xgplayer-icon">'+a.default+"</xg-icon>",{},"xgplayer-reload"),n=e.lang.RELOAD_TIPS,r=(0,i.createDom)("xg-tips",'<span class="xgplayer-tip-reload">'+n+"</span>",{},"xgplayer-tips");t.appendChild(r),e.once("ready",(function(){e.controls.appendChild(t)})),["click","touchend"].forEach((function(n){t.addEventListener(n,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("reloadBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">\n <path fill="#FFF" fill-opacity="1" fill-rule="nonzero" d="M18.17 19.988a7.182 7.182 0 0 1-4.256 1.318 7.806 7.806 0 0 1-.595-.03c-.08-.008-.16-.021-.242-.031a8.004 8.004 0 0 1-.458-.071c-.094-.018-.185-.042-.276-.063a7.743 7.743 0 0 1-.439-.113c-.068-.022-.136-.047-.205-.07a7.03 7.03 0 0 1-.492-.181c-.037-.015-.072-.032-.108-.049a7.295 7.295 0 0 1-.554-.269l-.025-.012a7.347 7.347 0 0 1-2.111-1.753c-.03-.036-.057-.074-.086-.11a7.305 7.305 0 0 1-1.594-4.557h1.686a.123.123 0 0 0 .108-.064.119.119 0 0 0-.006-.125L5.684 9.532a.123.123 0 0 0-.103-.056.123.123 0 0 0-.102.056l-2.834 4.276a.121.121 0 0 0-.005.125c.022.04.064.064.107.064h1.687c0 2.025.627 3.902 1.693 5.454.013.021.022.044.037.066.11.159.233.305.352.455.043.057.085.116.13.171.175.213.36.413.55.61.02.018.036.038.054.055a9.447 9.447 0 0 0 2.91 1.996c.058.026.115.054.175.079.202.084.41.158.619.228.098.034.196.069.296.1.183.054.37.1.558.145.125.029.249.06.376.085.052.01.102.027.155.035.177.032.355.05.533.071.064.007.128.018.19.026.32.03.639.052.956.052a9.46 9.46 0 0 0 5.47-1.746 1.16 1.16 0 0 0 .282-1.608 1.143 1.143 0 0 0-1.6-.283zm5.397-5.991a9.604 9.604 0 0 0-1.685-5.441c-.016-.027-.026-.054-.043-.078-.132-.19-.276-.366-.419-.543-.017-.022-.032-.044-.05-.065a9.467 9.467 0 0 0-3.571-2.7l-.114-.051a11.2 11.2 0 0 0-.673-.248c-.082-.027-.163-.057-.247-.082a9.188 9.188 0 0 0-.6-.156c-.113-.026-.224-.055-.337-.077-.057-.011-.109-.028-.164-.037-.151-.027-.304-.039-.455-.058-.104-.013-.208-.03-.313-.04a10.05 10.05 0 0 0-.759-.039c-.045 0-.09-.007-.136-.007l-.025.003a9.45 9.45 0 0 0-5.46 1.737 1.16 1.16 0 0 0-.284 1.608c.363.523 1.08.65 1.6.284a7.182 7.182 0 0 1 4.222-1.32c.217.002.429.013.639.033.065.007.129.017.193.025.173.021.344.046.513.08.075.014.149.033.221.05.166.037.331.077.494.127l.152.051c.185.061.366.127.545.201l.054.025a7.308 7.308 0 0 1 2.741 2.067l.013.018a7.302 7.302 0 0 1 1.652 4.633h-1.686a.123.123 0 0 0-.108.064.12.12 0 0 0 .006.124l2.834 4.277c.022.033.06.054.103.054.042 0 .08-.021.102-.054l2.833-4.277a.12.12 0 0 0 .005-.124.123.123 0 0 0-.108-.064h-1.685z"/>\n</svg>\n'},function(e,t,n){var r=n(153);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-reload{position:relative;-webkit-order:1;-moz-box-ordinal-group:2;order:1;display:block;width:40px;height:40px;cursor:pointer}.xgplayer-skin-default .xgplayer-reload .xgplayer-icon{margin-top:7px;width:26px}.xgplayer-skin-default .xgplayer-reload .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-reload .xgplayer-tips{margin-left:-22px}.xgplayer-skin-default .xgplayer-reload .xgplayer-tips .xgplayer-tip-reload{display:block}.xgplayer-skin-default .xgplayer-reload:hover{opacity:.85}.xgplayer-skin-default .xgplayer-reload:hover .xgplayer-tips{display:block}.xgplayer-lang-is-en .xgplayer-reload .xgplayer-tips{margin-left:-26px}.xgplayer-lang-is-jp .xgplayer-reload .xgplayer-tips{margin-left:-38px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(155),t.default={name:"s_screenShot",method:function(){var e=this;if(e.config.screenShot&&!e.config.screenShot.hideButton){var t=e.lang.SCREENSHOT,n=(0,r.createDom)("xg-screenshot",'<p class="name"><span>'+(e.config.screenShot.iconText||t)+"</span></p>",{tabindex:11},"xgplayer-screenshot");e.once("ready",(function(){e.controls.appendChild(n)})),["click","touchend"].forEach((function(t){n.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("screenShotBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){var r=n(156);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-screenshot{-webkit-order:11;-moz-box-ordinal-group:12;order:11;position:relative;outline:none;display:block;cursor:pointer;height:20px;top:10px}.xgplayer-skin-default .xgplayer-screenshot .name{text-align:center;font-family:PingFangSC-Regular;font-size:13px;line-height:20px;height:20px;color:hsla(0,0%,100%,.8)}.xgplayer-skin-default .xgplayer-screenshot .name span{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0 10px;height:20px;line-height:20px;background:rgba(0,0,0,.38);border-radius:10px;display:inline-block;vertical-align:middle}.xgplayer-lang-is-en .xgplayer-screenshot .name span,.xgplayer-lang-is-jp .xgplayer-screenshot .name span{width:75px;height:20px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(9),o=(r=i)&&r.__esModule?r:{default:r};n(78),t.default={name:"s_nativeTextTrack",method:function(){if(this.config.nativeTextTrack){var e=this,t=e.root,n=o.default.util,r=n.createDom("xg-texttrack","",{tabindex:7},"xgplayer-texttrack"),i=e.config.nativeTextTrack;i&&Array.isArray(i)&&i.length>0&&(n.addClass(e.root,"xgplayer-is-texttrack"),e.once("canplay",(function(){var o=this,a=["<ul>"];a.push("<li class='"+(this.textTrackShowDefault?"":"selected")+"'}'>"+e.lang.OFF+"</li>"),i.forEach((function(e){a.push("<li class='"+(e.default&&o.textTrackShowDefault?"selected":"")+"'>"+e.label+"</li>")}));var s=e.lang.TEXTTRACK;a.push('</ul><p class="name">'+s+"</p>");var l=t.querySelector(".xgplayer-texttrack");if(l){l.innerHTML=a.join("");var u=l.querySelector(".name");e.config.textTrackActive&&"hover"!==e.config.textTrackActive||u.addEventListener("mouseenter",(function(e){e.preventDefault(),e.stopPropagation(),n.addClass(t,"xgplayer-texttrack-active"),l.focus()}))}else{r.innerHTML=a.join("");var c=r.querySelector(".name");e.config.textTrackActive&&"hover"!==e.config.textTrackActive||c.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),n.addClass(e.root,"xgplayer-texttrack-active"),r.focus()})),e.controls.appendChild(r)}}))),["touchend","click"].forEach((function(t){r.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation();var o=t.target||t.srcElement;if(o&&"li"===o.tagName.toLocaleLowerCase()){Array.prototype.forEach.call(o.parentNode.childNodes,(function(e){n.removeClass(e,"selected")})),n.addClass(o,"selected");var a=e.root.getElementsByTagName("Track");o.innerHTML===e.lang.OFF?(a[0].track.mode="hidden",a[0].src="",n.removeClass(e.root,"xgplayer-texttrack-active")):(a[0].style.display="block",n.addClass(e.root,"xgplayer-texttrack-active"),a[0].track.mode="showing",i.some((function(e){if(e.label===o.innerHTML)return a[0].src=e.src,e.kind&&(a[0].kind=e.kind),a[0].label=e.label,e.srclang&&(a[0].srclang=e.srclang),!0})),e.emit("textTrackChange",o.innerHTML))}else"click"!==e.config.textTrackActive||!o||"p"!==o.tagName.toLocaleLowerCase()&&"em"!==o.tagName.toLocaleLowerCase()||(n.addClass(e.root,"xgplayer-texttrack-active"),r.focus())}),!1)})),e.on("play",(function(){var r=t.querySelector(".xgplayer-texttrack ul"),o=t.getElementsByTagName("Track");e.hls&&r&&o&&(o[0].src="",Array.prototype.forEach.call(r.childNodes,(function(t){n.hasClass(t,"selected")&&(t.innerHTML===e.lang.OFF?(o[0].track.mode="hidden",o[0].src=""):(o[0].track.mode="hidden",i.some((function(e){if(e.label!==t.innerHTML)return o[0].src=e.src,e.kind&&(o[0].kind=e.kind),o[0].label=e.label,e.srclang&&(o[0].srclang=e.srclang),!0})),i.some((function(e){if(e.label===t.innerHTML)return setTimeout((function(){o[0].src=e.src,e.kind&&(o[0].kind=e.kind),o[0].label=e.label,e.srclang&&(o[0].srclang=e.srclang),o[0].track.mode="showing"})),!0}))))})),n.removeClass(e.root,"xgplayer-texttrack-active"))})),r.addEventListener("mouseleave",(function(t){t.preventDefault(),t.stopPropagation(),n.removeClass(e.root,"xgplayer-texttrack-active")}))}}},e.exports=t.default},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-texttrack{-webkit-order:7;-moz-box-ordinal-group:8;order:7;width:60px;height:150px;z-index:18;position:relative;outline:none;display:none;cursor:default;margin-top:-119px}.xgplayer-skin-default .xgplayer-texttrack ul{display:none;list-style:none;min-width:78px;background:rgba(0,0,0,.54);border-radius:1px;position:absolute;bottom:30px;text-align:center;white-space:nowrap;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:26;cursor:pointer}.xgplayer-skin-default .xgplayer-texttrack ul li{opacity:.7;font-family:PingFangSC-Regular;font-size:11px;color:hsla(0,0%,100%,.8);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:auto;padding:6px 13px}.xgplayer-skin-default .xgplayer-texttrack ul li.selected,.xgplayer-skin-default .xgplayer-texttrack ul li:hover{color:#fff;opacity:1}.xgplayer-skin-default .xgplayer-texttrack .name{text-align:center;font-family:PingFangSC-Regular;font-size:13px;cursor:pointer;color:hsla(0,0%,100%,.8);position:absolute;bottom:0;width:60px;height:20px;line-height:20px;background:rgba(0,0,0,.38);border-radius:10px;display:inline-block;vertical-align:middle}xg-text-track{transition:bottom .3s ease}.xgplayer-skin-default.xgplayer-is-texttrack .xgplayer-texttrack,.xgplayer-skin-default.xgplayer-texttrack-active .xgplayer-texttrack ul{display:block}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(160),a=(r=o)&&r.__esModule?r:{default:r};n(78);var s={follow:!0,mode:"stroke",followBottom:50,fitVideo:!0,offsetBottom:2,baseSizeX:49,baseSizeY:28,minSize:16,minMobileSize:13,line:"double",fontColor:"#fff"};t.default={name:"s_textTrack",method:function(){var e=this,t=e.root;if(this.config.textTrack){var n=this.config.textTrack,r=this.config.textTrackStyle||{};Object.keys(s).map((function(e){void 0===r[e]&&(r[e]=s[e])})),e.textTrackShowDefault=!1,n.map((function(t,n){t.id||t.language||(t.id=n),!t.url&&(t.url=t.src),!t.language&&(t.language=t.srclang),void 0===t.isDefault&&(t.isDefault=t.default),!e.textTrackShowDefault&&(e.textTrackShowDefault=t.isDefault||t.default)}));var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r={subTitles:e,defaultOpen:n};return Object.keys(t).map((function(e){r[e]=t[e]})),new a.default(r)}(n,r,e.textTrackShowDefault);o.attachPlayer(e);var l={},u=(0,i.createDom)("xg-texttrack","",{tabindex:7},"xgplayer-texttrack");n&&Array.isArray(n)&&n.length>0&&((0,i.addClass)(e.root,"xgplayer-is-texttrack"),e.once("canplay",(function(){var r=["<ul>"];r.push('<li data-type="off" class="'+(e.textTrackShowDefault?"":"selected")+'">'+e.lang.OFF+"</li>"),n.forEach((function(t){r.push("<li data-id="+t.id+" data-language="+t.language+' class="'+(t.isDefault&&e.textTrackShowDefault?"selected":"")+'">'+t.label+"</li>")}));var o=e.lang.TEXTTRACK;r.push('</ul><p class="name">'+o+"</p>");var a=t.querySelector(".xgplayer-texttrack");if(a){a.innerHTML=r.join("");var s=a.querySelector(".name");e.config.textTrackActive&&"hover"!==e.config.textTrackActive||s.addEventListener("mouseenter",(function(e){e.preventDefault(),e.stopPropagation(),(0,i.addClass)(t,"xgplayer-texttrack-active"),a.focus()}))}else{u.innerHTML=r.join("");var l=u.querySelector(".name");e.config.textTrackActive&&"hover"!==e.config.textTrackActive||l.addEventListener("mouseenter",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.addClass)(e.root,"xgplayer-texttrack-active"),u.focus()})),e.controls.appendChild(u)}}))),["touchend","click"].forEach((function(t){u.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation();var n=t.target||t.srcElement;if(n&&"li"===n.tagName.toLocaleLowerCase()){var r=n.getAttribute("data-id"),a=n.getAttribute("data-type"),s=n.getAttribute("data-language");Array.prototype.forEach.call(n.parentNode.childNodes,(function(e){(0,i.removeClass)(e,"selected")})),(0,i.addClass)(n,"selected"),"off"===a?(o.switchOff(),(0,i.removeClass)(e.root,"xgplayer-texttrack-active")):(o.switch({id:r,language:s}),(0,i.addClass)(e.root,"xgplayer-texttrack-active"),e.emit("textTrackChange",n.innerHTML))}else"click"!==e.config.textTrackActive||!n||"p"!==n.tagName.toLocaleLowerCase()&&"em"!==n.tagName.toLocaleLowerCase()||((0,i.addClass)(e.root,"xgplayer-texttrack-active"),u.focus())}),!1)}));var c=!1,f=r.followBottom;e.controls&&r.follow&&(o.on("resize",p),e.on("focus",h),e.on("blur",d)),e.once("destroy",(function(){o.off("resize",p),e.off("focus",h),e.off("blur",d),o.destroy(),o=null})),u.addEventListener("mouseleave",(function(t){t.preventDefault(),t.stopPropagation(),(0,i.removeClass)(e.root,"xgplayer-texttrack-active")}))}function h(){var e=l.marginBottom,t=l.vBottom;if(!c&&e){c=!0;var n=e+t;f>n&&(n=f),o&&(o.root.style.bottom=n+"px")}}function d(){c=!1;var e=l.vBottom+l.marginBottom;o&&(o.root.style.bottom=e+"px")}function p(e){l.vBottom=e.vBottom,l.marginBottom=e.marginBottom}}},e.exports=t.default},function(e,t,n){e.exports=function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=g(t),this.reject=g(n)}function r(e){var t=e.length;return 3===t?(60*(60*Number(e[0])+Number(e[1]))*1e3+1e3*Number(e[2]))/1e3:2===t?(60*Number(e[0])*1e3+1e3*Number(e[1]))/1e3:Number(e[0])}function i(e){return/^(\-|\+)?\d+(\.\d+)?$/.test(e)}function o(e,t){return e>=0&&e<t.length?t[e]:""}function a(e,t){if(!e)return!1;if(e.classList)return Array.prototype.some.call(e.classList,(function(e){return e===t}));var n=e.className&&"object"===kr(e.className)?e.getAttribute("class"):e.className;return n&&!!n.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function s(e,t){e&&(e.classList?t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach((function(t){t&&e.classList.add(t)})):a(e,t)||(e.className&&"object"===kr(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t))}function l(e,t,n){var r=t.length;if(r<1)return-1;if(t[n=n<0?0:n>=r?r-1:n].start<=e&&e<t[n].end)return n;for(var i=t[n].end<=e?n+1:0;i<r;i++){if(t[i].start<=e&&e<t[i].end)return i;if(e>t[i].end&&i+1<r&&e<t[i+1].start)return-1;if(e>t[i].end&&i+1>=r)return-1}return-1}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={code:Cr[e].code,msg:Cr[e].msg};return Xt(t).map((function(e){n[e]=t[e]})),n}function c(e){return new Wt((function(t,n){e.list&&t(e),new yn({url:e.url,type:"text"}).then((function(r){An.parse(r.res.response,(function(r,i){if(i){var o=u(2,i);console.trace(o),n(o,{format:r.format})}else if(r.format)e.list=r.list,e.format=r.format,e.styles=r.styles,t(e);else{var a=u(3);console.trace(a),n(a)}}))})).catch((function(e){var t=u(1,{statusText:e.statusText,status:e.status,type:e.type,message:"http load error"});console.trace(t),n(t)}))}))}function f(e,t){return!!(e.id&&e.id===t.id||e.language&&e.language===t.language)}var h=e(t((function(e,t){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}))),d=t((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),p=t((function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)})),g=(p.version,function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}),v=function(e,t,n){if(g(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=function(e){if(!y(e))throw TypeError(e+" is not an object!");return e},b=function(e){try{return!!e()}catch(e){return!0}},_=!b((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),x=d.document,w=y(x)&&y(x.createElement),S=function(e){return w?x.createElement(e):{}},k=!_&&!b((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),E=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},O=Object.defineProperty,C={f:_?Object.defineProperty:function(e,t,n){if(m(e),t=E(t,!0),m(n),k)try{return O(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},T=_?function(e,t,n){return C.f(e,t,A(1,n))}:function(e,t,n){return e[t]=n,e},P={}.hasOwnProperty,M=function(e,t){return P.call(e,t)},D=function(e,t,n){var r,i,o,a=e&D.F,s=e&D.G,l=e&D.S,u=e&D.P,c=e&D.B,f=e&D.W,h=s?p:p[t]||(p[t]={}),g=h.prototype,y=s?d:l?d[t]:(d[t]||{}).prototype;for(r in s&&(n=t),n)(i=!a&&y&&void 0!==y[r])&&M(h,r)||(o=i?y[r]:n[r],h[r]=s&&"function"!=typeof y[r]?n[r]:c&&i?v(o,d):f&&y[r]==o?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(o):u&&"function"==typeof o?v(Function.call,o):o,u&&((h.virtual||(h.virtual={}))[r]=o,e&D.R&&g&&!g[r]&&T(g,r,o)))};D.F=1,D.G=2,D.S=4,D.P=8,D.B=16,D.W=32,D.U=64,D.R=128;var I=D;I(I.S+I.F*!_,"Object",{defineProperty:C.f});var L=p.Object,R=function(e,t,n){return L.defineProperty(e,t,n)},j=t((function(e){e.exports={default:R,__esModule:!0}}));e(j);var N=e(t((function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(j);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,n.default)(e,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()}))),B=Math.ceil,F=Math.floor,z=function(e){return isNaN(e=+e)?0:(e>0?F:B)(e)},U=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},H=T,V={},G={}.toString,W=function(e){return G.call(e).slice(8,-1)},q=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==W(e)?e.split(""):Object(e)},X=function(e){return q(U(e))},Y=Math.min,K=function(e){return e>0?Y(z(e),9007199254740991):0},$=Math.max,Z=Math.min,J=t((function(e){var t=d["__core-js_shared__"]||(d["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:p.version,mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),Q=0,ee=Math.random(),te=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Q+ee).toString(36))},ne=J("keys"),re=function(e){return ne[e]||(ne[e]=te(e))},ie=function(e,t,n){for(var r=X(e),i=K(r.length),o=function(e,t){return(e=z(e))<0?$(e+t,0):Z(e,t)}(n,i);i>o;o++)if(o in r&&r[o]===t)return o||0;return-1},oe=re("IE_PROTO"),ae=function(e,t){var n,r=X(e),i=0,o=[];for(n in r)n!=oe&&M(r,n)&&o.push(n);for(;t.length>i;)M(r,n=t[i++])&&(~ie(o,n)||o.push(n));return o},se="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),le=Object.keys||function(e){return ae(e,se)},ue=_?Object.defineProperties:function(e,t){m(e);for(var n,r=le(t),i=r.length,o=0;i>o;)C.f(e,n=r[o++],t[n]);return e},ce=d.document,fe=ce&&ce.documentElement,he=re("IE_PROTO"),de=function(){},pe=function(){var e,t=S("iframe"),n=se.length;for(t.style.display="none",fe.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),pe=e.F;n--;)delete pe.prototype[se[n]];return pe()},ge=Object.create||function(e,t){var n;return null!==e?(de.prototype=m(e),n=new de,de.prototype=null,n[he]=e):n=pe(),void 0===t?n:ue(n,t)},ve=t((function(e){var t=J("wks"),n=d.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:te)("Symbol."+e))}).store=t})),ye=C.f,me=ve("toStringTag"),be=function(e,t,n){e&&!M(e=n?e:e.prototype,me)&&ye(e,me,{configurable:!0,value:t})},_e={};T(_e,ve("iterator"),(function(){return this}));var xe=function(e){return Object(U(e))},we=re("IE_PROTO"),Se=Object.prototype,ke=Object.getPrototypeOf||function(e){return e=xe(e),M(e,we)?e[we]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ee=ve("iterator"),Oe=!([].keys&&"next"in[].keys()),Ce=function(){return this},Ae=function(e,t,n,r,i,o,a){!function(e,t,n){e.prototype=ge(_e,{next:A(1,n)}),be(e,t+" Iterator")}(n,t,r);var s,l,u,c=function(e){if(!Oe&&e in p)return p[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",h="values"==i,d=!1,p=e.prototype,g=p[Ee]||p["@@iterator"]||i&&p[i],v=g||c(i),y=i?h?c("entries"):v:void 0,m="Array"==t&&p.entries||g;if(m&&(u=ke(m.call(new e)))!==Object.prototype&&u.next&&be(u,f,!0),h&&g&&"values"!==g.name&&(d=!0,v=function(){return g.call(this)}),a&&(Oe||d||!p[Ee])&&T(p,Ee,v),V[t]=v,V[f]=Ce,i)if(s={values:h?v:c("values"),keys:o?v:c("keys"),entries:y},a)for(l in s)l in p||H(p,l,s[l]);else I(I.P+I.F*(Oe||d),t,s);return s},Te=function(e,t){var n,r,i=String(U(e)),o=z(t),a=i.length;return o<0||o>=a?"":(n=i.charCodeAt(o))<55296||n>56319||o+1===a||(r=i.charCodeAt(o+1))<56320||r>57343?i.charAt(o):i.slice(o,o+2)};Ae(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=Te(t,n),this._i+=e.length,{value:e,done:!1})}));var Pe=function(e,t){return{value:t,done:!!e}};Ae(Array,"Array",(function(e,t){this._t=X(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,Pe(1)):Pe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),V.Arguments=V.Array;for(var Me=ve("toStringTag"),De="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(","),Ie=0;Ie<De.length;Ie++){var Le=De[Ie],Re=d[Le],je=Re&&Re.prototype;je&&!je[Me]&&T(je,Me,Le),V[Le]=V.Array}var Ne,Be,Fe,ze=ve("toStringTag"),Ue="Arguments"==W(function(){return arguments}()),He=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ze))?n:Ue?W(t):"Object"==(r=W(t))&&"function"==typeof t.callee?"Arguments":r},Ve=function(e,t,n,r){try{return r?t(m(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&m(i.call(e)),t}},Ge=ve("iterator"),We=Array.prototype,qe=ve("iterator"),Xe=p.getIteratorMethod=function(e){if(null!=e)return e[qe]||e["@@iterator"]||V[He(e)]},Ye=t((function(e){var t={},n={},r=e.exports=function(e,r,i,o,a){var s,l,u,c,f=a?function(){return e}:Xe(e),h=v(i,o,r?2:1),d=0;if("function"!=typeof f)throw TypeError(e+" is not iterable!");if(function(e){return void 0!==e&&(V.Array===e||We[Ge]===e)}(f)){for(s=K(e.length);s>d;d++)if((c=r?h(m(l=e[d])[0],l[1]):h(e[d]))===t||c===n)return c}else for(u=f.call(e);!(l=u.next()).done;)if((c=Ve(u,h,l.value,r))===t||c===n)return c};r.BREAK=t,r.RETURN=n})),Ke=ve("species"),$e=function(e,t){var n,r=m(e).constructor;return void 0===r||null==(n=m(r)[Ke])?t:g(n)},Ze=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},Je=d.process,Qe=d.setImmediate,et=d.clearImmediate,tt=d.MessageChannel,nt=d.Dispatch,rt=0,it={},ot=function(){var e=+this;if(it.hasOwnProperty(e)){var t=it[e];delete it[e],t()}},at=function(e){ot.call(e.data)};Qe&&et||(Qe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return it[++rt]=function(){Ze("function"==typeof e?e:Function(e),t)},Ne(rt),rt},et=function(e){delete it[e]},"process"==W(Je)?Ne=function(e){Je.nextTick(v(ot,e,1))}:nt&&nt.now?Ne=function(e){nt.now(v(ot,e,1))}:tt?(Fe=(Be=new tt).port2,Be.port1.onmessage=at,Ne=v(Fe.postMessage,Fe,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(Ne=function(e){d.postMessage(e+"","*")},d.addEventListener("message",at,!1)):Ne="onreadystatechange"in S("script")?function(e){fe.appendChild(S("script")).onreadystatechange=function(){fe.removeChild(this),ot.call(e)}}:function(e){setTimeout(v(ot,e,1),0)});var st={set:Qe,clear:et},lt=st.set,ut=d.MutationObserver||d.WebKitMutationObserver,ct=d.process,ft=d.Promise,ht="process"==W(ct),dt={f:function(e){return new n(e)}},pt=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},gt=d.navigator,vt=gt&&gt.userAgent||"",yt=function(e,t){if(m(e),y(t)&&t.constructor===e)return t;var n=dt.f(e);return(0,n.resolve)(t),n.promise},mt=ve("species"),bt=ve("iterator"),_t=!1;try{var xt=[7][bt]();xt.return=function(){_t=!0},Array.from(xt,(function(){throw 2}))}catch(e){}var wt,St,kt,Et,Ot=st.set,Ct=function(){var e,t,n,r=function(){var r,i;for(ht&&(r=ct.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(ht)n=function(){ct.nextTick(r)};else if(!ut||d.navigator&&d.navigator.standalone)if(ft&&ft.resolve){var i=ft.resolve(void 0);n=function(){i.then(r)}}else n=function(){lt.call(d,r)};else{var o=!0,a=document.createTextNode("");new ut(r).observe(a,{characterData:!0}),n=function(){a.data=o=!o}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}(),At=d.TypeError,Tt=d.process,Pt=Tt&&Tt.versions,Mt=Pt&&Pt.v8||"",Dt=d.Promise,It="process"==He(Tt),Lt=function(){},Rt=St=dt.f,jt=!!function(){try{var e=Dt.resolve(1),t=(e.constructor={})[ve("species")]=function(e){e(Lt,Lt)};return(It||"function"==typeof PromiseRejectionEvent)&&e.then(Lt)instanceof t&&0!==Mt.indexOf("6.6")&&-1===vt.indexOf("Chrome/66")}catch(e){}}(),Nt=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},Bt=function(e,t){if(!e._n){e._n=!0;var n=e._c;Ct((function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&Ut(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?u(At("Promise-chain cycle")):(o=Nt(n))?o.call(n,l,u):l(n)):u(r)}catch(e){c&&!a&&c.exit(),u(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&Ft(e)}))}},Ft=function(e){Ot.call(d,(function(){var t,n,r,i=e._v,o=zt(e);if(o&&(t=pt((function(){It?Tt.emit("unhandledRejection",i,e):(n=d.onunhandledrejection)?n({promise:e,reason:i}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=It||zt(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},zt=function(e){return 1!==e._h&&0===(e._a||e._c).length},Ut=function(e){Ot.call(d,(function(){var t;It?Tt.emit("rejectionHandled",e):(t=d.onrejectionhandled)&&t({promise:e,reason:e._v})}))},Ht=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Bt(t,!0))},Vt=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw At("Promise can't be resolved itself");(t=Nt(e))?Ct((function(){var r={_w:n,_d:!1};try{t.call(e,v(Vt,r,1),v(Ht,r,1))}catch(e){Ht.call(r,e)}})):(n._v=e,n._s=1,Bt(n,!1))}catch(e){Ht.call({_w:n,_d:!1},e)}}};jt||(Dt=function(e){(function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")})(this,Dt,"Promise","_h"),g(e),wt.call(this);try{e(v(Vt,this,1),v(Ht,this,1))}catch(e){Ht.call(this,e)}},(wt=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)T(e,r,t[r]);return e}(Dt.prototype,{then:function(e,t){var n=Rt($e(this,Dt));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=It?Tt.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Bt(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),kt=function(){var e=new wt;this.promise=e,this.resolve=v(Vt,e,1),this.reject=v(Ht,e,1)},dt.f=Rt=function(e){return e===Dt||e===Et?new kt(e):St(e)}),I(I.G+I.W+I.F*!jt,{Promise:Dt}),be(Dt,"Promise"),function(e){var t="function"==typeof p[e]?p[e]:d[e];_&&t&&!t[mt]&&C.f(t,mt,{configurable:!0,get:function(){return this}})}("Promise"),Et=p.Promise,I(I.S+I.F*!jt,"Promise",{reject:function(e){var t=Rt(this);return(0,t.reject)(e),t.promise}}),I(I.S+!0*I.F,"Promise",{resolve:function(e){return yt(this===Et?Dt:this,e)}}),I(I.S+I.F*!(jt&&function(e,t){if(!_t)return!1;var n=!1;try{var r=[7],i=r[bt]();i.next=function(){return{done:n=!0}},r[bt]=function(){return i},function(e){Dt.all(e).catch(Lt)}(r)}catch(e){}return n}()),"Promise",{all:function(e){var t=this,n=Rt(t),r=n.resolve,i=n.reject,o=pt((function(){var n=[],o=0,a=1;Ye(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=Rt(t),r=n.reject,i=pt((function(){Ye(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}}),I(I.P+I.R,"Promise",{finally:function(e){var t=$e(this,p.Promise||d.Promise),n="function"==typeof e;return this.then(n?function(n){return yt(t,e()).then((function(){return n}))}:e,n?function(n){return yt(t,e()).then((function(){throw n}))}:e)}}),I(I.S,"Promise",{try:function(e){var t=dt.f(this),n=pt(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var Gt=p.Promise,Wt=e(t((function(e){e.exports={default:Gt,__esModule:!0}})));!function(e,t){var n=(p.Object||{})[e]||Object[e],r={keys:function(e){return le(xe(e))}};I(I.S+I.F*b((function(){n(1)})),"Object",r)}("keys");var qt=p.Object.keys,Xt=e(t((function(e){e.exports={default:qt,__esModule:!0}}))),Yt=function(e){return null!=e},Kt={object:!0,function:!0,undefined:!0},$t=function(e){if(!function(e){return!!Yt(e)&&hasOwnProperty.call(Kt,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}},Zt=/^\s*class[\s{/}]/,Jt=Function.prototype.toString,Qt=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!$t(e)}(e)&&!Zt.test(Jt.call(e))},en=function(e){return null!=e},tn=Object.keys,nn=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return tn(en(e)?Object(e):e)},rn=function(e){if(!en(e))throw new TypeError("Cannot use null or undefined");return e},on=Math.max,an=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,i,o=on(arguments.length,2);for(e=Object(rn(e)),i=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<o;++r)nn(t=arguments[r]).forEach(i);if(void 0!==n)throw n;return e},sn=Array.prototype.forEach,ln=Object.create,un=function(e,t){var n;for(n in e)t[n]=e[n]},cn=function(e){var t=ln(null);return sn.call(arguments,(function(e){en(e)&&un(Object(e),t)})),t},fn="razdwatrzy",hn=String.prototype.indexOf,dn="function"==typeof fn.contains&&!0===fn.contains("dwa")&&!1===fn.contains("foo")?String.prototype.contains:function(e){return hn.call(this,e,arguments[1])>-1},pn=t((function(e){(e.exports=function(e,t){var n,r,i,o,a;return arguments.length<2||"string"!=typeof e?(o=t,t=e,e=null):o=arguments[2],Yt(e)?(n=dn.call(e,"c"),r=dn.call(e,"e"),i=dn.call(e,"w")):(n=i=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:i},o?an(cn(o),a):a}).gs=function(e,t,n){var r,i,o,a;return"string"!=typeof e?(o=n,n=t,t=e,e=null):o=arguments[3],Yt(t)?Qt(t)?Yt(n)?Qt(n)||(o=n,n=void 0):n=void 0:(o=t,t=n=void 0):t=void 0,Yt(e)?(r=dn.call(e,"c"),i=dn.call(e,"e")):(r=!0,i=!1),a={get:t,set:n,configurable:r,enumerable:i},o?an(cn(o),a):a}})),gn=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},vn=t((function(e,t){var n,r,i,o,a,s,l,u=Function.prototype.apply,c=Function.prototype.call,f=Object.create,h=Object.defineProperty,d=Object.defineProperties,p=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};a={on:n=function(e,t){var n;return gn(t),p.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),h(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:r=function(e,t){var r,o;return gn(t),o=this,n.call(this,e,r=function(){i.call(o,e,r),u.call(t,this,arguments)}),r.__eeOnceListener__=t,this},off:i=function(e,t){var n,r,i,o;if(gn(t),!p.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:o=function(e){var t,n,r,i,o;if(p.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)u.call(r,this,o)}else switch(arguments.length){case 1:c.call(i,this);break;case 2:c.call(i,this,arguments[1]);break;case 3:c.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];u.call(i,this,o)}}},s={on:pn(n),once:pn(r),off:pn(i),emit:pn(o)},l=d({},s),e.exports=t=function(e){return null==e?f(l):d(Object(e),s)},t.methods=a})),yn=(vn.methods,function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.url,r=t.method,i=void 0===r?"GET":r,o=t.type,a=void 0===o?"arraybuffer":o,s=t.timeout,l=void 0===s?1e4:s,u=t.data,c=void 0===u?{}:u,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h(this,e),new Wt((function(e,t){var r=new window.XMLHttpRequest,o=i.toUpperCase(),s=[];for(var u in a&&(r.responseType=a),l&&(r.timeout=l),c)s.push("k="+c[u]);if(r.onload=function(){200===r.status||206===r.status?e({context:f,res:r}):t({context:f,res:r,type:"error"})},r.onerror=function(e){t({context:f,res:r,type:"error"})},r.ontimeout=function(e){t({context:f,res:r,type:"error"})},r.onabort=function(){t({context:f,res:r,type:"error"})},"GET"===o)r.open(o,""+n),r.send();else{if("post"!==o)throw new Error("xhr "+o+" is not supported");r.open(o,n),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.send(s.join("&"))}}))}),mn=/^WEBVTT/,bn=/^STYLE+$/,_n=/^\:\:cue/,xn=/^}+$/,wn=/^\[Script Info\].*/,Sn=[/[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}-->[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}/,/[0-9]{2}:[0-9]{2}\.[0-9]{3}-->[0-9]{2}:[0-9]{2}\.[0-9]{3}/,/[0-9]{2}\.[0-9]{3}-->[0-9]{2}\.[0-9]{3}/],kn=/^(<?.+?>(([\s\S])*?)<\/?.+?>)$/,En=/^Format:\s/,On=/^Style:\s/,Cn=/^Dialogue:\s/,An=function(){function e(){h(this,e)}return N(e,null,[{key:"parse",value:function(t,n){var r=e.checkFormat(t);r||n({format:r});try{var i=[];"ass"===r?i=e.parseASS(t):"vtt"===r&&(i=e.parseVTT(t)),n({format:r,list:i.list,styles:i.styles})}catch(e){console.error(e),n({format:r},e)}}},{key:"parseASSItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.split(","),i={},o="";try{var a=n.length-t.length;return o=o=(o=a>0?n.splice(t.length-1,a+1).join(",")+"":n[n.length-1]+"").replace(/\\n+/g,""),n[t.length-1]=o,t.map((function(e,t){"end"===e||"start"===e?i[e]=r(n[t].split(":")):"text"===e?i[e]=[n[t]]:"layer"===e?(i[e]=[n[t]],i.textTag=[n[t]]):i[e]="style"===e?[n[t]]:Number(n[t])?Number(n[t]):n[t]})),i}catch(e){return console.error(e),{}}}},{key:"parseASS",value:function(t){for(var n=t.split("\n"),r=[],i=0,o=0,a=[],s=[],l=null;i<n.length;){if(En.test(n[i]))s=(s=n[i].replace(En,"").replace(/\s+/g,"").split(",")).map((function(e){return e.toLocaleLowerCase()}));else if(On.test(n[i]))a.push(n[i].replace(On,"").replace(/\s+/g,""));else if(Cn.test(n[i])){var u=e.parseASSItem(n[i].replace(Cn,""),s);if(l&&u.start===l.start&&u.end===l.end)try{var c=l,f=c.text,h=c.textTag,d=c.style;f.push(u.text[0]),h.push(u.textTag[0]),d.push(u.style[0])}catch(e){console.error(e)}else{l=u;var p=null;o%50==0?((p={start:l.start,end:l.end,list:[]}).list.push(l),r.push(p)):((p=r[r.length-1]).end=l.end,p.list.push(l)),o++}}i++}return{list:r,style:{}}}},{key:"parseVTTStyle",value:function(e,t){console.log("parseVTTStyle",e);var n=e.split(":");if(n.length>1){var r=n[0].trim().split("-"),i="";r.length>1?r.map((function(e,t){i+=0===t?e:e.charAt(0).toUpperCase()+e.slice(1)})):i=r[0],t[i]=n[1].trim().replace(/;$/,"")}return t}},{key:"parseVTT",value:function(e){for(var t=(e=e.replace(mn,"")).split("\n"),n=[],r=0,a=0,s=null,l=null,u=!1,c=!1,f=null,h=null,d=[];r<t.length;){var p=o(r,t).trim();if(!p||u&&i(p))u=!p;else if(_n.test(p)&&bn.test(o(r-1,t).trim())){c=!0;var g=/\((.+?)\)/g.exec(p);h=g?g[1]:"",f=""}else if(c)xn.test(p)?(d.push({key:h,style:f}),f=null,h=null,c=!1):f+=p;else if(p){u=!1;var v=this.checkIsTime(t[r]);if(v){var y=this.parseVttTime(v);if(!s||y.start!==s.start||y.end!==s.end){(s=y).text=[],s.textTag=[];var m=null;a%50==0?((m={start:s.start,end:s.end,list:[]}).list.push(s),n.push(m)):((m=n[n.length-1]).end=s.end,m.list.push(s)),a++}}else if(s){var b=s,_=b.text,x=b.textTag,w=this.parseVttText(t[r]);0===x.length||l||w.tag&&w.tag!==x[x.length-1]?(_.push(w.text),x.push(w.tag)):_[x.length-1]+=w.text}l=v,u=!1}r++}return{list:n,styles:d}}},{key:"checkIsTime",value:function(e){e=e.replace(/\s+/g,"");for(var t=0,n=null;t<Sn.length&&!(n=Sn[t].exec(e));)t++;return n?n[0]:null}},{key:"parseVttText",value:function(e){var t=kn.exec(e),n="",r="default";t?(n=t[t.length-2],r=/^(<?.+?>)/gi.exec(e)[0].replace(/\<|\>|\&/g,"")):n=e;for(var i=/<(\w+).(\w+)>/g,o=i.exec(n);o&&o.length>2;)n=n.replace(o[0],"<"+o[1]+' class="'+o[2]+'">'),o=i.exec(n);return{tag:r,text:n.replace(/\\n+/g,"")}}},{key:"parseVttTime",value:function(e){var t=e.split("--\x3e"),n=void 0,i=0;if(t.length=2){var o=t[0].split(":"),a=t[1].split(":");n=r(o),i=r(a)}return{start:n,end:i,time:e}}},{key:"isVTT",value:function(e){return mn.test(e)}},{key:"isASS",value:function(e){return wn.test(e)}},{key:"checkFormat",value:function(e){return e?mn.test(e)?"vtt":wn.test(e)?"ass":null:null}}]),e}(),Tn={f:ve},Pn=Tn.f("iterator"),Mn=t((function(e){e.exports={default:Pn,__esModule:!0}}));e(Mn);var Dn=t((function(e){var t=te("meta"),n=C.f,r=0,i=Object.isExtensible||function(){return!0},o=!b((function(){return i(Object.preventExtensions({}))})),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!M(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!M(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return o&&s.NEED&&i(e)&&!M(e,t)&&a(e),e}}})),In=(Dn.KEY,Dn.NEED,Dn.fastKey,Dn.getWeak,Dn.onFreeze,C.f),Ln=function(e){var t=p.Symbol||(p.Symbol={});"_"==e.charAt(0)||e in t||In(t,e,{value:Tn.f(e)})},Rn={f:Object.getOwnPropertySymbols},jn={f:{}.propertyIsEnumerable},Nn=Array.isArray||function(e){return"Array"==W(e)},Bn=se.concat("length","prototype"),Fn={f:Object.getOwnPropertyNames||function(e){return ae(e,Bn)}},zn=Fn.f,Un={}.toString,Hn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Vn={f:function(e){return Hn&&"[object Window]"==Un.call(e)?function(e){try{return zn(e)}catch(e){return Hn.slice()}}(e):zn(X(e))}},Gn=Object.getOwnPropertyDescriptor,Wn={f:_?Gn:function(e,t){if(e=X(e),t=E(t,!0),k)try{return Gn(e,t)}catch(e){}if(M(e,t))return A(!jn.f.call(e,t),e[t])}},qn=Dn.KEY,Xn=Wn.f,Yn=C.f,Kn=Vn.f,$n=d.Symbol,Zn=d.JSON,Jn=Zn&&Zn.stringify,Qn=ve("_hidden"),er=ve("toPrimitive"),tr={}.propertyIsEnumerable,nr=J("symbol-registry"),rr=J("symbols"),ir=J("op-symbols"),or=Object.prototype,ar="function"==typeof $n&&!!Rn.f,sr=d.QObject,lr=!sr||!sr.prototype||!sr.prototype.findChild,ur=_&&b((function(){return 7!=ge(Yn({},"a",{get:function(){return Yn(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Xn(or,t);r&&delete or[t],Yn(e,t,n),r&&e!==or&&Yn(or,t,r)}:Yn,cr=function(e){var t=rr[e]=ge($n.prototype);return t._k=e,t},fr=ar&&"symbol"==typeof $n.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof $n},hr=function(e,t,n){return e===or&&hr(ir,t,n),m(e),t=E(t,!0),m(n),M(rr,t)?(n.enumerable?(M(e,Qn)&&e[Qn][t]&&(e[Qn][t]=!1),n=ge(n,{enumerable:A(0,!1)})):(M(e,Qn)||Yn(e,Qn,A(1,{})),e[Qn][t]=!0),ur(e,t,n)):Yn(e,t,n)},dr=function(e,t){m(e);for(var n,r=function(e){var t=le(e),n=Rn.f;if(n)for(var r,i=n(e),o=jn.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t}(t=X(t)),i=0,o=r.length;o>i;)hr(e,n=r[i++],t[n]);return e},pr=function(e,t){if(e=X(e),t=E(t,!0),e!==or||!M(rr,t)||M(ir,t)){var n=Xn(e,t);return!n||!M(rr,t)||M(e,Qn)&&e[Qn][t]||(n.enumerable=!0),n}},gr=function(e){for(var t,n=Kn(X(e)),r=[],i=0;n.length>i;)M(rr,t=n[i++])||t==Qn||t==qn||r.push(t);return r},vr=function(e){for(var t,n=e===or,r=Kn(n?ir:X(e)),i=[],o=0;r.length>o;)!M(rr,t=r[o++])||n&&!M(or,t)||i.push(rr[t]);return i};ar||(H(($n=function(){if(this instanceof $n)throw TypeError("Symbol is not a constructor!");var e=te(arguments.length>0?arguments[0]:void 0),t=function(n){this===or&&t.call(ir,n),M(this,Qn)&&M(this[Qn],e)&&(this[Qn][e]=!1),ur(this,e,A(1,n))};return _&&lr&&ur(or,e,{configurable:!0,set:t}),cr(e)}).prototype,"toString",(function(){return this._k})),Wn.f=pr,C.f=hr,Fn.f=Vn.f=gr,jn.f=function(e){var t=tr.call(this,e=E(e,!0));return!(this===or&&M(rr,e)&&!M(ir,e))&&(!(t||!M(this,e)||!M(rr,e)||M(this,Qn)&&this[Qn][e])||t)},Rn.f=vr,Tn.f=function(e){return cr(ve(e))}),I(I.G+I.W+I.F*!ar,{Symbol:$n});for(var yr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),mr=0;yr.length>mr;)ve(yr[mr++]);for(var br=le(ve.store),_r=0;br.length>_r;)Ln(br[_r++]);I(I.S+I.F*!ar,"Symbol",{for:function(e){return M(nr,e+="")?nr[e]:nr[e]=$n(e)},keyFor:function(e){if(!fr(e))throw TypeError(e+" is not a symbol!");for(var t in nr)if(nr[t]===e)return t},useSetter:function(){lr=!0},useSimple:function(){lr=!1}}),I(I.S+I.F*!ar,"Object",{create:function(e,t){return void 0===t?ge(e):dr(ge(e),t)},defineProperty:hr,defineProperties:dr,getOwnPropertyDescriptor:pr,getOwnPropertyNames:gr,getOwnPropertySymbols:vr});var xr=b((function(){Rn.f(1)}));I(I.S+I.F*xr,"Object",{getOwnPropertySymbols:function(e){return Rn.f(xe(e))}}),Zn&&I(I.S+I.F*(!ar||b((function(){var e=$n();return"[null]"!=Jn([e])||"{}"!=Jn({a:e})||"{}"!=Jn(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!fr(e))return Nn(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!fr(t))return t}),r[1]=t,Jn.apply(Zn,r)}}),$n.prototype[er]||T($n.prototype,er,$n.prototype.valueOf),be($n,"Symbol"),be(Math,"Math",!0),be(d.JSON,"JSON",!0),Ln("asyncIterator"),Ln("observable");var wr=p.Symbol,Sr=t((function(e){e.exports={default:wr,__esModule:!0}}));e(Sr);var kr=e(t((function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(Mn),i=n(Sr),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}}))),Er=function(){function e(){var t=this;h(this,e),this.__handlers=[],window.ResizeObserver&&(this.observer=new window.ResizeObserver((function(e){(new Date).getTime(),t.__trigger(e)})))}return N(e,[{key:"addObserver",value:function(e,t){if(this.observer){this.observer&&this.observer.observe(e);for(var n=this.__handlers,r=-1,i=0;i<n.length;i++)n[i]&&e===n[i].target&&(r=i);r>-1?this.__handlers[r].handler.push(t):this.__handlers.push({target:e,handler:[t]})}}},{key:"unObserver",value:function(e){var t=-1;this.__handlers.map((function(n,r){e===n.target&&(t=r)})),this.observer&&this.observer.unobserve(e),t>-1&&this.__handlers.splice(t,1)}},{key:"destroyObserver",value:function(){this.observer&&this.observer.disconnect(),this.observer=null,this.__handlers=null}},{key:"__runHandler",value:function(e,t){for(var n=this.__handlers,r=0;r<n.length;r++)if(n[r]&&e===n[r].target){n[r].handler&&n[r].handler.map((function(n){try{n(e,t)}catch(e){console.error(e)}}));break}}},{key:"__trigger",value:function(e){var t=this;e.map((function(e){var n=e.contentRect;t.__runHandler(e.target,n)}))}}]),e}(),Or=null;!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}('xg-text-track.xg-text-track {\n font-family: "PingFang SC","SF Pro SC","SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;\n -webkit-font-smoothing: antialiased;\n position: absolute;\n bottom: 0;\n color: #fff;\n left: 0;\n right: 0;\n pointer-events: none; }\n xg-text-track.xg-text-track.text-track-no-fitvideo {\n margin-bottom: 2%; }\n xg-text-track.xg-text-track.text-track-hide {\n opacity: 0;\n visibility: hidden; }\n xg-text-track.xg-text-track.text-track-show {\n opacity: 1;\n visibility: visible; }\n xg-text-track.xg-text-track xg-text-track-inner {\n display: block;\n position: relative;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n max-width: 92%; }\n xg-text-track.xg-text-track xg-text-track-span {\n display: -webkit-box;\n text-align: center;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n overflow: hidden;\n padding: 1px 4px;\n -webkit-line-clamp: 1;\n line-height: 120%;\n word-break: break-all; }\n xg-text-track.xg-text-track xg-text-track-span.text-track-deputy {\n font-size: 76%; }\n xg-text-track.xg-text-track xg-text-track-span.text-track-single {\n -webkit-line-clamp: 1; }\n xg-text-track.xg-text-track xg-text-track-span.text-track-double {\n -webkit-line-clamp: 2; }\n xg-text-track.xg-text-track xg-text-track-span.text-track-three {\n -webkit-line-clamp: 3; }\n xg-text-track.xg-text-track.text-track-bg xg-text-track-span {\n background-color: rgba(0, 0, 0, .54);\n border-radius: 2px; }\n xg-text-track.xg-text-track.text-track-stroke xg-text-track-inner {\n background-color: none;\n border-radius: 0;\n text-shadow: -1px 1px 0 rgba(0, 0, 0, .7), 1px 1px 0 rgba(0, 0, 0, .7), 1px -1px 0 rgba(0, 0, 0, .7), -1px -1px 0 rgba(0, 0, 0, .7); }\n');var Cr=[{code:0,msg:"SUCCESS"},{code:1,msg:"LOAD_ERROR"},{code:2,msg:"PARSER_ERROR"},{code:3,msg:"FORMAT_NOT_SUPPORTED"},{code:4,msg:"ID_OR_LANGUAGE_NOT_EXIST"},{code:5,msg:"PARAMETERS_ERROR"},{code:6,msg:"ABORT"},{code:7,msg:"UNKNOWN"}],Ar="resize",Tr=!1;return function(){function e(t){var n=this;h(this,e),vn(this),Tr=function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||r&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e);return/(?:iPhone)/.test(e)&&!o||r||n||o}(),this.currentText=null,this.textTrack=[],this._cid=-1,this._gid=-1,this._iId=null,this._iC=0,this.player=null,this.root=null,this.config={line:"double",bottom:0,mode:"stroke",defaultOpen:!1,baseSizeX:49,baseSizeY:28,minSize:16,minMobileSize:13,fitVideo:!0,offsetBottom:2,fontColor:"#fff"},this._loadingTrack={},Xt(this.config).map((function(e){void 0!==t[e]&&null!==t[e]&&(n.config[e]=t[e])})),this._isOpen=this.config.defaultOpen||!1,this._videoMeta={scale:0,videoHeight:0,videoWidth:0,lwidth:0,lheight:0,vWidth:0,vHeight:0,vBottom:0,vLeft:0,marginBottom:0},t.subTitles&&"Array"===function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]}(t.subTitles)&&(this.setSubTitles(t.subTitles),t.player&&this.attachPlayer(t.player),this.currentText&&c(this.currentText).then((function(e){n.addStyles(e)})))}return N(e,[{key:"setSubTitles",value:function(){var e=this;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){var n={};Xt(t).map((function(e){n[e]=t[e]})),n.isDefault&&(e.currentText=n),e.textTrack.push(n)}))}},{key:"addStyles",value:function(e){var t=e.styles,n=e.format;t&&"vtt"===n&&(t.map((function(e){e.key||(e.key="xg-text-track-span")})),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="";e.map((function(e){n+=" "+t+" "+e.key+" {"+e.style+"}"}));var r=document.createElement("style"),i=document.head||document.getElementsByTagName("head")[0];if(r.type="text/css",r.id="ssss",r.styleSheet){var o=function(){try{style.styleSheet.cssText=n}catch(e){}};r.styleSheet.disabled?setTimeout(o,10):o()}else{var a=document.createTextNode(n);r.appendChild(a)}i.appendChild(r)}(t,"xg-text-track"))}},{key:"attachPlayer",value:function(e){var t=this;if(e){this.player&&this.detachPlayer();var n=this.config,r=n.fontColor,i=n.mode,o=n.fitVideo;this.player=e,this.root=document.createElement("xg-text-track"),this.root.className="xg-text-track",!this._isOpen&&s(this.root,"text-track-hide"),!o&&s(this.root,"text-track-no-fitvideo"),i&&s(this.root,"text-track-"+i),this.innerRoot=document.createElement("xg-text-track-inner"),this.root.appendChild(this.innerRoot),r&&(this.root.style.color=r),this.currentText&&["language","id","label"].map((function(e){t.root.setAttribute("data-"+e,t.currentText[e]||"")})),this.player.root.appendChild(this.root),["destroy","__onTimeupdate","_onResize"].map((function(e){t[e]=t[e].bind(t)})),this.player.on("destroy",this.destroy),this.player.on("timeupdate",this.__onTimeupdate),function(e,t){Or||(Or=new Er),Or.addObserver(e,t)}(e.root,this._onResize)}}},{key:"detachPlayer",value:function(){var e=this.player;e&&(e.off("destroy",this.destroy),e.off("timeupdate",this.__onTimeupdate),e.root&&(function(e,t){Or&&Or.unObserver(e,t)}(e.root,this._onResize),e.root.removeChild(this.root)),this.innerRoot=null,this.root=null,this.player=null)}},{key:"switch",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:"",language:""};return this._loadingTrack=t,new Wt((function(n,r){if(!t.id&&!t.language)if(e.currentText){e._loadingTrack={},e._updateCurrent(e.currentText),e._isOpen=!0,e.show();var i=u(0,{message:"switch default subtitle success"});console.trace(i),n(i)}else{var o=u(5,{message:"no default subtitle"});console.trace(o),r(o)}if(e.currentText&&f(t,e.currentText))e._loadingTrack={},e._updateCurrent(e.currentText),e._isOpen=!0,e.show(),n(u(0));else{for(var a=null,s=0;s<e.textTrack.length;s++)if(f(t,e.textTrack[s])){a=e.textTrack[s];break}if(a)a.list?(e._loadingTrack={},e._updateCurrent(a),e._isOpen=!0,e.show(),n(u(0))):c(a).then((function(t){if(e.addStyles(t),e._loadingTrack.id===a.id||e._loadingTrack.language===t.language)e._loadingTrack={},e._updateCurrent(t),e._isOpen=!0,e.show(),n(u(0));else{var i=u(6,{message:"check _loadingTrack fail id: "+e._loadingTrack.id+" nextSubtitle:"+t.id});console.trace(i),r(i)}})).catch((function(e){r(e)}));else{var l=u(4,new Error("The is no subtitle with id:[{"+t.id+"}] or language:["+t.language+"]"));console.trace(l),r(l)}}}))}},{key:"switchOff",value:function(){this._isOpen=!1,this.hide()}},{key:"_updateCurrent",value:function(e){var t=this;this.currentText=e,["language","id","label"].map((function(e){t.root.setAttribute("data-"+e,t.currentText[e]||"")}));var n=this.player.currentTime,r=l(n,this.currentText.list,this._gid),i=-1;r>-1&&(i=l(n,this.currentText.list[r].list,this._cid)),this._gid=r,this._cid=i,i<0?this.__render():this.__render(this.currentText.list[r].list[i])}},{key:"__loadAll",value:function(){this.textTrack.map((function(e){c(e)}))}},{key:"__onTimeupdate",value:function(){if(this._isOpen){var e=this.player.video,t=e.videoWidth,n=e.videoHeight;!this._videoMeta.scale&&t&&n&&this._onResize(this.player.root);var r=this.player.currentTime;if(this.currentText&&this.currentText.list){var i=l(r,this.currentText.list,this._gid),o=-1;if(i>-1&&(o=l(r,this.currentText.list[i].list,this._cid)),o<0)return void this.__render();o===this._cid&&i===this._gid||(this._cid=o,this._gid=i,this.__render(this.currentText.list[i].list[o]))}}}},{key:"_onResize",value:function(e){var t=this._videoMeta;if(e&&e instanceof window.Element||(e=this.player.root),this._iId&&(clearTimeout(this._iId),this._iId=null),!t.scale){if(!this.player.video)return;var n=this.player.video,r=n.videoWidth,i=n.videoHeight;if(!r||!i)return;t.videoWidth=r,t.videoHeight=i,t.scale=parseInt(i/r*100,10)}this.__startResize(e)}},{key:"resize",value:function(e,t){var n=this,r=this.config,i=r.baseSizeX,o=r.baseSizeY,a=r.minMobileSize,s=r.minSize,l=r.fitVideo,u=(r.offsetLeft,r.offsetBottom),c=this._videoMeta.scale;this._videoMeta.lwidth=e,this._videoMeta.lheight=t;var f=void 0,h=0;t/e*100>=c?(h=parseInt(c*e,10)/100,f=e):(h=t,f=parseInt(t/c*100,10)),this._videoMeta.vWidth=f,this._videoMeta.vHeight=h;var d=0,p=0;c>120?(d=o,p=parseInt(d*h/1080,10)):(d=i,p=parseInt(d*f/1920,10));var g=Tr?a:s,v={fontSize:p=p<g?g:p>d?d:p},y=parseInt((t-h)/2,10),m=parseInt((e-f)/2,10),b=parseInt(h*u,10)/100;this._videoMeta.vBottom=y,this._videoMeta.vLeft=m,this._videoMeta.marginBottom=b,l&&(v.bottom=y+b,v.left=v.right=m),Xt(v).map((function(e){n.root.style[e]=v[e]+"px"})),this.emit(Ar,{vLeft:m,vBottom:y,marginBottom:b,vWidth:f,vHeight:h,fontSize:p,scale:c})}},{key:"__startResize",value:function(e){var t=this,n=e.getBoundingClientRect(),r=this._videoMeta,i=n.width,o=n.height;if(this._iId&&(clearTimeout(this._iId),this._iId=null),i>0&&o>0&&(i!==r.lwidth||o!==r.lheight))this._iC=0,this.resize(i,o);else{if(this._iC>=5)return void(this._iC=0);this._iC++,this._iId=setTimeout((function(){t.__startResize(e)}),50)}}},{key:"__render",value:function(e){if(e){var t="text-track-"+this.config.line;this.root.setAttribute("data-start",e.start),this.root.setAttribute("data-end",e.end);var n="";e.text.map((function(r,i){i>0&&(t+=" text-track-deputy"),n+='<xg-text-track-span class="'+t+'" data-tag="'+e.textTag[i]+'">'+r+"</xg-text-track-span>"})),this.innerRoot.innerHTML=n}else this.innerRoot.innerHTML=""}},{key:"show",value:function(){!function(e,t){e&&(e.classList?t.split(/\s+/g).forEach((function(t){e.classList.remove(t)})):a(e,t)&&t.split(/\s+/g).forEach((function(t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===kr(e.className)?e.setAttribute("class",e.getAttribute("class").replace(n," ")):e.className=e.className.replace(n," ")})))}(this.root,"text-track-hide")}},{key:"hide",value:function(){s(this.root,"text-track-hide"),this.innerRoot.innerHTML=""}},{key:"destroy",value:function(){this.detachPlayer(),this.player=null,this.textTrack=null}},{key:"marginBottom",get:function(){var e=this._videoMeta,t=e.bottom,n=e.marginBottom;return this.config.fitVideo?t+n:n}}]),e}()}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(162),t.default={name:"s_error",method:function(){var e=this,t=e.root,n=(0,r.createDom)("xg-error",'<span class="xgplayer-error-text">请<span class="xgplayer-error-refresh">刷新</span>试试</span>',{},"xgplayer-error");e.once("ready",(function(){t.appendChild(n)}));var i=n.querySelector(".xgplayer-error-text"),o=null;function a(){e.config.lang&&"zh-cn"===e.config.lang?i.innerHTML=e.config.errorTips||'请<span class="xgplayer-error-refresh">刷新</span>试试':i.innerHTML=e.config.errorTips||'please try to <span class="xgplayer-error-refresh">refresh</span>',(0,r.addClass)(e.root,"xgplayer-is-error"),(o=n.querySelector(".xgplayer-error-refresh"))&&["touchend","click"].forEach((function(t){o.addEventListener(t,(function(t){t.preventDefault(),t.stopPropagation(),e.autoplay=!0,e.once("playing",(function(){(0,r.removeClass)(e.root,"xgplayer-is-error")})),e.src=e.config.url}))}))}e.on("error",a),e.once("destroy",(function t(){e.off("error",a),e.off("destroy",t)}))}},e.exports=t.default},function(e,t,n){var r=n(163);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-error{background:#000;display:none;position:absolute;left:0;top:0;width:100%;height:100%;z-index:125;font-family:PingFangSC-Regular;font-size:14px;color:#fff;text-align:center;line-height:100%;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.xgplayer-skin-default .xgplayer-error .xgplayer-error-refresh{color:#fa1f41;padding:0 3px;cursor:pointer}.xgplayer-skin-default .xgplayer-error .xgplayer-error-text{line-height:18px;margin:auto 6px}.xgplayer-skin-default.xgplayer-is-error .xgplayer-error{display:-webkit-flex;display:-moz-box;display:flex}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(165),t.default={name:"s_memoryPlay",method:function(){var e=this,t=e.config.lastPlayTime||0,n=e.config.lastPlayTimeHideDelay||0,i=null;if(!(t<=0)){(i=(0,r.createDom)("xg-memoryplay",'<div class="xgplayer-memoryplay-spot"><div class="xgplayer-progress-tip">您上次观看到 <span class="xgplayer-lasttime">'+(0,r.format)(t)+'</span> ,为您自动续播 <span class="btn-close"><svg viewBox="64 64 896 896" focusable="false" class="" data-icon="close" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg></span></div></div>',{},"xgplayer-memoryplay")).addEventListener("mouseover",(function(e){e.stopPropagation()}));var o=function(){i&&i.parentNode&&i.parentNode.removeChild(i),i=null};i.querySelector(".xgplayer-progress-tip .btn-close").addEventListener("click",o),e.once("play",(function(){n>0&&e.root.appendChild(i),e.emit("memoryPlayStart",t),n>0&&setTimeout((function(){o()}),1e3*n)})),e.once("ended",o)}}},e.exports=t.default},function(e,t,n){var r=n(166);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-memoryplay-spot{position:absolute;height:32px;left:10px;bottom:46px;background:rgba(0,0,0,.5);border-radius:32px;line-height:32px;color:#ddd;z-index:15;padding:0 32px 0 16px}.xgplayer-skin-default .xgplayer-memoryplay-spot .xgplayer-lasttime{color:red;font-weight:700}.xgplayer-skin-default .xgplayer-memoryplay-spot .btn-close{position:absolute;width:16px;height:16px;right:10px;top:2px;cursor:pointer;color:#fff;font-size:16px}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(168),a=(r=o)&&r.__esModule?r:{default:r};n(169),t.default={name:"s_airplay",method:function(){var e=this;if(e.config.airplay&&window.WebKitPlaybackTargetAvailabilityEvent){var t=(0,i.createDom)("xg-airplay",'<xg-icon class="xgplayer-icon">\n <div class="xgplayer-icon-airplay">'+a.default+"</div>\n </xg-icon>",{},"xgplayer-airplay"),n=(0,i.createDom)("xg-tips",'<span class="xgplayer-tip-airplay">'+e.lang.AIRPLAY_TIPS+"</span>",{},"xgplayer-tips");t.appendChild(n),e.once("ready",(function(){e.controls.appendChild(t),e.video.addEventListener("webkitplaybacktargetavailabilitychanged",(function(e){switch(e.availability){case"available":t.hidden=!1,t.disabled=!1;break;case"not-available":t.hidden=!0,t.disabled=!0}}))})),["click","touchend"].forEach((function(n){t.addEventListener(n,(function(t){t.preventDefault(),t.stopPropagation(),e.userGestureTrigEvent("airplayBtnClick")}))}))}}},e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default='<svg t="1600422191774" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3100" width="28" height="28"><path d="M256 938.666667h512L512 597.333333 256 938.666667z m170.666667-85.333334l85.333333-113.781333L597.333333 853.333333H426.666667zM853.333333 85.333333H170.666667C99.946667 85.333333 42.666667 142.613333 42.666667 213.333333v426.666667c0 70.72 57.28 128 128 128h106.666666l64-85.333333H170.666667c-23.573333 0-42.666667-19.093333-42.666667-42.666667V213.333333c0-23.573333 19.093333-42.666667 42.666667-42.666666h682.666666c23.573333 0 42.666667 19.093333 42.666667 42.666666v426.666667c0 23.573333-19.093333 42.666667-42.666667 42.666667H682.666667l64 85.333333h106.666666c70.72 0 128-57.28 128-128V213.333333c0-70.72-57.28-128-128-128z" p-id="3101" fill="#ffffff"></path></svg>'},function(e,t,n){var r=n(170);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(2)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".xgplayer-skin-default .xgplayer-airplay{position:relative;-webkit-order:11;-moz-box-ordinal-group:12;order:11;display:block;cursor:pointer;margin-left:5px;margin-right:3px}.xgplayer-skin-default .xgplayer-airplay .xgplayer-icon{margin-top:6px;margin-left:6px}.xgplayer-skin-default .xgplayer-airplay .xgplayer-icon div{position:absolute}.xgplayer-skin-default .xgplayer-airplay .xgplayer-icon .xgplayer-icon-airplay{display:block}.xgplayer-skin-default .xgplayer-airplay .xgplayer-tips{position:absolute;right:0;left:auto}.xgplayer-skin-default .xgplayer-airplay .xgplayer-tips .xgplayer-tip-airplay{display:block}.xgplayer-skin-default .xgplayer-airplay:hover{opacity:.85}.xgplayer-skin-default .xgplayer-airplay:hover .xgplayer-tips{display:block}",""])}])}))},7245:function(e,t,n){var r=n("9f87"),i=n("7dee");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},"79e4":function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===l)return f[h];if(l===c&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},"7dee":function(e,t,n){"use strict";var r=n("baaa"),i=n("eeea"),o=n("ba6c"),a=n("de05"),s=n("e9b8"),l=n("f17f"),u=n("531a"),c=Object.assign,f=Object.defineProperty;e.exports=!c||i((function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||o(c({},t)).join("")!=i}))?function(e,t){var n=l(e),i=arguments.length,c=1,f=a.f,h=s.f;while(i>c){var d,p=u(arguments[c++]),g=f?o(p).concat(f(p)):o(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:c},"8a56":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"8b24":function(e,t,n){var r=n("1b73"),i=n("6569"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},"9f87":function(e,t,n){var r=n("1b73"),i=n("4c65").f,o=n("f861"),a=n("6f63"),s=n("6569"),l=n("6f16"),u=n("b9ec");e.exports=function(e,t){var n,c,f,h,d,p,g=e.target,v=e.global,y=e.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,e.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},a1cc:function(e,t,n){var r,i,o,a=n("fb78"),s=n("1b73"),l=n("4ce1"),u=n("f861"),c=n("feee"),f=n("8b24"),h=n("13d4"),d=n("4c20"),p="Object already initialized",g=s.WeakMap,v=function(e){return o(e)?i(e):r(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a||f.state){var m=f.state||(f.state=new g),b=m.get,_=m.has,x=m.set;r=function(e,t){if(_.call(m,e))throw new TypeError(p);return t.facade=e,x.call(m,e,t),t},i=function(e){return b.call(m,e)||{}},o=function(e){return _.call(m,e)}}else{var w=h("state");d[w]=!0,r=function(e,t){if(c(e,w))throw new TypeError(p);return t.facade=e,u(e,w,t),t},i=function(e){return c(e,w)?e[w]:{}},o=function(e){return c(e,w)}}e.exports={set:r,get:i,has:o,enforce:v,getterFor:y}},b81c:function(e,t,n){var r=n("baaa"),i=n("eeea"),o=n("bf6c");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},b9ec:function(e,t,n){var r=n("eeea"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},ba6c:function(e,t,n){var r=n("6324"),i=n("10fb");e.exports=Object.keys||function(e){return r(e,i)}},baaa:function(e,t,n){var r=n("eeea");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},bb39:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},bf6c:function(e,t,n){var r=n("1b73"),i=n("4ce1"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},c4ec:function(e,t,n){var r=n("6324"),i=n("10fb"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},d030:function(e,t,n){(function(t,r){e.exports=r(n("7163"))})(window,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){s(this,e)}return r(e,null,[{key:"e",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="["+t+"] > "+n;e.ENABLE_CALLBACK&&e.emitter.emit("log","error",r),e.ENABLE_ERROR}},{key:"i",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="["+t+"] > "+n;e.ENABLE_CALLBACK&&e.emitter.emit("log","info",r),e.ENABLE_INFO}},{key:"w",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="["+t+"] > "+n;e.ENABLE_CALLBACK&&e.emitter.emit("log","warn",r),e.ENABLE_WARN}},{key:"d",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="["+t+"] > "+n;e.ENABLE_CALLBACK&&e.emitter.emit("log","debug",r),e.ENABLE_DEBUG}},{key:"v",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="["+t+"] > "+n;e.ENABLE_CALLBACK&&e.emitter.emit("log","verbose",r),e.ENABLE_VERBOSE}}]),e}();l.GLOBAL_TAG="flv.js",l.FORCE_GLOBAL_TAG=!1,l.ENABLE_ERROR=!0,l.ENABLE_INFO=!0,l.ENABLE_WARN=!0,l.ENABLE_DEBUG=!0,l.ENABLE_VERBOSE=!0,l.ENABLE_CALLBACK=!1,l.emitter=new o.default,t.default=l,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=t.RuntimeException=function(){function e(t){a(this,e),this._message=t}return r(e,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),e}();t.IllegalStateException=function(e){function t(e){return a(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),r(t,[{key:"name",get:function(){return"IllegalStateException"}}]),t}(s),t.InvalidArgumentException=function(e){function t(e){return a(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),r(t,[{key:"name",get:function(){return"InvalidArgumentException"}}]),t}(s),t.NotImplementedException=function(e){function t(e){return a(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),r(t,[{key:"name",get:function(){return"NotImplementedException"}}]),t}(s)},function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function a(e){console&&console.warn&&console.warn(e)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function l(){l.init.call(this)}e.exports=l,e.exports.once=_,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,o,s;if(c(n),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"===typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=f(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?b(i):y(i,i.length)}function v(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function b(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function _(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return f(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)o(l,this,t);else{var u=l.length,c=y(l,u);for(n=0;n<u;++n)o(c[n],this,t)}return!0},l.prototype.addListener=function(e,t){return h(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return h(this,e,t,!0)},l.prototype.once=function(e,t){return c(t),this.on(e,p(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,p(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,i,o,a;if(c(t),r=this._events,void 0===r)return this;if(n=r[e],void 0===n)return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():m(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)i=o[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return g(this,e,!0)},l.prototype.rawListeners=function(e){return g(this,e,!1)},l.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):v.call(e,t)},l.prototype.listenerCount=v,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseLoader=t.LoaderErrors=t.LoaderStatus=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=t.LoaderStatus={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4};t.LoaderErrors={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},t.BaseLoader=function(){function e(t){o(this,e),this._type=t||"undefined",this._status=a.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return r(e,[{key:"destroy",value:function(){this._status=a.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===a.kConnecting||this._status===a.kBuffering}},{key:"open",value:function(e,t){throw new i.NotImplementedException("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new i.NotImplementedException("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(e){this._onContentLengthKnown=e}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(e){this._onURLRedirect=e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(e){this._onDataArrival=e}},{key:"onError",get:function(){return this._onError},set:function(e){this._onError=e}},{key:"onComplete",get:function(){return this._onComplete},set:function(e){this._onComplete=e}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};function i(){var e=self.navigator.userAgent.toLowerCase(),t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(e)||[],n=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(android)/.exec(e)||/(windows)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||[],i={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",majorVersion:t[4]||t[2]||"0",platform:n[0]||""},o={};if(i.browser){o[i.browser]=!0;var a=i.majorVersion.split(".");o.version={major:parseInt(i.majorVersion,10),string:i.version},a.length>1&&(o.version.minor=parseInt(a[1],10)),a.length>2&&(o.version.build=parseInt(a[2],10))}if(i.platform&&(o[i.platform]=!0),(o.chrome||o.opr||o.safari)&&(o.webkit=!0),o.rv||o.iemobile){o.rv&&delete o.rv;var s="msie";i.browser=s,o[s]=!0}if(o.edge){delete o.edge;var l="msedge";i.browser=l,o[l]=!0}if(o.opr){var u="opera";i.browser=u,o[u]=!0}if(o.safari&&o.android){var c="android";i.browser=c,o[c]=!0}for(var f in o.name=i.browser,o.platform=i.platform,r)r.hasOwnProperty(f)&&delete r[f];Object.assign(r,o)}i(),t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint",LOADED_SEI:"loaded_sei"};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDefaultConfig=i;var r=t.defaultConfig={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:180,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:180,autoCleanupMinBackwardDuration:120,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1};function i(){return Object.assign({},r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",STATISTICS_INFO:"statistics_info",LOADED_SEI:"loaded_sei"};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),o=l(i),a=n(0),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(){u(this,e)}return r(e,null,[{key:"getConfig",value:function(){return{globalTag:s.default.GLOBAL_TAG,forceGlobalTag:s.default.FORCE_GLOBAL_TAG,enableVerbose:s.default.ENABLE_VERBOSE,enableDebug:s.default.ENABLE_DEBUG,enableInfo:s.default.ENABLE_INFO,enableWarn:s.default.ENABLE_WARN,enableError:s.default.ENABLE_ERROR,enableCallback:s.default.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(e){s.default.GLOBAL_TAG=e.globalTag,s.default.FORCE_GLOBAL_TAG=e.forceGlobalTag,s.default.ENABLE_VERBOSE=e.enableVerbose,s.default.ENABLE_DEBUG=e.enableDebug,s.default.ENABLE_INFO=e.enableInfo,s.default.ENABLE_WARN=e.enableWarn,s.default.ENABLE_ERROR=e.enableError,s.default.ENABLE_CALLBACK=e.enableCallback}},{key:"_notifyChange",value:function(){var t=e.emitter;if(t.listenerCount("change")>0){var n=e.getConfig();t.emit("change",n)}}},{key:"registerListener",value:function(t){e.emitter.addListener("change",t)}},{key:"removeListener",value:function(t){e.emitter.removeListener("change",t)}},{key:"addLogListener",value:function(t){s.default.emitter.addListener("log",t),s.default.emitter.listenerCount("log")>0&&(s.default.ENABLE_CALLBACK=!0,e._notifyChange())}},{key:"removeLogListener",value:function(t){s.default.emitter.removeListener("log",t),0===s.default.emitter.listenerCount("log")&&(s.default.ENABLE_CALLBACK=!1,e._notifyChange())}},{key:"forceGlobalTag",get:function(){return s.default.FORCE_GLOBAL_TAG},set:function(t){s.default.FORCE_GLOBAL_TAG=t,e._notifyChange()}},{key:"globalTag",get:function(){return s.default.GLOBAL_TAG},set:function(t){s.default.GLOBAL_TAG=t,e._notifyChange()}},{key:"enableAll",get:function(){return s.default.ENABLE_VERBOSE&&s.default.ENABLE_DEBUG&&s.default.ENABLE_INFO&&s.default.ENABLE_WARN&&s.default.ENABLE_ERROR},set:function(t){s.default.ENABLE_VERBOSE=t,s.default.ENABLE_DEBUG=t,s.default.ENABLE_INFO=t,s.default.ENABLE_WARN=t,s.default.ENABLE_ERROR=t,e._notifyChange()}},{key:"enableDebug",get:function(){return s.default.ENABLE_DEBUG},set:function(t){s.default.ENABLE_DEBUG=t,e._notifyChange()}},{key:"enableVerbose",get:function(){return s.default.ENABLE_VERBOSE},set:function(t){s.default.ENABLE_VERBOSE=t,e._notifyChange()}},{key:"enableInfo",get:function(){return s.default.ENABLE_INFO},set:function(t){s.default.ENABLE_INFO=t,e._notifyChange()}},{key:"enableWarn",get:function(){return s.default.ENABLE_WARN},set:function(t){s.default.ENABLE_WARN=t,e._notifyChange()}},{key:"enableError",get:function(){return s.default.ENABLE_ERROR},set:function(t){s.default.ENABLE_ERROR=t,e._notifyChange()}}]),e}();c.emitter=new o.default,t.default=c,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return r(e,[{key:"isComplete",value:function(){var e=!1===this.hasAudio||!0===this.hasAudio&&null!=this.audioCodec&&null!=this.audioSampleRate&&null!=this.audioChannelCount,t=!1===this.hasVideo||!0===this.hasVideo&&null!=this.videoCodec&&null!=this.width&&null!=this.height&&null!=this.fps&&null!=this.profile&&null!=this.level&&null!=this.refFrames&&null!=this.chromaFormat&&null!=this.sarNum&&null!=this.sarDen;return null!=this.mimeType&&null!=this.duration&&null!=this.metadata&&null!=this.hasKeyframesIndex&&e&&t}},{key:"isSeekable",value:function(){return!0===this.hasKeyframesIndex}},{key:"getNearestKeyframe",value:function(e){if(null==this.keyframesIndex)return null;var t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}},{key:"_search",value:function(e,t){var n=0,r=e.length-1,i=0,o=0,a=r;t<e[0]&&(n=0,o=a+1);while(o<=a){if(i=o+Math.floor((a-o)/2),i===r||t>=e[i]&&t<e[i+1]){n=i;break}e[i]<t?o=i+1:a=i-1}return n}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return r(e,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t},"function"!==typeof self.Promise&&n(22).polyfill()}}]),e}();o.install(),t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=S(i),a=n(13),s=S(a),l=n(3),u=n(26),c=S(u),f=n(27),h=S(f),d=n(28),p=(S(d),n(29)),g=S(p),v=n(30),y=S(v),m=n(31),b=S(m),_=n(32),x=S(_),w=n(1);function S(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var E=function(){function e(t,n,r){k(this,e),this.TAG="IOController",this._config=n,this._extraData=r,this._stashInitialSize=393216,void 0!=n.stashInitialSize&&n.stashInitialSize>0&&(this._stashInitialSize=n.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=3145728,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,!1===n.enableStashBuffer&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=t,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(t.url),this._refTotalLength=t.filesize?t.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new s.default,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return r(e,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var e=this._config;if("range"===e.seekType)this._seekHandler=new b.default(this._config.rangeLoadZeroStart);else if("param"===e.seekType){var t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new x.default(t,n)}else{if("custom"!==e.seekType)throw new w.InvalidArgumentException("Invalid seekType in config: "+e.seekType);if("function"!==typeof e.customSeekHandler)throw new w.InvalidArgumentException("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}}},{key:"_selectLoader",value:function(){if(this._isWebSocketURL)this._loaderClass=y.default;else if(c.default.isSupported())this._loaderClass=c.default;else if(h.default.isSupported())this._loaderClass=h.default;else{if(!g.default.isSupported())throw new w.RuntimeException("Your browser doesn't support xhr with arraybuffer responseType!");this._loaderClass=g.default}}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),!1===this._loader.needStashBuffer&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),0!==this._stashUsed?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}},{key:"seek",value:function(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}},{key:"_internalSeek",value:function(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;var n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(e){if(!e||"string"!==typeof e||0===e.length)throw new w.InvalidArgumentException("Url must be a non-empty string!");this._dataSource.url=e}},{key:"_expandBuffer",value:function(e){var t=this._stashSize;while(t+1048576<e)t*=2;if(t+=1048576,t!==this._bufferSize){var n=new ArrayBuffer(t);if(this._stashUsed>0){var r=new Uint8Array(this._stashBuffer,0,this._stashUsed),i=new Uint8Array(n,0,t);i.set(r,0)}this._stashBuffer=n,this._bufferSize=t}}},{key:"_normalizeSpeed",value:function(e){var t=this._speedNormalizeList,n=t.length-1,r=0,i=0,o=n;if(e<t[0])return t[0];while(i<=o){if(r=i+Math.floor((o-i)/2),r===n||e>=t[r]&&e<t[r+1])return t[r];t[r]<e?i=r+1:o=r-1}}},{key:"_adjustStashSize",value:function(e){var t=0;t=this._config.isLive||e<512?e:e>=512&&e<=1024?Math.floor(1.5*e):2*e,t>8192&&(t=8192);var n=1024*t+1048576;this._bufferSize<n&&this._expandBuffer(n),this._stashSize=1024*t}},{key:"_dispatchChunks",value:function(e,t){return this._currentRange.to=t+e.byteLength-1,this._onDataArrival(e,t)}},{key:"_onURLRedirect",value:function(e){this._redirectedURL=e,this._onRedirect&&this._onRedirect(e)}},{key:"_onContentLengthKnown",value:function(e){e&&this._fullRequestFlag&&(this._totalLength=e,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(e,t,n){if(!this._onDataArrival)throw new w.IllegalStateException("IOController: No existing consumer (onDataArrival) callback!");if(!this._paused){this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(e.byteLength);var r=this._speedSampler.lastSecondKBps;if(0!==r){var i=this._normalizeSpeed(r);this._speedNormalized!==i&&(this._speedNormalized=i,this._adjustStashSize(i))}if(this._enableStash)if(0===this._stashUsed&&0===this._stashByteStart&&(this._stashByteStart=t),this._stashUsed+e.byteLength<=this._stashSize){var o=new Uint8Array(this._stashBuffer,0,this._stashSize);o.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{var a=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var s=this._stashBuffer.slice(0,this._stashUsed),l=this._dispatchChunks(s,this._stashByteStart);if(l<s.byteLength){if(l>0){var u=new Uint8Array(s,l);a.set(u,0),this._stashUsed=u.byteLength,this._stashByteStart+=l}}else this._stashUsed=0,this._stashByteStart+=l;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),a=new Uint8Array(this._stashBuffer,0,this._bufferSize)),a.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{var c=this._dispatchChunks(e,t);if(c<e.byteLength){var f=e.byteLength-c;f>this._bufferSize&&(this._expandBuffer(f),a=new Uint8Array(this._stashBuffer,0,this._bufferSize)),a.set(new Uint8Array(e,c),0),this._stashUsed+=f,this._stashByteStart=t+c}}}else if(0===this._stashUsed){var h=this._dispatchChunks(e,t);if(h<e.byteLength){var d=e.byteLength-h;d>this._bufferSize&&this._expandBuffer(d);var p=new Uint8Array(this._stashBuffer,0,this._bufferSize);p.set(new Uint8Array(e,h),0),this._stashUsed+=d,this._stashByteStart=t+h}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);var g=new Uint8Array(this._stashBuffer,0,this._bufferSize);g.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;var v=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(v<this._stashUsed&&v>0){var y=new Uint8Array(this._stashBuffer,v);g.set(y,0)}this._stashUsed-=v,this._stashByteStart+=v}}}},{key:"_flushStashBuffer",value:function(e){if(this._stashUsed>0){var t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),r=t.byteLength-n;if(n<t.byteLength){if(!e){if(n>0){var i=new Uint8Array(this._stashBuffer,0,this._bufferSize),a=new Uint8Array(t,n);i.set(a,0),this._stashUsed=a.byteLength,this._stashByteStart+=n}return 0}o.default.w(this.TAG,r+" bytes unconsumed data remain when flush buffer, dropped")}return this._stashUsed=0,this._stashByteStart=0,r}return 0}},{key:"_onLoaderComplete",value:function(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(e,t){switch(o.default.e(this.TAG,"Loader error, code = "+t.code+", msg = "+t.msg),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=l.LoaderErrors.UNRECOVERABLE_EARLY_EOF),e){case l.LoaderErrors.EARLY_EOF:if(!this._config.isLive&&this._totalLength){var n=this._currentRange.to+1;return void(n<this._totalLength&&(o.default.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(n,!1)))}e=l.LoaderErrors.UNRECOVERABLE_EARLY_EOF;break;case l.LoaderErrors.UNRECOVERABLE_EARLY_EOF:case l.LoaderErrors.CONNECTING_TIMEOUT:case l.LoaderErrors.HTTP_STATUS_CODE_INVALID:case l.LoaderErrors.EXCEPTION:break}if(!this._onError)throw new w.RuntimeException("IOException: "+t.msg);this._onError(e,t)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(e){this._extraData=e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(e){this._onDataArrival=e}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(e){this._onSeeked=e}},{key:"onError",get:function(){return this._onError},set:function(e){this._onError=e}},{key:"onComplete",get:function(){return this._onComplete},set:function(e){this._onComplete=e}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(e){this._onRedirect=e}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(e){this._onRecoveredEarlyEof=e}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return null!=this._redirectedURL||void 0!=this._dataSource.redirectedURL}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===g.default?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),e}();t.default=E,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return r(e,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(e){0===this._firstCheckpoint?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var e=(this._now()-this._lastCheckpoint)/1e3;return 0==e&&(e=1),this._intervalBytes/e/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),0!==this._lastSecondBytes?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),o=w(i),a=n(0),s=w(a),l=n(4),u=w(l),c=n(9),f=w(c),h=n(35),d=w(h),p=n(40),g=w(p),v=n(10),y=w(v),m=n(12),b=w(m),_=n(5),x=w(_);function w(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(3);var k=function(){function e(t,n){S(this,e),this.TAG="TransmuxingController",this._emitter=new o.default,this._config=n,t.segments||(t.segments=[{duration:t.duration,filesize:t.filesize,url:t.url}]),"boolean"!==typeof t.cors&&(t.cors=!0),"boolean"!==typeof t.withCredentials&&(t.withCredentials=!1),this._mediaDataSource=t,this._currentSegmentIndex=0;var r=0;this._mediaDataSource.segments.forEach((function(e){e.timestampBase=r,r+=e.duration,e.cors=t.cors,e.withCredentials=t.withCredentials,n.referrerPolicy&&(e.referrerPolicy=n.referrerPolicy)})),isNaN(r)||this._mediaDataSource.duration===r||(this._mediaDataSource.duration=r),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return r(e,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(e,t){this._currentSegmentIndex=e;var n=this._mediaDataSource.segments[e],r=this._ioctl=new b.default(n,this._config,e);r.onError=this._onIOException.bind(this),r.onSeeked=this._onIOSeeked.bind(this),r.onComplete=this._onIOComplete.bind(this),r.onRedirect=this._onIORedirect.bind(this),r.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):r.onDataArrival=this._onInitChunkArrival.bind(this),r.open(t)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function(e){if(null!=this._mediaInfo&&this._mediaInfo.isSeekable()){var t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){var n=this._mediaInfo.segments[t];if(void 0==n)this._pendingSeekTime=e;else{var r=n.getNearestKeyframe(e);this._remuxer.seek(r.milliseconds),this._ioctl.seek(r.fileposition),this._pendingResolveSeekPoint=r.milliseconds}}else{var i=this._mediaInfo.segments[t];if(void 0==i)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{var o=i.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,o.fileposition),this._pendingResolveSeekPoint=o.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}}},{key:"_searchSegmentIndexContains",value:function(e){for(var t=this._mediaDataSource.segments,n=t.length-1,r=0;r<t.length;r++)if(e<t[r].timestampBase){n=r-1;break}return n}},{key:"_onInitChunkArrival",value:function(e,t){var n=this,r=null,i=0;if(t>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,i=this._demuxer.parseChunks(e,t);else if((r=d.default.probe(e)).match){this._demuxer=new d.default(r,this._config),this._remuxer||(this._remuxer=new g.default(this._config));var o=this._mediaDataSource;void 0==o.duration||isNaN(o.duration)||(this._demuxer.overridedDuration=o.duration),"boolean"===typeof o.hasAudio&&(this._demuxer.overridedHasAudio=o.hasAudio),"boolean"===typeof o.hasVideo&&(this._demuxer.overridedHasVideo=o.hasVideo),this._demuxer.timestampBase=o.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onLoadedSei=this._onLoadedSei.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),i=this._demuxer.parseChunks(e,t)}else r=null,s.default.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then((function(){n._internalAbort()})),this._emitter.emit(x.default.DEMUX_ERROR,y.default.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),i=0;return i}},{key:"_onMediaInfo",value:function(e){var t=this;null==this._mediaInfo&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,f.default.prototype));var n=Object.assign({},e);Object.setPrototypeOf(n,f.default.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=n,this._reportSegmentMediaInfo(this._currentSegmentIndex),null!=this._pendingSeekTime&&Promise.resolve().then((function(){var e=t._pendingSeekTime;t._pendingSeekTime=null,t.seek(e)}))}},{key:"_onLoadedSei",value:function(e,t){this._emitter.emit(x.default.LOADED_SEI,e,t)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(e){var t=e,n=t+1;n<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(n)):(this._remuxer.flushStashedSamples(),this._emitter.emit(x.default.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(e){var t=this._ioctl.extraData;this._mediaDataSource.segments[t].redirectedURL=e}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(x.default.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(e,t){s.default.e(this.TAG,"IOException: type = "+e+", code = "+t.code+", msg = "+t.msg),this._emitter.emit(x.default.IO_ERROR,e,t),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(e,t){s.default.e(this.TAG,"DemuxException: type = "+e+", info = "+t),this._emitter.emit(x.default.DEMUX_ERROR,e,t)}},{key:"_onRemuxerInitSegmentArrival",value:function(e,t){this._emitter.emit(x.default.INIT_SEGMENT,e,t)}},{key:"_onRemuxerMediaSegmentArrival",value:function(e,t){if(null==this._pendingSeekTime&&(this._emitter.emit(x.default.MEDIA_SEGMENT,e,t),null!=this._pendingResolveSeekPoint&&"video"===e)){var n=t.info.syncPoints,r=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,u.default.safari&&n.length>0&&n[0].originalDts===r&&(r=n[0].pts),this._emitter.emit(x.default.RECOMMEND_SEEKPOINT,r)}}},{key:"_enableStatisticsReporter",value:function(){null==this._statisticsReporter&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(e){var t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(x.default.MEDIA_INFO,n)}},{key:"_reportStatisticsInfo",value:function(){var e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(x.default.STATISTICS_INFO,e)}}]),e}();t.default=k,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.SampleInfo=function e(t,n,r,o,a){i(this,e),this.dts=t,this.pts=n,this.duration=r,this.originalDts=o,this.isSyncPoint=a,this.fileposition=null},t.MediaSegmentInfo=function(){function e(){i(this,e),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return r(e,[{key:"appendSyncPoint",value:function(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}]),e}(),t.IDRSampleList=function(){function e(){i(this,e),this._list=[]}return r(e,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(e){var t=this._list;0!==e.length&&(t.length>0&&e[0].originalDts<t[t.length-1].originalDts&&this.clear(),Array.prototype.push.apply(t,e))}},{key:"getLastSyncPointBeforeDts",value:function(e){if(0==this._list.length)return null;var t=this._list,n=0,r=t.length-1,i=0,o=0,a=r;e<t[0].dts&&(n=0,o=a+1);while(o<=a){if(i=o+Math.floor((a-o)/2),i===r||e>=t[i].dts&&e<t[i+1].dts){n=i;break}t[i].dts<e?o=i+1:a=i-1}return this._list[n]}}]),e}(),t.MediaSegmentInfoList=function(){function e(t){i(this,e),this._type=t,this._list=[],this._lastAppendLocation=-1}return r(e,[{key:"isEmpty",value:function(){return 0===this._list.length}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(e){var t=this._list;if(0===t.length)return-2;var n=t.length-1,r=0,i=0,o=n,a=0;if(e<t[0].originalBeginDts)return a=-1,a;while(i<=o){if(r=i+Math.floor((o-i)/2),r===n||e>t[r].lastSample.originalDts&&e<t[r+1].originalBeginDts){a=r;break}t[r].originalBeginDts<e?i=r+1:o=r-1}return a}},{key:"_searchNearestSegmentAfter",value:function(e){return this._searchNearestSegmentBefore(e)+1}},{key:"append",value:function(e){var t=this._list,n=e,r=this._lastAppendLocation,i=0;-1!==r&&r<t.length&&n.originalBeginDts>=t[r].lastSample.originalDts&&(r===t.length-1||r<t.length-1&&n.originalBeginDts<t[r+1].originalBeginDts)?i=r+1:t.length>0&&(i=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=i,this._list.splice(i,0,n)}},{key:"getLastSegmentBefore",value:function(e){var t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}},{key:"getLastSampleBefore",value:function(e){var t=this.getLastSegmentBefore(e);return null!=t?t.lastSample:null}},{key:"getLastSyncPointBefore",value:function(e){var t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;while(0===n.length&&t>0)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};t.default=r,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorDetails=t.ErrorTypes=void 0;var r=n(3),i=n(10),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}t.ErrorTypes={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},t.ErrorDetails={NETWORK_EXCEPTION:r.LoaderErrors.EXCEPTION,NETWORK_STATUS_CODE_INVALID:r.LoaderErrors.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:r.LoaderErrors.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:r.LoaderErrors.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:o.default.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:o.default.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:o.default.CODEC_UNSUPPORTED}},function(e,t,n){e.exports=n(19)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(20),a=u(o),s=n(21),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(e){c(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.flvOpts={type:"flv"},n.optionalConfig={},a.default.util.deepCopy(n.flvOpts,e),a.default.util.deepCopy(n.optionalConfig,e.flvOptionalConfig);var r=n;return n._start=n.start,n.start=function(){window.XgVideoProxy||n.root.insertBefore(n.video,n.root.firstChild),setTimeout((function(){n.emit("complete"),n.danmu&&"function"===typeof n.danmu.resize&&n.danmu.resize()}),1)},Object.defineProperty(r,"src",{get:function(){return r.currentSrc},set:function(e){r.flv_load(e),r.volume,r.video.muted=!0,a.default.util.addClass(r.root,"xgplayer-is-enter"),r.once("playing",(function(){a.default.util.removeClass(r.root,"xgplayer-is-enter"),r.video.muted=!1})),r.once("canplay",(function(){r.play()}))},configurable:!0}),r.once("complete",(function(){if(r.__flv__=l.default.createPlayer(n.flvOpts,n.optionalConfig),r.emit("flv_complete"),r.createInstance(r.__flv__),r.config.isLive){a.default.util.addClass(r.root,"xgplayer-is-live");var e=a.default.util.createDom("xg-live","正在直播",{},"xgplayer-live");r.controls.appendChild(e)}})),n}return h(t,e),r(t,[{key:"createInstance",value:function(e){var t=this;t.video.addEventListener("contextmenu",(function(e){e.preventDefault()})),e.attachMediaElement(t.video),e.load(),e.play(),e.on(l.default.Events.ERROR,(function(e){t.emit("error",new a.default.Errors("other",t.config.url))})),e.on(l.default.Events.LOADED_SEI,(function(e,n){t.emit("loaded_sei",e,n)})),e.on(l.default.Events.STATISTICS_INFO,(function(e){t.emit("statistics_info",e)})),e.on(l.default.Events.MEDIA_INFO,(function(e){t.mediainfo=e,t.emit("MEDIA_INFO",e)})),t.once("destroy",(function(){e.destroy(),t.__flv__=null}))}},{key:"flv_load",value:function(e){var t=this.flvOpts;t.segments=[{cors:!0,duration:void 0,filesize:void 0,timestampBase:0,url:e,withCredentials:!1}],t.url=e,this.flv_load_mds(t)}},{key:"flv_load_mds",value:function(e){var t=this;"undefined"!==typeof t.__flv__&&null!=t.__flv__&&(t.__flv__.unload(),t.__flv__.detachMediaElement(),t.__flv__.destroy(),t.__flv__=null),t.__flv__=l.default.createPlayer(e,this.optionalConfig),t.__flv__.attachMediaElement(t.video),t.__flv__.load()}},{key:"switchURL",value:function(e){var t=this,n=0;t.config.isLive||(n=t.currentTime),t.flv_load(e),t.volume,t.video.muted=!0,a.default.util.addClass(t.root,"xgplayer-is-enter"),t.once("playing",(function(){a.default.util.removeClass(t.root,"xgplayer-is-enter"),t.video.muted=!1})),t.once("canplay",(function(){t.config.isLive||(t.currentTime=n),t.play()}))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this;n.__flv__&&(n.__flv__.unload&&n.__flv__.unload(),n.__flv__.detachMediaElement&&n.__flv__.detachMediaElement(),n.__flv__.destroy&&n.__flv__.destroy()),n.__flv__=null,i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this,e)}}]),t}(a.default);d.isSupported=l.default.isSupported,d.FlvJs=l.default,t.default=d,e.exports=t["default"]},function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(11),o=m(i),a=n(25),s=m(a),l=n(33),u=m(l),c=n(46),f=m(c),h=n(7),d=m(h),p=n(17),g=n(8),v=m(g),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function b(e,t){var n=e;if(null==n||"object"!==("undefined"===typeof n?"undefined":r(n)))throw new y.InvalidArgumentException("MediaDataSource must be an javascript object!");if(!n.hasOwnProperty("type"))throw new y.InvalidArgumentException("MediaDataSource must has type field to indicate video file type!");switch(n.type){case"flv":return new u.default(n,t);default:return new f.default(n,t)}}function _(){return s.default.supportMSEH264Playback()}function x(){return s.default.getFeatureList()}o.default.install();var w={};w.createPlayer=b,w.isSupported=_,w.getFeatureList=x,w.Events=d.default,w.ErrorTypes=p.ErrorTypes,w.ErrorDetails=p.ErrorDetails,w.FlvPlayer=u.default,w.NativePlayer=f.default,w.LoggingControl=v.default,Object.defineProperty(w,"version",{enumerable:!0,get:function(){return"__VERSION__"}}),t.default=w,e.exports=t["default"]},function(e,t,n){(function(t,n){
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/
(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function r(e){return"function"===typeof e}var i=void 0;i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var o=i,a=0,s=void 0,l=void 0,u=function(e,t){w[a]=e,w[a+1]=t,a+=2,2===a&&(l?l(S):E())};function c(e){l=e}function f(e){u=e}var h="undefined"!==typeof window?window:void 0,d=h||{},p=d.MutationObserver||d.WebKitMutationObserver,g="undefined"===typeof self&&"undefined"!==typeof t&&"[object process]"==={}.toString.call(t),v="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel;function y(){return function(){return t.nextTick(S)}}function m(){return"undefined"!==typeof s?function(){s(S)}:x()}function b(){var e=0,t=new p(S),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function _(){var e=new MessageChannel;return e.port1.onmessage=S,function(){return e.port2.postMessage(0)}}function x(){var e=setTimeout;return function(){return e(S,1)}}var w=new Array(1e3);function S(){for(var e=0;e<a;e+=2){var t=w[e],n=w[e+1];t(n),w[e]=void 0,w[e+1]=void 0}a=0}function k(){try{var e=Function("return this")().require("vertx");return s=e.runOnLoop||e.runOnContext,m()}catch(t){return x()}}var E=void 0;function O(e,t){var n=this,r=new this.constructor(T);void 0===r[A]&&K(r);var i=n._state;if(i){var o=arguments[i-1];u((function(){return W(i,r,o,n._result)}))}else V(n,r,e,t);return r}function C(e){var t=this;if(e&&"object"===typeof e&&e.constructor===t)return e;var n=new t(T);return F(n,e),n}E=g?y():p?b():v?_():void 0===h?k():x();var A=Math.random().toString(36).substring(2);function T(){}var P=void 0,M=1,D=2;function I(){return new TypeError("You cannot resolve a promise with itself")}function L(){return new TypeError("A promises callback cannot return that same promise.")}function R(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function j(e,t,n){u((function(e){var r=!1,i=R(n,t,(function(n){r||(r=!0,t!==n?F(e,n):U(e,n))}),(function(t){r||(r=!0,H(e,t))}),"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,H(e,i))}),e)}function N(e,t){t._state===M?U(e,t._result):t._state===D?H(e,t._result):V(t,void 0,(function(t){return F(e,t)}),(function(t){return H(e,t)}))}function B(e,t,n){t.constructor===e.constructor&&n===O&&t.constructor.resolve===C?N(e,t):void 0===n?U(e,t):r(n)?j(e,t,n):U(e,t)}function F(t,n){if(t===n)H(t,I());else if(e(n)){var r=void 0;try{r=n.then}catch(i){return void H(t,i)}B(t,n,r)}else U(t,n)}function z(e){e._onerror&&e._onerror(e._result),G(e)}function U(e,t){e._state===P&&(e._result=t,e._state=M,0!==e._subscribers.length&&u(G,e))}function H(e,t){e._state===P&&(e._state=D,e._result=t,u(z,e))}function V(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+M]=n,i[o+D]=r,0===o&&e._state&&u(G,e)}function G(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?W(n,r,i,o):i(o);e._subscribers.length=0}}function W(e,t,n,i){var o=r(n),a=void 0,s=void 0,l=!0;if(o){try{a=n(i)}catch(u){l=!1,s=u}if(t===a)return void H(t,L())}else a=i;t._state!==P||(o&&l?F(t,a):!1===l?H(t,s):e===M?U(t,a):e===D&&H(t,a))}function q(e,t){try{t((function(t){F(e,t)}),(function(t){H(e,t)}))}catch(n){H(e,n)}}var X=0;function Y(){return X++}function K(e){e[A]=X++,e._state=void 0,e._result=void 0,e._subscribers=[]}function $(){return new Error("Array Methods must be provided an Array")}var Z=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(T),this.promise[A]||K(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?U(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&U(this.promise,this._result))):H(this.promise,$())}return e.prototype._enumerate=function(e){for(var t=0;this._state===P&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===C){var i=void 0,o=void 0,a=!1;try{i=e.then}catch(l){a=!0,o=l}if(i===O&&e._state!==P)this._settledAt(e._state,t,e._result);else if("function"!==typeof i)this._remaining--,this._result[t]=e;else if(n===re){var s=new n(T);a?H(s,o):B(s,e,i),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===P&&(this._remaining--,e===D?H(r,n):this._result[t]=n),0===this._remaining&&U(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;V(e,void 0,(function(e){return n._settledAt(M,t,e)}),(function(e){return n._settledAt(D,t,e)}))},e}();function J(e){return new Z(this,e).promise}function Q(e){var t=this;return o(e)?new t((function(n,r){for(var i=e.length,o=0;o<i;o++)t.resolve(e[o]).then(n,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))}function ee(e){var t=this,n=new t(T);return H(n,e),n}function te(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ne(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var re=function(){function e(t){this[A]=Y(),this._result=this._state=void 0,this._subscribers=[],T!==t&&("function"!==typeof t&&te(),this instanceof e?q(this,t):ne())}return e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var t=this,n=t.constructor;return r(e)?t.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):t.then(e,e)},e}();function ie(){var e=void 0;if("undefined"!==typeof n)e=n;else if("undefined"!==typeof self)e=self;else try{e=Function("return this")()}catch(i){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(i){}if("[object Promise]"===r&&!t.cast)return}e.Promise=re}return re.prototype.then=O,re.all=J,re.race=Q,re.resolve=C,re.reject=ee,re._setScheduler=c,re._setAsap=f,re._asap=u,re.polyfill=ie,re.Promise=re,re}))}).call(this,n(23),n(24))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}})();var u,c=[],f=!1,h=-1;function d(){f&&u&&(f=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!f){var e=s(d);f=!0;var t=c.length;while(t){u=c,c=[];while(++h<t)u&&u[h].run();h=-1,t=c.length}u=null,f=!1,l(e)}}function g(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new g(e,t)),1!==c.length||f||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(12),o=s(i),a=n(6);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){l(this,e)}return r(e,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var e=new o.default({},(0,a.createDefaultConfig)()),t=e.loaderType;return e.destroy(),"fetch-stream-loader"==t||"xhr-moz-chunked-loader"==t}},{key:"getNetworkLoaderTypeName",value:function(){var e=new o.default({},(0,a.createDefaultConfig)()),t=e.loaderType;return e.destroy(),t}},{key:"supportNativeMediaPlayback",value:function(t){void 0==e.videoElement&&(e.videoElement=window.document.createElement("video"));var n=e.videoElement.canPlayType(t);return"probably"===n||"maybe"==n}},{key:"getFeatureList",value:function(){var t={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return t.mseFlvPlayback=e.supportMSEH264Playback(),t.networkStreamIO=e.supportNetworkStreamIO(),t.networkLoaderName=e.getNetworkLoaderTypeName(),t.mseLiveFlvPlayback=t.mseFlvPlayback&&t.networkStreamIO,t.nativeMP4H264Playback=e.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),t.nativeWebmVP8Playback=e.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),t.nativeWebmVP9Playback=e.supportNativeMediaPlayback('video/webm; codecs="vp9"'),t}}]),e}();t.default=u,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),s=(f(a),n(4)),l=f(s),u=n(3),c=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e){function t(e,n){h(this,t);var r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"fetch-stream-loader"));return r.TAG="FetchStreamLoader",r._seekHandler=e,r._config=n,r._needStash=!0,r._requestAbort=!1,r._contentLength=null,r._receivedLength=0,r}return p(t,e),o(t,null,[{key:"isSupported",value:function(){try{var e=l.default.msedge&&l.default.version.minor>=15048,t=!l.default.msedge||e;return self.fetch&&self.ReadableStream&&t}catch(n){return!1}}}]),o(t,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"open",value:function(e,t){var n=this;this._dataSource=e,this._range=t;var i=e.url;this._config.reuseRedirectedURL&&void 0!=e.redirectedURL&&(i=e.redirectedURL);var o=this._seekHandler.getConfig(i,t),a=new self.Headers;if("object"===r(o.headers)){var s=o.headers;for(var l in s)s.hasOwnProperty(l)&&a.append(l,s[l])}var f={method:"GET",headers:a,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};!1===e.cors&&(f.mode="same-origin"),e.withCredentials&&(f.credentials="include"),e.referrerPolicy&&(f.referrerPolicy=e.referrerPolicy),this._status=u.LoaderStatus.kConnecting,self.fetch(o.url,f).then((function(e){if(n._requestAbort)return n._requestAbort=!1,void(n._status=u.LoaderStatus.kIdle);if(e.ok&&e.status>=200&&e.status<=299){if(e.url!==o.url&&n._onURLRedirect){var t=n._seekHandler.removeURLParameters(e.url);n._onURLRedirect(t)}var r=e.headers.get("Content-Length");return null!=r&&(n._contentLength=parseInt(r),0!==n._contentLength&&n._onContentLengthKnown&&n._onContentLengthKnown(n._contentLength)),n._pump.call(n,e.body.getReader())}if(n._status=u.LoaderStatus.kError,!n._onError)throw new c.RuntimeException("FetchStreamLoader: Http code invalid, "+e.status+" "+e.statusText);n._onError(u.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:e.status,msg:e.statusText})})).catch((function(e){if(n._status=u.LoaderStatus.kError,!n._onError)throw e;n._onError(u.LoaderErrors.EXCEPTION,{code:-1,msg:e.message})}))}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(e){var t=this;return e.read().then((function(n){if(n.done)if(null!==t._contentLength&&t._receivedLength<t._contentLength){t._status=u.LoaderStatus.kError;var r=u.LoaderErrors.EARLY_EOF,i={code:-1,msg:"Fetch stream meet Early-EOF"};if(!t._onError)throw new c.RuntimeException(i.msg);t._onError(r,i)}else t._status=u.LoaderStatus.kComplete,t._onComplete&&t._onComplete(t._range.from,t._range.from+t._receivedLength-1);else{if(!0===t._requestAbort)return t._requestAbort=!1,t._status=u.LoaderStatus.kComplete,e.cancel();t._status=u.LoaderStatus.kBuffering;var o=n.value.buffer,a=t._range.from+t._receivedLength;t._receivedLength+=o.byteLength,t._onDataArrival&&t._onDataArrival(o,a,t._receivedLength),t._pump(e)}})).catch((function(e){if(11!==e.code||!l.default.msedge){t._status=u.LoaderStatus.kError;var n=0,r=null;if(19!==e.code&&"network error"!==e.message||!(null===t._contentLength||null!==t._contentLength&&t._receivedLength<t._contentLength)?(n=u.LoaderErrors.EXCEPTION,r={code:e.code,msg:e.message}):(n=u.LoaderErrors.EARLY_EOF,r={code:e.code,msg:"Fetch stream meet Early-EOF"}),!t._onError)throw new c.RuntimeException(r.msg);t._onError(n,r)}}))}}]),t}(u.BaseLoader);t.default=g,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),s=c(a),l=n(3),u=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){f(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"xhr-moz-chunked-loader"));return r.TAG="MozChunkedLoader",r._seekHandler=e,r._config=n,r._needStash=!0,r._xhr=null,r._requestAbort=!1,r._contentLength=null,r._receivedLength=0,r}return d(t,e),o(t,null,[{key:"isSupported",value:function(){try{var e=new XMLHttpRequest;return e.open("GET","https://example.com",!0),e.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===e.responseType}catch(t){return s.default.w("MozChunkedLoader",t.message),!1}}}]),o(t,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"open",value:function(e,t){this._dataSource=e,this._range=t;var n=e.url;this._config.reuseRedirectedURL&&void 0!=e.redirectedURL&&(n=e.redirectedURL);var i=this._seekHandler.getConfig(n,t);this._requestURL=i.url;var o=this._xhr=new XMLHttpRequest;if(o.open("GET",i.url,!0),o.responseType="moz-chunked-arraybuffer",o.onreadystatechange=this._onReadyStateChange.bind(this),o.onprogress=this._onProgress.bind(this),o.onloadend=this._onLoadEnd.bind(this),o.onerror=this._onXhrError.bind(this),e.withCredentials&&(o.withCredentials=!0),"object"===r(i.headers)){var a=i.headers;for(var s in a)a.hasOwnProperty(s)&&o.setRequestHeader(s,a[s])}this._status=l.LoaderStatus.kConnecting,o.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=l.LoaderStatus.kComplete}},{key:"_onReadyStateChange",value:function(e){var t=e.target;if(2===t.readyState){if(void 0!=t.responseURL&&t.responseURL!==this._requestURL&&this._onURLRedirect){var n=this._seekHandler.removeURLParameters(t.responseURL);this._onURLRedirect(n)}if(0!==t.status&&(t.status<200||t.status>299)){if(this._status=l.LoaderStatus.kError,!this._onError)throw new u.RuntimeException("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);this._onError(l.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText})}else this._status=l.LoaderStatus.kBuffering}}},{key:"_onProgress",value:function(e){if(this._status!==l.LoaderStatus.kError){null===this._contentLength&&null!==e.total&&0!==e.total&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));var t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}}},{key:"_onLoadEnd",value:function(e){!0!==this._requestAbort?this._status!==l.LoaderStatus.kError&&(this._status=l.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)):this._requestAbort=!1}},{key:"_onXhrError",value:function(e){this._status=l.LoaderStatus.kError;var t=0,n=null;if(this._contentLength&&e.loaded<this._contentLength?(t=l.LoaderErrors.EARLY_EOF,n={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(t=l.LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type}),!this._onError)throw new u.RuntimeException(n.msg);this._onError(t,n)}}]),t}(l.BaseLoader);t.default=p,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),s=c(a),l=n(3),u=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){f(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"xhr-msstream-loader"));return r.TAG="MSStreamLoader",r._seekHandler=e,r._config=n,r._needStash=!0,r._xhr=null,r._reader=null,r._totalRange=null,r._currentRange=null,r._currentRequestURL=null,r._currentRedirectedURL=null,r._contentLength=null,r._receivedLength=0,r._bufferLimit=16777216,r._lastTimeBufferSize=0,r._isReconnecting=!1,r}return d(t,e),o(t,null,[{key:"isSupported",value:function(){try{if("undefined"===typeof self.MSStream||"undefined"===typeof self.MSStreamReader)return!1;var e=new XMLHttpRequest;return e.open("GET","https://example.com",!0),e.responseType="ms-stream","ms-stream"===e.responseType}catch(t){return s.default.w("MSStreamLoader",t.message),!1}}}]),o(t,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"open",value:function(e,t){this._internalOpen(e,t,!1)}},{key:"_internalOpen",value:function(e,t,n){this._dataSource=e,n?this._currentRange=t:this._totalRange=t;var i=e.url;this._config.reuseRedirectedURL&&(void 0!=this._currentRedirectedURL?i=this._currentRedirectedURL:void 0!=e.redirectedURL&&(i=e.redirectedURL));var o=this._seekHandler.getConfig(i,t);this._currentRequestURL=o.url;var a=this._reader=new self.MSStreamReader;a.onprogress=this._msrOnProgress.bind(this),a.onload=this._msrOnLoad.bind(this),a.onerror=this._msrOnError.bind(this);var s=this._xhr=new XMLHttpRequest;if(s.open("GET",o.url,!0),s.responseType="ms-stream",s.onreadystatechange=this._xhrOnReadyStateChange.bind(this),s.onerror=this._xhrOnError.bind(this),e.withCredentials&&(s.withCredentials=!0),"object"===r(o.headers)){var u=o.headers;for(var c in u)u.hasOwnProperty(c)&&s.setRequestHeader(c,u[c])}this._isReconnecting?this._isReconnecting=!1:this._status=l.LoaderStatus.kConnecting,s.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=l.LoaderStatus.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(1===this._reader.readyState&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(e){var t=e.target;if(2===t.readyState)if(t.status>=200&&t.status<=299){if(this._status=l.LoaderStatus.kBuffering,void 0!=t.responseURL){var n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}var r=t.getResponseHeader("Content-Length");if(null!=r&&null==this._contentLength){var i=parseInt(r);i>0&&(this._contentLength=i,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else{if(this._status=l.LoaderStatus.kError,!this._onError)throw new u.RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);this._onError(l.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText})}else if(3===t.readyState&&t.status>=200&&t.status<=299){this._status=l.LoaderStatus.kBuffering;var o=t.response;this._reader.readAsArrayBuffer(o)}}},{key:"_xhrOnError",value:function(e){this._status=l.LoaderStatus.kError;var t=l.LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(!this._onError)throw new u.RuntimeException(n.msg);this._onError(t,n)}},{key:"_msrOnProgress",value:function(e){var t=e.target,n=t.result;if(null!=n){var r=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;var i=this._totalRange.from+this._receivedLength;this._receivedLength+=r.byteLength,this._onDataArrival&&this._onDataArrival(r,i,this._receivedLength),n.byteLength>=this._bufferLimit&&(s.default.v(this.TAG,"MSStream buffer exceeded max size near "+(i+r.byteLength)+", reconnecting..."),this._doReconnectIfNeeded())}else this._doReconnectIfNeeded()}},{key:"_doReconnectIfNeeded",value:function(){if(null==this._contentLength||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var e={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,e,!0)}}},{key:"_msrOnLoad",value:function(e){this._status=l.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(e){this._status=l.LoaderStatus.kError;var t=0,n=null;if(this._contentLength&&this._receivedLength<this._contentLength?(t=l.LoaderErrors.EARLY_EOF,n={code:-1,msg:"MSStream meet Early-Eof"}):(t=l.LoaderErrors.EARLY_EOF,n={code:-1,msg:e.constructor.name+" "+e.type}),!this._onError)throw new u.RuntimeException(n.msg);this._onError(t,n)}}]),t}(l.BaseLoader);t.default=p,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),s=h(a),l=n(13),u=h(l),c=n(3),f=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(e,n){d(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"xhr-range-loader"));return r.TAG="RangeLoader",r._seekHandler=e,r._config=n,r._needStash=!1,r._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],r._currentChunkSizeKB=384,r._currentSpeedNormalized=0,r._zeroSpeedChunkCount=0,r._xhr=null,r._speedSampler=new u.default,r._requestAbort=!1,r._waitForTotalLength=!1,r._totalLengthReceived=!1,r._currentRequestURL=null,r._currentRedirectedURL=null,r._currentRequestRange=null,r._totalLength=null,r._contentLength=null,r._receivedLength=0,r._lastTimeLoaded=0,r}return g(t,e),o(t,null,[{key:"isSupported",value:function(){try{var e=new XMLHttpRequest;return e.open("GET","https://example.com",!0),e.responseType="arraybuffer","arraybuffer"===e.responseType}catch(t){return s.default.w("RangeLoader",t.message),!1}}}]),o(t,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"open",value:function(e,t){this._dataSource=e,this._range=t,this._status=c.LoaderStatus.kConnecting;var n=!1;void 0!=this._dataSource.filesize&&0!==this._dataSource.filesize&&(n=!0,this._totalLength=this._dataSource.filesize),this._totalLengthReceived||n?this._openSubRange():(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1}))}},{key:"_openSubRange",value:function(){var e=1024*this._currentChunkSizeKB,t=this._range.from+this._receivedLength,n=t+e;null!=this._contentLength&&n-this._range.from>=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(e,t){this._lastTimeLoaded=0;var n=e.url;this._config.reuseRedirectedURL&&(void 0!=this._currentRedirectedURL?n=this._currentRedirectedURL:void 0!=e.redirectedURL&&(n=e.redirectedURL));var i=this._seekHandler.getConfig(n,t);this._currentRequestURL=i.url;var o=this._xhr=new XMLHttpRequest;if(o.open("GET",i.url,!0),o.responseType="arraybuffer",o.onreadystatechange=this._onReadyStateChange.bind(this),o.onprogress=this._onProgress.bind(this),o.onload=this._onLoad.bind(this),o.onerror=this._onXhrError.bind(this),e.withCredentials&&(o.withCredentials=!0),"object"===r(i.headers)){var a=i.headers;for(var s in a)a.hasOwnProperty(s)&&o.setRequestHeader(s,a[s])}o.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=c.LoaderStatus.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(e){var t=e.target;if(2===t.readyState){if(void 0!=t.responseURL){var n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=c.LoaderStatus.kBuffering}else{if(this._status=c.LoaderStatus.kError,!this._onError)throw new f.RuntimeException("RangeLoader: Http code invalid, "+t.status+" "+t.statusText);this._onError(c.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText})}}}},{key:"_onProgress",value:function(e){if(this._status!==c.LoaderStatus.kError){if(null===this._contentLength){var t=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,t=!0;var n=e.total;this._internalAbort(),null!=n&0!==n&&(this._totalLength=n)}if(-1===this._range.to?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,t)return void this._openSubRange();this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var r=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(r)}}},{key:"_normalizeSpeed",value:function(e){var t=this._chunkSizeKBList,n=t.length-1,r=0,i=0,o=n;if(e<t[0])return t[0];while(i<=o){if(r=i+Math.floor((o-i)/2),r===n||e>=t[r]&&e<t[r+1])return t[r];t[r]<e?i=r+1:o=r-1}}},{key:"_onLoad",value:function(e){if(this._status!==c.LoaderStatus.kError)if(this._waitForTotalLength)this._waitForTotalLength=!1;else{this._lastTimeLoaded=0;var t=this._speedSampler.lastSecondKBps;if(0===t&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(t=this._speedSampler.currentKBps)),0!==t){var n=this._normalizeSpeed(t);this._currentSpeedNormalized!==n&&(this._currentSpeedNormalized=n,this._currentChunkSizeKB=n)}var r=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=r.byteLength;var o=!1;null!=this._contentLength&&this._receivedLength<this._contentLength?this._openSubRange():o=!0,this._onDataArrival&&this._onDataArrival(r,i,this._receivedLength),o&&(this._status=c.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}}},{key:"_onXhrError",value:function(e){this._status=c.LoaderStatus.kError;var t=0,n=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(t=c.LoaderErrors.EARLY_EOF,n={code:-1,msg:"RangeLoader meet Early-Eof"}):(t=c.LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type}),!this._onError)throw new f.RuntimeException(n.msg);this._onError(t,n)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),t}(c.BaseLoader);t.default=v,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),a=(l(o),n(3)),s=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){u(this,t);var e=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"websocket-loader"));return e.TAG="WebSocketLoader",e._needStash=!0,e._ws=null,e._requestAbort=!1,e._receivedLength=0,e}return f(t,e),i(t,null,[{key:"isSupported",value:function(){try{return"undefined"!==typeof self.WebSocket}catch(e){return!1}}}]),i(t,[{key:"destroy",value:function(){this._ws&&this.abort(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"open",value:function(e){try{var t=this._ws=new self.WebSocket(e.url);t.binaryType="arraybuffer",t.onopen=this._onWebSocketOpen.bind(this),t.onclose=this._onWebSocketClose.bind(this),t.onmessage=this._onWebSocketMessage.bind(this),t.onerror=this._onWebSocketError.bind(this),this._status=a.LoaderStatus.kConnecting}catch(r){this._status=a.LoaderStatus.kError;var n={code:r.code,msg:r.message};if(!this._onError)throw new s.RuntimeException(n.msg);this._onError(a.LoaderErrors.EXCEPTION,n)}}},{key:"abort",value:function(){var e=this._ws;!e||0!==e.readyState&&1!==e.readyState||(this._requestAbort=!0,e.close()),this._ws=null,this._status=a.LoaderStatus.kComplete}},{key:"_onWebSocketOpen",value:function(e){this._status=a.LoaderStatus.kBuffering}},{key:"_onWebSocketClose",value:function(e){!0!==this._requestAbort?(this._status=a.LoaderStatus.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)):this._requestAbort=!1}},{key:"_onWebSocketMessage",value:function(e){var t=this;if(e.data instanceof ArrayBuffer)this._dispatchArrayBuffer(e.data);else if(e.data instanceof Blob){var n=new FileReader;n.onload=function(){t._dispatchArrayBuffer(n.result)},n.readAsArrayBuffer(e.data)}else{this._status=a.LoaderStatus.kError;var r={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(!this._onError)throw new s.RuntimeException(r.msg);this._onError(a.LoaderErrors.EXCEPTION,r)}}},{key:"_dispatchArrayBuffer",value:function(e){var t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}},{key:"_onWebSocketError",value:function(e){this._status=a.LoaderStatus.kError;var t={code:e.code,msg:e.message};if(!this._onError)throw new s.RuntimeException(t.msg);this._onError(a.LoaderErrors.EXCEPTION,t)}}]),t}(a.BaseLoader);t.default=h,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){i(this,e),this._zeroStart=t||!1}return r(e,[{key:"getConfig",value:function(e,t){var n={};if(0!==t.from||-1!==t.to){var r=void 0;r=-1!==t.to?"bytes="+t.from.toString()+"-"+t.to.toString():"bytes="+t.from.toString()+"-",n["Range"]=r}else this._zeroStart&&(n["Range"]="bytes=0-");return{url:e,headers:n}}},{key:"removeURLParameters",value:function(e){return e}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){i(this,e),this._startName=t,this._endName=n}return r(e,[{key:"getConfig",value:function(e,t){var n=e;if(0!==t.from||-1!==t.to){var r=!0;-1===n.indexOf("?")&&(n+="?",r=!1),r&&(n+="&"),n+=this._startName+"="+t.from.toString(),-1!==t.to&&(n+="&"+this._endName+"="+t.to.toString())}return{url:n,headers:{}}}},{key:"removeURLParameters",value:function(e){var t=e.split("?")[0],n=void 0,r=e.indexOf("?");-1!==r&&(n=e.substring(r+1));var i="";if(void 0!=n&&n.length>0)for(var o=n.split("&"),a=0;a<o.length;a++){var s=o[a].split("="),l=a>0;s[0]!==this._startName&&s[0]!==this._endName&&(l&&(i+="&"),i+=o[a])}return 0===i.length?t:t+"?"+i}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(2),a=k(o),s=n(0),l=k(s),u=n(4),c=k(u),f=n(7),h=k(f),d=n(34),p=k(d),g=n(5),v=k(g),y=n(45),m=k(y),b=n(16),_=k(b),x=n(17),w=n(6),S=n(1);function k(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var O=function(){function e(t,n){if(E(this,e),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new a.default,this._config=(0,w.createDefaultConfig)(),"object"===("undefined"===typeof n?"undefined":r(n))&&Object.assign(this._config,n),"flv"!==t.type.toLowerCase())throw new S.InvalidArgumentException("FlvPlayer requires an flv MediaDataSource input!");!0===t.isLive&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=t,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var i=c.default.chrome&&(c.default.version.major<50||50===c.default.version.major&&c.default.version.build<2661);this._alwaysSeekKeyframe=!!(i||c.default.msedge||c.default.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return i(e,[{key:"destroy",value:function(){null!=this._progressChecker&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter&&this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){var n=this;e===h.default.MEDIA_INFO?null!=this._mediaInfo&&Promise.resolve().then((function(){n._emitter.emit(h.default.MEDIA_INFO,n.mediaInfo)})):e===h.default.STATISTICS_INFO&&null!=this._statisticsInfo&&Promise.resolve().then((function(){n._emitter.emit(h.default.STATISTICS_INFO,n.statisticsInfo)})),this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"attachMediaElement",value:function(e){var t=this;if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new m.default(this._config),this._msectl.on(_.default.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(_.default.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(_.default.SOURCE_OPEN,(function(){t._mseSourceOpened=!0,t._hasPendingLoad&&(t._hasPendingLoad=!1,t.load())})),this._msectl.on(_.default.ERROR,(function(e){t._emitter.emit(h.default.ERROR,x.ErrorTypes.MEDIA_ERROR,x.ErrorDetails.MEDIA_MSE_ERROR,e)})),this._msectl.attachMediaElement(e),null!=this._pendingSeekTime)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(n){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var e=this;if(!this._mediaElement)throw new S.IllegalStateException("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new S.IllegalStateException("FlvPlayer.load() has been called, please call unload() first!");this._hasPendingLoad||(this._config.deferLoadAfterSourceOpen&&!1===this._mseSourceOpened?this._hasPendingLoad=!0:(this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new p.default(this._mediaDataSource,this._config),this._transmuxer.on(v.default.INIT_SEGMENT,(function(t,n){e._msectl.appendInitSegment(n)})),this._transmuxer.on(v.default.MEDIA_SEGMENT,(function(t,n){if(e._msectl.appendMediaSegment(n),e._config.lazyLoad&&!e._config.isLive){var r=e._mediaElement.currentTime;n.info.endDts>=1e3*(r+e._config.lazyLoadMaxDuration)&&null==e._progressChecker&&(l.default.v(e.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),e._suspendTransmuxer())}})),this._transmuxer.on(v.default.LOADING_COMPLETE,(function(){e._msectl.endOfStream(),e._emitter.emit(h.default.LOADING_COMPLETE)})),this._transmuxer.on(v.default.RECOVERED_EARLY_EOF,(function(){e._emitter.emit(h.default.RECOVERED_EARLY_EOF)})),this._transmuxer.on(v.default.IO_ERROR,(function(t,n){e._emitter.emit(h.default.ERROR,x.ErrorTypes.NETWORK_ERROR,t,n)})),this._transmuxer.on(v.default.DEMUX_ERROR,(function(t,n){e._emitter.emit(h.default.ERROR,x.ErrorTypes.MEDIA_ERROR,t,{code:-1,msg:n})})),this._transmuxer.on(v.default.MEDIA_INFO,(function(t){e._mediaInfo=t,e._emitter.emit(h.default.MEDIA_INFO,Object.assign({},t))})),this._transmuxer.on(v.default.STATISTICS_INFO,(function(t){e._statisticsInfo=e._fillStatisticsInfo(t),e._emitter.emit(h.default.STATISTICS_INFO,Object.assign({},e._statisticsInfo))})),this._transmuxer.on(v.default.RECOMMEND_SEEKPOINT,(function(t){e._mediaElement&&!e._config.accurateSeek&&(e._requestSetTime=!0,e._mediaElement.currentTime=t/1e3)})),this._transmuxer.on(v.default.LOADED_SEI,(function(t,n){e._emitter.emit(h.default.LOADED_SEI,t,n)})),this._transmuxer.open()))}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){var e=this._mediaElement.play();return void 0!==e&&e?e.catch((function(){})):void 0}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;var t=!0,n=0,r=0;if(this._mediaElement.getVideoPlaybackQuality){var i=this._mediaElement.getVideoPlaybackQuality();n=i.totalVideoFrames,r=i.droppedVideoFrames}else void 0!=this._mediaElement.webkitDecodedFrameCount?(n=this._mediaElement.webkitDecodedFrameCount,r=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=r),e}},{key:"_onmseUpdateEnd",value:function(){if(this._config.lazyLoad&&!this._config.isLive){for(var e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,r=0;r<e.length;r++){var i=e.start(r),o=e.end(r);if(i<=t&&t<o){n=o;break}}n>=t+this._config.lazyLoadMaxDuration&&null==this._progressChecker&&(l.default.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}},{key:"_onmseBufferFull",value:function(){l.default.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),null==this._progressChecker&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),null==this._progressChecker&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1,r=0;r<t.length;r++){var i=t.start(r),o=t.end(r);if(e>=i&&e<o){e>=o-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(l.default.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(e){for(var t=this._mediaElement.buffered,n=0;n<t.length;n++){var r=t.start(n),i=t.end(n);if(e>=r&&e<i)return!0}return!1}},{key:"_internalSeek",value:function(e){var t=this._isTimepointBuffered(e),n=!1,r=0;if(e<1&&this._mediaElement.buffered.length>0){var i=this._mediaElement.buffered.start(0);(i<1&&e<i||c.default.safari)&&(n=!0,r=c.default.safari?.1:i)}if(n)this._requestSetTime=!0,this._mediaElement.currentTime=r;else if(t){if(this._alwaysSeekKeyframe){var o=this._msectl.getNearestKeyframe(Math.floor(1e3*e));this._requestSetTime=!0,this._mediaElement.currentTime=null!=o?o.dts/1e3:e}else this._requestSetTime=!0,this._mediaElement.currentTime=e;null!=this._progressChecker&&this._checkProgressAndResume()}else null!=this._progressChecker&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(e),this._transmuxer.seek(Math.floor(1e3*e)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var e=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(e)||(null!=this._progressChecker&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(e),this._transmuxer.seek(Math.floor(1e3*e)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(e){var t=this._mediaElement;if(e||!this._receivedCanPlay||t.readyState<2){var n=t.buffered;n.length>0&&t.currentTime<n.start(0)&&(l.default.w(this.TAG,"Playback seems stuck at "+t.currentTime+", seek to "+n.start(0)),this._requestSetTime=!0,this._mediaElement.currentTime=n.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(e){null!=this._pendingSeekTime&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(e){var t=this._mediaElement.currentTime,n=this._mediaElement.buffered;if(this._requestSetTime)this._requestSetTime=!1;else{if(t<1&&n.length>0){var r=n.start(0);if(r<1&&t<r||c.default.safari)return this._requestSetTime=!0,void(this._mediaElement.currentTime=c.default.safari?.1:r)}if(this._isTimepointBuffered(t)){if(this._alwaysSeekKeyframe){var i=this._msectl.getNearestKeyframe(Math.floor(1e3*t));null!=i&&(this._requestSetTime=!0,this._mediaElement.currentTime=i.dts/1e3)}null!=this._progressChecker&&this._checkProgressAndResume()}else this._seekpointRecord={seekPoint:t,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}}},{key:"_onvCanPlay",value:function(e){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(e){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(e){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(e){this._mediaElement.volume=e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(e){this._mediaElement.muted=e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return null==this._statisticsInfo&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),e}();t.default=O,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),o=m(i),a=n(0),s=m(a),l=n(8),u=m(l),c=n(14),f=m(c),h=n(5),d=m(h),p=n(43),g=m(p),v=n(9),y=m(v);function m(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _=function(){function e(t,r){if(b(this,e),this.TAG="Transmuxer",this._emitter=new o.default,r.enableWorker&&"undefined"!==typeof Worker)try{var i=n(44);this._worker=i(g.default),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[t,r]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},u.default.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:u.default.getConfig()})}catch(l){s.default.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new f.default(t,r)}else this._controller=new f.default(t,r);if(this._controller){var a=this._controller;a.on(d.default.IO_ERROR,this._onIOError.bind(this)),a.on(d.default.DEMUX_ERROR,this._onDemuxError.bind(this)),a.on(d.default.INIT_SEGMENT,this._onInitSegment.bind(this)),a.on(d.default.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),a.on(d.default.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),a.on(d.default.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),a.on(d.default.MEDIA_INFO,this._onMediaInfo.bind(this)),a.on(d.default.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),a.on(d.default.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this)),a.on(d.default.LOADED_SEI,this._onLoadedSei.bind(this))}}return r(e,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),u.default.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"hasWorker",value:function(){return null!=this._worker}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(d.default.INIT_SEGMENT,e,t)}))}},{key:"_onMediaSegment",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(d.default.MEDIA_SEGMENT,e,t)}))}},{key:"_onLoadingComplete",value:function(){var e=this;Promise.resolve().then((function(){e._emitter.emit(d.default.LOADING_COMPLETE)}))}},{key:"_onRecoveredEarlyEof",value:function(){var e=this;Promise.resolve().then((function(){e._emitter.emit(d.default.RECOVERED_EARLY_EOF)}))}},{key:"_onMediaInfo",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(d.default.MEDIA_INFO,e)}))}},{key:"_onStatisticsInfo",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(d.default.STATISTICS_INFO,e)}))}},{key:"_onIOError",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(d.default.IO_ERROR,e,t)}))}},{key:"_onDemuxError",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(d.default.DEMUX_ERROR,e,t)}))}},{key:"_onRecommendSeekpoint",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(d.default.RECOMMEND_SEEKPOINT,e)}))}},{key:"_onLoadedSei",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(d.default.LOADED_SEI,e,t)}))}},{key:"_onLoggingConfigChanged",value:function(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}},{key:"_onWorkerMessage",value:function(e){var t=e.data,n=t.data;if("destroyed"===t.msg||this._workerDestroying)return this._workerDestroying=!1,this._worker.terminate(),void(this._worker=null);switch(t.msg){case d.default.INIT_SEGMENT:case d.default.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case d.default.LOADING_COMPLETE:case d.default.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case d.default.MEDIA_INFO:Object.setPrototypeOf(n,y.default.prototype),this._emitter.emit(t.msg,n);break;case d.default.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case d.default.IO_ERROR:case d.default.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case d.default.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":s.default.emitter.emit("log",n.type,n.logcat);break;default:break}}}]),e}();t.default=_,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),a=m(o),s=n(36),l=m(s),u=n(38),c=m(u),f=n(10),h=m(f),d=n(9),p=m(d),g=n(1),v=n(2),y=m(v);function m(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}var x=function(){function e(t,n){b(this,e),this.TAG="FLVDemuxer",this._emitter=new y.default,this._config=n,this._onError=null,this._onMediaInfo=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=t.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=t.hasAudioTrack,this._hasVideo=t.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new p.default,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}()}return i(e,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"bindDataSource",value:function(e){return e.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new p.default}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!(this._hasAudio||!this._hasVideo)&&this._videoInitialMetadataDispatched}},{key:"parseChunks",value:function(t,n){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new g.IllegalStateException("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var r=0,i=this._littleEndian;if(0===n){if(!(t.byteLength>13))return 0;var o=e.probe(t);r=o.dataOffset}if(this._firstParse){this._firstParse=!1,n+r!==this._dataOffset&&a.default.w(this.TAG,"First time parsing but chunk byteStart invalid!");var s=new DataView(t,r),l=s.getUint32(0,!i);0!==l&&a.default.w(this.TAG,"PrevTagSize0 !== 0 !!!"),r+=4}while(r<t.byteLength){this._dispatch=!0;var u=new DataView(t,r);if(r+11+4>t.byteLength)break;var c=u.getUint8(0),f=16777215&u.getUint32(0,!i);if(r+11+f+4>t.byteLength)break;if(8===c||9===c||18===c){var h=u.getUint8(4),d=u.getUint8(5),p=u.getUint8(6),v=u.getUint8(7),y=p|d<<8|h<<16|v<<24,m=16777215&u.getUint32(7,!i);0!==m&&a.default.w(this.TAG,"Meet tag which has StreamID != 0!");var b=r+11;switch(c){case 8:this._parseAudioData(t,b,f,y);break;case 9:this._parseVideoData(t,b,f,y,n+r);break;case 18:this._parseScriptData(t,b,f);break}var _=u.getUint32(11+f,!i);_!==11+f&&a.default.w(this.TAG,"Invalid PrevTagSize "+_),r+=11+f+4}else a.default.w(this.TAG,"Unsupported tag type "+c+", skipped"),r+=11+f+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),r}},{key:"_parseScriptData",value:function(e,t,n){var i=l.default.parseScriptData(e,t,n);if(i.hasOwnProperty("onMetaData")){if(null==i.onMetaData||"object"!==r(i.onMetaData))return void a.default.w(this.TAG,"Invalid onMetaData structure!");this._metadata&&a.default.w(this.TAG,"Found another onMetaData tag!"),this._metadata=i;var o=this._metadata.onMetaData;if(this._emitter.emit("metadata_arrived",o),"boolean"===typeof o.hasAudio&&!1===this._hasAudioFlagOverrided&&(this._hasAudio=o.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),"boolean"===typeof o.hasVideo&&!1===this._hasVideoFlagOverrided&&(this._hasVideo=o.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),"number"===typeof o.audiodatarate&&(this._mediaInfo.audioDataRate=o.audiodatarate),"number"===typeof o.videodatarate&&(this._mediaInfo.videoDataRate=o.videodatarate),"number"===typeof o.width&&(this._mediaInfo.width=o.width),"number"===typeof o.height&&(this._mediaInfo.height=o.height),"number"===typeof o.duration){if(!this._durationOverrided){var s=Math.floor(o.duration*this._timescale);this._duration=s,this._mediaInfo.duration=s}}else this._mediaInfo.duration=0;if("number"===typeof o.framerate){var u=Math.floor(1e3*o.framerate);if(u>0){var c=u/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=c,this._referenceFrameRate.fps_num=u,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=c}}if("object"===r(o.keyframes)){this._mediaInfo.hasKeyframesIndex=!0;var f=o.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(f),o.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=o,a.default.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}}},{key:"_parseKeyframesIndex",value:function(e){for(var t=[],n=[],r=1;r<e.times.length;r++){var i=this._timestampBase+Math.floor(1e3*e.times[r]);t.push(i),n.push(e.filepositions[r])}return{times:t,filepositions:n}}},{key:"_parseAudioData",value:function(e,t,n,r){if(n<=1)a.default.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");else if(!0!==this._hasAudioFlagOverrided||!1!==this._hasAudio){this._littleEndian;var i=new DataView(e,t,n),o=i.getUint8(0),s=o>>>4;if(2===s||10===s){var l=0,u=(12&o)>>>2;if(u>=0&&u<=4){l=this._flvSoundRateTable[u];var c=1&o,f=this._audioMetadata,d=this._audioTrack;if(f||(!1===this._hasAudio&&!1===this._hasAudioFlagOverrided&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),f=this._audioMetadata={},f.type="audio",f.id=d.id,f.timescale=this._timescale,f.duration=this._duration,f.audioSampleRate=l,f.channelCount=0===c?1:2),10===s){var p=this._parseAACAudioData(e,t+1,n-1);if(void 0==p)return;if(0===p.packetType){f.config&&a.default.w(this.TAG,"Found another AudioSpecificConfig!");var g=p.data;f.audioSampleRate=g.samplingRate,f.channelCount=g.channelCount,f.codec=g.codec,f.originalCodec=g.originalCodec,f.config=g.config,f.refSampleDuration=1024/f.audioSampleRate*f.timescale,a.default.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",f);var v=this._mediaInfo;v.audioCodec=f.originalCodec,v.audioSampleRate=f.audioSampleRate,v.audioChannelCount=f.channelCount,v.hasVideo?null!=v.videoCodec&&(v.mimeType='video/x-flv; codecs="'+v.videoCodec+","+v.audioCodec+'"'):v.mimeType='video/x-flv; codecs="'+v.audioCodec+'"',v.isComplete()&&this._onMediaInfo(v)}else if(1===p.packetType){var y=this._timestampBase+r,m={unit:p.data,length:p.data.byteLength,dts:y,pts:y};d.samples.push(m),d.length+=p.data.length}else a.default.e(this.TAG,"Flv: Unsupported AAC data type "+p.packetType)}else if(2===s){if(!f.codec){var b=this._parseMP3AudioData(e,t+1,n-1,!0);if(void 0==b)return;f.audioSampleRate=b.samplingRate,f.channelCount=b.channelCount,f.codec=b.codec,f.originalCodec=b.originalCodec,f.refSampleDuration=1152/f.audioSampleRate*f.timescale,a.default.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",f);var _=this._mediaInfo;_.audioCodec=f.codec,_.audioSampleRate=f.audioSampleRate,_.audioChannelCount=f.channelCount,_.audioDataRate=b.bitRate,_.hasVideo?null!=_.videoCodec&&(_.mimeType='video/x-flv; codecs="'+_.videoCodec+","+_.audioCodec+'"'):_.mimeType='video/x-flv; codecs="'+_.audioCodec+'"',_.isComplete()&&this._onMediaInfo(_)}var x=this._parseMP3AudioData(e,t+1,n-1,!1);if(void 0==x)return;var w=this._timestampBase+r,S={unit:x,length:x.byteLength,dts:w,pts:w};d.samples.push(S),d.length+=x.length}}else this._onError(h.default.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+u)}else this._onError(h.default.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+s)}}},{key:"_parseAACAudioData",value:function(e,t,n){if(!(n<=1)){var r={},i=new Uint8Array(e,t,n);return r.packetType=i[0],0===i[0]?r.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):r.data=i.subarray(1),r}a.default.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!")}},{key:"_parseAACAudioSpecificConfig",value:function(e,t,n){var r=new Uint8Array(e,t,n),i=null,o=0,a=0,s=0,l=null;if(o=a=r[0]>>>3,s=(7&r[0])<<1|r[1]>>>7,s<0||s>=this._mpegSamplingRates.length)this._onError(h.default.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");else{var u=this._mpegSamplingRates[s],c=(120&r[1])>>>3;if(!(c<0||c>=8)){5===o&&(l=(7&r[1])<<1|r[2]>>>7,r[2]);var f=self.navigator.userAgent.toLowerCase();return-1!==f.indexOf("firefox")?s>=6?(o=5,i=new Array(4),l=s-3):(o=2,i=new Array(2),l=s):-1!==f.indexOf("android")?(o=2,i=new Array(2),l=s):(o=5,l=s,i=new Array(4),s>=6?l=s-3:1===c&&(o=2,i=new Array(2),l=s)),i[0]=o<<3,i[0]|=(15&s)>>>1,i[1]=(15&s)<<7,i[1]|=(15&c)<<3,5===o&&(i[1]|=(15&l)>>>1,i[2]=(1&l)<<7,i[2]|=8,i[3]=0),{config:i,samplingRate:u,channelCount:c,codec:"mp4a.40."+o,originalCodec:"mp4a.40."+a}}this._onError(h.default.FORMAT_ERROR,"Flv: AAC invalid channel configuration")}}},{key:"_parseMP3AudioData",value:function(e,t,n,r){if(!(n<4)){this._littleEndian;var i=new Uint8Array(e,t,n),o=null;if(r){if(255!==i[0])return;var s=i[1]>>>3&3,l=(6&i[1])>>1,u=(240&i[2])>>>4,c=(12&i[2])>>>2,f=i[3]>>>6&3,h=3!==f?2:1,d=0,p=0,g="mp3";switch(s){case 0:d=this._mpegAudioV25SampleRateTable[c];break;case 2:d=this._mpegAudioV20SampleRateTable[c];break;case 3:d=this._mpegAudioV10SampleRateTable[c];break}switch(l){case 1:u<this._mpegAudioL3BitRateTable.length&&(p=this._mpegAudioL3BitRateTable[u]);break;case 2:u<this._mpegAudioL2BitRateTable.length&&(p=this._mpegAudioL2BitRateTable[u]);break;case 3:u<this._mpegAudioL1BitRateTable.length&&(p=this._mpegAudioL1BitRateTable[u]);break}o={bitRate:p,samplingRate:d,channelCount:h,codec:g,originalCodec:g}}else o=i;return o}a.default.w(this.TAG,"Flv: Invalid MP3 packet, header missing!")}},{key:"_parseVideoData",value:function(e,t,n,r,i){if(n<=1)a.default.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");else if(!0!==this._hasVideoFlagOverrided||!1!==this._hasVideo){var o=new Uint8Array(e,t,n)[0],s=(240&o)>>>4,l=15&o;7===l?this._parseAVCVideoPacket(e,t+1,n-1,r,i,s):this._onError(h.default.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: "+l)}}},{key:"_parseAVCVideoPacket",value:function(e,t,n,r,i,o){if(n<4)a.default.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");else{var s=this._littleEndian,l=new DataView(e,t,n),u=l.getUint8(0),c=16777215&l.getUint32(0,!s),f=c<<8>>8;if(0===u)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(1===u)this._parseAVCVideoData(e,t+4,n-4,r,i,o,f);else if(2!==u)return void this._onError(h.default.FORMAT_ERROR,"Flv: Invalid video packet type "+u)}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(e,t,n){if(n<7)a.default.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");else{var r=this._videoMetadata,i=this._videoTrack,o=this._littleEndian,s=new DataView(e,t,n);r?"undefined"!==typeof r.avcc&&a.default.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(!1===this._hasVideo&&!1===this._hasVideoFlagOverrided&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),r=this._videoMetadata={},r.type="video",r.id=i.id,r.timescale=this._timescale,r.duration=this._duration);var l=s.getUint8(0),u=s.getUint8(1);if(s.getUint8(2),s.getUint8(3),1===l&&0!==u)if(this._naluLengthSize=1+(3&s.getUint8(4)),3===this._naluLengthSize||4===this._naluLengthSize){var f=31&s.getUint8(5);if(0!==f){f>1&&a.default.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = "+f);for(var d=6,p=0;p<f;p++){var g=s.getUint16(d,!o);if(d+=2,0!==g){var v=new Uint8Array(e,t+d,g);d+=g;var y=c.default.parseSPS(v);if(0===p){r.codecWidth=y.codec_size.width,r.codecHeight=y.codec_size.height,r.presentWidth=y.present_size.width,r.presentHeight=y.present_size.height,r.profile=y.profile_string,r.level=y.level_string,r.bitDepth=y.bit_depth,r.chromaFormat=y.chroma_format,r.sarRatio=y.sar_ratio,r.frameRate=y.frame_rate,!1!==y.frame_rate.fixed&&0!==y.frame_rate.fps_num&&0!==y.frame_rate.fps_den||(r.frameRate=this._referenceFrameRate);var m=r.frameRate.fps_den,b=r.frameRate.fps_num;r.refSampleDuration=r.timescale*(m/b);for(var _=v.subarray(1,4),x="avc1.",w=0;w<3;w++){var S=_[w].toString(16);S.length<2&&(S="0"+S),x+=S}r.codec=x;var k=this._mediaInfo;k.width=r.codecWidth,k.height=r.codecHeight,k.fps=r.frameRate.fps,k.profile=r.profile,k.level=r.level,k.refFrames=y.ref_frames,k.chromaFormat=y.chroma_format_string,k.sarNum=r.sarRatio.width,k.sarDen=r.sarRatio.height,k.videoCodec=x,k.hasAudio?null!=k.audioCodec&&(k.mimeType='video/x-flv; codecs="'+k.videoCodec+","+k.audioCodec+'"'):k.mimeType='video/x-flv; codecs="'+k.videoCodec+'"',k.isComplete()&&this._onMediaInfo(k)}}}var E=s.getUint8(d);if(0!==E){E>1&&a.default.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = "+E),d++;for(var O=0;O<E;O++){var C=s.getUint16(d,!o);d+=2,0!==C&&(d+=C)}r.avcc=new Uint8Array(n),r.avcc.set(new Uint8Array(e,t,n),0),a.default.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",r)}else this._onError(h.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS")}else this._onError(h.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS")}else this._onError(h.default.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: "+(this._naluLengthSize-1));else this._onError(h.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord")}}},{key:"_parseAVCVideoData",value:function(e,t,n,r,i,o,s){var l=this._littleEndian,u=new DataView(e,t,n),c=[],f=0,h=0,d=this._naluLengthSize,p=this._timestampBase+r,g=1===o;while(h<n){if(h+4>=n){a.default.w(this.TAG,"Malformed Nalu near timestamp "+p+", offset = "+h+", dataSize = "+n);break}var v=u.getUint32(h,!l);if(3===d&&(v>>>=8),v>n-d)return void a.default.w(this.TAG,"Malformed Nalus near timestamp "+p+", NaluSize > DataSize!");var y=31&u.getUint8(h+d);5===y&&(g=!0);var m=new Uint8Array(e,t+h,d+v),b={type:y,data:m};c.push(b),f+=m.byteLength,h+=d+v}if(c.length){var _=this._videoTrack,x={units:c,length:f,isKeyframe:g,dts:p,cts:s,pts:p+s};g&&(x.fileposition=i),_.samples.push(x),_.length+=f}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(e){this._onTrackMetadata=e}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(e){this._onMediaInfo=e}},{key:"onError",get:function(){return this._onError},set:function(e){this._onError=e}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(e){this._onDataAvailable=e}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(e){this._timestampBase=e}},{key:"overridedDuration",get:function(){return this._duration},set:function(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}},{key:"overridedHasAudio",set:function(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}},{key:"overridedHasVideo",set:function(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}}],[{key:"probe",value:function(e){var t=new Uint8Array(e),n={match:!1};if(70!==t[0]||76!==t[1]||86!==t[2]||1!==t[3])return n;var r=(4&t[4])>>>2!==0,i=0!==(1&t[4]),o=_(t,5);return o<9?n:{match:!0,consumed:o,dataOffset:o,hasAudioTrack:r,hasVideoTrack:i}}}]),e}();t.default=x,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=u(i),a=n(37),s=u(a),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}(),h=function(){function e(){c(this,e)}return r(e,null,[{key:"parseScriptData",value:function(t,n,r){var i={};try{var a=e.parseValue(t,n,r),s=e.parseValue(t,n+a.size,r-a.size);i[a.data]=s.data}catch(l){o.default.e("AMF",l.toString())}return i}},{key:"parseObject",value:function(t,n,r){if(r<3)throw new l.IllegalStateException("Data not enough when parse ScriptDataObject");var i=e.parseString(t,n,r),o=e.parseValue(t,n+i.size,r-i.size),a=o.objectEnd;return{data:{name:i.data,value:o.data},size:i.size+o.size,objectEnd:a}}},{key:"parseVariable",value:function(t,n,r){return e.parseObject(t,n,r)}},{key:"parseString",value:function(e,t,n){if(n<2)throw new l.IllegalStateException("Data not enough when parse String");var r=new DataView(e,t,n),i=r.getUint16(0,!f),o=void 0;return o=i>0?(0,s.default)(new Uint8Array(e,t+2,i)):"",{data:o,size:2+i}}},{key:"parseLongString",value:function(e,t,n){if(n<4)throw new l.IllegalStateException("Data not enough when parse LongString");var r=new DataView(e,t,n),i=r.getUint32(0,!f),o=void 0;return o=i>0?(0,s.default)(new Uint8Array(e,t+4,i)):"",{data:o,size:4+i}}},{key:"parseDate",value:function(e,t,n){if(n<10)throw new l.IllegalStateException("Data size invalid when parse Date");var r=new DataView(e,t,n),i=r.getFloat64(0,!f),o=r.getInt16(8,!f);return i+=60*o*1e3,{data:new Date(i),size:10}}},{key:"parseValue",value:function(t,n,r){if(r<1)throw new l.IllegalStateException("Data not enough when parse Value");var i=new DataView(t,n,r),a=1,s=i.getUint8(0),u=void 0,c=!1;try{switch(s){case 0:u=i.getFloat64(1,!f),a+=8;break;case 1:var h=i.getUint8(1);u=!!h,a+=1;break;case 2:var d=e.parseString(t,n+1,r-1);u=d.data,a+=d.size;break;case 3:u={};var p=0;9===(16777215&i.getUint32(r-4,!f))&&(p=3);var g=1e4;while(a<r-4&&g-- >0){var v=e.parseObject(t,n+a,r-a-p);if(v.objectEnd)break;u[v.data.name]=v.data.value,a+=v.size}if(a<=r-3){var y=16777215&i.getUint32(a-1,!f);9===y&&(a+=3)}break;case 8:u={},a+=4;var m=0;9===(16777215&i.getUint32(r-4,!f))&&(m=3);var b=1e4;while(a<r-8&&b-- >0){var _=e.parseVariable(t,n+a,r-a-m);if(_.objectEnd)break;u[_.data.name]=_.data.value,a+=_.size}if(a<=r-3){var x=16777215&i.getUint32(a-1,!f);9===x&&(a+=3)}break;case 9:u=void 0,a=1,c=!0;break;case 10:u=[];var w=i.getUint32(1,!f);a+=4;for(var S=0;S<w;S++){var k=e.parseValue(t,n+a,r-a);u.push(k.data),a+=k.size}break;case 11:var E=e.parseDate(t,n+1,r-1);u=E.data,a+=E.size;break;case 12:var O=e.parseString(t,n+1,r-1);u=O.data,a+=O.size;break;default:a=r,o.default.w("AMF","Unsupported AMF value type "+s)}}catch(C){o.default.e("AMF",C.toString())}return{data:u,size:a,objectEnd:c}}}]),e}();t.default=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){var r=e;if(t+n<r.length){while(n--)if(128!==(192&r[++t]))return!1;return!0}return!1}function i(e){var t=[],n=e,i=0,o=e.length;while(i<o)if(n[i]<128)t.push(String.fromCharCode(n[i])),++i;else{if(n[i]<192);else if(n[i]<224){if(r(n,i,1)){var a=(31&n[i])<<6|63&n[i+1];if(a>=128){t.push(String.fromCharCode(65535&a)),i+=2;continue}}}else if(n[i]<240){if(r(n,i,2)){var s=(15&n[i])<<12|(63&n[i+1])<<6|63&n[i+2];if(s>=2048&&55296!==(63488&s)){t.push(String.fromCharCode(65535&s)),i+=3;continue}}}else if(n[i]<248&&r(n,i,3)){var l=(7&n[i])<<18|(63&n[i+1])<<12|(63&n[i+2])<<6|63&n[i+3];if(l>65536&&l<1114112){l-=65536,t.push(String.fromCharCode(l>>>10|55296)),t.push(String.fromCharCode(1023&l|56320)),i+=4;continue}}t.push(String.fromCharCode(65533)),++i}return t.join("")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(39),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){s(this,e)}return r(e,null,[{key:"_ebsp2rbsp",value:function(e){for(var t=e,n=t.byteLength,r=new Uint8Array(n),i=0,o=0;o<n;o++)o>=2&&3===t[o]&&0===t[o-1]&&0===t[o-2]||(r[i]=t[o],i++);return new Uint8Array(r.buffer,0,i)}},{key:"parseSPS",value:function(t){var n=e._ebsp2rbsp(t),r=new o.default(n);r.readByte();var i=r.readByte();r.readByte();var a=r.readByte();r.readUEG();var s=e.getProfileString(i),l=e.getLevelString(a),u=1,c=420,f=[0,420,422,444],h=8;if((100===i||110===i||122===i||244===i||44===i||83===i||86===i||118===i||128===i||138===i||144===i)&&(u=r.readUEG(),3===u&&r.readBits(1),u<=3&&(c=f[u]),h=r.readUEG()+8,r.readUEG(),r.readBits(1),r.readBool()))for(var d=3!==u?8:12,p=0;p<d;p++)r.readBool()&&(p<6?e._skipScalingList(r,16):e._skipScalingList(r,64));r.readUEG();var g=r.readUEG();if(0===g)r.readUEG();else if(1===g){r.readBits(1),r.readSEG(),r.readSEG();for(var v=r.readUEG(),y=0;y<v;y++)r.readSEG()}var m=r.readUEG();r.readBits(1);var b=r.readUEG(),_=r.readUEG(),x=r.readBits(1);0===x&&r.readBits(1),r.readBits(1);var w=0,S=0,k=0,E=0,O=r.readBool();O&&(w=r.readUEG(),S=r.readUEG(),k=r.readUEG(),E=r.readUEG());var C=1,A=1,T=0,P=!0,M=0,D=0,I=r.readBool();if(I){if(r.readBool()){var L=r.readByte(),R=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],j=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];L>0&&L<16?(C=R[L-1],A=j[L-1]):255===L&&(C=r.readByte()<<8|r.readByte(),A=r.readByte()<<8|r.readByte())}if(r.readBool()&&r.readBool(),r.readBool()&&(r.readBits(4),r.readBool()&&r.readBits(24)),r.readBool()&&(r.readUEG(),r.readUEG()),r.readBool()){var N=r.readBits(32),B=r.readBits(32);P=r.readBool(),M=B,D=2*N,T=M/D}}var F=1;1===C&&1===A||(F=C/A);var z=0,U=0;if(0===u)z=1,U=2-x;else{var H=3===u?1:2,V=1===u?2:1;z=H,U=V*(2-x)}var G=16*(b+1),W=16*(_+1)*(2-x);G-=(w+S)*z,W-=(k+E)*U;var q=Math.ceil(G*F);return r.destroy(),r=null,{profile_string:s,level_string:l,bit_depth:h,ref_frames:m,chroma_format:c,chroma_format_string:e.getChromaFormatString(c),frame_rate:{fixed:P,fps:T,fps_den:D,fps_num:M},sar_ratio:{width:C,height:A},codec_size:{width:G,height:W},present_size:{width:q,height:W}}}},{key:"_skipScalingList",value:function(e,t){for(var n=8,r=8,i=0,o=0;o<t;o++)0!==r&&(i=e.readSEG(),r=(n+i+256)%256),n=0===r?n:r}},{key:"getProfileString",value:function(e){switch(e){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function(e){return(e/10).toFixed(1)}},{key:"getChromaFormatString",value:function(e){switch(e){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),e}();t.default=l,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(t){o(this,e),this.TAG="ExpGolomb",this._buffer=t,this._buffer_index=0,this._total_bytes=t.byteLength,this._total_bits=8*t.byteLength,this._current_word=0,this._current_word_bits_left=0}return r(e,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var e=this._total_bytes-this._buffer_index;if(e<=0)throw new i.IllegalStateException("ExpGolomb: _fillCurrentWord() but no bytes available");var t=Math.min(4,e),n=new Uint8Array(4);n.set(this._buffer.subarray(this._buffer_index,this._buffer_index+t)),this._current_word=new DataView(n.buffer).getUint32(0,!1),this._buffer_index+=t,this._current_word_bits_left=8*t}},{key:"readBits",value:function(e){if(e>32)throw new i.InvalidArgumentException("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){var t=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,t}var n=this._current_word_bits_left?this._current_word:0;n>>>=32-this._current_word_bits_left;var r=e-this._current_word_bits_left;this._fillCurrentWord();var o=Math.min(r,this._current_word_bits_left),a=this._current_word>>>32-o;return this._current_word<<=o,this._current_word_bits_left-=o,n=n<<o|a,n}},{key:"readBool",value:function(){return 1===this.readBits(1)}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var e=void 0;for(e=0;e<this._current_word_bits_left;e++)if(0!==(this._current_word&2147483648>>>e))return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}},{key:"readUEG",value:function(){var e=this._skipLeadingZero();return this.readBits(e+1)-1}},{key:"readSEG",value:function(){var e=this.readUEG();return 1&e?e+1>>>1:-1*(e>>>1)}}]),e}();t.default=a,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=p(i),a=n(41),s=p(a),l=n(42),u=p(l),c=n(4),f=p(c),h=n(15),d=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var v=function(){function e(t){g(this,e),this.TAG="MP4Remuxer",this._config=t,this._isLive=!0===t.isLive,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new h.MediaSegmentInfoList("audio"),this._videoSegmentInfoList=new h.MediaSegmentInfoList("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!(!f.default.chrome||!(f.default.version.major<50||50===f.default.version.major&&f.default.version.build<2661)),this._fillSilentAfterSeek=f.default.msedge||f.default.msie,this._mp3UseMpegAudio=!f.default.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return r(e,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(e,t){if(!this._onMediaSegment)throw new d.IllegalStateException("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}},{key:"_onTrackMetadataReceived",value:function(e,t){var n=null,r="mp4",i=t.codec;if("audio"===e)this._audioMeta=t,"mp3"===t.codec&&this._mp3UseMpegAudio?(r="mpeg",i="",n=new Uint8Array):n=s.default.generateInitSegment(t);else{if("video"!==e)return;this._videoMeta=t,n=s.default.generateInitSegment(t)}if(!this._onInitSegment)throw new d.IllegalStateException("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:i,container:e+"/"+r,mediaDuration:t.duration})}},{key:"_calculateDtsBase",value:function(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}},{key:"flushStashedSamples",value:function(){var e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};null!=e&&(n.samples.push(e),n.length=e.length);var r={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};null!=t&&(r.samples.push(t),r.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(r,!0)}},{key:"_remuxAudio",value:function(e,t){if(null!=this._audioMeta){var n=e,r=n.samples,i=void 0,a=-1,l=-1,c=this._audioMeta.refSampleDuration,d="mp3"===this._audioMeta.codec&&this._mp3UseMpegAudio,p=this._dtsBaseInited&&void 0===this._audioNextDts,g=!1;if(r&&0!==r.length&&(1!==r.length||t)){var v=0,y=null,m=0;d?(v=0,m=n.length):(v=8,m=8+n.length);var b=null;if(r.length>1&&(b=r.pop(),m-=b.length),null!=this._audioStashedLastSample){var _=this._audioStashedLastSample;this._audioStashedLastSample=null,r.unshift(_),m+=_.length}null!=b&&(this._audioStashedLastSample=b);var x=r[0].dts-this._dtsBase;if(this._audioNextDts)i=x-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())i=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&"mp3"!==this._audioMeta.originalCodec&&(g=!0);else{var w=this._audioSegmentInfoList.getLastSampleBefore(x);if(null!=w){var S=x-(w.originalDts+w.duration);S<=3&&(S=0);var k=w.dts+w.duration+S;i=x-k}else i=0}if(g){var E=x-i,O=this._videoSegmentInfoList.getLastSegmentBefore(x);if(null!=O&&O.beginDts<E){var C=u.default.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(C){var A=O.beginDts,T=E-O.beginDts;o.default.v(this.TAG,"InsertPrefixSilentAudio: dts: "+A+", duration: "+T),r.unshift({unit:C,dts:A,pts:A}),m+=C.byteLength}}else g=!1}for(var P=[],M=0;M<r.length;M++){var D=r[M],I=D.unit,L=D.dts-this._dtsBase,R=L,j=!1,N=null,B=0;if(!(L<-.001)){if("mp3"!==this._audioMeta.codec){var F=L,z=3;if(this._audioNextDts&&(F=this._audioNextDts),i=L-F,i<=-z*c){o.default.w(this.TAG,"Dropping 1 audio frame (originalDts: "+L+" ms ,curRefDts: "+F+" ms) due to dtsCorrection: "+i+" ms overlap.");continue}if(i>=z*c&&this._fillAudioTimestampGap&&!f.default.safari){j=!0;var U=Math.floor(i/c);o.default.w(this.TAG,"Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.\noriginalDts: "+L+" ms, curRefDts: "+F+" ms, dtsCorrection: "+Math.round(i)+" ms, generate: "+U+" frames"),R=Math.floor(F),B=Math.floor(F+c)-R;var H=u.default.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);null==H&&(o.default.w(this.TAG,"Unable to generate silent frame for "+this._audioMeta.originalCodec+" with "+this._audioMeta.channelCount+" channels, repeat last frame"),H=I),N=[];for(var V=0;V<U;V++){F+=c;var G=Math.floor(F),W=Math.floor(F+c)-G,q={dts:G,pts:G,cts:0,unit:H,size:H.byteLength,duration:W,originalDts:L,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};N.push(q),m+=I.byteLength}this._audioNextDts=F+c}else R=Math.floor(F),B=Math.floor(F+c)-R,this._audioNextDts=F+c}else{if(R=L-i,M!==r.length-1){var X=r[M+1].dts-this._dtsBase-i;B=X-R}else if(null!=b){var Y=b.dts-this._dtsBase-i;B=Y-R}else B=P.length>=1?P[P.length-1].duration:Math.floor(c);this._audioNextDts=R+B}-1===a&&(a=R),P.push({dts:R,pts:R,cts:0,unit:D.unit,size:D.unit.byteLength,duration:B,originalDts:L,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),j&&P.push.apply(P,N)}}if(0===P.length)return n.samples=[],void(n.length=0);d?y=new Uint8Array(m):(y=new Uint8Array(m),y[0]=m>>>24&255,y[1]=m>>>16&255,y[2]=m>>>8&255,y[3]=255&m,y.set(s.default.types.mdat,4));for(var K=0;K<P.length;K++){var $=P[K].unit;y.set($,v),v+=$.byteLength}var Z=P[P.length-1];l=Z.dts+Z.duration;var J=new h.MediaSegmentInfo;J.beginDts=a,J.endDts=l,J.beginPts=a,J.endPts=l,J.originalBeginDts=P[0].originalDts,J.originalEndDts=Z.originalDts+Z.duration,J.firstSample=new h.SampleInfo(P[0].dts,P[0].pts,P[0].duration,P[0].originalDts,!1),J.lastSample=new h.SampleInfo(Z.dts,Z.pts,Z.duration,Z.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(J),n.samples=P,n.sequenceNumber++;var Q=null;Q=d?new Uint8Array:s.default.moof(n,a),n.samples=[],n.length=0;var ee={type:"audio",data:this._mergeBoxes(Q,y).buffer,sampleCount:P.length,info:J};d&&p&&(ee.timestampOffset=a),this._onMediaSegment("audio",ee)}}}},{key:"_remuxVideo",value:function(e,t){if(null!=this._videoMeta){var n=e,r=n.samples,i=void 0,o=-1,a=-1,l=-1,u=-1;if(r&&0!==r.length&&(1!==r.length||t)){var c=8,f=null,d=8+e.length,p=null;if(r.length>1&&(p=r.pop(),d-=p.length),null!=this._videoStashedLastSample){var g=this._videoStashedLastSample;this._videoStashedLastSample=null,r.unshift(g),d+=g.length}null!=p&&(this._videoStashedLastSample=p);var v=r[0].dts-this._dtsBase;if(this._videoNextDts)i=v-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())i=0;else{var y=this._videoSegmentInfoList.getLastSampleBefore(v);if(null!=y){var m=v-(y.originalDts+y.duration);m<=3&&(m=0);var b=y.dts+y.duration+m;i=v-b}else i=0}for(var _=new h.MediaSegmentInfo,x=[],w=0;w<r.length;w++){var S=r[w],k=S.dts-this._dtsBase,E=S.isKeyframe,O=k-i,C=S.cts,A=O+C;-1===o&&(o=O,l=A);var T=0;if(w!==r.length-1){var P=r[w+1].dts-this._dtsBase-i;T=P-O}else if(null!=p){var M=p.dts-this._dtsBase-i;T=M-O}else T=x.length>=1?x[x.length-1].duration:Math.floor(this._videoMeta.refSampleDuration);if(E){var D=new h.SampleInfo(O,A,T,S.dts,!0);D.fileposition=S.fileposition,_.appendSyncPoint(D)}x.push({dts:O,pts:A,cts:C,units:S.units,size:S.length,isKeyframe:E,duration:T,originalDts:k,flags:{isLeading:0,dependsOn:E?2:1,isDependedOn:E?1:0,hasRedundancy:0,isNonSync:E?0:1}})}f=new Uint8Array(d),f[0]=d>>>24&255,f[1]=d>>>16&255,f[2]=d>>>8&255,f[3]=255&d,f.set(s.default.types.mdat,4);for(var I=0;I<x.length;I++){var L=x[I].units;while(L.length){var R=L.shift(),j=R.data;f.set(j,c),c+=j.byteLength}}var N=x[x.length-1];if(a=N.dts+N.duration,u=N.pts+N.duration,this._videoNextDts=a,_.beginDts=o,_.endDts=a,_.beginPts=l,_.endPts=u,_.originalBeginDts=x[0].originalDts,_.originalEndDts=N.originalDts+N.duration,_.firstSample=new h.SampleInfo(x[0].dts,x[0].pts,x[0].duration,x[0].originalDts,x[0].isKeyframe),_.lastSample=new h.SampleInfo(N.dts,N.pts,N.duration,N.originalDts,N.isKeyframe),this._isLive||this._videoSegmentInfoList.append(_),n.samples=x,n.sequenceNumber++,this._forceFirstIDR){var B=x[0].flags;B.dependsOn=2,B.isNonSync=0}var F=s.default.moof(n,o);n.samples=[],n.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(F,f).buffer,sampleCount:x.length,info:_})}}}},{key:"_mergeBoxes",value:function(e,t){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(e,0),n.set(t,e.byteLength),n}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(e){this._onInitSegment=e}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(e){this._onMediaSegment=e}}]),e}();t.default=v,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return r(e,null,[{key:"init",value:function(){for(var t in e.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]},e.types)e.types.hasOwnProperty(t)&&(e.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);var n=e.constants={};n.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),n.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),n.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),n.STSC=n.STCO=n.STTS,n.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),n.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),n.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),n.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),n.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),n.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(e){for(var t=8,n=null,r=Array.prototype.slice.call(arguments,1),i=r.length,o=0;o<i;o++)t+=r[o].byteLength;n=new Uint8Array(t),n[0]=t>>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n.set(e,4);for(var a=8,s=0;s<i;s++)n.set(r[s],a),a+=r[s].byteLength;return n}},{key:"generateInitSegment",value:function(t){var n=e.box(e.types.ftyp,e.constants.FTYP),r=e.moov(t),i=new Uint8Array(n.byteLength+r.byteLength);return i.set(n,0),i.set(r,n.byteLength),i}},{key:"moov",value:function(t){var n=e.mvhd(t.timescale,t.duration),r=e.trak(t),i=e.mvex(t);return e.box(e.types.moov,n,r,i)}},{key:"mvhd",value:function(t,n){return e.box(e.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,255&t,n>>>24&255,n>>>16&255,n>>>8&255,255&n,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(t){return e.box(e.types.trak,e.tkhd(t),e.mdia(t))}},{key:"tkhd",value:function(t){var n=t.id,r=t.duration,i=t.presentWidth,o=t.presentHeight;return e.box(e.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,255&r,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>>8&255,255&i,0,0,o>>>8&255,255&o,0,0]))}},{key:"mdia",value:function(t){return e.box(e.types.mdia,e.mdhd(t),e.hdlr(t),e.minf(t))}},{key:"mdhd",value:function(t){var n=t.timescale,r=t.duration;return e.box(e.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,r>>>24&255,r>>>16&255,r>>>8&255,255&r,85,196,0,0]))}},{key:"hdlr",value:function(t){var n=null;return n="audio"===t.type?e.constants.HDLR_AUDIO:e.constants.HDLR_VIDEO,e.box(e.types.hdlr,n)}},{key:"minf",value:function(t){var n=null;return n="audio"===t.type?e.box(e.types.smhd,e.constants.SMHD):e.box(e.types.vmhd,e.constants.VMHD),e.box(e.types.minf,n,e.dinf(),e.stbl(t))}},{key:"dinf",value:function(){var t=e.box(e.types.dinf,e.box(e.types.dref,e.constants.DREF));return t}},{key:"stbl",value:function(t){var n=e.box(e.types.stbl,e.stsd(t),e.box(e.types.stts,e.constants.STTS),e.box(e.types.stsc,e.constants.STSC),e.box(e.types.stsz,e.constants.STSZ),e.box(e.types.stco,e.constants.STCO));return n}},{key:"stsd",value:function(t){return"audio"===t.type?"mp3"===t.codec?e.box(e.types.stsd,e.constants.STSD_PREFIX,e.mp3(t)):e.box(e.types.stsd,e.constants.STSD_PREFIX,e.mp4a(t)):e.box(e.types.stsd,e.constants.STSD_PREFIX,e.avc1(t))}},{key:"mp3",value:function(t){var n=t.channelCount,r=t.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,r>>>8&255,255&r,0,0]);return e.box(e.types[".mp3"],i)}},{key:"mp4a",value:function(t){var n=t.channelCount,r=t.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,r>>>8&255,255&r,0,0]);return e.box(e.types.mp4a,i,e.esds(t))}},{key:"esds",value:function(t){var n=t.config||[],r=n.length,i=new Uint8Array([0,0,0,0,3,23+r,0,1,0,4,15+r,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([r]).concat(n).concat([6,1,2]));return e.box(e.types.esds,i)}},{key:"avc1",value:function(t){var n=t.avcc,r=t.codecWidth,i=t.codecHeight,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,r>>>8&255,255&r,i>>>8&255,255&i,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return e.box(e.types.avc1,o,e.box(e.types.avcC,n))}},{key:"mvex",value:function(t){return e.box(e.types.mvex,e.trex(t))}},{key:"trex",value:function(t){var n=t.id,r=new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return e.box(e.types.trex,r)}},{key:"moof",value:function(t,n){return e.box(e.types.moof,e.mfhd(t.sequenceNumber),e.traf(t,n))}},{key:"mfhd",value:function(t){var n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,255&t]);return e.box(e.types.mfhd,n)}},{key:"traf",value:function(t,n){var r=t.id,i=e.box(e.types.tfhd,new Uint8Array([0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,255&r])),o=e.box(e.types.tfdt,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n])),a=e.sdtp(t),s=e.trun(t,a.byteLength+16+16+8+16+8+8);return e.box(e.types.traf,i,o,s,a)}},{key:"sdtp",value:function(t){for(var n=t.samples||[],r=n.length,i=new Uint8Array(4+r),o=0;o<r;o++){var a=n[o].flags;i[o+4]=a.isLeading<<6|a.dependsOn<<4|a.isDependedOn<<2|a.hasRedundancy}return e.box(e.types.sdtp,i)}},{key:"trun",value:function(t,n){var r=t.samples||[],i=r.length,o=12+16*i,a=new Uint8Array(o);n+=8+o,a.set([0,0,15,1,i>>>24&255,i>>>16&255,i>>>8&255,255&i,n>>>24&255,n>>>16&255,n>>>8&255,255&n],0);for(var s=0;s<i;s++){var l=r[s].duration,u=r[s].size,c=r[s].flags,f=r[s].cts;a.set([l>>>24&255,l>>>16&255,l>>>8&255,255&l,u>>>24&255,u>>>16&255,u>>>8&255,255&u,c.isLeading<<2|c.dependsOn,c.isDependedOn<<6|c.hasRedundancy<<4|c.isNonSync,0,0,f>>>24&255,f>>>16&255,f>>>8&255,255&f],12+16*s)}return e.box(e.types.trun,a)}},{key:"mdat",value:function(t){return e.box(e.types.mdat,t)}}]),e}();o.init(),t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return r(e,null,[{key:"getSilentFrame",value:function(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),e}();t.default=o,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=(h(r),n(8)),o=h(i),a=n(11),s=h(a),l=n(14),u=h(l),c=n(5),f=h(c);function h(e){return e&&e.__esModule?e:{default:e}}var d=function(e){var t=null,n=v.bind(this);function r(t,n){var r={msg:f.default.INIT_SEGMENT,data:{type:t,data:n}};e.postMessage(r,[n.data])}function i(t,n){var r={msg:f.default.MEDIA_SEGMENT,data:{type:t,data:n}};e.postMessage(r,[n.data])}function a(){var t={msg:f.default.LOADING_COMPLETE};e.postMessage(t)}function l(){var t={msg:f.default.RECOVERED_EARLY_EOF};e.postMessage(t)}function c(t){var n={msg:f.default.MEDIA_INFO,data:t};e.postMessage(n)}function h(t){var n={msg:f.default.STATISTICS_INFO,data:t};e.postMessage(n)}function d(t,n){e.postMessage({msg:f.default.IO_ERROR,data:{type:t,info:n}})}function p(t,n){e.postMessage({msg:f.default.DEMUX_ERROR,data:{type:t,info:n}})}function g(t){e.postMessage({msg:f.default.RECOMMEND_SEEKPOINT,data:t})}function v(t,n){e.postMessage({msg:"logcat_callback",data:{type:t,logcat:n}})}s.default.install(),e.addEventListener("message",(function(s){switch(s.data.cmd){case"init":t=new u.default(s.data.param[0],s.data.param[1]),t.on(f.default.IO_ERROR,d.bind(this)),t.on(f.default.DEMUX_ERROR,p.bind(this)),t.on(f.default.INIT_SEGMENT,r.bind(this)),t.on(f.default.MEDIA_SEGMENT,i.bind(this)),t.on(f.default.LOADING_COMPLETE,a.bind(this)),t.on(f.default.RECOVERED_EARLY_EOF,l.bind(this)),t.on(f.default.MEDIA_INFO,c.bind(this)),t.on(f.default.STATISTICS_INFO,h.bind(this)),t.on(f.default.RECOMMEND_SEEKPOINT,g.bind(this));break;case"destroy":t&&(t.destroy(),t=null),e.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(s.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":var v=s.data.param;o.default.applyConfig(v),!0===v.enableCallback?o.default.addLogListener(n):o.default.removeLogListener(n);break}}))};t.default=d,e.exports=t["default"]},function(e,t){var n=arguments[3],r=arguments[4],i=arguments[5],o=JSON.stringify;e.exports=function(e,t){for(var a,s=Object.keys(i),l=0,u=s.length;l<u;l++){var c=s[l],f=i[c].exports;if(f===e||f&&f.default===e){a=c;break}}if(!a){a=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var h={};for(l=0,u=s.length;l<u;l++)c=s[l],h[c]=c;r[a]=["function(require,module,exports){"+e+"(self); }",h]}var d=Math.floor(Math.pow(16,8)*Math.random()).toString(16),p={};p[a]=a,r[d]=["function(require,module,exports){var f = require("+o(a)+");(f.default ? f.default : f)(self);}",p];var g={};function v(e){for(var t in g[e]=!0,r[e][1]){var n=r[e][1][t];g[n]||v(n)}}v(d);var y="("+n+")({"+Object.keys(g).map((function(e){return o(e)+":["+r[e][0]+","+o(r[e][1])+"]"})).join(",")+"},{},["+o(d)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,b=new Blob([y],{type:"text/javascript"});if(t&&t.bare)return b;var _=m.createObjectURL(b),x=new Worker(_);return x.objectURL=_,x}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),o=p(i),a=n(0),s=p(a),l=n(4),u=p(l),c=n(16),f=p(c),h=n(15),d=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var v=function(){function e(t){g(this,e),this.TAG="MSEController",this._config=t,this._emitter=new o.default,this._config.isLive&&void 0==this._config.autoCleanupSourceBuffer&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new h.IDRSampleList}return r(e,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"attachMediaElement",value:function(e){if(this._mediaSource)throw new d.IllegalStateException("MediaSource has been attached to an HTMLMediaElement!");var t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var e=this._mediaSource;for(var t in this._sourceBuffers){var n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;var r=this._sourceBuffers[t];r&&("closed"!==e.readyState&&(e.removeSourceBuffer(r),r.removeEventListener("error",this.e.onSourceBufferError),r.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)),this._mimeTypes[t]=null,this._sourceBuffers[t]=null)}if("open"===e.readyState)try{e.endOfStream()}catch(i){s.default.e(this.TAG,i.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(e,t){if(!this._mediaSource||"open"!==this._mediaSource.readyState)return this._pendingSourceBufferInit.push(e),void this._pendingSegments[e.type].push(e);var n=e,r=""+n.container;n.codec&&n.codec.length>0&&(r+=";codecs="+n.codec);var i=!1;if(s.default.v(this.TAG,"Received Initialization Segment, mimeType: "+r),this._lastInitSegments[n.type]=n,r!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])s.default.v(this.TAG,"Notice: "+n.type+" mimeType changed, origin: "+this._mimeTypes[n.type]+", target: "+r);else{i=!0;try{var o=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(r);o.addEventListener("error",this.e.onSourceBufferError),o.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(a){return s.default.e(this.TAG,a.message),void this._emitter.emit(f.default.ERROR,{code:a.code,msg:a.message})}}this._mimeTypes[n.type]=r}t||this._pendingSegments[n.type].push(n),i||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),u.default.safari&&"audio/mpeg"===n.container&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(e){var t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var n=this._sourceBuffers[t.type];!n||n.updating||this._hasPendingRemoveRanges()||this._doAppendSegments()}},{key:"seek",value:function(e){for(var t in this._sourceBuffers)if(this._sourceBuffers[t]){var n=this._sourceBuffers[t];if("open"===this._mediaSource.readyState)try{n.abort()}catch(c){s.default.e(this.TAG,c.message)}this._idrList.clear();var r=this._pendingSegments[t];if(r.splice(0,r.length),"closed"!==this._mediaSource.readyState){for(var i=0;i<n.buffered.length;i++){var o=n.buffered.start(i),a=n.buffered.end(i);this._pendingRemoveRanges[t].push({start:o,end:a})}if(n.updating||this._doRemoveRanges(),u.default.safari){var l=this._lastInitSegments[t];l&&(this._pendingSegments[t].push(l),n.updating||this._doAppendSegments())}}}}},{key:"endOfStream",value:function(){var e=this._mediaSource,t=this._sourceBuffers;e&&"open"===e.readyState?t.video&&t.video.updating||t.audio&&t.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,e.endOfStream()):e&&"closed"===e.readyState&&this._hasPendingSegments()&&(this._hasPendingEos=!0)}},{key:"getNearestKeyframe",value:function(e){return this._idrList.getLastSyncPointBeforeDts(e)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var e=this._mediaElement.currentTime;for(var t in this._sourceBuffers){var n=this._sourceBuffers[t];if(n){var r=n.buffered;if(r.length>=1&&e-r.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var e=this._mediaElement.currentTime;for(var t in this._sourceBuffers){var n=this._sourceBuffers[t];if(n){for(var r=n.buffered,i=!1,o=0;o<r.length;o++){var a=r.start(o),s=r.end(o);if(a<=e&&e<s+3){if(e-a>=this._config.autoCleanupMaxBackwardDuration){i=!0;var l=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:a,end:l})}}else s<e&&(i=!0,this._pendingRemoveRanges[t].push({start:a,end:s}))}i&&!n.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var e=this._sourceBuffers;if(0!==this._mediaElement.readyState&&"open"===this._mediaSource.readyState&&!(e.video&&e.video.updating||e.audio&&e.audio.updating)){var t=this._mediaSource.duration,n=this._pendingMediaDuration;n>0&&(isNaN(t)||n>t)&&(s.default.v(this.TAG,"Update MediaSource duration from "+t+" to "+n),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}}},{key:"_doRemoveRanges",value:function(){for(var e in this._pendingRemoveRanges)if(this._sourceBuffers[e]&&!this._sourceBuffers[e].updating){var t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];while(n.length&&!t.updating){var r=n.shift();t.remove(r.start,r.end)}}}},{key:"_doAppendSegments",value:function(){var e=this._pendingSegments;for(var t in e)if(this._sourceBuffers[t]&&!this._sourceBuffers[t].updating&&e[t].length>0){var n=e[t].shift();if(n.timestampOffset){var r=this._sourceBuffers[t].timestampOffset,i=n.timestampOffset/1e3,o=Math.abs(r-i);o>.1&&(s.default.v(this.TAG,"Update MPEG audio timestampOffset from "+r+" to "+i),this._sourceBuffers[t].timestampOffset=i),delete n.timestampOffset}if(!n.data||0===n.data.byteLength)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,"video"===t&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(a){this._pendingSegments[t].unshift(n),22===a.code?(this._isBufferFull||this._emitter.emit(f.default.BUFFER_FULL),this._isBufferFull=!0):(s.default.e(this.TAG,a.message),this._emitter.emit(f.default.ERROR,{code:a.code,msg:a.message}))}}}},{key:"_onSourceOpen",value:function(){if(s.default.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){var e=this._pendingSourceBufferInit;while(e.length){var t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(f.default.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){s.default.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){s.default.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&null!=this.e&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var e=this._pendingSegments;return e.video.length>0||e.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(f.default.UPDATE_END)}},{key:"_onSourceBufferError",value:function(e){s.default.e(this.TAG,"SourceBuffer Error: "+e)}}]),e}();t.default=v,e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(2),a=f(o),s=n(7),l=f(s),u=n(6),c=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d=function(){function e(t,n){if(h(this,e),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new a.default,this._config=(0,u.createDefaultConfig)(),"object"===("undefined"===typeof n?"undefined":r(n))&&Object.assign(this._config,n),"flv"===t.type.toLowerCase())throw new c.InvalidArgumentException("NativePlayer does't support flv MediaDataSource input!");if(t.hasOwnProperty("segments"))throw new c.InvalidArgumentException("NativePlayer("+t.type+") doesn't support multipart playback!");this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=t,this._mediaElement=null}return i(e,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){var n=this;e===l.default.MEDIA_INFO?null!=this._mediaElement&&0!==this._mediaElement.readyState&&Promise.resolve().then((function(){n._emitter.emit(l.default.MEDIA_INFO,n.mediaInfo)})):e===l.default.STATISTICS_INFO&&null!=this._mediaElement&&0!==this._mediaElement.readyState&&Promise.resolve().then((function(){n._emitter.emit(l.default.STATISTICS_INFO,n.statisticsInfo)})),this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"attachMediaElement",value:function(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),null!=this._pendingSeekTime)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),null!=this._statisticsReporter&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new c.IllegalStateException("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),null!=this._statisticsReporter&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){var e=this._mediaElement.play();return void 0!==e&&e?e.catch((function(){})):void 0}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(e){null!=this._pendingSeekTime&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(l.default.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(l.default.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(e){this._mediaElement.volume=e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(e){this._mediaElement.muted=e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}},{key:"mediaInfo",get:function(){var e=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",t={mimeType:e+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(1e3*this._mediaElement.duration),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}},{key:"statisticsInfo",get:function(){var e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;var t=!0,n=0,r=0;if(this._mediaElement.getVideoPlaybackQuality){var i=this._mediaElement.getVideoPlaybackQuality();n=i.totalVideoFrames,r=i.droppedVideoFrames}else void 0!=this._mediaElement.webkitDecodedFrameCount?(n=this._mediaElement.webkitDecodedFrameCount,r=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=r),e}}]),e}();t.default=d,e.exports=t["default"]}])}))},d1ac:function(e,t,n){var r=n("338b"),i=n("8b24");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},de05:function(e,t){t.f=Object.getOwnPropertySymbols},e910:function(e,t,n){var r=n("eb2e"),i=n("c4ec"),o=n("de05"),a=n("4382");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},e9b8:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},eb2e:function(e,t,n){var r=n("392e"),i=n("1b73"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},eb5b:function(e,t,n){var r=n("baaa"),i=n("b81c"),o=n("4382"),a=n("1dfa"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},eeea:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},f03e:function(e,t,n){"use strict";if(n.r(t),n.d(t,"VabPlayerMp4",(function(){return p})),n.d(t,"VabPlayerHls",(function(){return w})),n.d(t,"VabPlayerFlv",(function(){return P})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("79e4");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.rootStyle,attrs:{id:e.config.id}})},s=[],l=(n("7245"),n("7163")),u=n.n(l),c={name:"VabPlayerMp4",props:{config:{type:Object,default:function(){return{id:"mse",url:""}}},rootStyle:{type:Object,default:function(){return{}}}},data:function(){return{player:null,finalConfig:{}}},mounted:function(){this.init()},beforeUpdate:function(){this.init()},beforeDestroy:function(){this.player&&"function"===typeof this.player.destroy&&this.player.destroy()},methods:{init:function(){this.finalConfig=Object.assign(this.finalConfig,this.config),this.finalConfig.url&&""!==this.finalConfig.url&&(this.player=new u.a(this.finalConfig),this.$emit("player",this.player))}}},f=c;function h(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var d=h(f,a,s,!1,null,null,null),p=d.exports,g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.rootStyle,attrs:{id:e.config.id}})},v=[],y=n("470f"),m=n.n(y),b={name:"VabPlayerHls",props:{config:{type:Object,default:function(){return{id:"mse",url:""}}},rootStyle:{type:Object,default:function(){return{}}}},data:function(){return{player:null,finalConfig:{}}},mounted:function(){this.init()},beforeUpdate:function(){this.init()},beforeDestroy:function(){this.player&&"function"===typeof this.player.destroy&&this.player.destroy()},methods:{init:function(){this.finalConfig=Object.assign(this.finalConfig,this.config),this.finalConfig.url&&""!==this.finalConfig.url&&(this.player=new m.a(this.finalConfig),this.$emit("player",this.player))}}},_=b,x=h(_,g,v,!1,null,null,null),w=x.exports,S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.rootStyle,attrs:{id:e.config.id}})},k=[],E=n("d030"),O=n.n(E),C={name:"VabPlayerFlv",props:{config:{type:Object,default:function(){return{id:"mse",url:""}}},rootStyle:{type:Object,default:function(){return{}}}},data:function(){return{player:null,finalConfig:{}}},mounted:function(){this.init()},beforeUpdate:function(){this.init()},beforeDestroy:function(){this.player&&"function"===typeof this.player.destroy&&this.player.destroy()},methods:{init:function(){this.finalConfig=Object.assign(this.finalConfig,this.config),this.finalConfig.url&&""!==this.finalConfig.url&&(this.player=new O.a(this.finalConfig),this.$emit("player",this.player))}}},A=C,T=h(A,S,k,!1,null,null,null),P=T.exports},f17f:function(e,t,n){var r=n("8a56");e.exports=function(e){return Object(r(e))}},f219:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},f861:function(e,t,n){var r=n("baaa"),i=n("eb5b"),o=n("f8e2");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},f8e2:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},fb78:function(e,t,n){var r=n("1b73"),i=n("fe7f"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},fe7f:function(e,t,n){var r=n("8b24"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},feee:function(e,t,n){var r=n("f17f"),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}}})}))},4625:function(e,t,n){"use strict";var r=n("c6b6"),i=n("e330");e.exports=function(e){if("Function"===r(e))return i(e)}},"4b11":function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},"4c70":function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,(function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=9)}([function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var f=c.functional,h=f?c.render:c.beforeCreate;f?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(18)),s=n(5),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r(this,e),this.__date__=this.dayjs(t),this.__format__=n}return o(e,[{key:"dayjs",value:function(e){return this.__date__=(0,a.default)(e),this.__date__}},{key:"format",value:function(e){var t,n;return null===(t=this.__date__)||void 0===t||null===(n=t.format)||void 0===n?void 0:n.call(t,e)}},{key:"add",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s._timeUnit.Second;return null===(t=this.__date__)||void 0===t||null===(n=t.add)||void 0===n?void 0:n.call(t,e,r)}},{key:"subtract",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s._timeUnit.Second;return null===(t=this.__date__)||void 0===t||null===(n=t.subtract)||void 0===n?void 0:n.call(t,e,r)}},{key:"isBefore",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s._timeUnit.Second;return this.__date__.isBefore(e,t)}},{key:"diff",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s._timeUnit.Second;return this.__date__.diff(e,t)}}],[{key:"quickFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD";return(0,a.default)(e).format(t)}},{key:"init",value:function(e){return(0,a.default)(e)}}]),e}();t.default=l},function(e,t,n){"use strict";var r=n(16),i=n(31);t.a={name:"WlTransferTree",components:{ComponentTransfer:r.a,ComponentAddress:i.a},props:{sjr:{type:Array,default:function(){return[]}},csr:{type:Array,default:function(){return[]}},msr:{type:Array,default:function(){return[]}},width:{type:String,default:"100%"},height:{type:String,default:"320px"},title:{type:Array,default:function(){return["源列表","目标列表"]}},button_text:Array,from_data:{type:Array,default:function(){return[]}},to_data:{type:Array,default:function(){return[]}},defaultProps:Object,node_key:{type:String,default:"id"},pid:{type:String,default:"pid"},rootPidValue:{type:[String,Number],default:0},filter:{type:Boolean,default:!1},openAll:{type:Boolean,default:!1},renderContentLeft:Function,renderContentRight:Function,mode:{type:String,default:"transfer"},addressOptions:{type:Object,default:function(){return{num:3,suffix:"suffix",connector:"-"}}},transferOpenNode:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array,default:function(){return[]}},defaultExpandedKeys:{type:Array,default:function(){return[]}},placeholder:{type:String,default:"输入关键字进行过滤"},filterNode:Function,defaultTransfer:{type:Boolean,default:!1},arrayToTree:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},lazyRight:{type:Boolean,default:!1},lazyFn:Function,highLight:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1},checkStrictlyType:{type:String,default:"authorization",validator:function(e){return-1!==["authorization","puppet","modular"].indexOf(e)}},accordion:{type:Boolean,default:!1},renderAfterExpand:{type:Boolean,default:!0},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},indent:{type:Number,default:16},iconClass:String,draggable:Boolean,allowDrag:Function,allowDrop:Function},computed:{isComponent:function(){return"transfer"==this.mode?"ComponentTransfer":"ComponentAddress"}},methods:{handleAddBtn:function(e,t,n){this.$emit("add-btn",e,t,n)},handleRemoveBtn:function(e,t,n){this.$emit("remove-btn",e,t,n)},handleLeftCheckChange:function(e,t,n){this.$emit("left-check-change",e,t,n)},handleRightCheckChange:function(e,t,n){this.$emit("right-check-change",e,t,n)},handleNodeDragStart:function(e,t,n){this.$emit("node-drag-start",e,t,n)},handleNodeDragEnter:function(e,t,n,r){this.$emit("node-drag-enter",e,t,n,r)},handleNodeDragLeave:function(e,t,n,r){this.$emit("node-drag-leave",e,t,n,r)},handleNodeDragOver:function(e,t,n,r){this.$emit("node-drag-over",e,t,n,r)},handleNodeDragEnd:function(e,t,n,r,i){this.$emit("node-drag-end",e,t,n,r,i)},handleNodeDrop:function(e,t,n,r,i){this.$emit("node-drop",e,t,n,r,i)},addToAims:function(e){this.$refs["wl-transfer-component"].addToAims(e)},clearChecked:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";this.$refs["wl-transfer-component"].clearChecked(e)},getChecked:function(){return this.$refs["wl-transfer-component"].getChecked()},setChecked:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.$refs["wl-transfer-component"].setChecked(e,t)},clearFilter:function(e){this.$refs["wl-transfer-component"].clearFilter(e)}}}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o=n(4),a=(n.n(o),n(26)),s=(n.n(a),n(29)),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.a={name:"TransferTree",props:{title:{type:Array,default:function(){return["源列表","目标列表"]}},button_text:Array,from_data:{type:Array,default:function(){return[]}},to_data:{type:Array,default:function(){return[]}},defaultProps:Object,node_key:{type:String,default:"id"},pid:{type:String,default:"pid"},rootPidValue:{type:[String,Number],default:0},filter:{type:Boolean,default:!1},openAll:{type:Boolean,default:!1},renderContentLeft:Function,renderContentRight:Function,transferOpenNode:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array,default:function(){return[]}},defaultExpandedKeys:{type:Array,default:function(){return[]}},placeholder:{type:String,default:"输入关键字进行过滤"},filterNode:Function,defaultTransfer:{type:Boolean,default:!1},arrayToTree:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},lazyRight:{type:Boolean,default:!1},lazyFn:Function,highLight:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1},checkStrictlyType:{type:String,default:"authorization",validator:function(e){return-1!==["authorization","puppet","modular"].indexOf(e)}},accordion:{type:Boolean,default:!1},renderAfterExpand:{type:Boolean,default:!0},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},indent:{type:Number,default:16},iconClass:String,draggable:Boolean,allowDrag:Function,allowDrop:Function},data:function(){return{from_is_indeterminate:!1,from_check_all:!1,from_expanded_keys:[],from_disabled:!0,from_check_keys:[],from_array_clone:[],to_check_all:!1,to_is_indeterminate:!1,to_expanded_keys:[],to_disabled:!0,to_check_keys:[],to_array_clone:[],filterFrom:"",filterTo:"",strictly_parents:[],strictly_transferred:[]}},computed:{self_from_data:function(){var e=this.arrayToTree?Object(o.arrayToTree)(this.from_data,{id:this.node_key,pid:this.pid,children:this.selfDefaultProps.children}):this.from_data;return this.checkStrictly&&(this.from_array_clone=Object(o.flattenDeep)(e,this.selfDefaultProps.children)),e},self_to_data:function(){var e=this.arrayToTree?Object(o.arrayToTree)(this.to_data,{id:this.node_key,pid:this.pid,children:this.selfDefaultProps.children}):this.to_data;return this.checkStrictly&&(this.to_array_clone=Object(o.flattenDeep)(e,this.selfDefaultProps.children)),e},fromTitle:function(){return u(this.title,1)[0]},toTitle:function(){return u(this.title,2)[1]},fromButton:function(){return Array.isArray(this.button_text)?this.button_text[0]:""},toButton:function(){return Array.isArray(this.button_text)?this.button_text[1]:""},selfDefaultProps:function(){return l({label:"label",children:"children"},this.defaultProps)}},watch:{from_check_keys:function(e){var t=this;if(e.length>0){this.from_disabled=!1,this.from_is_indeterminate=!0;var n=!1;n=this.checkStrictly?e.length===this.from_array_clone.length:e.filter((function(e){return e[t.pid]===t.rootPidValue})).length===this.self_from_data.length,n?(this.from_is_indeterminate=!1,this.from_check_all=!0):(this.from_is_indeterminate=!0,this.from_check_all=!1)}else this.from_disabled=!0,this.from_is_indeterminate=!1,this.from_check_all=!1},to_check_keys:function(e){var t=this;if(e.length>0){this.to_disabled=!1,this.to_is_indeterminate=!0;var n=!1;n=this.checkStrictly?e.length===this.to_array_clone.length:e.filter((function(e){return e[t.pid]===t.rootPidValue})).length===this.self_to_data.length,n?(this.to_is_indeterminate=!1,this.to_check_all=!0):(this.to_is_indeterminate=!0,this.to_check_all=!1)}else this.to_disabled=!0,this.to_is_indeterminate=!1,this.to_check_all=!1},filterFrom:function(e){this.$refs["from-tree"].filter(e)},filterTo:function(e){this.$refs["to-tree"].filter(e)},defaultCheckedKeys:{handler:function(e){var t=this;this.from_check_keys=e||[],this.defaultTransfer&&this.from_check_keys.length&&this.$nextTick((function(){t.addToAims(!1)}))},immediate:!0},defaultExpandedKeys:{handler:function(e){var t=new Set(this.from_expanded_keys.concat(e));this.from_expanded_keys=[].concat(i(t));var n=new Set(this.to_expanded_keys.concat(e));this.to_expanded_keys=[].concat(i(n))},immediate:!0}},methods:{addToAims:function(e){var t=this,n=((new Date).valueOf(),this.$refs["from-tree"].getCheckedKeys()),s=this.$refs["from-tree"].getHalfCheckedKeys(),l=this.$refs["from-tree"].getCheckedNodes(),u=this.$refs["from-tree"].getHalfCheckedNodes(),c=this.selfDefaultProps.children||"children",f=this.pid||"pid",h=this.node_key||"id",d=this.rootPidValue||0;if(this.to_array_clone=Object(o.flattenDeep)(this.self_to_data,this.selfDefaultProps.children),this.checkStrictly)this.from_array_clone=Object(o.flattenDeep)(this.self_from_data,this.selfDefaultProps.children),this.strictly_parents=[],this.checkStrictlyAdd(l,{children__:c,pid__:f,id__:h,root__:d});else{u.forEach((function(e){if(!t.to_array_clone.some((function(t){return t[h]===e[h]}))){var n=d!==e[f]?e[f]:null;t.$refs["to-tree"].append(Object.assign({},e,r({},c,[])),n)}}));var p=Object(a.differenceBy)(l,this.to_array_clone,h);p.forEach((function(e){if(!p.some((function(t){return t[h]===e[f]}))){var n=d!==e[f]?e[f]:null;t.$refs["to-tree"].append(e,n)}})),l.map((function(e){return t.$refs["from-tree"].remove(e)}))}this.from_check_keys=[],this.$refs["to-tree"].setCheckedKeys([]),this.to_check_all=!1,this.to_is_indeterminate=!1,this.transferOpenNode&&!this.lazy&&(this.to_expanded_keys=n);var g=[].concat(i(l),i(this.strictly_parents));e&&this.$emit("add-btn",this.self_from_data,this.self_to_data,{keys:n,nodes:g,harfKeys:s,halfNodes:u}),this.$refs["from-tree"].setCheckedKeys([])},removeToSource:function(){var e=this,t=this.$refs["to-tree"].getCheckedKeys(),n=this.$refs["to-tree"].getHalfCheckedKeys(),i=this.$refs["to-tree"].getCheckedNodes(),s=this.$refs["to-tree"].getHalfCheckedNodes(),l=this.selfDefaultProps.children||"children",u=this.pid||"pid",c=this.node_key||"id",f=this.rootPidValue||0;if(this.from_array_clone=Object(o.flattenDeep)(this.self_from_data,this.selfDefaultProps.children),this.checkStrictly)this.to_array_clone=Object(o.flattenDeep)(this.self_to_data,this.selfDefaultProps.children),this.checkStrictlyRemove(i,{children__:l,pid__:u,id__:c,root__:f});else{s.forEach((function(t){if(!e.from_array_clone.some((function(e){return e[c]===t[c]}))){var n=f!==t[u]?t[u]:null;e.$refs["from-tree"].append(Object.assign({},t,r({},l,[])),n)}}));var h=Object(a.differenceBy)(i,this.from_array_clone,c);h.forEach((function(t){if(!h.some((function(e){return e[c]===t[u]}))){var n=f!==t[u]?t[u]:null;e.$refs["from-tree"].append(t,n)}})),i.map((function(t){return e.$refs["to-tree"].remove(t)}))}this.to_check_keys=[],this.$refs["from-tree"].setCheckedKeys([]),this.from_check_all=!1,this.from_is_indeterminate=!1,this.transferOpenNode&&!this.lazy&&(this.from_expanded_keys=t),this.$emit("remove-btn",this.self_from_data,this.self_to_data,{keys:t,nodes:i,harfKeys:n,halfNodes:s}),this.$refs["to-tree"].setCheckedKeys([])},checkStrictlyAdd:function(e,t){var n=this;Object(a.differenceBy)(e,this.to_array_clone,t.id__).map((function(e){return Object.assign({},e,r({},t.children__,[]))})).reduce((function(e,n,r,i){var o=i.find((function(e){return e[t.id__]==n[t.pid__]}));return o?(o[t.children__].push(n),e):e.concat(n)}),[]).forEach((function(e){n.$refs["to-tree"].append(e,e[t.pid__])})),this.loopRemoveCheckedLeafNodes(t)},loopRemoveCheckedLeafNodes:function(e){var t=this.$refs["from-tree"].getCheckedNodes(!0);if(t.length){var n=!0,r=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;this.$refs["from-tree"].remove(s)}}catch(e){r=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}this.loopRemoveCheckedLeafNodes(e)}},checkStrictlyRemove:function(e,t){var n=this;Object(a.differenceBy)(e,this.from_array_clone,t.id__).map((function(e){var n;return Object.assign({},e,(n={},r(n,t.children__,[]),r(n,"__childrenLength",Array.isArray(e[t.children__])?e[t.children__].length:0),n))})).reduce((function(e,n,r,i){var o=i.find((function(e){return e[t.id__]==n[t.pid__]}));return o?(o[t.children__].push(n),e):e.concat(n)}),[]).forEach((function(e){n.deepFindParent(e,t)})),e.forEach((function(e){n.$refs["to-tree"].remove(e)}))},deepFindParent:function(e,t){if(e[t.pid__]!==t.root__)if(this.from_array_clone.some((function(n){return n[t.id__]===e[t.pid__]})))this.$refs["from-tree"].append(e,e[t.pid__]);else{var n=this.to_array_clone.find((function(n){return n[t.id__]===e[t.pid__]})),i=Object.assign({},n,r({},t.children__,[e]));this.deepFindParent(i,t)}else this.$refs["from-tree"].append(e)},leftloadNode:function(e,t){this.lazyFn&&this.lazyFn(e,t,"left")},rightloadNode:function(e,t){this.lazyFn&&this.lazyFn(e,t,"right")},fromTreeChecked:function(e,t){var n=this;this.from_check_keys=t.checkedNodes,this.checkStrictly&&"authorization"==this.checkStrictlyType&&this.from_check_keys.some((function(t){return t[n.node_key]===e[n.node_key]}))&&this.authorizationAutoCheckLeft(e),this.$nextTick((function(){n.$emit("left-check-change",e,t,n.from_check_all)}))},authorizationAutoCheckLeft:function(e){var t=this,n=Object(s.a)(e,this.from_array_clone,{id:this.node_key,parentId:this.pid,root:this.rootPidValue});n.length&&Object(a.differenceBy)(n,this.from_check_keys,this.node_key).forEach((function(e){t.$refs["from-tree"].setChecked(e,!0),t.from_check_keys.push(e)}))},toTreeChecked:function(e,t){var n=this;this.to_check_keys=t.checkedNodes,this.checkStrictly&&"authorization"==this.checkStrictlyType&&this.to_check_keys.some((function(t){return t[n.node_key]===e[n.node_key]}))&&this.authorizationAutoCheckRight(e),this.$nextTick((function(){n.$emit("right-check-change",e,t,n.to_check_all)}))},authorizationAutoCheckRight:function(e){var t=this,n=Object(o.flattenDeep)([e],this.selfDefaultProps.children);n.length&&Object(a.differenceBy)(n,this.to_check_keys,this.node_key).forEach((function(e){t.to_check_keys.push(e),t.$refs["to-tree"].setChecked(e,!0)}))},fromAllBoxChange:function(e){this.self_from_data.length&&(e?(this.from_check_keys=this.checkStrictly?Object(o.flattenDeep)(this.self_from_data,this.selfDefaultProps.children):this.self_from_data,this.$refs["from-tree"].setCheckedNodes(this.from_check_keys)):(this.$refs["from-tree"].setCheckedNodes([]),this.from_check_keys=[]),this.$emit("left-check-change",null,null,this.from_check_all))},toAllBoxChange:function(e){this.self_to_data.length&&(e?(this.to_check_keys=this.checkStrictly?Object(o.flattenDeep)(this.self_to_data,this.selfDefaultProps.children):this.self_to_data,this.$refs["to-tree"].setCheckedNodes(this.to_check_keys)):(this.$refs["to-tree"].setCheckedNodes([]),this.to_check_keys=[]),this.$emit("right-check-change",null,null,this.to_check_all))},filterNodeFrom:function(e,t){return this.filterNode?this.filterNode(e,t,"form"):!e||-1!==t[this.selfDefaultProps.label].indexOf(e)},filterNodeTo:function(e,t){return this.filterNode?this.filterNode(e,t,"to"):!e||-1!==t[this.selfDefaultProps.label].indexOf(e)},nodeDragStartLeft:function(e,t){this.$emit("node-drag-start","left",e,t)},nodeDragEnterLeft:function(e,t,n){this.$emit("node-drag-enter","left",e,t,n)},nodeDragLeaveLeft:function(e,t,n){this.$emit("node-drag-leave","left",e,t,n)},nodeDragOverLeft:function(e,t,n){this.$emit("node-drag-over","left",e,t,n)},nodeDragEndLeft:function(e,t,n,r){this.$emit("node-drag-end","left",e,t,n,r)},nodeDropLeft:function(e,t,n,r){this.$emit("node-drop","left",e,t,n,r)},nodeDragStartRight:function(e,t){this.$emit("node-drag-start","right",e,t)},nodeDragEnterRight:function(e,t,n){this.$emit("node-drag-enter","right",e,t,n)},nodeDragLeaveRight:function(e,t,n){this.$emit("node-drag-leave","right",e,t,n)},nodeDragOverRight:function(e,t,n){this.$emit("node-drag-over","right",e,t,n)},nodeDragEndRight:function(e,t,n,r){this.$emit("node-drag-end","right",e,t,n,r)},nodeDropRight:function(e,t,n,r){this.$emit("node-drop","right",e,t,n,r)},clearChecked:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";"left"===e?(this.$refs["from-tree"].setCheckedKeys([]),this.from_is_indeterminate=!1,this.from_check_all=!1):"right"===e?(this.$refs["to-tree"].setCheckedKeys([]),this.to_is_indeterminate=!1,this.to_check_all=!1):(this.$refs["from-tree"].setCheckedKeys([]),this.$refs["to-tree"].setCheckedKeys([]),this.from_is_indeterminate=!1,this.from_check_all=!1,this.to_is_indeterminate=!1,this.to_check_all=!1)},getChecked:function(){return{leftKeys:this.$refs["from-tree"].getCheckedKeys(),leftHarfKeys:this.$refs["from-tree"].getHalfCheckedKeys(),leftNodes:this.$refs["from-tree"].getCheckedNodes(),leftHalfNodes:this.$refs["from-tree"].getHalfCheckedNodes(),rightKeys:this.$refs["to-tree"].getCheckedKeys(),rightHarfKeys:this.$refs["to-tree"].getHalfCheckedKeys(),rightNodes:this.$refs["to-tree"].getCheckedNodes(),rightHalfNodes:this.$refs["to-tree"].getHalfCheckedNodes()}},setChecked:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.$refs["from-tree"].setCheckedKeys(e),this.$refs["to-tree"].setCheckedKeys(t)},clearFilter:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";"left"===e?this.filterFrom="":("right"===e||(this.filterFrom=""),this.filterTo="")}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i={Storage:!0,DataType:!0,Time:!0,WlNumber:!0,VaJwt:!0};Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DataType",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Time",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"WlNumber",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"VaJwt",{enumerable:!0,get:function(){return u.default}});var o=r(n(17)),a=r(n(6)),s=r(n(1)),l=r(n(19)),u=r(n(21)),c=n(22);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=n(23);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var h=n(24);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var d=n(25);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._timeUnit=t._storageType=void 0;var r={Local:"local",Session:"session"};t._storageType=r;var i={Year:"year",Quarter:"quarter",Month:"month",Week:"week",Day:"day",Hour:"hour",Minute:"minute",Second:"second"};t._timeUnit=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(){r(this,e)}return o(e,null,[{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"isEmptyObject",value:function(e){return this.isObject(e)&&0===Object.keys(e).length}},{key:"isArray",value:function(e){return Array.isArray(e)}},{key:"isEmptyArray",value:function(e){return this.isArray(e)&&0===e.length}}]),e}();t.default=a},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=n(4),o=(n.n(i),function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}());t.a={name:"AddressBook",data:function(){return{from_is_indeterminate:!1,from_check_all:!1,from_expanded_keys:[],from_disabled:!0,from_check_keys:[],filterFrom:"",filterListFirst:"",filterListSecond:"",filterListThird:"",archiveFirst:[],archiveSecond:[],archiveThird:[],addressee:[],Cc:[],secret_receiver:[],move_up:!1}},props:{sjr:{type:Array,default:function(){return[]}},csr:{type:Array,default:function(){return[]}},msr:{type:Array,default:function(){return[]}},title:{type:Array,default:function(){return["源列表","目标列表"]}},from_data:{type:Array,default:function(){return[]}},defaultProps:{type:Object,default:function(){return{label:"label",children:"children"}}},node_key:{type:String,default:"id"},pid:{type:String,default:"pid"},filter:{type:Boolean,default:!1},openAll:{type:Boolean,default:!1},renderContentLeft:Function,addressOptions:{type:Object,default:function(){return{num:3,suffix:"suffix",connector:"-"}}},defaultCheckedKeys:{type:Array,default:function(){return[]}},defaultExpandedKeys:{type:Array,default:function(){return[]}},placeholder:{type:String,default:"输入关键字进行过滤"},filterNode:Function,arrayToTree:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},lazyFn:Function,highLight:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1},accordion:{type:Boolean,default:!1},renderAfterExpand:{type:Boolean,default:!0},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},indent:{type:Number,default:16},iconClass:String,draggable:Boolean,allowDrag:Function,allowDrop:Function},computed:{self_from_data:function(){var e=[].concat(r(this.from_data));return this.arrayToTree?Object(i.arrayToTree)(e,{id:this.node_key,pid:this.pid,children:this.defaultProps.children}):e},fromTitle:function(){return o(this.title,1)[0]},toTitle:function(){return o(this.title,2)[1]},toTitleSecond:function(){return o(this.title,3)[2]},toTitleThird:function(){return o(this.title,4)[3]}},watch:{from_check_keys:function(e){var t=this;e.length>0?(this.from_disabled=!1,this.from_is_indeterminate=!0,e.filter((function(e){return 0==e[t.pid]})).length==this.self_from_data.length?(this.from_is_indeterminate=!1,this.from_check_all=!0):(this.from_is_indeterminate=!0,this.from_check_all=!1)):(this.from_disabled=!0,this.from_is_indeterminate=!1,this.from_check_all=!1)},filterFrom:function(e){this.$refs["from-tree"].filter(e)},filterListFirst:function(e,t){""==t&&(this.archiveFirst=this.addressee),""==e&&(this.addressee=this.archiveFirst);var n=RegExp(e);this.addressee=this.addressee.filter((function(e){return n.test(e.label)}))},filterListSecond:function(e,t){""==t&&(this.archiveSecond=this.Cc),""==e&&(this.Cc=this.archiveSecond);var n=RegExp(e);this.Cc=this.Cc.filter((function(e){return n.test(e.label)}))},filterListThird:function(e,t){""==t&&(this.archiveThird=this.secret_receiver),""==e&&(this.secret_receiver=this.archiveThird);var n=RegExp(e);this.secret_receiver=this.secret_receiver.filter((function(e){return n.test(e.label)}))},defaultCheckedKeys:function(e){this.from_check_keys=e||[]},defaultExpandedKeys:{handler:function(e){var t=new Set(this.from_expanded_keys.concat(e));this.from_expanded_keys=[].concat(r(t))},immediate:!0},sjr:{handler:function(e){var t;(t=this.addressee).push.apply(t,r(e))},immediate:!0},csr:{handler:function(e){var t;(t=this.Cc).push.apply(t,r(e))},immediate:!0},msr:{handler:function(e){var t;(t=this.secret_receiver).push.apply(t,r(e))},immediate:!0}},methods:{fromTreeChecked:function(e,t){var n=this;this.from_check_keys=t.checkedNodes,this.$nextTick((function(){n.$emit("left-check-change",e,t,n.from_check_all)}))},fromAllBoxChange:function(e){0!=this.self_from_data.length&&(e?(this.from_check_keys=this.self_from_data,this.$refs["from-tree"].setCheckedNodes(this.self_from_data)):(this.$refs["from-tree"].setCheckedNodes([]),this.from_check_keys=[]),this.$emit("left-check-change",null,null,this.from_check_all))},filterNodeFrom:function(e,t){return this.filterNode?this.filterNode(e,t,"form"):!e||-1!==t[this.defaultProps.label].indexOf(e)},addressListTransfer:function(e){var t=this,n=this.$refs["from-tree"].getCheckedNodes(!0),i=[];switch(e){case 0:i=n.filter((function(e){if(!t.addressee.some((function(n){return n[t.node_key]==e[t.node_key]})))return e})),this.addressee=[].concat(r(this.addressee),r(i));break;case 1:i=n.filter((function(e){if(!t.Cc.some((function(n){return n[t.node_key]==e[t.node_key]})))return e})),this.Cc=[].concat(r(this.Cc),r(i));break;case 2:i=n.filter((function(e){if(!t.secret_receiver.some((function(n){return n[t.node_key]==e[t.node_key]})))return e})),this.secret_receiver=[].concat(r(this.secret_receiver),r(i))}this.$refs["from-tree"].setCheckedKeys([]),this.from_check_keys=[],this.$emit("add-btn",this.addressee,this.Cc,this.secret_receiver)},clearList:function(e,t){var n=this;switch(e){case 0:this.addressee="all"==t?[]:this.addressee.filter((function(e){return e[n.node_key]!=t}));break;case 1:this.Cc="all"==t?[]:this.Cc.filter((function(e){return e[n.node_key]!=t}));break;case 2:this.secret_receiver="all"==t?[]:this.secret_receiver.filter((function(e){return e[n.node_key]!=t}))}this.$emit("remove-btn",this.addressee,this.Cc,this.secret_receiver)},moveUp:function(e){this.move_up="up"==e},nodeDragStartLeft:function(e,t){this.$emit("node-drag-start","left",e,t)},nodeDragEnterLeft:function(e,t,n){this.$emit("node-drag-enter","left",e,t,n)},nodeDragLeaveLeft:function(e,t,n){this.$emit("node-drag-leave","left",e,t,n)},nodeDragOverLeft:function(e,t,n){this.$emit("node-drag-over","left",e,t,n)},nodeDragEndLeft:function(e,t,n,r){this.$emit("node-drag-end","left",e,t,n,r)},nodeDropLeft:function(e,t,n,r){this.$emit("node-drop","left",e,t,n,r)},clearChecked:function(){this.$refs["from-tree"].setCheckedKeys([]),this.from_is_indeterminate=!1,this.from_check_all=!1},getChecked:function(){return{leftKeys:this.$refs["from-tree"].getCheckedKeys(),leftHarfKeys:this.$refs["from-tree"].getHalfCheckedKeys(),leftNodes:this.$refs["from-tree"].getCheckedNodes(),leftHalfNodes:this.$refs["from-tree"].getHalfCheckedNodes()}},setChecked:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.$refs["from-tree"].setCheckedKeys(e)},clearFilter:function(){this.filterFrom=""}}}},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAADICAYAAACksw7kAAAQp0lEQVR4nO3debRkVXUG8AIaQqIMskSgISoCigwNLqaGtEIjEQjSS8IghjB0JyQyBFSGaBD6Bnjvnu/7blU1D1p8zJH5rShTRyNDo4I2AmqCURBISEAGE8MQiAKtufnj3Xa10MMbqu7eVW//1tr/sFiLe/Y551F1a599Go0QQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEDqA5M7WzxBCTyB5HsmS5HnWzxKCW3mev42kqs2yLJTn+dusny0EV1qt1uaSFr5hs5QkS0kLW63W5tbPGIILJLcBcNWKNstycSXJbayfNQRTzWZzJ5Ijq9ksy2Kk2WzuZP3MIZiQtCeARWPcLCXJEsAiSXtaP3sItZK0H8nF49ksy8XiZrP5YesxhFALAHNI3jfBzbIs7gMwx3osIXSVpCNJPjTJzbIsHkopHWk9phC6guQ8AP/aoc2yLB4nOc96bCF0lKSTST7b4c2y7HeaZwCcbD3GEDqC5JkkX+rGZlkuXiJ5pvVYQ5iwLMvWIfm3JJd2ebMsi6UAsizL1rEeewjj0m63N+Sb68JqCUlst9sbWucghDEBMH1ldWE1xkUAplvnIoRVIrkNR+u+LDfLsriy1WptbZ2TEFYopbSTpBsdbJTfBIAbJc2wzk0Iv0XSniRvs94gK4nbms3mTOschdBoNBoNAB/mxOvC6oq7JO1rnaswxUk6mJOvC6srlqSUDrbOWZiiSH6cnasLqyv+meTHrXMXphiS8zhax2W9AcYdkh4DMNc6h2GKAHCypGesF/4k42mSJ1nnMvQ5jtaFvehgwXciXgRwhnVOQx/KsmwdABmAuurC6orXJc0fHh5e2zrHoU+02+0NJdHB4u5mIKW0gXWuQ48DMJ3kRQ4WdB1xUbvd3sw656FHtVqtremnLqyWAHAFya2scx96jKQZAFzVhdUYN7RarR2t5yD0iGazOZN+68Lqilsl7WE9F8E5SfuSvMvBgvUQd+Z5HvVnYcWKotiWXWpUMc5YKqnN+o42ryqeLYpiW+u5Cc6klGYBeNl6gQJ4Oc/zfRqNRiPP8308PBPJF1JKs4ynKHghaS591IV9j+Shyz8byUOrf269kR8jeZzRFAUvSJ4EwLwuTNI9KaUDV/SMKaUDJd1j/Ywkny6K4sS65yg4QT91YV8nufdqnnXv6t+zftYXSJ5e1xwFB4aHh9cGkJF83cECvKkoit3G8txFUexG8iYHz/wagPlZlk3r9lwFYymlDRzVhV2bUtp+nM+/PclrHTx7SRJDQ0Prd2uugjFndWGXStpyIuOQtCXJSx2MoQRwIclNOz1XwVie51tLusJ6gZEsJV0wMDCwyWTGMzAwsImkC6zHUsXl7Xb7PZ2aq2BM0gySNzhYWCXJHMB6nRgXgPVI5g7GVAK4PqUU9We9DsBMSbdaLyiSr0o6e2RkZK1Ojm9kZGQtSWeTfNXBGG+J+rMe5qgu7HkAp3VzrABOI/m8g7HeAWB2N8cauoDkR0kucbCAfkryhJrGfEL13zMds6RvSzqojjGHDpB0BEf7b1lvlkeLoji2zrEXRXEsyUetxw7gn0geXufYwwQAmCvpsam8YEgeXv33p9wfjDAOJE/iaL8t64XyHeuPJJIOIvkdB7mo7SNpGAcAZ3C0zsl6gdzp5UsvgNkk73SQk66/9AhjNDw8vLak+fRRF+buWK+kPUi6eK1O8pxOv1YP45BS2oAkHCyGko4bR7RarR3p5IdbAKlTP9yGcWi325tJutB6AVSLwH1rIpJbVc9pni+SQwsWLJhUaVAYB2eT3zPN79rt9mZ0UnwK4LI8z6P+rNs8fbyQxF5rr+rseMN1knawzknfcvQF9nUAWa828HZ2gO5mALtb56TvVHVhHl6RvkjyTOt8dAL9HNG+XdI+1vnoGxytCzP/EU7SMwBOts5HJzm6HOpekn9knY+eJ+kISR7KPB4nOc86H91AJ9cPSvp+URSHWeejZ5E8ruqHZb1ZHpJ0pHU+uknSkXRwwS2An5A8xjofPQfAifRRF3YfgDnW+agDgDn0cYX6UwA+aZ2PnkHydPqoC1ssaT/rfNRJ0n4kFzvI/X9L+ox1PlzLsmwagPkkX7OeMEmLUkp7WefEQkppL0mLrOeA5C8BnJ1l2ZrWOXFnaGhoffqpCxshubN1TiyR3LnKg/VclCTzhQsXvtU6J26Q3NRLXZikq5rN5nutc+JBs9l8r6SrrOeEZAlg0q2p+gLJrUhebj0h1aRcDGALBznZlKMtYc0b5AHYAsDF1nNTxYSbH/aFlNKOAK53MBElyaLVam1knZOiKLZddsRa0mMeLjNqtVobkSwczFHJCbTX7QtVXdgtDibg15LOzbJsXQc5OYTkA8s/n6T7JR1i/WxZlq0r6VySv3YwZ2Nu4N4XAMwGYF4XBuBlAJ+zzkej0WiQPIbkwyt51ofp5Mc8AJ9zcivaaq8I6QuOmjP8jOSp1vloNBqNoihO5Or7iT0FwMVlRiRPrfJnOoeS7imKYoWXUPUF+mn/80RK6XjrfDQajQaAv+bYK4bdVEqnlI4n+YSDuXzTNYd9geRxdNBgjuSPABxlnY8sy36P5Hkc/3eCX5E8r9Vq/a71GAAcRfJHDub0EQBHW+ejY6q6MPMWpiQf8PAFemBgYBOSCyYzFgBtSe+wHsuKXlQYxZOS/tI6H5PG0bow8ybZkr6ZUtrfQT46+bvTpR7OxaeU9pf0Tes5Jvlzkp+2zseEZFk2jeQ59HENw9dIftA6JyR3BnBjh8d2g6QZDsb2wSrP1nP9C5KfL8tyDeucjFmWZetLSg6SV0r6cp7nu1jnpCiKWQC+2o0xAlhE8g+sx5jn+S6Svmw951VOBiW9xTonq8XRso4h64RVcTWA91vnJKV0IMlvdXms3/DwkRPA+0le7WDuS5ILPHzPW6k8z98j6TIHiSpJDhdF8S7rnJA8nOQPahqzi1esRVG8i+SwgzVQArgkz/N3W+fkTSTt4KUuDEB7cHBwY+uckJxX99Ub1RHf46zHPjg4uDGAtvVaqOKaoii2s87JbwDYnT7qwkqSAx4+u0o6BcBzRjl4WpJ5dxtJbyE54GBNlCS/AmBX65w0JO1D8g4HCfmFpLMajYbp25Esy9YEcBbJV4zz8T9O6uTWkHQWR99ema4RSf9YFMWHzDKRUjpI0retE0En79+rU6MurgGv4v9IDmRZZn5akeSnq3myzsm3SB5glYSVVdfWGUsBmPeyOv/88zenk0bfbwxJF9DHYbTDSC61zgfJZ00SwPre/qwsXNQQAXifl6O8KwsAV7Rara0d5Opoko9Y56Pdbm9Y++AtNwyA79PBK1QAu3r5sW4MMZLn+Qesc0by0Gr+YsPUFPd6OAchaR8AtzvYCGMOSV+lgzKhoigO5Gg/5dgwXY7b6eCknaSD6eMg3LgDgIuDVyT3ruYzNkyX4mYPZ7lJfoLkD60X/iTjBymlI6xzWRTFbiRvjg3T+bjOQ7cQkn9BHycNJx1VFYL5jQQppe1JXhcbpkMB4DIP/agkfYY+fkvoZG6fk3SKg9xuCaC2OsR+3jDmN+5mWbaOpPn0cbanG/EKgLOsz5AsWLBgE9ZU6d6XG0aS+Z3uVRM7OVjUdUSeZdn6lvkGsF4dZ6n6bcO8SvKckZGRtWof1HKqMvUvOljItYWkCwFMt8z7yMjIWuzyad1+2jDPkzy99sG8QfVF9BrrBWwRAFw0ZGcX+0H0xYaR9FMPzeoAzKSf4wpW8fdFUZgf7QZwoqSOdxzqhw3zKB0cfHJ0A5eHcNGOlV3oaWeyYSTdw9HfJCYVkh5LKc2qfQBvAGBXks86WKie4lkPNwiklGZVvxtNer2RfMJ6PD1P0n5OmmyXJJdw9AawJQ6epQTwsoc/aMGJqjPnU9YLs4orAbyvei5Pxwb+jeSfW89VMEbyTI69GXi3Y6jdbm+2/PMBmA7AxXWGJP+TDk62BgPLNQP/lYOFuMqjxADWAzDo4DlLjvZOODvLsml1z1kwIukdnGQz8A7GiyQ/O5bnJvlZSS85eOaSJEzeNIV6kdyqziK/1cS4L0kieVI3fpeYYHzBwyW6oUuazeZOXWgGPtH48UT7EXDV1/vVGpK+5KEdb+iwlNIskv9gvcCqRXYfgI9NZjzVvSz3W4+liq94ONgXOoTkAex+M/Cxxh2S9u3EuKqqhLscjKkkeQeA2Z0YVzBE8nBJph1KuvmXuLq+vfYjviuJJQDmdHJ8oUaS5gKotRn4KuLvulViMjg4uJ2kLzkYY0nyh5L+pBvjDF0k6RQ6qQur44wJgC0kLbQeaxX/3hf3TU4FZVmu4aQZ+LLNMljXqdGU0gZebn4j+XMAp9Ux7jBBWZZ5agZu0j3f0e0BJYDXJM3PsmyduvMQVgPAdDppBl79sHiScT7cfCQlWbRarY0s8xGW46yq92GSx1jnpNFoNADMlfQTBzkpSX7RwxWKU15RFLsA8NIM/H5Jh1jnZHkkD5X0oIPclCSv8dCMccqqbj/7uoOFUJK8U9J+1jlZEZIfIXm3gxyVJG+RtId1TqYckh+ln2bgNwHY3TonqyJpT5K3OshVSfIur39c+hJHm4E/5GDie6r4UNIOJK+1zlkV351sPV0YA0nHA3jCwYSXABb2Wnm7s+aEE67YDmNQNQP/LwcTXZLMh4aGTNuqTlSr1dpIEh3ksCT5JMkTrHPSV4aHh9dml1uHjjWqzjJ/Y924e7KyLJsm6Ww6uA6c5AsAzrDOSV9w1gz8aZJ/ZZ2TTpL0KZI/c5DbpQDOzbJsXeuc9KyU0jtJXuxgMkuSjxRFcax1TrpB0p+RfNxBjkuSrcHBwY2tc9JznDUDfwDAH1vnpJtSSkfQ/hr5kmQp6RIPF2j1DEl7SPJyKGoxgD+0zkkdUkoH0snJVADXt1qtHa1z4p6zY7c3T7Vfpasexosc5L4keVtKaS/rnLgF4GMkv+tgokqSVxdFsZ11TixImiHpegdzUEq6m+RHrHPiDoCjSf7YeoKq+EKz2fx965xYqi5pvcTBXJQkHyyKoq+/Q44LyRMkPelgYkpJKcuy6OjYaDSKong7gKb1nFTxCIC+fEs5LhxtBv6Cgwl5RdJZWZataZ0TT4aGhn4HQAbgNQdz9DSND+aZop/jxEsl/al1PjwD8EmSSx3MVQngU9b5MGGd+Cr5L5M8wDoXvQDAYSR/aT1n1bz1VNFrR9D+o9iDJA+1zkMvIfkJAOZHK/I8f7d1LmpnvGHuZryunBCOHt67NzZMzQw3zC3NZnOm9fh7WVEUHyL5tdgwNTLaMNGIoUOazeYHSI7EhqlJ3RsGwMUppXdaj7uftFqtrUleHhumBjVvmLhirksGBgY2Yc1XIMaG6d7/Vf6X5OdHRkbWsh5vP6v7kt3YMN3ZLM+RPNV6nFOJpDNIPh8bpgu6vGEelTTXeoxTUVUV8B+xYTqsixvme0VRHGY9vqkMwFEk/yU2TAd1acN8I6W0v/XYQqMBYA7JJbFhOqTTG0bSrXFCzxcAs0neHhumAzq8Ya6VtIP1mMKbAdi10zcsTNUNc2WHIs+ybJr1eMLKZVn2VkkXdmrOi6J4u/WYQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEDz7f4qhKPjjYl6NAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10);t.default=r.a},function(e,t,n){"use strict";function r(e){a||n(11)}var i=n(2),o=n(33),a=!1,s=n(0),l=r,u=s(i.a,o.a,!1,l,null,null);u.options.__file="transfer-extend-next/index.vue",t.a=u.exports},function(e,t,n){var r=n(12);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(14)("0ef5cbc8",r,!1,{})},function(e,t,n){t=e.exports=n(13)(!0),t.push([e.i,"\n.wl-transfer{position:relative;overflow:hidden\n}\n.wl-transfer .el-tree{min-width:100%;display:inline-block !important\n}\n.wl-transfer .transfer-left{position:absolute;top:0;left:0\n}\n.wl-transfer .transfer-right{position:absolute;top:0;right:0\n}\n.wl-transfer .transfer-right-item{height:calc((100% - 41px) / 2)\n}\n.wl-transfer .transfer-right-small{height:41px\n}\n.wl-transfer .transfer-right-only{height:100%\n}\n.wl-transfer .transfer-main{padding:10px;height:calc(100% - 41px);box-sizing:border-box;overflow:auto\n}\n.wl-transfer .transfer-left,.wl-transfer .transfer-right{border:1px solid #ebeef5;width:40%;height:100%;box-sizing:border-box;border-radius:5px;vertical-align:middle\n}\n.wl-transfer .transfer-center{position:absolute;top:50%;left:40%;width:20%;transform:translateY(-50%);text-align:center\n}\n.wl-transfer .transfer-center-item{padding:10px;overflow:hidden\n}\n.wl-transfer .address-list-center{height:100%\n}\n.wl-transfer .address-list-center>.transfer-center-item{height:50%;padding:70px 10px 0;box-sizing:border-box;overflow:hidden\n}\n.wl-transfer .address-list-center>.address-only-item{height:100%;position:relative\n}\n.wl-transfer .address-only-item>.address-first-btn{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)\n}\n.wl-transfer .transfer-title{border-bottom:1px solid #ebeef5;padding:0 15px;height:40px;line-height:40px;color:#333;font-size:16px;background-color:#f5f7fa\n}\n.wl-transfer .transfer-title .el-checkbox{margin-right:10px\n}\n.wl-transfer .filter-tree{margin-bottom:10px\n}\n.wl-transfer .address-list-ul{padding-bottom:20px\n}\n.wl-transfer .address-list-li{position:relative;padding:4px 24px 4px 4px;border-radius:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis\n}\n.wl-transfer .address-list-li:hover{background-color:#f5f7fa\n}\n.wl-transfer .address-list-li:hover .address-list-del{display:block\n}\n.wl-transfer .address-list-del{display:none;position:absolute;top:50%;right:2px;margin-top:-10px;width:20px;height:20px;line-height:20px;border-radius:50%;text-align:center;background-color:#fef0f0;color:#f56c6c;cursor:pointer\n}\n.wl-transfer .u-clear{float:right;color:#67c23a;font-size:14px;cursor:pointer\n}\n.wl-transfer .move_up_img{float:right;margin-top:10px;width:20px;height:20px;cursor:pointer\n}\n.wl-transfer .move_down_img{transform:rotate(180deg)\n}\n","",{version:3,sources:["F:/npm/tree-transfer/npm/transfer-extend-next/index.vue"],names:[],mappings:";AAAA,aAAa,kBAAkB,eAAe;CAAC;AAAA,sBAAsB,eAAe,+BAA+B;CAAC;AAAA,4BAA4B,kBAAkB,MAAM,MAAM;CAAC;AAAA,6BAA6B,kBAAkB,MAAM,OAAO;CAAC;AAAA,kCAAkC,8BAA8B;CAAC;AAAA,mCAAmC,WAAW;CAAC;AAAA,kCAAkC,WAAW;CAAC;AAAA,4BAA4B,aAAa,yBAAyB,sBAAsB,aAAa;CAAC;AAAA,yDAAyD,yBAAyB,UAAU,YAAY,sBAAsB,kBAAkB,qBAAqB;CAAC;AAAA,8BAA8B,kBAAkB,QAAQ,SAAS,UAAU,2BAA2B,iBAAiB;CAAC;AAAA,mCAAmC,aAAa,eAAe;CAAC;AAAA,kCAAkC,WAAW;CAAC;AAAA,wDAAwD,WAAW,oBAAoB,sBAAsB,eAAe;CAAC;AAAA,qDAAqD,YAAY,iBAAiB;CAAC;AAAA,mDAAmD,kBAAkB,QAAQ,SAAS,+BAA+B;CAAC;AAAA,6BAA6B,gCAAgC,eAAe,YAAY,iBAAiB,WAAW,eAAe,wBAAwB;CAAC;AAAA,0CAA0C,iBAAiB;CAAC;AAAA,0BAA0B,kBAAkB;CAAC;AAAA,8BAA8B,mBAAmB;CAAC;AAAA,8BAA8B,kBAAkB,yBAAyB,kBAAkB,gBAAgB,mBAAmB,sBAAsB;CAAC;AAAA,oCAAoC,wBAAwB;CAAC;AAAA,sDAAsD,aAAa;CAAC;AAAA,+BAA+B,aAAa,kBAAkB,QAAQ,UAAU,iBAAiB,WAAW,YAAY,iBAAiB,kBAAkB,kBAAkB,yBAAyB,cAAc,cAAc;CAAC;AAAA,sBAAsB,YAAY,cAAc,eAAe,cAAc;CAAC;AAAA,0BAA0B,YAAY,gBAAgB,WAAW,YAAY,cAAc;CAAC;AAAA,4BAA4B,wBAAwB;CAAC",file:"index.vue",sourcesContent:[".wl-transfer{position:relative;overflow:hidden}.wl-transfer .el-tree{min-width:100%;display:inline-block !important}.wl-transfer .transfer-left{position:absolute;top:0;left:0}.wl-transfer .transfer-right{position:absolute;top:0;right:0}.wl-transfer .transfer-right-item{height:calc((100% - 41px) / 2)}.wl-transfer .transfer-right-small{height:41px}.wl-transfer .transfer-right-only{height:100%}.wl-transfer .transfer-main{padding:10px;height:calc(100% - 41px);box-sizing:border-box;overflow:auto}.wl-transfer .transfer-left,.wl-transfer .transfer-right{border:1px solid #ebeef5;width:40%;height:100%;box-sizing:border-box;border-radius:5px;vertical-align:middle}.wl-transfer .transfer-center{position:absolute;top:50%;left:40%;width:20%;transform:translateY(-50%);text-align:center}.wl-transfer .transfer-center-item{padding:10px;overflow:hidden}.wl-transfer .address-list-center{height:100%}.wl-transfer .address-list-center>.transfer-center-item{height:50%;padding:70px 10px 0;box-sizing:border-box;overflow:hidden}.wl-transfer .address-list-center>.address-only-item{height:100%;position:relative}.wl-transfer .address-only-item>.address-first-btn{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.wl-transfer .transfer-title{border-bottom:1px solid #ebeef5;padding:0 15px;height:40px;line-height:40px;color:#333;font-size:16px;background-color:#f5f7fa}.wl-transfer .transfer-title .el-checkbox{margin-right:10px}.wl-transfer .filter-tree{margin-bottom:10px}.wl-transfer .address-list-ul{padding-bottom:20px}.wl-transfer .address-list-li{position:relative;padding:4px 24px 4px 4px;border-radius:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wl-transfer .address-list-li:hover{background-color:#f5f7fa}.wl-transfer .address-list-li:hover .address-list-del{display:block}.wl-transfer .address-list-del{display:none;position:absolute;top:50%;right:2px;margin-top:-10px;width:20px;height:20px;line-height:20px;border-radius:50%;text-align:center;background-color:#fef0f0;color:#f56c6c;cursor:pointer}.wl-transfer .u-clear{float:right;color:#67c23a;font-size:14px;cursor:pointer}.wl-transfer .move_up_img{float:right;margin-top:10px;width:20px;height:20px;cursor:pointer}.wl-transfer .move_down_img{transform:rotate(180deg)}\n"],sourceRoot:""}])},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=c[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(o(n.parts[i]));c[n.id]={id:n.id,refs:1,parts:a}}}}function i(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function o(e){var t,n,r=document.querySelector("style["+y+'~="'+e.id+'"]');if(r){if(p)return g;r.parentNode.removeChild(r)}if(m){var o=d++;r=h||(h=i()),t=a.bind(null,r,o,!1),n=a.bind(null,r,o,!0)}else r=i(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function a(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),v.ssrId&&e.setAttribute(y,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(15),c={},f=l&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,p=!1,g=function(){},v=null,y="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,i){p=n,v=i||{};var o=u(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var a=o[i],s=c[a.id];s.refs--,n.push(s)}t?(o=u(e,t),r(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete c[s.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],l=o[2],u=o[3],c={id:e+":"+i,css:s,media:l,sourceMap:u};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}},function(e,t,n){"use strict";var r=n(3),i=n(30),o=n(0),a=o(r.a,i.a,!1,null,null,null);a.options.__file="transfer-extend-next/components/transfer.vue",t.a=a.exports},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(5),s=function(e){return e&&e.__esModule?e:{default:e}}(n(6)),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a._storageType.Local;if(!(arguments.length>1?arguments[1]:void 0))return{storage:e===a._storageType.Local?localStorage:sessionStorage}},u=function(){function e(){r(this,e)}return o(e,null,[{key:"set",value:function(e,t,n,r){var i=l(n),o=i.storage,a=s.default.isObject(t)||s.default.isArray(t)?JSON.stringify(t):t;o.setItem(e,a)}},{key:"get",value:function(e,t,n){var r=l(t),i=r.storage,o=i.getItem(e);try{return JSON.parse(o)}catch(e){return o}}},{key:"remove",value:function(e,t){l(t).storage.removeItem(e)}},{key:"clear",value:function(e){l(e).storage.clear()}},{key:"had",value:function(e,t){return e in l(t).storage}},{key:"count",value:function(e){return l(e).storage.length}}]),e}();t.default=u},function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="day",o="week",a="month",s="quarter",l="year",u="date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},d={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+h(r,2,"0")+":"+h(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),o=n-i<0,s=t.clone().add(r+(o?-1:1),a);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return{M:a,y:l,w:o,d:i,D:u,h:r,m:n,s:t,ms:e,Q:s}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g="en",v={};v[g]=p;var y=function(e){return e instanceof x},m=function(e,t,n){var r;if(!e)return g;if("string"==typeof e)v[e]&&(r=e),t&&(v[e]=t,r=e);else{var i=e.name;v[i]=e,r=i}return!n&&r&&(g=r),r||!n&&g},b=function(e,t){if(y(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},_=d;_.l=m,_.i=y,_.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,$offset:t.$offset})};var x=function(){function h(e){this.$L=this.$L||m(e.locale,null,!0),this.parse(e)}var d=h.prototype;return d.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},d.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},d.$utils=function(){return _},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},d.isAfter=function(e,t){return b(e)<this.startOf(t)},d.isBefore=function(e,t){return this.endOf(t)<b(e)},d.$g=function(e,t,n){return _.u(e)?this[t]:this.set(n,e)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(e,s){var c=this,f=!!_.u(s)||s,h=_.p(e),d=function(e,t){var n=_.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return f?n:n.endOf(i)},p=function(e,t){return _.w(c.toDate()[e].apply(c.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},g=this.$W,v=this.$M,y=this.$D,m="set"+(this.$u?"UTC":"");switch(h){case l:return f?d(1,0):d(31,11);case a:return f?d(1,v):d(0,v+1);case o:var b=this.$locale().weekStart||0,x=(g<b?g+7:g)-b;return d(f?y-x:y+(6-x),v);case i:case u:return p(m+"Hours",0);case r:return p(m+"Minutes",1);case n:return p(m+"Seconds",2);case t:return p(m+"Milliseconds",3);default:return this.clone()}},d.endOf=function(e){return this.startOf(e,!1)},d.$set=function(o,s){var c,f=_.p(o),h="set"+(this.$u?"UTC":""),d=(c={},c[i]=h+"Date",c[u]=h+"Date",c[a]=h+"Month",c[l]=h+"FullYear",c[r]=h+"Hours",c[n]=h+"Minutes",c[t]=h+"Seconds",c[e]=h+"Milliseconds",c)[f],p=f===i?this.$D+(s-this.$W):s;if(f===a||f===l){var g=this.clone().set(u,1);g.$d[d](p),g.init(),this.$d=g.set(u,Math.min(this.$D,g.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},d.set=function(e,t){return this.clone().$set(e,t)},d.get=function(e){return this[_.p(e)]()},d.add=function(e,s){var u,c=this;e=Number(e);var f=_.p(s),h=function(t){var n=b(c);return _.w(n.date(n.date()+Math.round(t*e)),c)};if(f===a)return this.set(a,this.$M+e);if(f===l)return this.set(l,this.$y+e);if(f===i)return h(1);if(f===o)return h(7);var d=(u={},u[n]=6e4,u[r]=36e5,u[t]=1e3,u)[f]||1,p=this.$d.getTime()+e*d;return _.w(p,this)},d.subtract=function(e,t){return this.add(-1*e,t)},d.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=_.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,l=i.weekdays,u=i.months,c=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].substr(0,o)},h=function(e){return _.s(o%12||12,e,"0")},d=i.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:_.s(s+1,2,"0"),MMM:c(i.monthsShort,s,u,3),MMMM:c(u,s),D:this.$D,DD:_.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,l,2),ddd:c(i.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(o),HH:_.s(o,2,"0"),h:h(1),hh:h(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:_.s(a,2,"0"),s:String(this.$s),ss:_.s(this.$s,2,"0"),SSS:_.s(this.$ms,3,"0"),Z:r};return n.replace(f,(function(e,t){return t||p[e]||r.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(e,u,c){var f,h=_.p(u),d=b(e),p=6e4*(d.utcOffset()-this.utcOffset()),g=this-d,v=_.m(this,d);return v=(f={},f[l]=v/12,f[a]=v,f[s]=v/3,f[o]=(g-p)/6048e5,f[i]=(g-p)/864e5,f[r]=g/36e5,f[n]=g/6e4,f[t]=g/1e3,f)[h]||g,c?v:_.a(v)},d.daysInMonth=function(){return this.endOf(a).$D},d.$locale=function(){return v[this.$L]},d.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=m(e,t,!0);return r&&(n.$L=r),n},d.clone=function(){return _.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},h}(),w=x.prototype;return b.prototype=w,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W",i],["$M",a],["$y",l],["$D",u]].forEach((function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),b.extend=function(e,t){return e(t,x,b),b},b.locale=m,b.isDayjs=y,b.unix=function(e){return b(1e3*e)},b.en=v[g],b.Ls=v,b}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(20)),s=function(){function e(t){r(this,e),this._val=new a.default(t)}return o(e,[{key:"plus",value:function(e){return this._val=this._val.plus(e),this._val}},{key:"minus",value:function(e){return this._val=this._val.minus(e),this._val}},{key:"times",value:function(e){return this._val=this._val.times(e),this._val}},{key:"div",value:function(e){return this._val=this._val.div(e),this._val}},{key:"mod",value:function(e){return this._val=this._val.mod(e),this._val}},{key:"abs",value:function(){return this._val=this._val.abs(),this._val}},{key:"gt",value:function(e){return this._val.gt(e)}},{key:"gte",value:function(e){return this._val.gte(e)}},{key:"lt",value:function(e){return this._val.lt(e)}},{key:"lte",value:function(e){return this._val.lte(e)}}],[{key:"toNumber",value:function(e){return Number(e)||0}}]),e}(),l=s;t.default=l},function(e,t,n){var r;!function(i){"use strict";function o(){function e(t){var n=this;if(!(n instanceof e))return t===_?o():new e(t);t instanceof e?(n.s=t.s,n.e=t.e,n.c=t.c.slice()):a(n,t),n.constructor=e}return e.prototype=b,e.DP=c,e.RM=f,e.NE=d,e.PE=p,e.version="5.2.2",e}function a(e,t){var n,r,i;if(0===t&&1/t<0)t="-0";else if(!x.test(t+=""))throw Error(v+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),i=t.length,r=0;r<i&&"0"==t.charAt(r);)++r;if(r==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=n-r-1,e.c=[],n=0;r<=i;)e.c[n++]=+t.charAt(r++)}return e}function s(e,t,n,r){var i=e.c,o=e.e+t+1;if(o<i.length){if(1===n)r=i[o]>=5;else if(2===n)r=i[o]>5||5==i[o]&&(r||o<0||i[o+1]!==_||1&i[o-1]);else if(3===n)r=r||!!i[0];else if(r=!1,0!==n)throw Error(m);if(o<1)i.length=1,r?(e.e=-t,i[0]=1):i[0]=e.e=0;else{if(i.length=o--,r)for(;++i[o]>9;)i[o]=0,o--||(++e.e,i.unshift(1));for(o=i.length;!i[--o];)i.pop()}}else if(n<0||n>3||n!==~~n)throw Error(m);return e}function l(e,t,n,r){var i,o,a=e.constructor,l=!e.c[0];if(n!==_){if(n!==~~n||n<(3==t)||n>h)throw Error(3==t?v+"precision":y);for(e=new a(e),n=r-e.e,e.c.length>++r&&s(e,n,a.RM),2==t&&(r=e.e+n+1);e.c.length<r;)e.c.push(0)}if(i=e.e,o=e.c.join(""),n=o.length,2!=t&&(1==t||3==t&&r<=i||i<=a.NE||i>=a.PE))o=o.charAt(0)+(n>1?"."+o.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)o="0"+o;o="0."+o}else if(i>0)if(++i>n)for(i-=n;i--;)o+="0";else i<n&&(o=o.slice(0,i)+"."+o.slice(i));else n>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&(!l||4==t)?"-"+o:o}var u,c=20,f=1,h=1e6,d=-7,p=21,g="[big.js] ",v=g+"Invalid ",y=v+"decimal places",m=v+"rounding mode",b={},_=void 0,x=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;b.abs=function(){var e=new this.constructor(this);return e.s=1,e},b.cmp=function(e){var t,n=this,r=n.c,i=(e=new n.constructor(e)).c,o=n.s,a=e.s,s=n.e,l=e.e;if(!r[0]||!i[0])return r[0]?o:i[0]?-a:0;if(o!=a)return o;if(t=o<0,s!=l)return s>l^t?1:-1;for(a=(s=r.length)<(l=i.length)?s:l,o=-1;++o<a;)if(r[o]!=i[o])return r[o]>i[o]^t?1:-1;return s==l?0:s>l^t?1:-1},b.div=function(e){var t=this,n=t.constructor,r=t.c,i=(e=new n(e)).c,o=t.s==e.s?1:-1,a=n.DP;if(a!==~~a||a<0||a>h)throw Error(y);if(!i[0])throw Error("[big.js] Division by zero");if(!r[0])return new n(0*o);var l,u,c,f,d,p=i.slice(),g=l=i.length,v=r.length,m=r.slice(0,l),b=m.length,x=e,w=x.c=[],S=0,k=a+(x.e=t.e-e.e)+1;for(x.s=o,o=k<0?0:k,p.unshift(0);b++<l;)m.push(0);do{for(c=0;c<10;c++){if(l!=(b=m.length))f=l>b?1:-1;else for(d=-1,f=0;++d<l;)if(i[d]!=m[d]){f=i[d]>m[d]?1:-1;break}if(!(f<0))break;for(u=b==l?i:p;b;){if(m[--b]<u[b]){for(d=b;d&&!m[--d];)m[d]=9;--m[d],m[b]+=10}m[b]-=u[b]}for(;!m[0];)m.shift()}w[S++]=f?c:++c,m[0]&&f?m[b]=r[g]||0:m=[r[g]]}while((g++<v||m[0]!==_)&&o--);return w[0]||1==S||(w.shift(),x.e--),S>k&&s(x,a,n.RM,m[0]!==_),x},b.eq=function(e){return!this.cmp(e)},b.gt=function(e){return this.cmp(e)>0},b.gte=function(e){return this.cmp(e)>-1},b.lt=function(e){return this.cmp(e)<0},b.lte=function(e){return this.cmp(e)<1},b.minus=b.sub=function(e){var t,n,r,i,o=this,a=o.constructor,s=o.s,l=(e=new a(e)).s;if(s!=l)return e.s=-l,o.plus(e);var u=o.c.slice(),c=o.e,f=e.c,h=e.e;if(!u[0]||!f[0])return f[0]?(e.s=-l,e):new a(u[0]?o:0);if(s=c-h){for((i=s<0)?(s=-s,r=u):(h=c,r=f),r.reverse(),l=s;l--;)r.push(0);r.reverse()}else for(n=((i=u.length<f.length)?u:f).length,s=l=0;l<n;l++)if(u[l]!=f[l]){i=u[l]<f[l];break}if(i&&(r=u,u=f,f=r,e.s=-e.s),(l=(n=f.length)-(t=u.length))>0)for(;l--;)u[t++]=0;for(l=t;n>s;){if(u[--n]<f[n]){for(t=n;t&&!u[--t];)u[t]=9;--u[t],u[n]+=10}u[n]-=f[n]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--h;return u[0]||(e.s=1,u=[h=0]),e.c=u,e.e=h,e},b.mod=function(e){var t,n=this,r=n.constructor,i=n.s,o=(e=new r(e)).s;if(!e.c[0])throw Error("[big.js] Division by zero");return n.s=e.s=1,t=1==e.cmp(n),n.s=i,e.s=o,t?new r(n):(i=r.DP,o=r.RM,r.DP=r.RM=0,n=n.div(e),r.DP=i,r.RM=o,this.minus(n.times(e)))},b.plus=b.add=function(e){var t,n=this,r=n.constructor,i=n.s,o=(e=new r(e)).s;if(i!=o)return e.s=-o,n.minus(e);var a=n.e,s=n.c,l=e.e,u=e.c;if(!s[0]||!u[0])return u[0]?e:new r(s[0]?n:0*i);if(s=s.slice(),i=a-l){for(i>0?(l=a,t=u):(i=-i,t=s),t.reverse();i--;)t.push(0);t.reverse()}for(s.length-u.length<0&&(t=u,u=s,s=t),i=u.length,o=0;i;s[i]%=10)o=(s[--i]=s[i]+u[i]+o)/10|0;for(o&&(s.unshift(o),++l),i=s.length;0===s[--i];)s.pop();return e.c=s,e.e=l,e},b.pow=function(e){var t=this,n=new t.constructor(1),r=n,i=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(v+"exponent");for(i&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return i?n.div(r):r},b.round=function(e,t){var n=this.constructor;if(e===_)e=0;else if(e!==~~e||e<-h||e>h)throw Error(y);return s(new n(this),e,t===_?n.RM:t)},b.sqrt=function(){var e,t,n,r=this,i=r.constructor,o=r.s,a=r.e,l=new i(.5);if(!r.c[0])return new i(r);if(o<0)throw Error(g+"No square root");o=Math.sqrt(r+""),0===o||o===1/0?(t=r.c.join(""),t.length+a&1||(t+="0"),o=Math.sqrt(t),a=((a+1)/2|0)-(a<0||1&a),e=new i((o==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):e=new i(o),a=e.e+(i.DP+=4);do{n=e,e=l.times(n.plus(r.div(n)))}while(n.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return s(e,i.DP-=4,i.RM)},b.times=b.mul=function(e){var t,n=this,r=n.constructor,i=n.c,o=(e=new r(e)).c,a=i.length,s=o.length,l=n.e,u=e.e;if(e.s=n.s==e.s?1:-1,!i[0]||!o[0])return new r(0*e.s);for(e.e=l+u,a<s&&(t=i,i=o,o=t,u=a,a=s,s=u),t=new Array(u=a+s);u--;)t[u]=0;for(l=s;l--;){for(s=0,u=a+l;u>l;)s=t[u]+o[l]*i[u-l-1]+s,t[u--]=s%10,s=s/10|0;t[u]=(t[u]+s)%10}for(s?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},b.toExponential=function(e){return l(this,1,e,e)},b.toFixed=function(e){return l(this,2,e,this.e+e)},b.toPrecision=function(e){return l(this,3,e,e-1)},b.toString=function(){return l(this)},b.valueOf=b.toJSON=function(){return l(this,4)},u=o(),u.default=u.Big=u,void 0!==(r=function(){return u}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),s=function(){function e(){r(this,e)}return o(e,null,[{key:"extractJwtPayload",value:function(e){if(!e)throw Error("缺少jwt");var t=e.split(".");if(3!==t.length)throw Error("jwt格式不正确");return t[1]}},{key:"payloadAtob",value:function(e){var t=this.extractJwtPayload(e),n=window.atob(t);return JSON.parse(n)}},{key:"vaJwtExpired",value:function(e,t){var n=1e3*this.payloadAtob(e).exp;return t?t(n):new a.default(n).isBefore(new Date)}},{key:"vaVisibilityChange",value:function(e){window.addEventListener("visibilitychange",e)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return l(e)||s(e)||a(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function s(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Id",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Children";return e.reduce((function(e,i){return e.concat(i[n]==t?i:c(i[r]||[],t,n,r))}),[])}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Children";return e.reduce((function(e,n){return e.concat(n,n[t]?f(n[t],t):[])}),[])}function h(e,t){return e.reduce((function(e,n){return e.concat(n[t]||[],n[t]?h([n[t]],t):[])}),[])}function d(e,t,n){e[t]&&(n&&n(e[t]),d(e[t],t,n))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{id:"id",pid:"pid",children:"children"},n=[],r={},o=[0,"0",void 0,"undefined",null,"null","00000000-0000-0000-0000-000000000000",""];return e.forEach((function(a){var s,l=e.filter((function(e){return e[t.pid]===a[t.id]}));a[t.children]&&a[t.children]instanceof Array&&a[t.children].length>0?(a[t.children].map((function(e){return r[e[t.id]]=1})),(s=a[t.children]).push.apply(s,i(l.filter((function(e){return 1!==r[e[t.id]]}))))):a[t.children]=l;var u=l.length>0;(u||!u&&o.includes(a[t.pid]))&&n.push(a)})),n.every((function(e){return o.includes(e[t.pid])}))?n:p(n,t)}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{Id:"Id",ParentId:"ParentId",Parents:"Parents",IdentityId:"IdentityId",root:"00000000-0000-0000-0000-000000000000"},r=[],o=[];return e.forEach((function(t){if(!e.find((function(e){return e[n.Id]===t[n.ParentId]}))&&t[n.ParentId]!==n.root){var r=t[n.Parents].substring(1,t[n.Parents].length-1).split(",").filter((function(e){return!!e})),i=r.filter((function(t){return-1===e.findIndex((function(e){return e[n.IdentityId]==t}))}));o=o.concat(i)}})),i(new Set(o)).forEach((function(e){r.push(t.find((function(t){return t[n.IdentityId]==e})))})),r.concat(e)}function v(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(1===e.length)return{item:e.Parent?e.Parent:{Id:r?e[0].ParentId:""},after_data:[]};var i=e.filter((function(e){return e.Id!==t}));if(n&&t!==n)return{item:null,after_data:i};var o=e.findIndex((function(e){return e.Id===t})),a=o>0?e[o-1]:null;return{item:(o!==e.length-1?e[o+1]:null)||a,after_data:i}}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{pathName:"name",pathConnector:"\\",pathId:"id",pathParents:"parents",pathIdentityId:"identityId"},r=e.find((function(e){return e[n.pathId]===t[n.pathId]}));if(!r)return"";if(!r[n.pathParents])return r[n.pathName];var i=r[n.pathParents].substring(1,r[n.pathParents].length-1).split(",").filter((function(e){return!!e})),o="";return i.forEach((function(t){var r=e.find((function(e){return e[n.pathIdentityId]==t}));o+="".concat(r[n.pathName]).concat(n.pathConnector)})),o+r[n.pathName]}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Id";if(![null,"null",void 0,"undefined"].includes(t)){var r=[];return t.forEach((function(t){var i=e.find((function(e){return e[n]===t}));i&&r.push(i)})),r}}function b(e){if(!e&&"object"!==r(e))throw new Error("error arguments","shallowClone");var t=e.constructor===Array?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"===r(e[n])?(t[n]=e[n].constructor===Array?[]:{},t[n]=b(e[n])):t[n]=e[n]})),t}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t?e.map((function(e){return e[t]})):e,o=n?r.map((function(e){return w.default.init(e).valueOf()})):r;return Math.max.apply(Math,i(o))}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t?e.map((function(e){return e[t]})):e,o=n?r.map((function(e){return w.default.init(e).valueOf()})):r;return Math.min.apply(Math,i(o))}Object.defineProperty(t,"__esModule",{value:!0}),t.valInDeep=c,t.flattenDeep=f,t.flattenDeepParents=h,t.regDeepParents=d,t.arrayToTree=p,t.patchTreeChain=g,t.locationAfterDelete=v,t.splicParentsUntil=y,t.intersectionBy=m,t.deepClone=b,t.getMax=_,t.getMin=x,t.depData=t.unique=void 0;var w=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),S=function(e,t){var n=[];return t?e.forEach((function(e){n.find((function(n){return n[t]==e[t]}))||n.push(e)})):e.forEach((function(e){n.includes(e)||n.push(e)})),n};t.unique=S;var k=function(e,t){var n=[];return e.filter((function(e){var r=t?e[t]:e;if(n.includes(r))return e;n.push(r)}))};t.depData=k},function(e,t,n){"use strict";function r(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=i(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function i(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t,n){!t||s(t)?n():n(new Error("请输入正确的手机号!"))}function s(e){return/^1[3-9][0-9]{9}/.test(e)}function l(e){return!Number.isNaN(Math.sign(e))}function u(e){return/^[0-9]*$/.test(value)}function c(e,t,n){var i,o=e.filter((function(e){return e.validate})),a=r(o);try{for(a.s();!(i=a.n()).done;)for(var s=i.value,l=0;l<t;l++){var u=n.$refs[s.prop+l].validate();if(!u)return!1}}catch(e){a.e(e)}finally{a.f()}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.vaPhone=a,t.regPhone=s,t.isNum=l,t.isInteger=u,t.validate=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=t.throttle=void 0;var r=function(e,t){var n,r;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=this,l=+new Date;n&&l<n+t?(r&&clearTimeout(r),r=setTimeout((function(){n=l,e.apply(s,o)}),t)):(n=l,e.apply(s,o))}};t.throttle=r;var i=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=this;t&&clearTimeout(t),t=setTimeout((function(){e.apply(a,i)}),n)}};t.debounce=i},function(e,t,n){"use strict";function r(e){if("application/json"==e.data.type){var t=new FileReader;return t.readAsText(e.data,"utf-8"),void(t.onload=function(){var e=JSON.parse(t.result);throw Error(e.Message)})}var n="content-disposition"in e.headers?decodeURIComponent(e.headers["content-disposition"].split(";")[1].split("=")[1].replace(/"/g,"")):"下载文件";try{if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(e.data,n);else{var r=new Blob([e.data],{type:"application/vnd.ms-excel"}),i=URL.createObjectURL(r),o=document.createElement("a");o.setAttribute("href",i),o.setAttribute("download",n),o.style.display="none",document.body.appendChild(o),o.click(),URL.revokeObjectURL(i),document.body.removeChild(o)}}catch(e){throw Error(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.download=r},function(e,t,n){(function(e,r){var i;(function(){function o(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function l(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function u(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function c(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function f(e,t){return!(null==e||!e.length)&&w(e,t,0)>-1}function h(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function d(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function p(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function g(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function v(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function y(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function m(e){return e.split("")}function b(e){return e.match(Nt)||[]}function _(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function x(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function w(e,t,n){return t===t?K(e,t,n):x(e,k,n)}function S(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function k(e){return e!==e}function E(e,t){var n=null==e?0:e.length;return n?P(e,t)/n:Ie}function O(e){return function(t){return null==t?ne:t[e]}}function C(e){return function(t){return null==e?ne:e[t]}}function A(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function T(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function P(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==ne&&(n=n===ne?o:n+o)}return n}function M(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function D(e,t){return d(t,(function(t){return[t,e[t]]}))}function I(e){return function(t){return e(t)}}function L(e,t){return d(t,(function(t){return e[t]}))}function R(e,t){return e.has(t)}function j(e,t){for(var n=-1,r=e.length;++n<r&&w(t,e[n],0)>-1;);return n}function N(e,t){for(var n=e.length;n--&&w(t,e[n],0)>-1;);return n}function B(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function F(e){return"\\"+En[e]}function z(e,t){return null==e?ne:e[t]}function U(e){return vn.test(e)}function H(e){return yn.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function W(e,t){return function(n){return e(t(n))}}function q(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==le||(e[n]=le,o[i++]=n)}return o}function X(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Y(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function K(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function $(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Z(e){return U(e)?Q(e):Hn(e)}function J(e){return U(e)?ee(e):m(e)}function Q(e){for(var t=pn.lastIndex=0;pn.test(e);)++t;return t}function ee(e){return e.match(pn)||[]}function te(e){return e.match(gn)||[]}var ne,re=200,ie="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",oe="Expected a function",ae="__lodash_hash_undefined__",se=500,le="__lodash_placeholder__",ue=1,ce=2,fe=4,he=1,de=2,pe=1,ge=2,ve=4,ye=8,me=16,be=32,_e=64,xe=128,we=256,Se=512,ke=30,Ee="...",Oe=800,Ce=16,Ae=1,Te=2,Pe=1/0,Me=9007199254740991,De=17976931348623157e292,Ie=NaN,Le=4294967295,Re=Le-1,je=Le>>>1,Ne=[["ary",xe],["bind",pe],["bindKey",ge],["curry",ye],["curryRight",me],["flip",Se],["partial",be],["partialRight",_e],["rearg",we]],Be="[object Arguments]",Fe="[object Array]",ze="[object AsyncFunction]",Ue="[object Boolean]",He="[object Date]",Ve="[object DOMException]",Ge="[object Error]",We="[object Function]",qe="[object GeneratorFunction]",Xe="[object Map]",Ye="[object Number]",Ke="[object Null]",$e="[object Object]",Ze="[object Proxy]",Je="[object RegExp]",Qe="[object Set]",et="[object String]",tt="[object Symbol]",nt="[object Undefined]",rt="[object WeakMap]",it="[object WeakSet]",ot="[object ArrayBuffer]",at="[object DataView]",st="[object Float32Array]",lt="[object Float64Array]",ut="[object Int8Array]",ct="[object Int16Array]",ft="[object Int32Array]",ht="[object Uint8Array]",dt="[object Uint8ClampedArray]",pt="[object Uint16Array]",gt="[object Uint32Array]",vt=/\b__p \+= '';/g,yt=/\b(__p \+=) '' \+/g,mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bt=/&(?:amp|lt|gt|quot|#39);/g,_t=/[&<>"']/g,xt=RegExp(bt.source),wt=RegExp(_t.source),St=/<%-([\s\S]+?)%>/g,kt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ct=/^\w*$/,At=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tt=/[\\^$.*+?()[\]{}|]/g,Pt=RegExp(Tt.source),Mt=/^\s+|\s+$/g,Dt=/^\s+/,It=/\s+$/,Lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Rt=/\{\n\/\* \[wrapped with (.+)\] \*/,jt=/,? & /,Nt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bt=/\\(\\)?/g,Ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zt=/\w*$/,Ut=/^[-+]0x[0-9a-f]+$/i,Ht=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,Gt=/^0o[0-7]+$/i,Wt=/^(?:0|[1-9]\d*)$/,qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xt=/($^)/,Yt=/['\n\r\u2028\u2029\\]/g,Kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$t="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zt="["+$t+"]",Jt="["+Kt+"]",Qt="[a-z\\xdf-\\xf6\\xf8-\\xff]",en="[^\\ud800-\\udfff"+$t+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",tn="\\ud83c[\\udffb-\\udfff]",nn="(?:\\ud83c[\\udde6-\\uddff]){2}",rn="[\\ud800-\\udbff][\\udc00-\\udfff]",on="[A-Z\\xc0-\\xd6\\xd8-\\xde]",an="(?:"+Qt+"|"+en+")",sn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ln="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",nn,rn].join("|")+")[\\ufe0e\\ufe0f]?"+sn+")*",un="[\\ufe0e\\ufe0f]?"+sn+ln,cn="(?:"+["[\\u2700-\\u27bf]",nn,rn].join("|")+")"+un,fn="(?:"+["[^\\ud800-\\udfff]"+Jt+"?",Jt,nn,rn,"[\\ud800-\\udfff]"].join("|")+")",hn=RegExp("[']","g"),dn=RegExp(Jt,"g"),pn=RegExp(tn+"(?="+tn+")|"+fn+un,"g"),gn=RegExp([on+"?"+Qt+"+(?:['](?:d|ll|m|re|s|t|ve))?(?="+[Zt,on,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['](?:D|LL|M|RE|S|T|VE))?(?="+[Zt,on+an,"$"].join("|")+")",on+"?"+an+"+(?:['](?:d|ll|m|re|s|t|ve))?",on+"+(?:['](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",cn].join("|"),"g"),vn=RegExp("[\\u200d\\ud800-\\udfff"+Kt+"\\ufe0e\\ufe0f]"),yn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],bn=-1,_n={};_n[st]=_n[lt]=_n[ut]=_n[ct]=_n[ft]=_n[ht]=_n[dt]=_n[pt]=_n[gt]=!0,_n[Be]=_n[Fe]=_n[ot]=_n[Ue]=_n[at]=_n[He]=_n[Ge]=_n[We]=_n[Xe]=_n[Ye]=_n[$e]=_n[Je]=_n[Qe]=_n[et]=_n[rt]=!1;var xn={};xn[Be]=xn[Fe]=xn[ot]=xn[at]=xn[Ue]=xn[He]=xn[st]=xn[lt]=xn[ut]=xn[ct]=xn[ft]=xn[Xe]=xn[Ye]=xn[$e]=xn[Je]=xn[Qe]=xn[et]=xn[tt]=xn[ht]=xn[dt]=xn[pt]=xn[gt]=!0,xn[Ge]=xn[We]=xn[rt]=!1;var wn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Sn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},kn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},En={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},On=parseFloat,Cn=parseInt,An="object"==typeof e&&e&&e.Object===Object&&e,Tn="object"==typeof self&&self&&self.Object===Object&&self,Pn=An||Tn||Function("return this")(),Mn="object"==typeof t&&t&&!t.nodeType&&t,Dn=Mn&&"object"==typeof r&&r&&!r.nodeType&&r,In=Dn&&Dn.exports===Mn,Ln=In&&An.process,Rn=function(){try{var e=Dn&&Dn.require&&Dn.require("util").types;return e||Ln&&Ln.binding&&Ln.binding("util")}catch(e){}}(),jn=Rn&&Rn.isArrayBuffer,Nn=Rn&&Rn.isDate,Bn=Rn&&Rn.isMap,Fn=Rn&&Rn.isRegExp,zn=Rn&&Rn.isSet,Un=Rn&&Rn.isTypedArray,Hn=O("length"),Vn=C(wn),Gn=C(Sn),Wn=C(kn),qn=function e(t){function n(e){if(tl(e)&&!dh(e)&&!(e instanceof m)){if(e instanceof i)return e;if(hc.call(e,"__wrapped__"))return Jo(e)}return new i(e)}function r(){}function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=ne}function m(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Le,this.__views__=[]}function C(){var e=new m(this.__wrapped__);return e.__actions__=Di(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Di(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Di(this.__views__),e}function K(){if(this.__filtered__){var e=new m(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Q(){var e=this.__wrapped__.value(),t=this.__dir__,n=dh(e),r=t<0,i=n?e.length:0,o=wo(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,h=0,d=Hc(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return gi(e,this.__actions__);var p=[];e:for(;l--&&h<d;){u+=t;for(var g=-1,v=e[u];++g<f;){var y=c[g],m=y.iteratee,b=y.type,_=m(v);if(b==Te)v=_;else if(!_){if(b==Ae)continue e;break e}}p[h++]=v}return p}function ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nt(){this.__data__=Jc?Jc(null):{},this.size=0}function Kt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function $t(e){var t=this.__data__;if(Jc){var n=t[e];return n===ae?ne:n}return hc.call(t,e)?t[e]:ne}function Zt(e){var t=this.__data__;return Jc?t[e]!==ne:hc.call(t,e)}function Jt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Jc&&t===ne?ae:t,this}function Qt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__=[],this.size=0}function tn(e){var t=this.__data__,n=Xn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Oc.call(t,n,1),--this.size,!0)}function nn(e){var t=this.__data__,n=Xn(t,e);return n<0?ne:t[n][1]}function rn(e){return Xn(this.__data__,e)>-1}function on(e,t){var n=this.__data__,r=Xn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function an(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sn(){this.size=0,this.__data__={hash:new ee,map:new(Yc||Qt),string:new ee}}function ln(e){var t=mo(this,e).delete(e);return this.size-=t?1:0,t}function un(e){return mo(this,e).get(e)}function cn(e){return mo(this,e).has(e)}function fn(e,t){var n=mo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function pn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new an;++t<n;)this.add(e[t])}function gn(e){return this.__data__.set(e,ae),this}function vn(e){return this.__data__.has(e)}function yn(e){var t=this.__data__=new Qt(e);this.size=t.size}function wn(){this.__data__=new Qt,this.size=0}function Sn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kn(e){return this.__data__.get(e)}function En(e){return this.__data__.has(e)}function An(e,t){var n=this.__data__;if(n instanceof Qt){var r=n.__data__;if(!Yc||r.length<re-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new an(r)}return n.set(e,t),this.size=n.size,this}function Tn(e,t){var n=dh(e),r=!n&&hh(e),i=!n&&!r&&gh(e),o=!n&&!r&&!i&&_h(e),a=n||r||i||o,s=a?M(e.length,oc):[],l=s.length;for(var u in e)!t&&!hc.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Po(u,l))||s.push(u);return s}function Mn(e){var t=e.length;return t?e[$r(0,t-1)]:ne}function Dn(e,t){return Yo(Di(e),Qn(t,0,e.length))}function Ln(e){return Yo(Di(e))}function Rn(e,t,n){(n===ne||Us(e[t],n))&&(n!==ne||t in e)||Zn(e,t,n)}function Hn(e,t,n){var r=e[t];hc.call(e,t)&&Us(r,n)&&(n!==ne||t in e)||Zn(e,t,n)}function Xn(e,t){for(var n=e.length;n--;)if(Us(e[n][0],t))return n;return-1}function Yn(e,t,n,r){return ff(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Kn(e,t){return e&&Ii(t,jl(t),e)}function $n(e,t){return e&&Ii(t,Nl(t),e)}function Zn(e,t,n){"__proto__"==t&&Pc?Pc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Jn(e,t){for(var n=-1,r=t.length,i=Ju(r),o=null==e;++n<r;)i[n]=o?ne:Il(e,t[n]);return i}function Qn(e,t,n){return e===e&&(n!==ne&&(e=e<=n?e:n),t!==ne&&(e=e>=t?e:t)),e}function er(e,t,n,r,i,o){var a,l=t&ue,u=t&ce,c=t&fe;if(n&&(a=i?n(e,r,i,o):n(e)),a!==ne)return a;if(!el(e))return e;var f=dh(e);if(f){if(a=Eo(e),!l)return Di(e,a)}else{var h=Sf(e),d=h==We||h==qe;if(gh(e))return wi(e,l);if(h==$e||h==Be||d&&!i){if(a=u||d?{}:Oo(e),!l)return u?Ri(e,$n(a,e)):Li(e,Kn(a,e))}else{if(!xn[h])return i?e:{};a=Co(e,h,l)}}o||(o=new yn);var p=o.get(e);if(p)return p;o.set(e,a),bh(e)?e.forEach((function(r){a.add(er(r,t,n,r,e,o))})):yh(e)&&e.forEach((function(r,i){a.set(i,er(r,t,n,i,e,o))}));var g=c?u?po:ho:u?Nl:jl,v=f?ne:g(e);return s(v||e,(function(r,i){v&&(i=r,r=e[i]),Hn(a,i,er(r,t,n,i,e,o))})),a}function tr(e){var t=jl(e);return function(n){return nr(n,e,t)}}function nr(e,t,n){var r=n.length;if(null==e)return!r;for(e=rc(e);r--;){var i=n[r],o=t[i],a=e[i];if(a===ne&&!(i in e)||!o(a))return!1}return!0}function rr(e,t,n){if("function"!=typeof e)throw new ac(oe);return Of((function(){e.apply(ne,n)}),t)}function ir(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=d(t,I(n))),r?(o=h,a=!1):t.length>=re&&(o=R,a=!1,t=new pn(t));e:for(;++i<s;){var c=e[i],p=null==n?c:n(c);if(c=r||0!==c?c:0,a&&p===p){for(var g=u;g--;)if(t[g]===p)continue e;l.push(c)}else o(t,p,r)||l.push(c)}return l}function or(e,t){var n=!0;return ff(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ar(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(s===ne?a===a&&!hl(a):n(a,s)))var s=a,l=o}return l}function sr(e,t,n,r){var i=e.length;for(n=ml(n),n<0&&(n=-n>i?0:i+n),r=r===ne||r>i?i:ml(r),r<0&&(r+=i),r=n>r?0:bl(r);n<r;)e[n++]=t;return e}function lr(e,t){var n=[];return ff(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function ur(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=To),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?ur(s,t-1,n,r,i):p(i,s):r||(i[i.length]=s)}return i}function cr(e,t){return e&&df(e,t,jl)}function fr(e,t){return e&&pf(e,t,jl)}function hr(e,t){return c(t,(function(t){return Zs(e[t])}))}function dr(e,t){t=_i(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[Ko(t[n++])];return n&&n==r?e:ne}function pr(e,t,n){var r=t(e);return dh(e)?r:p(r,n(e))}function gr(e){return null==e?e===ne?nt:Ke:Tc&&Tc in rc(e)?xo(e):Uo(e)}function vr(e,t){return e>t}function yr(e,t){return null!=e&&hc.call(e,t)}function mr(e,t){return null!=e&&t in rc(e)}function br(e,t,n){return e>=Hc(t,n)&&e<Uc(t,n)}function _r(e,t,n){for(var r=n?h:f,i=e[0].length,o=e.length,a=o,s=Ju(o),l=1/0,u=[];a--;){var c=e[a];a&&t&&(c=d(c,I(t))),l=Hc(c.length,l),s[a]=!n&&(t||i>=120&&c.length>=120)?new pn(a&&c):ne}c=e[0];var p=-1,g=s[0];e:for(;++p<i&&u.length<l;){var v=c[p],y=t?t(v):v;if(v=n||0!==v?v:0,!(g?R(g,y):r(u,y,n))){for(a=o;--a;){var m=s[a];if(!(m?R(m,y):r(e[a],y,n)))continue e}g&&g.push(y),u.push(v)}}return u}function xr(e,t,n,r){return cr(e,(function(e,i,o){t(r,n(e),i,o)})),r}function wr(e,t,n){t=_i(t,e),e=Vo(e,t);var r=null==e?e:e[Ko(ya(t))];return null==r?ne:o(r,e,n)}function Sr(e){return tl(e)&&gr(e)==Be}function kr(e){return tl(e)&&gr(e)==ot}function Er(e){return tl(e)&&gr(e)==He}function Or(e,t,n,r,i){return e===t||(null==e||null==t||!tl(e)&&!tl(t)?e!==e&&t!==t:Cr(e,t,n,r,Or,i))}function Cr(e,t,n,r,i,o){var a=dh(e),s=dh(t),l=a?Fe:Sf(e),u=s?Fe:Sf(t);l=l==Be?$e:l,u=u==Be?$e:u;var c=l==$e,f=u==$e,h=l==u;if(h&&gh(e)){if(!gh(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new yn),a||_h(e)?lo(e,t,n,r,i,o):uo(e,t,l,n,r,i,o);if(!(n&he)){var d=c&&hc.call(e,"__wrapped__"),p=f&&hc.call(t,"__wrapped__");if(d||p){var g=d?e.value():e,v=p?t.value():t;return o||(o=new yn),i(g,v,n,r,o)}}return!!h&&(o||(o=new yn),co(e,t,n,r,i,o))}function Ar(e){return tl(e)&&Sf(e)==Xe}function Tr(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=rc(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var l=s[0],u=e[l],c=s[1];if(a&&s[2]){if(u===ne&&!(l in e))return!1}else{var f=new yn;if(r)var h=r(u,c,l,e,t,f);if(!(h===ne?Or(c,u,he|de,r,f):h))return!1}}return!0}function Pr(e){return!(!el(e)||Ro(e))&&(Zs(e)?mc:Vt).test($o(e))}function Mr(e){return tl(e)&&gr(e)==Je}function Dr(e){return tl(e)&&Sf(e)==Qe}function Ir(e){return tl(e)&&Qs(e.length)&&!!_n[gr(e)]}function Lr(e){return"function"==typeof e?e:null==e?Ou:"object"==typeof e?dh(e)?zr(e[0],e[1]):Fr(e):Lu(e)}function Rr(e){if(!jo(e))return zc(e);var t=[];for(var n in rc(e))hc.call(e,n)&&"constructor"!=n&&t.push(n);return t}function jr(e){if(!el(e))return zo(e);var t=jo(e),n=[];for(var r in e)("constructor"!=r||!t&&hc.call(e,r))&&n.push(r);return n}function Nr(e,t){return e<t}function Br(e,t){var n=-1,r=Hs(e)?Ju(e.length):[];return ff(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Fr(e){var t=bo(e);return 1==t.length&&t[0][2]?Bo(t[0][0],t[0][1]):function(n){return n===e||Tr(n,e,t)}}function zr(e,t){return Do(e)&&No(t)?Bo(Ko(e),t):function(n){var r=Il(n,e);return r===ne&&r===t?Rl(n,e):Or(t,r,he|de)}}function Ur(e,t,n,r,i){e!==t&&df(t,(function(o,a){if(i||(i=new yn),el(o))Hr(e,t,a,n,Ur,r,i);else{var s=r?r(Wo(e,a),o,a+"",e,t,i):ne;s===ne&&(s=o),Rn(e,a,s)}}),Nl)}function Hr(e,t,n,r,i,o,a){var s=Wo(e,n),l=Wo(t,n),u=a.get(l);if(u)Rn(e,n,u);else{var c=o?o(s,l,n+"",e,t,a):ne,f=c===ne;if(f){var h=dh(l),d=!h&&gh(l),p=!h&&!d&&_h(l);c=l,h||d||p?dh(s)?c=s:Vs(s)?c=Di(s):d?(f=!1,c=wi(l,!0)):p?(f=!1,c=Ci(l,!0)):c=[]:ul(l)||hh(l)?(c=s,hh(s)?c=xl(s):el(s)&&!Zs(s)||(c=Oo(l))):f=!1}f&&(a.set(l,c),i(c,l,r,o,a),a.delete(l)),Rn(e,n,c)}}function Vr(e,t){var n=e.length;if(n)return t+=t<0?n:0,Po(t,n)?e[t]:ne}function Gr(e,t,n){t=t.length?d(t,(function(e){return dh(e)?function(t){return dr(t,1===e.length?e[0]:e)}:e})):[Ou];var r=-1;return t=d(t,I(yo())),T(Br(e,(function(e,n,i){return{criteria:d(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return Ti(e,t,n)}))}function Wr(e,t){return qr(e,t,(function(t,n){return Rl(e,n)}))}function qr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=dr(e,a);n(s,a)&&ni(o,_i(a,e),s)}return o}function Xr(e){return function(t){return dr(t,e)}}function Yr(e,t,n,r){var i=r?S:w,o=-1,a=t.length,s=e;for(e===t&&(t=Di(t)),n&&(s=d(e,I(n)));++o<a;)for(var l=0,u=t[o],c=n?n(u):u;(l=i(s,c,l,r))>-1;)s!==e&&Oc.call(s,l,1),Oc.call(e,l,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Po(i)?Oc.call(e,i,1):hi(e,i)}}return e}function $r(e,t){return e+Rc(Wc()*(t-e+1))}function Zr(e,t,n,r){for(var i=-1,o=Uc(Lc((t-e)/(n||1)),0),a=Ju(o);o--;)a[r?o:++i]=e,e+=n;return a}function Jr(e,t){var n="";if(!e||t<1||t>Me)return n;do{t%2&&(n+=e),(t=Rc(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Cf(Ho(e,t,Ou),e+"")}function ei(e){return Mn(Kl(e))}function ti(e,t){var n=Kl(e);return Yo(n,Qn(t,0,n.length))}function ni(e,t,n,r){if(!el(e))return e;t=_i(t,e);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var l=Ko(t[i]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var c=s[l];u=r?r(c,l,s):ne,u===ne&&(u=el(c)?c:Po(t[i+1])?[]:{})}Hn(s,l,u),s=s[l]}return e}function ri(e){return Yo(Kl(e))}function ii(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Ju(i);++r<i;)o[r]=e[r+t];return o}function oi(e,t){var n;return ff(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ai(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=je){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!hl(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return si(e,t,Ou,n)}function si(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;t=n(t);for(var a=t!==t,s=null===t,l=hl(t),u=t===ne;i<o;){var c=Rc((i+o)/2),f=n(e[c]),h=f!==ne,d=null===f,p=f===f,g=hl(f);if(a)var v=r||p;else v=u?p&&(r||h):s?p&&h&&(r||!d):l?p&&h&&!d&&(r||!g):!d&&!g&&(r?f<=t:f<t);v?i=c+1:o=c}return Hc(o,Re)}function li(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Us(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ui(e){return"number"==typeof e?e:hl(e)?Ie:+e}function ci(e){if("string"==typeof e)return e;if(dh(e))return d(e,ci)+"";if(hl(e))return uf?uf.call(e):"";var t=e+"";return"0"==t&&1/e==-Pe?"-0":t}function fi(e,t,n){var r=-1,i=f,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=h;else if(o>=re){var u=t?null:bf(e);if(u)return X(u);a=!1,i=R,l=new pn}else l=t?[]:s;e:for(;++r<o;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d===d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(c)}else i(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function hi(e,t){return t=_i(t,e),null==(e=Vo(e,t))||delete e[Ko(ya(t))]}function di(e,t,n,r){return ni(e,t,n(dr(e,t)),r)}function pi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ii(e,r?0:o,r?o+1:i):ii(e,r?o+1:0,r?i:o)}function gi(e,t){var n=e;return n instanceof m&&(n=n.value()),g(t,(function(e,t){return t.func.apply(t.thisArg,p([e],t.args))}),n)}function vi(e,t,n){var r=e.length;if(r<2)return r?fi(e[0]):[];for(var i=-1,o=Ju(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=ir(o[i]||a,e[s],t,n));return fi(ur(o,1),t,n)}function yi(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:ne;n(a,e[r],s)}return a}function mi(e){return Vs(e)?e:[]}function bi(e){return"function"==typeof e?e:Ou}function _i(e,t){return dh(e)?e:Do(e,t)?[e]:Af(Sl(e))}function xi(e,t,n){var r=e.length;return n=n===ne?r:n,!t&&n>=r?e:ii(e,t,n)}function wi(e,t){if(t)return e.slice();var n=e.length,r=wc?wc(n):new e.constructor(n);return e.copy(r),r}function Si(e){var t=new e.constructor(e.byteLength);return new xc(t).set(new xc(e)),t}function ki(e,t){var n=t?Si(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ei(e){var t=new e.constructor(e.source,zt.exec(e));return t.lastIndex=e.lastIndex,t}function Oi(e){return lf?rc(lf.call(e)):{}}function Ci(e,t){var n=t?Si(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var n=e!==ne,r=null===e,i=e===e,o=hl(e),a=t!==ne,s=null===t,l=t===t,u=hl(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function Ti(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Ai(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}function Pi(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,u=Uc(o-a,0),c=Ju(l+u),f=!r;++s<l;)c[s]=t[s];for(;++i<a;)(f||i<o)&&(c[n[i]]=e[i]);for(;u--;)c[s++]=e[i++];return c}function Mi(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=Uc(o-s,0),f=Ju(c+u),h=!r;++i<c;)f[i]=e[i];for(var d=i;++l<u;)f[d+l]=t[l];for(;++a<s;)(h||i<o)&&(f[d+n[a]]=e[i++]);return f}function Di(e,t){var n=-1,r=e.length;for(t||(t=Ju(r));++n<r;)t[n]=e[n];return t}function Ii(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):ne;l===ne&&(l=e[s]),i?Zn(n,s,l):Hn(n,s,l)}return n}function Li(e,t){return Ii(e,xf(e),t)}function Ri(e,t){return Ii(e,wf(e),t)}function ji(e,t){return function(n,r){var i=dh(n)?a:Yn,o=t?t():{};return i(n,e,yo(r,2),o)}}function Ni(e){return Qr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:ne,a=i>2?n[2]:ne;for(o=e.length>3&&"function"==typeof o?(i--,o):ne,a&&Mo(n[0],n[1],a)&&(o=i<3?ne:o,i=1),t=rc(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))}function Bi(e,t){return function(n,r){if(null==n)return n;if(!Hs(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=rc(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Fi(e){return function(t,n,r){for(var i=-1,o=rc(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function zi(e,t,n){function r(){return(this&&this!==Pn&&this instanceof r?o:e).apply(i?n:this,arguments)}var i=t&pe,o=Vi(e);return r}function Ui(e){return function(t){t=Sl(t);var n=U(t)?J(t):ne,r=n?n[0]:t.charAt(0),i=n?xi(n,1).join(""):t.slice(1);return r[e]()+i}}function Hi(e){return function(t){return g(xu(tu(t).replace(hn,"")),e,"")}}function Vi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=cf(e.prototype),r=e.apply(n,t);return el(r)?r:n}}function Gi(e,t,n){function r(){for(var a=arguments.length,s=Ju(a),l=a,u=vo(r);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:q(s,u);return(a-=c.length)<n?to(e,t,Xi,r.placeholder,ne,s,c,ne,ne,n-a):o(this&&this!==Pn&&this instanceof r?i:e,this,s)}var i=Vi(e);return r}function Wi(e){return function(t,n,r){var i=rc(t);if(!Hs(t)){var o=yo(n,3);t=jl(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:ne}}function qi(e){return fo((function(t){var n=t.length,r=n,o=i.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ac(oe);if(o&&!s&&"wrapper"==go(a))var s=new i([],!0)}for(r=s?r:n;++r<n;){a=t[r];var l=go(a),u="wrapper"==l?_f(a):ne;s=u&&Lo(u[0])&&u[1]==(xe|ye|be|we)&&!u[4].length&&1==u[9]?s[go(u[0])].apply(s,u[3]):1==a.length&&Lo(a)?s[l]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&dh(r))return s.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Xi(e,t,n,r,i,o,a,s,l,u){function c(){for(var y=arguments.length,m=Ju(y),b=y;b--;)m[b]=arguments[b];if(p)var _=vo(c),x=B(m,_);if(r&&(m=Pi(m,r,i,p)),o&&(m=Mi(m,o,a,p)),y-=x,p&&y<u){var w=q(m,_);return to(e,t,Xi,c.placeholder,n,m,w,s,l,u-y)}var S=h?n:this,k=d?S[e]:e;return y=m.length,s?m=Go(m,s):g&&y>1&&m.reverse(),f&&l<y&&(m.length=l),this&&this!==Pn&&this instanceof c&&(k=v||Vi(k)),k.apply(S,m)}var f=t&xe,h=t&pe,d=t&ge,p=t&(ye|me),g=t&Se,v=d?ne:Vi(e);return c}function Yi(e,t){return function(n,r){return xr(n,e,t(r),{})}}function Ki(e,t){return function(n,r){var i;if(n===ne&&r===ne)return t;if(n!==ne&&(i=n),r!==ne){if(i===ne)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=ui(n),r=ui(r)),i=e(n,r)}return i}}function $i(e){return fo((function(t){return t=d(t,I(yo())),Qr((function(n){var r=this;return e(t,(function(e){return o(e,r,n)}))}))}))}function Zi(e,t){t=t===ne?" ":ci(t);var n=t.length;if(n<2)return n?Jr(t,e):t;var r=Jr(t,Lc(e/Z(t)));return U(t)?xi(J(r),0,e).join(""):r.slice(0,e)}function Ji(e,t,n,r){function i(){for(var t=-1,l=arguments.length,u=-1,c=r.length,f=Ju(c+l),h=this&&this!==Pn&&this instanceof i?s:e;++u<c;)f[u]=r[u];for(;l--;)f[u++]=arguments[++t];return o(h,a?n:this,f)}var a=t&pe,s=Vi(e);return i}function Qi(e){return function(t,n,r){return r&&"number"!=typeof r&&Mo(t,n,r)&&(n=r=ne),t=yl(t),n===ne?(n=t,t=0):n=yl(n),r=r===ne?t<n?1:-1:yl(r),Zr(t,n,r,e)}}function eo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=_l(t),n=_l(n)),e(t,n)}}function to(e,t,n,r,i,o,a,s,l,u){var c=t&ye,f=c?a:ne,h=c?ne:a,d=c?o:ne,p=c?ne:o;t|=c?be:_e,(t&=~(c?_e:be))&ve||(t&=~(pe|ge));var g=[e,t,i,d,f,p,h,s,l,u],v=n.apply(ne,g);return Lo(e)&&Ef(v,g),v.placeholder=r,qo(v,e,t)}function no(e){var t=nc[e];return function(e,n){if(e=_l(e),(n=null==n?0:Hc(ml(n),292))&&Bc(e)){var r=(Sl(e)+"e").split("e");return r=(Sl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function ro(e){return function(t){var n=Sf(t);return n==Xe?G(t):n==Qe?Y(t):D(t,e(t))}}function io(e,t,n,r,i,o,a,s){var l=t&ge;if(!l&&"function"!=typeof e)throw new ac(oe);var u=r?r.length:0;if(u||(t&=~(be|_e),r=i=ne),a=a===ne?a:Uc(ml(a),0),s=s===ne?s:ml(s),u-=i?i.length:0,t&_e){var c=r,f=i;r=i=ne}var h=l?ne:_f(e),d=[e,t,n,r,i,c,f,o,a,s];if(h&&Fo(d,h),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=d[9]===ne?l?0:e.length:Uc(d[9]-u,0),!s&&t&(ye|me)&&(t&=~(ye|me)),t&&t!=pe)p=t==ye||t==me?Gi(e,t,s):t!=be&&t!=(pe|be)||i.length?Xi.apply(ne,d):Ji(e,t,n,r);else var p=zi(e,t,n);return qo((h?gf:Ef)(p,d),e,t)}function oo(e,t,n,r){return e===ne||Us(e,uc[n])&&!hc.call(r,n)?t:e}function ao(e,t,n,r,i,o){return el(e)&&el(t)&&(o.set(t,e),Ur(e,t,ne,ao,o),o.delete(t)),e}function so(e){return ul(e)?ne:e}function lo(e,t,n,r,i,o){var a=n&he,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,d=n&de?new pn:ne;for(o.set(e,t),o.set(t,e);++f<s;){var p=e[f],g=t[f];if(r)var v=a?r(g,p,f,t,e,o):r(p,g,f,e,t,o);if(v!==ne){if(v)continue;h=!1;break}if(d){if(!y(t,(function(e,t){if(!R(d,t)&&(p===e||i(p,e,n,r,o)))return d.push(t)}))){h=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function uo(e,t,n,r,i,o,a){switch(n){case at:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ot:return!(e.byteLength!=t.byteLength||!o(new xc(e),new xc(t)));case Ue:case He:case Ye:return Us(+e,+t);case Ge:return e.name==t.name&&e.message==t.message;case Je:case et:return e==t+"";case Xe:var s=G;case Qe:var l=r&he;if(s||(s=X),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=de,a.set(e,t);var c=lo(s(e),s(t),r,i,o,a);return a.delete(e),c;case tt:if(lf)return lf.call(e)==lf.call(t)}return!1}function co(e,t,n,r,i,o){var a=n&he,s=ho(e),l=s.length;if(l!=ho(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:hc.call(t,c)))return!1}var f=o.get(e),h=o.get(t);if(f&&h)return f==t&&h==e;var d=!0;o.set(e,t),o.set(t,e);for(var p=a;++u<l;){c=s[u];var g=e[c],v=t[c];if(r)var y=a?r(v,g,c,t,e,o):r(g,v,c,e,t,o);if(!(y===ne?g===v||i(g,v,n,r,o):y)){d=!1;break}p||(p="constructor"==c)}if(d&&!p){var m=e.constructor,b=t.constructor;m!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o.delete(e),o.delete(t),d}function fo(e){return Cf(Ho(e,ne,ua),e+"")}function ho(e){return pr(e,jl,xf)}function po(e){return pr(e,Nl,wf)}function go(e){for(var t=e.name+"",n=ef[t],r=hc.call(ef,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function vo(e){return(hc.call(n,"placeholder")?n:e).placeholder}function yo(){var e=n.iteratee||Cu;return e=e===Cu?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function mo(e,t){var n=e.__data__;return Io(t)?n["string"==typeof t?"string":"hash"]:n.map}function bo(e){for(var t=jl(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,No(i)]}return t}function _o(e,t){var n=z(e,t);return Pr(n)?n:ne}function xo(e){var t=hc.call(e,Tc),n=e[Tc];try{e[Tc]=ne;var r=!0}catch(e){}var i=gc.call(e);return r&&(t?e[Tc]=n:delete e[Tc]),i}function wo(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Hc(t,e+a);break;case"takeRight":e=Uc(e,t-a)}}return{start:e,end:t}}function So(e){var t=e.match(Rt);return t?t[1].split(jt):[]}function ko(e,t,n){t=_i(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var a=Ko(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Qs(i)&&Po(a,i)&&(dh(e)||hh(e))}function Eo(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&hc.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Oo(e){return"function"!=typeof e.constructor||jo(e)?{}:cf(Sc(e))}function Co(e,t,n){var r=e.constructor;switch(t){case ot:return Si(e);case Ue:case He:return new r(+e);case at:return ki(e,n);case st:case lt:case ut:case ct:case ft:case ht:case dt:case pt:case gt:return Ci(e,n);case Xe:return new r;case Ye:case et:return new r(e);case Je:return Ei(e);case Qe:return new r;case tt:return Oi(e)}}function Ao(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Lt,"{\n/* [wrapped with "+t+"] */\n")}function To(e){return dh(e)||hh(e)||!!(Cc&&e&&e[Cc])}function Po(e,t){var n=typeof e;return!!(t=null==t?Me:t)&&("number"==n||"symbol"!=n&&Wt.test(e))&&e>-1&&e%1==0&&e<t}function Mo(e,t,n){if(!el(n))return!1;var r=typeof t;return!!("number"==r?Hs(n)&&Po(t,n.length):"string"==r&&t in n)&&Us(n[t],e)}function Do(e,t){if(dh(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!hl(e))||Ct.test(e)||!Ot.test(e)||null!=t&&e in rc(t)}function Io(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Lo(e){var t=go(e),r=n[t];if("function"!=typeof r||!(t in m.prototype))return!1;if(e===r)return!0;var i=_f(r);return!!i&&e===i[0]}function Ro(e){return!!pc&&pc in e}function jo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||uc)}function No(e){return e===e&&!el(e)}function Bo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==ne||e in rc(n))}}function Fo(e,t){var n=e[1],r=t[1],i=n|r,o=i<(pe|ge|xe),a=r==xe&&n==ye||r==xe&&n==we&&e[7].length<=t[8]||r==(xe|we)&&t[7].length<=t[8]&&n==ye;if(!o&&!a)return e;r&pe&&(e[2]=t[2],i|=n&pe?0:ve);var s=t[3];if(s){var l=e[3];e[3]=l?Pi(l,s,t[4]):s,e[4]=l?q(e[3],le):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?Mi(l,s,t[6]):s,e[6]=l?q(e[5],le):t[6]),s=t[7],s&&(e[7]=s),r&xe&&(e[8]=null==e[8]?t[8]:Hc(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function zo(e){var t=[];if(null!=e)for(var n in rc(e))t.push(n);return t}function Uo(e){return gc.call(e)}function Ho(e,t,n){return t=Uc(t===ne?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Uc(r.length-t,0),s=Ju(a);++i<a;)s[i]=r[t+i];i=-1;for(var l=Ju(t+1);++i<t;)l[i]=r[i];return l[t]=n(s),o(e,this,l)}}function Vo(e,t){return t.length<2?e:dr(e,ii(t,0,-1))}function Go(e,t){for(var n=e.length,r=Hc(t.length,n),i=Di(e);r--;){var o=t[r];e[r]=Po(o,n)?i[o]:ne}return e}function Wo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function qo(e,t,n){var r=t+"";return Cf(e,Ao(r,Zo(So(r),n)))}function Xo(e){var t=0,n=0;return function(){var r=Vc(),i=Ce-(r-n);if(n=r,i>0){if(++t>=Oe)return arguments[0]}else t=0;return e.apply(ne,arguments)}}function Yo(e,t){var n=-1,r=e.length,i=r-1;for(t=t===ne?r:t;++n<t;){var o=$r(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}function Ko(e){if("string"==typeof e||hl(e))return e;var t=e+"";return"0"==t&&1/e==-Pe?"-0":t}function $o(e){if(null!=e){try{return fc.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Zo(e,t){return s(Ne,(function(n){var r="_."+n[0];t&n[1]&&!f(e,r)&&e.push(r)})),e.sort()}function Jo(e){if(e instanceof m)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=Di(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Qo(e,t,n){t=(n?Mo(e,t,n):t===ne)?1:Uc(ml(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,a=Ju(Lc(r/t));i<r;)a[o++]=ii(e,i,i+=t);return a}function ea(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function ta(){var e=arguments.length;if(!e)return[];for(var t=Ju(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return p(dh(n)?Di(n):[n],ur(t,1))}function na(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===ne?1:ml(t),ii(e,t<0?0:t,r)):[]}function ra(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===ne?1:ml(t),t=r-t,ii(e,0,t<0?0:t)):[]}function ia(e,t){return e&&e.length?pi(e,yo(t,3),!0,!0):[]}function oa(e,t){return e&&e.length?pi(e,yo(t,3),!0):[]}function aa(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Mo(e,t,n)&&(n=0,r=i),sr(e,t,n,r)):[]}function sa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ml(n);return i<0&&(i=Uc(r+i,0)),x(e,yo(t,3),i)}function la(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==ne&&(i=ml(n),i=n<0?Uc(r+i,0):Hc(i,r-1)),x(e,yo(t,3),i,!0)}function ua(e){return null!=e&&e.length?ur(e,1):[]}function ca(e){return null!=e&&e.length?ur(e,Pe):[]}function fa(e,t){return null!=e&&e.length?(t=t===ne?1:ml(t),ur(e,t)):[]}function ha(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function da(e){return e&&e.length?e[0]:ne}function pa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ml(n);return i<0&&(i=Uc(r+i,0)),w(e,t,i)}function ga(e){return null!=e&&e.length?ii(e,0,-1):[]}function va(e,t){return null==e?"":Fc.call(e,t)}function ya(e){var t=null==e?0:e.length;return t?e[t-1]:ne}function ma(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==ne&&(i=ml(n),i=i<0?Uc(r+i,0):Hc(i,r-1)),t===t?$(e,t,i):x(e,k,i,!0)}function ba(e,t){return e&&e.length?Vr(e,ml(t)):ne}function _a(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}function xa(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,yo(n,2)):e}function wa(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,ne,n):e}function Sa(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=yo(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Kr(e,i),n}function ka(e){return null==e?e:qc.call(e)}function Ea(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Mo(e,t,n)?(t=0,n=r):(t=null==t?0:ml(t),n=n===ne?r:ml(n)),ii(e,t,n)):[]}function Oa(e,t){return ai(e,t)}function Ca(e,t,n){return si(e,t,yo(n,2))}function Aa(e,t){var n=null==e?0:e.length;if(n){var r=ai(e,t);if(r<n&&Us(e[r],t))return r}return-1}function Ta(e,t){return ai(e,t,!0)}function Pa(e,t,n){return si(e,t,yo(n,2),!0)}function Ma(e,t){if(null!=e&&e.length){var n=ai(e,t,!0)-1;if(Us(e[n],t))return n}return-1}function Da(e){return e&&e.length?li(e):[]}function Ia(e,t){return e&&e.length?li(e,yo(t,2)):[]}function La(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]}function Ra(e,t,n){return e&&e.length?(t=n||t===ne?1:ml(t),ii(e,0,t<0?0:t)):[]}function ja(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===ne?1:ml(t),t=r-t,ii(e,t<0?0:t,r)):[]}function Na(e,t){return e&&e.length?pi(e,yo(t,3),!1,!0):[]}function Ba(e,t){return e&&e.length?pi(e,yo(t,3)):[]}function Fa(e){return e&&e.length?fi(e):[]}function za(e,t){return e&&e.length?fi(e,yo(t,2)):[]}function Ua(e,t){return t="function"==typeof t?t:ne,e&&e.length?fi(e,ne,t):[]}function Ha(e){if(!e||!e.length)return[];var t=0;return e=c(e,(function(e){if(Vs(e))return t=Uc(e.length,t),!0})),M(t,(function(t){return d(e,O(t))}))}function Va(e,t){if(!e||!e.length)return[];var n=Ha(e);return null==t?n:d(n,(function(e){return o(t,ne,e)}))}function Ga(e,t){return yi(e||[],t||[],Hn)}function Wa(e,t){return yi(e||[],t||[],ni)}function qa(e){var t=n(e);return t.__chain__=!0,t}function Xa(e,t){return t(e),e}function Ya(e,t){return t(e)}function Ka(){return qa(this)}function $a(){return new i(this.value(),this.__chain__)}function Za(){this.__values__===ne&&(this.__values__=vl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?ne:this.__values__[this.__index__++]}}function Ja(){return this}function Qa(e){for(var t,n=this;n instanceof r;){var i=Jo(n);i.__index__=0,i.__values__=ne,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t}function es(){var e=this.__wrapped__;if(e instanceof m){var t=e;return this.__actions__.length&&(t=new m(this)),t=t.reverse(),t.__actions__.push({func:Ya,args:[ka],thisArg:ne}),new i(t,this.__chain__)}return this.thru(ka)}function ts(){return gi(this.__wrapped__,this.__actions__)}function ns(e,t,n){var r=dh(e)?u:or;return n&&Mo(e,t,n)&&(t=ne),r(e,yo(t,3))}function rs(e,t){return(dh(e)?c:lr)(e,yo(t,3))}function is(e,t){return ur(cs(e,t),1)}function os(e,t){return ur(cs(e,t),Pe)}function as(e,t,n){return n=n===ne?1:ml(n),ur(cs(e,t),n)}function ss(e,t){return(dh(e)?s:ff)(e,yo(t,3))}function ls(e,t){return(dh(e)?l:hf)(e,yo(t,3))}function us(e,t,n,r){e=Hs(e)?e:Kl(e),n=n&&!r?ml(n):0;var i=e.length;return n<0&&(n=Uc(i+n,0)),fl(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&w(e,t,n)>-1}function cs(e,t){return(dh(e)?d:Br)(e,yo(t,3))}function fs(e,t,n,r){return null==e?[]:(dh(t)||(t=null==t?[]:[t]),n=r?ne:n,dh(n)||(n=null==n?[]:[n]),Gr(e,t,n))}function hs(e,t,n){var r=dh(e)?g:A,i=arguments.length<3;return r(e,yo(t,4),n,i,ff)}function ds(e,t,n){var r=dh(e)?v:A,i=arguments.length<3;return r(e,yo(t,4),n,i,hf)}function ps(e,t){return(dh(e)?c:lr)(e,As(yo(t,3)))}function gs(e){return(dh(e)?Mn:ei)(e)}function vs(e,t,n){return t=(n?Mo(e,t,n):t===ne)?1:ml(t),(dh(e)?Dn:ti)(e,t)}function ys(e){return(dh(e)?Ln:ri)(e)}function ms(e){if(null==e)return 0;if(Hs(e))return fl(e)?Z(e):e.length;var t=Sf(e);return t==Xe||t==Qe?e.size:Rr(e).length}function bs(e,t,n){var r=dh(e)?y:oi;return n&&Mo(e,t,n)&&(t=ne),r(e,yo(t,3))}function _s(e,t){if("function"!=typeof t)throw new ac(oe);return e=ml(e),function(){if(--e<1)return t.apply(this,arguments)}}function xs(e,t,n){return t=n?ne:t,t=e&&null==t?e.length:t,io(e,xe,ne,ne,ne,ne,t)}function ws(e,t){var n;if("function"!=typeof t)throw new ac(oe);return e=ml(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=ne),n}}function Ss(e,t,n){t=n?ne:t;var r=io(e,ye,ne,ne,ne,ne,ne,t);return r.placeholder=Ss.placeholder,r}function ks(e,t,n){t=n?ne:t;var r=io(e,me,ne,ne,ne,ne,ne,t);return r.placeholder=ks.placeholder,r}function Es(e,t,n){function r(t){var n=h,r=d;return h=d=ne,m=t,g=e.apply(r,n)}function i(e){return m=e,v=Of(s,t),b?r(e):g}function o(e){var n=e-y,r=e-m,i=t-n;return _?Hc(i,p-r):i}function a(e){var n=e-y,r=e-m;return y===ne||n>=t||n<0||_&&r>=p}function s(){var e=th();if(a(e))return l(e);v=Of(s,o(e))}function l(e){return v=ne,x&&h?r(e):(h=d=ne,g)}function u(){v!==ne&&mf(v),m=0,h=y=d=v=ne}function c(){return v===ne?g:l(th())}function f(){var e=th(),n=a(e);if(h=arguments,d=this,y=e,n){if(v===ne)return i(y);if(_)return mf(v),v=Of(s,t),r(y)}return v===ne&&(v=Of(s,t)),g}var h,d,p,g,v,y,m=0,b=!1,_=!1,x=!0;if("function"!=typeof e)throw new ac(oe);return t=_l(t)||0,el(n)&&(b=!!n.leading,_="maxWait"in n,p=_?Uc(_l(n.maxWait)||0,t):p,x="trailing"in n?!!n.trailing:x),f.cancel=u,f.flush=c,f}function Os(e){return io(e,Se)}function Cs(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ac(oe);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Cs.Cache||an),n}function As(e){if("function"!=typeof e)throw new ac(oe);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ts(e){return ws(2,e)}function Ps(e,t){if("function"!=typeof e)throw new ac(oe);return t=t===ne?t:ml(t),Qr(e,t)}function Ms(e,t){if("function"!=typeof e)throw new ac(oe);return t=null==t?0:Uc(ml(t),0),Qr((function(n){var r=n[t],i=xi(n,0,t);return r&&p(i,r),o(e,this,i)}))}function Ds(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ac(oe);return el(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Es(e,t,{leading:r,maxWait:t,trailing:i})}function Is(e){return xs(e,1)}function Ls(e,t){return sh(bi(t),e)}function Rs(){if(!arguments.length)return[];var e=arguments[0];return dh(e)?e:[e]}function js(e){return er(e,fe)}function Ns(e,t){return t="function"==typeof t?t:ne,er(e,fe,t)}function Bs(e){return er(e,ue|fe)}function Fs(e,t){return t="function"==typeof t?t:ne,er(e,ue|fe,t)}function zs(e,t){return null==t||nr(e,t,jl(t))}function Us(e,t){return e===t||e!==e&&t!==t}function Hs(e){return null!=e&&Qs(e.length)&&!Zs(e)}function Vs(e){return tl(e)&&Hs(e)}function Gs(e){return!0===e||!1===e||tl(e)&&gr(e)==Ue}function Ws(e){return tl(e)&&1===e.nodeType&&!ul(e)}function qs(e){if(null==e)return!0;if(Hs(e)&&(dh(e)||"string"==typeof e||"function"==typeof e.splice||gh(e)||_h(e)||hh(e)))return!e.length;var t=Sf(e);if(t==Xe||t==Qe)return!e.size;if(jo(e))return!Rr(e).length;for(var n in e)if(hc.call(e,n))return!1;return!0}function Xs(e,t){return Or(e,t)}function Ys(e,t,n){n="function"==typeof n?n:ne;var r=n?n(e,t):ne;return r===ne?Or(e,t,ne,n):!!r}function Ks(e){if(!tl(e))return!1;var t=gr(e);return t==Ge||t==Ve||"string"==typeof e.message&&"string"==typeof e.name&&!ul(e)}function $s(e){return"number"==typeof e&&Bc(e)}function Zs(e){if(!el(e))return!1;var t=gr(e);return t==We||t==qe||t==ze||t==Ze}function Js(e){return"number"==typeof e&&e==ml(e)}function Qs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Me}function el(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function tl(e){return null!=e&&"object"==typeof e}function nl(e,t){return e===t||Tr(e,t,bo(t))}function rl(e,t,n){return n="function"==typeof n?n:ne,Tr(e,t,bo(t),n)}function il(e){return ll(e)&&e!=+e}function ol(e){if(kf(e))throw new ec(ie);return Pr(e)}function al(e){return null===e}function sl(e){return null==e}function ll(e){return"number"==typeof e||tl(e)&&gr(e)==Ye}function ul(e){if(!tl(e)||gr(e)!=$e)return!1;var t=Sc(e);if(null===t)return!0;var n=hc.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&fc.call(n)==vc}function cl(e){return Js(e)&&e>=-Me&&e<=Me}function fl(e){return"string"==typeof e||!dh(e)&&tl(e)&&gr(e)==et}function hl(e){return"symbol"==typeof e||tl(e)&&gr(e)==tt}function dl(e){return e===ne}function pl(e){return tl(e)&&Sf(e)==rt}function gl(e){return tl(e)&&gr(e)==it}function vl(e){if(!e)return[];if(Hs(e))return fl(e)?J(e):Di(e);if(Ac&&e[Ac])return V(e[Ac]());var t=Sf(e);return(t==Xe?G:t==Qe?X:Kl)(e)}function yl(e){return e?(e=_l(e))===Pe||e===-Pe?(e<0?-1:1)*De:e===e?e:0:0===e?e:0}function ml(e){var t=yl(e),n=t%1;return t===t?n?t-n:t:0}function bl(e){return e?Qn(ml(e),0,Le):0}function _l(e){if("number"==typeof e)return e;if(hl(e))return Ie;if(el(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=el(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Mt,"");var n=Ht.test(e);return n||Gt.test(e)?Cn(e.slice(2),n?2:8):Ut.test(e)?Ie:+e}function xl(e){return Ii(e,Nl(e))}function wl(e){return e?Qn(ml(e),-Me,Me):0===e?e:0}function Sl(e){return null==e?"":ci(e)}function kl(e,t){var n=cf(e);return null==t?n:Kn(n,t)}function El(e,t){return _(e,yo(t,3),cr)}function Ol(e,t){return _(e,yo(t,3),fr)}function Cl(e,t){return null==e?e:df(e,yo(t,3),Nl)}function Al(e,t){return null==e?e:pf(e,yo(t,3),Nl)}function Tl(e,t){return e&&cr(e,yo(t,3))}function Pl(e,t){return e&&fr(e,yo(t,3))}function Ml(e){return null==e?[]:hr(e,jl(e))}function Dl(e){return null==e?[]:hr(e,Nl(e))}function Il(e,t,n){var r=null==e?ne:dr(e,t);return r===ne?n:r}function Ll(e,t){return null!=e&&ko(e,t,yr)}function Rl(e,t){return null!=e&&ko(e,t,mr)}function jl(e){return Hs(e)?Tn(e):Rr(e)}function Nl(e){return Hs(e)?Tn(e,!0):jr(e)}function Bl(e,t){var n={};return t=yo(t,3),cr(e,(function(e,r,i){Zn(n,t(e,r,i),e)})),n}function Fl(e,t){var n={};return t=yo(t,3),cr(e,(function(e,r,i){Zn(n,r,t(e,r,i))})),n}function zl(e,t){return Ul(e,As(yo(t)))}function Ul(e,t){if(null==e)return{};var n=d(po(e),(function(e){return[e]}));return t=yo(t),qr(e,n,(function(e,n){return t(e,n[0])}))}function Hl(e,t,n){t=_i(t,e);var r=-1,i=t.length;for(i||(i=1,e=ne);++r<i;){var o=null==e?ne:e[Ko(t[r])];o===ne&&(r=i,o=n),e=Zs(o)?o.call(e):o}return e}function Vl(e,t,n){return null==e?e:ni(e,t,n)}function Gl(e,t,n,r){return r="function"==typeof r?r:ne,null==e?e:ni(e,t,n,r)}function Wl(e,t,n){var r=dh(e),i=r||gh(e)||_h(e);if(t=yo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:el(e)&&Zs(o)?cf(Sc(e)):{}}return(i?s:cr)(e,(function(e,r,i){return t(n,e,r,i)})),n}function ql(e,t){return null==e||hi(e,t)}function Xl(e,t,n){return null==e?e:di(e,t,bi(n))}function Yl(e,t,n,r){return r="function"==typeof r?r:ne,null==e?e:di(e,t,bi(n),r)}function Kl(e){return null==e?[]:L(e,jl(e))}function $l(e){return null==e?[]:L(e,Nl(e))}function Zl(e,t,n){return n===ne&&(n=t,t=ne),n!==ne&&(n=_l(n),n=n===n?n:0),t!==ne&&(t=_l(t),t=t===t?t:0),Qn(_l(e),t,n)}function Jl(e,t,n){return t=yl(t),n===ne?(n=t,t=0):n=yl(n),e=_l(e),br(e,t,n)}function Ql(e,t,n){if(n&&"boolean"!=typeof n&&Mo(e,t,n)&&(t=n=ne),n===ne&&("boolean"==typeof t?(n=t,t=ne):"boolean"==typeof e&&(n=e,e=ne)),e===ne&&t===ne?(e=0,t=1):(e=yl(e),t===ne?(t=e,e=0):t=yl(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Wc();return Hc(e+i*(t-e+On("1e-"+((i+"").length-1))),t)}return $r(e,t)}function eu(e){return qh(Sl(e).toLowerCase())}function tu(e){return(e=Sl(e))&&e.replace(qt,Vn).replace(dn,"")}function nu(e,t,n){e=Sl(e),t=ci(t);var r=e.length;n=n===ne?r:Qn(ml(n),0,r);var i=n;return(n-=t.length)>=0&&e.slice(n,i)==t}function ru(e){return e=Sl(e),e&&wt.test(e)?e.replace(_t,Gn):e}function iu(e){return e=Sl(e),e&&Pt.test(e)?e.replace(Tt,"\\$&"):e}function ou(e,t,n){e=Sl(e),t=ml(t);var r=t?Z(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Zi(Rc(i),n)+e+Zi(Lc(i),n)}function au(e,t,n){e=Sl(e),t=ml(t);var r=t?Z(e):0;return t&&r<t?e+Zi(t-r,n):e}function su(e,t,n){e=Sl(e),t=ml(t);var r=t?Z(e):0;return t&&r<t?Zi(t-r,n)+e:e}function lu(e,t,n){return n||null==t?t=0:t&&(t=+t),Gc(Sl(e).replace(Dt,""),t||0)}function uu(e,t,n){return t=(n?Mo(e,t,n):t===ne)?1:ml(t),Jr(Sl(e),t)}function cu(){var e=arguments,t=Sl(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function fu(e,t,n){return n&&"number"!=typeof n&&Mo(e,t,n)&&(t=n=ne),(n=n===ne?Le:n>>>0)?(e=Sl(e),e&&("string"==typeof t||null!=t&&!mh(t))&&!(t=ci(t))&&U(e)?xi(J(e),0,n):e.split(t,n)):[]}function hu(e,t,n){return e=Sl(e),n=null==n?0:Qn(ml(n),0,e.length),t=ci(t),e.slice(n,n+t.length)==t}function du(e,t,r){var i=n.templateSettings;r&&Mo(e,t,r)&&(t=ne),e=Sl(e),t=Eh({},t,i,oo);var o,a,s=Eh({},t.imports,i.imports,oo),l=jl(s),u=L(s,l),c=0,f=t.interpolate||Xt,h="__p += '",d=ic((t.escape||Xt).source+"|"+f.source+"|"+(f===Et?Ft:Xt).source+"|"+(t.evaluate||Xt).source+"|$","g"),p="//# sourceURL="+(hc.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++bn+"]")+"\n";e.replace(d,(function(t,n,r,i,s,l){return r||(r=i),h+=e.slice(c,l).replace(Yt,F),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),h+="';\n";var g=hc.call(t,"variable")&&t.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(vt,""):h).replace(yt,"$1").replace(mt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Xh((function(){return tc(l,p+"return "+h).apply(ne,u)}));if(v.source=h,Ks(v))throw v;return v}function pu(e){return Sl(e).toLowerCase()}function gu(e){return Sl(e).toUpperCase()}function vu(e,t,n){if((e=Sl(e))&&(n||t===ne))return e.replace(Mt,"");if(!e||!(t=ci(t)))return e;var r=J(e),i=J(t);return xi(r,j(r,i),N(r,i)+1).join("")}function yu(e,t,n){if((e=Sl(e))&&(n||t===ne))return e.replace(It,"");if(!e||!(t=ci(t)))return e;var r=J(e);return xi(r,0,N(r,J(t))+1).join("")}function mu(e,t,n){if((e=Sl(e))&&(n||t===ne))return e.replace(Dt,"");if(!e||!(t=ci(t)))return e;var r=J(e);return xi(r,j(r,J(t))).join("")}function bu(e,t){var n=ke,r=Ee;if(el(t)){var i="separator"in t?t.separator:i;n="length"in t?ml(t.length):n,r="omission"in t?ci(t.omission):r}e=Sl(e);var o=e.length;if(U(e)){var a=J(e);o=a.length}if(n>=o)return e;var s=n-Z(r);if(s<1)return r;var l=a?xi(a,0,s).join(""):e.slice(0,s);if(i===ne)return l+r;if(a&&(s+=l.length-s),mh(i)){if(e.slice(s).search(i)){var u,c=l;for(i.global||(i=ic(i.source,Sl(zt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var f=u.index;l=l.slice(0,f===ne?s:f)}}else if(e.indexOf(ci(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function _u(e){return e=Sl(e),e&&xt.test(e)?e.replace(bt,Wn):e}function xu(e,t,n){return e=Sl(e),t=n?ne:t,t===ne?H(e)?te(e):b(e):e.match(t)||[]}function wu(e){var t=null==e?0:e.length,n=yo();return e=t?d(e,(function(e){if("function"!=typeof e[1])throw new ac(oe);return[n(e[0]),e[1]]})):[],Qr((function(n){for(var r=-1;++r<t;){var i=e[r];if(o(i[0],this,n))return o(i[1],this,n)}}))}function Su(e){return tr(er(e,ue))}function ku(e){return function(){return e}}function Eu(e,t){return null==e||e!==e?t:e}function Ou(e){return e}function Cu(e){return Lr("function"==typeof e?e:er(e,ue))}function Au(e){return Fr(er(e,ue))}function Tu(e,t){return zr(e,er(t,ue))}function Pu(e,t,n){var r=jl(t),i=hr(t,r);null!=n||el(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=hr(t,jl(t)));var o=!(el(n)&&"chain"in n&&!n.chain),a=Zs(e);return s(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Di(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,p([this.value()],arguments))})})),e}function Mu(){return Pn._===this&&(Pn._=yc),this}function Du(){}function Iu(e){return e=ml(e),Qr((function(t){return Vr(t,e)}))}function Lu(e){return Do(e)?O(Ko(e)):Xr(e)}function Ru(e){return function(t){return null==e?ne:dr(e,t)}}function ju(){return[]}function Nu(){return!1}function Bu(){return{}}function Fu(){return""}function zu(){return!0}function Uu(e,t){if((e=ml(e))<1||e>Me)return[];var n=Le,r=Hc(e,Le);t=yo(t),e-=Le;for(var i=M(r,t);++n<e;)t(n);return i}function Hu(e){return dh(e)?d(e,Ko):hl(e)?[e]:Di(Af(Sl(e)))}function Vu(e){var t=++dc;return Sl(e)+t}function Gu(e){return e&&e.length?ar(e,Ou,vr):ne}function Wu(e,t){return e&&e.length?ar(e,yo(t,2),vr):ne}function qu(e){return E(e,Ou)}function Xu(e,t){return E(e,yo(t,2))}function Yu(e){return e&&e.length?ar(e,Ou,Nr):ne}function Ku(e,t){return e&&e.length?ar(e,yo(t,2),Nr):ne}function $u(e){return e&&e.length?P(e,Ou):0}function Zu(e,t){return e&&e.length?P(e,yo(t,2)):0}t=null==t?Pn:qn.defaults(Pn.Object(),t,qn.pick(Pn,mn));var Ju=t.Array,Qu=t.Date,ec=t.Error,tc=t.Function,nc=t.Math,rc=t.Object,ic=t.RegExp,oc=t.String,ac=t.TypeError,sc=Ju.prototype,lc=tc.prototype,uc=rc.prototype,cc=t["__core-js_shared__"],fc=lc.toString,hc=uc.hasOwnProperty,dc=0,pc=function(){var e=/[^.]+$/.exec(cc&&cc.keys&&cc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),gc=uc.toString,vc=fc.call(rc),yc=Pn._,mc=ic("^"+fc.call(hc).replace(Tt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bc=In?t.Buffer:ne,_c=t.Symbol,xc=t.Uint8Array,wc=bc?bc.allocUnsafe:ne,Sc=W(rc.getPrototypeOf,rc),kc=rc.create,Ec=uc.propertyIsEnumerable,Oc=sc.splice,Cc=_c?_c.isConcatSpreadable:ne,Ac=_c?_c.iterator:ne,Tc=_c?_c.toStringTag:ne,Pc=function(){try{var e=_o(rc,"defineProperty");return e({},"",{}),e}catch(e){}}(),Mc=t.clearTimeout!==Pn.clearTimeout&&t.clearTimeout,Dc=Qu&&Qu.now!==Pn.Date.now&&Qu.now,Ic=t.setTimeout!==Pn.setTimeout&&t.setTimeout,Lc=nc.ceil,Rc=nc.floor,jc=rc.getOwnPropertySymbols,Nc=bc?bc.isBuffer:ne,Bc=t.isFinite,Fc=sc.join,zc=W(rc.keys,rc),Uc=nc.max,Hc=nc.min,Vc=Qu.now,Gc=t.parseInt,Wc=nc.random,qc=sc.reverse,Xc=_o(t,"DataView"),Yc=_o(t,"Map"),Kc=_o(t,"Promise"),$c=_o(t,"Set"),Zc=_o(t,"WeakMap"),Jc=_o(rc,"create"),Qc=Zc&&new Zc,ef={},tf=$o(Xc),nf=$o(Yc),rf=$o(Kc),of=$o($c),af=$o(Zc),sf=_c?_c.prototype:ne,lf=sf?sf.valueOf:ne,uf=sf?sf.toString:ne,cf=function(){function e(){}return function(t){if(!el(t))return{};if(kc)return kc(t);e.prototype=t;var n=new e;return e.prototype=ne,n}}();n.templateSettings={escape:St,evaluate:kt,interpolate:Et,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=cf(r.prototype),i.prototype.constructor=i,m.prototype=cf(r.prototype),m.prototype.constructor=m,ee.prototype.clear=Nt,ee.prototype.delete=Kt,ee.prototype.get=$t,ee.prototype.has=Zt,ee.prototype.set=Jt,Qt.prototype.clear=en,Qt.prototype.delete=tn,Qt.prototype.get=nn,Qt.prototype.has=rn,Qt.prototype.set=on,an.prototype.clear=sn,an.prototype.delete=ln,an.prototype.get=un,an.prototype.has=cn,an.prototype.set=fn,pn.prototype.add=pn.prototype.push=gn,pn.prototype.has=vn,yn.prototype.clear=wn,yn.prototype.delete=Sn,yn.prototype.get=kn,yn.prototype.has=En,yn.prototype.set=An;var ff=Bi(cr),hf=Bi(fr,!0),df=Fi(),pf=Fi(!0),gf=Qc?function(e,t){return Qc.set(e,t),e}:Ou,vf=Pc?function(e,t){return Pc(e,"toString",{configurable:!0,enumerable:!1,value:ku(t),writable:!0})}:Ou,yf=Qr,mf=Mc||function(e){return Pn.clearTimeout(e)},bf=$c&&1/X(new $c([,-0]))[1]==Pe?function(e){return new $c(e)}:Du,_f=Qc?function(e){return Qc.get(e)}:Du,xf=jc?function(e){return null==e?[]:(e=rc(e),c(jc(e),(function(t){return Ec.call(e,t)})))}:ju,wf=jc?function(e){for(var t=[];e;)p(t,xf(e)),e=Sc(e);return t}:ju,Sf=gr;(Xc&&Sf(new Xc(new ArrayBuffer(1)))!=at||Yc&&Sf(new Yc)!=Xe||Kc&&"[object Promise]"!=Sf(Kc.resolve())||$c&&Sf(new $c)!=Qe||Zc&&Sf(new Zc)!=rt)&&(Sf=function(e){var t=gr(e),n=t==$e?e.constructor:ne,r=n?$o(n):"";if(r)switch(r){case tf:return at;case nf:return Xe;case rf:return"[object Promise]";case of:return Qe;case af:return rt}return t});var kf=cc?Zs:Nu,Ef=Xo(gf),Of=Ic||function(e,t){return Pn.setTimeout(e,t)},Cf=Xo(vf),Af=function(e){var t=Cs(e,(function(e){return n.size===se&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(At,(function(e,n,r,i){t.push(r?i.replace(Bt,"$1"):n||e)})),t})),Tf=Qr((function(e,t){return Vs(e)?ir(e,ur(t,1,Vs,!0)):[]})),Pf=Qr((function(e,t){var n=ya(t);return Vs(n)&&(n=ne),Vs(e)?ir(e,ur(t,1,Vs,!0),yo(n,2)):[]})),Mf=Qr((function(e,t){var n=ya(t);return Vs(n)&&(n=ne),Vs(e)?ir(e,ur(t,1,Vs,!0),ne,n):[]})),Df=Qr((function(e){var t=d(e,mi);return t.length&&t[0]===e[0]?_r(t):[]})),If=Qr((function(e){var t=ya(e),n=d(e,mi);return t===ya(n)?t=ne:n.pop(),n.length&&n[0]===e[0]?_r(n,yo(t,2)):[]})),Lf=Qr((function(e){var t=ya(e),n=d(e,mi);return t="function"==typeof t?t:ne,t&&n.pop(),n.length&&n[0]===e[0]?_r(n,ne,t):[]})),Rf=Qr(_a),jf=fo((function(e,t){var n=null==e?0:e.length,r=Jn(e,t);return Kr(e,d(t,(function(e){return Po(e,n)?+e:e})).sort(Ai)),r})),Nf=Qr((function(e){return fi(ur(e,1,Vs,!0))})),Bf=Qr((function(e){var t=ya(e);return Vs(t)&&(t=ne),fi(ur(e,1,Vs,!0),yo(t,2))})),Ff=Qr((function(e){var t=ya(e);return t="function"==typeof t?t:ne,fi(ur(e,1,Vs,!0),ne,t)})),zf=Qr((function(e,t){return Vs(e)?ir(e,t):[]})),Uf=Qr((function(e){return vi(c(e,Vs))})),Hf=Qr((function(e){var t=ya(e);return Vs(t)&&(t=ne),vi(c(e,Vs),yo(t,2))})),Vf=Qr((function(e){var t=ya(e);return t="function"==typeof t?t:ne,vi(c(e,Vs),ne,t)})),Gf=Qr(Ha),Wf=Qr((function(e){var t=e.length,n=t>1?e[t-1]:ne;return n="function"==typeof n?(e.pop(),n):ne,Va(e,n)})),qf=fo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Jn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof m&&Po(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Ya,args:[o],thisArg:ne}),new i(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(ne),e}))):this.thru(o)})),Xf=ji((function(e,t,n){hc.call(e,n)?++e[n]:Zn(e,n,1)})),Yf=Wi(sa),Kf=Wi(la),$f=ji((function(e,t,n){hc.call(e,n)?e[n].push(t):Zn(e,n,[t])})),Zf=Qr((function(e,t,n){var r=-1,i="function"==typeof t,a=Hs(e)?Ju(e.length):[];return ff(e,(function(e){a[++r]=i?o(t,e,n):wr(e,t,n)})),a})),Jf=ji((function(e,t,n){Zn(e,n,t)})),Qf=ji((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),eh=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Mo(e,t[0],t[1])?t=[]:n>2&&Mo(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,ur(t,1),[])})),th=Dc||function(){return Pn.Date.now()},nh=Qr((function(e,t,n){var r=pe;if(n.length){var i=q(n,vo(nh));r|=be}return io(e,r,t,n,i)})),rh=Qr((function(e,t,n){var r=pe|ge;if(n.length){var i=q(n,vo(rh));r|=be}return io(t,r,e,n,i)})),ih=Qr((function(e,t){return rr(e,1,t)})),oh=Qr((function(e,t,n){return rr(e,_l(t)||0,n)}));Cs.Cache=an;var ah=yf((function(e,t){t=1==t.length&&dh(t[0])?d(t[0],I(yo())):d(ur(t,1),I(yo()));var n=t.length;return Qr((function(r){for(var i=-1,a=Hc(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return o(e,this,r)}))})),sh=Qr((function(e,t){var n=q(t,vo(sh));return io(e,be,ne,t,n)})),lh=Qr((function(e,t){var n=q(t,vo(lh));return io(e,_e,ne,t,n)})),uh=fo((function(e,t){return io(e,we,ne,ne,ne,t)})),ch=eo(vr),fh=eo((function(e,t){return e>=t})),hh=Sr(function(){return arguments}())?Sr:function(e){return tl(e)&&hc.call(e,"callee")&&!Ec.call(e,"callee")},dh=Ju.isArray,ph=jn?I(jn):kr,gh=Nc||Nu,vh=Nn?I(Nn):Er,yh=Bn?I(Bn):Ar,mh=Fn?I(Fn):Mr,bh=zn?I(zn):Dr,_h=Un?I(Un):Ir,xh=eo(Nr),wh=eo((function(e,t){return e<=t})),Sh=Ni((function(e,t){if(jo(t)||Hs(t))Ii(t,jl(t),e);else for(var n in t)hc.call(t,n)&&Hn(e,n,t[n])})),kh=Ni((function(e,t){Ii(t,Nl(t),e)})),Eh=Ni((function(e,t,n,r){Ii(t,Nl(t),e,r)})),Oh=Ni((function(e,t,n,r){Ii(t,jl(t),e,r)})),Ch=fo(Jn),Ah=Qr((function(e,t){e=rc(e);var n=-1,r=t.length,i=r>2?t[2]:ne;for(i&&Mo(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=Nl(o),s=-1,l=a.length;++s<l;){var u=a[s],c=e[u];(c===ne||Us(c,uc[u])&&!hc.call(e,u))&&(e[u]=o[u])}return e})),Th=Qr((function(e){return e.push(ne,ao),o(Lh,ne,e)})),Ph=Yi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=gc.call(t)),e[t]=n}),ku(Ou)),Mh=Yi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=gc.call(t)),hc.call(e,t)?e[t].push(n):e[t]=[n]}),yo),Dh=Qr(wr),Ih=Ni((function(e,t,n){Ur(e,t,n)})),Lh=Ni((function(e,t,n,r){Ur(e,t,n,r)})),Rh=fo((function(e,t){var n={};if(null==e)return n;var r=!1;t=d(t,(function(t){return t=_i(t,e),r||(r=t.length>1),t})),Ii(e,po(e),n),r&&(n=er(n,ue|ce|fe,so));for(var i=t.length;i--;)hi(n,t[i]);return n})),jh=fo((function(e,t){return null==e?{}:Wr(e,t)})),Nh=ro(jl),Bh=ro(Nl),Fh=Hi((function(e,t,n){return t=t.toLowerCase(),e+(n?eu(t):t)})),zh=Hi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Uh=Hi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Hh=Ui("toLowerCase"),Vh=Hi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Gh=Hi((function(e,t,n){return e+(n?" ":"")+qh(t)})),Wh=Hi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),qh=Ui("toUpperCase"),Xh=Qr((function(e,t){try{return o(e,ne,t)}catch(e){return Ks(e)?e:new ec(e)}})),Yh=fo((function(e,t){return s(t,(function(t){t=Ko(t),Zn(e,t,nh(e[t],e))})),e})),Kh=qi(),$h=qi(!0),Zh=Qr((function(e,t){return function(n){return wr(n,e,t)}})),Jh=Qr((function(e,t){return function(n){return wr(e,n,t)}})),Qh=$i(d),ed=$i(u),td=$i(y),nd=Qi(),rd=Qi(!0),id=Ki((function(e,t){return e+t}),0),od=no("ceil"),ad=Ki((function(e,t){return e/t}),1),sd=no("floor"),ld=Ki((function(e,t){return e*t}),1),ud=no("round"),cd=Ki((function(e,t){return e-t}),0);return n.after=_s,n.ary=xs,n.assign=Sh,n.assignIn=kh,n.assignInWith=Eh,n.assignWith=Oh,n.at=Ch,n.before=ws,n.bind=nh,n.bindAll=Yh,n.bindKey=rh,n.castArray=Rs,n.chain=qa,n.chunk=Qo,n.compact=ea,n.concat=ta,n.cond=wu,n.conforms=Su,n.constant=ku,n.countBy=Xf,n.create=kl,n.curry=Ss,n.curryRight=ks,n.debounce=Es,n.defaults=Ah,n.defaultsDeep=Th,n.defer=ih,n.delay=oh,n.difference=Tf,n.differenceBy=Pf,n.differenceWith=Mf,n.drop=na,n.dropRight=ra,n.dropRightWhile=ia,n.dropWhile=oa,n.fill=aa,n.filter=rs,n.flatMap=is,n.flatMapDeep=os,n.flatMapDepth=as,n.flatten=ua,n.flattenDeep=ca,n.flattenDepth=fa,n.flip=Os,n.flow=Kh,n.flowRight=$h,n.fromPairs=ha,n.functions=Ml,n.functionsIn=Dl,n.groupBy=$f,n.initial=ga,n.intersection=Df,n.intersectionBy=If,n.intersectionWith=Lf,n.invert=Ph,n.invertBy=Mh,n.invokeMap=Zf,n.iteratee=Cu,n.keyBy=Jf,n.keys=jl,n.keysIn=Nl,n.map=cs,n.mapKeys=Bl,n.mapValues=Fl,n.matches=Au,n.matchesProperty=Tu,n.memoize=Cs,n.merge=Ih,n.mergeWith=Lh,n.method=Zh,n.methodOf=Jh,n.mixin=Pu,n.negate=As,n.nthArg=Iu,n.omit=Rh,n.omitBy=zl,n.once=Ts,n.orderBy=fs,n.over=Qh,n.overArgs=ah,n.overEvery=ed,n.overSome=td,n.partial=sh,n.partialRight=lh,n.partition=Qf,n.pick=jh,n.pickBy=Ul,n.property=Lu,n.propertyOf=Ru,n.pull=Rf,n.pullAll=_a,n.pullAllBy=xa,n.pullAllWith=wa,n.pullAt=jf,n.range=nd,n.rangeRight=rd,n.rearg=uh,n.reject=ps,n.remove=Sa,n.rest=Ps,n.reverse=ka,n.sampleSize=vs,n.set=Vl,n.setWith=Gl,n.shuffle=ys,n.slice=Ea,n.sortBy=eh,n.sortedUniq=Da,n.sortedUniqBy=Ia,n.split=fu,n.spread=Ms,n.tail=La,n.take=Ra,n.takeRight=ja,n.takeRightWhile=Na,n.takeWhile=Ba,n.tap=Xa,n.throttle=Ds,n.thru=Ya,n.toArray=vl,n.toPairs=Nh,n.toPairsIn=Bh,n.toPath=Hu,n.toPlainObject=xl,n.transform=Wl,n.unary=Is,n.union=Nf,n.unionBy=Bf,n.unionWith=Ff,n.uniq=Fa,n.uniqBy=za,n.uniqWith=Ua,n.unset=ql,n.unzip=Ha,n.unzipWith=Va,n.update=Xl,n.updateWith=Yl,n.values=Kl,n.valuesIn=$l,n.without=zf,n.words=xu,n.wrap=Ls,n.xor=Uf,n.xorBy=Hf,n.xorWith=Vf,n.zip=Gf,n.zipObject=Ga,n.zipObjectDeep=Wa,n.zipWith=Wf,n.entries=Nh,n.entriesIn=Bh,n.extend=kh,n.extendWith=Eh,Pu(n,n),n.add=id,n.attempt=Xh,n.camelCase=Fh,n.capitalize=eu,n.ceil=od,n.clamp=Zl,n.clone=js,n.cloneDeep=Bs,n.cloneDeepWith=Fs,n.cloneWith=Ns,n.conformsTo=zs,n.deburr=tu,n.defaultTo=Eu,n.divide=ad,n.endsWith=nu,n.eq=Us,n.escape=ru,n.escapeRegExp=iu,n.every=ns,n.find=Yf,n.findIndex=sa,n.findKey=El,n.findLast=Kf,n.findLastIndex=la,n.findLastKey=Ol,n.floor=sd,n.forEach=ss,n.forEachRight=ls,n.forIn=Cl,n.forInRight=Al,n.forOwn=Tl,n.forOwnRight=Pl,n.get=Il,n.gt=ch,n.gte=fh,n.has=Ll,n.hasIn=Rl,n.head=da,n.identity=Ou,n.includes=us,n.indexOf=pa,n.inRange=Jl,n.invoke=Dh,n.isArguments=hh,n.isArray=dh,n.isArrayBuffer=ph,n.isArrayLike=Hs,n.isArrayLikeObject=Vs,n.isBoolean=Gs,n.isBuffer=gh,n.isDate=vh,n.isElement=Ws,n.isEmpty=qs,n.isEqual=Xs,n.isEqualWith=Ys,n.isError=Ks,n.isFinite=$s,n.isFunction=Zs,n.isInteger=Js,n.isLength=Qs,n.isMap=yh,n.isMatch=nl,n.isMatchWith=rl,n.isNaN=il,n.isNative=ol,n.isNil=sl,n.isNull=al,n.isNumber=ll,n.isObject=el,n.isObjectLike=tl,n.isPlainObject=ul,n.isRegExp=mh,n.isSafeInteger=cl,n.isSet=bh,n.isString=fl,n.isSymbol=hl,n.isTypedArray=_h,n.isUndefined=dl,n.isWeakMap=pl,n.isWeakSet=gl,n.join=va,n.kebabCase=zh,n.last=ya,n.lastIndexOf=ma,n.lowerCase=Uh,n.lowerFirst=Hh,n.lt=xh,n.lte=wh,n.max=Gu,n.maxBy=Wu,n.mean=qu,n.meanBy=Xu,n.min=Yu,n.minBy=Ku,n.stubArray=ju,n.stubFalse=Nu,n.stubObject=Bu,n.stubString=Fu,n.stubTrue=zu,n.multiply=ld,n.nth=ba,n.noConflict=Mu,n.noop=Du,n.now=th,n.pad=ou,n.padEnd=au,n.padStart=su,n.parseInt=lu,n.random=Ql,n.reduce=hs,n.reduceRight=ds,n.repeat=uu,n.replace=cu,n.result=Hl,n.round=ud,n.runInContext=e,n.sample=gs,n.size=ms,n.snakeCase=Vh,n.some=bs,n.sortedIndex=Oa,n.sortedIndexBy=Ca,n.sortedIndexOf=Aa,n.sortedLastIndex=Ta,n.sortedLastIndexBy=Pa,n.sortedLastIndexOf=Ma,n.startCase=Gh,n.startsWith=hu,n.subtract=cd,n.sum=$u,n.sumBy=Zu,n.template=du,n.times=Uu,n.toFinite=yl,n.toInteger=ml,n.toLength=bl,n.toLower=pu,n.toNumber=_l,n.toSafeInteger=wl,n.toString=Sl,n.toUpper=gu,n.trim=vu,n.trimEnd=yu,n.trimStart=mu,n.truncate=bu,n.unescape=_u,n.uniqueId=Vu,n.upperCase=Wh,n.upperFirst=qh,n.each=ss,n.eachRight=ls,n.first=da,Pu(n,function(){var e={};return cr(n,(function(t,r){hc.call(n.prototype,r)||(e[r]=t)})),e}(),{chain:!1}),n.VERSION="4.17.20",s(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){n[e].placeholder=n})),s(["drop","take"],(function(e,t){m.prototype[e]=function(n){n=n===ne?1:Uc(ml(n),0);var r=this.__filtered__&&!t?new m(this):this.clone();return r.__filtered__?r.__takeCount__=Hc(n,r.__takeCount__):r.__views__.push({size:Hc(n,Le),type:e+(r.__dir__<0?"Right":"")}),r},m.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),s(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==Ae||3==n;m.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:yo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),s(["head","last"],(function(e,t){var n="take"+(t?"Right":"");m.prototype[e]=function(){return this[n](1).value()[0]}})),s(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");m.prototype[e]=function(){return this.__filtered__?new m(this):this[n](1)}})),m.prototype.compact=function(){return this.filter(Ou)},m.prototype.find=function(e){return this.filter(e).head()},m.prototype.findLast=function(e){return this.reverse().find(e)},m.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new m(this):this.map((function(n){return wr(n,e,t)}))})),m.prototype.reject=function(e){return this.filter(As(yo(e)))},m.prototype.slice=function(e,t){e=ml(e);var n=this;return n.__filtered__&&(e>0||t<0)?new m(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==ne&&(t=ml(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},m.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},m.prototype.toArray=function(){return this.take(Le)},cr(m.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=n[o?"take"+("last"==t?"Right":""):t],s=o||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,u=t instanceof m,c=l[0],f=u||dh(t),h=function(e){var t=a.apply(n,p([e],l));return o&&d?t[0]:t};f&&r&&"function"==typeof c&&1!=c.length&&(u=f=!1);var d=this.__chain__,g=!!this.__actions__.length,v=s&&!d,y=u&&!g;if(!s&&f){t=y?t:new m(this);var b=e.apply(t,l);return b.__actions__.push({func:Ya,args:[h],thisArg:ne}),new i(b,d)}return v&&y?e.apply(this,l):(b=this.thru(h),v?o?b.value()[0]:b.value():b)})})),s(["pop","push","shift","sort","splice","unshift"],(function(e){var t=sc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var n=this.value();return t.apply(dh(n)?n:[],e)}return this[r]((function(n){return t.apply(dh(n)?n:[],e)}))}})),cr(m.prototype,(function(e,t){var r=n[t];if(r){var i=r.name+"";hc.call(ef,i)||(ef[i]=[]),ef[i].push({name:t,func:r})}})),ef[Xi(ne,ge).name]=[{name:"wrapper",func:ne}],m.prototype.clone=C,m.prototype.reverse=K,m.prototype.value=Q,n.prototype.at=qf,n.prototype.chain=Ka,n.prototype.commit=$a,n.prototype.next=Za,n.prototype.plant=Qa,n.prototype.reverse=es,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=ts,n.prototype.first=n.prototype.head,Ac&&(n.prototype[Ac]=Ja),n}();Pn._=qn,(i=function(){return qn}.call(t,n,t,r))!==ne&&(r.exports=i)}).call(this)}).call(t,n(27),n(28)(e))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:"id",parentId:"parentId",root:0},r=[];return function e(i){if(i[n.parentId]===n.root)return r;var o=t.find((function(e){return e[n.id]===i[n.parentId]}));return o?(r.push(o),e(o)):r}(e)}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-transfer"},[n("div",{staticClass:"transfer-left"},[n("h3",{staticClass:"transfer-title"},[n("el-checkbox",{attrs:{indeterminate:e.from_is_indeterminate},on:{change:e.fromAllBoxChange},model:{value:e.from_check_all,callback:function(t){e.from_check_all=t},expression:"from_check_all"}}),e._v(" "),n("span",[e._v(e._s(e.fromTitle))]),e._v(" "),e._t("title-left")],2),e._v(" "),n("div",{staticClass:"transfer-main"},[e._t("from"),e._v(" "),e.filter?n("el-input",{staticClass:"filter-tree",attrs:{clearable:"",size:"small",placeholder:e.placeholder},model:{value:e.filterFrom,callback:function(t){e.filterFrom=t},expression:"filterFrom"}}):e._e(),e._v(" "),n("el-tree",{ref:"from-tree",attrs:{"show-checkbox":"",lazy:e.lazy,indent:e.indent,draggable:e.draggable,"allow-drag":e.allowDrag,"allow-drop":e.allowDrop,"icon-class":e.iconClass,"node-key":e.node_key,load:e.leftloadNode,data:e.self_from_data,accordion:e.accordion,props:e.selfDefaultProps,"default-expand-all":e.openAll,"highlight-current":e.highLight,"check-strictly":e.checkStrictly,"render-content":e.renderContentLeft,"filter-node-method":e.filterNodeFrom,"check-on-click-node":e.checkOnClickNode,"render-after-expand":e.renderAfterExpand,"expand-on-click-node":e.expandOnClickNode,"default-checked-keys":e.defaultCheckedKeys,"default-expanded-keys":e.from_expanded_keys},on:{check:e.fromTreeChecked,"node-drag-start":e.nodeDragStartLeft,"node-drag-enter":e.nodeDragEnterLeft,"node-drag-leave":e.nodeDragLeaveLeft,"node-drag-over":e.nodeDragOverLeft,"node-drag-end":e.nodeDragEndLeft,"node-drop":e.nodeDropLeft},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,i=t.data;return n("span",{staticClass:"custom-tree-node"},[e._t("content-left",[n("span",[e._v(e._s(r.label))])],{node:r,data:i})],2)}}],null,!0)}),e._v(" "),e._t("left-footer")],2)]),e._v(" "),n("div",{staticClass:"transfer-center"},[e.button_text?[n("p",{staticClass:"transfer-center-item"},[n("el-button",{attrs:{type:"primary",disabled:e.from_disabled},on:{click:function(t){return e.addToAims(!0)}}},[e._v("\n "+e._s(e.fromButton||"添加")+"\n "),n("i",{staticClass:"el-icon-arrow-right"})])],1),e._v(" "),n("p",{staticClass:"transfer-center-item"},[n("el-button",{attrs:{type:"primary",disabled:e.to_disabled,icon:"el-icon-arrow-left"},on:{click:e.removeToSource}},[e._v(e._s(e.toButton||"移除"))])],1)]:[n("p",{staticClass:"transfer-center-item"},[n("el-button",{attrs:{type:"primary",icon:"el-icon-arrow-right",circle:"",disabled:e.from_disabled},on:{click:function(t){return e.addToAims(!0)}}})],1),e._v(" "),n("p",{staticClass:"transfer-center-item"},[n("el-button",{attrs:{type:"primary",disabled:e.to_disabled,icon:"el-icon-arrow-left",circle:""},on:{click:e.removeToSource}})],1)]],2),e._v(" "),n("div",{staticClass:"transfer-right"},[n("h3",{staticClass:"transfer-title"},[n("el-checkbox",{attrs:{indeterminate:e.to_is_indeterminate},on:{change:e.toAllBoxChange},model:{value:e.to_check_all,callback:function(t){e.to_check_all=t},expression:"to_check_all"}}),e._v(" "),n("span",[e._v(e._s(e.toTitle))]),e._v(" "),e._t("title-right")],2),e._v(" "),n("div",{staticClass:"transfer-main"},[e._t("to"),e._v(" "),e.filter?n("el-input",{staticClass:"filter-tree",attrs:{clearable:"",size:"small",placeholder:e.placeholder},model:{value:e.filterTo,callback:function(t){e.filterTo=t},expression:"filterTo"}}):e._e(),e._v(" "),n("el-tree",{ref:"to-tree",attrs:{slot:"to","show-checkbox":"",indent:e.indent,draggable:e.draggable,"allow-drag":e.allowDrag,"allow-drop":e.allowDrop,"icon-class":e.iconClass,lazy:e.lazyRight,data:e.self_to_data,"node-key":e.node_key,load:e.rightloadNode,props:e.selfDefaultProps,"default-expand-all":e.openAll,"highlight-current":e.highLight,"check-strictly":e.checkStrictly,"filter-node-method":e.filterNodeTo,"render-content":e.renderContentRight,"check-on-click-node":e.checkOnClickNode,"render-after-expand":e.renderAfterExpand,"expand-on-click-node":e.expandOnClickNode,"default-expanded-keys":e.to_expanded_keys},on:{check:e.toTreeChecked,"node-drag-start":e.nodeDragStartRight,"node-drag-enter":e.nodeDragEnterRight,"node-drag-leave":e.nodeDragLeaveRight,"node-drag-over":e.nodeDragOverRight,"node-drag-end":e.nodeDragEndRight,"node-drop":e.nodeDropRight},slot:"to",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,i=t.data;return n("span",{staticClass:"custom-tree-node"},[e._t("content-right",[n("span",[e._v(e._s(r.label))])],{node:r,data:i})],2)}}],null,!0)}),e._v(" "),e._t("right-footer")],2)])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=n(7),i=n(32),o=n(0),a=o(r.a,i.a,!1,null,null,null);a.options.__file="transfer-extend-next/components/address.vue",t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"component-address"},[r("div",{staticClass:"transfer-left"},[r("h3",{staticClass:"transfer-title"},[r("el-checkbox",{attrs:{indeterminate:e.from_is_indeterminate},on:{change:e.fromAllBoxChange},model:{value:e.from_check_all,callback:function(t){e.from_check_all=t},expression:"from_check_all"}}),e._v(" "),r("span",[e._v(e._s(e.fromTitle))])],1),e._v(" "),r("div",{staticClass:"transfer-main"},[e._t("from"),e._v(" "),e.filter?r("el-input",{staticClass:"filter-tree",attrs:{clearable:"",size:"small",placeholder:e.placeholder},model:{value:e.filterFrom,callback:function(t){e.filterFrom=t},expression:"filterFrom"}}):e._e(),e._v(" "),r("el-tree",{ref:"from-tree",attrs:{"show-checkbox":"",indent:e.indent,draggable:e.draggable,"allow-drag":e.allowDrag,"allow-drop":e.allowDrop,"icon-class":e.iconClass,"node-key":e.node_key,props:e.defaultProps,data:e.self_from_data,"default-expand-all":e.openAll,"highlight-current":e.highLight,"render-content":e.renderContentLeft,"filter-node-method":e.filterNodeFrom,"check-on-click-node":e.checkOnClickNode,"render-after-expand":e.renderAfterExpand,"expand-on-click-node":e.expandOnClickNode,"default-checked-keys":e.defaultCheckedKeys,"default-expanded-keys":e.from_expanded_keys},on:{check:e.fromTreeChecked,"node-drag-start":e.nodeDragStartLeft,"node-drag-enter":e.nodeDragEnterLeft,"node-drag-leave":e.nodeDragLeaveLeft,"node-drag-over":e.nodeDragOverLeft,"node-drag-end":e.nodeDragEndLeft,"node-drop":e.nodeDropLeft}})],2)]),e._v(" "),r("div",{staticClass:"transfer-center address-list-center"},[r("p",{directives:[{name:"show",rawName:"v-show",value:!e.move_up,expression:"!move_up"}],staticClass:"transfer-center-item",class:{"address-only-item":1===e.addressOptions.num}},[r("el-button",{staticClass:"address-first-btn",attrs:{type:"primary",icon:"el-icon-arrow-right",circle:"",disabled:e.from_disabled},on:{click:function(t){return e.addressListTransfer(0)}}})],1),e._v(" "),e.addressOptions.num>1?r("p",{staticClass:"transfer-center-item"},[r("el-button",{attrs:{type:"primary",disabled:e.from_disabled,icon:"el-icon-arrow-right",circle:""},on:{click:function(t){return e.addressListTransfer(1)}}})],1):e._e(),e._v(" "),r("p",{directives:[{name:"show",rawName:"v-show",value:e.move_up,expression:"move_up"}],staticClass:"transfer-center-item"},[r("el-button",{attrs:{type:"primary",disabled:e.from_disabled,icon:"el-icon-arrow-right",circle:""},on:{click:function(t){return e.addressListTransfer(2)}}})],1)]),e._v(" "),r("div",{staticClass:"transfer-right"},[r("div",{staticClass:"transfer-right-item",class:{"transfer-right-small":e.move_up,"transfer-right-only":1===e.addressOptions.num}},[r("h3",{staticClass:"transfer-title"},[r("span",[e._v(e._s(e.toTitle))]),e._v(" "),e.move_up?r("img",{staticClass:"move_up_img move_down_img",attrs:{src:n(8),alt:"icon"},on:{click:function(t){return e.moveUp("down")}}}):r("span",{staticClass:"u-clear",on:{click:function(t){return e.clearList(0,"all")}}},[e._v("清空")])]),e._v(" "),e.move_up?e._e():r("div",{staticClass:"transfer-main"},[e._t("to"),e._v(" "),e.filter?r("el-input",{staticClass:"filter-tree",attrs:{placeholder:e.placeholder,size:"small"},model:{value:e.filterListFirst,callback:function(t){e.filterListFirst=t},expression:"filterListFirst"}}):e._e(),e._v(" "),r("ul",{staticClass:"address-list-ul"},e._l(e.addressee,(function(t){return r("li",{key:t[e.node_key],staticClass:"address-list-li"},[r("label",[e._v("\n "+e._s(t[e.defaultProps.label])+"\n "+e._s(e.addressOptions.connector)+"\n "+e._s(t[e.addressOptions.suffix])+"\n ")]),e._v(" "),r("i",{staticClass:"address-list-del el-icon-delete",on:{click:function(n){return e.clearList(0,t[e.node_key])}}})])})),0)],2)]),e._v(" "),e.addressOptions.num>=2?r("div",{staticClass:"transfer-right-item"},[r("h3",{staticClass:"transfer-title"},[r("span",[e._v(e._s(e.toTitleSecond||"抄送人"))]),e._v(" "),r("span",{staticClass:"u-clear",on:{click:function(t){return e.clearList(1,"all")}}},[e._v("清空")])]),e._v(" "),r("div",{staticClass:"transfer-main"},[e._t("to"),e._v(" "),e.filter?r("el-input",{staticClass:"filter-tree",attrs:{placeholder:e.placeholder,size:"small"},model:{value:e.filterListSecond,callback:function(t){e.filterListSecond=t},expression:"filterListSecond"}}):e._e(),e._v(" "),r("ul",{staticClass:"address-list-ul"},e._l(e.Cc,(function(t){return r("li",{key:t[e.node_key],staticClass:"address-list-li"},[r("label",[e._v("\n "+e._s(t[e.defaultProps.label])+"\n "+e._s(e.addressOptions.connector)+"\n "+e._s(t[e.addressOptions.suffix])+"\n ")]),e._v(" "),r("i",{staticClass:"address-list-del el-icon-delete",on:{click:function(n){return e.clearList(1,t[e.node_key])}}})])})),0)],2)]):e._e(),e._v(" "),3===e.addressOptions.num?r("div",{staticClass:"transfer-right-item",class:{"transfer-right-small":!e.move_up}},[r("h3",{staticClass:"transfer-title"},[r("span",[e._v(e._s(e.toTitleThird||"密送人"))]),e._v(" "),e.move_up?r("span",{staticClass:"u-clear",on:{click:function(t){return e.clearList(2,"all")}}},[e._v("清空")]):r("img",{staticClass:"move_up_img",attrs:{src:n(8),alt:"icon"},on:{click:function(t){return e.moveUp("up")}}})]),e._v(" "),e.move_up?r("div",{staticClass:"transfer-main"},[e._t("to"),e._v(" "),e.filter?r("el-input",{staticClass:"filter-tree",attrs:{placeholder:e.placeholder,size:"small"},model:{value:e.filterListThird,callback:function(t){e.filterListThird=t},expression:"filterListThird"}}):e._e(),e._v(" "),r("ul",{staticClass:"address-list-ul"},e._l(e.secret_receiver,(function(t){return r("li",{key:t[e.node_key],staticClass:"address-list-li"},[r("label",[e._v("\n "+e._s(t[e.defaultProps.label])+"\n "+e._s(e.addressOptions.connector)+"\n "+e._s(t[e.addressOptions.suffix])+"\n ")]),e._v(" "),r("i",{staticClass:"address-list-del el-icon-delete",on:{click:function(n){return e.clearList(2,t[e.node_key])}}})])})),0)],2):e._e()]):e._e()])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wl-transfer transfer",style:{width:e.width,height:e.height}},[n(e.isComponent,e._b({ref:"wl-transfer-component",tag:"component",on:{"add-btn":e.handleAddBtn,"remove-btn":e.handleRemoveBtn,"left-check-change":e.handleLeftCheckChange,"right-check-change":e.handleRightCheckChange,"node-drag-start":e.handleNodeDragStart,"node-drag-enter":e.handleNodeDragEnter,"node-drag-leave":e.handleNodeDragLeave,"node-drag-over":e.handleNodeDragOver,"node-drag-end":e.handleNodeDragEnd,"node-drop":e.handleNodeDrop},scopedSlots:e._u([{key:"left-footer",fn:function(){return[e._t("left-footer")]},proxy:!0},{key:"right-footer",fn:function(){return[e._t("right-footer")]},proxy:!0},{key:"title-left",fn:function(){return[e._t("title-left")]},proxy:!0},{key:"title-right",fn:function(){return[e._t("title-right")]},proxy:!0},{key:"from",fn:function(){return[e._t("from")]},proxy:!0},{key:"to",fn:function(){return[e._t("to")]},proxy:!0},{key:"content-left",fn:function(t){var n=t.node,r=t.data;return[e._t("content-left",null,{node:n,data:r})]}},{key:"content-right",fn:function(t){var n=t.node,r=t.data;return[e._t("content-right",null,{node:n,data:r})]}}],null,!0)},"component",e.$props,!1))],1)},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o}])}))},"4cef":function(e,t){var n=/\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},"4ea1":function(e,t,n){"use strict";var r=n("d429"),i=n("ebb5"),o=n("bcbf"),a=n("5926"),s=n("f495"),l=i.aTypedArray,u=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();c("with",{with:function(e,t){var n=l(this),i=a(e),c=o(n)?s(t):+t;return r(n,u(n),i,c)}}["with"],!f)},5328:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0185":function(e,t,n){},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(c){u.forEach=o}}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),a=n("0366"),s=n("35a1"),l=n("2a62"),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var c,f,h,d,p,g,v,y=n&&n.that,m=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),x=a(t,y,1+m+_),w=function(e){return c&&l(c),new u(!0,e)},S=function(e){return m?(r(e),_?x(e[0],e[1],w):x(e[0],e[1])):_?x(e,w):x(e)};if(b)c=e;else{if(f=s(e),"function"!=typeof f)throw TypeError("Target is not iterable");if(i(f)){for(h=0,d=o(e.length);d>h;h++)if(p=S(e[h]),p&&p instanceof u)return p;return new u(!1)}c=f.call(e)}g=c.next;while(!(v=g.call(c)).done){try{p=S(v.value)}catch(k){throw l(c),k}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");e.exports=function(e,t){var n,c,f,h,d,p,g=e.target,v=e.global,y=e.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,e.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2cf4":function(e,t,n){var r,i,o,a=n("da84"),s=n("d039"),l=n("0366"),u=n("1be4"),c=n("cc12"),f=n("1cdc"),h=n("605d"),d=a.location,p=a.setImmediate,g=a.clearImmediate,v=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,_={},x="onreadystatechange",w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},S=function(e){return function(){w(e)}},k=function(e){w(e.data)},E=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};p&&g||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},g=function(e){delete _[e]},h?r=function(e){v.nextTick(S(e))}:m&&m.now?r=function(e){m.now(S(e))}:y&&!f?(i=new y,o=i.port2,i.port1.onmessage=k,r=l(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(E)?(r=E,a.addEventListener("message",k,!1)):r=x in c("script")?function(e){u.appendChild(c("script"))[x]=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:p,clear:g}},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3f8c":function(e,t){e.exports={}},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4aa8":function(e,t,n){"use strict";n("0185")},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),i=n("5899"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"605d":function(e,t,n){var r=n("c6b6"),i=n("da84");e.exports="process"==r(i.process)},"65f0":function(e,t,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),a=o("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),p=s.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=f.state||(f.state=new p),m=y.get,b=y.has,_=y.set;r=function(e,t){return t.facade=e,_.call(y,e,t),t},i=function(e){return m.call(y,e)||{}},o=function(e){return b.call(y,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){return t.facade=e,u(e,x,t),t},i=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:v}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e!==r?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(e,t,n){var r=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),f=">",h="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},y=function(e){return h+p+f+e+h+"/"+p+f},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?m(r):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[d]=i(e),n=new v,v[d]=null,n[g]=e):n=_(),void 0===t?n:o(n,t)}},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===l)return f[h];if(l===c&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"94ca":function(e,t,n){var r=n("d039"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},"99af":function(e,t,n){"use strict";var r=n("23e7"),i=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("50c4"),u=n("8418"),c=n("65f0"),f=n("1dde"),h=n("b622"),d=n("2d00"),p=h("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=d>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),m=f("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!y||!m;r({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,r,i,o,a=s(this),f=c(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],b(o)){if(i=l(o.length),h+i>g)throw TypeError(v);for(n=0;n<i;n++,h++)n in o&&u(f,h,o[n])}else{if(h>=g)throw TypeError(v);u(f,h++,o)}return f.length=h,f}})},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a9e3:function(e,t,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),u=n("7156"),c=n("c04e"),f=n("d039"),h=n("7c73"),d=n("241c").f,p=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,y="Number",m=i[y],b=m.prototype,_=l(h(b))==y,x=function(e){var t,n,r,i,o,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(u=v(u),t=u.charCodeAt(0),43===t||45===t){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;s<a;s++)if(l=o.charCodeAt(s),l<48||l>i)return NaN;return parseInt(o,r)}return+u};if(o(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var w,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?f((function(){b.valueOf.call(n)})):l(n)!=y)?u(new m(x(t)),n,S):x(t)},k=r?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),E=0;k.length>E;E++)s(m,w=k[E])&&!s(S,w)&&g(S,w,p(m,w));S.prototype=b,b.constructor=S,a(i,y,S)}},ae40:function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("5135"),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,f=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,f)}))}},b041:function(e,t,n){"use strict";var r=n("00ee"),i=n("f5df");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b575:function(e,t,n){var r,i,o,a,s,l,u,c,f=n("da84"),h=n("06cf").f,d=n("2cf4").set,p=n("1cdc"),g=n("605d"),v=f.MutationObserver||f.WebKitMutationObserver,y=f.document,m=f.process,b=f.Promise,_=h(f,"queueMicrotask"),x=_&&_.value;x||(r=function(){var e,t;g&&(e=m.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(n){throw i?a():o=void 0,n}}o=void 0,e&&e.enter()},!p&&!g&&v&&y?(s=!0,l=y.createTextNode(""),new v(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):b&&b.resolve?(u=b.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=g?function(){m.nextTick(r)}:function(){d.call(f,r)}),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},b622:function(e,t,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),u=i("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},b727:function(e,t,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,g,v,y){for(var m,b,_=o(p),x=i(_),w=r(g,v,3),S=a(x.length),k=0,E=y||s,O=t?E(p,S):n||h?E(p,0):void 0;S>k;k++)if((d||k in x)&&(m=x[k],b=w(m,k,_),e))if(t)O[k]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return k;case 2:l.call(O,m)}else switch(e){case 4:return!1;case 7:l.call(O,m)}return f?-1:u||c?c:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c975:function(e,t,n){"use strict";var r=n("23e7"),i=n("4d64").indexOf,o=n("a640"),a=n("ae40"),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),c=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!u||!c},{indexOf:function(e){return l?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cdf9:function(e,t,n){var r=n("825a"),i=n("861d"),o=n("f069");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},ce4e:function(e,t,n){var r=n("da84"),i=n("9112");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),i=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d2bb:function(e,t,n){var r=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,i=n("5135"),o=n("b622"),a=o("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var r,i,o,a,s=n("23e7"),l=n("c430"),u=n("da84"),c=n("d066"),f=n("fea9"),h=n("6eeb"),d=n("e2cc"),p=n("d44e"),g=n("2626"),v=n("861d"),y=n("1c0b"),m=n("19aa"),b=n("8925"),_=n("2266"),x=n("1c7e"),w=n("4840"),S=n("2cf4").set,k=n("b575"),E=n("cdf9"),O=n("44de"),C=n("f069"),A=n("e667"),T=n("69f3"),P=n("94ca"),M=n("b622"),D=n("605d"),I=n("2d00"),L=M("species"),R="Promise",j=T.get,N=T.set,B=T.getterFor(R),F=f,z=u.TypeError,U=u.document,H=u.process,V=c("fetch"),G=C.f,W=G,q=!!(U&&U.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,Y="unhandledrejection",K="rejectionhandled",$=0,Z=1,J=2,Q=1,ee=2,te=P(R,(function(){var e=b(F)!==String(F);if(!e){if(66===I)return!0;if(!D&&!X)return!0}if(l&&!F.prototype["finally"])return!0;if(I>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[L]=n,!(t.then((function(){}))instanceof n)})),ne=te||!x((function(e){F.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;k((function(){var r=e.value,i=e.state==Z,o=0;while(n.length>o){var a,s,l,u=n[o++],c=i?u.ok:u.fail,f=u.resolve,h=u.reject,d=u.domain;try{c?(i||(e.rejection===ee&&le(e),e.rejection=Q),!0===c?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),l=!0)),a===u.promise?h(z("Promise-chain cycle")):(s=re(a))?s.call(a,f,h):f(a)):h(r)}catch(p){d&&!l&&d.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,n){var r,i;q?(r=U.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!X&&(i=u["on"+e])?i(r):e===Y&&O("Unhandled promise rejection",n)},ae=function(e){S.call(u,(function(){var t,n=e.facade,r=e.value,i=se(e);if(i&&(t=A((function(){D?H.emit("unhandledRejection",r,n):oe(Y,n,r)})),e.rejection=D||se(e)?ee:Q,t.error))throw t.value}))},se=function(e){return e.rejection!==Q&&!e.parent},le=function(e){S.call(u,(function(){var t=e.facade;D?H.emit("rejectionHandled",t):oe(K,t,e.value)}))},ue=function(e,t,n){return function(r){e(t,r,n)}},ce=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=J,ie(e,!0))},fe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw z("Promise can't be resolved itself");var r=re(t);r?k((function(){var n={done:!1};try{r.call(t,ue(fe,n,e),ue(ce,n,e))}catch(i){ce(n,i,e)}})):(e.value=t,e.state=Z,ie(e,!1))}catch(i){ce({done:!1},i,e)}}};te&&(F=function(e){m(this,F,R),y(e),r.call(this);var t=j(this);try{e(ue(fe,t),ue(ce,t))}catch(n){ce(t,n)}},r=function(e){N(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:$,value:void 0})},r.prototype=d(F.prototype,{then:function(e,t){var n=B(this),r=G(w(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=D?H.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=$&&ie(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=j(e);this.promise=e,this.resolve=ue(fe,t),this.reject=ue(ce,t)},C.f=G=function(e){return e===F||e===o?new i(e):W(e)},l||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(F,V.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:F}),p(F,R,!1,!0),g(R),o=c(R),s({target:R,stat:!0,forced:te},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:l||te},{resolve:function(e){return E(l&&this===o?F:this,e)}}),s({target:R,stat:!0,forced:ne},{all:function(e){var t=this,n=G(t),r=n.resolve,i=n.reject,o=A((function(){var n=y(t.resolve),o=[],a=0,s=1;_(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,i=A((function(){var i=y(t.resolve);_(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e95a:function(e,t,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},f069:function(e,t,n){"use strict";var r=n("1c0b"),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},f5df:function(e,t,n){var r=n("00ee"),i=n("c6b6"),o=n("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},fb15:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vab-magnifier",on:{mouseenter:function(t){!e.disabled&&!e.enterEvent&&e.mouseEnter(t)},mousemove:function(t){!e.disabled&&!e.moveEvent&&e.mouseMove(t)},mouseleave:function(t){!e.disabled&&!e.leaveEvent&&e.mouseLeave(t)}}},[n("img",{ref:"img",staticClass:"origin-img",on:{load:function(t){return e.imgLoaded(t)}}}),e.selector?n("div",{directives:[{name:"show",rawName:"v-show",value:!e.hideZoomer&&e.imgLoadedFlag,expression:"!hideZoomer && imgLoadedFlag"}],class:["img-zoomer",{circle:"circle"===e.type}],style:[e.zoomerStyle,e.zoomerSize,e.zoomerPosition,!e.outZoomer&&e.zoomerBgUrl,!e.outZoomer&&e.zoomerBgSize,!e.outZoomer&&e.zoomerBgPosition]},[e._t("zoomer")],2):e._e(),e.outZoomer?n("div",{directives:[{name:"show",rawName:"v-show",value:!e.hideOutZoomer,expression:"!hideOutZoomer"}],class:["img-out-show",{"base-line":e.baseline}],style:[e.outZoomerStyle,e.outZoomerSize,e.outZoomerPosition,e.zoomerBgUrl,e.zoomerBgSize,e.zoomerBgPosition]},[e.pointer?n("div",{staticClass:"img-zoomer-point"}):e._e(),e._t("outzoomer")],2):e._e(),e._t("default")],2)},s=[],l=(n("99af"),n("4160"),n("c975"),n("a9e3"),n("d3b7"),n("e6cf"),n("159b"),function(e){var t=e.getBoundingClientRect(),n=-1!==navigator.userAgent.indexOf("MSIE"),r=n&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:r,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-r}}),u={name:"VabMagnifier",props:{url:{type:String,default:""},highUrl:{type:String,default:""},width:{type:Number,default:168},height:{type:Number,default:-1},type:{type:String,default:"square",validator:function(e){return-1!==["circle","square"].indexOf(e)}},zoomerStyle:{type:Object,default:function(){return{}}},outZoomerStyle:{type:Object,default:function(){return{}}},scale:{type:Number,default:2},enterEvent:{type:[Object,UIEvent],default:null},moveEvent:{type:[Object,UIEvent],default:null},leaveEvent:{type:[Object,UIEvent],default:null},selector:{type:Boolean,default:!0},outZoomer:{type:Boolean,default:!1},pointer:{type:Boolean,default:!1},baseline:{type:Boolean,default:!1},disabledReactive:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},maskColor:{type:String,default:""}},data:function(){return{zoomerRect:{top:0,left:0,absoluteLeft:0,absoluteTop:0},zoomerBgRect:{top:0,left:0},zoomerPoint:{leftBound:0,topBound:0,rightBound:0,bottomBound:0},vZoomerPoint:{leftBound:0,topBound:0,rightBound:0,bottomBound:0},hideZoomer:!0,hideOutZoomer:!0,imgLoadedFlag:!1,outZoomerInitTop:0,outZoomerTop:0,imgInfo:{},$img:null}},computed:{zoomerHeight:function(){return this.height>0?this.height:this.width},zoomerHalfWidth:function(){return this.width/2},zoomerHalfHeight:function(){return this.zoomerHeight/2},vZoomerHalfWidth:function(){var e=this.zoomerHalfWidth;return this.outZoomer?e*this.scale:e},vZoomerHalfHeight:function(){var e=this.zoomerHalfHeight;return this.outZoomer?e*this.scale:e},zoomerPosition:function(){var e=this.zoomerRect,t=e.top,n=e.left;return{top:"".concat(t,"px"),left:"".concat(n,"px")}},zoomerSize:function(){var e=this.width,t=this.zoomerHeight;return{width:"".concat(e,"px"),height:"".concat(t,"px")}},outZoomerSize:function(){var e=this.scale,t=this.width,n=this.zoomerHeight;return{width:"".concat(t*e,"px"),height:"".concat(n*e,"px")}},outZoomerPosition:function(){return{top:"".concat(this.outZoomerTop,"px")}},zoomerBgUrl:function(){return{backgroundImage:"url(".concat(this.highUrl||this.url,")")}},zoomerBgSize:function(){var e=this.scale,t=this.imgInfo,n=t.height,r=t.width;return{backgroundSize:"".concat(r*e,"px ").concat(n*e,"px")}},zoomerBgPosition:function(){var e=this.zoomerBgRect,t=e.left,n=e.top;return{backgroundPosition:"".concat(t,"px ").concat(n,"px")}}},watch:{scale:function(){this.initVZoomerPoint(),!this.outZoomer&&this.mouseMove()},enterEvent:"mouseEnter",moveEvent:"mouseMove",leaveEvent:"mouseLeave",url:"handlerUrlChange",width:"initZoomerPoint",height:"initZoomerPoint",vZoomerHalfWidth:"initVZoomerPoint",vZoomerHalfHeight:"initVZoomerPoint"},created:function(){this.url&&this.handlerUrlChange(),this.beforeReactivateMoveFns=[]},mounted:function(){var e=this;this.$img=this.$refs["img"],this.addResizeListener(this.$img,(function(t){e.imgInfo=t,e.handlerImgResize()}))},methods:{addResizeListener:function(e,t){var n=this;this.disabledReactive||this.beforeReactivateMoveFns.push((function(){var r=l(e);n.validImgResize(r)&&t&&t(r)}))},handlerUrlChange:function(){this.imgLoadedFlag=!1,this.loadImg(this.url).then(this.imgLoaded)},loadImg:function(e){return new Promise((function(t,n){var r=document.createElement("img");r.addEventListener("load",t),r.addEventListener("error",n),r.src=e}))},imgLoaded:function(){var e=this,t=this.$img;this.imgLoadedFlag||(this.imgLoadedFlag=!0,t.src=this.url,setTimeout((function(){e.imgInfo=l(t),e.handlerImgResize(),e.$emit("created",t,e.imgInfo)})))},validImgResize:function(e){return JSON.stringify(this.imgInfo)!==JSON.stringify(e)},handlerImgResize:function(){this.initZoomerProperty(),this.resetOutZoomPosition()},mouseEnter:function(e){this.imgLoadedFlag&&(this.hideZoomer=!1),this.$emit("mouseenter",e)},mouseMove:function(e){var t=this;if(!this.hideZoomer){if(e=e||this.pointerInfo,this.imgLoadedFlag&&e){this.pointerInfo=e,this.beforeReactivateMoveFns.forEach((function(e){return e.call(t)}));var n=e,r=n.pageX,i=n.pageY,o=n.clientY,a=i-o,s=this.scale,l=this.zoomerRect,u=this.zoomerBgRect,c=this.zoomerPoint,f=this.vZoomerPoint,h=this.outZoomer,d=this.zoomerHalfWidth,p=this.zoomerHalfHeight,g=this.vZoomerHalfWidth,v=this.vZoomerHalfHeight,y=l.absoluteLeft,m=l.absoluteTop,b=c.leftBound,_=c.topBound,x=c.rightBound,w=c.bottomBound,S=f.leftBound,k=f.topBound,E=f.rightBound,O=f.bottomBound,C=this.outZoomerInitTop,A=r-y,T=i-m,P=A>b?Math.min(A,x):b,M=T>_?Math.min(T,w):_,D=A*s>S?Math.min(A*s,E):S,I=T*s>k?Math.min(T*s,O):k;l.left=P-d,l.top=M-p,u.left=-D+g,u.top=-I+v,h&&(C||(C=this.outZoomerInitTop=a+this.imgInfo.top),this.hideOutZoomer&&(this.hideOutZoomer=!1),this.outZoomerTop=a>C?a-C:0)}this.$emit("mousemove",e)}},mouseLeave:function(e){this.hideZoomer=!0,this.outZoomer&&(this.hideOutZoomer=!0),this.$emit("mouseleave",e)},initZoomerProperty:function(){var e=this.zoomerRect,t=this.imgInfo,n=t.left,r=t.top,i=document,o=i.documentElement,a=i.body,s=o.scrollTop||window.pageYOffset||a.scrollTop,l=o.scrollLeft||window.pageXOffset||a.scrollLeft;e.absoluteLeft=n+l,e.absoluteTop=r+s,this.initZoomerPoint(),this.initVZoomerPoint()},initZoomerPoint:function(){var e=this.zoomerHalfWidth,t=this.zoomerHalfHeight,n=this.imgInfo,r=n.width,i=n.height,o=this.zoomerPoint;o.leftBound=e,o.topBound=t,o.rightBound=r-e,o.bottomBound=i-t,this.mouseMove()},initVZoomerPoint:function(){var e=this.vZoomerPoint,t=this.vZoomerHalfWidth,n=this.vZoomerHalfHeight,r=this.imgInfo,i=r.width,o=r.height,a=this.scale;e.leftBound=t,e.topBound=n,e.rightBound=i*a-t,e.bottomBound=o*a-n,this.mouseMove()},reset:function(){this.initZoomerProperty()},resetOutZoomPosition:function(){this.outZoomerInitTop=0}}},c=u;function f(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}n("4aa8");var h=f(c,a,s,!1,null,"573e9578",null),d=h.exports;t["default"]=d},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,n){var r=n("da84");e.exports=r.Promise}})["default"]}))},5494:function(e,t,n){"use strict";var r=n("83ab"),i=n("e330"),o=n("edd0"),a=URLSearchParams.prototype,s=i(a.forEach);r&&!("size"in a)&&o(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},"58e0":function(e,t,n){"use strict";(function(e){var r=n("26ee"),i=n("2f74"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?r["a"].Buffer:void 0,u=l?l.isBuffer:void 0,c=u||i["a"];t["a"]=c}).call(this,n("dd40")(e))},"5a0c":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",u="month",c="quarter",f="year",h="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},m={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,u),o=n-i<0,a=t.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:l,d:s,D:h,h:a,m:o,s:i,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=v;var x="$isDayjsObject",w=function(e){return e instanceof O||!(!e||!e[x])},S=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();_[o]&&(i=o),n&&(_[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;_[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},k=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},E=m;E.l=S,E.i=w,E.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function v(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var y=v.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===d)},y.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return k(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<k(e)},y.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,r=!!E.u(t)||t,c=E.p(e),d=function(e,t){var i=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},p=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,v=this.$M,y=this.$D,m="set"+(this.$u?"UTC":"");switch(c){case f:return r?d(1,0):d(31,11);case u:return r?d(1,v):d(0,v+1);case l:var b=this.$locale().weekStart||0,_=(g<b?g+7:g)-b;return d(r?y-_:y+(6-_),v);case s:case h:return p(m+"Hours",0);case a:return p(m+"Minutes",1);case o:return p(m+"Seconds",2);case i:return p(m+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var n,l=E.p(e),c="set"+(this.$u?"UTC":""),d=(n={},n[s]=c+"Date",n[h]=c+"Date",n[u]=c+"Month",n[f]=c+"FullYear",n[a]=c+"Hours",n[o]=c+"Minutes",n[i]=c+"Seconds",n[r]=c+"Milliseconds",n)[l],p=l===s?this.$D+(t-this.$W):t;if(l===u||l===f){var g=this.clone().set(h,1);g.$d[d](p),g.init(),this.$d=g.set(h,Math.min(this.$D,g.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(r,c){var h,d=this;r=Number(r);var p=E.p(c),g=function(e){var t=k(d);return E.w(t.date(t.date()+Math.round(e*r)),d)};if(p===u)return this.set(u,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===s)return g(1);if(p===l)return g(7);var v=(h={},h[o]=t,h[a]=n,h[i]=e,h)[p]||1,y=this.$d.getTime()+r*v;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=E.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,u=n.months,c=n.meridiem,f=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},h=function(e){return E.s(o%12||12,e,"0")},p=c||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return E.s(t.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,u,3);case"MMMM":return f(u,s);case"D":return t.$D;case"DD":return E.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,l,2);case"ddd":return f(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return E.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return p(o,a,!0);case"A":return p(o,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(t.$s);case"ss":return E.s(t.$s,2,"0");case"SSS":return E.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,h,d){var p,g=this,v=E.p(h),y=k(r),m=(y.utcOffset()-this.utcOffset())*t,b=this-y,_=function(){return E.m(g,y)};switch(v){case f:p=_()/12;break;case u:p=_();break;case c:p=_()/3;break;case l:p=(b-m)/6048e5;break;case s:p=(b-m)/864e5;break;case a:p=b/n;break;case o:p=b/t;break;case i:p=b/e;break;default:p=b}return d?p:E.a(p)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),C=O.prototype;return k.prototype=C,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",u],["$y",f],["$D",h]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,O,k),e.$i=!0),k},k.locale=S,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=_[b],k.Ls=_,k.p={},k}))},"5db9":function(e,t,n){},"5e90":function(e,t,n){!function(t,n){e.exports=n()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=222)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return z})),n.d(t,"d",(function(){return U})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return F})),n.d(t,"i",(function(){return i})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return O}));var r,i,o,a,s,l,u,c={},f=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var i,o,a,s={};for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return v(e,s,i,o,null)}function v(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=i.vnode&&i.vnode(s),s}function y(){return{current:null}}function m(e){return e.children}function b(e,t){this.props=e,this.context=t}function _(e,t){if(null==t)return e.__?_(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?_(e):null}function x(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return x(e)}}function w(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!S.__r++||l!==i.debounceRendering)&&((l=i.debounceRendering)||s)(S)}function S(){for(var e;S.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=d({},i)).__v=i.__v+1,D(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?_(i):o,i.__h),I(n,i),i.__e!=o&&x(i)))}))}function k(e,t,n,r,i,o,a,s,l,u){var h,d,p,g,y,b,x,w=r&&r.__k||f,S=w.length;for(n.__k=[],h=0;h<t.length;h++)if(null!=(g=n.__k[h]=null==(g=t[h])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?v(null,g,null,null,g):Array.isArray(g)?v(m,{children:g},null,null,null):g.__b>0?v(g.type,g.props,g.key,null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(p=w[h])||p&&g.key==p.key&&g.type===p.type)w[h]=void 0;else for(d=0;d<S;d++){if((p=w[d])&&g.key==p.key&&g.type===p.type){w[d]=void 0;break}p=null}D(e,g,p=p||c,i,o,a,s,l,u),y=g.__e,(d=g.ref)&&p.ref!=d&&(x||(x=[]),p.ref&&x.push(p.ref,null,g),x.push(d,g.__c||y,g)),null!=y?(null==b&&(b=y),"function"==typeof g.type&&g.__k===p.__k?g.__d=l=E(g,l,e):l=C(e,g,p,w,y,l),"function"==typeof n.type&&(n.__d=l)):l&&p.__e==l&&l.parentNode!=e&&(l=_(p))}for(n.__e=b,h=S;h--;)null!=w[h]&&("function"==typeof n.type&&null!=w[h].__e&&w[h].__e==n.__d&&(n.__d=_(r,h+1)),j(w[h],w[h]));if(x)for(h=0;h<x.length;h++)R(x[h],x[++h],x[++h])}function E(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):C(n,r,r,i,r.__e,t));return t}function O(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){O(e,t)})):t.push(e)),t}function C(e,t,n,r,i,o){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function A(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function T(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||A(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?M:P,o):e.removeEventListener(t,o?M:P,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function P(e){this.l[e.type+!1](i.event?i.event(e):e)}function M(e){this.l[e.type+!0](i.event?i.event(e):e)}function D(e,t,n,r,o,a,s,l,u){var c,f,h,p,g,v,y,_,x,w,S,E=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(c=i.__b)&&c(t);try{e:if("function"==typeof E){if(_=t.props,x=(c=E.contextType)&&r[c.__c],w=c?x?x.props.value:c.__:r,n.__c?y=(f=t.__c=n.__c).__=f.__E:("prototype"in E&&E.prototype.render?t.__c=f=new E(_,w):(t.__c=f=new b(_,w),f.constructor=E,f.render=N),x&&x.sub(f),f.props=_,f.state||(f.state={}),f.context=w,f.__n=r,h=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=E.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=d({},f.__s)),d(f.__s,E.getDerivedStateFromProps(_,f.__s))),p=f.props,g=f.state,h)null==E.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==E.getDerivedStateFromProps&&_!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(_,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(_,f.__s,w)||t.__v===n.__v){f.props=_,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(_,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,g,v)}))}f.context=w,f.props=_,f.state=f.__s,(c=i.__r)&&c(t),f.__d=!1,f.__v=t,f.__P=e,c=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(r=d(d({},r),f.getChildContext())),h||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(p,g)),S=null!=c&&c.type===m&&null==c.key?c.props.children:c,k(e,Array.isArray(S)?S:[S],t,n,r,o,a,s,l,u),f.base=t.__e,t.__h=null,f.__h.length&&s.push(f),y&&(f.__E=f.__=null),f.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,r,o,a,s,u);(c=i.diffed)&&c(t)}catch(e){t.__v=null,(u||null!=a)&&(t.__e=l,t.__h=!!u,a[a.indexOf(l)]=null),i.__e(e,t,n)}}function I(e,t){i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function L(e,t,n,i,o,a,s,l){var u,f,h,d=n.props,g=t.props,v=t.type,y=0;if("svg"===v&&(o=!0),null!=a)for(;y<a.length;y++)if((u=a[y])&&"setAttribute"in u==!!v&&(v?u.localName===v:3===u.nodeType)){e=u,a[y]=null;break}if(null==e){if(null===v)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,g.is&&g),a=null,l=!1}if(null===v)d===g||l&&e.data===g||(e.data=g);else{if(a=a&&r.call(e.childNodes),f=(d=n.props||c).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!l){if(null!=a)for(d={},y=0;y<e.attributes.length;y++)d[e.attributes[y].name]=e.attributes[y].value;(h||f)&&(h&&(f&&h.__html==f.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||T(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||T(e,o,t[o],n[o],r)}(e,g,d,o,l),h)t.__k=[];else if(y=t.props.children,k(e,Array.isArray(y)?y:[y],t,n,i,o&&"foreignObject"!==v,a,s,a?a[0]:n.__k&&_(n,0),l),null!=a)for(y=a.length;y--;)null!=a[y]&&p(a[y]);l||("value"in g&&void 0!==(y=g.value)&&(y!==d.value||y!==e.value||"progress"===v&&!y)&&T(e,"value",y,d.value,!1),"checked"in g&&void 0!==(y=g.checked)&&y!==e.checked&&T(e,"checked",y,d.checked,!1))}return e}function R(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,n)}}function j(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||R(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&j(r[o],t,"function"!=typeof e.type);n||null==e.__e||p(e.__e),e.__e=e.__d=void 0}function N(e,t,n){return this.constructor(e,n)}function B(e,t,n){var o,a,s;i.__&&i.__(e,t),a=(o="function"==typeof n)?null:n&&n.__k||t.__k,s=[],D(t,e=(!o&&n||t).__k=g(m,null,[e]),a||c,c,void 0!==t.ownerSVGElement,!o&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!o&&n?n:a?a.__e:t.firstChild,o),I(s,e)}function F(e,t){B(e,t,F)}function z(e,t,n){var i,o,a,s=d({},e.props);for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),v(e.type,s,i||e.key,o||e.ref,null)}function U(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(w)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=f.slice,i={__e:function(e,t){for(var n,r,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return n.__E=n}catch(t){e=t}throw e}},o=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},b.prototype.render=m,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,u=0},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return on})),n.d(t,"c",(function(){return Ge})),n.d(t,"d",(function(){return Se})),n.d(t,"e",(function(){return pe})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return we})),n.d(t,"h",(function(){return mn})),n.d(t,"i",(function(){return ae})),n.d(t,"j",(function(){return xe})),n.d(t,"k",(function(){return et})),n.d(t,"l",(function(){return it})),n.d(t,"m",(function(){return ne})),n.d(t,"n",(function(){return ct})),n.d(t,"o",(function(){return k})),n.d(t,"p",(function(){return Ct})),n.d(t,"q",(function(){return ft})),n.d(t,"r",(function(){return mt})),n.d(t,"s",(function(){return yn})),n.d(t,"t",(function(){return pt})),n.d(t,"u",(function(){return nt})),n.d(t,"v",(function(){return xt})),n.d(t,"w",(function(){return wt})),n.d(t,"x",(function(){return kt})),n.d(t,"y",(function(){return tn})),n.d(t,"z",(function(){return an})),n.d(t,"A",(function(){return vn})),n.d(t,"B",(function(){return Et})),n.d(t,"C",(function(){return $})),n.d(t,"D",(function(){return Tt})),n.d(t,"E",(function(){return lt})),n.d(t,"F",(function(){return st})),n.d(t,"G",(function(){return tt})),n.d(t,"H",(function(){return $e})),n.d(t,"I",(function(){return It})),n.d(t,"J",(function(){return Rt})),n.d(t,"K",(function(){return ce})),n.d(t,"L",(function(){return Ot})),n.d(t,"M",(function(){return jt}));var i=[];Object.freeze(i);var o={};function a(){return++Re.mobxGuid}function s(e){throw l(!1,e),"X"}function l(e,t){if(!e)throw new Error("[mobx] "+(t||"An invariant failed, however the error is obfuscated because this is a production build."))}function u(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}Object.freeze(o);var c=function(){};function f(e){return null!==e&&"object"==typeof e}function h(e){if(null===e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function d(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function p(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return f(e)&&!0===e[n]}}function g(e){return e instanceof Map}function v(e){return e instanceof Set}function y(e){var t=new Set;for(var n in e)t.add(n);return Object.getOwnPropertySymbols(e).forEach((function(n){Object.getOwnPropertyDescriptor(e,n).enumerable&&t.add(n)})),Array.from(t)}function m(e){return e&&e.toString?e.toString():new String(e).toString()}function b(e){return null===e?null:"object"==typeof e?""+e:e}var _="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,x=Symbol("mobx administration"),w=function(){function e(e){void 0===e&&(e="Atom@"+a()),this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=J.NOT_TRACKING}return e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.reportObserved=function(){return Ue(this)},e.prototype.reportChanged=function(){Fe(),function(e){e.lowestObserverState!==J.STALE&&(e.lowestObserverState=J.STALE,e.observers.forEach((function(t){t.dependenciesState===J.UP_TO_DATE&&(t.isTracing!==Q.NONE&&He(t,e),t.onBecomeStale()),t.dependenciesState=J.STALE})))}(this),ze()},e.prototype.toString=function(){return this.name},e}(),S=p("Atom",w);function k(e,t,n){void 0===t&&(t=c),void 0===n&&(n=c);var r,i=new w(e);return t!==c&&ut("onBecomeObserved",i,t,r),n!==c&&lt(i,n),i}var E={identity:function(e,t){return e===t},structural:function(e,t){return _n(e,t)},default:function(e,t){return Object.is(e,t)},shallow:function(e,t){return _n(e,t,1)}},O=function(e,t){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},O(e,t)
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */},C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},C.apply(this,arguments)};function A(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function T(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function P(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(T(arguments[t]));return e}var M=Symbol("mobx did run lazy initializers"),D=Symbol("mobx pending decorators"),I={},L={};function R(e,t){var n=t?I:L;return n[e]||(n[e]={configurable:!0,enumerable:t,get:function(){return j(this),this[e]},set:function(t){j(this),this[e]=t}})}function j(e){var t,n;if(!0!==e[M]){var r=e[D];if(r){d(e,M,!0);var i=P(Object.getOwnPropertySymbols(r),Object.keys(r));try{for(var o=A(i),a=o.next();!a.done;a=o.next()){var s=r[a.value];s.propertyCreator(e,s.prop,s.descriptor,s.decoratorTarget,s.decoratorArguments)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}}}function N(e,t){return function(){var n,r=function(r,i,o,a){if(!0===a)return t(r,i,o,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,D)){var s=r[D];d(r,D,C({},s))}return r[D][i]={prop:i,propertyCreator:t,descriptor:o,decoratorTarget:r,decoratorArguments:n},R(i,e)};return B(arguments)?(n=i,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r)}}function B(e){return(2===e.length||3===e.length)&&("string"==typeof e[1]||"symbol"==typeof e[1])||4===e.length&&!0===e[3]}function F(e,t,n){return kt(e)?e:Array.isArray(e)?$.array(e,{name:n}):h(e)?$.object(e,void 0,{name:n}):g(e)?$.map(e,{name:n}):v(e)?$.set(e,{name:n}):e}function z(e){return e}function U(t){l(t);var n=N(!0,(function(e,n,r,i,o){var a=r?r.initializer?r.initializer.call(e):r.value:void 0;fn(e).addObservableProp(n,a,t)})),r=(void 0!==e&&e.env,n);return r.enhancer=t,r}var H={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function V(e){return null==e?H:"string"==typeof e?{name:e,deep:!0,proxy:!0}:e}Object.freeze(H);var G=U(F),W=U((function(e,t,n){return null==e||vn(e)||tn(e)||an(e)||un(e)?e:Array.isArray(e)?$.array(e,{name:n,deep:!1}):h(e)?$.object(e,void 0,{name:n,deep:!1}):g(e)?$.map(e,{name:n,deep:!1}):v(e)?$.set(e,{name:n,deep:!1}):s(!1)})),q=U(z),X=U((function(e,t,n){return _n(e,t)?t:e}));function Y(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?z:F}var K={box:function(e,t){arguments.length>2&&Z("box");var n=V(t);return new Oe(e,Y(n),n.name,!0,n.equals)},array:function(e,t){arguments.length>2&&Z("array");var n=V(t);return $t(e,Y(n),n.name)},map:function(e,t){arguments.length>2&&Z("map");var n=V(t);return new on(e,Y(n),n.name)},set:function(e,t){arguments.length>2&&Z("set");var n=V(t);return new ln(e,Y(n),n.name)},object:function(e,t,n){"string"==typeof arguments[1]&&Z("object");var r=V(n);if(!1===r.proxy)return ft({},e,t,r);var i=ht(r),o=ft({},void 0,void 0,r),a=Ht(o);return dt(a,e,t,i),a},ref:q,shallow:W,deep:G,struct:X},$=function(e,t,n){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return G.apply(null,arguments);if(kt(e))return e;var r=h(e)?$.object(e,t,n):Array.isArray(e)?$.array(e,t):g(e)?$.map(e,t):v(e)?$.set(e,t):e;if(r!==e)return r;s(!1)};function Z(e){s("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(K).forEach((function(e){return $[e]=K[e]}));var J,Q,ee=N(!1,(function(e,t,n,r,i){var o=n.get,a=n.set,s=i[0]||{};fn(e).addComputedProp(e,t,C({get:o,set:a,context:e},s))})),te=ee({equals:E.structural}),ne=function(e,t,n){if("string"==typeof t)return ee.apply(null,arguments);if(null!==e&&"object"==typeof e&&1===arguments.length)return ee.apply(null,arguments);var r="object"==typeof t?t:{};return r.get=e,r.set="function"==typeof t?t:r.set,r.name=r.name||e.name||"",new Ae(r)};ne.struct=te,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(J||(J={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Q||(Q={}));var re=function(e){this.cause=e};function ie(e){return e instanceof re}function oe(e){switch(e.dependenciesState){case J.UP_TO_DATE:return!1;case J.NOT_TRACKING:case J.STALE:return!0;case J.POSSIBLY_STALE:for(var t=de(!0),n=fe(),r=e.observing,i=r.length,o=0;o<i;o++){var a=r[o];if(Te(a)){if(Re.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return he(n),pe(t),!0}if(e.dependenciesState===J.STALE)return he(n),pe(t),!0}}return ge(e),he(n),pe(t),!1}}function ae(){return null!==Re.trackingDerivation}function se(e){var t=e.observers.size>0;Re.computationDepth>0&&t&&s(!1),Re.allowStateChanges||!t&&"strict"!==Re.enforceActions||s(!1)}function le(e,t,n){var r=de(!0);ge(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Re.runId;var i,o=Re.trackingDerivation;if(Re.trackingDerivation=e,!0===Re.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new re(e)}return Re.trackingDerivation=o,function(e){for(var t=e.observing,n=e.observing=e.newObserving,r=J.UP_TO_DATE,i=0,o=e.unboundDepsCount,a=0;a<o;a++)0===(s=n[a]).diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState>r&&(r=s.dependenciesState);for(n.length=i,e.newObserving=null,o=t.length;o--;)0===(s=t[o]).diffValue&&Ne(s,e),s.diffValue=0;for(;i--;){var s;1===(s=n[i]).diffValue&&(s.diffValue=0,je(s,e))}r!==J.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),pe(r),i}function ue(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)Ne(t[n],e);e.dependenciesState=J.NOT_TRACKING}function ce(e){var t=fe();try{return e()}finally{he(t)}}function fe(){var e=Re.trackingDerivation;return Re.trackingDerivation=null,e}function he(e){Re.trackingDerivation=e}function de(e){var t=Re.allowStateReads;return Re.allowStateReads=e,t}function pe(e){Re.allowStateReads=e}function ge(e){if(e.dependenciesState!==J.UP_TO_DATE){e.dependenciesState=J.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=J.UP_TO_DATE}}var ve=0,ye=1,me=Object.getOwnPropertyDescriptor((function(){}),"name");function be(e,t,n){var r=function(){return _e(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function _e(e,t,n,r){var i=xe(e,n,r);try{return t.apply(n,r)}catch(e){throw i.error=e,e}finally{we(i)}}function xe(e,t,n){var r=0,i=fe();Fe();var o={prevDerivation:i,prevAllowStateChanges:ke(!0),prevAllowStateReads:de(!0),notifySpy:!1,startTime:r,actionId:ye++,parentActionId:ve};return ve=o.actionId,o}function we(e){ve!==e.actionId&&s("invalid action stack. did you forget to finish an action?"),ve=e.parentActionId,void 0!==e.error&&(Re.suppressReactionErrors=!0),Ee(e.prevAllowStateChanges),pe(e.prevAllowStateReads),ze(),he(e.prevDerivation),e.notifySpy,Re.suppressReactionErrors=!1}function Se(e,t){var n,r=ke(e);try{n=t()}finally{Ee(r)}return n}function ke(e){var t=Re.allowStateChanges;return Re.allowStateChanges=e,t}function Ee(e){Re.allowStateChanges=e}me&&me.configurable;var Oe=function(e){function t(t,n,r,i,o){void 0===r&&(r="ObservableValue@"+a()),void 0===i&&(i=!0),void 0===o&&(o=E.default);var s=e.call(this,r)||this;return s.enhancer=n,s.name=r,s.equals=o,s.hasUnreportedChange=!1,s.value=n(t,void 0,r),s}return function(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){this.value,(e=this.prepareNewValue(e))!==Re.UNCHANGED&&this.setNewValue(e)},t.prototype.prepareNewValue=function(e){if(se(this),Vt(this)){var t=Wt(this,{object:this,type:"update",newValue:e});if(!t)return Re.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Re.UNCHANGED:e},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),qt(this)&&Yt(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return Gt(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),Xt(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return b(this.get())},t.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},t}(w),Ce=p("ObservableValue",Oe),Ae=function(){function e(e){this.dependenciesState=J.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=J.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+a(),this.value=new re(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Q.NONE,l(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+a(),e.set&&(this.setter=be(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?E.structural:E.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){e.lowestObserverState===J.UP_TO_DATE&&(e.lowestObserverState=J.POSSIBLY_STALE,e.observers.forEach((function(t){t.dependenciesState===J.UP_TO_DATE&&(t.dependenciesState=J.POSSIBLY_STALE,t.isTracing!==Q.NONE&&He(t,e),t.onBecomeStale())})))}(this)},e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.get=function(){this.isComputing&&s("Cycle detected in computation "+this.name+": "+this.derivation),0!==Re.inBatch||0!==this.observers.size||this.keepAlive?(Ue(this),oe(this)&&this.trackAndCompute()&&function(e){e.lowestObserverState!==J.STALE&&(e.lowestObserverState=J.STALE,e.observers.forEach((function(t){t.dependenciesState===J.POSSIBLY_STALE?t.dependenciesState=J.STALE:t.dependenciesState===J.UP_TO_DATE&&(e.lowestObserverState=J.UP_TO_DATE)})))}(this)):oe(this)&&(this.warnAboutUntrackedRead(),Fe(),this.value=this.computeValue(!1),ze());var e=this.value;if(ie(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(ie(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){l(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else l(!1,!1)},e.prototype.trackAndCompute=function(){var e=this.value,t=this.dependenciesState===J.NOT_TRACKING,n=this.computeValue(!0),r=t||ie(e)||ie(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Re.computationDepth++,e)t=le(this,this.derivation,this.scope);else if(!0===Re.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new re(e)}return Re.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(ue(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,i=void 0;return it((function(){var o=n.get();if(!r||t){var a=fe();e({type:"update",object:n,newValue:o,oldValue:i}),he(a)}r=!1,i=o}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return b(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}(),Te=p("ComputedValue",Ae),Pe=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Me={};function De(){return"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:Me}var Ie=!0,Le=!1,Re=function(){var e=De();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Ie=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Pe).version&&(Ie=!1),Ie?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Pe):(setTimeout((function(){Le||s("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Pe)}();function je(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Ne(e,t){e.observers.delete(t),0===e.observers.size&&Be(e)}function Be(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Re.pendingUnobservations.push(e))}function Fe(){Re.inBatch++}function ze(){if(0==--Re.inBatch){qe();for(var e=Re.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBecomeUnobserved()),n instanceof Ae&&n.suspend())}Re.pendingUnobservations=[]}}function Ue(e){var t=Re.trackingDerivation;return null!==t?(t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e,e.isBeingObserved||(e.isBeingObserved=!0,e.onBecomeObserved())),!0):(0===e.observers.size&&Re.inBatch>0&&Be(e),!1)}function He(e,t){if(e.isTracing===Q.BREAK){var n=[];Ve(pt(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof Ae?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Ve(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Ve(e,t,n+1)})))}var Ge=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+a()),void 0===r&&(r=!1),this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=J.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+a(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Q.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Re.pendingReactions.push(this),qe())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(Fe(),this._isScheduled=!1,oe(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}ze()}},e.prototype.track=function(e){if(!this.isDisposed){Fe(),this._isRunning=!0;var t=le(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&ue(this),ie(t)&&this.reportExceptionInDerivation(t.cause),ze()}},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Re.disableErrorBoundaries)throw e;Re.suppressReactionErrors,Re.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Fe(),ue(this),ze()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[x]=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var r=Lt(e);if(!r)return s(!1);r.isTracing,Q.NONE,r.isTracing=n?Q.BREAK:Q.LOG}(this,e)},e}(),We=function(e){return e()};function qe(){Re.inBatch>0||Re.isRunningReactions||We(Xe)}function Xe(){Re.isRunningReactions=!0;for(var e=Re.pendingReactions,t=0;e.length>0;){100==++t&&e.splice(0);for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction()}Re.isRunningReactions=!1}var Ye=p("Reaction",Ge);function Ke(e){var t=We;We=function(n){return e((function(){return t(n)}))}}function $e(e){return function(){}}function Ze(){s(!1)}function Je(e){return function(t,n,r){if(r){if(r.value)return{value:be(e,r.value),enumerable:!1,configurable:!0,writable:!0};var i=r.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return be(e,i.call(this))}}}return Qe(e).apply(this,arguments)}}function Qe(e){return function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:function(){},set:function(t){d(this,n,et(e,t))}})}}var et=function(e,t,n,r){return 1===arguments.length&&"function"==typeof e?be(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof t?be(e,t):1===arguments.length&&"string"==typeof e?Je(e):!0!==r?Je(t).apply(null,arguments):void d(e,t,be(e.name||t,n.value,this))};function tt(e,t){return _e("string"==typeof e?e:e.name||"<unnamed action>","function"==typeof e?e:t,this,void 0)}function nt(e){return"function"==typeof e&&!0===e.isMobxAction}function rt(e,t,n){d(e,t,be(t,n.bind(e)))}function it(e,t){void 0===t&&(t=o);var n,r=t&&t.name||e.name||"Autorun@"+a();if(t.scheduler||t.delay){var i=at(t),s=!1;n=new Ge(r,(function(){s||(s=!0,i((function(){s=!1,n.isDisposed||n.track(l)})))}),t.onError,t.requiresObservable)}else n=new Ge(r,(function(){this.track(l)}),t.onError,t.requiresObservable);function l(){e(n)}return n.schedule(),n.getDisposer()}et.bound=function(e,t,n,r){return!0===r?(rt(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return rt(this,t,n.value||n.initializer.call(this)),this[t]},set:Ze}:{enumerable:!1,configurable:!0,set:function(e){rt(this,t,e)},get:function(){}}};var ot=function(e){return e()};function at(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:ot}function st(e,t,n){void 0===n&&(n=o);var r,i,s,l=n.name||"Reaction@"+a(),u=et(l,n.onError?(r=n.onError,i=t,function(){try{return i.apply(this,arguments)}catch(e){r.call(this,e)}}):t),c=!n.scheduler&&!n.delay,f=at(n),h=!0,d=!1,p=n.compareStructural?E.structural:n.equals||E.default,g=new Ge(l,(function(){h||c?v():d||(d=!0,f(v))}),n.onError,n.requiresObservable);function v(){if(d=!1,!g.isDisposed){var t=!1;g.track((function(){var n=e(g);t=h||!p(s,n),s=n})),h&&n.fireImmediately&&u(s,g),h||!0!==t||u(s,g),h&&(h=!1)}}return g.schedule(),g.getDisposer()}function lt(e,t,n){return ut("onBecomeUnobserved",e,t,n)}function ut(e,t,n,r){var i="function"==typeof r?yn(t,n):yn(t),o="function"==typeof r?r:n,a=e+"Listeners";return i[a]?i[a].add(o):i[a]=new Set([o]),"function"!=typeof i[e]?s(!1):function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function ct(e){var t=e.enforceActions,n=e.computedRequiresReaction,r=e.computedConfigurable,i=e.disableErrorBoundaries,o=e.reactionScheduler,a=e.reactionRequiresObservable,l=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&((Re.pendingReactions.length||Re.inBatch||Re.isRunningReactions)&&s("isolateGlobalState should be called before MobX is running any reactions"),Le=!0,Ie&&(0==--De().__mobxInstanceCount&&(De().__mobxGlobals=void 0),Re=new Pe)),void 0!==t){var u=void 0;switch(t){case!0:case"observed":u=!0;break;case!1:case"never":u=!1;break;case"strict":case"always":u="strict";break;default:s("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Re.enforceActions=u,Re.allowStateChanges=!0!==u&&"strict"!==u}void 0!==n&&(Re.computedRequiresReaction=!!n),void 0!==a&&(Re.reactionRequiresObservable=!!a),void 0!==l&&(Re.observableRequiresReaction=!!l,Re.allowStateReads=!Re.observableRequiresReaction),void 0!==r&&(Re.computedConfigurable=!!r),void 0!==i&&(Re.disableErrorBoundaries=!!i),o&&Ke(o)}function ft(e,t,n,r){var i=ht(r=V(r));return j(e),fn(e,r.name,i.enhancer),t&&dt(e,t,n,i),e}function ht(e){return e.defaultDecorator||(!1===e.deep?q:G)}function dt(e,t,n,r){var i,o;Fe();try{var a=_(t);try{for(var s=A(a),l=s.next();!l.done;l=s.next()){var u=l.value,c=Object.getOwnPropertyDescriptor(t,u),f=(n&&u in n?n[u]:c.get?ee:r)(e,u,c,!0);f&&Object.defineProperty(e,u,f)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}finally{ze()}}function pt(e,t){return gt(yn(e,t))}function gt(e){var t,n,r={name:e.name};return e.observing&&e.observing.length>0&&(r.dependencies=(t=e.observing,n=[],t.forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),n).map(gt)),r}var vt=0;function yt(){this.message="FLOW_CANCELLED"}function mt(e){1!==arguments.length&&s("Flow expects 1 argument and cannot be used as decorator");var t=e.name||"<unnamed flow>";return function(){var n,r=this,i=arguments,o=++vt,a=et(t+" - runid: "+o+" - init",e).apply(r,i),s=void 0,l=new Promise((function(e,r){var i=0;function l(e){var n;s=void 0;try{n=et(t+" - runid: "+o+" - yield "+i++,a.next).call(a,e)}catch(e){return r(e)}c(n)}function u(e){var n;s=void 0;try{n=et(t+" - runid: "+o+" - yield "+i++,a.throw).call(a,e)}catch(e){return r(e)}c(n)}function c(t){if(!t||"function"!=typeof t.then)return t.done?e(t.value):(s=Promise.resolve(t.value)).then(l,u);t.then(c,r)}n=r,l(void 0)}));return l.cancel=et(t+" - runid: "+o+" - cancel",(function(){try{s&&bt(s);var e=a.return(void 0),t=Promise.resolve(e.value);t.then(c,c),bt(t),n(new yt)}catch(e){n(e)}})),l}}function bt(e){"function"==typeof e.cancel&&e.cancel()}function _t(e,t){if(null==e)return!1;if(void 0!==t){if(!1===vn(e))return!1;if(!e[x].values.has(t))return!1;var n=yn(e,t);return Te(n)}return Te(e)}function xt(e){return arguments.length>1?s(!1):_t(e)}function wt(e,t){return"string"!=typeof t?s(!1):_t(e,t)}function St(e,t){return null!=e&&(void 0!==t?!!vn(e)&&e[x].values.has(t):vn(e)||!!e[x]||S(e)||Ye(e)||Te(e))}function kt(e){return 1!==arguments.length&&s(!1),St(e)}function Et(e){return vn(e)?e[x].getKeys():an(e)||un(e)?Array.from(e.keys()):tn(e)?e.map((function(e,t){return t})):s(!1)}function Ot(e){return vn(e)?Et(e).map((function(t){return e[t]})):an(e)?Et(e).map((function(t){return e.get(t)})):un(e)?Array.from(e.values()):tn(e)?e.slice():s(!1)}function Ct(e){return vn(e)?Et(e).map((function(t){return[t,e[t]]})):an(e)?Et(e).map((function(t){return[t,e.get(t)]})):un(e)?Array.from(e.entries()):tn(e)?e.map((function(e,t){return[t,e]})):s(!1)}function At(e,t,n){if(2!==arguments.length||un(e))if(vn(e)){var r=e[x],i=r.values.get(t);i?r.write(t,n):r.addObservableProp(t,n,r.defaultEnhancer)}else if(an(e))e.set(t,n);else if(un(e))e.add(t);else{if(!tn(e))return s(!1);"number"!=typeof t&&(t=parseInt(t,10)),l(t>=0,"Not a valid index: '"+t+"'"),Fe(),t>=e.length&&(e.length=t+1),e[t]=n,ze()}else{Fe();var o=t;try{for(var a in o)At(e,a,o[a])}finally{ze()}}}function Tt(e,t,n,r){return"function"==typeof n?function(e,t,n,r){return mn(e,t).observe(n,r)}(e,t,n,r):function(e,t,n){return mn(e).observe(t,n)}(e,t,n)}yt.prototype=Object.create(Error.prototype);var Pt={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function Mt(e,t,n,r){return r.detectCycles&&e.set(t,n),n}function Dt(e,t,n){if(!t.recurseEverything&&!kt(e))return e;if("object"!=typeof e)return e;if(null===e)return null;if(e instanceof Date)return e;if(Ce(e))return Dt(e.get(),t,n);if(kt(e)&&Et(e),!0===t.detectCycles&&null!==e&&n.has(e))return n.get(e);if(tn(e)||Array.isArray(e)){var r=Mt(n,e,[],t),i=e.map((function(e){return Dt(e,t,n)}));r.length=i.length;for(var o=0,a=i.length;o<a;o++)r[o]=i[o];return r}if(un(e)||Object.getPrototypeOf(e)===Set.prototype){if(!1===t.exportMapsAsObjects){var s=Mt(n,e,new Set,t);return e.forEach((function(e){s.add(Dt(e,t,n))})),s}var l=Mt(n,e,[],t);return e.forEach((function(e){l.push(Dt(e,t,n))})),l}if(an(e)||Object.getPrototypeOf(e)===Map.prototype){if(!1===t.exportMapsAsObjects){var u=Mt(n,e,new Map,t);return e.forEach((function(e,r){u.set(r,Dt(e,t,n))})),u}var c=Mt(n,e,{},t);return e.forEach((function(e,r){c[r]=Dt(e,t,n)})),c}var f=Mt(n,e,{},t);return y(e).forEach((function(r){f[r]=Dt(e[r],t,n)})),f}function It(e,t){var n;return"boolean"==typeof t&&(t={detectCycles:t}),t||(t=Pt),t.detectCycles=void 0===t.detectCycles?!0===t.recurseEverything:!0===t.detectCycles,t.detectCycles&&(n=new Map),Dt(e,t,n)}function Lt(e){switch(e.length){case 0:return Re.trackingDerivation;case 1:return yn(e[0]);case 2:return yn(e[0],e[1])}}function Rt(e,t){void 0===t&&(t=void 0),Fe();try{return e.apply(t)}finally{ze()}}function jt(e,t,n){return 1===arguments.length||t&&"object"==typeof t?Bt(e,t):Nt(e,t,n||{})}function Nt(e,t,n){var r;"number"==typeof n.timeout&&(r=setTimeout((function(){if(!o[x].isDisposed){o();var e=new Error("WHEN_TIMEOUT");if(!n.onError)throw e;n.onError(e)}}),n.timeout)),n.name=n.name||"When@"+a();var i=be(n.name+"-effect",t),o=it((function(t){e()&&(t.dispose(),r&&clearTimeout(r),i())}),n);return o}function Bt(e,t){var n,r=new Promise((function(r,i){var o=Nt(e,r,C(C({},t),{onError:i}));n=function(){o(),i("WHEN_CANCELLED")}}));return r.cancel=n,r}function Ft(e){return e[x]}function zt(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e}var Ut={has:function(e,t){if(t===x||"constructor"===t||t===M)return!0;var n=Ft(e);return zt(t)?n.has(t):t in e},get:function(e,t){if(t===x||"constructor"===t||t===M)return e[t];var n=Ft(e),r=n.values.get(t);if(r instanceof w){var i=r.get();return void 0===i&&n.has(t),i}return zt(t)&&n.has(t),e[t]},set:function(e,t,n){return!!zt(t)&&(At(e,t,n),!0)},deleteProperty:function(e,t){return!!zt(t)&&(Ft(e).remove(t),!0)},ownKeys:function(e){return Ft(e).keysAtom.reportObserved(),Reflect.ownKeys(e)},preventExtensions:function(e){return s("Dynamic observable objects cannot be frozen"),!1}};function Ht(e){var t=new Proxy(e,Ut);return e[x].proxy=t,t}function Vt(e){return void 0!==e.interceptors&&e.interceptors.length>0}function Gt(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),u((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Wt(e,t){var n=fe();try{for(var r=P(e.interceptors||[]),i=0,o=r.length;i<o&&(l(!(t=r[i](t))||t.type,"Intercept handlers should return nothing or a change object"),t);i++);return t}finally{he(n)}}function qt(e){return void 0!==e.changeListeners&&e.changeListeners.length>0}function Xt(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),u((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Yt(e,t){var n=fe(),r=e.changeListeners;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);he(n)}}var Kt={get:function(e,t){return t===x?e[x]:"length"===t?e[x].getArrayLength():"number"==typeof t?Jt.get.call(e,t):"string"!=typeof t||isNaN(t)?Jt.hasOwnProperty(t)?Jt[t]:e[t]:Jt.get.call(e,parseInt(t))},set:function(e,t,n){return"length"===t&&e[x].setArrayLength(n),"number"==typeof t&&Jt.set.call(e,t,n),"symbol"==typeof t||isNaN(t)?e[t]=n:Jt.set.call(e,parseInt(t),n),!0},preventExtensions:function(e){return s("Observable arrays cannot be frozen"),!1}};function $t(e,t,n,r){void 0===n&&(n="ObservableArray@"+a()),void 0===r&&(r=!1);var i,o,s,l=new Zt(n,t,r);i=l.values,o=x,s=l,Object.defineProperty(i,o,{enumerable:!1,writable:!1,configurable:!0,value:s});var u=new Proxy(l.values,Kt);if(l.proxy=u,e&&e.length){var c=ke(!0);l.spliceWithArray(0,0,e),Ee(c)}return u}var Zt=function(){function e(e,t,n){this.owned=n,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new w(e||"ObservableArray@"+a()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return Gt(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),Xt(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed.");this.lastKnownLength+=t},e.prototype.spliceWithArray=function(e,t,n){var r=this;se(this.atom);var o=this.values.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=i),Vt(this)){var a=Wt(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!a)return i;t=a.removedCount,n=a.added}n=0===n.length?n:n.map((function(e){return r.enhancer(e,void 0)}));var s=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,s),this.dehanceValues(s)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,P([e,t],n));var i=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),i},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&!1,i=qt(this),o=i||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),i&&Yt(this,o)},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&!1,i=qt(this),o=i||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),i&&Yt(this,o)},e}(),Jt={intercept:function(e){return this[x].intercept(e)},observe:function(e,t){return void 0===t&&(t=!1),this[x].observe(e,t)},clear:function(){return this.splice(0)},replace:function(e){var t=this[x];return t.spliceWithArray(0,t.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=this[x];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray(e);case 2:return i.spliceWithArray(e,t)}return i.spliceWithArray(e,t,n)},spliceWithArray:function(e,t,n){return this[x].spliceWithArray(e,t,n)},push:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this[x];return n.spliceWithArray(n.values.length,0,e),n.values.length},pop:function(){return this.splice(Math.max(this[x].values.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this[x];return n.spliceWithArray(0,0,e),n.values.length},reverse:function(){var e=this.slice();return e.reverse.apply(e,arguments)},sort:function(e){var t=this.slice();return t.sort.apply(t,arguments)},remove:function(e){var t=this[x],n=t.dehanceValues(t.values).indexOf(e);return n>-1&&(this.splice(n,1),!0)},get:function(e){var t=this[x];if(t&&e<t.values.length)return t.atom.reportObserved(),t.dehanceValue(t.values[e])},set:function(e,t){var n=this[x],r=n.values;if(e<r.length){se(n.atom);var i=r[e];if(Vt(n)){var o=Wt(n,{type:"update",object:n.proxy,index:e,newValue:t});if(!o)return;t=o.newValue}(t=n.enhancer(t,i))!==i&&(r[e]=t,n.notifyArrayChildUpdate(e,t,i))}else{if(e!==r.length)throw new Error("[mobx.array] Index out of bounds, "+e+" is larger than "+r.length);n.spliceWithArray(e,0,[t])}}};["concat","flat","includes","indexOf","join","lastIndexOf","slice","toString","toLocaleString"].forEach((function(e){"function"==typeof Array.prototype[e]&&(Jt[e]=function(){var t=this[x];t.atom.reportObserved();var n=t.dehanceValues(t.values);return n[e].apply(n,arguments)})})),["every","filter","find","findIndex","flatMap","forEach","map","some"].forEach((function(e){"function"==typeof Array.prototype[e]&&(Jt[e]=function(t,n){var r=this,i=this[x];return i.atom.reportObserved(),i.dehanceValues(i.values)[e]((function(e,i){return t.call(n,e,i,r)}),n)})})),["reduce","reduceRight"].forEach((function(e){Jt[e]=function(){var t=this,n=this[x];n.atom.reportObserved();var r=arguments[0];return arguments[0]=function(e,i,o){return i=n.dehanceValue(i),r(e,i,o,t)},n.values[e].apply(n.values,arguments)}}));var Qt,en=p("ObservableArrayAdministration",Zt);function tn(e){return f(e)&&en(e[x])}var nn,rn={},on=function(){function e(e,t,n){if(void 0===t&&(t=F),void 0===n&&(n="ObservableMap@"+a()),this.enhancer=t,this.name=n,this[Qt]=rn,this._keysAtom=k(this.name+".keys()"),this[Symbol.toStringTag]="Map","function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}return e.prototype._has=function(e){return this._data.has(e)},e.prototype.has=function(e){var t=this;if(!Re.trackingDerivation)return this._has(e);var n=this._hasMap.get(e);if(!n){var r=n=new Oe(this._has(e),z,this.name+"."+m(e)+"?",!1);this._hasMap.set(e,r),lt(r,(function(){return t._hasMap.delete(e)}))}return n.get()},e.prototype.set=function(e,t){var n=this._has(e);if(Vt(this)){var r=Wt(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(se(this._keysAtom),Vt(this)&&!(r=Wt(this,{type:"delete",object:this,name:e})))return!1;if(this._has(e)){var n=qt(this),r=n?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return Rt((function(){t._keysAtom.reportChanged(),t._updateHasMapEntry(e,!1),t._data.get(e).setNewValue(void 0),t._data.delete(e)})),n&&Yt(this,r),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap.get(e);n&&n.setNewValue(t)},e.prototype._updateValue=function(e,t){var n=this._data.get(e);if((t=n.prepareNewValue(t))!==Re.UNCHANGED){var r=qt(this),i=r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;n.setNewValue(t),r&&Yt(this,i)}},e.prototype._addValue=function(e,t){var n=this;se(this._keysAtom),Rt((function(){var r=new Oe(t,n.enhancer,n.name+"."+m(e),!1);n._data.set(e,r),t=r.value,n._updateHasMapEntry(e,!0),n._keysAtom.reportChanged()}));var r=qt(this),i=r?{type:"add",object:this,name:e,newValue:t}:null;r&&Yt(this,i)},e.prototype.get=function(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return this._keysAtom.reportObserved(),this._data.keys()},e.prototype.values=function(){var e=this,t=this.keys();return kn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},e.prototype.entries=function(){var e=this,t=this.keys();return kn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},e.prototype[(Qt=x,Symbol.iterator)]=function(){return this.entries()},e.prototype.forEach=function(e,t){var n,r;try{for(var i=A(this),o=i.next();!o.done;o=i.next()){var a=T(o.value,2),s=a[0],l=a[1];e.call(t,l,s,this)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.merge=function(e){var t=this;return an(e)&&(e=e.toJS()),Rt((function(){var n=ke(!0);try{h(e)?y(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=T(e,2),r=n[0],i=n[1];return t.set(r,i)})):g(e)?(e.constructor!==Map&&s("Cannot initialize from classes that inherit from Map: "+e.constructor.name),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&s("Cannot initialize map from "+e)}finally{Ee(n)}})),this},e.prototype.clear=function(){var e=this;Rt((function(){ce((function(){var t,n;try{for(var r=A(e.keys()),i=r.next();!i.done;i=r.next()){var o=i.value;e.delete(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}))}))},e.prototype.replace=function(e){var t=this;return Rt((function(){var n,r,i,o,a=function(e){if(g(e)||an(e))return e;if(Array.isArray(e))return new Map(e);if(h(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return s("Cannot convert to map from '"+e+"'")}(e),l=new Map,u=!1;try{for(var c=A(t._data.keys()),f=c.next();!f.done;f=c.next()){var d=f.value;if(!a.has(d))if(t.delete(d))u=!0;else{var p=t._data.get(d);l.set(d,p)}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}try{for(var v=A(a.entries()),y=v.next();!y.done;y=v.next()){var m=T(y.value,2),b=(d=m[0],p=m[1],t._data.has(d));if(t.set(d,p),t._data.has(d)){var _=t._data.get(d);l.set(d,_),b||(u=!0)}}}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}if(!u)if(t._data.size!==l.size)t._keysAtom.reportChanged();else for(var x=t._data.keys(),w=l.keys(),S=x.next(),k=w.next();!S.done;){if(S.value!==k.value){t._keysAtom.reportChanged();break}S=x.next(),k=w.next()}t._data=l})),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keysAtom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),e.prototype.toPOJO=function(){var e,t,n={};try{for(var r=A(this),i=r.next();!i.done;i=r.next()){var o=T(i.value,2),a=o[0],s=o[1];n["symbol"==typeof a?a:m(a)]=s}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return n},e.prototype.toJS=function(){return new Map(this)},e.prototype.toJSON=function(){return this.toPOJO()},e.prototype.toString=function(){var e=this;return this.name+"[{ "+Array.from(this.keys()).map((function(t){return m(t)+": "+e.get(t)})).join(", ")+" }]"},e.prototype.observe=function(e,t){return Xt(this,e)},e.prototype.intercept=function(e){return Gt(this,e)},e}(),an=p("ObservableMap",on),sn={},ln=function(){function e(e,t,n){if(void 0===t&&(t=F),void 0===n&&(n="ObservableSet@"+a()),this.name=n,this[nn]=sn,this._data=new Set,this._atom=k(this.name),this[Symbol.toStringTag]="Set","function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(e,r){return t(e,r,n)},e&&this.replace(e)}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.clear=function(){var e=this;Rt((function(){ce((function(){var t,n;try{for(var r=A(e._data.values()),i=r.next();!i.done;i=r.next()){var o=i.value;e.delete(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}))}))},e.prototype.forEach=function(e,t){var n,r;try{for(var i=A(this),o=i.next();!o.done;o=i.next()){var a=o.value;e.call(t,a,a,this)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},Object.defineProperty(e.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this;if(se(this._atom),Vt(this)&&!(r=Wt(this,{type:"add",object:this,newValue:e})))return this;if(!this.has(e)){Rt((function(){t._data.add(t.enhancer(e,void 0)),t._atom.reportChanged()}));var n=qt(this),r=n?{type:"add",object:this,newValue:e}:null;n&&Yt(this,r)}return this},e.prototype.delete=function(e){var t=this;if(Vt(this)&&!(r=Wt(this,{type:"delete",object:this,oldValue:e})))return!1;if(this.has(e)){var n=qt(this),r=n?{type:"delete",object:this,oldValue:e}:null;return Rt((function(){t._atom.reportChanged(),t._data.delete(e)})),n&&Yt(this,r),!0}return!1},e.prototype.has=function(e){return this._atom.reportObserved(),this._data.has(this.dehanceValue(e))},e.prototype.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return kn({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},e.prototype.keys=function(){return this.values()},e.prototype.values=function(){this._atom.reportObserved();var e=this,t=0,n=Array.from(this._data.values());return kn({next:function(){return t<n.length?{value:e.dehanceValue(n[t++]),done:!1}:{done:!0}}})},e.prototype.replace=function(e){var t=this;return un(e)&&(e=e.toJS()),Rt((function(){var n=ke(!0);try{Array.isArray(e)||v(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&s("Cannot initialize set from "+e)}finally{Ee(n)}})),this},e.prototype.observe=function(e,t){return Xt(this,e)},e.prototype.intercept=function(e){return Gt(this,e)},e.prototype.toJS=function(){return new Set(this)},e.prototype.toString=function(){return this.name+"[ "+Array.from(this).join(", ")+" ]"},e.prototype[(nn=x,Symbol.iterator)]=function(){return this.values()},e}(),un=p("ObservableSet",ln),cn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),this.target=e,this.values=t,this.name=n,this.defaultEnhancer=r,this.keysAtom=new w(n+".keys")}return e.prototype.read=function(e){return this.values.get(e).get()},e.prototype.write=function(e,t){var n=this.target,r=this.values.get(e);if(r instanceof Ae)r.set(t);else{if(Vt(this)){if(!(o=Wt(this,{type:"update",object:this.proxy||n,name:e,newValue:t})))return;t=o.newValue}if((t=r.prepareNewValue(t))!==Re.UNCHANGED){var i=qt(this),o=i?{type:"update",object:this.proxy||n,oldValue:r.value,name:e,newValue:t}:null;r.setNewValue(t),i&&Yt(this,o)}}},e.prototype.has=function(e){var t=this.pendingKeys||(this.pendingKeys=new Map),n=t.get(e);if(n)return n.get();var r=!!this.values.get(e);return n=new Oe(r,z,this.name+"."+m(e)+"?",!1),t.set(e,n),n.get()},e.prototype.addObservableProp=function(e,t,n){void 0===n&&(n=this.defaultEnhancer);var r=this.target;if(Vt(this)){var i=Wt(this,{object:this.proxy||r,name:e,type:"add",newValue:t});if(!i)return;t=i.newValue}var o=new Oe(t,n,this.name+"."+m(e),!1);this.values.set(e,o),t=o.value,Object.defineProperty(r,e,function(e){return hn[e]||(hn[e]={configurable:!0,enumerable:!0,get:function(){return this[x].read(e)},set:function(t){this[x].write(e,t)}})}(e)),this.notifyPropertyAddition(e,t)},e.prototype.addComputedProp=function(e,t,n){var r,i,o,a=this.target;n.name=n.name||this.name+"."+m(t),this.values.set(t,new Ae(n)),(e===a||(r=e,i=t,!(o=Object.getOwnPropertyDescriptor(r,i))||!1!==o.configurable&&!1!==o.writable))&&Object.defineProperty(e,t,function(e){return dn[e]||(dn[e]={configurable:Re.computedConfigurable,enumerable:!1,get:function(){return pn(this).read(e)},set:function(t){pn(this).write(e,t)}})}(t))},e.prototype.remove=function(e){if(this.values.has(e)){var t=this.target;if(Vt(this)&&!(a=Wt(this,{object:this.proxy||t,name:e,type:"remove"})))return;try{Fe();var n=qt(this),r=this.values.get(e),i=r&&r.get();if(r&&r.set(void 0),this.keysAtom.reportChanged(),this.values.delete(e),this.pendingKeys){var o=this.pendingKeys.get(e);o&&o.set(!1)}delete this.target[e];var a=n?{type:"remove",object:this.proxy||t,oldValue:i,name:e}:null;n&&Yt(this,a)}finally{ze()}}},e.prototype.illegalAccess=function(e,t){},e.prototype.observe=function(e,t){return Xt(this,e)},e.prototype.intercept=function(e){return Gt(this,e)},e.prototype.notifyPropertyAddition=function(e,t){var n=qt(this),r=n?{type:"add",object:this.proxy||this.target,name:e,newValue:t}:null;if(n&&Yt(this,r),this.pendingKeys){var i=this.pendingKeys.get(e);i&&i.set(!0)}this.keysAtom.reportChanged()},e.prototype.getKeys=function(){var e,t;this.keysAtom.reportObserved();var n=[];try{for(var r=A(this.values),i=r.next();!i.done;i=r.next()){var o=T(i.value,2),a=o[0];o[1]instanceof Oe&&n.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return n},e}();function fn(e,t,n){if(void 0===t&&(t=""),void 0===n&&(n=F),Object.prototype.hasOwnProperty.call(e,x))return e[x];h(e)||(t=(e.constructor.name||"ObservableObject")+"@"+a()),t||(t="ObservableObject@"+a());var r=new cn(e,new Map,m(t),n);return d(e,x,r),r}var hn=Object.create(null),dn=Object.create(null);function pn(e){var t=e[x];return t||(j(e),e[x])}var gn=p("ObservableObjectAdministration",cn);function vn(e){return!!f(e)&&(j(e),gn(e[x]))}function yn(e,t){if("object"==typeof e&&null!==e){if(tn(e))return void 0!==t&&s(!1),e[x].atom;if(un(e))return e[x];if(an(e)){var n=e;return void 0===t?n._keysAtom:((r=n._data.get(t)||n._hasMap.get(t))||s(!1),r)}var r;if(j(e),t&&!e[x]&&e[t],vn(e))return t?((r=e[x].values.get(t))||s(!1),r):s(!1);if(S(e)||Te(e)||Ye(e))return e}else if("function"==typeof e&&Ye(e[x]))return e[x];return s(!1)}function mn(e,t){return e||s("Expecting some object"),void 0!==t?mn(yn(e,t)):S(e)||Te(e)||Ye(e)||an(e)||un(e)?e:(j(e),e[x]?e[x]:void s(!1))}var bn=Object.prototype.toString;function _n(e,t,n){return void 0===n&&(n=-1),xn(e,t,n)}function xn(e,t,n,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=bn.call(e);if(a!==bn.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=wn(e),t=wn(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!("function"==typeof l&&l instanceof l&&"function"==typeof u&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!xn(e[c],t[c],n-1,r,i))return!1}else{var f=Object.keys(e),h=void 0;if(c=f.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!Sn(t,h=f[c])||!xn(e[h],t[h],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function wn(e){return tn(e)?e.slice():g(e)||an(e)||v(e)||un(e)?Array.from(e.entries()):e}function Sn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function kn(e){return e[Symbol.iterator]=En,e}function En(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:$e,extras:{getDebugName:function(e,t){return(void 0!==t?yn(e,t):vn(e)||an(e)||un(e)?mn(e):yn(e)).name}},$mobx:x})}).call(this,n(163),n(68))},function(e,t,n){var r=n(113),i=n(42),o=n(179);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(41),i=n(100),o=n(80),a=n(58),s=n(116),l="Array Iterator",u=a.set,c=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var r=n(16),i=n(7),o=n(46),a=n(76),s=n(34),l=n(15),u=n(71),c=n(36),f=n(108),h=n(18),d=n(35),p=n(96),g=n(30),v=n(33),y=n(54),m=n(87),b=n(32),_=n(40),x=n(41),w=n(86),S=n(39),k=n(69),E=n(60),O=n(77),C=n(74),A=n(139),T=n(112),P=n(50),M=n(38),D=n(84),I=n(98),L=n(42),R=n(89),j=n(93),N=n(72),B=n(90),F=n(28),z=n(140),U=n(141),H=n(78),V=n(58),G=n(79).forEach,W=j("hidden"),q="Symbol",X=F("toPrimitive"),Y=V.set,K=V.getterFor(q),$=Object.prototype,Z=i.Symbol,J=Z&&Z.prototype,Q=i.TypeError,ee=i.QObject,te=o("JSON","stringify"),ne=P.f,re=M.f,ie=A.f,oe=D.f,ae=l([].push),se=R("symbols"),le=R("op-symbols"),ue=R("string-to-symbol-registry"),ce=R("symbol-to-string-registry"),fe=R("wks"),he=!ee||!ee.prototype||!ee.prototype.findChild,de=c&&h((function(){return 7!=E(re({},"a",{get:function(){return re(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=ne($,t);r&&delete $[t],re(e,t,n),r&&e!==$&&re($,t,r)}:re,pe=function(e,t){var n=se[e]=E(J);return Y(n,{type:q,tag:e,description:t}),c||(n.description=t),n},ge=function(e,t,n){e===$&&ge(le,t,n),b(e);var r=w(t);return b(n),d(se,r)?(n.enumerable?(d(e,W)&&e[W][r]&&(e[W][r]=!1),n=E(n,{enumerable:k(0,!1)})):(d(e,W)||re(e,W,k(1,{})),e[W][r]=!0),de(e,r,n)):re(e,r,n)},ve=function(e,t){b(e);var n=x(t),r=O(n).concat(_e(n));return G(r,(function(t){c&&!s(ye,n,t)||ge(e,t,n[t])})),e},ye=function(e){var t=w(e),n=s(oe,this,t);return!(this===$&&d(se,t)&&!d(le,t))&&(!(n||!d(this,t)||!d(se,t)||d(this,W)&&this[W][t])||n)},me=function(e,t){var n=x(e),r=w(t);if(n!==$||!d(se,r)||d(le,r)){var i=ne(n,r);return!i||!d(se,r)||d(n,W)&&n[W][r]||(i.enumerable=!0),i}},be=function(e){var t=ie(x(e)),n=[];return G(t,(function(e){d(se,e)||d(N,e)||ae(n,e)})),n},_e=function(e){var t=e===$,n=ie(t?le:x(e)),r=[];return G(n,(function(e){!d(se,e)||t&&!d($,e)||ae(r,se[e])})),r};if(f||(Z=function(){if(y(J,this))throw Q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?S(arguments[0]):void 0,t=B(e),n=function(e){this===$&&s(n,le,e),d(this,W)&&d(this[W],t)&&(this[W][t]=!1),de(this,t,k(1,e))};return c&&he&&de($,t,{configurable:!0,set:n}),pe(t,e)},L(J=Z.prototype,"toString",(function(){return K(this).tag})),L(Z,"withoutSetter",(function(e){return pe(B(e),e)})),D.f=ye,M.f=ge,P.f=me,C.f=A.f=be,T.f=_e,z.f=function(e){return pe(F(e),e)},c&&(re(J,"description",{configurable:!0,get:function(){return K(this).description}}),u||L($,"propertyIsEnumerable",ye,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Z}),G(O(fe),(function(e){U(e)})),r({target:q,stat:!0,forced:!f},{for:function(e){var t=S(e);if(d(ue,t))return ue[t];var n=Z(t);return ue[t]=n,ce[n]=t,n},keyFor:function(e){if(!m(e))throw Q(e+" is not a symbol");if(d(ce,e))return ce[e]},useSetter:function(){he=!0},useSimple:function(){he=!1}}),r({target:"Object",stat:!0,forced:!f,sham:!c},{create:function(e,t){return void 0===t?E(e):ve(E(e),t)},defineProperty:ge,defineProperties:ve,getOwnPropertyDescriptor:me}),r({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:be,getOwnPropertySymbols:_e}),r({target:"Object",stat:!0,forced:h((function(){T.f(1)}))},{getOwnPropertySymbols:function(e){return T.f(_(e))}}),te&&r({target:"JSON",stat:!0,forced:!f||h((function(){var e=Z();return"[null]"!=te([e])||"{}"!=te({a:e})||"{}"!=te(Object(e))}))},{stringify:function(e,t,n){var r=I(arguments),i=t;if((v(t)||void 0!==e)&&!m(e))return p(t)||(t=function(e,t){if(g(i)&&(t=s(i,this,e,t)),!m(t))return t}),r[1]=t,a(te,null,r)}}),!J[X]){var xe=J.valueOf;L(J,X,(function(e){return s(xe,this)}))}H(Z,q),N[W]=!0},function(e,t,n){var r=n(7),i=n(152),o=n(153),a=n(3),s=n(57),l=n(28),u=l("iterator"),c=l("toStringTag"),f=a.values,h=function(e,t){if(e){if(e[u]!==f)try{s(e,u,f)}catch(t){e[u]=f}if(e[c]||s(e,c,t),i[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var d in i)h(r[d]&&r[d].prototype,d);h(o,"DOMTokenList")},function(e,t,n){"use strict";var r=n(151).charAt,i=n(39),o=n(58),a=n(116),s="String Iterator",l=o.set,u=o.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:i(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(68))},function(e,t,n){"use strict";var r=n(16),i=n(36),o=n(7),a=n(15),s=n(35),l=n(30),u=n(54),c=n(39),f=n(38).f,h=n(134),d=o.Symbol,p=d&&d.prototype;if(i&&l(d)&&(!("description"in p)||void 0!==d().description)){var g={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=u(p,this)?new d(e):void 0===e?d():d(e);return""===e&&(g[t]=!0),t};h(v,d),v.prototype=p,p.constructor=v;var y="Symbol(test)"==String(d("test")),m=a(p.toString),b=a(p.valueOf),_=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),w=a("".slice);f(p,"description",{configurable:!0,get:function(){var e=b(this),t=m(e);if(s(g,e))return"";var n=y?w(t,7,-1):x(t,_,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},function(e,t,n){n(141)("iterator")},function(e,t,n){"use strict";n.d(t,"a",(function(){return a.a})),n.d(t,"c",(function(){return a.e})),n.d(t,"h",(function(){return _})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return g})),n.d(t,"b",(function(){return P})),n.d(t,"e",(function(){return L})),n.d(t,"f",(function(){return M})),n.d(t,"g",(function(){return se}));var r,i,o,a=n(0),s=0,l=[],u=a.i.__b,c=a.i.__r,f=a.i.diffed,h=a.i.__c,d=a.i.unmount;function p(e,t){a.i.__h&&a.i.__h(i,e,s||t),s=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function g(e){return s=1,v(C,e)}function v(e,t,n){var o=p(r++,2);return o.t=e,o.__c||(o.__=[n?n(t):C(void 0,t),function(e){var t=o.t(o.__[0],e);o.__[0]!==t&&(o.__=[t,o.__[1]],o.__c.setState({}))}],o.__c=i),o.__}function y(e,t){var n=p(r++,3);!a.i.__s&&O(n.__H,t)&&(n.__=e,n.__H=t,i.__H.__h.push(n))}function m(e,t){var n=p(r++,4);!a.i.__s&&O(n.__H,t)&&(n.__=e,n.__H=t,i.__h.push(n))}function b(e,t){var n=p(r++,7);return O(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function _(e,t){return s=8,b((function(){return e}),t)}function x(){var e;for(l.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=l.pop();)if(e.__P)try{e.__H.__h.forEach(k),e.__H.__h.forEach(E),e.__H.__h=[]}catch(t){e.__H.__h=[],a.i.__e(t,e.__v)}}a.i.__b=function(e){i=null,u&&u(e)},a.i.__r=function(e){c&&c(e),r=0;var t=(i=e.__c).__H;t&&(t.__h.forEach(k),t.__h.forEach(E),t.__h=[])},a.i.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==l.push(t)&&o===a.i.requestAnimationFrame||((o=a.i.requestAnimationFrame)||S)(x)),i=null},a.i.__c=function(e,t){t.some((function(e){try{e.__h.forEach(k),e.__h=e.__h.filter((function(e){return!e.__||E(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.i.__e(n,e.__v)}})),h&&h(e,t)},a.i.unmount=function(e){d&&d(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{k(e)}catch(e){t=e}})),t&&a.i.__e(t,n.__v))};var w="function"==typeof requestAnimationFrame;function S(e){var t,n=function(){clearTimeout(r),w&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);w&&(t=requestAnimationFrame(n))}function k(e){var t=i,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),i=t}function E(e){var t=i;e.__c=e.__(),i=t}function O(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function C(e,t){return"function"==typeof t?t(e):t}function A(e,t){for(var n in t)e[n]=t[n];return e}function T(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function P(e){this.props=e}function M(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:T(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(a.e)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(P.prototype=new a.a).isPureReactComponent=!0,P.prototype.shouldComponentUpdate=function(e,t){return T(this.props,e)||T(this.state,t)};var D=a.i.__b;a.i.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),D&&D(e)};var I="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function L(e){function t(t,n){var r=A({},t);return delete r.ref,e(r,!(n=t.ref||n)||"object"==typeof n&&!("current"in n)?null:n)}return t.$$typeof=I,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var R=function(e,t){return null==e?null:Object(a.k)(Object(a.k)(e).map(t))},j={map:R,forEach:R,count:function(e){return e?Object(a.k)(e).length:0},only:function(e){var t=Object(a.k)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:a.k},N=a.i.__e;a.i.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);N(e,t,n)};var B=a.i.unmount;function F(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=A({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return F(e,t,n)}))),e}function z(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return z(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function U(){this.__u=0,this.t=null,this.__b=null}function H(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function V(){this.u=null,this.o=null}a.i.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),B&&B(e)},(U.prototype=new a.a).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=H(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=z(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},U.prototype.componentWillUnmount=function(){this.t=[]},U.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=F(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__e&&Object(a.e)(a.b,null,e.fallback);return i&&(i.__h=null),[Object(a.e)(a.b,null,t.__e?null:e.children),i]};var G=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function W(e){return this.getChildContext=function(){return e.context},e.children}function q(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(a.j)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(a.j)(Object(a.e)(W,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(V.prototype=new a.a).__e=function(e){var t=this,n=H(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),G(t,e,r)):i()};n?n(o):o()}},V.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(a.k)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){G(e,n,t)}))};var X="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Y=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,K="undefined"!=typeof document,$=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};a.a.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(a.a.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Z=a.i.event;function J(){}function Q(){return this.cancelBubble}function ee(){return this.defaultPrevented}a.i.event=function(e){return Z&&(e=Z(e)),e.persist=J,e.isPropagationStopped=Q,e.isDefaultPrevented=ee,e.nativeEvent=e};var te,ne={configurable:!0,get:function(){return this.class}},re=a.i.vnode;a.i.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];K&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!$(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():i&&Y.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(a.k)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Object(a.k)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(ne.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ne))}e.$$typeof=X,re&&re(e)};var ie=a.i.__r;a.i.__r=function(e){ie&&ie(e),te=e.__c};var oe={ReactCurrentDispatcher:{current:{readContext:function(e){return te.__n[e.__c].props.value}}}};function ae(e){return!!e&&e.$$typeof===X}var se=function(e,t){return e(t)},le=a.b,ue={useState:g,useReducer:v,useEffect:y,useLayoutEffect:m,useRef:function(e){return s=5,b((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){s=6,m((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:b,useCallback:_,useContext:function(e){var t=i.context[e.__c],n=p(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__},useDebugValue:function(e,t){a.i.useDebugValue&&a.i.useDebugValue(t?t(e):e)},version:"17.0.2",Children:j,render:function(e,t,n){return null==t.__k&&(t.textContent=""),Object(a.j)(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return Object(a.h)(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Object(a.j)(null,e),!0)},createPortal:function(e,t){return Object(a.e)(q,{__v:e,i:t})},createElement:a.e,createContext:a.d,createFactory:function(e){return a.e.bind(null,e)},cloneElement:function(e){return ae(e)?a.c.apply(null,arguments):e},createRef:a.f,Fragment:a.b,isValidElement:ae,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:a.a,PureComponent:P,memo:M,forwardRef:L,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:se,StrictMode:le,Suspense:U,SuspenseList:V,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return Object(a.e)(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:oe};t.d=ue},function(e,t,n){var r=n(7),i=n(152),o=n(153),a=n(187),s=n(57),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var u in i)i[u]&&l(r[u]&&r[u].prototype);l(o)},function(e,t,n){n(16)({target:"Object",stat:!0},{setPrototypeOf:n(102)})},function(e,t,n){var r=n(16),i=n(18),o=n(40),a=n(101),s=n(143);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,n){var r=n(16),i=n(46),o=n(76),a=n(203),s=n(165),l=n(32),u=n(33),c=n(60),f=n(18),h=i("Reflect","construct"),d=Object.prototype,p=[].push,g=f((function(){function e(){}return!(h((function(){}),[],e)instanceof e)})),v=!f((function(){h((function(){}))})),y=g||v;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),l(t);var n=arguments.length<3?e:s(arguments[2]);if(v&&!g)return h(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(p,r,t),new(o(a,e,r))}var i=n.prototype,f=c(u(i)?i:d),y=o(e,f,t);return u(y)?y:f}})},function(e,t){var n=Function.prototype,r=n.bind,i=n.call,o=r&&r.bind(i);e.exports=r?function(e){return e&&o(i,e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},function(e,t,n){var r=n(7),i=n(50).f,o=n(57),a=n(42),s=n(110),l=n(134),u=n(95);e.exports=function(e,t){var n,c,f,h,d,p=e.target,g=e.global,v=e.stat;if(n=g?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in t){if(h=t[c],f=e.noTargetGet?(d=i(n,c))&&d.value:n[c],!u(g?c:p+(v?".":"#")+c,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),a(n,c,h,e)}}},function(e,t,n){"use strict";var r=n(16),i=n(7),o=n(96),a=n(99),s=n(33),l=n(75),u=n(45),c=n(41),f=n(63),h=n(28),d=n(81),p=n(98),g=d("slice"),v=h("species"),y=i.Array,m=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,t){var n,r,i,h=c(this),d=u(h),g=l(e,d),b=l(void 0===t?d:t,d);if(o(h)&&(n=h.constructor,(a(n)&&(n===y||o(n.prototype))||s(n)&&null===(n=n[v]))&&(n=void 0),n===y||void 0===n))return p(h,g,b);for(r=new(void 0===n?y:n)(m(b-g,0)),i=0;g<b;g++,i++)g in h&&f(r,i,h[g]);return r.length=i,r}})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(16),i=n(103);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,n){var r=n(16),i=n(40),o=n(77);r({target:"Object",stat:!0,forced:n(18)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},function(e,t,n){var r=n(36),i=n(73).EXISTS,o=n(15),a=n(38).f,s=Function.prototype,l=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(u.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(u,l(this))[1]}catch(e){return""}}})},function(e,t,n){var r=n(16),i=n(18),o=n(41),a=n(50).f,s=n(36),l=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},function(e,t,n){var r=n(16),i=n(188);r({target:"Array",stat:!0,forced:!n(120)((function(e){Array.from(e)}))},{from:i})},function(e,t,n){"use strict";var r=n(16),i=n(79).filter;r({target:"Array",proto:!0,forced:!n(81)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(16),i=n(36),o=n(135),a=n(41),s=n(50),l=n(63);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,u=o(r),c={},f=0;u.length>f;)void 0!==(n=i(r,t=u[f++]))&&l(c,t,n);return c}})},,function(e,t,n){"use strict";var r=n(16),i=n(7),o=n(18),a=n(96),s=n(33),l=n(40),u=n(45),c=n(63),f=n(115),h=n(81),d=n(28),p=n(70),g=d("isConcatSpreadable"),v=9007199254740991,y="Maximum allowed index exceeded",m=i.TypeError,b=p>=51||!o((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),_=h("concat"),x=function(e){if(!s(e))return!1;var t=e[g];return void 0!==t?!!t:a(e)};r({target:"Array",proto:!0,forced:!b||!_},{concat:function(e){var t,n,r,i,o,a=l(this),s=f(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(x(o=-1===t?a:arguments[t])){if(h+(i=u(o))>v)throw m(y);for(n=0;n<i;n++,h++)n in o&&c(s,h,o[n])}else{if(h>=v)throw m(y);c(s,h++,o)}return s.length=h,s}})},function(e,t,n){var r=n(7),i=n(89),o=n(35),a=n(90),s=n(108),l=n(132),u=i("wks"),c=r.Symbol,f=c&&c.for,h=l?c:c&&c.withoutSetter||a;e.exports=function(e){if(!o(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&o(c,e)?u[e]=c[e]:u[e]=l&&f?f(t):h(t)}return u[e]}},function(e,t,n){var r=n(16),i=n(202);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t){e.exports=function(e){return"function"==typeof e}},function(e,t,n){"use strict";var r=n(106),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();t.a=o},function(e,t,n){var r=n(7),i=n(33),o=r.String,a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},function(e,t,n){var r=n(30);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},function(e,t){var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(e,t,n){var r=n(15),i=n(40),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},function(e,t,n){var r=n(18);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){"use strict";var r=n(16),i=n(79).map;r({target:"Array",proto:!0,forced:!n(81)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(7),i=n(36),o=n(133),a=n(32),s=n(86),l=r.TypeError,u=Object.defineProperty;t.f=i?u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(7),i=n(97),o=r.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){var r=n(7),i=n(44),o=r.Object;e.exports=function(e){return o(i(e))}},function(e,t,n){var r=n(85),i=n(44);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(7),i=n(30),o=n(35),a=n(57),s=n(110),l=n(92),u=n(58),c=n(73).CONFIGURABLE,f=u.get,h=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,l){var u,f=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,v=l&&void 0!==l.name?l.name:t;i(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||c&&n.name!==v)&&a(n,"name",v),(u=h(n)).source||(u.source=d.join("string"==typeof v?v:""))),e!==r?(f?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return i(this)&&f(this).source||l(this)}))},function(e,t,n){"use strict";(function(e){n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u}));var r=n(10),i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function o(){var e=i(Object(r.j)(0),2)[1];return Object(r.h)((function(){e((function(e){return e+1}))}),[])}function a(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}function s(e){return"function"==typeof Symbol?Symbol.for(e):"__$mobx-react "+e+"__"}var l={};function u(){return"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:l}}).call(this,n(68))},function(e,t,n){var r=n(7).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},function(e,t,n){var r=n(94);e.exports=function(e){return r(e.length)}},function(e,t,n){var r=n(7),i=n(30),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},function(e,t,n){var r=n(16),i=n(34),o=n(33),a=n(32),s=n(204),l=n(50),u=n(101);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,f=arguments.length<3?t:arguments[2];return a(t)===f?t[n]:(r=l.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,f):o(c=u(t))?e(c,n,f):void 0}})},function(e,n,r){"use strict";(function(e){var i=r(31),o=r(171),a=t&&!t.nodeType&&t,s=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=s&&s.exports===a?i.a.Buffer:void 0,u=(l?l.isBuffer:void 0)||o.a;n.a=u}).call(this,r(122)(e))},function(e,n,r){"use strict";(function(e){var i=r(106),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o&&i.a.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();n.a=l}).call(this,r(122)(e))},function(e,t,n){var r=n(36),i=n(34),o=n(84),a=n(69),s=n(41),l=n(86),u=n(35),c=n(133),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},function(e,t,n){var r=n(15),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},function(e,t,n){"use strict";n(182)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(186))},function(e,t,n){var r=n(16),i=n(220).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},function(e,t,n){var r=n(15);e.exports=r({}.isPrototypeOf)},function(e,t,n){var r=n(46);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(7),i=n(30),o=n(88),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},function(e,t,n){var r=n(36),i=n(38),o=n(69);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r,i,o,a=n(175),s=n(7),l=n(15),u=n(33),c=n(57),f=n(35),h=n(109),d=n(93),p=n(72),g="Object already initialized",v=s.TypeError,y=s.WeakMap;if(a||h.state){var m=h.state||(h.state=new y),b=l(m.get),_=l(m.has),x=l(m.set);r=function(e,t){if(_(m,e))throw new v(g);return t.facade=e,x(m,e,t),t},i=function(e){return b(m,e)||{}},o=function(e){return _(m,e)}}else{var w=d("state");p[w]=!0,r=function(e,t){if(f(e,w))throw new v(g);return t.facade=e,c(e,w,t),t},i=function(e){return f(e,w)?e[w]:{}},o=function(e){return f(e,w)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?r:n)(t)}},function(e,t,n){var r,i=n(32),o=n(176),a=n(111),s=n(72),l=n(138),u=n(91),c=n(93),f=c("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;g="undefined"!=typeof document?document.domain&&r?p(r):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(r);for(var n=a.length;n--;)delete g.prototype[a[n]];return g()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=i(e),n=new h,h.prototype=null,n[f]=e):n=g(),void 0===t?n:o(n,t)}},function(e,t,n){"use strict";var r=n(36),i=n(7),o=n(15),a=n(95),s=n(42),l=n(35),u=n(148),c=n(54),f=n(87),h=n(131),d=n(18),p=n(74).f,g=n(50).f,v=n(38).f,y=n(160),m=n(161).trim,b="Number",_=i.Number,x=_.prototype,w=i.TypeError,S=o("".slice),k=o("".charCodeAt),E=function(e){var t=h(e,"number");return"bigint"==typeof t?t:O(t)},O=function(e){var t,n,r,i,o,a,s,l,u=h(e,"number");if(f(u))throw w("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=m(u),43===(t=k(u,0))||45===t){if(88===(n=k(u,2))||120===n)return NaN}else if(48===t){switch(k(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=S(u,2)).length,s=0;s<a;s++)if((l=k(o,s))<48||l>i)return NaN;return parseInt(o,r)}return+u};if(a(b,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var C,A=function(e){var t=arguments.length<1?0:_(E(e)),n=this;return c(x,n)&&d((function(){y(n)}))?u(Object(t),n,A):t},T=r?p(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),P=0;T.length>P;P++)l(_,C=T[P])&&!l(A,C)&&v(A,C,g(_,C));A.prototype=x,x.constructor=A,s(i,b,A)}},function(e,t,n){var r=n(56);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},function(e,t,n){"use strict";var r=n(86),i=n(38),o=n(69);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(15),i=n(56),o=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?o(e,t):function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(16),i=n(15),o=n(85),a=n(41),s=n(121),l=i([].join),u=o!=Object,c=s("join",",");r({target:"Array",proto:!0,forced:u||!c},{join:function(e){return l(a(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(15),i=n(73).PROPER,o=n(42),a=n(32),s=n(54),l=n(39),u=n(18),c=n(154),f="toString",h=RegExp.prototype,d=h.toString,p=r(c),g=u((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),v=i&&d.name!=f;(g||v)&&o(RegExp.prototype,f,(function(){var e=a(this),t=l(e.source),n=e.flags;return"/"+t+"/"+l(void 0===n&&s(h,e)&&!("flags"in h)?p(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(16),i=n(217),o=n(100);r({target:"Array",proto:!0},{fill:i}),o("fill")},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,i,o=n(7),a=n(55),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},function(e,t){e.exports=!1},function(e,t){e.exports={}},function(e,t,n){var r=n(36),i=n(35),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},function(e,t,n){var r=n(136),i=n(111).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(59),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t){var n=Function.prototype,r=n.apply,i=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(r):function(){return o.apply(r,arguments)})},function(e,t,n){var r=n(136),i=n(111);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(38).f,i=n(35),o=n(28)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(64),i=n(15),o=n(85),a=n(40),s=n(45),l=n(115),u=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,g,v,y){for(var m,b,_=a(p),x=o(_),w=r(g,v),S=s(x),k=0,E=y||l,O=t?E(p,S):n||h?E(p,0):void 0;S>k;k++)if((d||k in x)&&(b=w(m=x[k],k,_),e))if(t)O[k]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return k;case 2:u(O,m)}else switch(e){case 4:return!1;case 7:u(O,m)}return f?-1:i||c?c:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},function(e,t){e.exports={}},function(e,t,n){var r=n(18),i=n(28),o=n(70),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";var r=n(76),i=n(34),o=n(15),a=n(123),s=n(159),l=n(32),u=n(44),c=n(164),f=n(124),h=n(94),d=n(39),p=n(62),g=n(114),v=n(125),y=n(103),m=n(155),b=n(18),_=m.UNSUPPORTED_Y,x=4294967295,w=Math.min,S=[].push,k=o(/./.exec),E=o(S),O=o("".slice),C=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=d(u(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===e)return[o];if(!s(e))return i(t,o,e,a);for(var l,c,f,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,m=new RegExp(e.source,p+"g");(l=i(y,m,o))&&!((c=m.lastIndex)>v&&(E(h,O(o,v,l.index)),l.length>1&&l.index<o.length&&r(S,h,g(l,1)),f=l[0].length,v=c,h.length>=a));)m.lastIndex===l.index&&m.lastIndex++;return v===o.length?!f&&k(m,"")||E(h,""):E(h,O(o,v)),h.length>a?g(h,0,a):h}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:i(t,this,e,n)}:t,[function(t,n){var r=u(this),a=null==t?void 0:p(t,e);return a?i(a,t,r,n):i(o,d(r),t,n)},function(e,r){var i=l(this),a=d(e),s=n(o,i,a,r,o!==t);if(s.done)return s.value;var u=c(i,RegExp),p=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_?"g":"y"),y=new u(_?"^(?:"+i.source+")":i,g),m=void 0===r?x:r>>>0;if(0===m)return[];if(0===a.length)return null===v(y,a)?[a]:[];for(var b=0,S=0,k=[];S<a.length;){y.lastIndex=_?0:S;var C,A=v(y,_?O(a,S):a);if(null===A||(C=w(h(y.lastIndex+(_?S:0)),a.length))===b)S=f(a,S,p);else{if(E(k,O(a,b,S)),k.length===m)return k;for(var T=1;T<=A.length-1;T++)if(E(k,A[T]),k.length===m)return k;S=b=C}}return E(k,O(a,b)),k}]}),!C,_)},function(e,t,n){n(16)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(7),i=n(15),o=n(18),a=n(51),s=r.Object,l=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):s(e)}:s},function(e,t,n){var r=n(131),i=n(87);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},function(e,t,n){var r=n(7),i=n(46),o=n(30),a=n(54),s=n(132),l=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,l(e))}},function(e,t,n){var r=n(7).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},function(e,t,n){var r=n(71),i=n(109);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(15),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},function(e,t,n){var r=n(7),i=n(33),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(15),i=n(30),o=n(109),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},function(e,t,n){var r=n(89),i=n(90),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(59),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(18),i=n(30),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==c||n!=u&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},function(e,t,n){var r=n(51);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(7),i=n(113),o=n(30),a=n(51),s=n(28)("toStringTag"),l=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),s))?n:u?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},function(e,t,n){var r=n(15);e.exports=r([].slice)},function(e,t,n){var r=n(15),i=n(18),o=n(30),a=n(97),s=n(46),l=n(92),u=function(){},c=[],f=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),p=!h.exec(u),g=function(e){if(!o(e))return!1;try{return f(u,c,e),!0}catch(e){return!1}};e.exports=!f||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!d(h,l(e))}:g},function(e,t,n){var r=n(28),i=n(60),o=n(38),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r=n(7),i=n(35),o=n(30),a=n(40),s=n(93),l=n(143),u=s("IE_PROTO"),c=r.Object,f=c.prototype;e.exports=l?c.getPrototypeOf:function(e){var t=a(e);if(i(t,u))return t[u];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?f:null}},function(e,t,n){var r=n(15),i=n(32),o=n(181);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},function(e,t,n){"use strict";var r,i,o=n(34),a=n(15),s=n(39),l=n(154),u=n(155),c=n(89),f=n(60),h=n(58).get,d=n(190),p=n(191),g=c("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,y=v,m=a("".charAt),b=a("".indexOf),_=a("".replace),x=a("".slice),w=(i=/b*/g,o(v,r=/a/,"a"),o(v,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=u.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(w||k||S||d||p)&&(y=function(e){var t,n,r,i,a,u,c,d=this,p=h(d),E=s(e),O=p.raw;if(O)return O.lastIndex=d.lastIndex,t=o(y,O,E),d.lastIndex=O.lastIndex,t;var C=p.groups,A=S&&d.sticky,T=o(l,d),P=d.source,M=0,D=E;if(A&&(T=_(T,"y",""),-1===b(T,"g")&&(T+="g"),D=x(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==m(E,d.lastIndex-1))&&(P="(?: "+P+")",D=" "+D,M++),n=new RegExp("^(?:"+P+")",T)),k&&(n=new RegExp("^"+P+"$(?!\\s)",T)),w&&(r=d.lastIndex),i=o(v,A?n:d,D),A?i?(i.input=x(i.input,M),i[0]=x(i[0],M),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),k&&i&&i.length>1&&o(g,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&C)for(i.groups=u=f(null),a=0;a<C.length;a++)u[(c=C[a])[0]]=i[c[1]];return i}),e.exports=y},function(e,t,n){"use strict";var r=n(16),i=n(7),o=n(75),a=n(59),s=n(45),l=n(40),u=n(115),c=n(63),f=n(81)("splice"),h=i.TypeError,d=Math.max,p=Math.min,g=9007199254740991,v="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var n,r,i,f,y,m,b=l(this),_=s(b),x=o(e,_),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=_-x):(n=w-2,r=p(d(a(t),0),_-x)),_+n-r>g)throw h(v);for(i=u(b,r),f=0;f<r;f++)(y=x+f)in b&&c(i,f,b[y]);if(i.length=r,n<r){for(f=x;f<_-r;f++)m=f+n,(y=f+r)in b?b[m]=b[y]:delete b[m];for(f=_;f>_-r+n;f--)delete b[f-1]}else if(n>r)for(f=_-r;f>x;f--)m=f+n-1,(y=f+r-1)in b?b[m]=b[y]:delete b[m];for(f=0;f<n;f++)b[f+x]=arguments[f+2];return b.length=_-r+n,i}})},function(e,t,n){"use strict";var r=n(16),i=n(205);r({target:"String",proto:!0,forced:n(206)("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(68))},function(e,n,r){"use strict";(function(e){var i=r(31),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.a.Buffer:void 0,l=s?s.allocUnsafe:void 0;n.a=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,r(122)(e))},function(e,t,n){var r=n(70),i=n(18);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(e,t,n){var r=n(7),i=n(110),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},function(e,t,n){var r=n(7),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r={};r[n(28)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(7),i=n(75),o=n(45),a=n(63),s=r.Array,l=Math.max;e.exports=function(e,t,n){for(var r=o(e),u=i(t,r),c=i(void 0===n?r:n,r),f=s(l(c-u,0)),h=0;u<c;u++,h++)a(f,h,e[u]);return f.length=h,f}},function(e,t,n){var r=n(178);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},function(e,t,n){"use strict";var r=n(16),i=n(34),o=n(71),a=n(73),s=n(30),l=n(180),u=n(101),c=n(102),f=n(78),h=n(57),d=n(42),p=n(28),g=n(80),v=n(142),y=a.PROPER,m=a.CONFIGURABLE,b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,x=p("iterator"),w="keys",S="values",k="entries",E=function(){return this};e.exports=function(e,t,n,a,p,v,O){l(n,t,a);var C,A,T,P=function(e){if(e===p&&R)return R;if(!_&&e in I)return I[e];switch(e){case w:case S:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",D=!1,I=e.prototype,L=I[x]||I["@@iterator"]||p&&I[p],R=!_&&L||P(p),j="Array"==t&&I.entries||L;if(j&&(C=u(j.call(new e)))!==Object.prototype&&C.next&&(o||u(C)===b||(c?c(C,b):s(C[x])||d(C,x,E)),f(C,M,!0,!0),o&&(g[M]=E)),y&&p==S&&L&&L.name!==S&&(!o&&m?h(I,"name",S):(D=!0,R=function(){return i(L,this)})),p)if(A={values:P(S),keys:v?R:P(w),entries:P(k)},O)for(T in A)(_||D||!(T in I))&&d(I,T,A[T]);else r({target:t,proto:!0,forced:_||D},A);return o&&!O||I[x]===R||d(I,x,R,{name:p}),g[t]=R,A}},function(e,t,n){var r=n(7),i=n(64),o=n(34),a=n(32),s=n(88),l=n(145),u=n(45),c=n(54),f=n(146),h=n(118),d=n(147),p=r.TypeError,g=function(e,t){this.stopped=e,this.result=t},v=g.prototype;e.exports=function(e,t,n){var r,y,m,b,_,x,w,S=n&&n.that,k=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),C=i(t,S),A=function(e){return r&&d(r,"normal",e),new g(!0,e)},T=function(e){return k?(a(e),O?C(e[0],e[1],A):C(e[0],e[1])):O?C(e,A):C(e)};if(E)r=e;else{if(!(y=h(e)))throw p(s(e)+" is not iterable");if(l(y)){for(m=0,b=u(e);b>m;m++)if((_=T(e[m]))&&c(v,_))return _;return new g(!1)}r=f(e,y)}for(x=r.next;!(w=o(x,r)).done;){try{_=T(w.value)}catch(e){d(r,"throw",e)}if("object"==typeof _&&_&&c(v,_))return _}return new g(!1)}},function(e,t,n){var r=n(97),i=n(62),o=n(80),a=n(28)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},function(e,t,n){var r=n(7),i=n(54),o=r.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},function(e,t,n){var r=n(28)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(18);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";n(19);var r=n(15),i=n(42),o=n(103),a=n(18),s=n(28),l=n(57),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var h=s(e),d=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=d&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!d||!p||n){var g=r(/./[h]),v=t(h,""[e],(function(e,t,n,i,a){var s=r(e),l=t.exec;return l===o||l===c.exec?d&&!a?{done:!0,value:g(t,n,i)}:{done:!0,value:s(n,t,i)}:{done:!1}}));i(String.prototype,e,v[0]),i(c,h,v[1])}f&&l(c[h],"sham",!0)}},function(e,t,n){"use strict";var r=n(151).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(7),i=n(34),o=n(32),a=n(30),s=n(51),l=n(103),u=r.TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var r=i(n,e,t);return null!==r&&o(r),r}if("RegExp"===s(e))return i(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},function(e,t,n){"use strict";var r=n(76),i=n(34),o=n(15),a=n(123),s=n(18),l=n(32),u=n(30),c=n(59),f=n(94),h=n(39),d=n(44),p=n(124),g=n(62),v=n(201),y=n(125),m=n(28)("replace"),b=Math.max,_=Math.min,x=o([].concat),w=o([].push),S=o("".indexOf),k=o("".slice),E="$0"==="a".replace(/./,"$0"),O=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,t,n){var o=O?"$":"$0";return[function(e,n){var r=d(this),o=null==e?void 0:g(e,m);return o?i(o,e,r,n):i(t,h(r),e,n)},function(e,i){var a=l(this),s=h(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var d=n(t,a,s,i);if(d.done)return d.value}var g=u(i);g||(i=h(i));var m=a.global;if(m){var E=a.unicode;a.lastIndex=0}for(var O=[];;){var C=y(a,s);if(null===C)break;if(w(O,C),!m)break;""===h(C[0])&&(a.lastIndex=p(s,f(a.lastIndex),E))}for(var A,T="",P=0,M=0;M<O.length;M++){for(var D=h((C=O[M])[0]),I=b(_(c(C.index),s.length),0),L=[],R=1;R<C.length;R++)w(L,void 0===(A=C[R])?A:String(A));var j=C.groups;if(g){var N=x([D],L,I,s);void 0!==j&&w(N,j);var B=h(r(i,void 0,N))}else B=v(D,s,I,L,j,i);I>=P&&(T+=k(s,P,I)+B,P=I+D.length)}return T+k(s,P)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!E||O)},function(e,t,n){var r=n(16),i=Math.hypot,o=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,i=0,s=0,l=arguments.length,u=0;s<l;)u<(n=o(arguments[s++]))?(i=i*(r=u/n)*r+1,u=n):i+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*a(i)}})},function(e,t,n){var r=n(51),i=n(7);e.exports="process"==r(i.process)},function(e,t,n){n(16)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){(function(e,r){var i;
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var o,a="Expected a function",s="__lodash_hash_undefined__",l="__lodash_placeholder__",u=16,c=32,f=64,h=128,d=256,p=1/0,g=9007199254740991,v=NaN,y=4294967295,m=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",f],["rearg",d]],b="[object Arguments]",_="[object Array]",x="[object Boolean]",w="[object Date]",S="[object Error]",k="[object Function]",E="[object GeneratorFunction]",O="[object Map]",C="[object Number]",A="[object Object]",T="[object Promise]",P="[object RegExp]",M="[object Set]",D="[object String]",I="[object Symbol]",L="[object WeakMap]",R="[object ArrayBuffer]",j="[object DataView]",N="[object Float32Array]",B="[object Float64Array]",F="[object Int8Array]",z="[object Int16Array]",U="[object Int32Array]",H="[object Uint8Array]",V="[object Uint8ClampedArray]",G="[object Uint16Array]",W="[object Uint32Array]",q=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Z=RegExp(K.source),J=RegExp($.source),Q=/<%-([\s\S]+?)%>/g,ee=/<%([\s\S]+?)%>/g,te=/<%=([\s\S]+?)%>/g,ne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(oe.source),se=/^\s+/,le=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,fe=/,? & /,he=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,be=/^\[object .+?Constructor\]$/,_e=/^0o[0-7]+$/i,xe=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Se=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Ae="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Me="[']",De="[\\ud800-\\udfff]",Ie="["+Pe+"]",Le="["+Ee+"]",Re="\\d+",je="[\\u2700-\\u27bf]",Ne="["+Ce+"]",Be="[^\\ud800-\\udfff"+Pe+Re+Oe+Ce+Ae+"]",Fe="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+Ae+"]",Ge="(?:"+Ne+"|"+Be+")",We="(?:"+Ve+"|"+Be+")",qe="(?:['](?:d|ll|m|re|s|t|ve))?",Xe="(?:['](?:D|LL|M|RE|S|T|VE))?",Ye="(?:"+Le+"|"+Fe+")?",Ke="[\\ufe0e\\ufe0f]?",$e=Ke+Ye+"(?:\\u200d(?:"+[ze,Ue,He].join("|")+")"+Ke+Ye+")*",Ze="(?:"+[je,Ue,He].join("|")+")"+$e,Je="(?:"+[ze+Le+"?",Le,Ue,He,De].join("|")+")",Qe=RegExp(Me,"g"),et=RegExp(Le,"g"),tt=RegExp(Fe+"(?="+Fe+")|"+Je+$e,"g"),nt=RegExp([Ve+"?"+Ne+"+"+qe+"(?="+[Ie,Ve,"$"].join("|")+")",We+"+"+Xe+"(?="+[Ie,Ve+Ge,"$"].join("|")+")",Ve+"?"+Ge+"+"+qe,Ve+"+"+Xe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ze].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+Ee+Te+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,st={};st[N]=st[B]=st[F]=st[z]=st[U]=st[H]=st[V]=st[G]=st[W]=!0,st[b]=st[_]=st[R]=st[x]=st[j]=st[w]=st[S]=st[k]=st[O]=st[C]=st[A]=st[P]=st[M]=st[D]=st[L]=!1;var lt={};lt[b]=lt[_]=lt[R]=lt[j]=lt[x]=lt[w]=lt[N]=lt[B]=lt[F]=lt[z]=lt[U]=lt[O]=lt[C]=lt[A]=lt[P]=lt[M]=lt[D]=lt[I]=lt[H]=lt[V]=lt[G]=lt[W]=!0,lt[S]=lt[k]=lt[L]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,ft=parseInt,ht="object"==typeof e&&e&&e.Object===Object&&e,dt="object"==typeof self&&self&&self.Object===Object&&self,pt=ht||dt||Function("return this")(),gt=t&&!t.nodeType&&t,vt=gt&&"object"==typeof r&&r&&!r.nodeType&&r,yt=vt&&vt.exports===gt,mt=yt&&ht.process,bt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),_t=bt&&bt.isArrayBuffer,xt=bt&&bt.isDate,wt=bt&&bt.isMap,St=bt&&bt.isRegExp,kt=bt&&bt.isSet,Et=bt&&bt.isTypedArray;function Ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Mt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Dt(e,t){return!(null==e||!e.length)&&Ht(e,t,0)>-1}function It(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Lt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Rt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function jt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Nt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=qt("length");function zt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Ut(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Ht(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Gt,n)}function Vt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Gt(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?Kt(e,t)/n:v}function qt(e){return function(t){return null==t?o:t[e]}}function Xt(e){return function(t){return null==e?o:e[t]}}function Yt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Kt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function $t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,vn(e)+1).replace(se,""):e}function Jt(e){return function(t){return e(t)}}function Qt(e,t){return Lt(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,r=e.length;++n<r&&Ht(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var on=Xt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),an=Xt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(e){return"\\"+ut[e]}function ln(e){return rt.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==l||(e[n]=l,o[i++]=n)}return o}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return ln(e)?function(e){for(var t=tt.lastIndex=0;tt.test(e);)++t;return t}(e):Ft(e)}function gn(e){return ln(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function vn(e){for(var t=e.length;t--&&le.test(e.charAt(t)););return t}var yn=Xt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),mn=function e(t){var n,r=(t=null==t?pt:mn.defaults(pt.Object(),t,mn.pick(pt,ot))).Array,i=t.Date,le=t.Error,Ee=t.Function,Oe=t.Math,Ce=t.Object,Ae=t.RegExp,Te=t.String,Pe=t.TypeError,Me=r.prototype,De=Ee.prototype,Ie=Ce.prototype,Le=t["__core-js_shared__"],Re=De.toString,je=Ie.hasOwnProperty,Ne=0,Be=(n=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Ie.toString,ze=Re.call(Ce),Ue=pt._,He=Ae("^"+Re.call(je).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=yt?t.Buffer:o,Ge=t.Symbol,We=t.Uint8Array,qe=Ve?Ve.allocUnsafe:o,Xe=cn(Ce.getPrototypeOf,Ce),Ye=Ce.create,Ke=Ie.propertyIsEnumerable,$e=Me.splice,Ze=Ge?Ge.isConcatSpreadable:o,Je=Ge?Ge.iterator:o,tt=Ge?Ge.toStringTag:o,rt=function(){try{var e=po(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),ut=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ht=i&&i.now!==pt.Date.now&&i.now,dt=t.setTimeout!==pt.setTimeout&&t.setTimeout,gt=Oe.ceil,vt=Oe.floor,mt=Ce.getOwnPropertySymbols,bt=Ve?Ve.isBuffer:o,Ft=t.isFinite,Xt=Me.join,bn=cn(Ce.keys,Ce),_n=Oe.max,xn=Oe.min,wn=i.now,Sn=t.parseInt,kn=Oe.random,En=Me.reverse,On=po(t,"DataView"),Cn=po(t,"Map"),An=po(t,"Promise"),Tn=po(t,"Set"),Pn=po(t,"WeakMap"),Mn=po(Ce,"create"),Dn=Pn&&new Pn,In={},Ln=Uo(On),Rn=Uo(Cn),jn=Uo(An),Nn=Uo(Tn),Bn=Uo(Pn),Fn=Ge?Ge.prototype:o,zn=Fn?Fn.valueOf:o,Un=Fn?Fn.toString:o;function Hn(e){if(is(e)&&!Xa(e)&&!(e instanceof qn)){if(e instanceof Wn)return e;if(je.call(e,"__wrapped__"))return Ho(e)}return new Wn(e)}var Vn=function(){function e(){}return function(t){if(!rs(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Gn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new Yn(e);this.size=t.size}function Jn(e,t){var n=Xa(e),r=!n&&qa(e),i=!n&&!r&&Za(e),o=!n&&!r&&!i&&hs(e),a=n||r||i||o,s=a?$t(e.length,Te):[],l=s.length;for(var u in e)!t&&!je.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xo(u,l))||s.push(u);return s}function Qn(e){var t=e.length;return t?e[$r(0,t-1)]:o}function er(e,t){return Bo(Mi(e),ur(t,0,e.length))}function tr(e){return Bo(Mi(e))}function nr(e,t,n){(n!==o&&!Va(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function rr(e,t,n){var r=e[t];je.call(e,t)&&Va(r,n)&&(n!==o||t in e)||sr(e,t,n)}function ir(e,t){for(var n=e.length;n--;)if(Va(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function ar(e,t){return e&&Di(t,Ls(t),e)}function sr(e,t,n){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Ts(e,t[n]);return a}function ur(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!rs(e))return e;var f=Xa(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&je.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Mi(e,s)}else{var h=yo(e),d=h==k||h==E;if(Za(e))return Ei(e,l);if(h==A||h==b||d&&!i){if(s=u||d?{}:bo(e),!l)return u?function(e,t){return Di(e,vo(e),t)}(e,function(e,t){return e&&Di(t,Rs(t),e)}(s,e)):function(e,t){return Di(e,go(e),t)}(e,ar(s,e))}else{if(!lt[h])return i?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case R:return Oi(e);case x:case w:return new i(+e);case j:return function(e,t){var n=t?Oi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case N:case B:case F:case z:case U:case H:case V:case G:case W:return Ci(e,n);case O:return new i;case C:case D:return new i(e);case P:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case M:return new i;case I:return r=e,zn?Ce(zn.call(r)):{}}}(e,h,l)}}a||(a=new Zn);var p=a.get(e);if(p)return p;a.set(e,s),us(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,a))})):os(e)&&e.forEach((function(r,i){s.set(i,cr(r,t,n,i,e,a))}));var g=f?o:(c?u?ao:oo:u?Rs:Ls)(e);return At(g||e,(function(r,i){g&&(r=e[i=r]),rr(s,i,cr(r,t,n,i,e,a))})),s}function fr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function hr(e,t,n){if("function"!=typeof e)throw new Pe(a);return Lo((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var i=-1,o=Dt,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Lt(t,Jt(n))),r?(o=It,a=!1):t.length>=200&&(o=en,a=!1,t=new $n(t));e:for(;++i<s;){var c=e[i],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f==f){for(var h=u;h--;)if(t[h]===f)continue e;l.push(c)}else o(t,f,r)||l.push(c)}return l}Hn.templateSettings={escape:Q,evaluate:ee,interpolate:te,variable:"",imports:{_:Hn}},Hn.prototype=Gn.prototype,Hn.prototype.constructor=Hn,Wn.prototype=Vn(Gn.prototype),Wn.prototype.constructor=Wn,qn.prototype=Vn(Gn.prototype),qn.prototype.constructor=qn,Xn.prototype.clear=function(){this.__data__=Mn?Mn(null):{},this.size=0},Xn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Xn.prototype.get=function(e){var t=this.__data__;if(Mn){var n=t[e];return n===s?o:n}return je.call(t,e)?t[e]:o},Xn.prototype.has=function(e){var t=this.__data__;return Mn?t[e]!==o:je.call(t,e)},Xn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mn&&t===o?s:t,this},Yn.prototype.clear=function(){this.__data__=[],this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=ir(t,e);return!(n<0)&&(n==t.length-1?t.pop():$e.call(t,n,1),--this.size,!0)},Yn.prototype.get=function(e){var t=this.__data__,n=ir(t,e);return n<0?o:t[n][1]},Yn.prototype.has=function(e){return ir(this.__data__,e)>-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=ir(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Cn||Yn),string:new Xn}},Kn.prototype.delete=function(e){var t=fo(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fo(this,e).get(e)},Kn.prototype.has=function(e){return fo(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},$n.prototype.add=$n.prototype.push=function(e){return this.__data__.set(e,s),this},$n.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var pr=Ri(wr),gr=Ri(Sr,!0);function vr(e,t){var n=!0;return pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function yr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s==s&&!fs(s):n(s,l)))var l=s,u=a}return u}function mr(e,t){var n=[];return pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function br(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=_o),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?br(s,t-1,n,r,i):Rt(i,s):r||(i[i.length]=s)}return i}var _r=ji(),xr=ji(!0);function wr(e,t){return e&&_r(e,t,Ls)}function Sr(e,t){return e&&xr(e,t,Ls)}function kr(e,t){return Mt(t,(function(t){return es(e[t])}))}function Er(e,t){for(var n=0,r=(t=xi(t,e)).length;null!=e&&n<r;)e=e[zo(t[n++])];return n&&n==r?e:o}function Or(e,t,n){var r=t(e);return Xa(e)?r:Rt(r,n(e))}function Cr(e){return null==e?e===o?"[object Undefined]":"[object Null]":tt&&tt in Ce(e)?function(e){var t=je.call(e,tt),n=e[tt];try{e[tt]=o;var r=!0}catch(e){}var i=Fe.call(e);return r&&(t?e[tt]=n:delete e[tt]),i}(e):function(e){return Fe.call(e)}(e)}function Ar(e,t){return e>t}function Tr(e,t){return null!=e&&je.call(e,t)}function Pr(e,t){return null!=e&&t in Ce(e)}function Mr(e,t,n){for(var i=n?It:Dt,a=e[0].length,s=e.length,l=s,u=r(s),c=1/0,f=[];l--;){var h=e[l];l&&t&&(h=Lt(h,Jt(t))),c=xn(h.length,c),u[l]=!n&&(t||a>=120&&h.length>=120)?new $n(l&&h):o}h=e[0];var d=-1,p=u[0];e:for(;++d<a&&f.length<c;){var g=h[d],v=t?t(g):g;if(g=n||0!==g?g:0,!(p?en(p,v):i(f,v,n))){for(l=s;--l;){var y=u[l];if(!(y?en(y,v):i(e[l],v,n)))continue e}p&&p.push(v),f.push(g)}}return f}function Dr(e,t,n){var r=null==(e=Po(e,t=xi(t,e)))?e:e[zo(Qo(t))];return null==r?o:Ot(r,e,n)}function Ir(e){return is(e)&&Cr(e)==b}function Lr(e,t,n,r,i){return e===t||(null==e||null==t||!is(e)&&!is(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=Xa(e),l=Xa(t),u=s?_:yo(e),c=l?_:yo(t),f=(u=u==b?A:u)==A,h=(c=c==b?A:c)==A,d=u==c;if(d&&Za(e)){if(!Za(t))return!1;s=!0,f=!1}if(d&&!f)return a||(a=new Zn),s||hs(e)?ro(e,t,n,r,i,a):function(e,t,n,r,i,o,a){switch(n){case j:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R:return!(e.byteLength!=t.byteLength||!o(new We(e),new We(t)));case x:case w:case C:return Va(+e,+t);case S:return e.name==t.name&&e.message==t.message;case P:case D:return e==t+"";case O:var s=un;case M:var l=1&r;if(s||(s=hn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ro(s(e),s(t),r,i,o,a);return a.delete(e),c;case I:if(zn)return zn.call(e)==zn.call(t)}return!1}(e,t,u,n,r,i,a);if(!(1&n)){var p=f&&je.call(e,"__wrapped__"),g=h&&je.call(t,"__wrapped__");if(p||g){var v=p?e.value():e,y=g?t.value():t;return a||(a=new Zn),i(v,y,n,r,a)}}return!!d&&(a||(a=new Zn),function(e,t,n,r,i,a){var s=1&n,l=oo(e),u=l.length,c=oo(t).length;if(u!=c&&!s)return!1;for(var f=u;f--;){var h=l[f];if(!(s?h in t:je.call(t,h)))return!1}var d=a.get(e),p=a.get(t);if(d&&p)return d==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var v=s;++f<u;){var y=e[h=l[f]],m=t[h];if(r)var b=s?r(m,y,h,t,e,a):r(y,m,h,e,t,a);if(!(b===o?y===m||i(y,m,n,r,a):b)){g=!1;break}v||(v="constructor"==h)}if(g&&!v){var _=e.constructor,x=t.constructor;_==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,r,i,a))}(e,t,n,r,Lr,i))}function Rr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Ce(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var u=(l=n[i])[0],c=e[u],f=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var h=new Zn;if(r)var d=r(c,f,u,e,t,h);if(!(d===o?Lr(f,c,3,r,h):d))return!1}}return!0}function jr(e){return!(!rs(e)||(t=e,Be&&Be in t))&&(es(e)?He:be).test(Uo(e));var t}function Nr(e){return"function"==typeof e?e:null==e?al:"object"==typeof e?Xa(e)?Vr(e[0],e[1]):Hr(e):gl(e)}function Br(e){if(!Oo(e))return bn(e);var t=[];for(var n in Ce(e))je.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!rs(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=Oo(e),n=[];for(var r in e)("constructor"!=r||!t&&je.call(e,r))&&n.push(r);return n}function zr(e,t){return e<t}function Ur(e,t){var n=-1,i=Ka(e)?r(e.length):[];return pr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Hr(e){var t=ho(e);return 1==t.length&&t[0][2]?Ao(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Vr(e,t){return So(e)&&Co(t)?Ao(zo(e),t):function(n){var r=Ts(n,e);return r===o&&r===t?Ps(n,e):Lr(t,r,3)}}function Gr(e,t,n,r,i){e!==t&&_r(t,(function(a,s){if(i||(i=new Zn),rs(a))!function(e,t,n,r,i,a,s){var l=Do(e,n),u=Do(t,n),c=s.get(u);if(c)nr(e,n,c);else{var f=a?a(l,u,n+"",e,t,s):o,h=f===o;if(h){var d=Xa(u),p=!d&&Za(u),g=!d&&!p&&hs(u);f=u,d||p||g?Xa(l)?f=l:$a(l)?f=Mi(l):p?(h=!1,f=Ei(u,!0)):g?(h=!1,f=Ci(u,!0)):f=[]:ss(u)||qa(u)?(f=l,qa(l)?f=_s(l):rs(l)&&!es(l)||(f=bo(u))):h=!1}h&&(s.set(u,f),i(f,u,r,a,s),s.delete(u)),nr(e,n,f)}}(e,t,s,n,Gr,r,i);else{var l=r?r(Do(e,s),a,s+"",e,t,i):o;l===o&&(l=a),nr(e,s,l)}}),Rs)}function Wr(e,t){var n=e.length;if(n)return xo(t+=t<0?n:0,n)?e[t]:o}function qr(e,t,n){t=t.length?Lt(t,(function(e){return Xa(e)?function(t){return Er(t,1===e.length?e[0]:e)}:e})):[al];var r=-1;t=Lt(t,Jt(co()));var i=Ur(e,(function(e,n,i){var o=Lt(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Ai(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Er(e,a);n(s,a)&&ti(o,xi(a,e),s)}return o}function Yr(e,t,n,r){var i=r?Vt:Ht,o=-1,a=t.length,s=e;for(e===t&&(t=Mi(t)),n&&(s=Lt(e,Jt(n)));++o<a;)for(var l=0,u=t[o],c=n?n(u):u;(l=i(s,c,l,r))>-1;)s!==e&&$e.call(s,l,1),$e.call(e,l,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;xo(i)?$e.call(e,i,1):di(e,i)}}return e}function $r(e,t){return e+vt(kn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>g)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Ro(To(e,t,al),e+"")}function Qr(e){return Qn(Vs(e))}function ei(e,t){var n=Vs(e);return Bo(n,ur(t,0,n.length))}function ti(e,t,n,r){if(!rs(e))return e;for(var i=-1,a=(t=xi(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var u=zo(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var f=l[u];(c=r?r(f,u,l):o)===o&&(c=rs(f)?f:xo(t[i+1])?[]:{})}rr(l,u,c),l=l[u]}return e}var ni=Dn?function(e,t){return Dn.set(e,t),e}:al,ri=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:rl(t),writable:!0})}:al;function ii(e){return Bo(Vs(e))}function oi(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i<o;)a[i]=e[i+t];return a}function ai(e,t){var n;return pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function si(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!fs(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return li(e,t,al,n)}function li(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,l=null===t,u=fs(t),c=t===o;i<a;){var f=vt((i+a)/2),h=n(e[f]),d=h!==o,p=null===h,g=h==h,v=fs(h);if(s)var y=r||g;else y=c?g&&(r||d):l?g&&d&&(r||!p):u?g&&d&&!p&&(r||!v):!p&&!v&&(r?h<=t:h<t);y?i=f+1:a=f}return xn(a,4294967294)}function ui(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Va(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ci(e){return"number"==typeof e?e:fs(e)?v:+e}function fi(e){if("string"==typeof e)return e;if(Xa(e))return Lt(e,fi)+"";if(fs(e))return Un?Un.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function hi(e,t,n){var r=-1,i=Dt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=It;else if(o>=200){var u=t?null:Zi(e);if(u)return hn(u);a=!1,i=en,l=new $n}else l=t?[]:s;e:for(;++r<o;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,a&&f==f){for(var h=l.length;h--;)if(l[h]===f)continue e;t&&l.push(f),s.push(c)}else i(l,f,n)||(l!==s&&l.push(f),s.push(c))}return s}function di(e,t){return null==(e=Po(e,t=xi(t,e)))||delete e[zo(Qo(t))]}function pi(e,t,n,r){return ti(e,t,n(Er(e,t)),r)}function gi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?oi(e,r?0:o,r?o+1:i):oi(e,r?o+1:0,r?i:o)}function vi(e,t){var n=e;return n instanceof qn&&(n=n.value()),jt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),n)}function yi(e,t,n){var i=e.length;if(i<2)return i?hi(e[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=e[o],l=-1;++l<i;)l!=o&&(a[o]=dr(a[o]||s,e[l],t,n));return hi(br(a,1),t,n)}function mi(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function bi(e){return $a(e)?e:[]}function _i(e){return"function"==typeof e?e:al}function xi(e,t){return Xa(e)?e:So(e,t)?[e]:Fo(xs(e))}var wi=Jr;function Si(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oi(e,t,n)}var ki=ut||function(e){return pt.clearTimeout(e)};function Ei(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Oi(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Ci(e,t){var n=t?Oi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=fs(e),s=t!==o,l=null===t,u=t==t,c=fs(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e<t||c&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!u)return-1}return 0}function Ti(e,t,n,i){for(var o=-1,a=e.length,s=n.length,l=-1,u=t.length,c=_n(a-s,0),f=r(u+c),h=!i;++l<u;)f[l]=t[l];for(;++o<s;)(h||o<a)&&(f[n[o]]=e[o]);for(;c--;)f[l++]=e[o++];return f}function Pi(e,t,n,i){for(var o=-1,a=e.length,s=-1,l=n.length,u=-1,c=t.length,f=_n(a-l,0),h=r(f+c),d=!i;++o<f;)h[o]=e[o];for(var p=o;++u<c;)h[p+u]=t[u];for(;++s<l;)(d||o<a)&&(h[p+n[s]]=e[o++]);return h}function Mi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Di(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=r?r(n[l],e[l],l,n,e):o;u===o&&(u=e[l]),i?sr(n,l,u):rr(n,l,u)}return n}function Ii(e,t){return function(n,r){var i=Xa(n)?Ct:or,o=t?t():{};return i(n,e,co(r,2),o)}}function Li(e){return Jr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wo(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Ce(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Ri(e,t){return function(n,r){if(null==n)return n;if(!Ka(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ce(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function ji(e){return function(t,n,r){for(var i=-1,o=Ce(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function Ni(e){return function(t){var n=ln(t=xs(t))?gn(t):o,r=n?n[0]:t.charAt(0),i=n?Si(n,1).join(""):t.slice(1);return r[e]()+i}}function Bi(e){return function(t){return jt(el(qs(t).replace(Qe,"")),e,"")}}function Fi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Vn(e.prototype),r=e.apply(n,t);return rs(r)?r:n}}function zi(e){return function(t,n,r){var i=Ce(t);if(!Ka(t)){var a=co(n,3);t=Ls(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Ui(e){return io((function(t){var n=t.length,r=n,i=Wn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Pe(a);if(i&&!l&&"wrapper"==lo(s))var l=new Wn([],!0)}for(r=l?r:n;++r<n;){var u=lo(s=t[r]),c="wrapper"==u?so(s):o;l=c&&ko(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[lo(c[0])].apply(l,c[3]):1==s.length&&ko(s)?l[u]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Xa(r))return l.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Hi(e,t,n,i,a,s,l,u,c,f){var d=t&h,p=1&t,g=2&t,v=24&t,y=512&t,m=g?o:Fi(e);return function o(){for(var h=arguments.length,b=r(h),_=h;_--;)b[_]=arguments[_];if(v)var x=uo(o),w=rn(b,x);if(i&&(b=Ti(b,i,a,v)),s&&(b=Pi(b,s,l,v)),h-=w,v&&h<f){var S=fn(b,x);return Ki(e,t,Hi,o.placeholder,n,b,S,u,c,f-h)}var k=p?n:this,E=g?k[e]:e;return h=b.length,u?b=Mo(b,u):y&&h>1&&b.reverse(),d&&c<h&&(b.length=c),this&&this!==pt&&this instanceof o&&(E=m||Fi(E)),E.apply(k,b)}}function Vi(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Gi(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=fi(n),r=fi(r)):(n=ci(n),r=ci(r)),i=e(n,r)}return i}}function Wi(e){return io((function(t){return t=Lt(t,Jt(co())),Jr((function(n){var r=this;return e(t,(function(e){return Ot(e,r,n)}))}))}))}function qi(e,t){var n=(t=t===o?" ":fi(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,gt(e/pn(t)));return ln(t)?Si(gn(r),0,e).join(""):r.slice(0,e)}function Xi(e){return function(t,n,i){return i&&"number"!=typeof i&&wo(t,n,i)&&(n=i=o),t=vs(t),n===o?(n=t,t=0):n=vs(n),function(e,t,n,i){for(var o=-1,a=_n(gt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:vs(i),e)}}function Yi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=bs(t),n=bs(n)),e(t,n)}}function Ki(e,t,n,r,i,a,s,l,u,h){var d=8&t;t|=d?c:f,4&(t&=~(d?f:c))||(t&=-4);var p=[e,t,i,d?a:o,d?s:o,d?o:a,d?o:s,l,u,h],g=n.apply(o,p);return ko(e)&&Io(g,p),g.placeholder=r,jo(g,e,t)}function $i(e){var t=Oe[e];return function(e,n){if(e=bs(e),(n=null==n?0:xn(ys(n),292))&&Ft(e)){var r=(xs(e)+"e").split("e");return+((r=(xs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zi=Tn&&1/hn(new Tn([,-0]))[1]==p?function(e){return new Tn(e)}:fl;function Ji(e){return function(t){var n=yo(t);return n==O?un(t):n==M?dn(t):function(e,t){return Lt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qi(e,t,n,i,s,p,g,v){var y=2&t;if(!y&&"function"!=typeof e)throw new Pe(a);var m=i?i.length:0;if(m||(t&=-97,i=s=o),g=g===o?g:_n(ys(g),0),v=v===o?v:ys(v),m-=s?s.length:0,t&f){var b=i,_=s;i=s=o}var x=y?o:so(e),w=[e,t,n,i,s,b,_,p,g,v];if(x&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=r==h&&8==n||r==h&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var s=t[3];if(s){var u=e[3];e[3]=u?Ti(u,s,t[4]):s,e[4]=u?fn(e[3],l):t[4]}(s=t[5])&&(u=e[5],e[5]=u?Pi(u,s,t[6]):s,e[6]=u?fn(e[5],l):t[6]),(s=t[7])&&(e[7]=s),r&h&&(e[8]=null==e[8]?t[8]:xn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(w,x),e=w[0],t=w[1],n=w[2],i=w[3],s=w[4],!(v=w[9]=w[9]===o?y?0:e.length:_n(w[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==u?function(e,t,n){var i=Fi(e);return function a(){for(var s=arguments.length,l=r(s),u=s,c=uo(a);u--;)l[u]=arguments[u];var f=s<3&&l[0]!==c&&l[s-1]!==c?[]:fn(l,c);return(s-=f.length)<n?Ki(e,t,Hi,a.placeholder,o,l,f,o,o,n-s):Ot(this&&this!==pt&&this instanceof a?i:e,this,l)}}(e,t,v):t!=c&&33!=t||s.length?Hi.apply(o,w):function(e,t,n,i){var o=1&t,a=Fi(e);return function t(){for(var s=-1,l=arguments.length,u=-1,c=i.length,f=r(c+l),h=this&&this!==pt&&this instanceof t?a:e;++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++s];return Ot(h,o?n:this,f)}}(e,t,n,i);else var S=function(e,t,n){var r=1&t,i=Fi(e);return function t(){return(this&&this!==pt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return jo((x?ni:Io)(S,w),e,t)}function eo(e,t,n,r){return e===o||Va(e,Ie[n])&&!je.call(r,n)?t:e}function to(e,t,n,r,i,a){return rs(e)&&rs(t)&&(a.set(t,e),Gr(e,t,o,to,a),a.delete(t)),e}function no(e){return ss(e)?o:e}function ro(e,t,n,r,i,a){var s=1&n,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var h=-1,d=!0,p=2&n?new $n:o;for(a.set(e,t),a.set(t,e);++h<l;){var g=e[h],v=t[h];if(r)var y=s?r(v,g,h,t,e,a):r(g,v,h,e,t,a);if(y!==o){if(y)continue;d=!1;break}if(p){if(!Bt(t,(function(e,t){if(!en(p,t)&&(g===e||i(g,e,n,r,a)))return p.push(t)}))){d=!1;break}}else if(g!==v&&!i(g,v,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function io(e){return Ro(To(e,o,Yo),e+"")}function oo(e){return Or(e,Ls,go)}function ao(e){return Or(e,Rs,vo)}var so=Dn?function(e){return Dn.get(e)}:fl;function lo(e){for(var t=e.name+"",n=In[t],r=je.call(In,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function uo(e){return(je.call(Hn,"placeholder")?Hn:e).placeholder}function co(){var e=Hn.iteratee||sl;return e=e===sl?Nr:e,arguments.length?e(arguments[0],arguments[1]):e}function fo(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ho(e){for(var t=Ls(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Co(i)]}return t}function po(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return jr(n)?n:o}var go=mt?function(e){return null==e?[]:(e=Ce(e),Mt(mt(e),(function(t){return Ke.call(e,t)})))}:ml,vo=mt?function(e){for(var t=[];e;)Rt(t,go(e)),e=Xe(e);return t}:ml,yo=Cr;function mo(e,t,n){for(var r=-1,i=(t=xi(t,e)).length,o=!1;++r<i;){var a=zo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&ns(i)&&xo(a,i)&&(Xa(e)||qa(e))}function bo(e){return"function"!=typeof e.constructor||Oo(e)?{}:Vn(Xe(e))}function _o(e){return Xa(e)||qa(e)||!!(Ze&&e&&e[Ze])}function xo(e,t){var n=typeof e;return!!(t=null==t?g:t)&&("number"==n||"symbol"!=n&&xe.test(e))&&e>-1&&e%1==0&&e<t}function wo(e,t,n){if(!rs(n))return!1;var r=typeof t;return!!("number"==r?Ka(n)&&xo(t,n.length):"string"==r&&t in n)&&Va(n[t],e)}function So(e,t){if(Xa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fs(e))||re.test(e)||!ne.test(e)||null!=t&&e in Ce(t)}function ko(e){var t=lo(e),n=Hn[t];if("function"!=typeof n||!(t in qn.prototype))return!1;if(e===n)return!0;var r=so(n);return!!r&&e===r[0]}(On&&yo(new On(new ArrayBuffer(1)))!=j||Cn&&yo(new Cn)!=O||An&&yo(An.resolve())!=T||Tn&&yo(new Tn)!=M||Pn&&yo(new Pn)!=L)&&(yo=function(e){var t=Cr(e),n=t==A?e.constructor:o,r=n?Uo(n):"";if(r)switch(r){case Ln:return j;case Rn:return O;case jn:return T;case Nn:return M;case Bn:return L}return t});var Eo=Le?es:bl;function Oo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ie)}function Co(e){return e==e&&!rs(e)}function Ao(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Ce(n))}}function To(e,t,n){return t=_n(t===o?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=_n(i.length-t,0),s=r(a);++o<a;)s[o]=i[t+o];o=-1;for(var l=r(t+1);++o<t;)l[o]=i[o];return l[t]=n(s),Ot(e,this,l)}}function Po(e,t){return t.length<2?e:Er(e,oi(t,0,-1))}function Mo(e,t){for(var n=e.length,r=xn(t.length,n),i=Mi(e);r--;){var a=t[r];e[r]=xo(a,n)?i[a]:o}return e}function Do(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Io=No(ni),Lo=dt||function(e,t){return pt.setTimeout(e,t)},Ro=No(ri);function jo(e,t,n){var r=t+"";return Ro(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(m,(function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(fe):[]}(r),n)))}function No(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Bo(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=$r(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Fo=function(e){var t=Na(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ie,(function(e,n,r,i){t.push(r?i.replace(pe,"$1"):n||e)})),t}));function zo(e){if("string"==typeof e||fs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Uo(e){if(null!=e){try{return Re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ho(e){if(e instanceof qn)return e.clone();var t=new Wn(e.__wrapped__,e.__chain__);return t.__actions__=Mi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Vo=Jr((function(e,t){return $a(e)?dr(e,br(t,1,$a,!0)):[]})),Go=Jr((function(e,t){var n=Qo(t);return $a(n)&&(n=o),$a(e)?dr(e,br(t,1,$a,!0),co(n,2)):[]})),Wo=Jr((function(e,t){var n=Qo(t);return $a(n)&&(n=o),$a(e)?dr(e,br(t,1,$a,!0),o,n):[]}));function qo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ys(n);return i<0&&(i=_n(r+i,0)),Ut(e,co(t,3),i)}function Xo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ys(n),i=n<0?_n(r+i,0):xn(i,r-1)),Ut(e,co(t,3),i,!0)}function Yo(e){return null!=e&&e.length?br(e,1):[]}function Ko(e){return e&&e.length?e[0]:o}var $o=Jr((function(e){var t=Lt(e,bi);return t.length&&t[0]===e[0]?Mr(t):[]})),Zo=Jr((function(e){var t=Qo(e),n=Lt(e,bi);return t===Qo(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Mr(n,co(t,2)):[]})),Jo=Jr((function(e){var t=Qo(e),n=Lt(e,bi);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Mr(n,o,t):[]}));function Qo(e){var t=null==e?0:e.length;return t?e[t-1]:o}var ea=Jr(ta);function ta(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}var na=io((function(e,t){var n=null==e?0:e.length,r=lr(e,t);return Kr(e,Lt(t,(function(e){return xo(e,n)?+e:e})).sort(Ai)),r}));function ra(e){return null==e?e:En.call(e)}var ia=Jr((function(e){return hi(br(e,1,$a,!0))})),oa=Jr((function(e){var t=Qo(e);return $a(t)&&(t=o),hi(br(e,1,$a,!0),co(t,2))})),aa=Jr((function(e){var t=Qo(e);return t="function"==typeof t?t:o,hi(br(e,1,$a,!0),o,t)}));function sa(e){if(!e||!e.length)return[];var t=0;return e=Mt(e,(function(e){if($a(e))return t=_n(e.length,t),!0})),$t(t,(function(t){return Lt(e,qt(t))}))}function la(e,t){if(!e||!e.length)return[];var n=sa(e);return null==t?n:Lt(n,(function(e){return Ot(t,o,e)}))}var ua=Jr((function(e,t){return $a(e)?dr(e,t):[]})),ca=Jr((function(e){return yi(Mt(e,$a))})),fa=Jr((function(e){var t=Qo(e);return $a(t)&&(t=o),yi(Mt(e,$a),co(t,2))})),ha=Jr((function(e){var t=Qo(e);return t="function"==typeof t?t:o,yi(Mt(e,$a),o,t)})),da=Jr(sa),pa=Jr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,la(e,n)}));function ga(e){var t=Hn(e);return t.__chain__=!0,t}function va(e,t){return t(e)}var ya=io((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof qn&&xo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:va,args:[i],thisArg:o}),new Wn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)})),ma=Ii((function(e,t,n){je.call(e,n)?++e[n]:sr(e,n,1)})),ba=zi(qo),_a=zi(Xo);function xa(e,t){return(Xa(e)?At:pr)(e,co(t,3))}function wa(e,t){return(Xa(e)?Tt:gr)(e,co(t,3))}var Sa=Ii((function(e,t,n){je.call(e,n)?e[n].push(t):sr(e,n,[t])})),ka=Jr((function(e,t,n){var i=-1,o="function"==typeof t,a=Ka(e)?r(e.length):[];return pr(e,(function(e){a[++i]=o?Ot(t,e,n):Dr(e,t,n)})),a})),Ea=Ii((function(e,t,n){sr(e,n,t)}));function Oa(e,t){return(Xa(e)?Lt:Ur)(e,co(t,3))}var Ca=Ii((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Aa=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wo(e,t[0],t[1])?t=[]:n>2&&wo(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,br(t,1),[])})),Ta=ht||function(){return pt.Date.now()};function Pa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Qi(e,h,o,o,o,o,t)}function Ma(e,t){var n;if("function"!=typeof t)throw new Pe(a);return e=ys(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Da=Jr((function(e,t,n){var r=1;if(n.length){var i=fn(n,uo(Da));r|=c}return Qi(e,r,t,n,i)})),Ia=Jr((function(e,t,n){var r=3;if(n.length){var i=fn(n,uo(Ia));r|=c}return Qi(t,r,e,n,i)}));function La(e,t,n){var r,i,s,l,u,c,f=0,h=!1,d=!1,p=!0;if("function"!=typeof e)throw new Pe(a);function g(t){var n=r,a=i;return r=i=o,f=t,l=e.apply(a,n)}function v(e){return f=e,u=Lo(m,t),h?g(e):l}function y(e){var n=e-c;return c===o||n>=t||n<0||d&&e-f>=s}function m(){var e=Ta();if(y(e))return b(e);u=Lo(m,function(e){var n=t-(e-c);return d?xn(n,s-(e-f)):n}(e))}function b(e){return u=o,p&&r?g(e):(r=i=o,l)}function _(){var e=Ta(),n=y(e);if(r=arguments,i=this,c=e,n){if(u===o)return v(c);if(d)return ki(u),u=Lo(m,t),g(c)}return u===o&&(u=Lo(m,t)),l}return t=bs(t)||0,rs(n)&&(h=!!n.leading,s=(d="maxWait"in n)?_n(bs(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),_.cancel=function(){u!==o&&ki(u),f=0,r=c=i=u=o},_.flush=function(){return u===o?l:b(Ta())},_}var Ra=Jr((function(e,t){return hr(e,1,t)})),ja=Jr((function(e,t,n){return hr(e,bs(t)||0,n)}));function Na(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Na.Cache||Kn),n}function Ba(e){if("function"!=typeof e)throw new Pe(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Na.Cache=Kn;var Fa=wi((function(e,t){var n=(t=1==t.length&&Xa(t[0])?Lt(t[0],Jt(co())):Lt(br(t,1),Jt(co()))).length;return Jr((function(r){for(var i=-1,o=xn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Ot(e,this,r)}))})),za=Jr((function(e,t){var n=fn(t,uo(za));return Qi(e,c,o,t,n)})),Ua=Jr((function(e,t){var n=fn(t,uo(Ua));return Qi(e,f,o,t,n)})),Ha=io((function(e,t){return Qi(e,d,o,o,o,t)}));function Va(e,t){return e===t||e!=e&&t!=t}var Ga=Yi(Ar),Wa=Yi((function(e,t){return e>=t})),qa=Ir(function(){return arguments}())?Ir:function(e){return is(e)&&je.call(e,"callee")&&!Ke.call(e,"callee")},Xa=r.isArray,Ya=_t?Jt(_t):function(e){return is(e)&&Cr(e)==R};function Ka(e){return null!=e&&ns(e.length)&&!es(e)}function $a(e){return is(e)&&Ka(e)}var Za=bt||bl,Ja=xt?Jt(xt):function(e){return is(e)&&Cr(e)==w};function Qa(e){if(!is(e))return!1;var t=Cr(e);return t==S||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ss(e)}function es(e){if(!rs(e))return!1;var t=Cr(e);return t==k||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ts(e){return"number"==typeof e&&e==ys(e)}function ns(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=g}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function is(e){return null!=e&&"object"==typeof e}var os=wt?Jt(wt):function(e){return is(e)&&yo(e)==O};function as(e){return"number"==typeof e||is(e)&&Cr(e)==C}function ss(e){if(!is(e)||Cr(e)!=A)return!1;var t=Xe(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==ze}var ls=St?Jt(St):function(e){return is(e)&&Cr(e)==P},us=kt?Jt(kt):function(e){return is(e)&&yo(e)==M};function cs(e){return"string"==typeof e||!Xa(e)&&is(e)&&Cr(e)==D}function fs(e){return"symbol"==typeof e||is(e)&&Cr(e)==I}var hs=Et?Jt(Et):function(e){return is(e)&&ns(e.length)&&!!st[Cr(e)]},ds=Yi(zr),ps=Yi((function(e,t){return e<=t}));function gs(e){if(!e)return[];if(Ka(e))return cs(e)?gn(e):Mi(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=yo(e);return(t==O?un:t==M?hn:Vs)(e)}function vs(e){return e?(e=bs(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ys(e){var t=vs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ur(ys(e),0,y):0}function bs(e){if("number"==typeof e)return e;if(fs(e))return v;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=me.test(e);return n||_e.test(e)?ft(e.slice(2),n?2:8):ye.test(e)?v:+e}function _s(e){return Di(e,Rs(e))}function xs(e){return null==e?"":fi(e)}var ws=Li((function(e,t){if(Oo(t)||Ka(t))Di(t,Ls(t),e);else for(var n in t)je.call(t,n)&&rr(e,n,t[n])})),Ss=Li((function(e,t){Di(t,Rs(t),e)})),ks=Li((function(e,t,n,r){Di(t,Rs(t),e,r)})),Es=Li((function(e,t,n,r){Di(t,Ls(t),e,r)})),Os=io(lr),Cs=Jr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wo(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Rs(a),l=-1,u=s.length;++l<u;){var c=s[l],f=e[c];(f===o||Va(f,Ie[c])&&!je.call(e,c))&&(e[c]=a[c])}return e})),As=Jr((function(e){return e.push(o,to),Ot(Ns,o,e)}));function Ts(e,t,n){var r=null==e?o:Er(e,t);return r===o?n:r}function Ps(e,t){return null!=e&&mo(e,t,Pr)}var Ms=Vi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),rl(al)),Ds=Vi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),je.call(e,t)?e[t].push(n):e[t]=[n]}),co),Is=Jr(Dr);function Ls(e){return Ka(e)?Jn(e):Br(e)}function Rs(e){return Ka(e)?Jn(e,!0):Fr(e)}var js=Li((function(e,t,n){Gr(e,t,n)})),Ns=Li((function(e,t,n,r){Gr(e,t,n,r)})),Bs=io((function(e,t){var n={};if(null==e)return n;var r=!1;t=Lt(t,(function(t){return t=xi(t,e),r||(r=t.length>1),t})),Di(e,ao(e),n),r&&(n=cr(n,7,no));for(var i=t.length;i--;)di(n,t[i]);return n})),Fs=io((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return Ps(e,n)}))}(e,t)}));function zs(e,t){if(null==e)return{};var n=Lt(ao(e),(function(e){return[e]}));return t=co(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Us=Ji(Ls),Hs=Ji(Rs);function Vs(e){return null==e?[]:Qt(e,Ls(e))}var Gs=Bi((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return Qs(xs(e).toLowerCase())}function qs(e){return(e=xs(e))&&e.replace(we,on).replace(et,"")}var Xs=Bi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=Bi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=Ni("toLowerCase"),$s=Bi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Zs=Bi((function(e,t,n){return e+(n?" ":"")+Qs(t)})),Js=Bi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Ni("toUpperCase");function el(e,t,n){return e=xs(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(he)||[]}(e):e.match(t)||[]}var tl=Jr((function(e,t){try{return Ot(e,o,t)}catch(e){return Qa(e)?e:new le(e)}})),nl=io((function(e,t){return At(t,(function(t){t=zo(t),sr(e,t,Da(e[t],e))})),e}));function rl(e){return function(){return e}}var il=Ui(),ol=Ui(!0);function al(e){return e}function sl(e){return Nr("function"==typeof e?e:cr(e,1))}var ll=Jr((function(e,t){return function(n){return Dr(n,e,t)}})),ul=Jr((function(e,t){return function(n){return Dr(e,n,t)}}));function cl(e,t,n){var r=Ls(t),i=kr(t,r);null!=n||rs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=kr(t,Ls(t)));var o=!(rs(n)&&"chain"in n&&!n.chain),a=es(e);return At(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Mi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})})),e}function fl(){}var hl=Wi(Lt),dl=Wi(Pt),pl=Wi(Bt);function gl(e){return So(e)?qt(zo(e)):function(e){return function(t){return Er(t,e)}}(e)}var vl=Xi(),yl=Xi(!0);function ml(){return[]}function bl(){return!1}var _l,xl=Gi((function(e,t){return e+t}),0),wl=$i("ceil"),Sl=Gi((function(e,t){return e/t}),1),kl=$i("floor"),El=Gi((function(e,t){return e*t}),1),Ol=$i("round"),Cl=Gi((function(e,t){return e-t}),0);return Hn.after=function(e,t){if("function"!=typeof t)throw new Pe(a);return e=ys(e),function(){if(--e<1)return t.apply(this,arguments)}},Hn.ary=Pa,Hn.assign=ws,Hn.assignIn=Ss,Hn.assignInWith=ks,Hn.assignWith=Es,Hn.at=Os,Hn.before=Ma,Hn.bind=Da,Hn.bindAll=nl,Hn.bindKey=Ia,Hn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Xa(e)?e:[e]},Hn.chain=ga,Hn.chunk=function(e,t,n){t=(n?wo(e,t,n):t===o)?1:_n(ys(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(gt(i/t));a<i;)l[s++]=oi(e,a,a+=t);return l},Hn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Hn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Rt(Xa(n)?Mi(n):[n],br(t,1))},Hn.cond=function(e){var t=null==e?0:e.length,n=co();return e=t?Lt(e,(function(e){if("function"!=typeof e[1])throw new Pe(a);return[n(e[0]),e[1]]})):[],Jr((function(n){for(var r=-1;++r<t;){var i=e[r];if(Ot(i[0],this,n))return Ot(i[1],this,n)}}))},Hn.conforms=function(e){return function(e){var t=Ls(e);return function(n){return fr(n,e,t)}}(cr(e,1))},Hn.constant=rl,Hn.countBy=ma,Hn.create=function(e,t){var n=Vn(e);return null==t?n:ar(n,t)},Hn.curry=function e(t,n,r){var i=Qi(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Hn.curryRight=function e(t,n,r){var i=Qi(t,u,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Hn.debounce=La,Hn.defaults=Cs,Hn.defaultsDeep=As,Hn.defer=Ra,Hn.delay=ja,Hn.difference=Vo,Hn.differenceBy=Go,Hn.differenceWith=Wo,Hn.drop=function(e,t,n){var r=null==e?0:e.length;return r?oi(e,(t=n||t===o?1:ys(t))<0?0:t,r):[]},Hn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oi(e,0,(t=r-(t=n||t===o?1:ys(t)))<0?0:t):[]},Hn.dropRightWhile=function(e,t){return e&&e.length?gi(e,co(t,3),!0,!0):[]},Hn.dropWhile=function(e,t){return e&&e.length?gi(e,co(t,3),!0):[]},Hn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&wo(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ys(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ys(r))<0&&(r+=i),r=n>r?0:ms(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Hn.filter=function(e,t){return(Xa(e)?Mt:mr)(e,co(t,3))},Hn.flatMap=function(e,t){return br(Oa(e,t),1)},Hn.flatMapDeep=function(e,t){return br(Oa(e,t),p)},Hn.flatMapDepth=function(e,t,n){return n=n===o?1:ys(n),br(Oa(e,t),n)},Hn.flatten=Yo,Hn.flattenDeep=function(e){return null!=e&&e.length?br(e,p):[]},Hn.flattenDepth=function(e,t){return null!=e&&e.length?br(e,t=t===o?1:ys(t)):[]},Hn.flip=function(e){return Qi(e,512)},Hn.flow=il,Hn.flowRight=ol,Hn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Hn.functions=function(e){return null==e?[]:kr(e,Ls(e))},Hn.functionsIn=function(e){return null==e?[]:kr(e,Rs(e))},Hn.groupBy=Sa,Hn.initial=function(e){return null!=e&&e.length?oi(e,0,-1):[]},Hn.intersection=$o,Hn.intersectionBy=Zo,Hn.intersectionWith=Jo,Hn.invert=Ms,Hn.invertBy=Ds,Hn.invokeMap=ka,Hn.iteratee=sl,Hn.keyBy=Ea,Hn.keys=Ls,Hn.keysIn=Rs,Hn.map=Oa,Hn.mapKeys=function(e,t){var n={};return t=co(t,3),wr(e,(function(e,r,i){sr(n,t(e,r,i),e)})),n},Hn.mapValues=function(e,t){var n={};return t=co(t,3),wr(e,(function(e,r,i){sr(n,r,t(e,r,i))})),n},Hn.matches=function(e){return Hr(cr(e,1))},Hn.matchesProperty=function(e,t){return Vr(e,cr(t,1))},Hn.memoize=Na,Hn.merge=js,Hn.mergeWith=Ns,Hn.method=ll,Hn.methodOf=ul,Hn.mixin=cl,Hn.negate=Ba,Hn.nthArg=function(e){return e=ys(e),Jr((function(t){return Wr(t,e)}))},Hn.omit=Bs,Hn.omitBy=function(e,t){return zs(e,Ba(co(t)))},Hn.once=function(e){return Ma(2,e)},Hn.orderBy=function(e,t,n,r){return null==e?[]:(Xa(t)||(t=null==t?[]:[t]),Xa(n=r?o:n)||(n=null==n?[]:[n]),qr(e,t,n))},Hn.over=hl,Hn.overArgs=Fa,Hn.overEvery=dl,Hn.overSome=pl,Hn.partial=za,Hn.partialRight=Ua,Hn.partition=Ca,Hn.pick=Fs,Hn.pickBy=zs,Hn.property=gl,Hn.propertyOf=function(e){return function(t){return null==e?o:Er(e,t)}},Hn.pull=ea,Hn.pullAll=ta,Hn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,co(n,2)):e},Hn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,o,n):e},Hn.pullAt=na,Hn.range=vl,Hn.rangeRight=yl,Hn.rearg=Ha,Hn.reject=function(e,t){return(Xa(e)?Mt:mr)(e,Ba(co(t,3)))},Hn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=co(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Kr(e,i),n},Hn.rest=function(e,t){if("function"!=typeof e)throw new Pe(a);return Jr(e,t=t===o?t:ys(t))},Hn.reverse=ra,Hn.sampleSize=function(e,t,n){return t=(n?wo(e,t,n):t===o)?1:ys(t),(Xa(e)?er:ei)(e,t)},Hn.set=function(e,t,n){return null==e?e:ti(e,t,n)},Hn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ti(e,t,n,r)},Hn.shuffle=function(e){return(Xa(e)?tr:ii)(e)},Hn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&wo(e,t,n)?(t=0,n=r):(t=null==t?0:ys(t),n=n===o?r:ys(n)),oi(e,t,n)):[]},Hn.sortBy=Aa,Hn.sortedUniq=function(e){return e&&e.length?ui(e):[]},Hn.sortedUniqBy=function(e,t){return e&&e.length?ui(e,co(t,2)):[]},Hn.split=function(e,t,n){return n&&"number"!=typeof n&&wo(e,t,n)&&(t=n=o),(n=n===o?y:n>>>0)?(e=xs(e))&&("string"==typeof t||null!=t&&!ls(t))&&!(t=fi(t))&&ln(e)?Si(gn(e),0,n):e.split(t,n):[]},Hn.spread=function(e,t){if("function"!=typeof e)throw new Pe(a);return t=null==t?0:_n(ys(t),0),Jr((function(n){var r=n[t],i=Si(n,0,t);return r&&Rt(i,r),Ot(e,this,i)}))},Hn.tail=function(e){var t=null==e?0:e.length;return t?oi(e,1,t):[]},Hn.take=function(e,t,n){return e&&e.length?oi(e,0,(t=n||t===o?1:ys(t))<0?0:t):[]},Hn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oi(e,(t=r-(t=n||t===o?1:ys(t)))<0?0:t,r):[]},Hn.takeRightWhile=function(e,t){return e&&e.length?gi(e,co(t,3),!1,!0):[]},Hn.takeWhile=function(e,t){return e&&e.length?gi(e,co(t,3)):[]},Hn.tap=function(e,t){return t(e),e},Hn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Pe(a);return rs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(e,t,{leading:r,maxWait:t,trailing:i})},Hn.thru=va,Hn.toArray=gs,Hn.toPairs=Us,Hn.toPairsIn=Hs,Hn.toPath=function(e){return Xa(e)?Lt(e,zo):fs(e)?[e]:Mi(Fo(xs(e)))},Hn.toPlainObject=_s,Hn.transform=function(e,t,n){var r=Xa(e),i=r||Za(e)||hs(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:rs(e)&&es(o)?Vn(Xe(e)):{}}return(i?At:wr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Hn.unary=function(e){return Pa(e,1)},Hn.union=ia,Hn.unionBy=oa,Hn.unionWith=aa,Hn.uniq=function(e){return e&&e.length?hi(e):[]},Hn.uniqBy=function(e,t){return e&&e.length?hi(e,co(t,2)):[]},Hn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?hi(e,o,t):[]},Hn.unset=function(e,t){return null==e||di(e,t)},Hn.unzip=sa,Hn.unzipWith=la,Hn.update=function(e,t,n){return null==e?e:pi(e,t,_i(n))},Hn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:pi(e,t,_i(n),r)},Hn.values=Vs,Hn.valuesIn=function(e){return null==e?[]:Qt(e,Rs(e))},Hn.without=ua,Hn.words=el,Hn.wrap=function(e,t){return za(_i(t),e)},Hn.xor=ca,Hn.xorBy=fa,Hn.xorWith=ha,Hn.zip=da,Hn.zipObject=function(e,t){return mi(e||[],t||[],rr)},Hn.zipObjectDeep=function(e,t){return mi(e||[],t||[],ti)},Hn.zipWith=pa,Hn.entries=Us,Hn.entriesIn=Hs,Hn.extend=Ss,Hn.extendWith=ks,cl(Hn,Hn),Hn.add=xl,Hn.attempt=tl,Hn.camelCase=Gs,Hn.capitalize=Ws,Hn.ceil=wl,Hn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=bs(n))==n?n:0),t!==o&&(t=(t=bs(t))==t?t:0),ur(bs(e),t,n)},Hn.clone=function(e){return cr(e,4)},Hn.cloneDeep=function(e){return cr(e,5)},Hn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},Hn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},Hn.conformsTo=function(e,t){return null==t||fr(e,t,Ls(t))},Hn.deburr=qs,Hn.defaultTo=function(e,t){return null==e||e!=e?t:e},Hn.divide=Sl,Hn.endsWith=function(e,t,n){e=xs(e),t=fi(t);var r=e.length,i=n=n===o?r:ur(ys(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Hn.eq=Va,Hn.escape=function(e){return(e=xs(e))&&J.test(e)?e.replace($,an):e},Hn.escapeRegExp=function(e){return(e=xs(e))&&ae.test(e)?e.replace(oe,"\\$&"):e},Hn.every=function(e,t,n){var r=Xa(e)?Pt:vr;return n&&wo(e,t,n)&&(t=o),r(e,co(t,3))},Hn.find=ba,Hn.findIndex=qo,Hn.findKey=function(e,t){return zt(e,co(t,3),wr)},Hn.findLast=_a,Hn.findLastIndex=Xo,Hn.findLastKey=function(e,t){return zt(e,co(t,3),Sr)},Hn.floor=kl,Hn.forEach=xa,Hn.forEachRight=wa,Hn.forIn=function(e,t){return null==e?e:_r(e,co(t,3),Rs)},Hn.forInRight=function(e,t){return null==e?e:xr(e,co(t,3),Rs)},Hn.forOwn=function(e,t){return e&&wr(e,co(t,3))},Hn.forOwnRight=function(e,t){return e&&Sr(e,co(t,3))},Hn.get=Ts,Hn.gt=Ga,Hn.gte=Wa,Hn.has=function(e,t){return null!=e&&mo(e,t,Tr)},Hn.hasIn=Ps,Hn.head=Ko,Hn.identity=al,Hn.includes=function(e,t,n,r){e=Ka(e)?e:Vs(e),n=n&&!r?ys(n):0;var i=e.length;return n<0&&(n=_n(i+n,0)),cs(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Ht(e,t,n)>-1},Hn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ys(n);return i<0&&(i=_n(r+i,0)),Ht(e,t,i)},Hn.inRange=function(e,t,n){return t=vs(t),n===o?(n=t,t=0):n=vs(n),function(e,t,n){return e>=xn(t,n)&&e<_n(t,n)}(e=bs(e),t,n)},Hn.invoke=Is,Hn.isArguments=qa,Hn.isArray=Xa,Hn.isArrayBuffer=Ya,Hn.isArrayLike=Ka,Hn.isArrayLikeObject=$a,Hn.isBoolean=function(e){return!0===e||!1===e||is(e)&&Cr(e)==x},Hn.isBuffer=Za,Hn.isDate=Ja,Hn.isElement=function(e){return is(e)&&1===e.nodeType&&!ss(e)},Hn.isEmpty=function(e){if(null==e)return!0;if(Ka(e)&&(Xa(e)||"string"==typeof e||"function"==typeof e.splice||Za(e)||hs(e)||qa(e)))return!e.length;var t=yo(e);if(t==O||t==M)return!e.size;if(Oo(e))return!Br(e).length;for(var n in e)if(je.call(e,n))return!1;return!0},Hn.isEqual=function(e,t){return Lr(e,t)},Hn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Lr(e,t,o,n):!!r},Hn.isError=Qa,Hn.isFinite=function(e){return"number"==typeof e&&Ft(e)},Hn.isFunction=es,Hn.isInteger=ts,Hn.isLength=ns,Hn.isMap=os,Hn.isMatch=function(e,t){return e===t||Rr(e,t,ho(t))},Hn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Rr(e,t,ho(t),n)},Hn.isNaN=function(e){return as(e)&&e!=+e},Hn.isNative=function(e){if(Eo(e))throw new le("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(e)},Hn.isNil=function(e){return null==e},Hn.isNull=function(e){return null===e},Hn.isNumber=as,Hn.isObject=rs,Hn.isObjectLike=is,Hn.isPlainObject=ss,Hn.isRegExp=ls,Hn.isSafeInteger=function(e){return ts(e)&&e>=-9007199254740991&&e<=g},Hn.isSet=us,Hn.isString=cs,Hn.isSymbol=fs,Hn.isTypedArray=hs,Hn.isUndefined=function(e){return e===o},Hn.isWeakMap=function(e){return is(e)&&yo(e)==L},Hn.isWeakSet=function(e){return is(e)&&"[object WeakSet]"==Cr(e)},Hn.join=function(e,t){return null==e?"":Xt.call(e,t)},Hn.kebabCase=Xs,Hn.last=Qo,Hn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ys(n))<0?_n(r+i,0):xn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Gt,i,!0)},Hn.lowerCase=Ys,Hn.lowerFirst=Ks,Hn.lt=ds,Hn.lte=ps,Hn.max=function(e){return e&&e.length?yr(e,al,Ar):o},Hn.maxBy=function(e,t){return e&&e.length?yr(e,co(t,2),Ar):o},Hn.mean=function(e){return Wt(e,al)},Hn.meanBy=function(e,t){return Wt(e,co(t,2))},Hn.min=function(e){return e&&e.length?yr(e,al,zr):o},Hn.minBy=function(e,t){return e&&e.length?yr(e,co(t,2),zr):o},Hn.stubArray=ml,Hn.stubFalse=bl,Hn.stubObject=function(){return{}},Hn.stubString=function(){return""},Hn.stubTrue=function(){return!0},Hn.multiply=El,Hn.nth=function(e,t){return e&&e.length?Wr(e,ys(t)):o},Hn.noConflict=function(){return pt._===this&&(pt._=Ue),this},Hn.noop=fl,Hn.now=Ta,Hn.pad=function(e,t,n){e=xs(e);var r=(t=ys(t))?pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return qi(vt(i),n)+e+qi(gt(i),n)},Hn.padEnd=function(e,t,n){e=xs(e);var r=(t=ys(t))?pn(e):0;return t&&r<t?e+qi(t-r,n):e},Hn.padStart=function(e,t,n){e=xs(e);var r=(t=ys(t))?pn(e):0;return t&&r<t?qi(t-r,n)+e:e},Hn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Sn(xs(e).replace(se,""),t||0)},Hn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&wo(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=vs(e),t===o?(t=e,e=0):t=vs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return xn(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return $r(e,t)},Hn.reduce=function(e,t,n){var r=Xa(e)?jt:Yt,i=arguments.length<3;return r(e,co(t,4),n,i,pr)},Hn.reduceRight=function(e,t,n){var r=Xa(e)?Nt:Yt,i=arguments.length<3;return r(e,co(t,4),n,i,gr)},Hn.repeat=function(e,t,n){return t=(n?wo(e,t,n):t===o)?1:ys(t),Zr(xs(e),t)},Hn.replace=function(){var e=arguments,t=xs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Hn.result=function(e,t,n){var r=-1,i=(t=xi(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[zo(t[r])];a===o&&(r=i,a=n),e=es(a)?a.call(e):a}return e},Hn.round=Ol,Hn.runInContext=e,Hn.sample=function(e){return(Xa(e)?Qn:Qr)(e)},Hn.size=function(e){if(null==e)return 0;if(Ka(e))return cs(e)?pn(e):e.length;var t=yo(e);return t==O||t==M?e.size:Br(e).length},Hn.snakeCase=$s,Hn.some=function(e,t,n){var r=Xa(e)?Bt:ai;return n&&wo(e,t,n)&&(t=o),r(e,co(t,3))},Hn.sortedIndex=function(e,t){return si(e,t)},Hn.sortedIndexBy=function(e,t,n){return li(e,t,co(n,2))},Hn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=si(e,t);if(r<n&&Va(e[r],t))return r}return-1},Hn.sortedLastIndex=function(e,t){return si(e,t,!0)},Hn.sortedLastIndexBy=function(e,t,n){return li(e,t,co(n,2),!0)},Hn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=si(e,t,!0)-1;if(Va(e[n],t))return n}return-1},Hn.startCase=Zs,Hn.startsWith=function(e,t,n){return e=xs(e),n=null==n?0:ur(ys(n),0,e.length),t=fi(t),e.slice(n,n+t.length)==t},Hn.subtract=Cl,Hn.sum=function(e){return e&&e.length?Kt(e,al):0},Hn.sumBy=function(e,t){return e&&e.length?Kt(e,co(t,2)):0},Hn.template=function(e,t,n){var r=Hn.templateSettings;n&&wo(e,t,n)&&(t=o),e=xs(e),t=ks({},t,r,eo);var i,a,s=ks({},t.imports,r.imports,eo),l=Ls(s),u=Qt(s,l),c=0,f=t.interpolate||Se,h="__p += '",d=Ae((t.escape||Se).source+"|"+f.source+"|"+(f===te?ge:Se).source+"|"+(t.evaluate||Se).source+"|$","g"),p="//# sourceURL="+(je.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(d,(function(t,n,r,o,s,l){return r||(r=o),h+=e.slice(c,l).replace(ke,sn),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),h+="';\n";var g=je.call(t,"variable")&&t.variable;if(g){if(de.test(g))throw new le("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(q,""):h).replace(X,"$1").replace(Y,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=tl((function(){return Ee(l,p+"return "+h).apply(o,u)}));if(v.source=h,Qa(v))throw v;return v},Hn.times=function(e,t){if((e=ys(e))<1||e>g)return[];var n=y,r=xn(e,y);t=co(t),e-=y;for(var i=$t(r,t);++n<e;)t(n);return i},Hn.toFinite=vs,Hn.toInteger=ys,Hn.toLength=ms,Hn.toLower=function(e){return xs(e).toLowerCase()},Hn.toNumber=bs,Hn.toSafeInteger=function(e){return e?ur(ys(e),-9007199254740991,g):0===e?e:0},Hn.toString=xs,Hn.toUpper=function(e){return xs(e).toUpperCase()},Hn.trim=function(e,t,n){if((e=xs(e))&&(n||t===o))return Zt(e);if(!e||!(t=fi(t)))return e;var r=gn(e),i=gn(t);return Si(r,tn(r,i),nn(r,i)+1).join("")},Hn.trimEnd=function(e,t,n){if((e=xs(e))&&(n||t===o))return e.slice(0,vn(e)+1);if(!e||!(t=fi(t)))return e;var r=gn(e);return Si(r,0,nn(r,gn(t))+1).join("")},Hn.trimStart=function(e,t,n){if((e=xs(e))&&(n||t===o))return e.replace(se,"");if(!e||!(t=fi(t)))return e;var r=gn(e);return Si(r,tn(r,gn(t))).join("")},Hn.truncate=function(e,t){var n=30,r="...";if(rs(t)){var i="separator"in t?t.separator:i;n="length"in t?ys(t.length):n,r="omission"in t?fi(t.omission):r}var a=(e=xs(e)).length;if(ln(e)){var s=gn(e);a=s.length}if(n>=a)return e;var l=n-pn(r);if(l<1)return r;var u=s?Si(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),ls(i)){if(e.slice(l).search(i)){var c,f=u;for(i.global||(i=Ae(i.source,xs(ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var h=c.index;u=u.slice(0,h===o?l:h)}}else if(e.indexOf(fi(i),l)!=l){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},Hn.unescape=function(e){return(e=xs(e))&&Z.test(e)?e.replace(K,yn):e},Hn.uniqueId=function(e){var t=++Ne;return xs(e)+t},Hn.upperCase=Js,Hn.upperFirst=Qs,Hn.each=xa,Hn.eachRight=wa,Hn.first=Ko,cl(Hn,(_l={},wr(Hn,(function(e,t){je.call(Hn.prototype,t)||(_l[t]=e)})),_l),{chain:!1}),Hn.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Hn[e].placeholder=Hn})),At(["drop","take"],(function(e,t){qn.prototype[e]=function(n){n=n===o?1:_n(ys(n),0);var r=this.__filtered__&&!t?new qn(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,y),type:e+(r.__dir__<0?"Right":"")}),r},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(al)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return Dr(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(Ba(co(e)))},qn.prototype.slice=function(e,t){e=ys(e);var n=this;return n.__filtered__&&(e>0||t<0)?new qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ys(t))<0?n.dropRight(-t):n.take(t-e)),n)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(y)},wr(qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Hn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Hn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof qn,u=s[0],c=l||Xa(t),f=function(e){var t=i.apply(Hn,Rt([e],s));return r&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,g=l&&!d;if(!a&&c){t=g?t:new qn(this);var v=e.apply(t,s);return v.__actions__.push({func:va,args:[f],thisArg:o}),new Wn(v,h)}return p&&g?e.apply(this,s):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Hn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Xa(i)?i:[],e)}return this[n]((function(n){return t.apply(Xa(n)?n:[],e)}))}})),wr(qn.prototype,(function(e,t){var n=Hn[t];if(n){var r=n.name+"";je.call(In,r)||(In[r]=[]),In[r].push({name:t,func:n})}})),In[Hi(o,2).name]=[{name:"wrapper",func:o}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Mi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mi(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Xa(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xn(t,e+a);break;case"takeRight":e=_n(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,h=0,d=xn(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return vi(e,this.__actions__);var p=[];e:for(;l--&&h<d;){for(var g=-1,v=e[u+=t];++g<f;){var y=c[g],m=y.iteratee,b=y.type,_=m(v);if(2==b)v=_;else if(!_){if(1==b)continue e;break e}}p[h++]=v}return p},Hn.prototype.at=ya,Hn.prototype.chain=function(){return ga(this)},Hn.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},Hn.prototype.next=function(){this.__values__===o&&(this.__values__=gs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Hn.prototype.plant=function(e){for(var t,n=this;n instanceof Gn;){var r=Ho(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Hn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:va,args:[ra],thisArg:o}),new Wn(t,this.__chain__)}return this.thru(ra)},Hn.prototype.toJSON=Hn.prototype.valueOf=Hn.prototype.value=function(){return vi(this.__wrapped__,this.__actions__)},Hn.prototype.first=Hn.prototype.head,Je&&(Hn.prototype[Je]=function(){return this}),Hn}();pt._=mn,(i=function(){return mn}.call(t,n,t,r))===o||(r.exports=i)}).call(this)}).call(this,n(68),n(221)(e))},function(e,t,n){var r=n(7),i=n(34),o=n(33),a=n(87),s=n(62),l=n(174),u=n(28),c=r.TypeError,f=u("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,r=s(e,f);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},function(e,t,n){var r=n(108);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(36),i=n(18),o=n(91);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(35),i=n(135),o=n(50),a=n(38);e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},function(e,t,n){var r=n(46),i=n(15),o=n(74),a=n(112),s=n(32),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},function(e,t,n){var r=n(15),i=n(35),o=n(41),a=n(137).indexOf,s=n(72),l=r([].push);e.exports=function(e,t){var n,r=o(e),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);for(;t.length>u;)i(r,n=t[u++])&&(~a(c,n)||l(c,n));return c}},function(e,t,n){var r=n(41),i=n(75),o=n(45),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(46);e.exports=r("document","documentElement")},function(e,t,n){var r=n(51),i=n(41),o=n(74).f,a=n(114),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},function(e,t,n){var r=n(28);t.f=r},function(e,t,n){var r=n(177),i=n(35),o=n(140),a=n(38).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){"use strict";var r,i,o,a=n(18),s=n(30),l=n(60),u=n(101),c=n(42),f=n(28),h=n(71),d=f("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(r=i):p=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:h&&(r=l(r)),s(r[d])||c(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(18);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(16),i=n(15),o=n(72),a=n(33),s=n(35),l=n(38).f,u=n(74),c=n(139),f=n(183),h=n(90),d=n(185),p=!1,g=h("meta"),v=0,y=function(e){l(e,g,{value:{objectID:"O"+v++,weakData:{}}})},m=e.exports={enable:function(){m.enable=function(){},p=!0;var e=u.f,t=i([].splice),n={};n[g]=1,e(n).length&&(u.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===g){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!f(e))return"F";if(!t)return"E";y(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!f(e))return!0;if(!t)return!1;y(e)}return e[g].weakData},onFreeze:function(e){return d&&p&&f(e)&&!s(e,g)&&y(e),e}};o[g]=!0},function(e,t,n){var r=n(28),i=n(80),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(7),i=n(34),o=n(56),a=n(32),s=n(88),l=n(118),u=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(o(n))return a(i(n,e));throw u(s(e)+" is not iterable")}},function(e,t,n){var r=n(34),i=n(32),o=n(62);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},function(e,t,n){var r=n(30),i=n(33),o=n(102);e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},function(e,t,n){var r=n(42);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(46),i=n(38),o=n(28),a=n(36),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(15),i=n(59),o=n(39),a=n(44),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(e){return function(t,n){var r,c,f=o(a(t)),h=i(n),d=f.length;return h<0||h>=d?e?"":void 0:(r=l(f,h))<55296||r>56319||h+1===d||(c=l(f,h+1))<56320||c>57343?e?s(f,h):r:e?u(f,h,h+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(91)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},function(e,t,n){"use strict";var r=n(32);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(18),i=n(7).RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},function(e,t,n){"use strict";var r=n(16),i=n(79).find,o=n(100),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},function(e,t,n){"use strict";var r=n(16),i=n(137).includes,o=n(100);r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){"use strict";var r=n(16),i=n(15),o=n(197),a=n(44),s=n(39),l=n(198),u=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~u(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(33),i=n(51),o=n(28)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(15);e.exports=r(1..valueOf)},function(e,t,n){var r=n(15),i=n(44),o=n(39),a=n(162),s=r("".replace),l="["+a+"]",u=RegExp("^"+l+l+"*"),c=RegExp(l+l+"*$"),f=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,u,"")),2&e&&(n=s(n,c,"")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,f=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):f=-1,u.length&&d())}function d(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){var r=n(32),i=n(165),o=n(28)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r=n(7),i=n(99),o=n(88),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},function(e,t,n){"use strict";var r=n(16),i=n(161).trim;r({target:"String",proto:!0,forced:n(200)("trim")},{trim:function(){return i(this)}})},function(e,t,n){"use strict";var r=n(34),i=n(123),o=n(32),a=n(94),s=n(39),l=n(44),u=n(62),c=n(124),f=n(125);i("match",(function(e,t,n){return[function(t){var n=l(this),i=null==t?void 0:u(t,e);return i?r(i,t,n):new RegExp(t)[e](s(n))},function(e){var r=o(this),i=s(e),l=n(t,r,i);if(l.done)return l.value;if(!r.global)return f(r,i);var u=r.unicode;r.lastIndex=0;for(var h,d=[],p=0;null!==(h=f(r,i));){var g=s(h[0]);d[p]=g,""===g&&(r.lastIndex=c(i,a(r.lastIndex),u)),p++}return 0===p?null:d}]}))},function(e,t,n){var r,i,o,a,s=n(7),l=n(76),u=n(64),c=n(30),f=n(35),h=n(18),d=n(138),p=n(98),g=n(91),v=n(169),y=n(128),m=s.setImmediate,b=s.clearImmediate,_=s.process,x=s.Dispatch,w=s.Function,S=s.MessageChannel,k=s.String,E=0,O={},C="onreadystatechange";try{r=s.location}catch(e){}var A=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},T=function(e){return function(){A(e)}},P=function(e){A(e.data)},M=function(e){s.postMessage(k(e),r.protocol+"//"+r.host)};m&&b||(m=function(e){var t=p(arguments,1);return O[++E]=function(){l(c(e)?e:w(e),void 0,t)},i(E),E},b=function(e){delete O[e]},y?i=function(e){_.nextTick(T(e))}:x&&x.now?i=function(e){x.now(T(e))}:S&&!v?(a=(o=new S).port2,o.port1.onmessage=P,i=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!h(M)?(i=M,s.addEventListener("message",P,!1)):i=C in g("script")?function(e){d.appendChild(g("script")).onreadystatechange=function(){d.removeChild(this),A(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:m,clear:b}},function(e,t,n){var r=n(55);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(56),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b}));var r=n(1);function i(e){throw new Error("[mobx-utils] "+e)}function o(e,t){void 0===t&&(t="Illegal state"),e||i(t)}var a=function(e){return e&&e!==Object.prototype&&Object.getOwnPropertyNames(e).concat(a(Object.getPrototypeOf(e))||[])},s=function(e){return function(e){var t=a(e);return t.filter((function(e,n){return t.indexOf(e)===n}))}(e).filter((function(e){return"constructor"!==e&&!~e.indexOf("__")}))},l="pending",u="fulfilled",c="rejected";function f(e){switch(this.state){case l:return e.pending&&e.pending(this.value);case c:return e.rejected&&e.rejected(this.value);case u:return e.fulfilled?e.fulfilled(this.value):this.value}}function h(e,t){if(o(arguments.length<=2,"fromPromise expects up to two arguments"),o("function"==typeof e||"object"==typeof e&&e&&"function"==typeof e.then,"Please pass a promise or function to fromPromise"),!0===e.isPromiseBasedObservable)return e;"function"==typeof e&&(e=new Promise(e));var n=e;e.then(Object(r.k)("observableFromPromise-resolve",(function(e){n.value=e,n.state=u})),Object(r.k)("observableFromPromise-reject",(function(e){n.value=e,n.state=c}))),n.isPromiseBasedObservable=!0,n.case=f;var i=t&&t.state===u?t.value:void 0;return Object(r.q)(n,{value:i,state:l},{},{deep:!1}),n}!function(e){e.reject=Object(r.k)("fromPromise.reject",(function(t){var n=e(Promise.reject(t));return n.state=c,n.value=t,n})),e.resolve=Object(r.k)("fromPromise.resolve",(function(t){void 0===t&&(t=void 0);var n=e(Promise.resolve(t));return n.state=u,n.value=t,n}))}(h||(h={}));var d=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};!function(){function e(e,t){var n=this;Object(r.G)((function(){n.current=t,n.subscription=e.subscribe(n)}))}e.prototype.dispose=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.next=function(e){this.current=e},e.prototype.complete=function(){this.dispose()},e.prototype.error=function(e){this.current=e,this.dispose()},d([r.C.ref],e.prototype,"current",void 0),d([r.k.bound],e.prototype,"next",null),d([r.k.bound],e.prototype,"complete",null),d([r.k.bound],e.prototype,"error",null)}();var p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},p.apply(this,arguments)},g=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},v=["model","reset","submit","isDirty","isPropertyDirty","resetProperty"];function y(e){if(!e)return"ROOT";for(var t=[];e.parent;)t.push(e.path),e=e.parent;return t.reverse().join("/")}function m(e){return Object(r.A)(e)||Object(r.y)(e)||Object(r.z)(e)}function b(e,t){var n=new WeakMap;function i(r){var i=n.get(r.object);!function(e,t){switch(e.type){case"add":o(e.newValue,t,e.name);break;case"update":a(e.oldValue),o(e.newValue,t,e.name||""+e.index);break;case"remove":case"delete":a(e.oldValue);break;case"splice":e.removed.map(a),e.added.forEach((function(n,r){return o(n,t,""+(e.index+r))}));for(var r=e.index+e.addedCount;r<e.object.length;r++)if(m(e.object[r])){var i=n.get(e.object[r]);i&&(i.path=""+r)}}}(r,i),t(r,y(i),e)}function o(e,t,a){if(m(e)){var s=n.get(e);if(s){if(s.parent!==t||s.path!==a)throw new Error("The same observable object cannot appear twice in the same tree, trying to assign it to '"+y(t)+"/"+a+"', but it already exists at '"+y(s.parent)+"/"+s.path+"'")}else{var l={parent:t,path:a,dispose:Object(r.D)(e,i)};n.set(e,l),Object(r.p)(e).forEach((function(e){var t=e[0];return o(e[1],l,t)}))}}}function a(e){if(m(e)){var t=n.get(e);if(!t)return;n.delete(e),t.dispose(),Object(r.L)(e).forEach(a)}}return o(e,void 0,""),function(){a(e)}}!function(){function e(e){var t=this;this.model=e,this.localValues=r.C.map({}),this.localComputedValues=r.C.map({}),this.isPropertyDirty=function(e){return t.localValues.has(e)},o(Object(r.A)(e),"createViewModel expects an observable object"),s(e).forEach((function(n){if(n!==r.a&&"__mobxDidRunLazyInitializers"!==n){if(o(-1===v.indexOf(n),"The propertyname "+n+" is reserved and cannot be used with viewModels"),Object(r.w)(e,n)){var i=Object(r.h)(e,n).derivation;t.localComputedValues.set(n,Object(r.m)(i.bind(t)))}var a=Object.getOwnPropertyDescriptor(e,n),s=a?{enumerable:a.enumerable}:{};Object.defineProperty(t,n,p(p({},s),{configurable:!0,get:function(){return Object(r.w)(e,n)?t.localComputedValues.get(n).get():t.isPropertyDirty(n)?t.localValues.get(n):t.model[n]},set:Object(r.k)((function(e){e!==t.model[n]?t.localValues.set(n,e):t.localValues.delete(n)}))}))}}))}Object.defineProperty(e.prototype,"isDirty",{get:function(){return this.localValues.size>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"changedValues",{get:function(){return this.localValues.toJS()},enumerable:!1,configurable:!0}),e.prototype.submit=function(){var e=this;Object(r.B)(this.localValues).forEach((function(t){var n=e.localValues.get(t),i=e.model[t];Object(r.y)(i)?i.replace(n):Object(r.z)(i)?(i.clear(),i.merge(n)):Object(r.v)(n)||(e.model[t]=n)})),this.localValues.clear()},e.prototype.reset=function(){this.localValues.clear()},e.prototype.resetProperty=function(e){this.localValues.delete(e)},g([r.m],e.prototype,"isDirty",null),g([r.m],e.prototype,"changedValues",null),g([r.k.bound],e.prototype,"submit",null),g([r.k.bound],e.prototype,"reset",null),g([r.k.bound],e.prototype,"resetProperty",null)}();var _,x=(_=function(e,t){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},_(e,t)},function(e,t){function n(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),w=(function(e){function t(t,n,i){var o=void 0===i?{}:i,a=o.name,s=void 0===a?"ogm"+(1e3*Math.random()|0):a,l=o.keyToName,u=void 0===l?function(e){return""+e}:l,c=e.call(this)||this;c._keyToName=u,c._groupBy=n,c._ogmInfoKey=Symbol("ogmInfo"+s),c._base=t;for(var f=0;f<t.length;f++)c._addItem(t[f]);return c._disposeBaseObserver=Object(r.D)(c._base,(function(e){if("splice"===e.type)Object(r.J)((function(){for(var t=0,n=e.removed;t<n.length;t++){var r=n[t];c._removeItem(r)}for(var i=0,o=e.added;i<o.length;i++){var a=o[i];c._addItem(a)}}));else{if("update"!==e.type)throw new Error("illegal state");Object(r.J)((function(){c._removeItem(e.oldValue),c._addItem(e.newValue)}))}})),c}x(t,e),t.prototype.clear=function(){throw new Error("not supported")},t.prototype.delete=function(e){throw new Error("not supported")},t.prototype.set=function(e,t){throw new Error("not supported")},t.prototype.dispose=function(){this._disposeBaseObserver();for(var e=0;e<this._base.length;e++){var t=this._base[e];t[this._ogmInfoKey].reaction(),delete t[this._ogmInfoKey]}},t.prototype._getGroupArr=function(t){var n=e.prototype.get.call(this,t);return void 0===n&&(n=Object(r.C)([],{name:"GroupArray["+this._keyToName(t)+"]",deep:!1}),e.prototype.set.call(this,t,n)),n},t.prototype._removeFromGroupArr=function(t,n){var r=e.prototype.get.call(this,t);1===r.length?e.prototype.delete.call(this,t):(n===r.length-1||(r[n]=r[r.length-1],r[n][this._ogmInfoKey].groupArrIndex=n),r.length--)},t.prototype._addItem=function(e){var t=this,n=this._groupBy(e),i=this._getGroupArr(n),o={groupByValue:n,groupArrIndex:i.length,reaction:Object(r.F)((function(){return t._groupBy(e)}),(function(n,r){var i=e[t._ogmInfoKey];t._removeFromGroupArr(i.groupByValue,i.groupArrIndex);var o=t._getGroupArr(n),a=o.length;o.push(e),i.groupByValue=n,i.groupArrIndex=a}))};Object.defineProperty(e,this._ogmInfoKey,{configurable:!0,enumerable:!1,value:o}),i.push(e)},t.prototype._removeItem=function(e){var t=e[this._ogmInfoKey];this._removeFromGroupArr(t.groupByValue,t.groupArrIndex),t.reaction(),delete e[this._ogmInfoKey]}}(r.b),function(){function e(e,t){this.base=e,this.args=t,this.closestIdx=0,this.isDisposed=!1;for(var n=this.closest=this.root=e,r=0;r<this.args.length-1&&(n=n.get(t[r]));r++)this.closest=n;this.closestIdx=r}return e.prototype.exists=function(){this.assertNotDisposed();var e=this.args.length;return this.closestIdx>=e-1&&this.closest.has(this.args[e-1])},e.prototype.get=function(){if(this.assertNotDisposed(),!this.exists())throw new Error("Entry doesn't exist");return this.closest.get(this.args[this.args.length-1])},e.prototype.set=function(e){this.assertNotDisposed();for(var t=this.args.length,n=this.closest,r=this.closestIdx;r<t-1;r++){var i=new Map;n.set(this.args[r],i),n=i}this.closestIdx=t-1,this.closest=n,n.set(this.args[t-1],e)},e.prototype.delete=function(){if(this.assertNotDisposed(),!this.exists())throw new Error("Entry doesn't exist");var e=this.args.length;this.closest.delete(this.args[e-1]);for(var t=this.root,n=[t],r=0;r<e-1;r++)t=t.get(this.args[r]),n.push(t);for(r=n.length-1;r>0;r--)0===n[r].size&&n[r-1].delete(this.args[r-1]);this.isDisposed=!0},e.prototype.assertNotDisposed=function(){if(this.isDisposed)throw new Error("Concurrent modification exception")},e}());!function(){function e(){this.store=new Map,this.argsLength=-1}e.prototype.entry=function(e){if(-1===this.argsLength)this.argsLength=e.length;else if(this.argsLength!==e.length)throw new Error("DeepMap should be used with functions with a consistent length, expected: "+this.argsLength+", got: "+e.length);return this.last&&(this.last.isDisposed=!0),this.last=new w(this.store,e)}}(),new Set,new Set;Promise.resolve();"undefined"!=typeof queueMicrotask?queueMicrotask:void 0!==e&&e.nextTick}).call(this,n(163))},function(e,t,n){var r;!function(i,o,a){if(i){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)l[111+h]="f"+h;for(h=0;h<=9;++h)l[h+96]=h.toString();b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(m(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);s=null},b.init=function(){var e=b(o);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),i.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function d(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:u[e.which]?u[e.which]:String.fromCharCode(e.which).toLowerCase()}function g(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!s)for(var e in s={},l)e>95&&e<112||l.hasOwnProperty(e)&&(s[l[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function y(e,t){var n,r,i,o=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),i=0;i<n.length;++i)r=n[i],f[r]&&(r=f[r]),t&&"keypress"!=t&&c[r]&&(r=c[r],o.push("shift")),g(r)&&o.push(r);return{key:r,modifiers:o,action:t=v(r,o,t)}}function m(e,t){return null!==e&&e!==o&&(e===t||m(e.parentNode,t))}function b(e){var t=this;if(e=e||o,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},i=!1,a=!1,s=!1;function l(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function u(e,n,i,o,a,s){var l,u,c,f,h=[],d=i.type;if(!t._callbacks[e])return[];for("keyup"==d&&g(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(u=t._callbacks[e][l],(o||!u.seq||r[u.seq]==u.level)&&d==u.action&&("keypress"==d&&!i.metaKey&&!i.ctrlKey||(c=n,f=u.modifiers,c.sort().join(",")===f.sort().join(",")))){var p=!o&&u.combo==a,v=o&&u.seq==o&&u.level==s;(p||v)&&t._callbacks[e].splice(l,1),h.push(u)}return h}function c(e,n,r,i){t.stopCallback(n,n.target||n.srcElement,r,i)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function f(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=p(e);n&&("keyup"!=e.type||i!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):i=!1)}function h(e,t,o,a){function u(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(l,1e3)}}function f(t){c(o,t,e),"keyup"!==a&&(i=p(t)),setTimeout(l,10)}r[e]=0;for(var h=0;h<t.length;++h){var d=h+1===t.length?f:u(a||y(t[h+1]).action);v(t[h],d,a,e,h)}}function v(e,n,r,i,o){t._directMap[e+":"+r]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?h(e,s,n,r):(a=y(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],u(a.key,a.modifiers,{type:a.action},i,e,o),t._callbacks[a.key][i?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:i,level:o,combo:e}))}t._handleKey=function(e,t,n){var r,i=u(e,t,n),o={},f=0,h=!1;for(r=0;r<i.length;++r)i[r].seq&&(f=Math.max(f,i[r].level));for(r=0;r<i.length;++r)if(i[r].seq){if(i[r].level!=f)continue;h=!0,o[i[r].seq]=1,c(i[r].callback,n,i[r].combo,i[r].seq)}else h||c(i[r].callback,n,i[r].combo);var d="keypress"==n.type&&a;n.type!=s||g(e)||d||l(o),a=h&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)v(e[r],t,n)},d(e,"keypress",f),d(e,"keydown",f),d(e,"keyup",f)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){var r=n(7),i=n(34),o=n(30),a=n(33),s=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!a(r=i(n,e)))return r;if(o(n=e.valueOf)&&!a(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!a(r=i(n,e)))return r;throw s("Can't convert object to primitive value")}},function(e,t,n){var r=n(7),i=n(30),o=n(92),a=r.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},function(e,t,n){var r=n(36),i=n(38),o=n(32),a=n(41),s=n(77);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),l=s(t),u=l.length,c=0;u>c;)i.f(e,n=l[c++],r[n]);return e}},function(e,t,n){var r=n(7);e.exports=r},function(e,t,n){var r=n(7),i=n(96),o=n(99),a=n(33),s=n(28)("species"),l=r.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===l||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?l:t}},function(e,t,n){"use strict";var r=n(113),i=n(97);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){"use strict";var r=n(142).IteratorPrototype,i=n(60),o=n(69),a=n(78),s=n(80),l=function(){return this};e.exports=function(e,t,n,u){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!u,n)}),a(e,c,!1,!0),s[c]=l,e}},function(e,t,n){var r=n(7),i=n(30),o=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},function(e,t,n){"use strict";var r=n(16),i=n(7),o=n(15),a=n(95),s=n(42),l=n(144),u=n(117),c=n(119),f=n(30),h=n(33),d=n(18),p=n(120),g=n(78),v=n(148);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),b=y?"set":"add",_=i[e],x=_&&_.prototype,w=_,S={},k=function(e){var t=o(x[e]);s(x,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return m&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!f(_)||!(m||x.forEach&&!d((function(){(new _).entries().next()})))))w=n.getConstructor(t,e,y,b),l.enable();else if(a(e,!0)){var E=new w,O=E[b](m?{}:-0,1)!=E,C=d((function(){E.has(1)})),A=p((function(e){new _(e)})),T=!m&&d((function(){for(var e=new _,t=5;t--;)e[b](t,t);return!e.has(-0)}));A||((w=t((function(e,t){c(e,x);var n=v(new _,e,w);return null!=t&&u(t,n[b],{that:n,AS_ENTRIES:y}),n}))).prototype=x,x.constructor=w),(C||T)&&(k("delete"),k("has"),y&&k("get")),(T||O)&&k(b),m&&x.clear&&delete x.clear}return S[e]=w,r({global:!0,forced:w!=_},S),g(w,e),m||n.setStrong(w,e,y),w}},function(e,t,n){var r=n(18),i=n(33),o=n(51),a=n(184),s=Object.isExtensible,l=r((function(){s(1)}));e.exports=l||a?function(e){return!!i(e)&&(!a||"ArrayBuffer"!=o(e))&&(!s||s(e))}:s},function(e,t,n){var r=n(18);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){var r=n(18);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var r=n(38).f,i=n(60),o=n(149),a=n(64),s=n(119),l=n(117),u=n(116),c=n(150),f=n(36),h=n(144).fastKey,d=n(58),p=d.set,g=d.getterFor;e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,r){s(e,d),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&l(r,e[u],{that:e,AS_ENTRIES:n})})),d=c.prototype,v=g(t),y=function(e,t,n){var r,i,o=v(e),a=m(e,t);return a?a.value=n:(o.last=a={index:i=h(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},m=function(e,t){var n,r=v(e),i=h(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(d,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=m(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!m(this,e)}}),o(d,n?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);u(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){"use strict";var r=n(79).forEach,i=n(121)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";var r=n(7),i=n(64),o=n(34),a=n(40),s=n(189),l=n(145),u=n(99),c=n(45),f=n(63),h=n(146),d=n(118),p=r.Array;e.exports=function(e){var t=a(e),n=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=i(g,r>2?arguments[2]:void 0));var y,m,b,_,x,w,S=d(t),k=0;if(!S||this==p&&l(S))for(y=c(t),m=n?new this(y):p(y);y>k;k++)w=v?g(t[k],k):t[k],f(m,k,w);else for(x=(_=h(t,S)).next,m=n?new this:[];!(b=o(x,_)).done;k++)w=v?s(_,g,[b.value,k],!0):b.value,f(m,k,w);return m.length=k,m}},function(e,t,n){var r=n(32),i=n(147);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},function(e,t,n){var r=n(18),i=n(7).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,t,n){var r=n(18),i=n(7).RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,n){"use strict";var r=n(16),i=n(15),o=n(56),a=n(40),s=n(45),l=n(39),u=n(18),c=n(193),f=n(121),h=n(194),d=n(195),p=n(70),g=n(196),v=[],y=i(v.sort),m=i(v.push),b=u((function(){v.sort(void 0)})),_=u((function(){v.sort(null)})),x=f("sort"),w=!u((function(){if(p)return p<70;if(!(h&&h>3)){if(d)return!0;if(g)return g<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:b||!_||!x||!w},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(w)return void 0===e?y(t):y(t,e);var n,r,i=[],u=s(t);for(r=0;r<u;r++)r in t&&m(i,t[r]);for(c(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:l(t)>l(n)?1:-1}}(e)),n=i.length,r=0;r<n;)t[r]=i[r++];for(;r<u;)delete t[r++];return t}})},function(e,t,n){var r=n(114),i=Math.floor,o=function(e,t){var n=e.length,l=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,l),t),o(r(e,l),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};e.exports=o},function(e,t,n){var r=n(55).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},function(e,t,n){var r=n(55);e.exports=/MSIE|Trident/.test(r)},function(e,t,n){var r=n(55).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},function(e,t,n){var r=n(7),i=n(159),o=r.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(28)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){n(16)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(73).PROPER,i=n(18),o=n(162);e.exports=function(e){return i((function(){return!!o[e]()||"…"!=="…"[e]()||r&&o[e].name!==e}))}},function(e,t,n){var r=n(15),i=n(40),o=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,h){var d=n+e.length,p=r.length,g=c;return void 0!==f&&(f=i(f),g=u),s(h,g,(function(i,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,d);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var h=o(c/10);return 0===h?i:h<=p?void 0===r[h-1]?a(s,1):r[h-1]+a(s,1):i}u=r[c-1]}return void 0===u?"":u}))}},function(e,t,n){"use strict";var r=n(36),i=n(15),o=n(34),a=n(18),s=n(77),l=n(112),u=n(84),c=n(40),f=n(85),h=Object.assign,d=Object.defineProperty,p=i([].concat);e.exports=!h||a((function(){if(r&&1!==h({b:1},h(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=h({},e)[n]||s(h({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,h=l.f,d=u.f;i>a;)for(var g,v=f(arguments[a++]),y=h?p(s(v),h(v)):s(v),m=y.length,b=0;m>b;)g=y[b++],r&&!o(d,v,g)||(n[g]=v[g]);return n}:h},function(e,t,n){"use strict";var r=n(7),i=n(15),o=n(56),a=n(33),s=n(35),l=n(98),u=r.Function,c=i([].concat),f=i([].join),h={},d=function(e,t,n){if(!s(h,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";h[t]=u("C,a","return new C("+f(r,",")+")")}return h[t](e,n)};e.exports=u.bind||function(e){var t=o(this),n=t.prototype,r=l(arguments,1),i=function(){var n=c(r,l(arguments));return this instanceof i?d(t,n.length,n):t.apply(e,n)};return a(n)&&(i.prototype=n),i}},function(e,t,n){var r=n(35);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},function(e,t,n){var r=n(15),i=n(44),o=n(39),a=/"/g,s=r("".replace);e.exports=function(e,t,n,r){var l=o(i(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+s(o(r),a,"&quot;")+'"'),u+">"+l+"</"+t+">"}},function(e,t,n){var r=n(18);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){n(16)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";var r,i,o,a,s=n(16),l=n(71),u=n(7),c=n(46),f=n(34),h=n(209),d=n(42),p=n(149),g=n(102),v=n(78),y=n(150),m=n(56),b=n(30),_=n(33),x=n(119),w=n(92),S=n(117),k=n(120),E=n(164),O=n(168).set,C=n(210),A=n(213),T=n(214),P=n(170),M=n(215),D=n(58),I=n(95),L=n(28),R=n(216),j=n(128),N=n(70),B=L("species"),F="Promise",z=D.getterFor(F),U=D.set,H=D.getterFor(F),V=h&&h.prototype,G=h,W=V,q=u.TypeError,X=u.document,Y=u.process,K=P.f,$=K,Z=!!(X&&X.createEvent&&u.dispatchEvent),J=b(u.PromiseRejectionEvent),Q="unhandledrejection",ee=!1,te=I(F,(function(){var e=w(G),t=e!==String(G);if(!t&&66===N)return!0;if(l&&!W.finally)return!0;if(N>=51&&/native code/.test(e))return!1;var n=new G((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[B]=r,!(ee=n.then((function(){}))instanceof r)||!t&&R&&!J})),ne=te||!k((function(e){G.all(e).catch((function(){}))})),re=function(e){var t;return!(!_(e)||!b(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;C((function(){for(var r=e.value,i=1==e.state,o=0;n.length>o;){var a,s,l,u=n[o++],c=i?u.ok:u.fail,h=u.resolve,d=u.reject,p=u.domain;try{c?(i||(2===e.rejection&&le(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),l=!0)),a===u.promise?d(q("Promise-chain cycle")):(s=re(a))?f(s,a,h,d):h(a)):d(r)}catch(e){p&&!l&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,n){var r,i;Z?((r=X.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!J&&(i=u["on"+e])?i(r):e===Q&&T("Unhandled promise rejection",n)},ae=function(e){f(O,u,(function(){var t,n=e.facade,r=e.value;if(se(e)&&(t=M((function(){j?Y.emit("unhandledRejection",r,n):oe(Q,n,r)})),e.rejection=j||se(e)?2:1,t.error))throw t.value}))},se=function(e){return 1!==e.rejection&&!e.parent},le=function(e){f(O,u,(function(){var t=e.facade;j?Y.emit("rejectionHandled",t):oe("rejectionhandled",t,e.value)}))},ue=function(e,t,n){return function(r){e(t,r,n)}},ce=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ie(e,!0))},fe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw q("Promise can't be resolved itself");var r=re(t);r?C((function(){var n={done:!1};try{f(r,t,ue(fe,n,e),ue(ce,n,e))}catch(t){ce(n,t,e)}})):(e.value=t,e.state=1,ie(e,!1))}catch(t){ce({done:!1},t,e)}}};if(te&&(W=(G=function(e){x(this,W),m(e),f(r,this);var t=z(this);try{e(ue(fe,t),ue(ce,t))}catch(e){ce(t,e)}}).prototype,(r=function(e){U(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(W,{then:function(e,t){var n=H(this),r=n.reactions,i=K(E(this,G));return i.ok=!b(e)||e,i.fail=b(t)&&t,i.domain=j?Y.domain:void 0,n.parent=!0,r[r.length]=i,0!=n.state&&ie(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=z(e);this.promise=e,this.resolve=ue(fe,t),this.reject=ue(ce,t)},P.f=K=function(e){return e===G||e===o?new i(e):$(e)},!l&&b(h)&&V!==Object.prototype)){a=V.then,ee||(d(V,"then",(function(e,t){var n=this;return new G((function(e,t){f(a,n,e,t)})).then(e,t)}),{unsafe:!0}),d(V,"catch",W.catch,{unsafe:!0}));try{delete V.constructor}catch(e){}g&&g(V,W)}s({global:!0,wrap:!0,forced:te},{Promise:G}),v(G,F,!1,!0),y(F),o=c(F),s({target:F,stat:!0,forced:te},{reject:function(e){var t=K(this);return f(t.reject,void 0,e),t.promise}}),s({target:F,stat:!0,forced:l||te},{resolve:function(e){return A(l&&this===o?G:this,e)}}),s({target:F,stat:!0,forced:ne},{all:function(e){var t=this,n=K(t),r=n.resolve,i=n.reject,o=M((function(){var n=m(t.resolve),o=[],a=0,s=1;S(e,(function(e){var l=a++,u=!1;s++,f(n,t,e).then((function(e){u||(u=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,i=M((function(){var i=m(t.resolve);S(e,(function(e){f(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(7);e.exports=r.Promise},function(e,t,n){var r,i,o,a,s,l,u,c,f=n(7),h=n(64),d=n(50).f,p=n(168).set,g=n(169),v=n(211),y=n(212),m=n(128),b=f.MutationObserver||f.WebKitMutationObserver,_=f.document,x=f.process,w=f.Promise,S=d(f,"queueMicrotask"),k=S&&S.value;k||(r=function(){var e,t;for(m&&(e=x.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},g||m||y||!b||!_?!v&&w&&w.resolve?((u=w.resolve(void 0)).constructor=w,c=h(u.then,u),a=function(){c(r)}):m?a=function(){x.nextTick(r)}:(p=h(p,f),a=function(){p(r)}):(s=!0,l=_.createTextNode(""),new b(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=k||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(55),i=n(7);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},function(e,t,n){var r=n(55);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(32),i=n(33),o=n(170);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(7);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t){e.exports="object"==typeof window},function(e,t,n){"use strict";var r=n(40),i=n(75),o=n(45);e.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(16),i=n(7),o=n(15),a=n(59),s=n(160),l=n(219),u=n(18),c=i.RangeError,f=i.String,h=Math.floor,d=o(l),p=o("".slice),g=o(1..toFixed),v=function(e,t,n){return 0===t?n:t%2==1?v(e,t-1,n*e):v(e*e,t/2,n)},y=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=h(i/1e7)},m=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=h(r/t),r=r%t*1e7},b=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=f(e[t]);n=""===n?r:n+d("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==g(8e-5,3)||"1"!==g(.9,0)||"1.25"!==g(1.255,2)||"1000000000000000128"!==g(0xde0b6b3a7640080,0)}))||!u((function(){g({})}))},{toFixed:function(e){var t,n,r,i,o=s(this),l=a(e),u=[0,0,0,0,0,0],h="",g="0";if(l<0||l>20)throw c("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return f(o);if(o<0&&(h="-",o=-o),o>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*v(2,69,1))-69)<0?o*v(2,-t,1):o/v(2,t,1),n*=4503599627370496,(t=52-t)>0){for(y(u,0,n),r=l;r>=7;)y(u,1e7,0),r-=7;for(y(u,v(10,r,1),0),r=t-1;r>=23;)m(u,1<<23),r-=23;m(u,1<<r),y(u,1,1),m(u,2),g=b(u)}else y(u,0,n),y(u,1<<-t,0),g=b(u)+d("0",l);return l>0?h+((i=g.length)<=l?"0."+d("0",l-i)+g:p(g,0,i-l)+"."+p(g,i-l)):h+g}})},function(e,t,n){"use strict";var r=n(7),i=n(59),o=n(39),a=n(44),s=r.RangeError;e.exports=function(e){var t=o(a(this)),n="",r=i(e);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},function(e,t,n){var r=n(36),i=n(15),o=n(77),a=n(41),s=i(n(84).f),l=i([].push),u=function(e){return function(t){for(var n,i=a(t),u=o(i),c=u.length,f=0,h=[];c>f;)n=u[f++],r&&!s(i,n)||l(h,e?[n,i[n]]:i[n]);return h}};e.exports={entries:u(!0),values:u(!1)}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t),n.d(t,"observer",(function(){return Mx})),n.d(t,"LogicFlow",(function(){return Px})),n.d(t,"h",(function(){return ee.g})),n.d(t,"LogicFlowUtil",(function(){return r})),n.d(t,"BaseNode",(function(){return py})),n.d(t,"RectNode",(function(){return Sy})),n.d(t,"CircleNode",(function(){return Dy})),n.d(t,"PolygonNode",(function(){return Wy})),n.d(t,"DiamondNode",(function(){return em})),n.d(t,"EllipseNode",(function(){return dm})),n.d(t,"TextNode",(function(){return km})),n.d(t,"HtmlNode",(function(){return Rm})),n.d(t,"BaseEdge",(function(){return wb})),n.d(t,"LineEdge",(function(){return Rb})),n.d(t,"PolylineEdge",(function(){return Qb})),n.d(t,"BezierEdge",(function(){return c_})),n.d(t,"Arrow",(function(){return __})),n.d(t,"BaseEdgeModel",(function(){return ys})),n.d(t,"BezierEdgeModel",(function(){return Ed})),n.d(t,"LineEdgeModel",(function(){return Ls})),n.d(t,"PolylineEdgeModel",(function(){return Js})),n.d(t,"BaseNodeModel",(function(){return Fd})),n.d(t,"CircleNodeModel",(function(){return ip})),n.d(t,"DiamondNodeModel",(function(){return Ep})),n.d(t,"EllipseNodeModel",(function(){return Vp})),n.d(t,"PolygonNodeModel",(function(){return ug})),n.d(t,"RectNodeModel",(function(){return Eg})),n.d(t,"TextNodeModel",(function(){return zg})),n.d(t,"HtmlNodeModel",(function(){return ev})),n.d(t,"EditConfigModel",(function(){return Ci})),n.d(t,"GraphModel",(function(){return Sc})),n.d(t,"SnaplineModel",(function(){return av})),n.d(t,"Keyboard",(function(){return yx})),n.d(t,"get",(function(){return Rh})),n.d(t,"defaults",(function(){return Bh})),n.d(t,"ElementState",(function(){return ci})),n.d(t,"ModelType",(function(){return hi})),n.d(t,"ElementType",(function(){return di})),n.d(t,"EventType",(function(){return pi})),n.d(t,"formateAnchorConnectValidateData",(function(){return as}));var r={};n.r(r),n.d(r,"createUuid",(function(){return ya})),n.d(r,"refreshGraphId",(function(){return ma})),n.d(r,"StepDrag",(function(){return lu})),n.d(r,"setupEdgeModel",(function(){return dl})),n.d(r,"isBboxOverLapping",(function(){return pl})),n.d(r,"filterRepeatPoints",(function(){return gl})),n.d(r,"getSimplePolyline",(function(){return vl})),n.d(r,"getExpandedBBox",(function(){return yl})),n.d(r,"pointDirection",(function(){return ml})),n.d(r,"getExpandedBBoxPoint",(function(){return bl})),n.d(r,"mergeBBox",(function(){return _l})),n.d(r,"getBBoxOfPoints",(function(){return xl})),n.d(r,"getPointsFromBBox",(function(){return wl})),n.d(r,"isPointOutsideBBox",(function(){return Sl})),n.d(r,"getBBoxXCrossPoints",(function(){return kl})),n.d(r,"getBBoxYCrossPoints",(function(){return El})),n.d(r,"getBBoxCrossPointsByPoint",(function(){return Ol})),n.d(r,"estimateDistance",(function(){return Cl})),n.d(r,"costByPoints",(function(){return Al})),n.d(r,"heuristicCostEstimate",(function(){return Tl})),n.d(r,"rebuildPath",(function(){return Pl})),n.d(r,"removeClosePointFromOpenList",(function(){return Ml})),n.d(r,"isSegmentsIntersected",(function(){return Dl})),n.d(r,"isSegmentCrossingBBox",(function(){return Il})),n.d(r,"getNextNeighborPoints",(function(){return Ll})),n.d(r,"pathFinder",(function(){return Rl})),n.d(r,"getBoxByOriginNode",(function(){return jl})),n.d(r,"pointFilter",(function(){return Nl})),n.d(r,"getPolylinePoints",(function(){return Bl})),n.d(r,"getLongestEdge",(function(){return Fl})),n.d(r,"isSegmentsInNode",(function(){return zl})),n.d(r,"isSegmentsCrossNode",(function(){return Ul})),n.d(r,"getCrossPointInRect",(function(){return Hl})),n.d(r,"segmentDirection",(function(){return Vl})),n.d(r,"points2PointsList",(function(){return Gl})),n.d(r,"getSimplePoints",(function(){return Wl})),n.d(r,"getBytesLength",(function(){return Xl})),n.d(r,"getTextWidth",(function(){return Kl})),n.d(r,"getAppendAttributes",(function(){return $l})),n.d(r,"getBezierControlPoints",(function(){return Zl})),n.d(r,"getBezierPoints",(function(){return Jl})),n.d(r,"getEndTangent",(function(){return eu})),n.d(r,"getClosestPointOfPolyline",(function(){return tu})),n.d(r,"pickEdgeConfig",(function(){return nu})),n.d(r,"twoPointDistance",(function(){return ru})),n.d(r,"createEdgeGenerator",(function(){return iu})),n.d(r,"snapToGrid",(function(){return zo})),n.d(r,"getGridOffset",(function(){return Uo})),n.d(r,"sampleCubic",(function(){return tl})),n.d(r,"getThetaOfVector",(function(){return rl})),n.d(r,"degrees",(function(){return il})),n.d(r,"Vector",(function(){return Eu})),n.d(r,"Point",(function(){return Ou})),n.d(r,"Matrix",(function(){return ic})),n.d(r,"RotateMatrix",(function(){return oc})),n.d(r,"ScaleMatrix",(function(){return ac})),n.d(r,"TranslateMatrix",(function(){return sc}));var i=n(1),o=n(10);if(!o.j)throw new Error("mobx-react-lite requires React with Hooks support");if(!i.H)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var a=n(43),s=Object(a.b)("observerBatching");function l(e){e()}var u=!1;function c(){return u}function f(e){return Object(i.t)(e)}var h,d=1e4,p=new Set;function g(){void 0===h&&(h=setTimeout(v,1e4))}function v(){h=void 0;var e=Date.now();p.forEach((function(t){var n=t.current;n&&e>=n.cleanAt&&(n.reaction.dispose(),t.current=null,p.delete(t))})),p.size>0&&g()}var y=!1,m=[],b={};function _(e){return"observer"+e}function x(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=b),c())return e();var r,s=function(e){return function(){y?m.push(e):e()}}((n.useForceUpdate||a.d)()),l=o.d.useRef(null);if(!l.current){var u=new i.c(_(t),(function(){h.mounted?s():(u.dispose(),l.current=null)})),h=function(e){return{cleanAt:Date.now()+d,reaction:e}}(u);l.current=h,r=l,p.add(r),g()}var v=l.current.reaction;return o.d.useDebugValue(v,f),o.d.useEffect((function(){var e;return e=l,p.delete(e),l.current?l.current.mounted=!0:(l.current={reaction:new i.c(_(t),(function(){s()})),cleanAt:1/0},s()),function(){l.current.reaction.dispose(),l.current=null}}),[]),function(e){y=!0,m=[];try{var t=e();y=!1;var n=m.length>0?m:void 0;return o.d.useLayoutEffect((function(){n&&n.forEach((function(e){return e()}))}),[n]),t}finally{y=!1}}((function(){var t,n;if(v.track((function(){try{t=e()}catch(e){n=e}})),n)throw n;return t}))}var w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},w.apply(this,arguments)};function S(e,t){if(c())return e;var n,r,i,a=w({forwardRef:!1},t),s=e.displayName||e.name,l=function(t,n){return x((function(){return e(t,n)}),s)};return l.displayName=s,n=a.forwardRef?Object(o.f)(Object(o.e)(l)):Object(o.f)(l),r=e,i=n,Object.keys(r).forEach((function(e){E[e]||Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})),n.displayName=s,n}var k,E={$$typeof:!0,render:!0,compare:!0,type:!0};function O(e){var t=e.children,n=e.render,r=t||n;return"function"!=typeof r?null:x(r)}function C(e,t,n,r,i){var o="children"===t?"render":"children",a="function"==typeof e[t],s="function"==typeof e[o];return a&&s?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||s?null:new Error("Invalid prop `"+i+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}O.propTypes={children:C,render:C},O.displayName="Observer",(k=o.g)||(k=l),Object(i.n)({reactionScheduler:k}),Object(a.a)()[s]=!0;var A=0,T={};function P(e){return T[e]||(T[e]=function(e){if("function"==typeof Symbol)return Symbol(e);var t="__$mobx-react "+e+" ("+A+")";return A++,t}(e)),T[e]}function M(e,t){if(D(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.hasOwnProperty.call(t,n[i])||!D(e[n[i]],t[n[i]]))return!1;return!0}function D(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function I(e,t,n){Object.hasOwnProperty.call(e,t)?e[t]=n:Object.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})}var L=P("patchMixins"),R=P("patchedDefinition");function j(e,t){for(var n=this,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];t.locks++;try{var a;return null!=e&&(a=e.apply(this,i)),a}finally{t.locks--,0===t.locks&&t.methods.forEach((function(e){e.apply(n,i)}))}}function N(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];j.call.apply(j,[this,e,t].concat(r))}}function B(e,t,n){var r=function(e,t){var n=e[L]=e[L]||{},r=n[t]=n[t]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(e,t);r.methods.indexOf(n)<0&&r.methods.push(n);var i=Object.getOwnPropertyDescriptor(e,t);if(!i||!i[R]){var o=e[t],a=F(e,t,i?i.enumerable:void 0,r,o);Object.defineProperty(e,t,a)}}function F(e,t,n,r,i){var o,a=N(i,r);return(o={})[R]=!0,o.get=function(){return a},o.set=function(i){if(this===e)a=N(i,r);else{var o=F(this,t,n,r,i);Object.defineProperty(this,t,o)}},o.configurable=!0,o.enumerable=n,o}var z=i.a||"$mobx",U=P("isMobXReactObserver"),H=P("isUnmounted"),V=P("skipRender"),G=P("isForcingUpdate");function W(e){var t=e.prototype;if(e[U]?q(t):e[U]=!0,t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==o.b)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==Y)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=Y;K(t,"props"),K(t,"state");var n=t.render;return t.render=function(){return X.call(this,n)},B(t,"componentWillUnmount",(function(){var e;!0===c()||(null===(e=this.render[z])||void 0===e||e.dispose(),this[H]=!0,this.render[z])||q(this)})),e}function q(e){return e.displayName||e.name||e.constructor&&(e.constructor.displayName||e.constructor.name)||"<component>"}function X(e){var t=this;if(!0===c())return e.call(this);I(this,V,!1),I(this,G,!1);var n=q(this),r=e.bind(this),a=!1,s=new i.c(n+".render()",(function(){if(!a&&(a=!0,!0!==t[H])){var e=!0;try{I(t,G,!0),t[V]||o.a.prototype.forceUpdate.call(t),e=!1}finally{I(t,G,!1),e&&s.dispose()}}}));function l(){a=!1;var e=void 0,t=void 0;if(s.track((function(){try{t=Object(i.d)(!1,r)}catch(t){e=t}})),e)throw e;return t}return s.reactComponent=this,l[z]=s,this.render=l,l.call(this)}function Y(e,t){return c(),this.state!==t||!M(this.props,e)}function K(e,t){var n=P("reactProp_"+t+"_valueHolder"),r=P("reactProp_"+t+"_atomHolder");function o(){return this[r]||I(this,r,Object(i.o)("reactive "+t)),this[r]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var e=!1;return i.f&&i.e&&(e=Object(i.f)(!0)),o.call(this).reportObserved(),i.f&&i.e&&Object(i.e)(e),this[n]},set:function(e){this[G]||M(this[n],e)?I(this,n,e):(I(this,n,e),I(this,V,!0),o.call(this).reportChanged(),I(this,V,!1))}})}var $="function"==typeof Symbol&&Symbol.for,Z=$?Symbol.for("react.forward_ref"):"function"==typeof o.e&&Object(o.e)((function(e){return null})).$$typeof,J=$?Symbol.for("react.memo"):"function"==typeof o.f&&Object(o.f)((function(e){return null})).$$typeof;function Q(e){if(e.isMobxInjector,J&&e.$$typeof===J)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(Z&&e.$$typeof===Z){var t=e.render;if("function"!=typeof t)throw new Error("render property of ForwardRef was not a function");return Object(o.e)((function(){var e=arguments;return Object(o.c)(O,null,(function(){return t.apply(void 0,e)}))}))}return"function"!=typeof e||e.prototype&&e.prototype.render||e.isReactClass||Object.prototype.isPrototypeOf.call(o.a,e)?W(e):S(e)}if(!o.a)throw new Error("mobx-react requires React to be available");if(!i.C)throw new Error("mobx-react requires mobx to be available");var ee=n(0);n(4),n(8),n(2),n(3),n(52),n(6),n(5),n(11),n(37),n(27),n(21),n(20),n(24),n(22),n(25),n(9),n(17),n(23),n(19),n(192),n(156),n(104),n(157),n(158),n(199),n(61);var te=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},ne=function(){this.__data__=[],this.size=0},re=function(e,t){return e===t||e!=e&&t!=t},ie=function(e,t){for(var n=e.length;n--;)if(re(e[n][0],t))return n;return-1},oe=Array.prototype.splice,ae=function(e){var t=this.__data__,n=ie(t,e);return!(n<0)&&(n==t.length-1?t.pop():oe.call(t,n,1),--this.size,!0)},se=function(e){var t=this.__data__,n=ie(t,e);return n<0?void 0:t[n][1]},le=function(e){return ie(this.__data__,e)>-1},ue=function(e,t){var n=this.__data__,r=ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function ce(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ce.prototype.clear=ne,ce.prototype.delete=ae,ce.prototype.get=se,ce.prototype.has=le,ce.prototype.set=ue;var fe,he=ce,de=function(){this.__data__=new he,this.size=0},pe=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ge=function(e){return this.__data__.get(e)},ve=function(e){return this.__data__.has(e)},ye=n(31),me=ye.a.Symbol,be=Object.prototype,_e=be.hasOwnProperty,xe=be.toString,we=me?me.toStringTag:void 0,Se=function(e){var t=_e.call(e,we),n=e[we];try{e[we]=void 0;var r=!0}catch(e){}var i=xe.call(e);return r&&(t?e[we]=n:delete e[we]),i},ke=Object.prototype.toString,Ee=function(e){return ke.call(e)},Oe=me?me.toStringTag:void 0,Ce=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Oe&&Oe in Object(e)?Se(e):Ee(e)},Ae=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Te=function(e){if(!Ae(e))return!1;var t=Ce(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Pe=ye.a["__core-js_shared__"],Me=(fe=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||""))?"Symbol(src)_1."+fe:"",De=function(e){return!!Me&&Me in e},Ie=Function.prototype.toString,Le=function(e){if(null!=e){try{return Ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Re=/^\[object .+?Constructor\]$/,je=Function.prototype,Ne=Object.prototype,Be=je.toString,Fe=Ne.hasOwnProperty,ze=RegExp("^"+Be.call(Fe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=function(e){return!(!Ae(e)||De(e))&&(Te(e)?ze:Re).test(Le(e))},He=function(e,t){return null==e?void 0:e[t]},Ve=function(e,t){var n=He(e,t);return Ue(n)?n:void 0},Ge=Ve(ye.a,"Map"),We=Ve(Object,"create"),qe=function(){this.__data__=We?We(null):{},this.size=0},Xe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ye=Object.prototype.hasOwnProperty,Ke=function(e){var t=this.__data__;if(We){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ye.call(t,e)?t[e]:void 0},$e=Object.prototype.hasOwnProperty,Ze=function(e){var t=this.__data__;return We?void 0!==t[e]:$e.call(t,e)},Je=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=We&&void 0===t?"__lodash_hash_undefined__":t,this};function Qe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qe.prototype.clear=qe,Qe.prototype.delete=Xe,Qe.prototype.get=Ke,Qe.prototype.has=Ze,Qe.prototype.set=Je;var et=Qe,tt=function(){this.size=0,this.__data__={hash:new et,map:new(Ge||he),string:new et}},nt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rt=function(e,t){var n=e.__data__;return nt(t)?n["string"==typeof t?"string":"hash"]:n.map},it=function(e){var t=rt(this,e).delete(e);return this.size-=t?1:0,t},ot=function(e){return rt(this,e).get(e)},at=function(e){return rt(this,e).has(e)},st=function(e,t){var n=rt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function lt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}lt.prototype.clear=tt,lt.prototype.delete=it,lt.prototype.get=ot,lt.prototype.has=at,lt.prototype.set=st;var ut=lt,ct=function(e,t){var n=this.__data__;if(n instanceof he){var r=n.__data__;if(!Ge||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ut(r)}return n.set(e,t),this.size=n.size,this};function ft(e){var t=this.__data__=new he(e);this.size=t.size}ft.prototype.clear=de,ft.prototype.delete=pe,ft.prototype.get=ge,ft.prototype.has=ve,ft.prototype.set=ct;var ht=ft,dt=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},pt=function(e){return this.__data__.has(e)};function gt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ut;++t<n;)this.add(e[t])}gt.prototype.add=gt.prototype.push=dt,gt.prototype.has=pt;var vt=gt,yt=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},mt=function(e,t){return e.has(t)},bt=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,d=2&n?new vt:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var p=e[f],g=t[f];if(r)var v=a?r(g,p,f,t,e,o):r(p,g,f,e,t,o);if(void 0!==v){if(v)continue;h=!1;break}if(d){if(!yt(t,(function(e,t){if(!mt(d,t)&&(p===e||i(p,e,n,r,o)))return d.push(t)}))){h=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h},_t=ye.a.Uint8Array,xt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},wt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},St=me?me.prototype:void 0,kt=St?St.valueOf:void 0,Et=function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new _t(e),new _t(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return re(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=xt;case"[object Set]":var l=1&r;if(s||(s=wt),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=bt(s(e),s(t),r,i,o,a);return a.delete(e),c;case"[object Symbol]":if(kt)return kt.call(e)==kt.call(t)}return!1},Ot=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Ct=Array.isArray,At=function(e,t,n){var r=t(e);return Ct(e)?r:Ot(r,n(e))},Tt=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},Pt=function(){return[]},Mt=Object.prototype.propertyIsEnumerable,Dt=Object.getOwnPropertySymbols,It=Dt?function(e){return null==e?[]:(e=Object(e),Tt(Dt(e),(function(t){return Mt.call(e,t)})))}:Pt,Lt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Rt=function(e){return null!=e&&"object"==typeof e},jt=function(e){return Rt(e)&&"[object Arguments]"==Ce(e)},Nt=Object.prototype,Bt=Nt.hasOwnProperty,Ft=Nt.propertyIsEnumerable,zt=jt(function(){return arguments}())?jt:function(e){return Rt(e)&&Bt.call(e,"callee")&&!Ft.call(e,"callee")},Ut=zt,Ht=n(48),Vt=/^(?:0|[1-9]\d*)$/,Gt=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Vt.test(e))&&e>-1&&e%1==0&&e<t},Wt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},qt={};qt["[object Float32Array]"]=qt["[object Float64Array]"]=qt["[object Int8Array]"]=qt["[object Int16Array]"]=qt["[object Int32Array]"]=qt["[object Uint8Array]"]=qt["[object Uint8ClampedArray]"]=qt["[object Uint16Array]"]=qt["[object Uint32Array]"]=!0,qt["[object Arguments]"]=qt["[object Array]"]=qt["[object ArrayBuffer]"]=qt["[object Boolean]"]=qt["[object DataView]"]=qt["[object Date]"]=qt["[object Error]"]=qt["[object Function]"]=qt["[object Map]"]=qt["[object Number]"]=qt["[object Object]"]=qt["[object RegExp]"]=qt["[object Set]"]=qt["[object String]"]=qt["[object WeakMap]"]=!1;var Xt=function(e){return Rt(e)&&Wt(e.length)&&!!qt[Ce(e)]},Yt=function(e){return function(t){return e(t)}},Kt=n(49),$t=Kt.a&&Kt.a.isTypedArray,Zt=$t?Yt($t):Xt,Jt=Object.prototype.hasOwnProperty,Qt=function(e,t){var n=Ct(e),r=!n&&Ut(e),i=!n&&!r&&Object(Ht.a)(e),o=!n&&!r&&!i&&Zt(e),a=n||r||i||o,s=a?Lt(e.length,String):[],l=s.length;for(var u in e)!t&&!Jt.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Gt(u,l))||s.push(u);return s},en=Object.prototype,tn=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||en)},nn=function(e,t){return function(n){return e(t(n))}},rn=nn(Object.keys,Object),on=Object.prototype.hasOwnProperty,an=function(e){if(!tn(e))return rn(e);var t=[];for(var n in Object(e))on.call(e,n)&&"constructor"!=n&&t.push(n);return t},sn=function(e){return null!=e&&Wt(e.length)&&!Te(e)},ln=function(e){return sn(e)?Qt(e):an(e)},un=function(e){return At(e,ln,It)},cn=Object.prototype.hasOwnProperty,fn=function(e,t,n,r,i,o){var a=1&n,s=un(e),l=s.length;if(l!=un(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:cn.call(t,c)))return!1}var f=o.get(e),h=o.get(t);if(f&&h)return f==t&&h==e;var d=!0;o.set(e,t),o.set(t,e);for(var p=a;++u<l;){var g=e[c=s[u]],v=t[c];if(r)var y=a?r(v,g,c,t,e,o):r(g,v,c,e,t,o);if(!(void 0===y?g===v||i(g,v,n,r,o):y)){d=!1;break}p||(p="constructor"==c)}if(d&&!p){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(d=!1)}return o.delete(e),o.delete(t),d},hn=Ve(ye.a,"DataView"),dn=Ve(ye.a,"Promise"),pn=Ve(ye.a,"Set"),gn=Ve(ye.a,"WeakMap"),vn="[object Map]",yn="[object Promise]",mn="[object Set]",bn="[object WeakMap]",_n="[object DataView]",xn=Le(hn),wn=Le(Ge),Sn=Le(dn),kn=Le(pn),En=Le(gn),On=Ce;(hn&&On(new hn(new ArrayBuffer(1)))!=_n||Ge&&On(new Ge)!=vn||dn&&On(dn.resolve())!=yn||pn&&On(new pn)!=mn||gn&&On(new gn)!=bn)&&(On=function(e){var t=Ce(e),n="[object Object]"==t?e.constructor:void 0,r=n?Le(n):"";if(r)switch(r){case xn:return _n;case wn:return vn;case Sn:return yn;case kn:return mn;case En:return bn}return t});var Cn=On,An="[object Arguments]",Tn="[object Array]",Pn="[object Object]",Mn=Object.prototype.hasOwnProperty,Dn=function(e,t,n,r,i,o){var a=Ct(e),s=Ct(t),l=a?Tn:Cn(e),u=s?Tn:Cn(t),c=(l=l==An?Pn:l)==Pn,f=(u=u==An?Pn:u)==Pn,h=l==u;if(h&&Object(Ht.a)(e)){if(!Object(Ht.a)(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new ht),a||Zt(e)?bt(e,t,n,r,i,o):Et(e,t,l,n,r,i,o);if(!(1&n)){var d=c&&Mn.call(e,"__wrapped__"),p=f&&Mn.call(t,"__wrapped__");if(d||p){var g=d?e.value():e,v=p?t.value():t;return o||(o=new ht),i(g,v,n,r,o)}}return!!h&&(o||(o=new ht),fn(e,t,n,r,i,o))},In=function e(t,n,r,i,o){return t===n||(null==t||null==n||!Rt(t)&&!Rt(n)?t!=t&&n!=n:Dn(t,n,r,i,e,o))},Ln=function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var f=new ht;if(r)var h=r(u,c,l,e,t,f);if(!(void 0===h?In(c,u,3,r,f):h))return!1}}return!0},Rn=function(e){return e==e&&!Ae(e)},jn=function(e){for(var t=ln(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Rn(i)]}return t},Nn=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},Bn=function(e){var t=jn(e);return 1==t.length&&t[0][2]?Nn(t[0][0],t[0][1]):function(n){return n===e||Ln(n,e,t)}},Fn=function(e){return"symbol"==typeof e||Rt(e)&&"[object Symbol]"==Ce(e)},zn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Un=/^\w*$/,Hn=function(e,t){if(Ct(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fn(e))||Un.test(e)||!zn.test(e)||null!=t&&e in Object(t)};function Vn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Vn.Cache||ut),n}Vn.Cache=ut;var Gn=Vn,Wn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qn=/\\(\\)?/g,Xn=function(e){var t=Gn(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Wn,(function(e,n,r,i){t.push(r?i.replace(qn,"$1"):n||e)})),t})),Yn=me?me.prototype:void 0,Kn=Yn?Yn.toString:void 0,$n=function e(t){if("string"==typeof t)return t;if(Ct(t))return te(t,e)+"";if(Fn(t))return Kn?Kn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Zn=function(e){return null==e?"":$n(e)},Jn=function(e,t){return Ct(e)?e:Hn(e,t)?[e]:Xn(Zn(e))},Qn=function(e){if("string"==typeof e||Fn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},er=function(e,t){for(var n=0,r=(t=Jn(t,e)).length;null!=e&&n<r;)e=e[Qn(t[n++])];return n&&n==r?e:void 0},tr=function(e,t,n){var r=null==e?void 0:er(e,t);return void 0===r?n:r},nr=function(e,t){return null!=e&&t in Object(e)},rr=function(e,t,n){for(var r=-1,i=(t=Jn(t,e)).length,o=!1;++r<i;){var a=Qn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Wt(i)&&Gt(a,i)&&(Ct(e)||Ut(e))},ir=function(e,t){return null!=e&&rr(e,t,nr)},or=function(e,t){return Hn(e)&&Rn(t)?Nn(Qn(e),t):function(n){var r=tr(n,e);return void 0===r&&r===t?ir(n,e):In(t,r,3)}},ar=function(e){return e},sr=function(e){return function(t){return null==t?void 0:t[e]}},lr=function(e){return function(t){return er(t,e)}},ur=function(e){return Hn(e)?sr(Qn(e)):lr(e)},cr=function(e){return"function"==typeof e?e:null==e?ar:"object"==typeof e?Ct(e)?or(e[0],e[1]):Bn(e):ur(e)},fr=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}(),hr=function(e,t){return function(n,r){if(null==n)return n;if(!sn(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}((function(e,t){return e&&fr(e,t,ln)})),dr=function(e,t){var n=-1,r=sn(e)?Array(e.length):[];return hr(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},pr=function(e,t){return(Ct(e)?te:dr)(e,cr(t,3))};Object(i.n)({isolateGlobalState:!0});var gr,vr,yr,mr,br,_r,xr,wr,Sr,kr,Er,Or,Cr,Ar,Tr,Pr,Mr,Dr,Ir,Lr=function(){try{var e=Ve(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Rr=function(e,t,n){"__proto__"==t&&Lr?Lr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},jr=Object.prototype.hasOwnProperty,Nr=function(e,t,n){var r=e[t];jr.call(e,t)&&re(r,n)&&(void 0!==n||t in e)||Rr(e,t,n)},Br=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Rr(n,s,l):Nr(n,s,l)}return n},Fr=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},zr=Math.max,Ur=function(e,t,n){return t=zr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=zr(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),Fr(e,this,s)}},Hr=function(e){return function(){return e}},Vr=Lr?function(e,t){return Lr(e,"toString",{configurable:!0,enumerable:!1,value:Hr(t),writable:!0})}:ar,Gr=Date.now,Wr=function(e){var t=0,n=0;return function(){var r=Gr(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},qr=Wr(Vr),Xr=function(e,t){return qr(Ur(e,t,ar),e+"")},Yr=function(e,t,n){if(!Ae(n))return!1;var r=typeof t;return!!("number"==r?sn(n)&&Gt(t,n.length):"string"==r&&t in n)&&re(n[t],e)},Kr=function(e){return Xr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&Yr(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))},$r=Object.prototype.hasOwnProperty,Zr=Kr((function(e,t){if(tn(t)||sn(t))Br(t,ln(t),e);else for(var n in t)$r.call(t,n)&&Nr(e,n,t[n])})),Jr=function(e,t,n,r){if(!Ae(e))return e;for(var i=-1,o=(t=Jn(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Qn(t[i]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var c=s[l];void 0===(u=r?r(c,l,s):void 0)&&(u=Ae(c)?c:Gt(t[i+1])?[]:{})}Nr(s,l,u),s=s[l]}return e},Qr=function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=er(e,a);n(s,a)&&Jr(o,Jn(a,e),s)}return o},ei=function(e,t){return Qr(e,t,(function(t,n){return ir(e,n)}))},ti=me?me.isConcatSpreadable:void 0,ni=function(e){return Ct(e)||Ut(e)||!!(ti&&e&&e[ti])},ri=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=ni),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):Ot(o,l):i||(o[o.length]=l)}return o},ii=function(e){return null!=e&&e.length?ri(e,1):[]},oi=function(e){return qr(Ur(e,void 0,ii),e+"")}((function(e,t){return null==e?{}:ei(e,t)}));function ai(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function si(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var ci,fi,hi,di,pi,gi,vi,yi,mi,bi,_i,xi,wi,Si,ki,Ei={stopZoomGraph:!1,stopScrollGraph:!1,stopMoveGraph:!1,adjustEdge:!1,adjustEdgeStartAndEnd:!1,adjustNodePosition:!1,hideAnchors:!0,allowRotation:!1,nodeSelectedOutline:!0,nodeTextEdit:!1,edgeTextEdit:!1,nodeTextDraggable:!1,edgeTextDraggable:!1},Oi=["isSilentMode","stopZoomGraph","stopScrollGraph","stopMoveGraph","adjustEdge","adjustEdgeMiddle","adjustEdgeStartAndEnd","adjustNodePosition","hideAnchors","allowRotation","hoverOutline","nodeSelectedOutline","edgeSelectedOutline","nodeTextEdit","edgeTextEdit","nodeTextDraggable","edgeTextDraggable","multipleSelectKey","autoExpand"],Ci=(vr=ui((gr=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ai(this,"isSilentMode",vr,this),ai(this,"stopZoomGraph",yr,this),ai(this,"stopScrollGraph",mr,this),ai(this,"stopMoveGraph",br,this),ai(this,"adjustEdge",_r,this),ai(this,"adjustEdgeMiddle",xr,this),ai(this,"adjustEdgeStartAndEnd",wr,this),ai(this,"adjustNodePosition",Sr,this),ai(this,"hideAnchors",kr,this),ai(this,"allowRotation",Er,this),ai(this,"hoverOutline",Or,this),ai(this,"nodeSelectedOutline",Cr,this),ai(this,"edgeSelectedOutline",Ar,this),ai(this,"nodeTextEdit",Tr,this),ai(this,"edgeTextEdit",Pr,this),ai(this,"nodeTextDraggable",Mr,this),ai(this,"edgeTextDraggable",Dr,this),ai(this,"autoExpand",Ir,this),li(this,"multipleSelectKey",""),li(this,"defaultConfig",{}),Zr(this,this.getConfigDetail(t))}var t,n,r;return t=e,(n=[{key:"updateEditConfig",value:function(e){var t=this.getConfigDetail(e);Zr(this,t)}},{key:"getConfigDetail",value:function(e){var t=e.isSilentMode,n=e.textEdit,r={};if(!1===t&&Zr(r,this.defaultConfig),!0===t&&t!==this.isSilentMode){var i=oi(Ei,Oi);this.defaultConfig={stopZoomGraph:this.stopZoomGraph,stopScrollGraph:this.stopScrollGraph,stopMoveGraph:this.stopMoveGraph,adjustEdge:this.adjustEdge,adjustEdgeMiddle:this.adjustEdgeMiddle,adjustEdgeStartAndEnd:this.adjustEdgeStartAndEnd,adjustNodePosition:this.adjustNodePosition,hideAnchors:this.hideAnchors,allowRotation:this.allowRotation,hoverOutline:this.hoverOutline,nodeSelectedOutline:this.nodeSelectedOutline,edgeSelectedOutline:this.edgeSelectedOutline,nodeTextEdit:this.nodeTextEdit,edgeTextEdit:this.edgeTextEdit,nodeTextDraggable:this.nodeTextDraggable,edgeTextDraggable:this.edgeTextDraggable,autoExpand:this.autoExpand},Zr(r,i)}!1===n&&Zr(r,{nodeTextEdit:!1,edgeTextEdit:!1});var o=oi(e,Oi);return Zr(r,o)}},{key:"getConfig",value:function(){return oi(this,Oi)}}])&&si(t.prototype,n),r&&si(t,r),e}()).prototype,"isSilentMode",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),yr=ui(gr.prototype,"stopZoomGraph",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),mr=ui(gr.prototype,"stopScrollGraph",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),br=ui(gr.prototype,"stopMoveGraph",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_r=ui(gr.prototype,"adjustEdge",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),xr=ui(gr.prototype,"adjustEdgeMiddle",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),wr=ui(gr.prototype,"adjustEdgeStartAndEnd",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Sr=ui(gr.prototype,"adjustNodePosition",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),kr=ui(gr.prototype,"hideAnchors",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Er=ui(gr.prototype,"allowRotation",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Or=ui(gr.prototype,"hoverOutline",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Cr=ui(gr.prototype,"nodeSelectedOutline",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Ar=ui(gr.prototype,"edgeSelectedOutline",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Tr=ui(gr.prototype,"nodeTextEdit",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Pr=ui(gr.prototype,"edgeTextEdit",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Mr=ui(gr.prototype,"nodeTextDraggable",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Dr=ui(gr.prototype,"edgeTextDraggable",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ir=ui(gr.prototype,"autoExpand",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ui(gr.prototype,"updateEditConfig",[i.k],Object.getOwnPropertyDescriptor(gr.prototype,"updateEditConfig"),gr.prototype),gr);function Ai(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ti(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ti(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pi(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function Mi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}n(65),n(66),function(e){e[e.DEFAULT=1]="DEFAULT",e[e.TEXT_EDIT=2]="TEXT_EDIT",e[e.SHOW_MENU=3]="SHOW_MENU",e[e.ALLOW_CONNECT=4]="ALLOW_CONNECT",e[e.NOT_ALLOW_CONNECT=5]="NOT_ALLOW_CONNECT"}(ci||(ci={})),function(e){e.KEY="logic-flow",e.NODE_NAME="lf-node",e.EDGE_NAME="lf-edge"}(fi||(fi={})),function(e){e.NODE="node",e.CIRCLE_NODE="circle-node",e.POLYGON_NODE="polygon-node",e.RECT_NODE="rect-node",e.TEXT_NODE="text-node",e.ELLIPSE_NODE="ellipse-node",e.DIAMOND_NODE="diamond-node",e.HTML_NODE="html-node",e.EDGE="edge",e.LINE_EDGE="line-edge",e.POLYLINE_EDGE="polyline-edge",e.BEZIER_EDGE="bezier-edge",e.GRAPH="graph"}(hi||(hi={})),function(e){e.NODE="node",e.EDGE="edge",e.GRAPH="graph"}(di||(di={})),function(e){e.ELEMENT_CLICK="element:click",e.NODE_CLICK="node:click",e.NODE_DBCLICK="node:dbclick",e.NODE_DELETE="node:delete",e.NODE_ADD="node:add",e.NODE_GROUP_COPY="node:group-copy-add",e.NODE_DND_ADD="node:dnd-add",e.NODE_DND_DRAG="node:dnd-drag",e.NODE_MOUSEDOWN="node:mousedown",e.NODE_DRAGSTART="node:dragstart",e.NODE_DRAG="node:drag",e.NODE_DROP="node:drop",e.NODE_MOUSEUP="node:mouseup",e.NODE_MOUSEMOVE="node:mousemove",e.NODE_MOUSEENTER="node:mouseenter",e.NODE_MOUSELEAVE="node:mouseleave",e.NODE_CONTEXTMENU="node:contextmenu",e.NODE_ROTATE="node:rotate",e.EDGE_DELETE="edge:delete",e.EDGE_ADD="edge:add",e.EDGE_CLICK="edge:click",e.EDGE_DBCLICK="edge:dbclick",e.EDGE_MOUSEENTER="edge:mouseenter",e.EDGE_MOUSELEAVE="edge:mouseleave",e.EDGE_CONTEXTMENU="edge:contextmenu",e.EDGE_ADJUST="edge:adjust",e.EDGE_EXCHANGE_NODE="edge:exchange-node",e.ANCHOR_DRAGSTART="anchor:dragstart",e.ANCHOR_DRAG="anchor:drag",e.ANCHOR_DROP="anchor:drop",e.ANCHOR_DRAGEND="anchor:dragend",e.ADJUST_POINT_MOUSEDOWN="adjustPoint:mousedown",e.ADJUST_POINT_MOUSEUP="adjustPoint:mouseup",e.ADJUST_POINT_MOUSEMOVE="adjustPoint:mousemove",e.ADJUST_POINT_DRAGSTART="adjustPoint:dragstart",e.ADJUST_POINT_DRAG="adjustPoint:drag",e.ADJUST_POINT_DROP="adjustPoint:drop",e.ADJUST_POINT_DRAGEND="adjustPoint:dragend",e.BLANK_MOUSEDOWN="blank:mousedown",e.BLANK_DRAGSTART="blank:dragstart",e.BLANK_DRAG="blank:drag",e.BLANK_DROP="blank:drop",e.BLANK_MOUSEMOVE="blank:mousemove",e.BLANK_MOUSEUP="blank:mouseup",e.BLANK_CLICK="blank:click",e.BLANK_CONTEXTMENU="blank:contextmenu",e.SELECTION_MOUSEDOWN="selection:mousedown",e.SELECTION_DRAGSTART="selection:dragstart",e.SELECTION_DRAG="selection:drag",e.SELECTION_DROP="selection:drop",e.SELECTION_MOUSEMOVE="selection:mousemove",e.SELECTION_MOUSEUP="selection:mouseup",e.SELECTION_CONTEXTMENU="selection:contextmenu",e.CONNECTION_NOT_ALLOWED="connection:not-allowed",e.HISTORY_CHANGE="history:change",e.TEXT_UPDATE="text:update",e.GRAPH_TRANSFORM="graph:transform",e.GRAPH_RENDERED="graph:rendered"}(pi||(pi={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(gi||(gi={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.INCREASE=1]="INCREASE"}(vi||(vi={}));var Li={false:[-1/0,-1/0,1/0,1/0],true:[0,0,0,0],vertical:[-1/0,0,1/0,0],horizontal:[0,-1/0,0,1/0]},Ri=(yi=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Di(this,"MINI_SCALE_SIZE",.2),Di(this,"MAX_SCALE_SIZE",16),Pi(this,"SCALE_X",mi,this),Pi(this,"SKEW_Y",bi,this),Pi(this,"SKEW_X",_i,this),Pi(this,"SCALE_Y",xi,this),Pi(this,"TRANSLATE_X",wi,this),Pi(this,"TRANSLATE_Y",Si,this),Pi(this,"ZOOM_SIZE",ki,this),Di(this,"eventCenter",void 0),Di(this,"translateLimitMinX",void 0),Di(this,"translateLimitMinY",void 0),Di(this,"translateLimitMaxX",void 0),Di(this,"translateLimitMaxY",void 0),this.eventCenter=t;var r=n.stopMoveGraph,i=void 0!==r&&r;this.updateTranslateLimits(i)}var t,n,r;return t=e,n=[{key:"setZoomMiniSize",value:function(e){this.MINI_SCALE_SIZE=e}},{key:"setZoomMaxSize",value:function(e){this.MAX_SCALE_SIZE=e}},{key:"HtmlPointToCanvasPoint",value:function(e){var t=Ai(e,2),n=t[0],r=t[1];return[(n-this.TRANSLATE_X)/this.SCALE_X,(r-this.TRANSLATE_Y)/this.SCALE_Y]}},{key:"CanvasPointToHtmlPoint",value:function(e){var t=Ai(e,2),n=t[0],r=t[1];return[n*this.SCALE_X+this.TRANSLATE_X,r*this.SCALE_Y+this.TRANSLATE_Y]}},{key:"moveCanvasPointByHtml",value:function(e,t,n){var r=Ai(e,2),i=r[0],o=r[1];return[i+t/this.SCALE_X,o+n/this.SCALE_Y]}},{key:"fixDeltaXY",value:function(e,t){return[e/this.SCALE_X,t/this.SCALE_Y]}},{key:"getTransformStyle",value:function(){var e=[this.SCALE_X,this.SKEW_Y,this.SKEW_X,this.SCALE_Y,this.TRANSLATE_X,this.TRANSLATE_Y].join(",");return{transform:"matrix(".concat(e,")")}}},{key:"zoom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this.SCALE_X,r=this.SCALE_Y;return!0===e?(n+=this.ZOOM_SIZE,r+=this.ZOOM_SIZE):!1===e?(n-=this.ZOOM_SIZE,r-=this.ZOOM_SIZE):"number"==typeof e&&(n=e,r=e),n<this.MINI_SCALE_SIZE||n>this.MAX_SCALE_SIZE||(t&&(this.TRANSLATE_X-=(n-this.SCALE_X)*t[0],this.TRANSLATE_Y-=(r-this.SCALE_Y)*t[1]),this.SCALE_X=n,this.SCALE_Y=r,this.emitGraphTransform("zoom")),"".concat(100*this.SCALE_X,"%")}},{key:"emitGraphTransform",value:function(e){this.eventCenter.emit(pi.GRAPH_TRANSFORM,{type:e,transform:{SCALE_X:this.SCALE_X,SKEW_Y:this.SKEW_Y,SKEW_X:this.SKEW_X,SCALE_Y:this.SCALE_Y,TRANSLATE_X:this.TRANSLATE_X,TRANSLATE_Y:this.TRANSLATE_Y}})}},{key:"resetZoom",value:function(){this.SCALE_X=1,this.SCALE_Y=1,this.emitGraphTransform("resetZoom")}},{key:"translate",value:function(e,t){this.TRANSLATE_X+e<=this.translateLimitMaxX&&this.TRANSLATE_X+e>=this.translateLimitMinX&&(this.TRANSLATE_X+=e),this.TRANSLATE_Y+t<=this.translateLimitMaxY&&this.TRANSLATE_Y+t>=this.translateLimitMinY&&(this.TRANSLATE_Y+=t),this.emitGraphTransform("translate")}},{key:"focusOn",value:function(e,t,n,r){var i=Ai(this.CanvasPointToHtmlPoint([e,t]),2),o=n/2-i[0],a=r/2-i[1];this.TRANSLATE_X+=o,this.TRANSLATE_Y+=a,this.emitGraphTransform("focusOn")}},{key:"updateTranslateLimits",value:function(e){var t=Ai(Array.isArray(e)&&4===e.length?e:Li[e.toString()],4);this.translateLimitMinX=t[0],this.translateLimitMinY=t[1],this.translateLimitMaxX=t[2],this.translateLimitMaxY=t[3]}}],n&&Mi(t.prototype,n),r&&Mi(t,r),e}(),mi=Ii(yi.prototype,"SCALE_X",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),bi=Ii(yi.prototype,"SKEW_Y",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),_i=Ii(yi.prototype,"SKEW_X",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),xi=Ii(yi.prototype,"SCALE_Y",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),wi=Ii(yi.prototype,"TRANSLATE_X",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Si=Ii(yi.prototype,"TRANSLATE_Y",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ki=Ii(yi.prototype,"ZOOM_SIZE",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.04}}),Ii(yi.prototype,"zoom",[i.k],Object.getOwnPropertyDescriptor(yi.prototype,"zoom"),yi.prototype),Ii(yi.prototype,"resetZoom",[i.k],Object.getOwnPropertyDescriptor(yi.prototype,"resetZoom"),yi.prototype),Ii(yi.prototype,"translate",[i.k],Object.getOwnPropertyDescriptor(yi.prototype,"translate"),yi.prototype),Ii(yi.prototype,"focusOn",[i.k],Object.getOwnPropertyDescriptor(yi.prototype,"focusOn"),yi.prototype),yi),ji=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},Ni=function(e,t){return e&&Br(t,ln(t),e)},Bi=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Fi=Object.prototype.hasOwnProperty,zi=function(e){if(!Ae(e))return Bi(e);var t=tn(e),n=[];for(var r in e)("constructor"!=r||!t&&Fi.call(e,r))&&n.push(r);return n},Ui=function(e){return sn(e)?Qt(e,!0):zi(e)},Hi=function(e,t){return e&&Br(t,Ui(t),e)},Vi=n(107),Gi=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Wi=function(e,t){return Br(e,It(e),t)},qi=nn(Object.getPrototypeOf,Object),Xi=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Ot(t,It(e)),e=qi(e);return t}:Pt,Yi=function(e,t){return Br(e,Xi(e),t)},Ki=function(e){return At(e,Ui,Xi)},$i=Object.prototype.hasOwnProperty,Zi=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&$i.call(e,"index")&&(n.index=e.index,n.input=e.input),n},Ji=function(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t},Qi=function(e,t){var n=t?Ji(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},eo=/\w*$/,to=function(e){var t=new e.constructor(e.source,eo.exec(e));return t.lastIndex=e.lastIndex,t},no=me?me.prototype:void 0,ro=no?no.valueOf:void 0,io=function(e){return ro?Object(ro.call(e)):{}},oo=function(e,t){var n=t?Ji(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},ao=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Ji(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return Qi(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return oo(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return to(e);case"[object Symbol]":return io(e)}},so=Object.create,lo=function(){function e(){}return function(t){if(!Ae(t))return{};if(so)return so(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),uo=function(e){return"function"!=typeof e.constructor||tn(e)?{}:lo(qi(e))},co=function(e){return Rt(e)&&"[object Map]"==Cn(e)},fo=Kt.a&&Kt.a.isMap,ho=fo?Yt(fo):co,po=function(e){return Rt(e)&&"[object Set]"==Cn(e)},go=Kt.a&&Kt.a.isSet,vo=go?Yt(go):po,yo="[object Arguments]",mo="[object Function]",bo="[object Object]",_o={};_o[yo]=_o["[object Array]"]=_o["[object ArrayBuffer]"]=_o["[object DataView]"]=_o["[object Boolean]"]=_o["[object Date]"]=_o["[object Float32Array]"]=_o["[object Float64Array]"]=_o["[object Int8Array]"]=_o["[object Int16Array]"]=_o["[object Int32Array]"]=_o["[object Map]"]=_o["[object Number]"]=_o["[object Object]"]=_o["[object RegExp]"]=_o["[object Set]"]=_o["[object String]"]=_o["[object Symbol]"]=_o["[object Uint8Array]"]=_o["[object Uint8ClampedArray]"]=_o["[object Uint16Array]"]=_o["[object Uint32Array]"]=!0,_o["[object Error]"]=_o[mo]=_o["[object WeakMap]"]=!1;var xo=function e(t,n,r,i,o,a){var s,l=1&n,u=2&n,c=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!Ae(t))return t;var f=Ct(t);if(f){if(s=Zi(t),!l)return Gi(t,s)}else{var h=Cn(t),d=h==mo||"[object GeneratorFunction]"==h;if(Object(Ht.a)(t))return Object(Vi.a)(t,l);if(h==bo||h==yo||d&&!o){if(s=u||d?{}:uo(t),!l)return u?Yi(t,Hi(s,t)):Wi(t,Ni(s,t))}else{if(!_o[h])return o?t:{};s=ao(t,h,l)}}a||(a=new ht);var p=a.get(t);if(p)return p;a.set(t,s),vo(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):ho(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var g=f?void 0:(c?u?Ki:un:u?Ui:ln)(t);return ji(g||t,(function(i,o){g&&(i=t[o=i]),Nr(s,o,e(i,n,r,o,t,a))})),s},wo=function(e){return xo(e,5)},So=function(e,t,n){(void 0!==n&&!re(e[t],n)||void 0===n&&!(t in e))&&Rr(e,t,n)},ko=function(e){return Rt(e)&&sn(e)},Eo=Function.prototype,Oo=Object.prototype,Co=Eo.toString,Ao=Oo.hasOwnProperty,To=Co.call(Object),Po=function(e){if(!Rt(e)||"[object Object]"!=Ce(e))return!1;var t=qi(e);if(null===t)return!0;var n=Ao.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Co.call(n)==To},Mo=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Do=function(e){return Br(e,Ui(e))},Io=function(e,t,n,r,i,o,a){var s=Mo(e,n),l=Mo(t,n),u=a.get(l);if(u)So(e,n,u);else{var c=o?o(s,l,n+"",e,t,a):void 0,f=void 0===c;if(f){var h=Ct(l),d=!h&&Object(Ht.a)(l),p=!h&&!d&&Zt(l);c=l,h||d||p?Ct(s)?c=s:ko(s)?c=Gi(s):d?(f=!1,c=Object(Vi.a)(l,!0)):p?(f=!1,c=oo(l,!0)):c=[]:Po(l)||Ut(l)?(c=s,Ut(s)?c=Do(s):Ae(s)&&!Te(s)||(c=uo(l))):f=!1}f&&(a.set(l,c),i(c,l,r,o,a),a.delete(l)),So(e,n,c)}},Lo=function e(t,n,r,i,o){t!==n&&fr(n,(function(a,s){if(o||(o=new ht),Ae(a))Io(t,n,s,r,e,i,o);else{var l=i?i(Mo(t,s),a,s+"",t,n,o):void 0;void 0===l&&(l=a),So(t,s,l)}}),Ui)},Ro=Kr((function(e,t,n){Lo(e,t,n)})),jo={baseNode:{fill:"#FFFFFF",stroke:"#000000",strokeWidth:2},baseEdge:{stroke:"#000000",strokeWidth:2},rect:{},circle:{},diamond:{},ellipse:{},polygon:{},text:{color:"#000000",stroke:"none",fontSize:12,background:{fill:"transparent"}},anchor:{stroke:"#000000",fill:"#FFFFFF",r:4,hover:{fill:"#949494",fillOpacity:.5,stroke:"#949494",r:10}},nodeText:{color:"#000000",overflowMode:"default",lineHeight:1.2,fontSize:12},edgeText:{textWidth:100,overflowMode:"default",fontSize:12,background:{fill:"#FFFFFF"}},line:{},polyline:{},bezier:{fill:"none",adjustLine:{stroke:"#949494"},adjustAnchor:{r:4,fill:"#949494",stroke:"#949494",fillOpacity:1}},arrow:{offset:10,verticalLength:5},anchorLine:{stroke:"#000000",strokeWidth:2,strokeDasharray:"3,2"},snapline:{stroke:"#949494",strokeWidth:1},edgeAdjust:{r:4,fill:"#FFFFFF",stroke:"#949494",strokeWidth:2},outline:{fill:"transparent",stroke:"#949494",strokeDasharray:"3,3",hover:{stroke:"#949494"}},edgeAnimation:{stroke:"red",strokeDasharray:"10 10",strokeDashoffset:"100%",animationName:"lf_animate_dash",animationDuration:"20s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"normal"},rotateControl:{stroke:"#000",fill:"#fff",strokeWidth:1.5}},No=function(e){var t=wo(jo);return e&&(t=Ro(t,e)),t};function Bo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(82),n(166);var Fo=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r={},(n="_events")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}var t,n,r;return t=e,(n=[{key:"on",value:function(e,t,n){var r=this;return null==e||e.split(",").forEach((function(e){e=e.trim(),r._events[e]||(r._events[e]=[]),r._events[e].push({callback:t,once:!!n})})),this}},{key:"once",value:function(e,t){var n=this;null==e||e.split(",").forEach((function(e){return e=e.trim(),n.on(e,t,!0)}))}},{key:"emit",value:function(e,t){var n=this;null==e||e.split(",").forEach((function(e){var r=n._events[e]||[],i=n._events["*"]||[],o=function(r){for(var i=r.length,o=0;o<i;o++)if(r[o]){var a=r[o],s=a.callback;a.once&&(r.splice(o,1),0===r.length&&delete n._events[e],i--,o--),s.apply(n,[t])}};o(r),o(i)}))}},{key:"off",value:function(e,t){var n=this;return e||(this._events={}),e.split(",").forEach((function(e){if(t){for(var r=n._events[e]||[],i=r.length,o=0;o<i;o++)r[o].callback===t&&(r.splice(o,1),i--,o--);0===r.length&&delete n._events[e]}else delete n._events[e]})),this}},{key:"getEvents",value:function(){return this._events}}])&&Bo(t.prototype,n),r&&Bo(t,r),e}();function zo(e,t){return t*Math.round(e/t)||e}function Uo(e,t){return e%t}function Ho(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Go=function(e,t,n){var r=Ho(e,2),i=r[0],o=r[1],a=Ho(t,2),s=a[0],l=a[1],u=Ho(n,2),c=u[0],f=u[1];return i>s&&i<c&&o>l&&o<f},Wo=function(e,t){var n=!1;switch(t.multipleSelectKey){case"meta":n=e.metaKey;break;case"alt":n=e.altKey;break;case"shift":n=e.shiftKey;break;case"ctrl":n=e.ctrlKey;break;default:n=!1}return n};n(167),n(126),n(83),n(29),n(12),n(13),n(14),n(47);var qo,Xo=function(e){return function(t,n,r){var i=Object(t);if(!sn(t)){var o=cr(n,3);t=ln(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:void 0}},Yo=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1},Ko=/\s/,$o=function(e){for(var t=e.length;t--&&Ko.test(e.charAt(t)););return t},Zo=/^\s+/,Jo=function(e){return e?e.slice(0,$o(e)+1).replace(Zo,""):e},Qo=/^[-+]0x[0-9a-f]+$/i,ea=/^0b[01]+$/i,ta=/^0o[0-7]+$/i,na=parseInt,ra=function(e){if("number"==typeof e)return e;if(Fn(e))return NaN;if(Ae(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ae(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jo(e);var n=ea.test(e);return n||ta.test(e)?na(e.slice(2),n?2:8):Qo.test(e)?NaN:+e},ia=1/0,oa=function(e){return e?(e=ra(e))===ia||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0},aa=function(e){var t=oa(e),n=t%1;return t==t?n?t-n:t:0},sa=Math.max,la=Xo((function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:aa(n);return i<0&&(i=sa(r+i,0)),Yo(e,cr(t,3),i)})),ua=new Uint8Array(16);function ca(){if(!qo&&!(qo="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return qo(ua)}for(var fa=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ha=function(e){return"string"==typeof e&&fa.test(e)},da=[],pa=0;pa<256;++pa)da.push((pa+256).toString(16).substr(1));var ga=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(da[e[t+0]]+da[e[t+1]]+da[e[t+2]]+da[e[t+3]]+"-"+da[e[t+4]]+da[e[t+5]]+"-"+da[e[t+6]]+da[e[t+7]]+"-"+da[e[t+8]]+da[e[t+9]]+"-"+da[e[t+10]]+da[e[t+11]]+da[e[t+12]]+da[e[t+13]]+da[e[t+14]]+da[e[t+15]]).toLowerCase();if(!ha(n))throw TypeError("Stringified UUID is invalid");return n},va=function(e,t,n){var r=(e=e||{}).random||(e.rng||ca)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return ga(r)},ya=function(){return va()},ma=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.nodes.reduce((function(e,n){return e[n.id]=t+va(),n.id=e[n.id],e}),{});return e.edges.forEach((function(e){e.id=t+va(),e.sourceNodeId=n[e.sourceNodeId],e.targetNodeId=n[e.targetNodeId]})),e},ba=(n(105),n(127),n(207),function(e,t,n){var r=e.x,i=e.y,o=t.x,a=t.y,s=n.x,l=n.y,u=(l-a)/(s-o),c=a-u*o;return r>=o&&r<=s&&i>=a&&i<=l&&Math.abs(i-u*r+c)<Number.EPSILON});function _a(e){return _a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_a(e)}function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach((function(t){Sa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ka,Ea,Oa,Ca,Aa,Ta,Pa,Ma,Da,Ia,La,Ra,ja,Na,Ba,Fa,za,Ua,Ha,Va,Ga,Wa=function(e){return e.anchors},qa=function(e,t){for(var n,r=t.nodes,i=r.length-1;i>=0;i--){var o=r[i];if($a(e,o)){var a=o.getTargetAnchor(e);if(a){var s={node:o,anchorIndex:a.index,anchor:a.anchor};n&&!Xa(o,n.node,t)||(n=s)}}}return n},Xa=function(e,t,n){return e.zIndex>t.zIndex||n.nodesMap[e.id].index>n.nodesMap[t.id].index},Ya=function(e,t,n,r){return Math.hypot(e-n,t-r)},Ka=function(e,t){var n=!1,r=Za(t);return e.x>=r.minX-0&&e.x<=r.maxX+0&&e.y>=r.minY-0&&e.y<=r.maxY+0&&(n=!0),n},$a=function(e,t){var n=!1,r=Za(t);return e.x>=r.minX-5&&e.x<=r.maxX+5&&e.y>=r.minY-5&&e.y<=r.maxY+5&&(n=!0),n},Za=function(e){var t=e.x,n=e.y,r=e.width,i=e.height;return{minX:t-r/2,minY:n-i/2,maxX:t+r/2,maxY:n+i/2,x:t,y:n,width:r,height:i,centerX:t,centerY:n}},Ja=function(e,t,n){var r,i=function(e){var t=e,n=t.x,r=t.y,i=t.width,o=t.height,a=t.radius;return[{x:n-i/2+a,y:r-o/2+a,r:a},{x:n+i/2-a,y:r-o/2+a,r:a},{x:n-i/2+a,y:r+o/2-a,r:a},{x:n+i/2-a,y:r+o/2-a,r:a}]}(n),o=Number.MAX_SAFE_INTEGER;return i.forEach((function(t){var n=Ya(e.x,e.y,t.x,t.y);n<o&&(o=n,r=t)})),Qa(e,t,r)},Qa=function(e,t,n){var r,i=n,o=i.x,a=i.y,s=i.r;if(t===gi.HORIZONTAL){var l=o-Math.sqrt(s*s-(e.y-a)*(e.y-a)),u=o+Math.sqrt(s*s-(e.y-a)*(e.y-a));r={x:Math.abs(l-e.x)<Math.abs(u-e.x)?l:u,y:e.y}}else if(t===gi.VERTICAL){var c=a-Math.sqrt(s*s-(e.x-o)*(e.x-o)),f=a+Math.sqrt(s*s-(e.x-o)*(e.x-o)),h=Math.abs(c-e.y)<Math.abs(f-e.y)?c:f;r={x:e.x,y:h}}return r},es=function(e,t){var n=t,r=!1,i=n.x-n.width/2+n.radius,o=n.x+n.width/2-n.radius,a=n.y-n.height/2+n.radius,s=n.y+n.height/2-n.radius,l=n.x,u=n.y,c=n.width,f=n.height;return e.y===u+f/2||e.y===u-f/2?r=e.x>i&&e.x<o:e.x!==l+c/2&&e.x!==l-c/2||(r=e.y>a&&e.y<s),r},ts=function(e,t,n){var r,i=n,o=i.x,a=i.y,s=i.rx,l=i.ry;if(t===gi.HORIZONTAL){var u=o-Math.sqrt(s*s-(e.y-a)*(e.y-a)*s*s/(l*l)),c=o+Math.sqrt(s*s-(e.y-a)*(e.y-a)*s*s/(l*l));r={x:Math.abs(u-e.x)<Math.abs(c-e.x)?u:c,y:e.y}}else if(t===gi.VERTICAL){var f=a-Math.sqrt(l*l-(e.x-o)*(e.x-o)*l*l/(s*s)),h=a+Math.sqrt(l*l-(e.x-o)*(e.x-o)*l*l/(s*s)),d=Math.abs(f-e.y)<Math.abs(h-e.y)?f:h;r={x:e.x,y:d}}return r},ns=function(e,t,n){for(var r,i=n.pointsPosition,o=Number.MAX_SAFE_INTEGER,a=[],s=0;s<i.length;s++)a.push({start:i[s],end:i[(s+1)%i.length]});return a.forEach((function(n){var i=n.start,a=n.end,s=i,l=a;i.x>a.x&&(s=a,l=i);var u={x:e.x,y:e.y};if(s.x===l.x&&t===gi.HORIZONTAL&&(u={x:s.x,y:e.y}),s.y===l.y&&t===gi.VERTICAL&&(u={x:e.x,y:s.y}),s.x!==l.x&&s.y!==l.y){var c=(l.y-s.y)/(l.x-s.x),f=(s.x*l.y-l.x*s.y)/(s.x-l.x);t===gi.HORIZONTAL?u={x:(e.y-f)/c,y:e.y}:t===gi.VERTICAL&&(u={x:e.x,y:c*e.x+f})}if(ba(u,i,a)){var h=Ya(u.x,u.y,e.x,e.y);h<o&&(o=h,r=u)}})),r},rs=function(e,t,n,r){var i=e.x,o=e.y;return t.x>e.x?i=e.x+n/2:t.x<e.x&&(i=e.x-n/2),t.y>e.y?o=e.y+r/2:t.y<e.y&&(o=e.y-r/2),{x:i,y:o}},is=function(e){var t=e.rows,n=e.style,r=e.rowsLength,i=e.className,o=document.createElement("div");o.style.fontSize=n.fontSize,o.style.width=n.width,o.className=i,o.style.lineHeight=n.lineHeight,o.style.padding=n.padding,n.fontFamily&&(o.style.fontFamily=n.fontFamily),r>1?t.forEach((function(e){var t=document.createElement("div");t.textContent=e,o.appendChild(t)})):o.textContent=t,document.body.appendChild(o);var a=o.clientHeight;return document.body.removeChild(o),a},os=function(e){var t=e.rows,n=e.rowsLength,r=e.fontSize,i=0;return t&&t.forEach((function(e){var t=Xl(e);i=t>i?t:i})),{width:Math.ceil(i/2)*r+r/4,height:n*(r+2)+r/4}},as=function(e){return"object"!==_a(e)?{isAllPass:!!e,msg:e?"":"不允许连接"}:e},ss=function(e){try{return JSON.parse(JSON.stringify(e))}catch(t){return e}},ls=1e3,us=999,cs=function(){return++ls};function fs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fs(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ds(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function ps(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vs(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var ys=(ka=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),gs(this,"id",""),ds(this,"type",Ea,this),ds(this,"sourceNodeId",Oa,this),ds(this,"targetNodeId",Ca,this),ds(this,"startPoint",Aa,this),ds(this,"endPoint",Ta,this),ds(this,"text",Pa,this),ds(this,"properties",Ma,this),ds(this,"points",Da,this),ds(this,"pointsList",Ia,this),ds(this,"isSelected",La,this),ds(this,"isHovered",Ra,this),ds(this,"isHitable",ja,this),ds(this,"draggable",Na,this),ds(this,"visible",Ba,this),gs(this,"virtual",!1),ds(this,"isAnimation",Fa,this),ds(this,"isShowAdjustPoint",za,this),gs(this,"graphModel",void 0),ds(this,"zIndex",Ua,this),gs(this,"BaseType",di.EDGE),gs(this,"modelType",hi.EDGE),ds(this,"state",Ha,this),gs(this,"additionStateData",void 0),gs(this,"sourceAnchorId",""),gs(this,"targetAnchorId",""),gs(this,"menu",void 0),gs(this,"customTextPosition",!1),ds(this,"style",Va,this),ds(this,"arrowConfig",Ga,this),this.graphModel=n,this.initEdgeData(t),this.setAttributes()}var t,n,r;return t=e,n=[{key:"initEdgeData",value:function(e){if(e.properties||(e.properties={}),!e.id){var t=this.graphModel.idGenerator,n=t&&t(e.type),r=this.createId();e.id=r||n||ya()}this.arrowConfig.markerEnd="url(#marker-end-".concat(e.id,")"),this.arrowConfig.markerStart="url(#marker-start-".concat(e.id,")");var i=this.graphModel.editConfigModel.adjustEdgeStartAndEnd;this.isShowAdjustPoint=i,Zr(this,nu(e)),this.graphModel.overlapMode===vi.INCREASE&&(this.zIndex=e.zIndex||cs()),this.setAnchors(),this.initPoints(),this.formatText(e)}},{key:"setAttributes",value:function(){}},{key:"createId",value:function(){return null}},{key:"getEdgeStyle",value:function(){return hs(hs({},this.graphModel.theme.baseEdge),this.style)}},{key:"getAdjustPointStyle",value:function(){return hs({},this.graphModel.theme.edgeAdjust)}},{key:"getTextStyle",value:function(){var e=this.graphModel.theme.edgeText;return wo(e)}},{key:"getEdgeAnimationStyle",value:function(){var e=this.graphModel.theme.edgeAnimation;return wo(e)}},{key:"getArrowStyle",value:function(){var e=this.getEdgeStyle(),t=this.getEdgeAnimationStyle(),n=this.graphModel.theme.arrow,r=this.isAnimation?t.stroke:e.stroke;return hs(hs({},e),{},{fill:r,stroke:r},n)}},{key:"getOutlineStyle",value:function(){var e=this.graphModel.theme.outline;return wo(e)}},{key:"getTextPosition",value:function(){return{x:0,y:0}}},{key:"sourceNode",get:function(){var e,t;return null===(e=this.graphModel)||void 0===e||null===(t=e.nodesMap[this.sourceNodeId])||void 0===t?void 0:t.model}},{key:"targetNode",get:function(){var e,t;return null===(e=this.graphModel)||void 0===e||null===(t=e.nodesMap[this.targetNodeId])||void 0===t?void 0:t.model}},{key:"textPosition",get:function(){return this.getTextPosition()}},{key:"getBeginAnchor",value:function(e,t,n){var r,i,o=Wa(e);return n&&(r=la(o,(function(e){return e.id===n})))||o.forEach((function(e){var n=ru(e,t);(void 0===i||n<i)&&(i=n,r=e)})),r}},{key:"getEndAnchor",value:function(e,t){var n,r,i=this,o=Wa(e);return t&&(n=la(o,(function(e){return e.id===t})))||o.forEach((function(e){var t=ru(e,i.startPoint);(void 0===r||t<r)&&(r=t,n=e)})),n}},{key:"getProperties",value:function(){return Object(i.I)(this.properties)}},{key:"getData",value:function(){var e=this.text,t=e.x,n=e.y,r=e.value,o={id:this.id,type:this.type,sourceNodeId:this.sourceNode.id,targetNodeId:this.targetNode.id,startPoint:Object.assign({},this.startPoint),endPoint:Object.assign({},this.endPoint),properties:Object(i.I)(this.properties)};return r&&(o.text={x:t,y:n,value:r}),this.graphModel.overlapMode===vi.INCREASE&&(o.zIndex=this.zIndex),o}},{key:"getHistoryData",value:function(){return this.getData()}},{key:"setProperty",value:function(e,t){this.properties[e]=ss(t),this.setAttributes()}},{key:"deleteProperty",value:function(e){delete this.properties[e],this.setAttributes()}},{key:"setProperties",value:function(e){this.properties=hs(hs({},Object(i.I)(this.properties)),ss(e)),this.setAttributes()}},{key:"changeEdgeId",value:function(e){var t=this.arrowConfig,n=t.markerEnd,r=t.markerStart;r&&r==="url(#marker-start-".concat(this.id,")")&&(this.arrowConfig.markerStart="url(#marker-start-".concat(e,")")),n&&n==="url(#marker-end-".concat(this.id,")")&&(this.arrowConfig.markerEnd="url(#marker-end-".concat(e,")")),this.id=e}},{key:"setStyle",value:function(e,t){this.style=hs(hs({},this.style),{},gs({},e,ss(t)))}},{key:"setStyles",value:function(e){this.style=hs(hs({},this.style),ss(e))}},{key:"updateStyles",value:function(e){this.style=hs({},ss(e))}},{key:"formatText",value:function(e){var t=this.textPosition,n=t.x,r=t.y;e.text&&"string"!=typeof e.text?"[object Object]"===Object.prototype.toString.call(e.text)&&(this.text={x:e.text.x||n,y:e.text.y||r,value:e.text.value||"",draggable:this.text.draggable,editable:this.text.editable}):this.text={value:e.text||"",x:n,y:r,draggable:this.text.draggable,editable:this.text.editable}}},{key:"resetTextPosition",value:function(){var e=this.textPosition,t=e.x,n=e.y;this.text.x=t,this.text.y=n}},{key:"moveText",value:function(e,t){if(this.text){var n=this.text,r=n.x,i=n.y,o=n.value,a=n.draggable,s=n.editable;this.text={value:o,draggable:a,x:r+e,y:i+t,editable:s}}}},{key:"setText",value:function(e){e&&Zr(this.text,e)}},{key:"updateText",value:function(e){this.text=hs(hs({},Object(i.I)(this.text)),{},{value:e})}},{key:"setAnchors",value:function(){if(!this.sourceAnchorId||!this.startPoint){var e=this.getBeginAnchor(this.sourceNode,this.targetNode,this.sourceAnchorId);if(!e)throw new Error("无法获取beginAnchor请检查anchors相关逻辑anchors不能为空");this.startPoint||(this.startPoint={x:e.x,y:e.y}),this.sourceAnchorId||(this.sourceAnchorId=e.id)}if(!this.targetAnchorId||!this.endPoint){var t=this.getEndAnchor(this.targetNode,this.targetAnchorId);if(!t)throw new Error("无法获取endAnchor请检查anchors相关逻辑anchors不能为空");this.endPoint||(this.endPoint={x:t.x,y:t.y}),this.targetAnchorId||(this.targetAnchorId=t.id)}}},{key:"setSelected",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isSelected=e}},{key:"setHovered",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isHovered=e}},{key:"setHitable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isHitable=e}},{key:"openEdgeAnimation",value:function(){this.isAnimation=!0}},{key:"closeEdgeAnimation",value:function(){this.isAnimation=!1}},{key:"setElementState",value:function(e,t){this.state=e,this.additionStateData=t}},{key:"updateStartPoint",value:function(e){this.startPoint=e}},{key:"moveStartPoint",value:function(e,t){this.startPoint.x+=e,this.startPoint.y+=t}},{key:"updateEndPoint",value:function(e){this.endPoint=e}},{key:"moveEndPoint",value:function(e,t){this.endPoint.x+=e,this.endPoint.y+=t}},{key:"setZIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.zIndex=e}},{key:"initPoints",value:function(){}},{key:"updateAttributes",value:function(e){Zr(this,e)}},{key:"getAdjustStart",value:function(){return this.startPoint}},{key:"getAdjustEnd",value:function(){return this.endPoint}},{key:"updateAfterAdjustStartAndEnd",value:function(e){var t=e.startPoint,n=e.endPoint;this.updateStartPoint({x:t.x,y:t.y}),this.updateEndPoint({x:n.x,y:n.y})}}],n&&ps(t.prototype,n),r&&ps(t,r),e}(),Ea=vs(ka.prototype,"type",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Oa=vs(ka.prototype,"sourceNodeId",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Ca=vs(ka.prototype,"targetNodeId",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Aa=vs(ka.prototype,"startPoint",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ta=vs(ka.prototype,"endPoint",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Pa=vs(ka.prototype,"text",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{value:"",x:0,y:0,draggable:!1,editable:!0}}}),Ma=vs(ka.prototype,"properties",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),Da=vs(ka.prototype,"points",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),Ia=vs(ka.prototype,"pointsList",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),La=vs(ka.prototype,"isSelected",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ra=vs(ka.prototype,"isHovered",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ja=vs(ka.prototype,"isHitable",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Na=vs(ka.prototype,"draggable",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Ba=vs(ka.prototype,"visible",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Fa=vs(ka.prototype,"isAnimation",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),za=vs(ka.prototype,"isShowAdjustPoint",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ua=vs(ka.prototype,"zIndex",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Ha=vs(ka.prototype,"state",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),Va=vs(ka.prototype,"style",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),Ga=vs(ka.prototype,"arrowConfig",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{markerEnd:"url(#marker-end-".concat(this.id,")"),markerStart:"url(#marker-start-".concat(this.id,")")}}}),vs(ka.prototype,"sourceNode",[i.m],Object.getOwnPropertyDescriptor(ka.prototype,"sourceNode"),ka.prototype),vs(ka.prototype,"targetNode",[i.m],Object.getOwnPropertyDescriptor(ka.prototype,"targetNode"),ka.prototype),vs(ka.prototype,"textPosition",[i.m],Object.getOwnPropertyDescriptor(ka.prototype,"textPosition"),ka.prototype),vs(ka.prototype,"setProperty",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setProperty"),ka.prototype),vs(ka.prototype,"deleteProperty",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"deleteProperty"),ka.prototype),vs(ka.prototype,"setProperties",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setProperties"),ka.prototype),vs(ka.prototype,"changeEdgeId",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"changeEdgeId"),ka.prototype),vs(ka.prototype,"setStyle",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setStyle"),ka.prototype),vs(ka.prototype,"setStyles",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setStyles"),ka.prototype),vs(ka.prototype,"updateStyles",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"updateStyles"),ka.prototype),vs(ka.prototype,"formatText",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"formatText"),ka.prototype),vs(ka.prototype,"resetTextPosition",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"resetTextPosition"),ka.prototype),vs(ka.prototype,"moveText",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"moveText"),ka.prototype),vs(ka.prototype,"setText",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setText"),ka.prototype),vs(ka.prototype,"updateText",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"updateText"),ka.prototype),vs(ka.prototype,"setAnchors",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setAnchors"),ka.prototype),vs(ka.prototype,"setSelected",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setSelected"),ka.prototype),vs(ka.prototype,"setHovered",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setHovered"),ka.prototype),vs(ka.prototype,"setHitable",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setHitable"),ka.prototype),vs(ka.prototype,"openEdgeAnimation",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"openEdgeAnimation"),ka.prototype),vs(ka.prototype,"closeEdgeAnimation",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"closeEdgeAnimation"),ka.prototype),vs(ka.prototype,"setElementState",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setElementState"),ka.prototype),vs(ka.prototype,"updateStartPoint",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"updateStartPoint"),ka.prototype),vs(ka.prototype,"moveStartPoint",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"moveStartPoint"),ka.prototype),vs(ka.prototype,"updateEndPoint",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"updateEndPoint"),ka.prototype),vs(ka.prototype,"moveEndPoint",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"moveEndPoint"),ka.prototype),vs(ka.prototype,"setZIndex",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"setZIndex"),ka.prototype),vs(ka.prototype,"initPoints",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"initPoints"),ka.prototype),vs(ka.prototype,"updateAttributes",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"updateAttributes"),ka.prototype),vs(ka.prototype,"getAdjustStart",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"getAdjustStart"),ka.prototype),vs(ka.prototype,"getAdjustEnd",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"getAdjustEnd"),ka.prototype),vs(ka.prototype,"updateAfterAdjustStartAndEnd",[i.k],Object.getOwnPropertyDescriptor(ka.prototype,"updateAfterAdjustStartAndEnd"),ka.prototype),ka),ms=ys;function bs(e){return bs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bs(e)}function _s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_s(Object(n),!0).forEach((function(t){Ms(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ss(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ks(){return ks="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Es(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},ks.apply(this,arguments)}function Es(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ps(e)););return e}function Os(e,t){return Os=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Os(e,t)}function Cs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ps(e);if(t){var i=Ps(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return As(this,n)}}function As(e,t){if(t&&("object"===bs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ts(e)}function Ts(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ps(e)}function Ms(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ds,Is,Ls=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}(o,e);var t,n,r,i=Cs(o);function o(){var e;ws(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ms(Ts(e=i.call.apply(i,[this].concat(n))),"modelType",hi.LINE_EDGE),e}return t=o,(n=[{key:"getEdgeStyle",value:function(){var e=this.graphModel.theme.line;return xs(xs({},ks(Ps(o.prototype),"getEdgeStyle",this).call(this)),wo(e))}},{key:"getTextPosition",value:function(){return{x:(this.startPoint.x+this.endPoint.x)/2,y:(this.startPoint.y+this.endPoint.y)/2}}}])&&Ss(t.prototype,n),r&&Ss(t,r),o}(ms);function Rs(e){return Rs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rs(e)}function js(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ns(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ns(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ns(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(n),!0).forEach((function(t){$s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zs(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function Us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vs(){return Vs="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Gs(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Vs.apply(this,arguments)}function Gs(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ks(e)););return e}function Ws(e,t){return Ws=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ws(e,t)}function qs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ks(e);if(t){var i=Ks(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Xs(this,n)}}function Xs(e,t){if(t&&("object"===Rs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ys(e)}function Ys(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ks(e)}function $s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zs(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var Js=(Ds=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}(o,e);var t,n,r,i=qs(o);function o(){var e;Us(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return $s(Ys(e=i.call.apply(i,[this].concat(n))),"modelType",hi.POLYLINE_EDGE),$s(Ys(e),"draggingPointList",void 0),zs(Ys(e),"dbClickPosition",Is,Ys(e)),e}return t=o,(n=[{key:"initEdgeData",value:function(e){this.offset=30,Vs(Ks(o.prototype),"initEdgeData",this).call(this,e)}},{key:"getEdgeStyle",value:function(){var e=this.graphModel.theme.polyline;return Fs(Fs({},Vs(Ks(o.prototype),"getEdgeStyle",this).call(this)),wo(e))}},{key:"getTextPosition",value:function(){var e,t=null===(e=this.text)||void 0===e?void 0:e.value;if(this.dbClickPosition&&!t){var n=this.dbClickPosition;return{x:n.x,y:n.y}}var r=Gl(this.points),i=js(Fl(r),2),o=i[0],a=i[1];return{x:(o.x+a.x)/2,y:(o.y+a.y)/2}}},{key:"getAfterAnchor",value:function(e,t,n){var r,i;return n.forEach((function(n){var o;e===gi.HORIZONTAL?o=Math.abs(t.y-n.y):e===gi.VERTICAL&&(o=Math.abs(t.x-n.x)),(!i||i>o)&&(i=o,r=n)})),r}},{key:"getCrossPoint",value:function(e,t,n){var r;return e===gi.HORIZONTAL?r={x:n.x,y:t.y}:e===gi.VERTICAL&&(r={x:t.x,y:n.y}),r}},{key:"removeCrossPoints",value:function(e,t,n){var r=n.map((function(e){return e}));if(1===e){var i=r[e],o=r[t],a=r[e-1];if(zl(a,i,this.sourceNode)){if(Ul(i,o,this.sourceNode)){var s=Hl(i,o,this.sourceNode);s&&(r[e]=s,r.splice(e-1,1),e--,t--)}}else this.sourceNode.anchors.forEach((function(t){(t.x===a.x&&t.x===i.x||t.y===a.y&&t.y===i.y)&&Ya(t.x,t.y,i.x,i.y)<Ya(a.x,a.y,i.x,i.y)&&(r[e-1]=t)}))}if(t===n.length-2){var l=r[e],u=r[t],c=r[t+1];if(zl(u,c,this.targetNode)){if(Ul(l,u,this.targetNode)){var f=Hl(l,u,this.targetNode);f&&(r[t]=f,r.splice(t+1,1))}}else this.targetNode.anchors.forEach((function(e){(e.x===c.x&&e.x===u.x||e.y===c.y&&e.y===u.y)&&Ya(e.x,e.y,u.x,u.y)<Ya(c.x,c.y,u.x,u.y)&&(r[t+1]=e)}))}return r}},{key:"getDraggingPoints",value:function(e,t,n,r,i){var o=i.map((function(e){return e})),a=this.getAfterAnchor(e,n,r),s=this.getCrossPoint(e,n,a);return"start"===t?(o.unshift(s),o.unshift(a)):(o.push(s),o.push(a)),o}},{key:"updateCrossPoints",value:function(e){var t=e.map((function(e){return e})),n=e[0],r=e[1],i=e[t.length-2],o=e[t.length-1],a=this.sourceNode,s=this.targetNode,l=a.modelType,u=s.modelType,c=Vl(n,r),f=t[0];switch(l){case hi.RECT_NODE:0!==a.radius&&(es(n,a)||(f=Ja(n,c,a)));break;case hi.CIRCLE_NODE:f=Qa(n,c,a);break;case hi.ELLIPSE_NODE:f=ts(n,c,a);break;case hi.DIAMOND_NODE:case hi.POLYGON_NODE:f=ns(n,c,a)}f&&(t[0]=f);var h=Vl(i,o),d=t[t.length-1];switch(u){case hi.RECT_NODE:0!==s.radius&&(es(o,s)||(d=Ja(o,h,s)));break;case hi.CIRCLE_NODE:d=Qa(o,h,s);break;case hi.ELLIPSE_NODE:d=ts(o,h,s);break;case hi.DIAMOND_NODE:case hi.POLYGON_NODE:d=ns(o,h,s)}return d&&(t[t.length-1]=d),t}},{key:"getData",value:function(){var e=Vs(Ks(o.prototype),"getData",this).call(this),t=this.pointsList.map((function(e){return{x:e.x,y:e.y}}));return Object.assign({},e,{pointsList:t})}},{key:"initPoints",value:function(){this.pointsList.length>0?this.points=this.pointsList.map((function(e){return"".concat(e.x,",").concat(e.y)})).join(" "):this.updatePoints()}},{key:"updatePoints",value:function(){var e=Bl({x:this.startPoint.x,y:this.startPoint.y},{x:this.endPoint.x,y:this.endPoint.y},this.sourceNode,this.targetNode,this.offset||0);this.pointsList=e,this.points=e.map((function(e){return"".concat(e.x,",").concat(e.y)})).join(" ")}},{key:"updateStartPoint",value:function(e){this.startPoint=Object.assign({},e),this.updatePoints()}},{key:"moveStartPoint",value:function(e,t){this.startPoint.x+=e,this.startPoint.y+=t,this.updatePoints()}},{key:"updateEndPoint",value:function(e){this.endPoint=Object.assign({},e),this.updatePoints()}},{key:"moveEndPoint",value:function(e,t){this.endPoint.x+=e,this.endPoint.y+=t,this.updatePoints()}},{key:"updatePointsList",value:function(e,t){this.pointsList.forEach((function(n){n.x+=e,n.y+=t}));var n=this.pointsList[0];this.startPoint=Object.assign({},n);var r=this.pointsList[this.pointsList.length-1];this.endPoint=Object.assign({},r),this.initPoints()}},{key:"dragAppendStart",value:function(){this.draggingPointList=this.pointsList.map((function(e){return e}))}},{key:"dragAppendSimple",value:function(e,t){this.isDragging=!0;var n=e.start,r=e.end,i=e.startIndex,o=e.endIndex,a=e.direction,s=this.pointsList,l=s;return a===gi.HORIZONTAL?(s[i]={x:n.x,y:n.y+t.y},s[o]={x:r.x,y:r.y+t.y},l=this.pointsList.map((function(e){return e}))):a===gi.VERTICAL&&(s[i]={x:n.x+t.x,y:n.y},s[o]={x:r.x+t.x,y:r.y},l=this.pointsList.map((function(e){return e}))),this.updatePointsAfterDrag(l),this.draggingPointList=l,this.setText(Object.assign({},this.text,this.textPosition)),{start:Object.assign({},s[i]),end:Object.assign({},s[o]),startIndex:i,endIndex:o,direction:a}}},{key:"dragAppend",value:function(e,t){this.isDragging=!0;var n=e.start,r=e.end,i=e.startIndex,o=e.endIndex,a=e.direction,s=this.pointsList;if(a===gi.HORIZONTAL){s[i]={x:n.x,y:n.y+t.y},s[o]={x:r.x,y:r.y+t.y};var l=this.pointsList.map((function(e){return e}));if(0!==i&&o!==this.pointsList.length-1&&(l=this.removeCrossPoints(i,o,l)),0===i){var u={x:n.x,y:n.y+t.y};if(!Ka(u,this.sourceNode)){var c=this.sourceNode.anchors;l=this.getDraggingPoints(a,"start",u,c,l)}}if(o===this.pointsList.length-1){var f={x:r.x,y:r.y+t.y};if(!Ka(f,this.targetNode)){var h=this.targetNode.anchors;l=this.getDraggingPoints(a,"end",f,h,l)}}this.updatePointsAfterDrag(l),this.draggingPointList=l}else if(a===gi.VERTICAL){s[i]={x:n.x+t.x,y:n.y},s[o]={x:r.x+t.x,y:r.y};var d=this.pointsList.map((function(e){return e}));if(0!==i&&o!==this.pointsList.length-1&&(d=this.removeCrossPoints(i,o,d)),0===i){var p={x:n.x+t.x,y:n.y};if(!Ka(p,this.sourceNode)){var g=this.sourceNode.anchors;d=this.getDraggingPoints(a,"start",p,g,d)}}if(o===this.pointsList.length-1){var v={x:r.x+t.x,y:r.y};if(!Ka(v,this.targetNode)){var y=this.targetNode.anchors;d=this.getDraggingPoints(a,"end",v,y,d)}}this.updatePointsAfterDrag(d),this.draggingPointList=d}return this.setText(Object.assign({},this.text,this.textPosition)),{start:Object.assign({},s[i]),end:Object.assign({},s[o]),startIndex:i,endIndex:o,direction:a}}},{key:"dragAppendEnd",value:function(){if(this.draggingPointList){var e=Nl(Gl(this.points));this.pointsList=e.map((function(e){return e})),this.draggingPointList=[];var t=e[0];this.startPoint=Object.assign({},t);var n=e[e.length-1];this.endPoint=Object.assign({},n)}this.isDragging=!1}},{key:"updatePointsAfterDrag",value:function(e){var t=this.updateCrossPoints(e);this.points=t.map((function(e){return"".concat(e.x,",").concat(e.y)})).join(" ")}},{key:"getAdjustStart",value:function(){return this.pointsList[0]||this.startPoint}},{key:"getAdjustEnd",value:function(){var e=this.pointsList;return e[e.length-1]||this.endPoint}},{key:"updateAfterAdjustStartAndEnd",value:function(e){var t=e.startPoint,n=e.endPoint,r=e.sourceNode,i=e.targetNode,o=Bl({x:t.x,y:t.y},{x:n.x,y:n.y},r,i,this.offset||0);this.pointsList=o,this.initPoints()}}])&&Hs(t.prototype,n),r&&Hs(t,r),o}(ms),Is=Zs(Ds.prototype,"dbClickPosition",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Zs(Ds.prototype,"initPoints",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"initPoints"),Ds.prototype),Zs(Ds.prototype,"updatePoints",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"updatePoints"),Ds.prototype),Zs(Ds.prototype,"updateStartPoint",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"updateStartPoint"),Ds.prototype),Zs(Ds.prototype,"moveStartPoint",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"moveStartPoint"),Ds.prototype),Zs(Ds.prototype,"updateEndPoint",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"updateEndPoint"),Ds.prototype),Zs(Ds.prototype,"moveEndPoint",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"moveEndPoint"),Ds.prototype),Zs(Ds.prototype,"updatePointsList",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"updatePointsList"),Ds.prototype),Zs(Ds.prototype,"dragAppendStart",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"dragAppendStart"),Ds.prototype),Zs(Ds.prototype,"dragAppendSimple",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"dragAppendSimple"),Ds.prototype),Zs(Ds.prototype,"dragAppend",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"dragAppend"),Ds.prototype),Zs(Ds.prototype,"dragAppendEnd",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"dragAppendEnd"),Ds.prototype),Zs(Ds.prototype,"updatePointsAfterDrag",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"updatePointsAfterDrag"),Ds.prototype),Zs(Ds.prototype,"getAdjustStart",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"getAdjustStart"),Ds.prototype),Zs(Ds.prototype,"getAdjustEnd",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"getAdjustEnd"),Ds.prototype),Zs(Ds.prototype,"updateAfterAdjustStartAndEnd",[i.k],Object.getOwnPropertyDescriptor(Ds.prototype,"updateAfterAdjustStartAndEnd"),Ds.prototype),Ds),Qs=function(e){var t=e.start,n=e.end,r=e.offset,i=e.verticalLength,o=e.type,a={leftX:0,leftY:0,rightX:0,rightY:0},s=Math.atan((n.y-t.y)/(n.x-t.x)),l=Math.atan(r/i),u=Math.sqrt(i*i+r*r);return"start"===o?n.x>=t.x?(a.leftX=t.x+u*Math.sin(s+l),a.leftY=t.y-u*Math.cos(s+l),a.rightX=t.x-u*Math.sin(s-l),a.rightY=t.y+u*Math.cos(s-l)):(a.leftX=t.x-u*Math.sin(s+l),a.leftY=t.y+u*Math.cos(s+l),a.rightX=t.x+u*Math.sin(s-l),a.rightY=t.y-u*Math.cos(s-l)):"end"===o&&(n.x>=t.x?(a.leftX=n.x+u*Math.sin(s-l),a.leftY=n.y-u*Math.cos(s-l),a.rightX=n.x-u*Math.sin(s+l),a.rightY=n.y+u*Math.cos(s+l)):(a.leftX=n.x-u*Math.sin(s-l),a.leftY=n.y+u*Math.cos(s-l),a.rightX=n.x+u*Math.sin(s+l),a.rightY=n.y-u*Math.cos(s+l))),a},el={x:1,y:0,z:0};function tl(e,t,n,r,i){for(var o=function(i){if(i<0||i>1)throw new RangeError('The value range of parameter "t" is [0,1]');return{x:e.x*Math.pow(1-i,3)+3*t.x*i*Math.pow(1-i,2)+3*n.x*Math.pow(i,2)*(1-i)+r.x*Math.pow(i,3),y:e.y*Math.pow(1-i,3)+3*t.y*i*Math.pow(1-i,2)+3*n.y*Math.pow(i,2)*(1-i)+r.y*Math.pow(i,3)}},a=0,s=2,l=r.x,u=r.y,c=r;a<i&&s<50;){var f=c=o(1-s/100),h=f.x,d=f.y;a=Ya(l,u,h,d),s++}return c}function nl(e){var t=Math.hypot(e.x,e.y);return{x:e.x/t,y:e.y/t,z:0}}function rl(e){return r=function(e,t){return e.x*t.y-e.y*t.x}(t=el,n=e),i=Math.acos(function(e,t){var n=[e.x,e.y,e.z];return[t.x,t.y,t.z].reduce((function(e,t,r){return e+t*n[r]}))}(nl(t),nl(n))),r>=0?i:-i;var t,n,r,i}function il(e){return e*(180/Math.PI)}function ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function al(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ol(Object(n),!0).forEach((function(t){sl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ol(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ll(e){return function(e){if(Array.isArray(e))return hl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ul(e){return ul="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ul(e)}function cl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||fl(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fl(e,t){if(e){if("string"==typeof e)return hl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hl(e,t):void 0}}function hl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var dl=function(e,t){var n;switch(e.type){case"line":default:n=new Ls(e,t);break;case"polyline":n=new Js(e,t)}return n},pl=function(e,t){return 2*Math.abs(e.centerX-t.centerX)<e.width+t.width&&2*Math.abs(e.centerY-t.centerY)<e.height+t.height},gl=function(e){var t=[],n={};return e.forEach((function(e){var t="".concat(e.x,"-").concat(e.y);e.id=t,n[t]=e})),Object.keys(n).forEach((function(e){t.push(n[e])})),t},vl=function(e,t){var n=[e,{x:e.x,y:t.y},t];return gl(n)},yl=function(e,t){return 0===e.width&&0===e.height?e:{centerX:e.centerX,centerY:e.centerY,minX:e.minX-t,minY:e.minY-t,maxX:e.maxX+t,maxY:e.maxY+t,height:e.height+2*t,width:e.width+2*t}},ml=function(e,t){var n=Math.abs(e.x-t.centerX),r=Math.abs(e.y-t.centerY);return n/t.width>r/t.height?gi.HORIZONTAL:gi.VERTICAL},bl=function(e,t,n){return ml(n,t)===gi.HORIZONTAL?{x:n.x>e.centerX?e.maxX:e.minX,y:n.y}:{x:n.x,y:n.y>e.centerY?e.maxY:e.minY}},_l=function(e,t){var n=Math.min(e.minX,t.minX),r=Math.min(e.minY,t.minY),i=Math.max(e.maxX,t.maxX),o=Math.max(e.maxY,t.maxY);return{centerX:(n+i)/2,centerY:(r+o)/2,minX:n,minY:r,maxX:i,maxY:o,height:o-r,width:i-n}},xl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=[],r=[];e.forEach((function(e){n.push(e.x),r.push(e.y)}));var i=Math.min.apply(Math,n),o=Math.max.apply(Math,n),a=Math.min.apply(Math,r),s=Math.max.apply(Math,r),l=o-i,u=s-a;return t&&(l+=t,u+=t),{centerX:(i+o)/2,centerY:(a+s)/2,maxX:o,maxY:s,minX:i,minY:a,x:(i+o)/2,y:(a+s)/2,height:u,width:l}},wl=function(e){var t=e.minX,n=e.minY,r=e.maxX,i=e.maxY;return[{x:t,y:n},{x:r,y:n},{x:r,y:i},{x:t,y:i}]},Sl=function(e,t){var n=e.x,r=e.y;return n<t.minX||n>t.maxX||r<t.minY||r>t.maxY},kl=function(e,t){return t<e.minX||t>e.maxX?[]:[{x:t,y:e.minY},{x:t,y:e.maxY}]},El=function(e,t){return t<e.minY||t>e.maxY?[]:[{x:e.minX,y:t},{x:e.maxX,y:t}]},Ol=function(e,t){return kl(e,t.x).concat(El(e,t.y))},Cl=function(e,t){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},Al=function(e,t){var n=0;return t.forEach((function(t){t&&(e.x===t.x&&(n+=-2),e.y===t.y&&(n+=-2))})),n},Tl=function(e,t,n,r,i){return Cl(e,t)+Cl(e,n)+Al(e,[t,n,r,i])},Pl=function e(t,n,r,i,o){o||(o=0),t.unshift(n[i]),r[i]&&r[i]!==i&&o<=100&&e(t,n,r,r[i],o+1)},Ml=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},Dl=function(e,t,n,r){var i=t.x-e.x,o=t.y-e.y,a=r.x-n.x,s=r.y-n.y,l=(-o*(e.x-n.x)+i*(e.y-n.y))/(-a*o+i*s),u=(a*(e.y-n.y)-s*(e.x-n.x))/(-a*o+i*s);return l>=0&&l<=1&&u>=0&&u<=1},Il=function(e,t,n){if(0===n.width&&0===n.height)return!1;var r=cl(wl(n),4),i=r[0],o=r[1],a=r[2],s=r[3];return Dl(e,t,i,o)||Dl(e,t,i,s)||Dl(e,t,o,a)||Dl(e,t,a,s)},Ll=function(e,t,n,r){var i=[];return e.forEach((function(e){e!==t&&(e.x!==t.x&&e.y!==t.y||Il(e,t,n)||Il(e,t,r)||i.push(e))})),gl(i)},Rl=function(e,t,n,r,i,o,a){var s=[],l=[t],u={},c={},f={};c[t.id]=0,f[t.id]=Tl(t,n,t);var h={};e.forEach((function(e){h[e.id]=e}));for(var d=function(){var d=void 0,p=1/0;if(l.forEach((function(e){f[e.id]<p&&(p=f[e.id],d=e)})),d===n){var g=[];return Pl(g,h,u,n.id),{v:g}}Ml(l,d),s.push(d),Ll(e,d,r,i).forEach((function(e){if(-1===s.indexOf(e)){-1===l.indexOf(e)&&l.push(e);var r=f[d.id]+Cl(d,e);c[e.id]&&r>=c[e.id]||(u[e.id]=d.id,c[e.id]=r,f[e.id]=c[e.id]+Tl(e,n,t,o,a))}}))};l.length;){var p=d();if("object"===ul(p))return p.v}return[t,n]},jl=function(e){return Za(e)},Nl=function(e){for(var t=1;t<e.length-1;){var n=e[t-1],r=e[t],i=e[t+1];n.x===r.x&&r.x===i.x||n.y===r.y&&r.y===i.y?e.splice(t,1):t++}return e},Bl=function(e,t,n,r,i){var o=jl(n),a=jl(r),s=yl(o,i),l=yl(a,i),u=bl(s,o,e),c=bl(l,a,t);if(pl(s,l)){var f=Wl(e,t,u,c);return[e,u].concat(ll(f),[c,t])}var h=xl([u,c]),d=_l(s,h),p=_l(l,h),g=[];g=(g=g.concat(wl(d))).concat(wl(p));var v={x:(e.x+t.x)/2,y:(e.y+t.y)/2};[h,d,p].forEach((function(e){g=g.concat(Ol(e,v).filter((function(e){return Sl(e,s)&&Sl(e,l)})))})),[{x:u.x,y:c.y},{x:c.x,y:u.y}].forEach((function(e){Sl(e,s)&&Sl(e,l)&&g.push(e)})),g.unshift(u),g.push(c),g=gl(g);var y=Rl(g,u,c,o,a,e,t);return y.unshift(e),y.push(t),y.length>2&&(y=Nl(y)),gl(y)},Fl=function(e){var t;if(1===e.length)t=[e[0],e[0]];else if(e.length>=2){for(var n=e[0],r=e[1],i=Ya(n.x,n.y,r.x,r.y),o=1;o<e.length-1;o++){var a=e[o],s=e[o+1],l=Ya(a.x,a.y,s.x,s.y);l>i&&(i=l,n=a,r=s)}t=[n,r]}return t},zl=function(e,t,n){var r=Ka(e,n),i=Ka(t,n);return r&&i},Ul=function(e,t,n){var r=Ka(e,n),i=Ka(t,n);return!(r&&i)&&(r||i)},Hl=function(e,t,n){for(var r,i,o=Za(n),a=wl(o),s=0;s<a.length;s++)Dl(e,t,a[s],a[(s+1)%a.length])&&(i=[a[s],a[(s+1)%a.length]]);return i&&(r=function(e,t,n,r){var i=(t.y-e.y)*(r.x-n.x)-(e.x-t.x)*(n.y-r.y);if(0===i)return!1;var o=((t.x-e.x)*(r.x-n.x)*(n.y-e.y)+(t.y-e.y)*(r.x-n.x)*e.x-(r.y-n.y)*(t.x-e.x)*n.x)/i,a=-((t.y-e.y)*(r.y-n.y)*(n.x-e.x)+(t.x-e.x)*(r.y-n.y)*e.y-(r.x-n.x)*(t.y-e.y)*n.y)/i;return(o-e.x)*(o-t.x)<=0&&(a-e.y)*(a-t.y)<=0&&(o-n.x)*(o-r.x)<=0&&(a-n.y)*(a-r.y)<=0&&{x:o,y:a}}(e,t,i[0],i[1])),r},Vl=function(e,t){var n;return e.x===t.x?n=gi.VERTICAL:e.y===t.y&&(n=gi.HORIZONTAL),n},Gl=function(e){var t=e.split(" "),n=[];return t&&t.forEach((function(e){var t=cl(e.split(","),2),r=t[0],i=t[1];n.push({x:Number(r),y:Number(i)})})),n},Wl=function(e,t,n,r){var i=[];if(Vl(e,n)===Vl(t,r))e.y===n.y?(i.push({x:n.x,y:(n.y+r.y)/2}),i.push({x:r.x,y:(n.y+r.y)/2})):(i.push({x:(n.x+r.x)/2,y:n.y}),i.push({x:(n.x+r.x)/2,y:r.y}));else{var o={x:n.x,y:r.y},a=ba(o,e,n),s=ba(o,t,r);if(a||s)o={x:r.x,y:n.y};else{var l=ql(o,e,n),u=ql(o,t,r);l&&u&&(o={x:r.x,y:n.y})}i.push(o)}return i},ql=function(e,t,n){return e.x===t.x&&e.x===n.x||e.y===t.y&&e.y===n.y},Xl=function(e){if(!e)return 0;for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);e.match(/[A-Z]/)?t+=1.5:t+=r>=1&&r<=126||r>=65376&&r<=65439?1:2}return t},Yl=null,Kl=function(e,t){Yl||(Yl=document.createElement("canvas"));var n=Yl.getContext("2d");return n.font=t,n.measureText(e).width},$l=function(e){var t,n=e.start,r=e.end;if(n.x===r.x&&n.y===r.y)t="";else{var i={start:n,end:r,offset:10,verticalLength:5},o=Qs(al(al({},i),{},{type:"start"})),a=Qs(al(al({},i),{},{type:"end"}));t="M".concat(o.leftX," ").concat(o.leftY," \n L").concat(o.rightX," ").concat(o.rightY," \n L").concat(a.rightX," ").concat(a.rightY,"\n L").concat(a.leftX," ").concat(a.leftY," z")}return{d:t,fill:"transparent",stroke:"transparent",strokeWidth:1,strokeDasharray:"4, 4"}},Zl=function(e){var t=e.start,n=e.end,r=e.sourceNode,i=e.targetNode,o=e.offset,a=Za(r),s=Za(i),l=yl(a,o),u=yl(s,o);return{sNext:bl(l,a,t),ePre:bl(u,s,n)}},Jl=function(e){var t=e.replace(/M/g,"").replace(/C/g,",").split(",");return[Ql(t[0]),Ql(t[1]),Ql(t[2]),Ql(t[3])]},Ql=function(e){var t=cl(e.replace(/(^\s*)/g,"").split(" "),2);return{x:+t[0],y:+t[1]}},eu=function(e,t){var n=cl(e,4);return[tl(n[0],n[1],n[2],n[3],t),e[3]]},tu=function(e,t){for(var n,r=e.x,i=e.y,o=Gl(t),a=Number.MAX_SAFE_INTEGER,s=[],l=0;l<o.length;l++)s.push({start:o[l],end:o[(l+1)%o.length]});if(s.forEach((function(e){var t=e.start,o=e.end;if(t.x===o.x){var s={x:t.x,y:i};if(ba(s,t,o)){var l=Math.abs(t.x-r);l<a&&(a=l,n=s)}}else if(t.y===o.y){var u={x:r,y:t.y};if(ba(u,t,o)){var c=Math.abs(t.y-i);c<a&&(a=c,n=u)}}})),!n){var u=s[0],c=u.start,f=u.end;n={x:c.x+(f.x-c.x)/2,y:c.y+(f.y-c.y)/2}}return n},nu=function(e){return oi(e,["id","type","sourceNodeId","sourceAnchorId","targetNodeId","targetAnchorId","pointsList","startPoint","endPoint","properties"])},ru=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))};function iu(e,t){return"function"!=typeof t?function(t,n,r){return Object.assign({type:e.edgeType},r)}:function(n,r,i){var o=t(n,r,i);return o?"string"==typeof o?Object.assign({},i,{type:o}):Object.assign({type:o},i):{type:e.edgeType}}}n(208);var ou=function(){};function au(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lu=function(){function e(t){var n=this,r=t.onDragStart,i=void 0===r?ou:r,o=t.onDragging,a=void 0===o?ou:o,s=t.onDragEnd,l=void 0===s?ou:s,u=t.eventType,c=void 0===u?"":u,f=t.eventCenter,h=void 0===f?null:f,d=t.step,p=void 0===d?1:d,g=t.isStopPropagation,v=void 0===g||g,y=t.model,m=void 0===y?null:y,b=t.data,_=void 0===b?null:b;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),su(this,"onDragStart",void 0),su(this,"onDragging",void 0),su(this,"onDragEnd",void 0),su(this,"step",void 0),su(this,"isStopPropagation",void 0),su(this,"isDragging",!1),su(this,"isStartDragging",!1),su(this,"startX",0),su(this,"startY",0),su(this,"sumDeltaX",0),su(this,"sumDeltaY",0),su(this,"eventType",void 0),su(this,"eventCenter",void 0),su(this,"model",void 0),su(this,"data",void 0),su(this,"startTime",void 0),su(this,"handleMouseDown",(function(e){var t,r,i,o=null===(t=window)||void 0===t?void 0:t.document;if(0===e.button){n.isStopPropagation&&e.stopPropagation(),n.isStartDragging=!0,n.startX=e.clientX,n.startY=e.clientY,o.addEventListener("mousemove",n.handleMouseMove,!1),o.addEventListener("mouseup",n.handleMouseUp,!1);var a=null===(r=n.model)||void 0===r?void 0:r.getData();null===(i=n.eventCenter)||void 0===i||i.emit(pi["".concat(n.eventType,"_MOUSEDOWN")],{e:e,data:n.data||a}),n.startTime=(new Date).getTime()}})),su(this,"handleMouseMove",(function(e){if(n.isStopPropagation&&e.stopPropagation(),n.isStartDragging&&(n.sumDeltaX+=e.clientX-n.startX,n.sumDeltaY+=e.clientY-n.startY,n.startX=e.clientX,n.startY=e.clientY,n.step<=1||Math.abs(n.sumDeltaX)>n.step||Math.abs(n.sumDeltaY)>n.step)){var t,r=n.sumDeltaX%n.step,i=n.sumDeltaY%n.step,o=n.sumDeltaX-r,a=n.sumDeltaY-i;n.sumDeltaX=r,n.sumDeltaY=i;var s,l=null===(t=n.model)||void 0===t?void 0:t.getData();n.isDragging||(null===(s=n.eventCenter)||void 0===s||s.emit(pi["".concat(n.eventType,"_DRAGSTART")],{e:e,data:n.data||l}),n.onDragStart({event:e})),n.isDragging=!0,Promise.resolve().then((function(){var t,r;n.onDragging({deltaX:o,deltaY:a,event:e}),null===(t=n.eventCenter)||void 0===t||t.emit(pi["".concat(n.eventType,"_MOUSEMOVE")],{e:e,data:n.data||l}),null===(r=n.eventCenter)||void 0===r||r.emit(pi["".concat(n.eventType,"_DRAG")],{e:e,data:n.data||l})}))}})),su(this,"handleMouseUp",(function(e){var t=window.document;n.isStartDragging=!1,n.isStopPropagation&&e.stopPropagation(),Promise.resolve().then((function(){var r,i,o;t.removeEventListener("mousemove",n.handleMouseMove,!1),t.removeEventListener("mouseup",n.handleMouseUp,!1);var a=null===(r=n.model)||void 0===r?void 0:r.getData();null===(i=n.eventCenter)||void 0===i||i.emit(pi["".concat(n.eventType,"_MOUSEUP")],{e:e,data:n.data||a}),n.isDragging&&(n.isDragging=!1,n.onDragEnd({event:e}),null===(o=n.eventCenter)||void 0===o||o.emit(pi["".concat(n.eventType,"_DROP")],{e:e,data:n.data||a}))}))})),su(this,"cancelDrag",(function(){var e,t=null===(e=window)||void 0===e?void 0:e.document;t.removeEventListener("mousemove",n.handleMouseMove,!1),t.removeEventListener("mouseup",n.handleMouseUp,!1),n.onDragEnd({event:null}),n.isDragging=!1})),this.onDragStart=i,this.onDragging=a,this.onDragEnd=l,this.step=p,this.isStopPropagation=v,this.eventType=c,this.eventCenter=h,this.model=m,this.data=_}var t,n,r;return t=e,(n=[{key:"setStep",value:function(e){this.step=e}},{key:"setModel",value:function(e){this.model=e}}])&&au(t.prototype,n),r&&au(t,r),e}();function uu(e){return uu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uu(e)}function cu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hu(e,t,n){return t&&fu(e.prototype,t),n&&fu(e,n),e}function du(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_u(e,t)}function pu(e){var t=bu();return function(){var n,r=xu(e);if(t){var i=xu(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return gu(this,n)}}function gu(e,t){if(t&&("object"===uu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vu(e)}function vu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yu(e){var t="function"==typeof Map?new Map:void 0;return yu=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return mu(e,arguments,xu(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_u(r,e)},yu(e)}function mu(e,t,n){return mu=bu()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_u(i,n.prototype),i},mu.apply(null,arguments)}function bu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _u(e,t){return _u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_u(e,t)}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},xu(e)}function wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e,t){return!!(e instanceof Eu&&t instanceof Eu)}var ku=function(e){du(n,e);var t=pu(n);function n(e,r,i){var o;return cu(this,n),wu(vu(o=t.call(this,3)),"x",void 0),wu(vu(o),"y",void 0),wu(vu(o),"z",void 0),o[0]=e,o[1]=r,o[2]=i,o.x=e,o.y=r,o.z=i,Object.setPrototypeOf(vu(o),n.prototype),o}return hu(n,[{key:"add",value:function(e){if(Su(this,e))return new Eu(this.x+e.x,this.y+e.y);var t=this.z+e.z;return new Ou((this.x+e.x)/t,(this.y+e.y)/t)}},{key:"subtract",value:function(e){if(Su(this,e))return new Eu(this.x-e.x,this.y-e.y);var t=this.z-e.z;return 0===t?new Eu(this.x-e.x,this.y-e.y):new Ou((this.x-e.x)/t,(this.y-e.y)/t)}}]),n}(yu(Array)),Eu=function(e){du(n,e);var t=pu(n);function n(e,r,i){var o;return cu(this,n),o=t.call(this,e,r,null!=i?i:0),Object.setPrototypeOf(vu(o),n.prototype),o}return hu(n,[{key:"toString",value:function(){return"Vector"}},{key:"dot",value:function(e){var t=this;return e.reduce((function(e,n,r){return e+n*t[r]}))}},{key:"cross",value:function(e){return new n(this.y*e.z-this.z*e.y,this.z*e.x-this.x*e.z,this.x*e.y-this.y*e.x)}},{key:"getLength",value:function(){return Math.hypot(this.x,this.y)}},{key:"normalize",value:function(){var e=this.getLength();return new n(this.x/e,this.y/e)}},{key:"crossZ",value:function(e){return this.x*e.y-this.y*e.x}},{key:"angle",value:function(e){var t=this.crossZ(e),n=Math.acos(this.normalize().dot(e.normalize()));return t>=0?n:-n}}]),n}(ku),Ou=function(e){du(n,e);var t=pu(n);function n(e,r){var i;return cu(this,n),i=t.call(this,e,r,1),Object.setPrototypeOf(vu(i),n.prototype),i}return hu(n,[{key:"toString",value:function(){return"Point"}}]),n}(ku);function Cu(e){return Cu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cu(e)}function Au(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||Pu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tu(e){return function(e){if(Array.isArray(e))return Mu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Pu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pu(e,t){if(e){if("string"==typeof e)return Mu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mu(e,t):void 0}}function Mu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Du(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lu(e,t,n){return t&&Iu(e.prototype,t),n&&Iu(e,n),e}function Ru(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hu(e,t)}function ju(e){var t=Uu();return function(){var n,r=Vu(e);if(t){var i=Vu(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Nu(this,n)}}function Nu(e,t){if(t&&("object"===Cu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Bu(e)}function Bu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fu(e){var t="function"==typeof Map?new Map:void 0;return Fu=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return zu(e,arguments,Vu(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Hu(r,e)},Fu(e)}function zu(e,t,n){return zu=Uu()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Hu(i,n.prototype),i},zu.apply(null,arguments)}function Uu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Hu(e,t){return Hu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hu(e,t)}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}function Gu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(67),n(218);var Wu,qu,Xu,Yu,Ku,$u,Zu,Ju,Qu,ec,tc,nc,rc,ic=function(e){Ru(n,e);var t=ju(n);function n(){var e;Du(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Gu(Bu(e=t.call(this,i.length)),"rows",void 0),Gu(Bu(e),"columns",void 0),e.fill(new Array(3)),i.forEach((function(t,n){e[n]=t})),e.columns=i[0].length,e.rows=i.length,Object.setPrototypeOf(Bu(e),n.prototype),e}return Lu(n,[{key:"getRow",value:function(e){return this[e]}},{key:"getColumn",value:function(e){return Tu(this.map((function(t){return t[e]})))}},{key:"transpose",value:function(){for(var e=[],t=0;t<this.columns;t++)e.push(this.getColumn(t));return zu(n,e)}},{key:"cross",value:function(e){var t=new Array(this.rows).fill("").map((function(){return[]}));if(this.columns===e.rows)for(var r=0;r<this.rows;r++)for(var i=this.getRow(r),o=function(n){var o=e.getColumn(n);t[r][n]=i.reduce((function(e,t,n){return e+t*o[n]}),0)},a=0;a<e.columns;a++)o(a);return zu(n,Tu(t))}},{key:"to2D",value:function(){return this.map((function(e){return[e[0],e[1]]}))}},{key:"toPoints",value:function(){return this.map((function(e){return new Ou(e[0],e[1])}))}},{key:"toString",value:function(){var e=Au(this[0],2),t=e[0],n=e[1],r=Au(this[1],2),i=r[0],o=r[1],a=Au(this[2],2),s=a[0],l=a[1];return"matrix(".concat(t," ").concat(n," ").concat(i," ").concat(o," ").concat(s," ").concat(l,")")}},{key:"translate",value:function(e,t){return this.cross(new sc(e,t))}},{key:"rotate",value:function(e){return this.cross(new oc(e))}},{key:"scale",value:function(e,t){return this.cross(new ac(e,t))}}]),n}(Fu(Array)),oc=function(e){Ru(n,e);var t=ju(n);function n(e){var r;return Du(this,n),r=t.call(this,new Eu(+Math.cos(e).toFixed(2),+Math.sin(e).toFixed(2),0),new Eu(-Math.sin(e).toFixed(2),+Math.cos(e).toFixed(2),0),new Eu(0,0,1)),Object.setPrototypeOf(Bu(r),n.prototype),r}return Lu(n,[{key:"inverse",value:function(){return this.transpose()}}]),n}(ic),ac=function(e){Ru(n,e);var t=ju(n);function n(e,r){var i;return Du(this,n),Gu(Bu(i=t.call(this,new Eu(e,0,0),new Eu(0,r,0),new Eu(0,0,1))),"sx",void 0),Gu(Bu(i),"sy",void 0),i.sx=e,i.sy=r,Object.setPrototypeOf(Bu(i),n.prototype),i}return Lu(n,[{key:"inverse",value:function(){return new n(1/this.sx,1/this.sy)}}]),n}(ic),sc=function(e){Ru(n,e);var t=ju(n);function n(e,r){var i;return Du(this,n),Gu(Bu(i=t.call(this,new Eu(1,0,0),new Eu(0,1,0),new Eu(e,r,1))),"tx",void 0),Gu(Bu(i),"ty",void 0),i.tx=e,i.ty=r,Object.setPrototypeOf(Bu(i),n.prototype),i}return Lu(n,[{key:"inverse",value:function(){return new n(-this.tx,-this.ty)}}]),n}(ic),lc={node:!1,edge:!1},uc={node:!0,edge:!0};function cc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cc(Object(n),!0).forEach((function(t){bc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||pc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dc(e){return function(e){if(Array.isArray(e))return gc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pc(e,t){if(e){if("string"==typeof e)return gc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gc(e,t):void 0}}function gc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function yc(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function mc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var xc,wc=200,Sc=(Wu=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),bc(this,"rootEl",void 0),yc(this,"width",qu,this),yc(this,"height",Xu,this),bc(this,"theme",void 0),bc(this,"eventCenter",void 0),bc(this,"modelMap",new Map),bc(this,"topElement",void 0),bc(this,"animation",void 0),bc(this,"idGenerator",void 0),bc(this,"edgeGenerator",void 0),bc(this,"nodeMoveRules",[]),bc(this,"customTrajectory",void 0),yc(this,"edgeType",Yu,this),yc(this,"nodes",Ku,this),yc(this,"edges",$u,this),yc(this,"overlapMode",Zu,this),yc(this,"background",Ju,this),yc(this,"transformModel",Qu,this),yc(this,"editConfigModel",ec,this),yc(this,"gridSize",tc,this),yc(this,"partial",nc,this),yc(this,"fakerNode",rc,this);var n,r=t.container,i=t.background,o=void 0===i?{}:i,a=t.grid,s=t.idGenerator,l=t.edgeGenerator,u=t.animation,c=t.customTrajectory;this.background=o,"object"===vc(a)&&(this.gridSize=a.size),this.rootEl=r,this.editConfigModel=new Ci(t),this.eventCenter=new Fo,this.transformModel=new Ri(this.eventCenter,t),this.theme=No(t.style),this.edgeType=t.edgeType||"polyline",this.width=t.width,this.height=t.height,this.animation=(n=u)&&"boolean"!=typeof n?Ro(wo(lc),n):wo(!0===n?uc:lc),this.partial=t.partial,this.overlapMode=t.overlapMode||0,this.idGenerator=s,this.customTrajectory=c,this.edgeGenerator=iu(this,l),this.width=t.width||this.rootEl.getBoundingClientRect().width,this.height=t.height||this.rootEl.getBoundingClientRect().height,this.flowId=ya()}var t,n,r;return t=e,n=[{key:"nodesMap",get:function(){return this.nodes.reduce((function(e,t,n){return e[t.id]={index:n,model:t},e}),{})}},{key:"edgesMap",get:function(){return this.edges.reduce((function(e,t,n){return e[t.id]={index:n,model:t},e}),{})}},{key:"modelsMap",get:function(){return[].concat(dc(this.nodes),dc(this.edges)).reduce((function(e,t){return e[t.id]=t,e}),{})}},{key:"sortElements",get:function(){var e=[];this.nodes.forEach((function(t){return e.push(t)})),this.edges.forEach((function(t){return e.push(t)})),e=e.sort((function(e,t){return e.zIndex-t.zIndex}));for(var t=[],n=[-200,-200],r=[this.width+wc,this.height+wc],i=0;i<e.length;i++){var o=e[i];o.visible&&(!this.partial||o.isSelected||this.isElementInArea(o,n,r,!1,!1))&&t.push(o)}return t}},{key:"textEditElement",get:function(){var e=this.nodes.find((function(e){return e.state===ci.TEXT_EDIT})),t=this.edges.find((function(e){return e.state===ci.TEXT_EDIT}));return e||t}},{key:"selectElements",get:function(){var e=new Map;return this.nodes.forEach((function(t){t.isSelected&&e.set(t.id,t)})),this.edges.forEach((function(t){t.isSelected&&e.set(t.id,t)})),e}},{key:"selectNodes",get:function(){var e=[];return this.nodes.forEach((function(t){t.isSelected&&e.push(t)})),e}},{key:"getAreaElement",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=[],a=[];this.nodes.forEach((function(e){return a.push(e)})),this.edges.forEach((function(e){return a.push(e)}));for(var s=0;s<a.length;s++){var l=a[s];i&&!l.visible||!this.isElementInArea(l,e,t,n,r)||o.push(l)}return o}},{key:"getModel",value:function(e){return this.modelMap.get(e)}},{key:"getNodeModelById",value:function(e){var t;return this.fakerNode&&e===this.fakerNode.id?this.fakerNode:null===(t=this.nodesMap[e])||void 0===t?void 0:t.model}},{key:"getPointByClient",value:function(e){var t=e.x,n=e.y,r=this.rootEl.getBoundingClientRect(),i={x:t-r.left,y:n-r.top},o=hc(this.transformModel.HtmlPointToCanvasPoint([i.x,i.y]),2);return{domOverlayPosition:i,canvasOverlayPosition:{x:o[0],y:o[1]}}}},{key:"isElementInArea",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(e.BaseType===di.NODE){for(var o=Za(e=e),a=o.minX,s=o.minY,l=o.maxX,u=o.maxY,c=[{x:a,y:s},{x:l,y:s},{x:l,y:u},{x:a,y:u}],f=i,h=0;h<c.length;h++){var d=c[h],p=d.x,g=d.y,v=this.transformModel.CanvasPointToHtmlPoint([p,g]),y=hc(v,2);if(p=y[0],g=y[1],Go([p,g],t,n)!==i){f=!i;break}}return f}if(e.BaseType===di.EDGE){var m=e=e,b=m.startPoint,_=m.endPoint,x=this.transformModel.CanvasPointToHtmlPoint([b.x,b.y]),w=this.transformModel.CanvasPointToHtmlPoint([_.x,_.y]),S=Go(x,t,n),k=Go(w,t,n);return r?S&&k:S||k}return!1}},{key:"graphDataToModel",value:function(e){var t=this;if(this.width&&this.height||this.resize(),!e)return this.nodes=[],void(this.edges=[]);e.nodes?this.nodes=pr(e.nodes,(function(e){return t.getModelAfterSnapToGrid(e)})):this.nodes=[],e.edges?this.edges=pr(e.edges,(function(e){var n=t.getModel(e.type);if(!n)throw new Error("找不到".concat(e.type,"对应的边。"));return new n(e,t)})):this.edges=[]}},{key:"modelToGraphData",value:function(){var e=[];this.edges.forEach((function(t){var n=t.getData();n&&!t.virtual&&e.push(n)}));var t=[];return this.nodes.forEach((function(e){var n=e.getData();n&&!e.virtual&&t.push(n)})),{nodes:t,edges:e}}},{key:"modelToHistoryData",value:function(){for(var e=!1,t=[],n=0;n<this.nodes.length;n++){var r=this.nodes[n];if(r.isDragging){e=!0;break}t.push(r.getHistoryData())}if(e)return!1;for(var i=!1,o=[],a=0;a<this.edges.length;a++){var s=this.edges[a];if(s.isDragging){i=!0;break}o.push(s.getHistoryData())}return!i&&{nodes:t,edges:o}}},{key:"getEdgeModelById",value:function(e){var t;return null===(t=this.edgesMap[e])||void 0===t?void 0:t.model}},{key:"getElement",value:function(e){return this.modelsMap[e]}},{key:"getNodeEdges",value:function(e){for(var t=[],n=0;n<this.edges.length;n++){var r=this.edges[n],i=this.edges[n].sourceNodeId===e,o=this.edges[n].targetNodeId===e;(i||o)&&t.push(r)}return t}},{key:"getSelectElements",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.selectElements,n={nodes:[],edges:[]};return t.forEach((function(r){if(r.BaseType===di.NODE&&n.nodes.push(r.getData()),r.BaseType===di.EDGE){var i=r.getData(),o=t.get(i.sourceNodeId)&&t.get(i.targetNodeId);(e||o)&&n.edges.push(i)}})),n}},{key:"updateAttributes",value:function(e,t){this.getElement(e).updateAttributes(t)}},{key:"changeNodeId",value:function(e,t){return t||(t=ya()),this.nodesMap[t]?"":this.nodesMap[e]?(this.edges.forEach((function(n){n.sourceNodeId===e&&(n.sourceNodeId=t),n.targetNodeId===e&&(n.targetNodeId=t)})),this.nodesMap[e].model.id=t,this.nodesMap[t]=this.nodesMap[e],t):""}},{key:"changeEdgeId",value:function(e,t){return t||(t=ya()),this.edgesMap[t]?"":this.edgesMap[e]?(this.edges.forEach((function(n){n.id===e&&n.changeEdgeId(t)})),t):""}},{key:"setFakerNode",value:function(e){this.fakerNode=e}},{key:"removeFakerNode",value:function(){this.fakerNode=null}},{key:"setModel",value:function(e,t){return this.modelMap.set(e,t)}},{key:"toFront",value:function(e){var t,n,r,i=(null===(t=this.nodesMap[e])||void 0===t?void 0:t.model)||(null===(n=this.edgesMap[e])||void 0===n?void 0:n.model);i&&(this.overlapMode===vi.DEFAULT&&(null===(r=this.topElement)||void 0===r||r.setZIndex(),i.setZIndex(9999),this.topElement=i),this.overlapMode===vi.INCREASE&&this.setElementZIndex(e,"top"))}},{key:"setElementZIndex",value:function(e,t){var n,r,i,o=(null===(n=this.nodesMap[e])||void 0===n?void 0:n.model)||(null===(r=this.edgesMap[e])||void 0===r?void 0:r.model);o&&("number"==typeof t&&(i=t),"top"===t&&(i=cs()),"bottom"===t&&(i=--us),o.setZIndex(i))}},{key:"deleteNode",value:function(e){var t=this.nodesMap[e].model.getData();this.deleteEdgeBySource(e),this.deleteEdgeByTarget(e),this.nodes.splice(this.nodesMap[e].index,1),this.eventCenter.emit(pi.NODE_DELETE,{data:t})}},{key:"addNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pi.NODE_ADD,n=arguments.length>2?arguments[2]:void 0,r=ss(e);r.id&&this.nodesMap[e.id]&&delete r.id;var i=this.getModelAfterSnapToGrid(r);this.nodes.push(i);var o=i.getData(),a={data:o};return n&&(a.e=n),this.eventCenter.emit(t,a),i}},{key:"getModelAfterSnapToGrid",value:function(e){var t=this.getModel(e.type);if(!t)throw new Error("找不到".concat(e.type,"对应的节点,请确认是否已注册此类型节点。"));var n=e.x,r=e.y;return n&&r&&(e.x=zo(n,this.gridSize),e.y=zo(r,this.gridSize),"object"===vc(e.text)&&(e.text.x+=e.x-n,e.text.y+=e.y-r)),new t(e,this)}},{key:"cloneNode",value:function(e){var t=this.getNodeModelById(e),n=t.getData();n.x+=30,n.y+=30,delete n.id,n.text&&(n.text.x+=30,n.text.y+=30);var r=this.addNode(n);return r.setSelected(!0),t.setSelected(!1),r.getData()}},{key:"moveNode",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.nodesMap[e];if(i){var o=i.model,a=o.getMoveDistance(t,n,r),s=hc(a,2);t=s[0],n=s[1],this.moveEdge(e,t,n)}}},{key:"moveNode2Coordinate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.nodesMap[e];if(i){var o=i.model,a=o.x,s=o.y,l=t-a,u=n-s;this.moveNode(e,l,u,r)}}},{key:"editText",value:function(e){this.setElementStateById(e,ci.TEXT_EDIT)}},{key:"addEdge",value:function(e){var t=ss(e),n=t.type;n||(n=this.edgeType),t.id&&this.edgesMap[t.id]&&delete t.id;var r=this.getModel(n);if(!r)throw new Error("找不到".concat(n,"对应的边,请确认是否已注册此类型边。"));var i=new r(fc(fc({},t),{},{type:n}),this),o=i.getData();return this.edges.push(i),this.eventCenter.emit(pi.EDGE_ADD,{data:o}),i}},{key:"moveEdge",value:function(e,t,n){for(var r=0;r<this.edges.length;r++){var i=this.edges[r],o=i.textPosition,a=o.x,s=o.y,l=this.edges[r].sourceNodeId===e,u=this.edges[r].targetNodeId===e;l&&i.moveStartPoint(t,n),u&&i.moveEndPoint(t,n),(l||u)&&this.handleEdgeTextMove(i,a,s)}}},{key:"handleEdgeTextMove",value:function(e,t,n){var r;if(!0===e.customTextPosition)e.resetTextPosition();else if(e.modelType===hi.POLYLINE_EDGE&&null!==(r=e.text)&&void 0!==r&&r.value){var i=e.text,o=tu(i,e.points);e.moveText(o.x-i.x,o.y-i.y)}else{var a=e.textPosition,s=a.x,l=a.y;e.moveText(s-t,l-n)}}},{key:"deleteEdgeBySourceAndTarget",value:function(e,t){for(var n=0;n<this.edges.length;n++)if(this.edges[n].sourceNodeId===e&&this.edges[n].targetNodeId===t){var r=this.edges[n].getData();this.edges.splice(n,1),n--,this.eventCenter.emit(pi.EDGE_DELETE,{data:r})}}},{key:"deleteEdgeById",value:function(e){if(this.edgesMap[e]){var t=this.edgesMap[e].index,n=this.edgesMap[e].model.getData();this.edges.splice(t,1),this.eventCenter.emit(pi.EDGE_DELETE,{data:n})}}},{key:"deleteEdgeBySource",value:function(e){for(var t=0;t<this.edges.length;t++)if(this.edges[t].sourceNodeId===e){var n=this.edges[t].getData();this.edges.splice(t,1),t--,this.eventCenter.emit(pi.EDGE_DELETE,{data:n})}}},{key:"deleteEdgeByTarget",value:function(e){for(var t=0;t<this.edges.length;t++)if(this.edges[t].targetNodeId===e){var n=this.edges[t].getData();this.edges.splice(t,1),t--,this.eventCenter.emit(pi.EDGE_DELETE,{data:n})}}},{key:"setElementStateById",value:function(e,t,n){this.nodes.forEach((function(r){r.id===e?r.setElementState(t,n):r.setElementState(ci.DEFAULT)})),this.edges.forEach((function(r){r.id===e?r.setElementState(t,n):r.setElementState(ci.DEFAULT)}))}},{key:"updateText",value:function(e,t){this.nodes.forEach((function(n){n.id===e&&n.updateText(t)})),this.edges.forEach((function(n){n.id===e&&n.updateText(t)}))}},{key:"selectNodeById",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n||this.clearSelectElements();var r=null===(t=this.nodesMap[e])||void 0===t?void 0:t.model;null==r||r.setSelected(!0)}},{key:"selectEdgeById",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n||this.clearSelectElements();var r=null===(t=this.edgesMap[e])||void 0===t?void 0:t.model;null==r||r.setSelected(!0)}},{key:"selectElementById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t||this.clearSelectElements();var n=this.getElement(e);null==n||n.setSelected(!0)}},{key:"clearSelectElements",value:function(){var e;this.selectElements.forEach((function(e){null==e||e.setSelected(!1)})),this.selectElements.clear(),this.overlapMode===vi.DEFAULT&&(null===(e=this.topElement)||void 0===e||e.setZIndex())}},{key:"moveNodes",value:function(e,t,n){for(var r=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.reduce((function(e,o){var a=r.nodesMap[o].model.getMoveDistance(t,n,i);return e[o]=a,e}),{}),a=0;a<this.edges.length;a++){var s=this.edges[a],l=s.textPosition,u=l.x,c=l.y,f=o[s.sourceNodeId],h=o[s.targetNodeId],d=void 0,p=void 0;if(f&&h&&s.modelType===hi.POLYLINE_EDGE){var g=hc(f,2);d=g[0],p=g[1],s.updatePointsList(d,p)}else{if(f){var v=hc(f,2);d=v[0],p=v[1],s.moveStartPoint(d,p)}if(h){var y=hc(h,2);d=y[0],p=y[1],s.moveEndPoint(d,p)}}(f||h)&&this.handleEdgeTextMove(s,u,c)}}},{key:"addNodeMoveRules",value:function(e){this.nodeMoveRules.includes(e)||this.nodeMoveRules.push(e)}},{key:"setDefaultEdgeType",value:function(e){this.edgeType=e}},{key:"changeNodeType",value:function(e,t){var n=this.getNodeModelById(e);if(n){var r=n.getData();r.type=t;var i=this.getModel(t);if(!i)throw new Error("找不到".concat(t,"对应的节点,请确认是否已注册此类型节点。"));var o=new i(r,this);this.nodes.splice(this.nodesMap[e].index,1,o),this.getNodeEdges(e).forEach((function(t){if(t.sourceNodeId===e){var n=rs(o,t.startPoint,o.width,o.height);t.updateStartPoint(n)}if(t.targetNodeId===e){var r=rs(o,t.endPoint,o.width,o.height);t.updateEndPoint(r)}}))}}},{key:"changeEdgeType",value:function(e,t){var n=this.getEdgeModelById(e);if(n&&n.type!==t){var r=n.getData();r.type=t;var i=this.getModel(t);if(!i)throw new Error("找不到".concat(t,"对应的节点,请确认是否已注册此类型节点。"));delete r.pointsList;var o=new i(r,this);this.edges.splice(this.edgesMap[e].index,1,o)}}},{key:"getNodeIncomingEdge",value:function(e){var t=[];return this.edges.forEach((function(n){n.targetNodeId===e&&t.push(n)})),t}},{key:"getNodeOutgoingEdge",value:function(e){var t=[];return this.edges.forEach((function(n){n.sourceNodeId===e&&t.push(n)})),t}},{key:"getAnchorIncomingEdge",value:function(e){var t=[];return this.edges.forEach((function(n){n.targetAnchorId===e&&t.push(n)})),t}},{key:"getAnchorOutcomingEdge",value:function(e){var t=[];return this.edges.forEach((function(n){n.sourceAnchorId===e&&t.push(n)})),t}},{key:"getNodeIncomingNode",value:function(e){var t=this,n=[];return this.edges.forEach((function(r){r.targetNodeId===e&&n.push(t.nodesMap[r.sourceNodeId].model)})),n}},{key:"getNodeOutgoingNode",value:function(e){var t=this,n=[];return this.edges.forEach((function(r){r.sourceNodeId===e&&n.push(t.nodesMap[r.targetNodeId].model)})),n}},{key:"setTheme",value:function(e){this.theme=No(fc(fc({},this.theme),e))}},{key:"resize",value:function(e,t){this.width=e||this.rootEl.getBoundingClientRect().width,this.height=t||this.rootEl.getBoundingClientRect().height,!this.width||this.height}},{key:"clearData",value:function(){this.nodes=[],this.edges=[]}},{key:"getVirtualRectSize",value:function(){var e=this.nodes,t=[],n=[];e.forEach((function(e){var r=e.x,i=e.y,o=e.width,a=e.height,s=e.getNodeStyle().strokeWidth,l=void 0===s?0:s,u=r+o/2+l,c=r-o/2-l,f=i+a/2+l,h=i-a/2-l;t=t.concat([u,c].filter((function(e){return!Number.isNaN(e)}))),n=n.concat([f,h].filter((function(e){return!Number.isNaN(e)})))}));var r=Math.min.apply(Math,dc(t)),i=Math.max.apply(Math,dc(t)),o=Math.min.apply(Math,dc(n)),a=i-r||0,s=Math.max.apply(Math,dc(n))-o||0;return{virtualRectWidth:a,virtualRectHeight:s,virtualRectCenterPositionX:r+a/2,virtualRectCenterPositionY:o+s/2}}},{key:"translateCenter",value:function(){var e=this.nodes,t=this.width,n=this.height,r=this.rootEl,i=this.transformModel;if(e.length){var o=t||r.clientWidth,a=n||r.clientHeight,s=this.getVirtualRectSize(),l=s.virtualRectCenterPositionX,u=s.virtualRectCenterPositionY;i.focusOn(l,u,o,a)}}},{key:"fitView",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=this.nodes,r=this.width,i=this.height,o=this.rootEl,a=this.transformModel;if(n.length){var s=r||o.clientWidth,l=i||o.clientHeight,u=this.getVirtualRectSize(),c=u.virtualRectWidth,f=u.virtualRectHeight,h=u.virtualRectCenterPositionX,d=u.virtualRectCenterPositionY,p=(c+t)/s,g=(f+e)/l,v=0;v=1/Math.max(p,g);var y=[s/2,l/2];a.zoom(v,y),a.focusOn(h,d,s,l)}}},{key:"openEdgeAnimation",value:function(e){this.getEdgeModelById(e).openEdgeAnimation()}},{key:"closeEdgeAnimation",value:function(e){this.getEdgeModelById(e).closeEdgeAnimation()}}],n&&mc(t.prototype,n),r&&mc(t,r),e}(),qu=_c(Wu.prototype,"width",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xu=_c(Wu.prototype,"height",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Yu=_c(Wu.prototype,"edgeType",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ku=_c(Wu.prototype,"nodes",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),$u=_c(Wu.prototype,"edges",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),Zu=_c(Wu.prototype,"overlapMode",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return vi.DEFAULT}}),Ju=_c(Wu.prototype,"background",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qu=_c(Wu.prototype,"transformModel",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ec=_c(Wu.prototype,"editConfigModel",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tc=_c(Wu.prototype,"gridSize",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),nc=_c(Wu.prototype,"partial",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),rc=_c(Wu.prototype,"fakerNode",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_c(Wu.prototype,"nodesMap",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"nodesMap"),Wu.prototype),_c(Wu.prototype,"edgesMap",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"edgesMap"),Wu.prototype),_c(Wu.prototype,"modelsMap",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"modelsMap"),Wu.prototype),_c(Wu.prototype,"sortElements",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"sortElements"),Wu.prototype),_c(Wu.prototype,"textEditElement",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"textEditElement"),Wu.prototype),_c(Wu.prototype,"selectElements",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"selectElements"),Wu.prototype),_c(Wu.prototype,"selectNodes",[i.m],Object.getOwnPropertyDescriptor(Wu.prototype,"selectNodes"),Wu.prototype),_c(Wu.prototype,"setFakerNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"setFakerNode"),Wu.prototype),_c(Wu.prototype,"removeFakerNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"removeFakerNode"),Wu.prototype),_c(Wu.prototype,"setModel",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"setModel"),Wu.prototype),_c(Wu.prototype,"toFront",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"toFront"),Wu.prototype),_c(Wu.prototype,"setElementZIndex",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"setElementZIndex"),Wu.prototype),_c(Wu.prototype,"deleteNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"deleteNode"),Wu.prototype),_c(Wu.prototype,"addNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"addNode"),Wu.prototype),_c(Wu.prototype,"cloneNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"cloneNode"),Wu.prototype),_c(Wu.prototype,"moveNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"moveNode"),Wu.prototype),_c(Wu.prototype,"moveNode2Coordinate",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"moveNode2Coordinate"),Wu.prototype),_c(Wu.prototype,"editText",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"editText"),Wu.prototype),_c(Wu.prototype,"addEdge",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"addEdge"),Wu.prototype),_c(Wu.prototype,"moveEdge",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"moveEdge"),Wu.prototype),_c(Wu.prototype,"deleteEdgeBySourceAndTarget",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"deleteEdgeBySourceAndTarget"),Wu.prototype),_c(Wu.prototype,"deleteEdgeById",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"deleteEdgeById"),Wu.prototype),_c(Wu.prototype,"deleteEdgeBySource",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"deleteEdgeBySource"),Wu.prototype),_c(Wu.prototype,"deleteEdgeByTarget",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"deleteEdgeByTarget"),Wu.prototype),_c(Wu.prototype,"setElementStateById",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"setElementStateById"),Wu.prototype),_c(Wu.prototype,"updateText",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"updateText"),Wu.prototype),_c(Wu.prototype,"selectNodeById",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"selectNodeById"),Wu.prototype),_c(Wu.prototype,"selectEdgeById",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"selectEdgeById"),Wu.prototype),_c(Wu.prototype,"selectElementById",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"selectElementById"),Wu.prototype),_c(Wu.prototype,"clearSelectElements",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"clearSelectElements"),Wu.prototype),_c(Wu.prototype,"moveNodes",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"moveNodes"),Wu.prototype),_c(Wu.prototype,"setDefaultEdgeType",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"setDefaultEdgeType"),Wu.prototype),_c(Wu.prototype,"changeNodeType",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"changeNodeType"),Wu.prototype),_c(Wu.prototype,"changeEdgeType",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"changeEdgeType"),Wu.prototype),_c(Wu.prototype,"getNodeIncomingEdge",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"getNodeIncomingEdge"),Wu.prototype),_c(Wu.prototype,"getNodeOutgoingEdge",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"getNodeOutgoingEdge"),Wu.prototype),_c(Wu.prototype,"getAnchorIncomingEdge",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"getAnchorIncomingEdge"),Wu.prototype),_c(Wu.prototype,"getAnchorOutcomingEdge",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"getAnchorOutcomingEdge"),Wu.prototype),_c(Wu.prototype,"getNodeIncomingNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"getNodeIncomingNode"),Wu.prototype),_c(Wu.prototype,"getNodeOutgoingNode",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"getNodeOutgoingNode"),Wu.prototype),_c(Wu.prototype,"setTheme",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"setTheme"),Wu.prototype),_c(Wu.prototype,"resize",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"resize"),Wu.prototype),_c(Wu.prototype,"clearData",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"clearData"),Wu.prototype),_c(Wu.prototype,"translateCenter",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"translateCenter"),Wu.prototype),_c(Wu.prototype,"fitView",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"fitView"),Wu.prototype),_c(Wu.prototype,"openEdgeAnimation",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"openEdgeAnimation"),Wu.prototype),_c(Wu.prototype,"closeEdgeAnimation",[i.k],Object.getOwnPropertyDescriptor(Wu.prototype,"closeEdgeAnimation"),Wu.prototype),Wu),kc=Sc;function Ec(e){return Ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(e)}function Oc(){return Oc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oc.apply(this,arguments)}function Cc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ac(e,t){return Ac=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ac(e,t)}function Tc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Dc(e);if(t){var i=Dc(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Pc(this,n)}}function Pc(e,t){if(t&&("object"===Ec(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Mc(e)}function Mc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Dc(e)}function Ic(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lc,Rc=Mx(xc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ac(e,t)}(o,e);var t,n,r,i=Tc(o);function o(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Ic(Mc(t=i.call(this)),"stepDrag",void 0),Ic(Mc(t),"stepScrollX",0),Ic(Mc(t),"stepScrollY",0),Ic(Mc(t),"onDragging",(function(e){var n=e.deltaX,r=e.deltaY;t.setState({isDragging:!0});var i=t.props.graphModel,o=i.transformModel;!0!==i.editConfigModel.stopMoveGraph&&o.translate(n,r)})),Ic(Mc(t),"onDragEnd",(function(){t.setState({isDragging:!1})})),Ic(Mc(t),"zoomHandler",(function(e){var n=t.props,r=n.graphModel,i=r.editConfigModel,o=r.transformModel,a=r.gridSize,s=n.graphModel,l=e.deltaX,u=e.deltaY;if(i.stopScrollGraph||!0===e.ctrlKey){if(!i.stopZoomGraph){e.preventDefault();var c=s.getPointByClient({x:e.clientX,y:e.clientY}).canvasOverlayPosition,f=c.x,h=c.y;o.zoom(e.deltaY<0,[f,h])}}else{if(e.preventDefault(),t.stepScrollX+=l,t.stepScrollY+=u,Math.abs(t.stepScrollX)>=a){var d=t.stepScrollX%a,p=t.stepScrollX-d;o.translate(-p*o.SCALE_X,0),t.stepScrollX=d}if(Math.abs(t.stepScrollY)>=a){var g=t.stepScrollY%a,v=t.stepScrollY-g;o.translate(0,-v*o.SCALE_Y),t.stepScrollY=g}}})),Ic(Mc(t),"clickHandler",(function(e){if("canvas-overlay"===e.target.getAttribute("name")){var n=t.props.graphModel;n.selectElements.size>0&&n.clearSelectElements(),n.eventCenter.emit(pi.BLANK_CLICK,{e:e})}})),Ic(Mc(t),"handleContextMenu",(function(e){if("canvas-overlay"===e.target.getAttribute("name")){e.preventDefault();var n=t.props.graphModel,r=n.getPointByClient({x:e.clientX,y:e.clientY});n.eventCenter.emit(pi.BLANK_CONTEXTMENU,{e:e,position:r})}})),Ic(Mc(t),"mouseDownHandler",(function(e){var n=t.props.graphModel,r=n.eventCenter,i=n.editConfigModel,o=n.transformModel.SCALE_X,a=n.gridSize,s=e.target,l=!i.adjustEdge&&!i.adjustNodePosition;("canvas-overlay"===s.getAttribute("name")||l)&&(!0!==i.stopMoveGraph?(t.stepDrag.setStep(a*o),t.stepDrag.handleMouseDown(e)):r.emit(pi.BLANK_MOUSEDOWN,{e:e}),t.clickHandler(e))}));var n=e.graphModel,r=n.gridSize,a=n.eventCenter;return t.stepDrag=new lu({onDragging:t.onDragging,onDragEnd:t.onDragEnd,step:r,eventType:"BLANK",isStopPropagation:!1,eventCenter:a,model:null}),t.state={isDragging:!1},t}return t=o,(n=[{key:"render",value:function(){var e=this.props.graphModel.transformModel.getTransformStyle().transform,t=this.props,n=t.children,r=t.dnd,i=this.state.isDragging;return Object(ee.g)("svg",Oc({xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",name:"canvas-overlay",onWheel:this.zoomHandler,onMouseDown:this.mouseDownHandler,onContextMenu:this.handleContextMenu,className:i?"lf-canvas-overlay lf-dragging":"lf-canvas-overlay lf-drag-able"},r.eventMap()),Object(ee.g)("g",{transform:e},n))}}])&&Cc(t.prototype,n),r&&Cc(t,r),o}(ee.a))||xc;function jc(e){return jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jc(e)}function Nc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fc(e,t){return Fc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fc(e,t)}function zc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Hc(e);if(t){var i=Hc(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Uc(this,n)}}function Uc(e,t){if(t&&("object"===jc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Hc(e)}var Vc=Mx(Lc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fc(e,t)}(o,e);var t,n,r,i=zc(o);function o(){return Nc(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"componentDidMount",value:function(){this.triggerToolRender()}},{key:"componentDidUpdate",value:function(){this.triggerToolRender()}},{key:"getTools",value:function(){var e=this.props,t=e.tool,n=e.graphModel,r=t.getTools().map((function(e){return Object(ee.g)(e,{graphModel:n,logicFlow:t.instance})}));return t.components=r,r}},{key:"triggerToolRender",value:function(){var e=this.props,t=e.tool,n=e.graphModel,r=document.querySelector("#ToolOverlay_".concat(n.flowId)),i=t.getInstance();i.components.forEach((function(e){return e(i,r)})),i.components=[]}},{key:"render",value:function(){var e=this.props.graphModel;return Object(ee.g)("div",{className:"lf-tool-overlay",id:"ToolOverlay_".concat(e.flowId)},this.getTools())}}])&&Bc(t.prototype,n),r&&Bc(t,r),o}(ee.a))||Lc;function Gc(e){return Gc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gc(e)}function Wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xc(e,t){return Xc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xc(e,t)}function Yc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$c(e);if(t){var i=$c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Kc(this,n)}}function Kc(e,t){if(t&&("object"===Gc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$c(e)}var Zc,Jc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xc(e,t)}(o,e);var t,n,r,i=Yc(o);function o(){return Wc(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"render",value:function(){var e=this.props.background;return Object(ee.g)("div",{className:"lf-background"},Object(ee.g)("div",{style:e,className:"lf-background-area"}))}}])&&qc(t.prototype,n),r&&qc(t,r),o}(ee.a);function Qc(e){return Qc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qc(e)}function ef(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nf(e,t){return nf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},nf(e,t)}function rf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sf(e);if(t){var i=sf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return of(this,n)}}function of(e,t){if(t&&("object"===Qc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return af(e)}function af(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},sf(e)}function lf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uf=Mx(Zc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nf(e,t)}(o,e);var t,n,r,i=rf(o);function o(){var e;ef(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return lf(af(e=i.call.apply(i,[this].concat(n))),"id",ya()),e}return t=o,(n=[{key:"renderDot",value:function(){var e=this.props,t=e.config,n=t.color,r=t.thickness,i=void 0===r?2:r,o=e.size,a=e.visible,s=Math.min(Math.max(2,i),o/2),l=1;return a||(l=0),Object(ee.g)("rect",{width:s,height:s,rx:s/2,ry:s/2,fill:n,opacity:l})}},{key:"renderMesh",value:function(){var e=this.props,t=e.config,n=t.color,r=t.thickness,i=void 0===r?1:r,o=e.size,a=e.visible,s=Math.min(Math.max(1,i),o/2),l="M ".concat(o," 0 H0 M0 0 V0 ").concat(o),u=1;return a||(u=0),Object(ee.g)("path",{d:l,stroke:n,strokeWidth:s,opacity:u})}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.size,r=e.graphModel.transformModel,i=[r.SCALE_X,r.SKEW_Y,r.SKEW_X,r.SCALE_Y,r.TRANSLATE_X,r.TRANSLATE_Y].join(","),o="matrix(".concat(i,")");return Object(ee.g)("div",{className:"lf-grid"},Object(ee.g)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%"},Object(ee.g)("defs",null,Object(ee.g)("pattern",{id:this.id,patternUnits:"userSpaceOnUse",patternTransform:o,x:"0",y:"0",width:n,height:n},"dot"===t&&this.renderDot(),"mesh"===t&&this.renderMesh())),Object(ee.g)("rect",{width:"100%",height:"100%",fill:"url(#".concat(this.id,")")})))}}])&&tf(t.prototype,n),r&&tf(t,r),o}(ee.a))||Zc;function cf(e){return cf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cf(e)}function ff(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hf(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}uf.defaultProps={size:20,visible:!0,type:"dot",config:{color:"#ababab",thickness:1}},n(53);var df,pf=function(e){var t={x1:10,y1:10,x2:20,y2:20,stroke:"black"};return Object.entries(e).forEach((function(e){var n=ff(e,2),r=n[0],i=n[1];("style"===r||"object"!==cf(i))&&(t[r]=i)})),Object(ee.g)("line",t)};function gf(e){return gf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gf(e)}function vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vf(Object(n),!0).forEach((function(t){mf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xf(e,t){return xf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xf(e,t)}function wf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kf(e);if(t){var i=kf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Sf(this,n)}}function Sf(e,t){if(t&&("object"===gf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kf(e)}var Ef,Of=Mx(df=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xf(e,t)}(o,e);var t,n,r,i=wf(o);function o(){return bf(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"render",value:function(){var e=this.props.snaplineModel,t=e.position,n=e.isShowHorizontal,r=e.isShowVertical,i=e.getStyle(),o=t.x,a=void 0===o?0:o,s=t.y,l=void 0===s?0:s,u=yf(yf({x1:-1e5,y1:l,x2:1e5,y2:l},i),{},{stroke:n?i.stroke:"none"}),c=yf(yf({x1:a,y1:-1e5,x2:a,y2:1e5},i),{},{stroke:r?i.stroke:"none"});return Object(ee.g)("g",{className:"lf-snapline"},Object(ee.g)(pf,u),Object(ee.g)(pf,c))}}])&&_f(t.prototype,n),r&&_f(t,r),o}(ee.a))||df;function Cf(e){return Cf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cf(e)}function Af(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tf(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pf(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.className,a=e.radius,s=t-r/2,l=n-i/2,u={};return Object.entries(e).forEach((function(e){var t=Af(e,2),n=t[0],r=t[1];"object"!==Cf(r)&&(u[n]=r)})),u.className=o?"lf-basic-shape ".concat(o):"lf-basic-shape",a&&(u.rx=a,u.ry=a),u.x=s,u.y=l,Object(ee.g)("rect",u)}function Mf(e){return Mf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mf(e)}function Df(){return Df=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Df.apply(this,arguments)}function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?If(Object(n),!0).forEach((function(t){Rf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bf(e,t){return Bf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Bf(e,t)}function Ff(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Uf(e);if(t){var i=Uf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return zf(this,n)}}function zf(e,t){if(t&&("object"===Mf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Uf(e)}Pf.defaultProps={className:"",radius:""};var Hf,Vf=Mx(Ef=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bf(e,t)}(o,e);var t,n,r,i=Ff(o);function o(){return jf(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getNodesOutline",value:function(){var e=this.props.graphModel,t=e.nodes,n=e.editConfigModel,r=n.hoverOutline,i=n.nodeSelectedOutline,o=[];return t.forEach((function(e){if(e.isHovered||e.isSelected){var t=e.isHovered,n=e.isSelected,a=e.x,s=e.y,l=e.width,u=e.height;if(i&&n||r&&t){var c=e.getOutlineStyle(),f={};if(Object.keys(c).forEach((function(e){"hover"!==e&&(f[e]=c[e])})),t){var h=c.hover;f=Lf(Lf({},f),h)}o.push(Object(ee.g)(Pf,Df({transform:e.transform,className:"lf-outline-node",x:a,y:s,width:l+10,height:u+10},f)))}}})),o}},{key:"getEdgeOutline",value:function(){for(var e=this.props.graphModel,t=e.edges,n=e.editConfigModel,r=n.edgeSelectedOutline,i=n.hoverOutline,o=[],a=0;a<t.length;a++){var s=t[a];(r&&s.isSelected||i&&s.isHovered)&&(s.modelType===hi.LINE_EDGE?o.push(this.getLineOutline(s)):s.modelType===hi.POLYLINE_EDGE?o.push(this.getPolylineOutline(s)):s.modelType===hi.BEZIER_EDGE&&o.push(this.getBezierOutline(s)))}return o}},{key:"getLineOutline",value:function(e){var t=e.startPoint,n=e.endPoint,r=(t.x+n.x)/2,i=(t.y+n.y)/2,o=Math.abs(t.x-n.x)+10,a=Math.abs(t.y-n.y)+10,s=e.getOutlineStyle();return Object(ee.g)(Pf,Df({className:"lf-outline-edge",x:r,y:i,width:o,height:a},s))}},{key:"getPolylineOutline",value:function(e){var t=e.points,n=Gl(t),r=xl(n,8),i=r.x,o=r.y,a=r.width,s=r.height,l=e.getOutlineStyle();return Object(ee.g)(Pf,Df({className:"lf-outline",x:i,y:o,width:a,height:s},l))}},{key:"getBezierOutline",value:function(e){var t=e.path,n=Jl(t),r=xl(n,8),i=r.x,o=r.y,a=r.width,s=r.height,l=e.getOutlineStyle();return Object(ee.g)(Pf,Df({className:"lf-outline",x:i,y:o,width:a,height:s},l))}},{key:"render",value:function(){return Object(ee.g)("g",{className:"lf-outline"},this.getNodesOutline(),this.getEdgeOutline())}}])&&Nf(t.prototype,n),r&&Nf(t,r),o}(ee.a))||Ef;function Gf(e){return Gf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gf(e)}function Wf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qf(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xf(e){var t=e.x,n=void 0===t?0:t,r=e.y,i=void 0===r?0:r,o=e.r,a=void 0===o?4:o,s=e.className,l={cx:n,cy:i,r:a,fill:"transparent",fillOpacity:1,strokeWidth:"1",stroke:"#000",strokeOpacity:1};return Object.entries(e).forEach((function(e){var t=Wf(e,2),n=t[0],r=t[1];"object"!==Gf(r)&&(l[n]=r)})),l.className=s?"lf-basic-shape ".concat(s):"lf-basic-shape",Object(ee.g)("circle",l)}function Yf(e){return Yf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yf(e)}function Kf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zf(){return Zf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zf.apply(this,arguments)}function Jf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eh(e,t,n){return t&&Qf(e.prototype,t),n&&Qf(e,n),e}function th(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function nh(e,t){return nh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},nh(e,t)}function rh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ah(e);if(t){var i=ah(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ih(this,n)}}function ih(e,t){if(t&&("object"===Yf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oh(e)}function oh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ah(e){return ah=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ah(e)}function sh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lh,uh=function(e){th(n,e);var t=rh(n);function n(){var e;return Jf(this,n),sh(oh(e=t.call(this)),"dragHandler",void 0),sh(oh(e),"onDragging",(function(t){var n=t.event,r=e.props,i=r.graphModel,o=r.bezierModel,a=r.type,s=i.getPointByClient({x:n.clientX,y:n.clientY}).canvasOverlayPosition,l=s.x,u=s.y;o.updateAdjustAnchor({x:l,y:u},a),i.eventCenter.emit(pi.EDGE_ADJUST,{data:o.getData()})})),sh(oh(e),"onDragEnd",(function(){e.props.bezierModel.isDragging=!1})),e.dragHandler=new lu({onDragging:e.onDragging,onDragEnd:e.onDragEnd}),e}return eh(n,[{key:"render",value:function(){var e=this,t=this.props.position,n=t.x,r=t.y,i=this.props.bezierModel.getEdgeStyle().adjustAnchor;return Object(ee.g)(Xf,Zf({className:"lf-bezier-adjust-anchor",x:n,y:r},i,{onMouseDown:function(t){e.dragHandler.handleMouseDown(t)}}))}}]),n}(ee.a),ch=Mx(Hf=function(e){th(n,e);var t=rh(n);function n(){return Jf(this,n),t.apply(this,arguments)}return eh(n,[{key:"getBezierAdjust",value:function(e,t){var n=e.path,r=e.id,i=Kf(Jl(n),4),o=i[0],a=i[1],s=i[2],l=i[3],u=e.getEdgeStyle().adjustLine,c=[];return c.push(Object(ee.g)(pf,Zf({x1:o.x,y1:o.y,x2:a.x,y2:a.y},u))),c.push(Object(ee.g)(uh,{position:a,bezierModel:e,graphModel:t,key:"".concat(r,"_ePre"),type:"sNext"})),c.push(Object(ee.g)(pf,Zf({x1:l.x,y1:l.y,x2:s.x,y2:s.y},u))),c.push(Object(ee.g)(uh,{position:s,bezierModel:e,graphModel:t,key:"".concat(r,"_sNext"),type:"ePre"})),c}},{key:"selectedBezierEdge",value:function(){for(var e=this.props.graphModel,t=e.edges,n=[],r=0;r<t.length;r++){var i=t[r];i.isSelected&&i.modelType===hi.BEZIER_EDGE&&i.draggable&&n.push(this.getBezierAdjust(i,e))}return n}},{key:"render",value:function(){return Object(ee.g)("g",{className:"lf-bezier-adjust"},this.selectedBezierEdge())}}]),n}(ee.a))||Hf;function fh(e){return fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fh(e)}function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ph(e,t){return ph=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ph(e,t)}function gh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yh(e);if(t){var i=yh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return vh(this,n)}}function vh(e,t){if(t&&("object"===fh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function yh(e){return yh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},yh(e)}var mh,bh=Mx(lh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}(o,e);var t,n,r,i=gh(o);function o(){return hh(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"render",value:function(){var e=this.props.graphModel.transformModel.getTransformStyle().transform,t=this.props.children;return Object(ee.g)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",className:"modification-overlay"},Object(ee.g)("g",{transform:e},t))}}])&&dh(t.prototype,n),r&&dh(t,r),o}(ee.a))||lh;function _h(e){return _h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_h(e)}function xh(){return xh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xh.apply(this,arguments)}function wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kh(e,t){return kh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kh(e,t)}function Eh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ch(e);if(t){var i=Ch(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Oh(this,n)}}function Oh(e,t){if(t&&("object"===_h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ch(e){return Ch=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ch(e)}var Ah=Mx(mh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}(o,e);var t,n,r,i=Eh(o);function o(){return wh(this,o),i.apply(this,arguments)}return t=o,n=[{key:"getComponent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"canvas-overlay",r=this.props.getView,i=r(e.type);return Object(ee.g)(i,{key:e.id,model:e,graphModel:t,overlay:n})}},{key:"render",value:function(){var e=this,t=this.props,n=t.graphModel,r=t.tool,i=t.options,o=t.dnd,a=t.snaplineModel,s={};i.width&&(s.width="".concat(n.width,"px")),i.height&&(s.height="".concat(n.height,"px"));var l=i.grid,u=n.fakerNode,c=n.editConfigModel.adjustEdge;return Object(ee.g)("div",{className:"lf-graph","flow-id":n.flowId,style:s},Object(ee.g)(Rc,{graphModel:n,dnd:o},Object(ee.g)("g",{className:"lf-base"},pr(n.sortElements,(function(t){return e.getComponent(t,n)}))),u?this.getComponent(u,n):""),Object(ee.g)(bh,{graphModel:n},Object(ee.g)(Vf,{graphModel:n}),c?Object(ee.g)(ch,{graphModel:n}):"",!1!==i.snapline?Object(ee.g)(Of,{snaplineModel:a}):""),Object(ee.g)(Vc,{graphModel:n,tool:r}),i.background&&Object(ee.g)(Jc,{background:i.background}),i.grid&&Object(ee.g)(uf,xh({},l,{graphModel:n})))}}],n&&Sh(t.prototype,n),r&&Sh(t,r),o}(ee.a))||mh,Th=Ah;function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ph(Object(n),!0).forEach((function(t){Ih(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ph(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lh=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ih(this,"nodeConfig",void 0),Ih(this,"lf",void 0),Ih(this,"fakerNode",void 0),Ih(this,"stopDrag",(function(){n.nodeConfig=null,window.document.removeEventListener("mouseup",n.stopDrag)})),Ih(this,"dragEnter",(function(e){n.nodeConfig&&!n.fakerNode&&(n.fakerNode=n.lf.createFakerNode(Mh(Mh({},n.nodeConfig),n.clientToLocalPoint({x:e.clientX,y:e.clientY}))))})),Ih(this,"onDragOver",(function(e){if(e.preventDefault(),n.fakerNode){var t=n.clientToLocalPoint({x:e.clientX,y:e.clientY}),r=t.x,i=t.y;n.fakerNode.moveTo(r,i);var o=n.fakerNode.getData();n.lf.setNodeSnapLine(o),n.lf.graphModel.eventCenter.emit(pi.NODE_DND_DRAG,{data:o})}return!1})),Ih(this,"onDragLeave",(function(){n.fakerNode&&(n.lf.removeNodeSnapLine(),n.lf.graphModel.removeFakerNode(),n.fakerNode=null)})),Ih(this,"onDrop",(function(e){n.lf.graphModel&&e&&n.nodeConfig&&(n.lf.addNode(Mh(Mh({},n.nodeConfig),n.clientToLocalPoint({x:e.clientX,y:e.clientY})),pi.NODE_DND_ADD,e),e.preventDefault(),e.stopPropagation(),n.nodeConfig=null,n.lf.removeNodeSnapLine(),n.lf.graphModel.removeFakerNode(),n.fakerNode=null)}));var r=t.lf;this.lf=r}var t,n,r;return t=e,(n=[{key:"clientToLocalPoint",value:function(e){var t=e.x,n=e.y,r=tr(this.lf.options,["grid","size"]),i=this.lf.graphModel.getPointByClient({x:t,y:n}).canvasOverlayPosition,o=i.x,a=i.y;return{x:zo(o,r),y:zo(a,r)}}},{key:"startDrag",value:function(e){var t=this.lf.graphModel.editConfigModel;null!=t&&t.isSilentMode||(this.nodeConfig=e,window.document.addEventListener("mouseup",this.stopDrag))}},{key:"eventMap",value:function(){return{onMouseEnter:this.dragEnter,onMouseOver:this.dragEnter,onMouseMove:this.onDragOver,onMouseLeave:this.onDragLeave,onMouseUp:this.onDrop}}}])&&Dh(t.prototype,n),r&&Dh(t,r),e}();function Rh(e){var t=e.container,n=e.grid,r=e.width,i=e.height;if(!t)throw new Error("请检查 container 参数是否有效");if("string"==typeof r||"string"==typeof i)throw new Error("width或height不支持传入字符串请传数字");return n&&(e.grid=Ro({size:20,type:"dot",visible:!0,config:{color:"#ababab",thickness:1}},n)),Ro({},Bh,e)}var jh,Nh,Bh={background:!1,grid:!1,textEdit:!0,disabledTools:[]};function Fh(e){return Fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fh(e)}function zh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Uh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Uh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hh(Object(n),!0).forEach((function(t){ed(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gh(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function Wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xh(){return Xh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Yh(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Xh.apply(this,arguments)}function Yh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Qh(e)););return e}function Kh(e,t){return Kh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Kh(e,t)}function $h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qh(e);if(t){var i=Qh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Zh(this,n)}}function Zh(e,t){if(t&&("object"===Fh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Jh(e)}function Jh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qh(e){return Qh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Qh(e)}function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function td(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var nd,rd,id,od,ad,sd,ld,ud,cd,fd,hd,dd,pd,gd,vd,yd,md,bd,_d,xd,wd,Sd,kd,Ed=(jh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}(o,e);var t,n,r,i=$h(o);function o(){var e;Wh(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ed(Jh(e=i.call.apply(i,[this].concat(n))),"modelType",hi.BEZIER_EDGE),Gh(Jh(e),"path",Nh,Jh(e)),e}return t=o,(n=[{key:"initEdgeData",value:function(e){this.offset=100,Xh(Qh(o.prototype),"initEdgeData",this).call(this,e)}},{key:"getEdgeStyle",value:function(){var e=this.graphModel.theme.bezier;return Vh(Vh({},Xh(Qh(o.prototype),"getEdgeStyle",this).call(this)),wo(e))}},{key:"getTextPosition",value:function(){if(this.pointsList&&this.pointsList.length>0){var e=0,t=0;return this.pointsList.forEach((function(n){var r=n.x,i=n.y;e+=r,t+=i})),{x:e/this.pointsList.length,y:t/this.pointsList.length}}return{x:(this.startPoint.x+this.endPoint.x)/2,y:(this.startPoint.y+this.endPoint.y)/2}}},{key:"getData",value:function(){var e=Xh(Qh(o.prototype),"getData",this).call(this),t=this.pointsList.map((function(e){return{x:e.x,y:e.y}}));return Vh(Vh({},e),{},{pointsList:t})}},{key:"getControls",value:function(){var e=this.startPoint,t=this.endPoint;return Zl({start:e,end:t,sourceNode:this.sourceNode,targetNode:this.targetNode,offset:this.offset})}},{key:"getPath",value:function(e){var t=zh(e,4),n=t[0],r=t[1],i=t[2],o=t[3];return"M ".concat(n.x," ").concat(n.y,"\n C ").concat(r.x," ").concat(r.y,",\n ").concat(i.x," ").concat(i.y,",\n ").concat(o.x," ").concat(o.y)}},{key:"initPoints",value:function(){this.pointsList.length>0?this.path=this.getPath(this.pointsList):this.updatePoints()}},{key:"updatePoints",value:function(){var e=this.getControls(),t=e.sNext,n=e.ePre;this.updatePath(t,n)}},{key:"updatePath",value:function(e,t){e=wo(e),t=wo(t);var n={x:this.startPoint.x,y:this.startPoint.y},r={x:this.endPoint.x,y:this.endPoint.y};if(!e||!t){var i=this.getControls();e=i.sNext,t=i.ePre}this.pointsList=[n,e,t,r],this.path=this.getPath(this.pointsList)}},{key:"updateStartPoint",value:function(e){this.startPoint=Object.assign({},e),this.updatePoints()}},{key:"updateEndPoint",value:function(e){this.endPoint=Object.assign({},e),this.updatePoints()}},{key:"moveStartPoint",value:function(e,t){this.startPoint.x+=e,this.startPoint.y+=t;var n=zh(this.pointsList,3),r=n[1],i=n[2];r.x+=e,r.y+=t,this.updatePath(r,i)}},{key:"moveEndPoint",value:function(e,t){this.endPoint.x+=e,this.endPoint.y+=t;var n=zh(this.pointsList,3),r=n[1],i=n[2];i.x+=e,i.y+=t,this.updatePath(r,i)}},{key:"updateAdjustAnchor",value:function(e,t){"sNext"===t?this.pointsList[1]=e:"ePre"===t&&(this.pointsList[2]=e),this.path=this.getPath(this.pointsList),this.setText(Object.assign({},this.text,this.textPosition))}},{key:"getAdjustStart",value:function(){return this.pointsList[0]||this.startPoint}},{key:"getAdjustEnd",value:function(){var e=this.pointsList;return e[e.length-1]||this.endPoint}},{key:"updateAfterAdjustStartAndEnd",value:function(e){var t=e.startPoint,n=e.endPoint,r=e.sourceNode,i=e.targetNode,o=Zl({start:t,end:n,sourceNode:r,targetNode:i,offset:this.offset}),a=o.sNext,s=o.ePre;this.pointsList=[t,a,s,n],this.initPoints()}}])&&qh(t.prototype,n),r&&qh(t,r),o}(ms),Nh=td(jh.prototype,"path",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),td(jh.prototype,"initPoints",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"initPoints"),jh.prototype),td(jh.prototype,"updatePoints",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"updatePoints"),jh.prototype),td(jh.prototype,"updateStartPoint",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"updateStartPoint"),jh.prototype),td(jh.prototype,"updateEndPoint",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"updateEndPoint"),jh.prototype),td(jh.prototype,"moveStartPoint",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"moveStartPoint"),jh.prototype),td(jh.prototype,"moveEndPoint",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"moveEndPoint"),jh.prototype),td(jh.prototype,"updateAdjustAnchor",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"updateAdjustAnchor"),jh.prototype),td(jh.prototype,"getAdjustStart",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"getAdjustStart"),jh.prototype),td(jh.prototype,"getAdjustEnd",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"getAdjustEnd"),jh.prototype),td(jh.prototype,"updateAfterAdjustStartAndEnd",[i.k],Object.getOwnPropertyDescriptor(jh.prototype,"updateAfterAdjustStartAndEnd"),jh.prototype),jh),Od=function(e){return null==e};function Cd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||Td(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ad(e){return Ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ad(e)}function Td(e,t){if(e){if("string"==typeof e)return Pd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pd(e,t):void 0}}function Pd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Md(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Md(Object(n),!0).forEach((function(t){Rd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Md(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Id(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function Ld(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jd(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var Nd,Bd,Fd=(nd=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Rd(this,"id",""),Id(this,"type",rd,this),Id(this,"x",id,this),Id(this,"y",od,this),Id(this,"text",ad,this),Id(this,"properties",sd,this),Id(this,"_width",ld,this),Id(this,"_height",ud,this),Id(this,"anchorsOffset",cd,this),Id(this,"isSelected",fd,this),Id(this,"isHovered",hd,this),Id(this,"isShowAnchor",dd,this),Id(this,"isDragging",pd,this),Id(this,"isHitable",gd,this),Id(this,"draggable",vd,this),Id(this,"visible",yd,this),Id(this,"enableRotate",md,this),Rd(this,"virtual",!1),Rd(this,"graphModel",void 0),Id(this,"zIndex",bd,this),Id(this,"state",_d,this),Id(this,"autoToFront",xd,this),Id(this,"style",wd,this),Id(this,"transform",Sd,this),Id(this,"_rotate",kd,this),Rd(this,"BaseType",di.NODE),Rd(this,"modelType",hi.NODE),Rd(this,"additionStateData",void 0),Rd(this,"targetRules",[]),Rd(this,"sourceRules",[]),Rd(this,"moveRules",[]),Rd(this,"hasSetTargetRules",!1),Rd(this,"hasSetSourceRules",!1),this.graphModel=n,this.initNodeData(t),this.setAttributes()}var t,n,r;return t=e,n=[{key:"width",get:function(){return this._width},set:function(e){this._width=e}},{key:"height",get:function(){return this._height},set:function(e){this._height=e}},{key:"rotate",get:function(){return this._rotate},set:function(e){this._rotate=e;var t=this.x,n=void 0===t?0:t,r=this.y,i=void 0===r?0:r;this.transform=new sc(-n,-i).rotate(e).translate(n,i).toString()}},{key:"incoming",get:function(){return{nodes:this.graphModel.getNodeIncomingNode(this.id),edges:this.graphModel.getNodeIncomingEdge(this.id)}}},{key:"outgoing",get:function(){return{nodes:this.graphModel.getNodeOutgoingNode(this.id),edges:this.graphModel.getNodeOutgoingEdge(this.id)}}},{key:"initNodeData",value:function(e){if(e.properties||(e.properties={}),!e.id){var t=this.graphModel.idGenerator,n=t&&t(e.type),r=this.createId();e.id=r||n||ya()}this.formatText(e),Zr(this,function(e){return oi(e,["id","type","x","y","text","properties","virtual","rotate"])}(e)),this.graphModel.overlapMode===vi.INCREASE&&(this.zIndex=e.zIndex||cs())}},{key:"setAttributes",value:function(){}},{key:"createId",value:function(){return null}},{key:"formatText",value:function(e){e.text||(e.text={value:"",x:e.x,y:e.y,draggable:!1,editable:!0}),e.text&&"string"==typeof e.text?e.text={value:e.text,x:e.x,y:e.y,draggable:!1,editable:!0}:e.text&&void 0===e.text.editable&&(e.text.editable=!0)}},{key:"getData",value:function(){var e=this.text,t=e.x,n=e.y,r=e.value,o=this.properties;Object(i.x)(o)&&(o=Object(i.I)(o));var a={id:this.id,type:this.type,x:this.x,y:this.y,properties:o};return this.rotate&&(a.rotate=this.rotate),this.graphModel.overlapMode===vi.INCREASE&&(a.zIndex=this.zIndex),r&&(a.text={x:t,y:n,value:r}),a}},{key:"getHistoryData",value:function(){return this.getData()}},{key:"getProperties",value:function(){return Object(i.I)(this.properties)}},{key:"getOuterGAttributes",value:function(){return{className:""}}},{key:"getNodeStyle",value:function(){return Dd(Dd({},this.graphModel.theme.baseNode),this.style)}},{key:"getTextStyle",value:function(){var e=this.graphModel.theme.nodeText;return wo(e)}},{key:"getRotateControlStyle",value:function(){var e=this.graphModel.theme.rotateControl;return wo(e)}},{key:"getAnchorStyle",value:function(e){var t=this.graphModel.theme.anchor;return wo(t)}},{key:"getAnchorLineStyle",value:function(e){var t=this.graphModel.theme.anchorLine;return wo(t)}},{key:"getOutlineStyle",value:function(){var e=this.graphModel.theme.outline;return wo(e)}},{key:"isAllowConnectedAsSource",value:function(e,t,n,r){var i=this.hasSetSourceRules?this.sourceRules:this.getConnectedSourceRules();this.hasSetSourceRules=!0;for(var o,a=!0,s=0;s<i.length;s++){var l=i[s];if(!l.validate.call(this,this,e,t,n,r)){a=!1,o=l.message;break}}return{isAllPass:a,msg:o}}},{key:"getConnectedSourceRules",value:function(){return this.sourceRules}},{key:"isAllowConnectedAsTarget",value:function(e,t,n,r){var i=this.hasSetTargetRules?this.targetRules:this.getConnectedTargetRules();this.hasSetTargetRules=!0;for(var o,a=!0,s=0;s<i.length;s++){var l=i[s];if(!l.validate.call(this,e,this,t,n,r)){a=!1,o=l.message;break}}return{isAllPass:a,msg:o}}},{key:"isAllowMoveNode",value:function(e,t){var n,r=!0,i=!0,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Td(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(this.moveRules.concat(this.graphModel.nodeMoveRules));try{for(o.s();!(n=o.n()).done;){var a=(0,n.value)(this,e,t);if(!a)return!1;if("object"===Ad(a)){var s=a;if(!1===s.x&&!1===s.y)return!1;r=r&&s.x,i=i&&s.y}}}catch(e){o.e(e)}finally{o.f()}return{x:r,y:i}}},{key:"getConnectedTargetRules",value:function(){return this.targetRules}},{key:"getAnchorsByOffset",value:function(){var e=this.anchorsOffset,t=this.id,n=this.x,r=this.y;return e&&e.length>0?e.map((function(e,i){return e.length?(e=e,{id:"".concat(t,"_").concat(i),x:n+e[0],y:r+e[1]}):Dd(Dd({},e=e),{},{x:n+e.x,y:r+e.y,id:e.id||"".concat(t,"_").concat(i)})})):this.getDefaultAnchor()}},{key:"getDefaultAnchor",value:function(){return[]}},{key:"getTargetAnchor",value:function(e){return function(e,t){for(var n,r=Wa(t),i=Number.MAX_SAFE_INTEGER,o=0;o<r.length;o++){var a=Ya(e.x,e.y,r[o].x,r[o].y);a<i&&(i=a,n={index:o,anchor:wa(wa({},r[o]),{},{x:r[o].x,y:r[o].y,id:r[o].id})})}return n}(e,this)}},{key:"getBounds",value:function(){return{x1:this.x-this.width/2,y1:this.y-this.height/2,x2:this.x+this.width/2,y2:this.y+this.height/2}}},{key:"anchors",get:function(){var e=this.getAnchorsByOffset(),t=this.x,n=this.y,r=this.rotate;return e.forEach((function(e){var i=e.x,o=e.y,a=Cd(new ic([i,o,1]).translate(-t,-n).rotate(r).translate(t,n)[0],2),s=a[0],l=a[1];e.x=s,e.y=l})),e}},{key:"getAnchorInfo",value:function(e){if(!Od(e))for(var t=0;t<this.anchors.length;t++){var n=this.anchors[t];if(n.id===e)return n}}},{key:"addNodeMoveRules",value:function(e){this.moveRules.includes(e)||this.moveRules.push(e)}},{key:"move",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,i=!1;if(n)r=!0,i=!0;else{var o=this.isAllowMoveNode(e,t);"boolean"==typeof o?(r=o,i=o):(r=o.x,i=o.y)}if(r){var a=this.x+e;this.x=a,this.text&&this.moveText(e,0)}if(i){var s=this.y+t;this.y=s,this.text&&this.moveText(0,t)}return r||i}},{key:"getMoveDistance",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,i=!1,o=0,a=0;if(n)r=!0,i=!0;else{var s=this.isAllowMoveNode(e,t);"boolean"==typeof s?(r=s,i=s):(r=s.x,i=s.y)}if(r&&e){var l=this.x+e;this.x=l,this.text&&this.moveText(e,0),o=e}if(i&&t){var u=this.y+t;this.y=u,this.text&&this.moveText(0,t),a=t}return[o,a]}},{key:"moveTo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e-this.x,i=t-this.y;return!(!n&&!this.isAllowMoveNode(r,i)||(this.text&&this.text&&this.moveText(r,i),this.x=e,this.y=t,0))}},{key:"moveText",value:function(e,t){var n=this.text,r=n.x,i=n.y,o=n.value,a=n.draggable,s=n.editable;this.text={value:o,editable:s,draggable:a,x:r+e,y:i+t}}},{key:"updateText",value:function(e){this.text=Dd(Dd({},Object(i.I)(this.text)),{},{value:e})}},{key:"setSelected",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isSelected=e}},{key:"setHovered",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isHovered=e,this.setIsShowAnchor(e)}},{key:"setIsShowAnchor",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isShowAnchor=e}},{key:"setEnableRotate",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.enableRotate=e}},{key:"setHitable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isHitable=e}},{key:"setElementState",value:function(e,t){this.state=e,this.additionStateData=t}},{key:"setProperty",value:function(e,t){this.properties=Dd(Dd({},Object(i.I)(this.properties)),{},Rd({},e,ss(t))),this.setAttributes()}},{key:"setProperties",value:function(e){this.properties=Dd(Dd({},Object(i.I)(this.properties)),ss(e)),this.setAttributes()}},{key:"deleteProperty",value:function(e){delete this.properties[e],this.setAttributes()}},{key:"setStyle",value:function(e,t){this.style=Dd(Dd({},this.style),{},Rd({},e,ss(t)))}},{key:"setStyles",value:function(e){this.style=Dd(Dd({},this.style),ss(e))}},{key:"updateStyles",value:function(e){this.style=Dd({},ss(e))}},{key:"setZIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.zIndex=e}},{key:"updateAttributes",value:function(e){Zr(this,e)}}],n&&Ld(t.prototype,n),r&&Ld(t,r),e}(),rd=jd(nd.prototype,"type",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),id=jd(nd.prototype,"x",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),od=jd(nd.prototype,"y",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ad=jd(nd.prototype,"text",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{value:"",x:0,y:0,draggable:!1,editable:!0}}}),sd=jd(nd.prototype,"properties",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),ld=jd(nd.prototype,"_width",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 100}}),ud=jd(nd.prototype,"_height",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 80}}),cd=jd(nd.prototype,"anchorsOffset",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),fd=jd(nd.prototype,"isSelected",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),hd=jd(nd.prototype,"isHovered",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),dd=jd(nd.prototype,"isShowAnchor",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pd=jd(nd.prototype,"isDragging",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),gd=jd(nd.prototype,"isHitable",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),vd=jd(nd.prototype,"draggable",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),yd=jd(nd.prototype,"visible",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),md=jd(nd.prototype,"enableRotate",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),bd=jd(nd.prototype,"zIndex",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),_d=jd(nd.prototype,"state",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),xd=jd(nd.prototype,"autoToFront",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),wd=jd(nd.prototype,"style",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),Sd=jd(nd.prototype,"transform",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),kd=jd(nd.prototype,"_rotate",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),jd(nd.prototype,"incoming",[i.m],Object.getOwnPropertyDescriptor(nd.prototype,"incoming"),nd.prototype),jd(nd.prototype,"outgoing",[i.m],Object.getOwnPropertyDescriptor(nd.prototype,"outgoing"),nd.prototype),jd(nd.prototype,"addNodeMoveRules",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"addNodeMoveRules"),nd.prototype),jd(nd.prototype,"move",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"move"),nd.prototype),jd(nd.prototype,"getMoveDistance",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"getMoveDistance"),nd.prototype),jd(nd.prototype,"moveTo",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"moveTo"),nd.prototype),jd(nd.prototype,"moveText",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"moveText"),nd.prototype),jd(nd.prototype,"updateText",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"updateText"),nd.prototype),jd(nd.prototype,"setSelected",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setSelected"),nd.prototype),jd(nd.prototype,"setHovered",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setHovered"),nd.prototype),jd(nd.prototype,"setIsShowAnchor",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setIsShowAnchor"),nd.prototype),jd(nd.prototype,"setEnableRotate",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setEnableRotate"),nd.prototype),jd(nd.prototype,"setHitable",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setHitable"),nd.prototype),jd(nd.prototype,"setElementState",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setElementState"),nd.prototype),jd(nd.prototype,"setProperty",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setProperty"),nd.prototype),jd(nd.prototype,"setProperties",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setProperties"),nd.prototype),jd(nd.prototype,"deleteProperty",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"deleteProperty"),nd.prototype),jd(nd.prototype,"setStyle",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setStyle"),nd.prototype),jd(nd.prototype,"setStyles",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setStyles"),nd.prototype),jd(nd.prototype,"updateStyles",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"updateStyles"),nd.prototype),jd(nd.prototype,"setZIndex",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"setZIndex"),nd.prototype),jd(nd.prototype,"updateAttributes",[i.k],Object.getOwnPropertyDescriptor(nd.prototype,"updateAttributes"),nd.prototype),nd);function zd(e){return zd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zd(e)}function Ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ud(Object(n),!0).forEach((function(t){Qd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ud(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vd(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qd(){return qd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Xd(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},qd.apply(this,arguments)}function Xd(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Jd(e)););return e}function Yd(e,t){return Yd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yd(e,t)}function Kd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Jd(e);if(t){var i=Jd(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return $d(this,n)}}function $d(e,t){if(t&&("object"===zd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Zd(e)}function Zd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jd(e){return Jd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jd(e)}function Qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ep(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var tp,np,rp,ip=(Nd=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}(o,e);var t,n,r,i=Kd(o);function o(){var e;Gd(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Qd(Zd(e=i.call.apply(i,[this].concat(n))),"modelType",hi.CIRCLE_NODE),Vd(Zd(e),"r",Bd,Zd(e)),e}return t=o,(n=[{key:"width",get:function(){return 2*this.r}},{key:"height",get:function(){return 2*this.r}},{key:"getNodeStyle",value:function(){var e=qd(Jd(o.prototype),"getNodeStyle",this).call(this),t=this.graphModel.theme.circle;return Hd(Hd({},e),wo(t))}},{key:"getDefaultAnchor",value:function(){var e=this.x,t=this.y,n=this.r;return[{x:e,y:t-n,id:"".concat(this.id,"_0")},{x:e+n,y:t,id:"".concat(this.id,"_1")},{x:e,y:t+n,id:"".concat(this.id,"_2")},{x:e-n,y:t,id:"".concat(this.id,"_3")}]}}])&&Wd(t.prototype,n),r&&Wd(t,r),o}(Fd),Bd=ep(Nd.prototype,"r",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),ep(Nd.prototype,"width",[i.m],Object.getOwnPropertyDescriptor(Nd.prototype,"width"),Nd.prototype),ep(Nd.prototype,"height",[i.m],Object.getOwnPropertyDescriptor(Nd.prototype,"height"),Nd.prototype),Nd);function op(e){return op="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},op(e)}function ap(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lp(Object(n),!0).forEach((function(t){_p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cp(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function fp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dp(){return dp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=pp(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},dp.apply(this,arguments)}function pp(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=bp(e)););return e}function gp(e,t){return gp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},gp(e,t)}function vp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bp(e);if(t){var i=bp(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return yp(this,n)}}function yp(e,t){if(t&&("object"===op(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return mp(e)}function mp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},bp(e)}function _p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xp(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}n(129);var wp,Sp,kp,Ep=(tp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}(o,e);var t,n,r,i=vp(o);function o(){var e;fp(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _p(mp(e=i.call.apply(i,[this].concat(n))),"modelType",hi.DIAMOND_NODE),cp(mp(e),"rx",np,mp(e)),cp(mp(e),"ry",rp,mp(e)),e}return t=o,(n=[{key:"getNodeStyle",value:function(){var e=dp(bp(o.prototype),"getNodeStyle",this).call(this),t=this.graphModel.theme.diamond;return up(up({},e),wo(t))}},{key:"points",get:function(){var e=this.x,t=this.y,n=this.rx,r=this.ry;return[[e,t-r],[e+n,t],[e,t+r],[e-n,t]]}},{key:"pointsPosition",get:function(){return this.points.map((function(e){return{x:e[0],y:e[1]}}))}},{key:"width",get:function(){var e=Number.MAX_SAFE_INTEGER,t=Number.MIN_SAFE_INTEGER;return this.points.forEach((function(n){var r=ap(n,1)[0];r<e&&(e=r),r>t&&(t=r)})),t-e}},{key:"height",get:function(){var e=Number.MAX_SAFE_INTEGER,t=Number.MIN_SAFE_INTEGER;return this.points.forEach((function(n){var r=ap(n,2)[1];r<e&&(e=r),r>t&&(t=r)})),t-e}},{key:"getDefaultAnchor",value:function(){var e=this;return this.points.map((function(t,n){var r=ap(t,2);return{x:r[0],y:r[1],id:"".concat(e.id,"_").concat(n)}}))}}])&&hp(t.prototype,n),r&&hp(t,r),o}(Fd),np=xp(tp.prototype,"rx",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 30}}),rp=xp(tp.prototype,"ry",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),xp(tp.prototype,"points",[i.m],Object.getOwnPropertyDescriptor(tp.prototype,"points"),tp.prototype),xp(tp.prototype,"pointsPosition",[i.m],Object.getOwnPropertyDescriptor(tp.prototype,"pointsPosition"),tp.prototype),xp(tp.prototype,"width",[i.m],Object.getOwnPropertyDescriptor(tp.prototype,"width"),tp.prototype),xp(tp.prototype,"height",[i.m],Object.getOwnPropertyDescriptor(tp.prototype,"height"),tp.prototype),tp);function Op(e){return Op="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Op(e)}function Cp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ap(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cp(Object(n),!0).forEach((function(t){Fp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tp(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function Pp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dp(){return Dp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Ip(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Dp.apply(this,arguments)}function Ip(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Bp(e)););return e}function Lp(e,t){return Lp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Lp(e,t)}function Rp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Bp(e);if(t){var i=Bp(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jp(this,n)}}function jp(e,t){if(t&&("object"===Op(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Np(e)}function Np(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bp(e){return Bp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Bp(e)}function Fp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zp(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var Up,Hp,Vp=(wp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}(o,e);var t,n,r,i=Rp(o);function o(){var e;Pp(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Fp(Np(e=i.call.apply(i,[this].concat(n))),"modelType",hi.ELLIPSE_NODE),Tp(Np(e),"rx",Sp,Np(e)),Tp(Np(e),"ry",kp,Np(e)),e}return t=o,(n=[{key:"getNodeStyle",value:function(){var e=Dp(Bp(o.prototype),"getNodeStyle",this).call(this),t=this.graphModel.theme.ellipse;return Ap(Ap({},e),wo(t))}},{key:"width",get:function(){return 2*this.rx}},{key:"height",get:function(){return 2*this.ry}},{key:"getDefaultAnchor",value:function(){var e=this.x,t=this.y,n=this.rx,r=this.ry;return[{x:e,y:t-r,id:"".concat(this.id,"_0")},{x:e+n,y:t,id:"".concat(this.id,"_1")},{x:e,y:t+r,id:"".concat(this.id,"_2")},{x:e-n,y:t,id:"".concat(this.id,"_3")}]}}])&&Mp(t.prototype,n),r&&Mp(t,r),o}(Fd),Sp=zp(wp.prototype,"rx",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 30}}),kp=zp(wp.prototype,"ry",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 45}}),zp(wp.prototype,"width",[i.m],Object.getOwnPropertyDescriptor(wp.prototype,"width"),wp.prototype),zp(wp.prototype,"height",[i.m],Object.getOwnPropertyDescriptor(wp.prototype,"height"),wp.prototype),wp);function Gp(e){return Gp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gp(e)}function Wp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xp(Object(n),!0).forEach((function(t){og(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kp(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function $p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jp(){return Jp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Qp(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Jp.apply(this,arguments)}function Qp(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ig(e)););return e}function eg(e,t){return eg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},eg(e,t)}function tg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ig(e);if(t){var i=ig(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ng(this,n)}}function ng(e,t){if(t&&("object"===Gp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rg(e)}function rg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ig(e){return ig=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ig(e)}function og(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ag(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var sg,lg,ug=(Up=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}(o,e);var t,n,r,i=tg(o);function o(){var e;$p(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return og(rg(e=i.call.apply(i,[this].concat(n))),"modelType",hi.POLYGON_NODE),Kp(rg(e),"points",Hp,rg(e)),e}return t=o,(n=[{key:"getNodeStyle",value:function(){var e=Jp(ig(o.prototype),"getNodeStyle",this).call(this),t=this.graphModel.theme.polygon;return Yp(Yp({},e),wo(t))}},{key:"pointsPosition",get:function(){var e=this.x,t=this.y,n=this.width,r=this.height;return this.points.map((function(i){return{x:i[0]+e-n/2,y:i[1]+t-r/2}}))}},{key:"width",get:function(){var e=Number.MAX_SAFE_INTEGER,t=Number.MIN_SAFE_INTEGER;return this.points.forEach((function(n){var r=Wp(n,1)[0];r<e&&(e=r),r>t&&(t=r)})),t-e}},{key:"height",get:function(){var e=Number.MAX_SAFE_INTEGER,t=Number.MIN_SAFE_INTEGER;return this.points.forEach((function(n){var r=Wp(n,2)[1];r<e&&(e=r),r>t&&(t=r)})),t-e}},{key:"getDefaultAnchor",value:function(){var e=this,t=this.x,n=this.y,r=this.width,i=this.height;return this.points.map((function(o,a){var s=Wp(o,2),l=s[0],u=s[1];return{x:t+l-r/2,y:n+u-i/2,id:"".concat(e.id,"_").concat(a)}}))}}])&&Zp(t.prototype,n),r&&Zp(t,r),o}(Fd),Hp=ag(Up.prototype,"points",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[[50,0],[100,50],[50,100],[0,50]]}}),ag(Up.prototype,"pointsPosition",[i.m],Object.getOwnPropertyDescriptor(Up.prototype,"pointsPosition"),Up.prototype),ag(Up.prototype,"width",[i.m],Object.getOwnPropertyDescriptor(Up.prototype,"width"),Up.prototype),ag(Up.prototype,"height",[i.m],Object.getOwnPropertyDescriptor(Up.prototype,"height"),Up.prototype),Up);function cg(e){return cg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cg(e)}function fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fg(Object(n),!0).forEach((function(t){Sg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dg(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function pg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vg(){return vg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=yg(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},vg.apply(this,arguments)}function yg(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=wg(e)););return e}function mg(e,t){return mg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},mg(e,t)}function bg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wg(e);if(t){var i=wg(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _g(this,n)}}function _g(e,t){if(t&&("object"===cg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xg(e)}function xg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(e){return wg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},wg(e)}function Sg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kg,Eg=(sg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mg(e,t)}(o,e);var t,n,r,i=bg(o);function o(){var e;pg(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Sg(xg(e=i.call.apply(i,[this].concat(n))),"modelType",hi.RECT_NODE),dg(xg(e),"radius",lg,xg(e)),e}return t=o,(n=[{key:"getDefaultAnchor",value:function(){var e=this.x,t=this.y,n=this.width,r=this.height;return[{x:e,y:t-r/2,id:"".concat(this.id,"_0")},{x:e+n/2,y:t,id:"".concat(this.id,"_1")},{x:e,y:t+r/2,id:"".concat(this.id,"_2")},{x:e-n/2,y:t,id:"".concat(this.id,"_3")}]}},{key:"getNodeStyle",value:function(){var e=vg(wg(o.prototype),"getNodeStyle",this).call(this),t=this.graphModel.theme.rect;return hg(hg({},e),wo(t))}}])&&gg(t.prototype,n),r&&gg(t,r),o}(Fd),lg=function(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}(sg.prototype,"radius",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),sg);function Og(e){return Og="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Og(e)}function Cg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ag(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cg(Object(n),!0).forEach((function(t){Bg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mg(){return Mg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Dg(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Mg.apply(this,arguments)}function Dg(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ng(e)););return e}function Ig(e,t){return Ig=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ig(e,t)}function Lg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ng(e);if(t){var i=Ng(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Rg(this,n)}}function Rg(e,t){if(t&&("object"===Og(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return jg(e)}function jg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ng(e){return Ng=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ng(e)}function Bg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fg(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var zg=(kg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}(o,e);var t,n,r,i=Lg(o);function o(){var e;Tg(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Bg(jg(e=i.call.apply(i,[this].concat(n))),"modelType",hi.TEXT_NODE),e}return t=o,(n=[{key:"getTextStyle",value:function(){var e=Mg(Ng(o.prototype),"getTextStyle",this).call(this),t=this.graphModel.theme.text;return Ag(Ag({},e),wo(t))}},{key:"width",get:function(){var e=String(this.text.value).split(/[\r\n]/g),t=this.getTextStyle().fontSize;return os({rows:e,fontSize:t,rowsLength:e.length}).width}},{key:"height",get:function(){var e=String(this.text.value).split(/[\r\n]/g),t=this.getTextStyle().fontSize;return os({rows:e,fontSize:t,rowsLength:e.length}).height}}])&&Pg(t.prototype,n),r&&Pg(t,r),o}(Fd),Fg(kg.prototype,"width",[i.m],Object.getOwnPropertyDescriptor(kg.prototype,"width"),kg.prototype),Fg(kg.prototype,"height",[i.m],Object.getOwnPropertyDescriptor(kg.prototype,"height"),kg.prototype),kg);function Ug(e){return Ug="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ug(e)}function Hg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gg(e,t){return Gg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Gg(e,t)}function Wg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yg(e);if(t){var i=Yg(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return qg(this,n)}}function qg(e,t){if(t&&("object"===Ug(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Xg(e)}function Xg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e){return Yg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Yg(e)}function Kg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $g,Zg,Jg,Qg,ev=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}(o,e);var t,n,r,i=Wg(o);function o(){var e;Hg(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Kg(Xg(e=i.call.apply(i,[this].concat(n))),"modelType",hi.HTML_NODE),e}return t=o,(n=[{key:"getDefaultAnchor",value:function(){var e=this.x,t=this.y,n=this.width,r=this.height;return[{x:e,y:t-r/2,id:"".concat(this.id,"_0")},{x:e+n/2,y:t,id:"".concat(this.id,"_1")},{x:e,y:t+r/2,id:"".concat(this.id,"_2")},{x:e-n/2,y:t,id:"".concat(this.id,"_3")}]}}])&&Vg(t.prototype,n),r&&Vg(t,r),o}(Fd);function tv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nv(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function rv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ov(e,t,n,r,i){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var av=($g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),iv(this,"graphModel",void 0),nv(this,"isShowHorizontal",Zg,this),nv(this,"isShowVertical",Jg,this),nv(this,"position",Qg,this),this.isShowHorizontal=!1,this.isShowVertical=!1,this.position={x:0,y:0},this.graphModel=t}var t,n,r;return t=e,n=[{key:"getStyle",value:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tv(Object(n),!0).forEach((function(t){iv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.graphModel.theme.snapline)}},{key:"getCenterSnapLine",value:function(e,t){for(var n=e.x,r=e.y,i=!1,o=!1,a=0;a<t.length;a++){var s=t[a];if(s.id!==e.id&&(n===s.x&&(i=!0),r===s.y&&(o=!0),i&&o))break}return{isShowVertical:i,isShowHorizontal:o,position:{x:n,y:r}}}},{key:"getHorizontalSnapline",value:function(e,t){var n,r,i=!1,o=e.id;if(o){var a=this.graphModel.fakerNode;if(a&&a.id===o)r=Za(a);else{var s=this.graphModel.getNodeModelById(o);r=Za(s)}}for(var l=0;l<t.length;l++){var u=t[l];if(u.id!==e.id){var c=Za(u);if(c.minY===r.minY||c.maxY===r.minY){i=!0,n=r.minY;break}if(c.minY===r.maxY||c.maxY===r.maxY){i=!0,n=r.maxY;break}}}return Zr({isShowHorizontal:i,position:{y:n}})}},{key:"getVerticalSnapline",value:function(e,t){var n,r,i=!1,o=e.id;if(o){var a=this.graphModel.fakerNode;if(a&&a.id===o)r=Za(a);else{var s=this.graphModel.getNodeModelById(o);r=Za(s)}}for(var l=0;l<t.length;l++){var u=t[l];if(u.id!==e.id){var c=Za(u);if(c.minX===r.minX||c.maxX===r.minX){i=!0,n=r.minX;break}if(c.minX===r.maxX||c.maxX===r.maxX){i=!0,n=r.maxX;break}}}return Zr({isShowVertical:i,position:{x:n}})}},{key:"getSnapLinePosition",value:function(e,t){var n=this.getCenterSnapLine(e,t),r=n.isShowHorizontal,i=n.isShowVertical;if(!r){var o=this.getHorizontalSnapline(e,t);o.isShowHorizontal&&(n.isShowHorizontal=o.isShowHorizontal,n.position.y=o.position.y)}if(!i){var a=this.getVerticalSnapline(e,t);a.isShowVertical&&(n.isShowVertical=a.isShowVertical,n.position.x=a.position.x)}return n}},{key:"setSnaplineInfo",value:function(e){var t=e.isShowHorizontal,n=e.isShowVertical,r=e.position;this.position=r,this.isShowHorizontal=t,this.isShowVertical=n}},{key:"clearSnapline",value:function(){this.position={x:0,y:0},this.isShowHorizontal=!1,this.isShowVertical=!1}},{key:"setNodeSnapLine",value:function(e){var t=this.graphModel.nodes,n=this.getSnapLinePosition(e,t);this.setSnaplineInfo(n)}}],n&&rv(t.prototype,n),r&&rv(t,r),e}(),Zg=ov($g.prototype,"isShowHorizontal",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jg=ov($g.prototype,"isShowVertical",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qg=ov($g.prototype,"position",[i.C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ov($g.prototype,"clearSnapline",[i.k],Object.getOwnPropertyDescriptor($g.prototype,"clearSnapline"),$g.prototype),ov($g.prototype,"setNodeSnapLine",[i.k],Object.getOwnPropertyDescriptor($g.prototype,"setNodeSnapLine"),$g.prototype),$g),sv=new Map,lv=function(e){var t=ya(),n=window.requestAnimationFrame((function n(){if(e(),sv.get(t)){var r=window.requestAnimationFrame(n);sv.set(t,r)}}));return sv.set(t,n),t},uv=function(e){var t=sv.get(e);t&&(window.cancelAnimationFrame(t),sv.delete(e))};function cv(e){return cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cv(e)}function fv(){return fv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fv.apply(this,arguments)}function hv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hv(Object(n),!0).forEach((function(t){wv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yv(e,t){return yv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yv(e,t)}function mv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xv(e);if(t){var i=xv(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return bv(this,n)}}function bv(e,t){if(t&&("object"===cv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _v(e)}function _v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xv(e){return xv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},xv(e)}function wv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}(o,e);var t,n,r,i=mv(o);function o(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),wv(_v(e=i.call(this)),"preTargetNode",void 0),wv(_v(e),"sourceRuleResults",void 0),wv(_v(e),"targetRuleResults",void 0),wv(_v(e),"dragHandler",void 0),wv(_v(e),"t",void 0),wv(_v(e),"onDragStart",(function(t){var n=t.event,r=e.props,i=r.anchorData,o=r.nodeModel,a=r.graphModel;a.overlapMode,a.selectNodeById(o.id),o.autoToFront&&a.toFront(o.id),a.eventCenter.emit(pi.ANCHOR_DRAGSTART,{data:i,e:n,nodeModel:o}),e.setState({startX:i.x,startY:i.y,endX:i.x,endY:i.y})})),wv(_v(e),"onDragging",(function(t){var n=t.event,r=e.props,i=r.graphModel,o=r.nodeModel,a=r.anchorData,s=i.transformModel,l=i.eventCenter,u=i.width,c=i.height,f=i.editConfigModel,h=f.autoExpand,d=f.stopMoveGraph,p=n.clientX,g=n.clientY,v=i.getPointByClient({x:p,y:g}),y=v.domOverlayPosition,m=y.x,b=y.y,_=v.canvasOverlayPosition,x=_.x,w=_.y;e.t&&uv(e.t);var S=[];m<10?S=[10,0]:m+10>u?S=[-10,0]:b<10?S=[0,10]:b+10>c&&(S=[0,-10]),e.setState({endX:x,endY:w,dragging:!0}),e.moveAnchorEnd(x,w),S.length>0&&!d&&h&&(e.t=lv((function(){var t=pv(S,2),n=t[0],r=t[1];s.translate(n,r);var i=e.state,o=i.endX,a=i.endY;e.setState({endX:o-n,endY:a-r}),e.moveAnchorEnd(o-n,a-r)}))),l.emit(pi.ANCHOR_DRAG,{data:a,e:n,nodeModel:o})})),wv(_v(e),"onDragEnd",(function(t){var n=t.event;e.t&&uv(e.t);var r=e.checkEnd(n);e.setState({startX:0,startY:0,endX:0,endY:0,dragging:!1}),e.sourceRuleResults.clear(),e.targetRuleResults.clear();var i=e.props,o=i.graphModel,a=i.nodeModel,s=i.anchorData;o.eventCenter.emit(pi.ANCHOR_DRAGEND,{data:s,e:n,nodeModel:a,edgeModel:r})})),wv(_v(e),"checkEnd",(function(t){var n=e.props,r=n.graphModel,i=n.nodeModel,o=n.anchorData,a=o.x,s=o.y,l=o.id,u=(r.edgeType,e.state),c=u.endX,f=u.endY,h=u.dragging,d=qa({x:c,y:f},r);if(e.preTargetNode&&e.preTargetNode.state!==ci.DEFAULT&&e.preTargetNode.setElementState(ci.DEFAULT),h&&d&&d.node){var p=d.node,g=d.anchor.id,v="".concat(i.id,"_").concat(p.id,"_").concat(g,"_").concat(l),y=e.sourceRuleResults.get(v)||{},m=y.isAllPass,b=y.msg,_=e.targetRuleResults.get(v)||{},x=_.isAllPass,w=_.msg;if(m&&x){p.setElementState(ci.DEFAULT);var S=r.edgeGenerator(i.getData(),r.getNodeModelById(d.node.id).getData()),k=r.addEdge(dv(dv({},S),{},{sourceNodeId:i.id,sourceAnchorId:l,startPoint:{x:a,y:s},targetNodeId:d.node.id,targetAnchorId:d.anchor.id,endPoint:{x:d.anchor.x,y:d.anchor.y}})),E=e.props.anchorData;return r.eventCenter.emit(pi.ANCHOR_DROP,{data:E,e:t,nodeModel:i,edgeModel:k}),k}var O=p.getData();return r.eventCenter.emit(pi.CONNECTION_NOT_ALLOWED,{data:O,msg:w||b||"不允许添加连线"}),null}})),e.sourceRuleResults=new Map,e.targetRuleResults=new Map,e.state={startX:0,startY:0,endX:0,endY:0,dragging:!1},e.dragHandler=new lu({onDragStart:e.onDragStart,onDragging:e.onDragging,onDragEnd:e.onDragEnd}),e}return t=o,(n=[{key:"getAnchorShape",value:function(){var e=this.props,t=e.anchorData,n=e.style,r=e.node.getAnchorShape(t);if(r)return r;var i=t.x,o=t.y,a=dv(dv({},n),n.hover);return Object(ee.g)("g",null,Object(ee.g)(Xf,fv({className:"lf-node-anchor-hover"},a,{x:i,y:o})),Object(ee.g)(Xf,fv({className:"lf-node-anchor"},n,{x:i,y:o})))}},{key:"customTrajectory",get:function(){return this.props.graphModel.customTrajectory}},{key:"relateEdges",get:function(){var e=this.props,t=e.graphModel,n=t.getAnchorIncomingEdge,r=t.getAnchorOutcomingEdge,i=e.anchorData.id;return{incomingEdgeList:n(i),outcomingEdgeList:r(i)}}},{key:"moveAnchorEnd",value:function(e,t){var n=this.props,r=n.graphModel,i=n.nodeModel,o=n.anchorData,a=qa({x:e,y:t},r);if(a){var s=a.node,l=a.anchor.id;if(this.preTargetNode&&this.preTargetNode!==a.node&&this.preTargetNode.setElementState(ci.DEFAULT),o.id===l)return;this.preTargetNode=s;var u="".concat(i.id,"_").concat(s.id,"_").concat(l,"_").concat(o.id);if(!this.targetRuleResults.has(u)){var c=a.anchor,f=i.isAllowConnectedAsSource(s,o,c),h=s.isAllowConnectedAsTarget(i,o,c);this.sourceRuleResults.set(u,as(f)),this.targetRuleResults.set(u,as(h))}var d=this.sourceRuleResults.get(u).isAllPass,p=this.targetRuleResults.get(u).isAllPass;d&&p?s.setElementState(ci.ALLOW_CONNECT):s.setElementState(ci.NOT_ALLOW_CONNECT)}else this.preTargetNode&&this.preTargetNode.state!==ci.DEFAULT&&this.preTargetNode.setElementState(ci.DEFAULT)}},{key:"isShowLine",value:function(){var e=this.state,t=e.startX,n=e.startY,r=e.endX,i=e.endY;return Ya(t,n,r,i)>10}},{key:"render",value:function(){var e=this,t=this.state,n=t.startX,r=t.startY,i=t.endX,o=t.endY,a=this.props,s=a.anchorData.edgeAddable,l=a.edgeStyle;return Object(ee.g)("g",{className:"lf-anchor"},Object(ee.g)("g",{onMouseDown:function(t){!1!==s&&e.dragHandler.handleMouseDown(t)}},this.getAnchorShape()),this.isShowLine()&&(this.customTrajectory?this.customTrajectory(dv({sourcePoint:{x:n,y:r},targetPoint:{x:i,y:o}},l)):Object(ee.g)(pf,fv({x1:n,y1:r,x2:i,y2:o},l,{"pointer-events":"none"}))))}}])&&vv(t.prototype,n),r&&vv(t,r),o}(ee.a);function kv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ev(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kv(Object(n),!0).forEach((function(t){Ov(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cv(e){return Cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cv(e)}function Av(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pv(e){var t=e.x,n=void 0===t?0:t,r=e.y,i=void 0===r?0:r,o=e.value,a=e.fontSize,s=e.fill,l=void 0===s?"currentColor":s,u=e.overflowMode,c=void 0===u?"default":u,f=e.textWidth,h=void 0===f?"":f,d=e.model,p={textAnchor:"middle","dominant-baseline":"middle",x:n,y:i,fill:l};if(Object.entries(e).forEach((function(e){var t=Av(e,2),n=t[0],r=t[1];"object"!==Cv(r)&&(p[n]=r)})),o){var g=String(o).split(/[\r\n]/g),v=g.length;if("default"!==c){var y=d.BaseType,m=d.modelType;if(y===di.NODE&&m!==hi.TEXT_NODE||y===di.EDGE&&h)return function(e){var t=e.value,n=e.fontSize,r=e.model,i=e.fontFamily,o=void 0===i?"":i,a=e.lineHeight,s=e.wrapPadding,l=void 0===s?"0, 0":s,u=e.overflowMode,c=e.x,f=e.y,h=r.width,d=r.textHeight,p=e.textWidth||h,g=String(t).split(/[\r\n]/g),v=g.length,y=is({rows:g,style:{fontSize:"".concat(n,"px"),width:"".concat(p,"px"),fontFamily:o,lineHeight:a,padding:l},rowsLength:v,className:"lf-get-text-height"}),m=r.height>y?r.height:y;d&&(m=d);var b="ellipsis"===u;return b&&(m=n+2),Object(ee.g)("g",null,Object(ee.g)("foreignObject",{width:p,height:m,x:c-p/2,y:f-m/2},Object(ee.g)("div",{className:"lf-node-text-auto-wrap",style:{minHeight:m,width:p,padding:l}},Object(ee.g)("div",{className:b?"lf-node-text-ellipsis-content":"lf-node-text-auto-wrap-content",title:b?g.join(""):"",style:Ev({},e)},g.map((function(e){return Object(ee.g)("div",{className:"lf-node-text--auto-wrap-inner"},e)}))))))}(e)}if(v>1){var b=g.map((function(e,t){var r=(t-(v-1)/2)*(a+2);return Object(ee.g)("tspan",{className:"lf-text-tspan",x:n,y:i+r},e)}));return Object(ee.g)("text",p,b)}return Object(ee.g)("text",p,o)}}function Mv(e){return Mv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mv(e)}function Dv(){return Dv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dv.apply(this,arguments)}function Iv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jv(e,t){return jv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},jv(e,t)}function Nv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zv(e);if(t){var i=zv(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Bv(this,n)}}function Bv(e,t){if(t&&("object"===Mv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Fv(e)}function Fv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zv(e){return zv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},zv(e)}function Uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}(o,e);var t,n,r,i=Nv(o);function o(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Uv(Fv(t=i.call(this)),"dragHandler",void 0),Uv(Fv(t),"sumDeltaX",0),Uv(Fv(t),"sumDeltaY",0),Uv(Fv(t),"stepDrag",void 0),Uv(Fv(t),"onDragging",(function(e){var n=e.deltaX,r=e.deltaY,i=t.props,o=i.model,a=Iv(i.graphModel.transformModel.fixDeltaXY(n,r),2),s=a[0],l=a[1];o.moveText(s,l)})),Uv(Fv(t),"dblClickHandler",(function(){t.props.editable&&t.props.model.setElementState(ci.TEXT_EDIT)})),Uv(Fv(t),"mouseDownHandle",(function(e){var n=t.props,r=n.draggable,i=n.model,o=n.graphModel.editConfigModel.nodeTextDraggable;(r||o)&&(t.stepDrag.model=i,t.stepDrag.handleMouseDown(e))})),e.model;var n=e.draggable;return t.stepDrag=new lu({onDragging:t.onDragging,step:1,isStopPropagation:n}),t}return t=o,(n=[{key:"getShape",value:function(){var e=this.props,t=e.model,n=e.graphModel,r=t.text,i=n.editConfigModel,o=r.value,a=r.x,s=r.y,l=r.editable,u=r.draggable,c={x:a,y:s,className:"",value:o};l?c.className="lf-element-text":u||i.nodeTextDraggable?c.className="lf-text-draggable":c.className="lf-text-disabled";var f=t.getTextStyle();return Object(ee.g)(Pv,Dv({},c,f,{model:t}))}},{key:"render",value:function(){if(this.props.model.text)return Object(ee.g)("g",{onMouseDown:this.mouseDownHandle,onDblClick:this.dblClickHandler},this.getShape())}}])&&Rv(t.prototype,n),r&&Rv(t,r),o}(ee.a),Vv=null!==tr(window,"navigator.userAgent","").match(/MSIE|Trident/),Gv=n(130);function Wv(e){return Wv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wv(e)}function qv(){return qv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qv.apply(this,arguments)}function Xv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yv(e,t){return Yv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yv(e,t)}function Kv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Jv(e);if(t){var i=Jv(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return $v(this,n)}}function $v(e,t){if(t&&("object"===Wv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Zv(e)}function Zv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jv(e){return Jv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jv(e)}function Qv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ey=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}(o,e);var t,n,r,i=Kv(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Qv(Zv(t=i.call(this,e)),"style",{}),Qv(Zv(t),"defaultAngle",void 0),Qv(Zv(t),"normal",void 0),Qv(Zv(t),"stepperDrag",void 0),Qv(Zv(t),"onDragging",(function(e){var n,r=e.event,i=t.props,o=i.graphModel,a=i.nodeModel,s=i.eventCenter,l=o.selectNodes,u=a.x,c=a.y,f=r.clientX,h=r.clientY,d=o.getPointByClient({x:f,y:h}).canvasOverlayPosition,p=d.x,g=d.y,v=new Eu(p-u,g-c),y=(null===(n=t.normal)||void 0===n?void 0:n.angle(v))-t.defaultAngle,m=new sc(-u,-c).rotate(y).translate(u,c).toString();a.transform=m,a.rotate=y;var b=Object(Gv.map)(l,(function(e){return e.id}));-1===b.indexOf(a.id)&&(b=[a.id]);var _=Object(Gv.reduce)(b,(function(e,t){var n=o.getNodeModelById(t);return e[t]=null==n?void 0:n.getMoveDistance(0,0,!1),e}),{});b.forEach((function(e){o.getNodeEdges(e).forEach((function(e){if(_[e.sourceNodeId]){var t=o.getNodeModelById(e.sourceNodeId).anchors.find((function(t){return t.id===e.sourceAnchorId}));e.updateStartPoint(t)}if(_[e.targetNodeId]){var n=o.getNodeModelById(e.targetNodeId).anchors.find((function(t){return t.id===e.targetAnchorId}));e.updateEndPoint(n)}}))})),s.emit(pi.NODE_ROTATE,{e:r,nodeModel:a})})),t.style=e.style,t.stepperDrag=new lu({onDragging:t.onDragging}),t}return t=o,(n=[{key:"render",value:function(){var e=this,t=this.props.nodeModel,n=t.x,r=t.y,i=n+t.width/2+20,o=r-t.height/2-20;return this.normal=new Eu(1,0),this.defaultAngle=this.normal.angle(new Eu(i-n,o-r)),t.defaultAngle=this.defaultAngle,Object(ee.g)("g",{className:"lf-rotate-control"},Object(ee.g)("g",{onMouseDown:function(t){e.stepperDrag.handleMouseDown(t)}},Object(ee.g)(Xf,qv({},this.style,{cx:i,cy:o}))))}}])&&Xv(t.prototype,n),r&&Xv(t,r),o}(ee.a);function ty(e){return ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ty(e)}var ny=["className"];function ry(){return ry=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ry.apply(this,arguments)}function iy(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function oy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ay(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ay(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ay(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ly(e,t){return ly=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ly(e,t)}function uy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hy(e);if(t){var i=hy(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return cy(this,n)}}function cy(e,t){if(t&&("object"===ty(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return fy(e)}function fy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e){return hy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},hy(e)}function dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var py=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}(a,e);var t,n,r,o=uy(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),dy(fy(t=o.call(this)),"t",void 0),dy(fy(t),"moveOffset",void 0),dy(fy(t),"stepDrag",void 0),dy(fy(t),"contextMenuTime",void 0),dy(fy(t),"mouseUpDrag",void 0),dy(fy(t),"startTime",void 0),dy(fy(t),"clickTimer",void 0),dy(fy(t),"modelDisposer",void 0),dy(fy(t),"onDragStart",(function(e){var n=e.event,r=n.clientX,i=n.clientY,o=t.props,a=o.model,s=o.graphModel.getPointByClient({x:r,y:i}).canvasOverlayPosition,l=s.x,u=s.y;t.moveOffset={x:a.x-l,y:a.y-u}})),dy(fy(t),"onDragging",(function(e){var n=e.event,r=t.props,i=r.model,o=r.graphModel,a=o.editConfigModel,s=a.stopMoveGraph,l=a.autoExpand,u=o.transformModel,c=o.selectNodes,f=o.width,h=o.height,d=o.gridSize;i.isDragging=!0;var p=n.clientX,g=n.clientY,v=o.getPointByClient({x:p,y:g}).canvasOverlayPosition,y=v.x,m=v.y,b=oy(u.CanvasPointToHtmlPoint([y,m]),2),_=b[0],x=b[1];if(y+=t.moveOffset.x,m+=t.moveOffset.y,y=zo(y,d),m=zo(m,d),f&&h){if(!l||s||!(_<0||x<0||_>f||x>h)){var w=oy(u.CanvasPointToHtmlPoint([y-i.width/2,m-i.height/2]),2),S=w[0],k=w[1],E=oy(u.CanvasPointToHtmlPoint([y+i.width/2,m+i.height/2]),2),O=E[0],C=E[1],A=Math.max(d,20),T=[];S<0?T=[A,0]:O>o.width?T=[-A,0]:k<0?T=[0,A]:C>o.height&&(T=[0,-A]),t.t&&uv(t.t);var P=new sc(-y,-m).rotate(i.rotate).translate(y,m).toString();i.transform=P;var M=c.map((function(e){return e.id}));-1===M.indexOf(i.id)&&(M=[i.id]),T.length>0&&!s&&l?t.t=lv((function(){var e=oy(T,2),t=e[0],n=e[1];u.translate(t,n);var r=-t/u.SCALE_X,i=-n/u.SCALE_X;o.moveNodes(M,r,i)})):o.moveNodes(M,y-i.x,m-i.y)}}else o.moveNode2Coordinate(i.id,y,m)})),dy(fy(t),"onDragEnd",(function(){t.t&&uv(t.t),t.props.model.isDragging=!1})),dy(fy(t),"handleMouseUp",(function(){var e=t.props.model;t.mouseUpDrag=e.isDragging})),dy(fy(t),"handleClick",(function(e){var n=!1===t.mouseUpDrag;if(t.startTime){var r=t.props,i=r.model,o=r.graphModel;if(n){var a={data:i.getData(),e:e,position:o.getPointByClient({x:e.clientX,y:e.clientY}),isSelected:!1,isMultiple:!1},s=2===e.button,l=2===e.detail;if(!s){var u=o.editConfigModel,c=Wo(e,u);a.isMultiple=c,i.isSelected&&!l&&c?(a.isSelected=!1,i.setSelected(!1)):(o.selectNodeById(i.id,c),a.isSelected=!0,t.toFront()),l?(u.nodeTextEdit&&i.text.editable&&(i.setSelected(!1),o.setElementStateById(i.id,ci.TEXT_EDIT)),o.eventCenter.emit(pi.NODE_DBCLICK,a)):(o.eventCenter.emit(pi.ELEMENT_CLICK,a),o.eventCenter.emit(pi.NODE_CLICK,a))}}}})),dy(fy(t),"handleContextMenu",(function(e){e.preventDefault();var n=t.props,r=n.model,i=n.graphModel,o=r.getData(),a=i.getPointByClient({x:e.clientX,y:e.clientY});i.setElementStateById(r.id,ci.SHOW_MENU,a.domOverlayPosition),r.isSelected||i.selectNodeById(r.id),i.eventCenter.emit(pi.NODE_CONTEXTMENU,{data:o,e:e,position:a}),t.toFront()})),dy(fy(t),"handleMouseDown",(function(e){var n=t.props,r=n.model,i=n.graphModel;t.startTime=(new Date).getTime(),i.editConfigModel.adjustNodePosition&&r.draggable&&t.stepDrag&&t.stepDrag.handleMouseDown(e)})),dy(fy(t),"setHoverON",(function(e){var n=t.props,r=n.model,i=n.graphModel;if(!r.isHovered){var o=r.getData();r.setHovered(!0),i.eventCenter.emit(pi.NODE_MOUSEENTER,{data:o,e:e})}})),dy(fy(t),"setHoverOFF",(function(e){var n=t.props,r=n.model,i=n.graphModel,o=r.getData();r.isHovered&&(r.setHovered(!1),i.eventCenter.emit(pi.NODE_MOUSELEAVE,{data:o,e:e}))})),dy(fy(t),"onMouseOut",(function(e){Vv&&t.setHoverOFF(e)}));var n=e.graphModel,r=n.gridSize,s=n.eventCenter,l=e.model;return t.stepDrag=new lu({onDragStart:t.onDragStart,onDragging:t.onDragging,onDragEnd:t.onDragEnd,step:r,eventType:"NODE",isStopPropagation:!1,eventCenter:s,model:l}),t.modelDisposer=Object(i.F)((function(){return t.props}),(function(e){e&&e.model&&t.stepDrag.setModel(e.model)})),t}return t=a,r=[{key:"getModel",value:function(e){return e}}],(n=[{key:"componentWillUnmount",value:function(){this.modelDisposer&&this.modelDisposer()}},{key:"getAnchorShape",value:function(e){return null}},{key:"getAnchors",value:function(){var e=this,t=this.props,n=t.model,r=t.graphModel,i=n.isSelected,o=n.isHitable,a=n.isDragging,s=n.isShowAnchor;return o&&(i||s)&&!a?pr(n.anchors,(function(t,i){var o=n.getAnchorLineStyle(t),a=n.getAnchorStyle(t);return Object(ee.g)(Sv,{anchorData:t,node:e,style:a,edgeStyle:o,anchorIndex:i,nodeModel:n,graphModel:r,setHoverOFF:e.setHoverOFF})})):[]}},{key:"getRotateControl",value:function(){var e=this.props,t=e.model,n=e.graphModel,r=t.isSelected,i=t.isHitable,o=t.enableRotate,a=t.isHovered,s=t.getRotateControlStyle().style;if(i&&(r||a)&&o)return Object(ee.g)(ey,{graphModel:n,nodeModel:t,eventCenter:n.eventCenter,style:s})}},{key:"getText",value:function(){var e=this.props,t=e.model,n=e.graphModel;if(t.state===ci.TEXT_EDIT)return"";if(t.text){var r=n.editConfigModel,i=!1;return(t.text.draggable||r.nodeTextDraggable)&&(i=!0),Object(ee.g)(Hv,{editable:r.nodeTextEdit&&t.text.editable,model:t,graphModel:n,draggable:i})}}},{key:"getStateClassName",value:function(){var e=this.props.model,t=e.state,n=e.isDragging,r=e.isSelected,i="lf-node";switch(t){case ci.ALLOW_CONNECT:i+=" lf-node-allow";break;case ci.NOT_ALLOW_CONNECT:i+=" lf-node-not-allow";break;default:i+=" lf-node-default"}return n&&(i+=" lf-isDragging"),r&&(i+=" lf-node-selected"),i}},{key:"toFront",value:function(){var e=this.props,t=e.model,n=e.graphModel;t.autoToFront&&n.toFront(t.id)}},{key:"render",value:function(){var e,t=this.props,n=t.model,r=t.graphModel,i=r.editConfigModel,o=i.hideAnchors,a=i.adjustNodePosition,s=i.allowRotation,l=r.gridSize,u=r.transformModel.SCALE_X,c=n.isHitable,f=n.draggable,h=n.transform,d=n.getOuterGAttributes(),p=d.className,g=void 0===p?"":p,v=iy(d,ny),y=Object(ee.g)("g",{className:"lf-node-content"},Object(ee.g)("g",{transform:h},this.getShape(),this.getText(),s&&this.getRotateControl()),!o&&this.getAnchors());return c?(a&&f&&this.stepDrag.setStep(l*u),e=Object(ee.g)("g",ry({className:"".concat(this.getStateClassName()," ").concat(g),onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.handleClick,onMouseEnter:this.setHoverON,onMouseOver:this.setHoverON,onMouseLeave:this.setHoverOFF,onMouseOut:this.onMouseOut,onContextMenu:this.handleContextMenu},v),y)):e=Object(ee.g)("g",ry({className:"".concat(this.getStateClassName()," ").concat(g)},v),y),e}}])&&sy(t.prototype,n),r&&sy(t,r),a}(ee.a);function gy(e){return gy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gy(e)}function vy(){return vy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vy.apply(this,arguments)}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function my(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function by(e,t){return by=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},by(e,t)}function _y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wy(e);if(t){var i=wy(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xy(this,n)}}function xy(e,t){if(t&&("object"===gy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},wy(e)}var Sy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}(o,e);var t,n,r,i=_y(o);function o(){return yy(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getShape",value:function(){var e=this.props.model,t=e.getNodeStyle();return Object(ee.g)(Pf,vy({},t,{x:e.x,y:e.y,width:e.width,height:e.height,radius:e.radius}))}}])&&my(t.prototype,n),r&&my(t,r),o}(py);function ky(e){return ky="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ky(e)}function Ey(){return Ey=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ey.apply(this,arguments)}function Oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ay(e,t){return Ay=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ay(e,t)}function Ty(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=My(e);if(t){var i=My(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Py(this,n)}}function Py(e,t){if(t&&("object"===ky(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},My(e)}var Dy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}(o,e);var t,n,r,i=Ty(o);function o(){return Oy(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getShape",value:function(){var e=this.props.model,t=e.x,n=e.y,r=e.r,i=e.getNodeStyle();return Object(ee.g)(Xf,Ey({},i,{x:t,y:n,r:r}))}}])&&Cy(t.prototype,n),r&&Cy(t,r),o}(py);function Iy(e){return Iy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Iy(e)}function Ly(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ry(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ry(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ry(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jy(e){var t=e.points,n=e.className,r={fill:"transparent",fillOpacity:1,strokeWidth:1,stroke:"#000",strokeOpacity:1,points:""};return Object.entries(e).forEach((function(e){var t=Ly(e,2),n=t[0],i=t[1];"object"!==Iy(i)&&(r[n]=i)})),r.className=n?"lf-basic-shape ".concat(n):"lf-basic-shape",r.points=t.map((function(e){return e.join(",")})).join(" "),Object(ee.g)("polygon",r)}function Ny(e){return Ny="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ny(e)}function By(){return By=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},By.apply(this,arguments)}function Fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uy(e,t){return Uy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Uy(e,t)}function Hy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gy(e);if(t){var i=Gy(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Vy(this,n)}}function Vy(e,t){if(t&&("object"===Ny(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Gy(e)}var Wy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}(o,e);var t,n,r,i=Hy(o);function o(){return Fy(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getShape",value:function(){var e=this.props.model,t=e.x,n=e.y,r=e.width,i=e.height,o=e.points,a=e.getNodeStyle(),s={transform:"matrix(1 0 0 1 ".concat(t-r/2," ").concat(n-i/2,")")};return Object(ee.g)("g",s,Object(ee.g)(jy,By({},a,{points:o,x:t,y:n})))}}])&&zy(t.prototype,n),r&&zy(t,r),o}(py);function qy(e){return qy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qy(e)}function Xy(){return Xy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xy.apply(this,arguments)}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ky(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $y(e,t){return $y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$y(e,t)}function Zy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qy(e);if(t){var i=Qy(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Jy(this,n)}}function Jy(e,t){if(t&&("object"===qy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Qy(e)}var em=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}(o,e);var t,n,r,i=Zy(o);function o(){return Yy(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getShape",value:function(){var e=this.props.model,t=e.getNodeStyle();return Object(ee.g)("g",null,Object(ee.g)(jy,Xy({},t,{points:e.points,x:e.x,y:e.y})))}}])&&Ky(t.prototype,n),r&&Ky(t,r),o}(py);function tm(e){return tm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tm(e)}function nm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rm(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function im(e){var t=e.x,n=void 0===t?0:t,r=e.y,i=void 0===r?0:r,o=e.rx,a=void 0===o?4:o,s=e.ry,l=void 0===s?4:s,u=e.className,c={cx:n,cy:i,rx:a,ry:l,fill:"transparent",fillOpacity:1,strokeWidth:"1",stroke:"#000",strokeOpacity:1};return Object.entries(e).forEach((function(e){var t=nm(e,2),n=t[0],r=t[1];"object"!==tm(r)&&(c[n]=r)})),c.className=u?"lf-basic-shape ".concat(u):"lf-basic-shape",Object(ee.g)("ellipse",c)}function om(e){return om="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},om(e)}function am(){return am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},am.apply(this,arguments)}function sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function um(e,t){return um=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},um(e,t)}function cm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hm(e);if(t){var i=hm(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return fm(this,n)}}function fm(e,t){if(t&&("object"===om(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function hm(e){return hm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},hm(e)}var dm=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}(o,e);var t,n,r,i=cm(o);function o(){return sm(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getShape",value:function(){var e=this.props.model,t=e.getNodeStyle();return Object(ee.g)(im,am({},t,{x:e.x,y:e.y,rx:e.rx,ry:e.ry}))}}])&&lm(t.prototype,n),r&&lm(t,r),o}(py);function pm(e){return pm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pm(e)}function gm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gm(Object(n),!0).forEach((function(t){ym(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ym(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _m(e,t){return _m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_m(e,t)}function xm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sm(e);if(t){var i=Sm(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return wm(this,n)}}function wm(e,t){if(t&&("object"===pm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Sm(e){return Sm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Sm(e)}var km=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_m(e,t)}(o,e);var t,n,r,i=xm(o);function o(){return mm(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getBackground",value:function(){var e=this.props.model,t=e.getTextStyle(),n=e.width,r=e.height,i=e.x,o=e.y,a=vm(vm({},t.background),{},{x:i,y:o-1,width:n,height:r});return Object(ee.g)(Pf,a)}},{key:"getShape",value:function(){return Object(ee.g)("g",null,this.getBackground())}}])&&bm(t.prototype,n),r&&bm(t,r),o}(py);function Em(e){return Em="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Em(e)}function Om(){return Om=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Om.apply(this,arguments)}function Cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Am(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tm(e,t){return Tm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tm(e,t)}function Pm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Im(e);if(t){var i=Im(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Mm(this,n)}}function Mm(e,t){if(t&&("object"===Em(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Dm(e)}function Dm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Im(e){return Im=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Im(e)}function Lm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rm=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}(o,e);var t,n,r,i=Pm(o);function o(){var e;Cm(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Lm(Dm(e=i.call.apply(i,[this].concat(n))),"ref",void 0),Lm(Dm(e),"currentProperties",void 0),Lm(Dm(e),"preProperties",void 0),Lm(Dm(e),"setRef",(function(t){e.ref=t})),e}return t=o,(n=[{key:"rootEl",get:function(){return this.ref}},{key:"setHtml",value:function(e){e.appendChild(document.createElement("div"))}},{key:"shouldUpdate",value:function(){if(!this.preProperties||this.preProperties!==this.currentProperties)return this.preProperties=this.currentProperties,!0}},{key:"componentDidMount",value:function(){this.shouldUpdate()&&this.setHtml(this.rootEl)}},{key:"componentDidUpdate",value:function(){this.shouldUpdate()&&this.setHtml(this.rootEl)}},{key:"getShape",value:function(){var e=this.props.model,t=e.x,n=e.y,r=e.height,i=e.width,o=e.getNodeStyle();return this.currentProperties=JSON.stringify(e.properties),Object(ee.g)("foreignObject",Om({},o,{x:t-i/2,y:n-r/2,width:i,height:r,ref:this.setRef}))}}])&&Am(t.prototype,n),r&&Am(t,r),o}(py);function jm(e){return jm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jm(e)}function Nm(){return Nm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nm.apply(this,arguments)}function Bm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bm(Object(n),!0).forEach((function(t){qm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Um(e,t){return Um=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Um(e,t)}function Hm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Wm(e);if(t){var i=Wm(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Vm(this,n)}}function Vm(e,t){if(t&&("object"===jm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gm(e)}function Gm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wm(e){return Wm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Wm(e)}function qm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xm=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Um(e,t)}(o,e);var t,n,r,i=Hm(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),qm(Gm(t=i.call(this,e)),"setHoverON",(function(){t.setState({isHovered:!0})})),qm(Gm(t),"setHoverOFF",(function(){t.setState({isHovered:!1})})),t.state={isHovered:!1},t}return t=o,(n=[{key:"getBackground",value:function(){var e=this.props.model,t=e.getTextStyle(),n=e.text,r=e.width,i=t.background||{};if(this.state.isHovered&&t.hover&&t.hover.background&&(i=Fm(Fm({},i),t.hover.background)),n&&n.value&&"transparent"!==i.fill){var o,a=t.fontSize,s=t.overflowMode,l=t.lineHeight,u=t.wrapPadding,c=t.textWidth,f=n.value,h=n.x,d=n.y,p=String(f).split(/[\r\n]/g),g=p.length;if("autoWrap"===s&&c){var v=is({rows:p,style:{fontSize:"".concat(a,"px"),width:"".concat(c,"px"),lineHeight:l,padding:u},rowsLength:g,className:"lf-get-text-height"});o=Fm(Fm({},i),{},{x:h-1,y:d-1,width:c,height:v})}else{var y=0;p&&p.forEach((function(e){var t=Xl(e);y=t>y?t:y}));var m=os({rows:p,fontSize:a,rowsLength:g}),b=m.width,_=m.height;if("ellipsis"===s&&(b=c||r,_=a+2),"string"==typeof i.wrapPadding){var x=i.wrapPadding.split(",").filter((function(e){return e.trim()})).map((function(e){return parseFloat(e.trim())}));x.length>0&&x.length<=4&&(1===x.length?x=[x[0],x[0],x[0],x[0]]:2===x.length?x=[x[0],x[1],x[0],x[1]]:3===x.length&&(x=[x[0],x[1],x[2],x[1]]),b+=x[1]+x[3],_+=x[0]+x[2],h+=(x[1]-x[3])/2,d+=(x[2]-x[0])/2)}o=Fm(Fm({},i),{},{x:h-1,y:d-1,width:b,height:_})}return Object(ee.g)(Pf,o)}}},{key:"getShape",value:function(){var e=this.props.model,t=e.text,n=t.value,r=t.x,i=t.y;if(n){var o=Fm({x:r,y:i,className:"lf-element-text",value:n},e.getTextStyle());return Object(ee.g)("g",{className:"lf-line-text",onMouseEnter:this.setHoverON,onMouseLeave:this.setHoverOFF},this.getBackground(),Object(ee.g)(Pv,Nm({},o,{model:e})))}}}])&&zm(t.prototype,n),r&&zm(t,r),o}(Hv);function Ym(e){return Ym="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ym(e)}var Km,$m=["text","sourceAnchorId","targetAnchorId"];function Zm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zm(Object(n),!0).forEach((function(t){lb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function eb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rb(e,t){return rb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},rb(e,t)}function ib(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sb(e);if(t){var i=sb(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ob(this,n)}}function ob(e,t){if(t&&("object"===Ym(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ab(e)}function ab(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sb(e){return sb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},sb(e)}function lb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(Km||(Km={}));var ub=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}(o,e);var t,n,r,i=ib(o);function o(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),lb(ab(t=i.call(this)),"stepDragData",void 0),lb(ab(t),"stepDrag",void 0),lb(ab(t),"oldEdge",void 0),lb(ab(t),"preTargetNode",void 0),lb(ab(t),"targetRuleResults",void 0),lb(ab(t),"sourceRuleResults",void 0),lb(ab(t),"handleMouseDown",(function(e){t.stepDrag&&t.stepDrag.handleMouseDown(e)})),lb(ab(t),"onDragStart",(function(){var e=t.props,n=e.x,r=e.y,i=e.edgeModel,o=i.startPoint,a=i.endPoint,s=i.pointsList;t.oldEdge={startPoint:o,endPoint:a,pointsList:s},t.setState({endX:n,endY:r,dragging:!0})})),lb(ab(t),"onDragging",(function(e){var n=e.deltaX,r=e.deltaY,i=t.state,o=i.endX,a=i.endY,s=t.props,l=s.graphModel,u=s.type,c=l.transformModel,f=l.editConfigModel,h=eb(c.moveCanvasPointByHtml([o,a],n,r),2),d=h[0],p=h[1];t.setState({endX:d,endY:p,dragging:!0});var g=t.props.edgeModel,v=qa({x:o,y:a},l);if(v&&v.node&&t.isAllowAdjust(v).pass){var y,m=g.startPoint,b=g.endPoint,_=g.sourceNode,x=g.targetNode;u===Km.SOURCE?y={startPoint:{x:v.anchor.x,y:v.anchor.y},endPoint:{x:b.x,y:b.y},sourceNode:v.node,targetNode:x}:u===Km.TARGET&&(y={startPoint:{x:m.x,y:m.y},endPoint:{x:v.anchor.x,y:v.anchor.y},sourceNode:_,targetNode:v.node}),g.updateAfterAdjustStartAndEnd(y)}else u===Km.SOURCE?g.updateStartPoint({x:d,y:p}):u===Km.TARGET&&g.updateEndPoint({x:d,y:p});g.text.value&&f.adjustEdge&&g.setText(Object.assign({},g.text,g.textPosition))})),lb(ab(t),"onDragEnd",(function(e){var n=e.event;try{var r;t.setState({dragging:!1});var i=t.props,o=i.graphModel,a=i.edgeModel,s=i.type,l=t.state,u=l.endX,c=l.endY,f=l.dragging,h=qa({x:u,y:c},o);if(!f)return;var d,p=!1;if(h&&h.node){var g=t.isAllowAdjust(h),v=g.pass,y=g.msg,m=g.newTargetNode;if(v){var b=a.getData(),_=b.text,x=b.sourceAnchorId,w=void 0===x?"":x,S=b.targetAnchorId;d=Jm(Jm({sourceAnchorId:w,targetAnchorId:void 0===S?"":S},Qm(b,$m)),{},{text:(null==_?void 0:_.value)||""}),s===Km.SOURCE?(d=Jm(Jm({},o.edgeGenerator(o.getNodeModelById(h.node.id).getData(),o.getNodeModelById(a.targetNodeId).getData(),d)),{},{sourceNodeId:h.node.id,sourceAnchorId:h.anchor.id,startPoint:{x:h.anchor.x,y:h.anchor.y},targetNodeId:a.targetNodeId,endPoint:Jm({},a.endPoint)}),a.sourceNodeId===h.node.id&&a.sourceAnchorId===h.anchor.id&&(p=!0)):s===Km.TARGET&&(d=Jm(Jm({},o.edgeGenerator(o.getNodeModelById(a.sourceNodeId).getData(),o.getNodeModelById(h.node.id).getData(),d)),{},{sourceNodeId:a.sourceNodeId,startPoint:Jm({},a.startPoint),targetNodeId:h.node.id,targetAnchorId:h.anchor.id,endPoint:{x:h.anchor.x,y:h.anchor.y}}),a.targetNodeId===h.node.id&&a.targetAnchorId===h.anchor.id&&(p=!0))}else{p=!0;var k=m.getData();o.eventCenter.emit(pi.CONNECTION_NOT_ALLOWED,{data:k,msg:y})}}else p=!0;if(p)t.recoveryEdge();else{var E=a.getData();o.deleteEdgeById(a.id);var O=o.addEdge(Jm({},d));o.eventCenter.emit(pi.EDGE_EXCHANGE_NODE,{data:{newEdge:O.getData(),oldEdge:E}})}null===(r=t.preTargetNode)||void 0===r||r.setElementState(ci.DEFAULT)}finally{t.props.graphModel.eventCenter.emit(pi.ADJUST_POINT_DRAGEND,{e:n,data:t.stepDragData})}})),lb(ab(t),"recoveryEdge",(function(){var e=t.props.edgeModel,n=t.oldEdge,r=n.startPoint,i=n.endPoint,o=n.pointsList;e.updateStartPoint(r),e.updateEndPoint(i),e.modelType!==hi.LINE_EDGE&&(e.pointsList=o,e.initPoints())})),lb(ab(t),"getAdjustPointStyle",(function(){var e=t.props,n=e.graphModel.theme;return e.edgeModel,n.edgeAdjust})),t.state={dragging:!1,endX:0,endY:0},t.targetRuleResults=new Map,t.sourceRuleResults=new Map;var n=e.type,r=e.edgeModel,a=e.graphModel.eventCenter;return t.stepDragData={type:n,edgeData:r.getData()},t.stepDrag=new lu({onDragStart:t.onDragStart,onDragging:t.onDragging,onDragEnd:t.onDragEnd,eventType:"ADJUST_POINT",isStopPropagation:!1,eventCenter:a,data:t.stepDragData}),t}return t=o,(n=[{key:"isAllowAdjust",value:function(e){var t=this.props,n=t.edgeModel,r=n.id,i=n.sourceNode,o=n.targetNode,a=n.sourceAnchorId,s=n.targetAnchorId,l=t.type,u=null,c=null,f=null,h=null;if(l===Km.SOURCE?(u=e.node,c=o,f=e.anchor,h=o.getAnchorInfo(s)):(u=i,c=e.node,h=e.anchor,f=i.getAnchorInfo(a)),this.preTargetNode&&this.preTargetNode!==e.node&&this.preTargetNode.setElementState(ci.DEFAULT),this.preTargetNode=e.node,h.id===f.id)return{pass:!1,msg:"",newTargetNode:c};var d="".concat(u.id,"_").concat(c.id,"_").concat(f.id,"_").concat(h.id);if(!this.targetRuleResults.has(d)){var p=u.isAllowConnectedAsSource(c,f,h,r),g=c.isAllowConnectedAsTarget(u,f,h,r);this.sourceRuleResults.set(d,as(p)),this.targetRuleResults.set(d,as(g))}var v=this.sourceRuleResults.get(d),y=v.isAllPass,m=v.msg,b=this.targetRuleResults.get(d),_=b.isAllPass,x=b.msg,w=y&&_?ci.ALLOW_CONNECT:ci.NOT_ALLOW_CONNECT;return l===Km.SOURCE?u.setElementState(w):c.setElementState(w),{pass:y&&_,msg:x||m,newTargetNode:c}}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.getAdjustPointShape,i=e.edgeModel,o=this.state.dragging;return Object(ee.g)("g",{pointerEvents:o?"none":"",onMouseDown:this.handleMouseDown},o?"":r(t,n,i))}}])&&nb(t.prototype,n),r&&nb(t,r),o}(ee.a);function cb(e){return cb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cb(e)}function fb(){return fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fb.apply(this,arguments)}function hb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return db(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?db(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function db(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vb(e,t){return vb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vb(e,t)}function yb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_b(e);if(t){var i=_b(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return mb(this,n)}}function mb(e,t){if(t&&("object"===cb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bb(e)}function bb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _b(e){return _b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_b(e)}function xb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}(o,e);var t,n,r,i=yb(o);function o(){var e;pb(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return xb(bb(e=i.call.apply(i,[this].concat(n))),"startTime",void 0),xb(bb(e),"contextMenuTime",void 0),xb(bb(e),"clickTimer",void 0),xb(bb(e),"textRef",Object(ee.f)()),xb(bb(e),"handleHover",(function(t,n){var r=e.props,i=r.model,o=r.graphModel.eventCenter;i.setHovered(t);var a=t?pi.EDGE_MOUSEENTER:pi.EDGE_MOUSELEAVE,s=i.getData();o.emit(a,{data:s,e:n})})),xb(bb(e),"setHoverON",(function(t){e.props.model.isHovered||(e.textRef&&e.textRef.current&&e.textRef.current.setHoverON(),e.handleHover(!0,t))})),xb(bb(e),"setHoverOFF",(function(t){e.props.model.isHovered&&(e.textRef&&e.textRef.current&&e.textRef.current.setHoverOFF(),e.handleHover(!1,t))})),xb(bb(e),"handleContextMenu",(function(t){t.preventDefault(),e.contextMenuTime=(new Date).getTime(),e.clickTimer&&clearTimeout(e.clickTimer);var n=e.props,r=n.model,i=n.graphModel,o=i.getPointByClient({x:t.clientX,y:t.clientY});i.setElementStateById(r.id,ci.SHOW_MENU,o.domOverlayPosition),e.toFront(),r.isSelected||i.selectEdgeById(r.id);var a=null==r?void 0:r.getData();i.eventCenter.emit(pi.EDGE_CONTEXTMENU,{data:a,e:t,position:o})})),xb(bb(e),"handleMouseDown",(function(t){t.stopPropagation(),e.startTime=(new Date).getTime()})),xb(bb(e),"handleMouseUp",(function(t){if(e.startTime&&!((new Date).getTime()-e.startTime>200||2===t.button)){var n=2===t.detail,r=e.props,i=r.model,o=r.graphModel,a=null==i?void 0:i.getData(),s=o.getPointByClient({x:t.clientX,y:t.clientY});if(n){var l=o.editConfigModel,u=o.textEditElement;if(u&&u.id===i.id&&o.setElementStateById(i.id,ci.DEFAULT),l.edgeTextEdit&&i.text.editable&&o.setElementStateById(i.id,ci.TEXT_EDIT),i.modelType===hi.POLYLINE_EDGE){var c=i,f=o.getPointByClient({x:t.x,y:t.y}).canvasOverlayPosition,h=f.x,d=f.y,p=tu({x:h,y:d},c.points);c.dbClickPosition=p}o.eventCenter.emit(pi.EDGE_DBCLICK,{data:a,e:t,position:s})}else o.eventCenter.emit(pi.ELEMENT_CLICK,{data:a,e:t,position:s}),o.eventCenter.emit(pi.EDGE_CLICK,{data:a,e:t,position:s});var g=o.editConfigModel;o.selectEdgeById(i.id,Wo(t,g)),e.toFront()}})),e}return t=o,(n=[{key:"getShape",value:function(){return Object(ee.g)("g",null,this.getEdge())}},{key:"getTextStyle",value:function(){}},{key:"getText",value:function(){var e=this.props,t=e.model,n=e.graphModel;if(t.state===ci.TEXT_EDIT)return null;var r=!1,i=n.editConfigModel;return(t.text.draggable||i.edgeTextDraggable)&&(r=!0),Object(ee.g)(Xm,{ref:this.textRef,editable:i.edgeTextEdit&&t.text.editable,model:t,graphModel:n,draggable:r})}},{key:"getArrowInfo",value:function(){var e=this.props.model,t=e.startPoint,n=e.endPoint,r=e.isSelected;return{start:t,end:n,hover:this.state.hover,isSelected:r}}},{key:"getLastTwoPoints",value:function(){var e=this.props.model;return[e.startPoint,e.endPoint]}},{key:"getArrowStyle",value:function(){return null}},{key:"getArrow",value:function(){var e=this.props.model,t=e.id,n=e.getArrowStyle(),r=n.refY,i=void 0===r?0:r,o=n.refX,a=void 0===o?2:o,s=hb(this.getLastTwoPoints(),2),l=s[0],u=s[1],c="auto";return null!==l&&null!==u&&(c=il(rl({x:u.x-l.x,y:u.y-l.y,z:0}))),Object(ee.g)("g",null,Object(ee.g)("defs",null,Object(ee.g)("marker",{id:"marker-start-".concat(t),refX:-a,refY:i,overflow:"visible",orient:"auto",markerUnits:"userSpaceOnUse"},this.getStartArrow()),Object(ee.g)("marker",{id:"marker-end-".concat(t),refX:a,refY:i,overflow:"visible",orient:c,markerUnits:"userSpaceOnUse"},this.getEndArrow())))}},{key:"getStartArrow",value:function(){var e=this.props.model.getArrowStyle();return e.stroke,e.strokeWidth,e.offset,e.verticalLength,Object(ee.g)("path",null)}},{key:"getEndArrow",value:function(){var e=this.props.model.getArrowStyle(),t=e.stroke,n=e.strokeWidth,r=e.offset,i=e.verticalLength;return Object(ee.g)("path",{stroke:t,fill:t,strokeWidth:n,transform:"rotate(180)",d:"M 0 0 L ".concat(r," -").concat(i," L ").concat(r," ").concat(i," Z")})}},{key:"getAdjustPointShape",value:function(e,t,n){var r=n.getAdjustPointStyle();return Object(ee.g)(Xf,fb({className:"lf-edge-adjust-point"},r,{x:e,y:t}))}},{key:"getAdjustPoints",value:function(){var e=this.props,t=e.model,n=e.graphModel,r=t.getAdjustStart(),i=t.getAdjustEnd();return Object(ee.g)("g",null,Object(ee.g)(ub,fb({type:"SOURCE"},r,{getAdjustPointShape:this.getAdjustPointShape,edgeModel:t,graphModel:n})),Object(ee.g)(ub,fb({type:"TARGET"},i,{getAdjustPointShape:this.getAdjustPointShape,edgeModel:t,graphModel:n})))}},{key:"getAnimation",value:function(){}},{key:"getAppendWidth",value:function(){return Object(ee.g)("g",null)}},{key:"getAppend",value:function(){return Object(ee.g)("g",{className:"lf-edge-append"},this.getAppendWidth())}},{key:"getEdge",value:function(){return null}},{key:"toFront",value:function(){var e=this.props,t=e.graphModel,n=e.model;t.toFront(n.id)}},{key:"render",value:function(){var e=this.props,t=e.model,n=t.isSelected,r=t.isHitable,i=t.isShowAdjustPoint;return e.graphModel.animation,Object(ee.g)("g",null,Object(ee.g)("g",{className:["lf-edge",!r&&"pointer-none",n&&"lf-edge-selected"].filter(Boolean).join(" "),onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onContextMenu:this.handleContextMenu,onMouseOver:this.setHoverON,onMouseEnter:this.setHoverON,onMouseLeave:this.setHoverOFF},this.getShape(),this.getAppend(),this.getText(),this.getArrow()),i&&n?this.getAdjustPoints():"")}}])&&gb(t.prototype,n),r&&gb(t,r),o}(ee.a);function Sb(e){return Sb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sb(e)}function kb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Eb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ob=function(e){var t={d:""};return Object.entries(e).forEach((function(e){var n=kb(e,2),r=n[0],i=n[1],o=Sb(i);"style"!==r&&"object"===o||(t[r]=i)})),Object(ee.g)("path",t)};function Cb(e){return Cb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cb(e)}function Ab(){return Ab=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ab.apply(this,arguments)}function Tb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mb(e,t){return Mb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mb(e,t)}function Db(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Lb(e);if(t){var i=Lb(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ib(this,n)}}function Ib(e,t){if(t&&("object"===Cb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Lb(e){return Lb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Lb(e)}var Rb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}(o,e);var t,n,r,i=Db(o);function o(){return Tb(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getEdge",value:function(){var e=this.props.model,t=e.startPoint,n=e.endPoint,r=e.isAnimation,i=e.arrowConfig,o=e.getEdgeStyle(),a=e.getEdgeAnimationStyle(),s=a.strokeDasharray,l=a.stroke,u=a.strokeDashoffset,c=a.animationName,f=a.animationDuration,h=a.animationIterationCount,d=a.animationTimingFunction,p=a.animationDirection;return Object(ee.g)(pf,Ab({},o,{x1:t.x,y1:t.y,x2:n.x,y2:n.y},i,r?{strokeDasharray:s,stroke:l,style:{strokeDashoffset:u,animationName:c,animationDuration:f,animationIterationCount:h,animationTimingFunction:d,animationDirection:p}}:{}))}},{key:"getAppendWidth",value:function(){var e=this.props.model,t=e.startPoint,n=e.endPoint,r=$l({start:t,end:n}),i=r.d,o=r.strokeWidth,a=r.fill,s=r.strokeDasharray,l=r.stroke;return Object(ee.g)(Ob,{d:i,fill:a,strokeWidth:o,stroke:l,strokeDasharray:s})}}])&&Pb(t.prototype,n),r&&Pb(t,r),o}(wb);function jb(e){return jb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jb(e)}function Nb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Fb=function(e){var t={points:"",fill:"none"};return Object.entries(e).forEach((function(e){var n=Nb(e,2),r=n[0],i=n[1];("style"===r||"object"!==jb(i))&&(t[r]=i)})),Object(ee.g)("polyline",t)};function zb(e){return zb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zb(e)}function Ub(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ub(Object(n),!0).forEach((function(t){Jb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ub(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vb(){return Vb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vb.apply(this,arguments)}function Gb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Wb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xb(e,t){return Xb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xb(e,t)}function Yb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Zb(e);if(t){var i=Zb(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Kb(this,n)}}function Kb(e,t){if(t&&("object"===zb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $b(e)}function $b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zb(e){return Zb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Zb(e)}function Jb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}(o,e);var t,n,r,i=Yb(o);function o(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Jb($b(e=i.call(this)),"drag",void 0),Jb($b(e),"isDragging",void 0),Jb($b(e),"isShowAdjustPointTemp",void 0),Jb($b(e),"appendInfo",void 0),Jb($b(e),"onDragStart",(function(){var t=e.props.model;t.dragAppendStart(),e.isShowAdjustPointTemp=t.isShowAdjustPoint,t.isShowAdjustPoint=!1})),Jb($b(e),"onDragging",(function(t){var n=t.deltaX,r=t.deltaY,i=e.props,o=i.model,a=i.graphModel;e.isDragging=!0;var s=a.transformModel,l=a.editConfigModel,u=Gb(s.fixDeltaXY(n,r),2),c=u[0],f=u[1],h=o,d=l.adjustEdgeMiddle;e.appendInfo=d?h.dragAppendSimple(e.appendInfo,{x:c,y:f}):h.dragAppend(e.appendInfo,{x:c,y:f})})),Jb($b(e),"onDragEnd",(function(){var t=e.props,n=t.model,r=t.graphModel.eventCenter,i=n;i.dragAppendEnd(),e.isDragging=!1,i.isShowAdjustPoint=e.isShowAdjustPointTemp,e.appendInfo=void 0,r.emit(pi.EDGE_ADJUST,{data:i.getData()})})),Jb($b(e),"beforeDragStart",(function(t,n){n.dragAble&&e.drag.handleMouseDown(t),e.appendInfo=n})),e.drag=new lu({onDragStart:e.onDragStart,onDragging:e.onDragging,onDragEnd:e.onDragEnd,isStopPropagation:!1}),e}return t=o,(n=[{key:"getEdge",value:function(){var e=this.props.model,t=e.points,n=e.isAnimation,r=e.arrowConfig,i=e.getEdgeStyle(),o=e.getEdgeAnimationStyle(),a=o.strokeDasharray,s=o.stroke,l=o.strokeDashoffset,u=o.animationName,c=o.animationDuration,f=o.animationIterationCount,h=o.animationTimingFunction,d=o.animationDirection;return Object(ee.g)(Fb,Vb({points:t},i,r,n?{strokeDasharray:a,stroke:s,style:{strokeDashoffset:l,animationName:u,animationDuration:c,animationIterationCount:f,animationTimingFunction:h,animationDirection:d}}:{}))}},{key:"getArrowInfo",value:function(){var e=this.props.model,t=e.points,n=e.isSelected,r={start:null,end:null,hover:this.state.hover,isSelected:n},i=Gl(t);return i.length>=2&&(r.start=i[i.length-2],r.end=i[i.length-1]),r}},{key:"getLastTwoPoints",value:function(){var e=this.props.model.points,t=Gl(e);return t.length>=2?[t[t.length-2],t[t.length-1]]:[null,null]}},{key:"getAppendAttributes",value:function(e){var t,n=e.start,r=e.end;if(n.x===r.x&&n.y===r.y)t="";else{var i={start:n,end:r,offset:10,verticalLength:5},o=Qs(Hb(Hb({},i),{},{type:"start"})),a=Qs(Hb(Hb({},i),{},{type:"end"}));t="M".concat(o.leftX," ").concat(o.leftY," \n L").concat(o.rightX," ").concat(o.rightY," \n L").concat(a.rightX," ").concat(a.rightY,"\n L").concat(a.leftX," ").concat(a.leftY," z")}return{d:t,fill:"transparent",stroke:"transparent",strokeWidth:1,strokeDasharray:"4, 4"}}},{key:"getAppendShape",value:function(e){var t=this.getAppendAttributes(e),n=t.d,r=t.strokeWidth,i=t.fill,o=t.strokeDasharray,a=t.stroke;return Object(ee.g)(Ob,{d:n,fill:i,strokeWidth:r,stroke:a,strokeDasharray:o})}},{key:"getAppendWidth",value:function(){for(var e=this,t=this.props,n=t.model,r=t.graphModel,i=n.pointsList,o=n.draggable,a=[],s=i.length,l=function(t){var n="lf-polyline-append",l={start:{x:i[t].x,y:i[t].y},end:{x:i[t+1].x,y:i[t+1].y},startIndex:t,endIndex:t+1,direction:"",dragAble:!0},u=Object(ee.g)("g",{className:n},e.getAppendShape(l)),c=r.editConfigModel,f=c.adjustEdge,h=c.adjustEdgeMiddle;if(f&&o){var d=l.startIndex,p=l.endIndex,g=h&&(0===d||p===s-1);l.dragAble=!g,l.start.x===l.end.x?(l.dragAble&&(n+="-ew-resize"),l.direction=gi.VERTICAL):l.start.y===l.end.y&&(l.dragAble&&(n+="-ns-resize"),l.direction=gi.HORIZONTAL),u=Object(ee.g)("g",{className:e.isDragging?"lf-dragging":"lf-drag-able",onMouseDown:function(t){return e.beforeDragStart(t,l)}},Object(ee.g)("g",{className:n},e.getAppendShape(l)))}a.push(u)},u=0;u<s-1;u++)l(u);return Object(ee.g)("g",null,a)}}])&&qb(t.prototype,n),r&&qb(t,r),o}(wb);function e_(e){return e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e_(e)}function t_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?n_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r_(){return r_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r_.apply(this,arguments)}function i_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a_(e,t){return a_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a_(e,t)}function s_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u_(e);if(t){var i=u_(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l_(this,n)}}function l_(e,t){if(t&&("object"===e_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u_(e)}var c_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}(o,e);var t,n,r,i=s_(o);function o(){return i_(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"getEdge",value:function(){var e=this.props.model,t=e.getEdgeStyle(),n=e.path,r=e.isAnimation,i=e.arrowConfig,o=e.getEdgeAnimationStyle(),a=o.strokeDasharray,s=o.stroke,l=o.strokeDashoffset,u=o.animationName,c=o.animationDuration,f=o.animationIterationCount,h=o.animationTimingFunction,d=o.animationDirection;return Object(ee.g)(Ob,r_({d:n},t,i,r?{strokeDasharray:a,stroke:s,style:{strokeDashoffset:l,animationName:u,animationDuration:c,animationIterationCount:f,animationTimingFunction:h,animationDirection:d}}:{}))}},{key:"getAppendWidth",value:function(){var e=this.props.model.path;return Object(ee.g)(Ob,{d:e,strokeWidth:10,stroke:"transparent",fill:"none"})}},{key:"getArrowInfo",value:function(){var e=this.props.model,t=this.state.hover,n=e.isSelected,r=e.getArrowStyle().offset,i=e.pointsList.map((function(e){return{x:e.x,y:e.y}})),o=t_(eu(i,r),2);return{start:o[0],end:o[1],hover:t,isSelected:n}}},{key:"getLastTwoPoints",value:function(){var e=this.props.model,t=e.getArrowStyle().offset,n=e.pointsList.map((function(e){return{x:e.x,y:e.y}}));return eu(n,t)}}])&&o_(t.prototype,n),r&&o_(t,r),o}(wb);function f_(e){return f_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f_(e)}function h_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v_(e,t){return v_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v_(e,t)}function y_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b_(e);if(t){var i=b_(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return m_(this,n)}}function m_(e,t){if(t&&("object"===f_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b_(e)}var __=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}(o,e);var t,n,r,i=y_(o);function o(){return p_(this,o),i.apply(this,arguments)}return t=o,n=[{key:"getArrowAttributes",value:function(){var e=this.props,t=e.arrowInfo,n=e.style,r=t.start,i=t.end,o={start:r,end:i,offset:n.offset,verticalLength:n.verticalLength,type:"end"},a=Qs(o),s=a.leftX,l=a.leftY,u=a.rightX,c=a.rightY;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h_(Object(n),!0).forEach((function(t){d_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({d:"M".concat(s," ").concat(l," L").concat(i.x," ").concat(i.y," L").concat(u," ").concat(c," z")},n)}},{key:"getShape",value:function(){var e=this.getArrowAttributes(),t=e.d,n=e.strokeWidth,r=e.stroke,i=e.fill;return Object(ee.g)(Ob,{d:t,fill:i,strokeWidth:n,stroke:r})}},{key:"render",value:function(){return Object(ee.g)("g",{className:"lf-arrow"},this.getShape())}}],n&&g_(t.prototype,n),r&&g_(t,r),o}(ee.a),x_=function(e,t){return In(e,t)},w_=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},S_=function(){return ye.a.Date.now()},k_=Math.max,E_=Math.min,O_=function(e,t,n){var r,i,o,a,s,l,u=0,c=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function d(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function p(e){return u=e,s=setTimeout(v,t),c?d(e):a}function g(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-u>=o}function v(){var e=S_();if(g(e))return y(e);s=setTimeout(v,function(e){var n=t-(e-l);return f?E_(n,o-(e-u)):n}(e))}function y(e){return s=void 0,h&&r?d(e):(r=i=void 0,a)}function m(){var e=S_(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return p(l);if(f)return clearTimeout(s),s=setTimeout(v,t),d(l)}return void 0===s&&(s=setTimeout(v,t)),a}return t=ra(t)||0,Ae(n)&&(c=!!n.leading,o=(f="maxWait"in n)?k_(ra(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},m.flush=function(){return void 0===s?a:y(S_())},m},C_=n(172);function A_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P_,M_,D_,I_=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),T_(this,"undos",[]),T_(this,"redos",[]),T_(this,"callbacks",[]),T_(this,"stopWatch",null),T_(this,"curData",null),T_(this,"maxSize",50),T_(this,"waitTime",100),T_(this,"eventCenter",void 0),this.eventCenter=t}var t,n,r;return t=e,(n=[{key:"add",value:function(e){x_(w_(this.undos),e)||(this.undos.push(e),x_(this.curData,e)||(this.redos=[]),this.eventCenter.emit(pi.HISTORY_CHANGE,{data:{undos:this.undos,redos:this.redos,undoAble:this.undos.length>1,redoAble:this.redos.length>0}}),this.undos.length>this.maxSize&&this.undos.shift())}},{key:"undoAble",value:function(){return this.undos.length>1}},{key:"undo",value:function(){if(this.undoAble()){var e=this.undos.pop();this.redos.push(e);var t=this.undos.pop();return this.curData=wo(t),t}}},{key:"redoAble",value:function(){return this.redos.length>0}},{key:"redo",value:function(){if(this.redoAble()){var e=this.redos.pop();return this.curData=wo(e),e}}},{key:"watch",value:function(e){var t=this;this.stopWatch&&this.stopWatch(),this.undos.push(e.modelToGraphData()),this.stopWatch=Object(C_.a)(e,O_((function(){var n=e.modelToHistoryData();n&&t.add(n)}),this.waitTime))}}])&&A_(t.prototype,n),r&&A_(t,r),e}();function L_(e){return L_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L_(e)}function R_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N_(Object(n),!0).forEach((function(t){W_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z_(e,t){return z_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},z_(e,t)}function U_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=G_(e);if(t){var i=G_(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return H_(this,n)}}function H_(e,t){if(t&&("object"===L_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V_(e)}function V_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},G_(e)}function W_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q_,X_,Y_,K_=Mx((D_=M_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}(o,e);var t,n,r,i=U_(o);function o(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),W_(V_(e=i.call(this)),"ref",Object(ee.f)()),W_(V_(e),"__prevText",{type:"",text:"",id:""}),W_(V_(e),"keyupHandler",(function(t){var n=e.props.graphModel.textEditElement;"Enter"===t.key&&t.altKey&&n.setElementState(0)})),W_(V_(e),"inputHandler",(function(t){var n=t.target.innerText,r=e.props.graphModel.textEditElement;e.__prevText={type:r.type,text:n.replace(/(\r\n)+$|(\n)+$/,""),id:r.id}})),W_(V_(e),"keydownHandler",(function(e){e.stopPropagation()})),e.state={style:{left:0,top:0}},e}return t=o,r=[{key:"getDerivedStateFromProps",value:function(e){var t,n=e.graphModel,r=n.transformModel,i=n.theme,o=i.inputText,a=n.textEditElement;if(a){var s;if(null===(s=a.text)||void 0===s||!s.value)if(a.BaseType===di.EDGE){var l=(a=a).text,u=a.textPosition,c=u.x,f=u.y;l.x=c,l.y=f,a.setText(l)}else a=a;var h={resize:"auto",whiteSpace:"normal",wordBreak:"break-all"};if(a.BaseType===di.EDGE){var d=i.edgeText,p=d.overflowMode,g=d.lineHeight,v=d.wrapPadding,y=d.textWidth;y&&"autoWrap"===p&&(t=B_(B_({},h),{},{width:y,minWidth:y,lineHeight:g,padding:v}))}else if(a.BaseType===di.NODE){var m=i.nodeText,b=m.overflowMode,_=m.lineHeight,x=m.wrapPadding,w=m.textWidth,S=a,k=S.width,E=S.modelType,O=S.textWidth||w||k;(E!==hi.TEXT_NODE&&"autoWrap"===b||E===hi.TEXT_NODE&&w)&&(t=B_(B_({},h),{},{width:O,minWidth:O,lineHeight:_,padding:x}))}var C=a.text,A=C.x,T=C.y,P=R_(r.CanvasPointToHtmlPoint([A,T]),2);return{style:B_(B_({left:P[0],top:P[1]},t),o)}}}}],(n=[{key:"componentDidUpdate",value:function(){var e=this.props.graphModel;if(this.ref.current&&(this.ref.current.focus(),this.placeCaretAtEnd(this.ref.current)),""!==this.__prevText.id){var t=this.__prevText,n=t.text,r=t.id;e.updateText(r,n),e.eventCenter.emit(pi.TEXT_UPDATE,B_({},this.__prevText)),this.__prevText.id="",this.__prevText.text="",this.__prevText.type=""}}},{key:"placeCaretAtEnd",value:function(e){if(void 0!==window.getSelection&&void 0!==document.createRange){var t=document.createRange();t.selectNodeContents(e),t.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(t)}}},{key:"render",value:function(){var e,t=this.props.graphModel.textEditElement,n=this.state.style;return t?Object(ee.g)("div",{contentEditable:!0,className:"lf-text-input",style:n,ref:this.ref,key:t.id,onKeyUp:this.keyupHandler,onKeyDown:this.keydownHandler,onKeyPress:this.keydownHandler,onInput:this.inputHandler},null===(e=t.text)||void 0===e?void 0:e.value):null}}])&&F_(t.prototype,n),r&&F_(t,r),o}(ee.a),W_(M_,"toolName","textEdit"),P_=D_))||P_,$_=function(e){return e.modelType===hi.LINE_EDGE?function(e){var t=e.startPoint,n=e.endPoint,r=(t.x+n.x)/2,i=(t.y+n.y)/2,o=Math.abs(t.x-n.x)+10,a=Math.abs(t.y-n.y)+10;return{x:r-o/2,y:i-a/2,x1:r+o/2,y1:i+a/2}}(e):e.modelType===hi.POLYLINE_EDGE?function(e){var t=e.points,n=Gl(t),r=xl(n,8),i=r.x,o=r.y,a=r.width,s=r.height;return{x:i-a/2,y:o-s/2,x1:i+a/2,y1:o+s/2}}(e):e.modelType===hi.BEZIER_EDGE?function(e){var t=e.path,n=Jl(t),r=xl(n,8),i=r.x,o=r.y,a=r.width,s=r.height;return{x:i-a/2,y:o-s/2,x1:i+a/2,y1:o+s/2}}(e):void 0};function Z_(e){return Z_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z_(e)}function J_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||ex(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q_(e){return function(e){if(Array.isArray(e))return tx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ex(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ex(e,t){if(e){if("string"==typeof e)return tx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tx(e,t):void 0}}function tx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rx(e,t){return rx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},rx(e,t)}function ix(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sx(e);if(t){var i=sx(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ox(this,n)}}function ox(e,t){if(t&&("object"===Z_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ax(e)}function ax(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sx(e){return sx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},sx(e)}function lx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ux=Mx((Y_=X_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rx(e,t)}(o,e);var t,n,r,i=ix(o);function o(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),lx(ax(t=i.call(this)),"stepDrag",void 0),lx(ax(t),"handleMouseDown",(function(e){t.stepDrag.handleMouseDown(e)})),lx(ax(t),"handleWheelEvent",(function(e){var n,r;e.preventDefault();var i=e.deltaX,o=e.deltaY,a=e.clientX,s=e.clientY,l=e.ctrlKey,u=new WheelEvent("wheel",{deltaX:i,deltaY:o,clientX:a,clientY:s,ctrlKey:l});null===(n=t.props.logicFlow.container)||void 0===n||null===(r=n.querySelector('.lf-canvas-overlay[name="canvas-overlay"]'))||void 0===r||r.dispatchEvent(u)})),lx(ax(t),"onDragging",(function(e){var n=e.deltaX,r=e.deltaY,i=t.props.graphModel,o=i.getSelectElements(!0);i.moveNodes(o.nodes.map((function(e){return e.id})),n,r)})),lx(ax(t),"handleContextMenu",(function(e){e.preventDefault();var n=t.props,r=n.graphModel,i=n.graphModel,o=i.eventCenter,a=i.selectElements,s=r.getPointByClient({x:e.clientX,y:e.clientY}),l={nodes:[],edges:[]};Q_(a.values()).forEach((function(e){e.BaseType===di.NODE&&l.nodes.push(e.getData()),e.BaseType===di.EDGE&&l.edges.push(e.getData())})),o.emit(pi.SELECTION_CONTEXTMENU,{data:l,e:e,position:s})}));var n=e.graphModel,r=n.gridSize,a=n.eventCenter;return t.stepDrag=new lu({onDragging:t.onDragging,step:r,eventType:"SELECTION",eventCenter:a}),t}return t=o,(n=[{key:"render",value:function(){var e=this.props.graphModel,t=e.selectElements,n=e.transformModel;if(!(t.size<=1)){var r=Number.MAX_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER;t.forEach((function(e){var t={x:0,y:0,x1:0,y1:0};e.BaseType===di.NODE&&(t=function(e){var t=e.x,n=e.y,r=e.width,i=e.height;return{x:t-r/2,y:n-i/2,x1:t+r/2,y1:n+i/2}}(e)),e.BaseType===di.EDGE&&(t=$_(e)),r=Math.min(r,t.x),i=Math.min(i,t.y),o=Math.max(o,t.x1),a=Math.max(a,t.y1)}));var s=J_(n.CanvasPointToHtmlPoint([r,i]),2);r=s[0],i=s[1];var l=J_(n.CanvasPointToHtmlPoint([o,a]),2);o=l[0],a=l[1];var u={left:"".concat(r-10,"px"),top:"".concat(i-10,"px"),width:"".concat(o-r+20,"px"),height:"".concat(a-i+20,"px")};return Object(ee.g)("div",{className:"lf-multiple-select",style:u,onMouseDown:this.handleMouseDown,onContextMenu:this.handleContextMenu,onWheel:this.handleWheelEvent})}}}])&&nx(t.prototype,n),r&&nx(t,r),o}(ee.a),lx(X_,"toolName","multipleSelect"),q_=Y_))||q_;function cx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hx=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),fx(this,"tools",void 0),fx(this,"components",void 0),fx(this,"toolMap",new Map),fx(this,"instance",void 0),this.instance=t,this.isDisabledTool(K_.toolName)||this.registerTool(K_.toolName,K_),this.isDisabledTool(ux.toolName)||this.registerTool(ux.toolName,ux);var n=t.graphModel;n.eventCenter.on("".concat(pi.GRAPH_TRANSFORM,",").concat(pi.NODE_CLICK,",").concat(pi.BLANK_CLICK," "),(function(){var e=n.textEditElement,t=n.editConfigModel,r=t.edgeTextEdit,i=t.nodeTextEdit;(r||i)&&e&&n.textEditElement.setElementState(ci.DEFAULT)}))}var t,n,r;return t=e,(n=[{key:"isDisabledTool",value:function(e){return-1!==this.instance.options.disabledTools.indexOf(e)}},{key:"registerTool",value:function(e,t){this.toolMap.set(e,t)}},{key:"getTools",value:function(){return Array.from(this.toolMap.values())}},{key:"getInstance",value:function(){return this.instance}}])&&cx(t.prototype,n),r&&cx(t,r),e}(),dx=n(173),px=n.n(dx);function gx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yx=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),vx(this,"mousetrap",void 0),vx(this,"options",void 0),vx(this,"target",void 0),t.keyboard||(t.keyboard={enabled:!1}),this.options=t;var n=t.lf;this.target=n.container,this.mousetrap=new px.a(this.target),t.keyboard.enabled&&!n.options.isSilentMode&&this.enable(!0)}var t,n,r;return t=e,(n=[{key:"initShortcuts",value:function(){var e=this,t=this.options.keyboard.shortcuts;if(t)if(Ct(t))t.forEach((function(t){var n=t.keys,r=t.callback,i=t.action;return e.on(n,r,i)}));else{var n=t.keys,r=t.callback,i=t.action;this.on(n,r,i)}}},{key:"on",value:function(e,t,n){this.mousetrap.bind(this.getKeys(e),t,n)}},{key:"disabled",get:function(){return!0!==this.options.keyboard.enabled}},{key:"off",value:function(e,t){this.mousetrap.unbind(this.getKeys(e),t)}},{key:"enable",value:function(e){(this.disabled||e)&&(this.options.keyboard.enabled=!0,this.target instanceof HTMLElement&&(this.target.setAttribute("tabindex","-1"),this.target.style.outline="none"))}},{key:"disable",value:function(){this.disabled||(this.options.keyboard.enabled=!1,this.target instanceof HTMLElement&&this.target.removeAttribute("tabindex"))}},{key:"getKeys",value:function(e){var t=this;return(Array.isArray(e)?e:[e]).map((function(e){return t.formatKey(e)}))}},{key:"formatKey",value:function(e){return e.toLowerCase().replace(/\s/g,"").replace("delete","del").replace("cmd","command")}}])&&gx(t.prototype,n),r&&gx(t,r),e}(),mx=yx,bx=null;function _x(e,t){return e.x+=t,e.y+=t,e.text&&(e.text.x+=t,e.text.y+=t),e}function xx(e,t){return e.startPoint&&(e.startPoint.x+=t,e.startPoint.y+=t),e.endPoint&&(e.endPoint.x+=t,e.endPoint.y+=t),e.pointsList&&e.pointsList.length>0&&e.pointsList.forEach((function(e){e.x+=t,e.y+=t})),e.text&&(e.text.x+=t,e.text.y+=t),e}var wx=40,Sx=40;function kx(e){return kx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kx(e)}function Ex(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ox(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ex(Object(n),!0).forEach((function(t){Ax(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ex(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ax(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tx=Symbol("plugin register by Logicflow.use"),Px=function(){function e(t){var n,r,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ax(this,"container",void 0),Ax(this,"width",void 0),Ax(this,"height",void 0),Ax(this,"graphModel",void 0),Ax(this,"history",void 0),Ax(this,"viewMap",new Map),Ax(this,"tool",void 0),Ax(this,"keyboard",void 0),Ax(this,"dnd",void 0),Ax(this,"options",void 0),Ax(this,"snaplineModel",void 0),Ax(this,"components",[]),Ax(this,"plugins",void 0),Ax(this,"extension",{}),Ax(this,"adapterIn",void 0),Ax(this,"adapterOut",void 0),Ax(this,"getView",(function(e){return i.viewMap.get(e)})),t=Rh(t),this.options=t,this.container=this.initContainer(t.container),this.plugins=t.plugins,this.graphModel=new kc(Ox({},t)),this.tool=new hx(this),this.history=new I_(this.graphModel.eventCenter),this.dnd=new Lh({lf:this}),this.keyboard=new mx({lf:this,keyboard:t.keyboard}),!1!==t.snapline&&(this.snaplineModel=new av(this.graphModel),n=this.graphModel.eventCenter,r=this.snaplineModel,n.on("node:mousemove",(function(e){var t=e.data;r.setNodeSnapLine(t)})),n.on("node:mouseup",(function(){r.clearSnapline()}))),function(e,t){var n=e.keyboard,r=n.options.keyboard;n.on(["cmd + c","ctrl + c"],(function(){if(Sx=wx,!r.enabled)return!0;if(t.textEditElement)return!0;var n=e.options.guards,i=t.getSelectElements(!1);return n&&n.beforeClone&&!n.beforeClone(i)||0===i.nodes.length&&0===i.edges.length?(bx=null,!0):((bx=i).nodes.forEach((function(e){return _x(e,wx)})),bx.edges.forEach((function(e){return xx(e,wx)})),!1)})),n.on(["cmd + v","ctrl + v"],(function(){if(!r.enabled)return!0;if(t.textEditElement)return!0;if(bx&&(bx.nodes||bx.edges)){e.clearSelectElements();var n=e.addElements(bx,Sx);if(!n)return!0;n.nodes.forEach((function(t){return e.selectElementById(t.id,!0)})),n.edges.forEach((function(t){return e.selectElementById(t.id,!0)})),bx.nodes.forEach((function(e){return _x(e,wx)})),bx.edges.forEach((function(e){return xx(e,wx)})),Sx+=wx}return!1})),n.on(["cmd + z","ctrl + z"],(function(){return!r.enabled||!!t.textEditElement||(e.undo(),!1)})),n.on(["cmd + y","ctrl + y"],(function(){return!r.enabled||!!t.textEditElement||(e.redo(),!1)})),n.on(["backspace"],(function(){if(!r.enabled)return!0;if(t.textEditElement)return!0;var n=t.getSelectElements(!0);return e.clearSelectElements(),n.edges.forEach((function(t){return e.deleteEdge(t.id)})),n.nodes.forEach((function(t){return e.deleteNode(t.id)})),!1}))}(this,this.graphModel),this.keyboard.initShortcuts(),this.defaultRegister(),this.installPlugins(t.disabledPlugins)}var t,n,r;return t=e,n=[{key:"register",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("string"==typeof e){var r={BaseEdge:wb,BaseEdgeModel:ys,BaseNode:py,BaseNodeModel:Fd,RectNode:Sy,RectNodeModel:Eg,CircleNode:Dy,CircleNodeModel:ip,PolygonNode:Wy,PolygonNodeModel:ug,TextNode:km,TextNodeModel:zg,LineEdge:Rb,LineEdgeModel:Ls,DiamondNode:em,DiamondNodeModel:Ep,PolylineEdge:Qb,PolylineEdgeModel:Js,BezierEdge:c_,BezierEdgeModel:Ed,EllipseNode:dm,EllipseNodeModel:Vp,HtmlNode:Rm,HtmlNodeModel:ev,h:ee.g,type:e};this.viewMap.forEach((function(e){var t=e.extendKey;t&&(r[t]=e)})),this.graphModel.modelMap.forEach((function(e){var t=e.extendKey;t&&(r[t]=e)}));var i=t(r),o=i.view,a=i.model,s=o;n&&!s.isObervered&&(s.isObervered=!0,s=Q(s)),this.setView(e,s),this.graphModel.setModel(e,a)}else this.registerElement(e)}},{key:"registerElement",value:function(e){var t=e.view;!1===e.isObserverView||t.isObervered||(t.isObervered=!0,t=Q(t)),this.setView(e.type,t),this.graphModel.setModel(e.type,e.model)}},{key:"batchRegister",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){e.registerElement(t)}))}},{key:"defaultRegister",value:function(){this.registerElement({view:Sy,model:Eg,type:"rect"}),this.registerElement({type:"circle",view:Dy,model:ip}),this.registerElement({type:"polygon",view:Wy,model:ug}),this.registerElement({type:"line",view:Rb,model:Ls}),this.registerElement({type:"polyline",view:Qb,model:Js}),this.registerElement({type:"bezier",view:c_,model:Ed}),this.registerElement({type:"text",view:km,model:zg}),this.registerElement({type:"ellipse",view:dm,model:Vp}),this.registerElement({type:"diamond",view:em,model:Ep}),this.registerElement({type:"html",view:Rm,model:ev})}},{key:"selectElementById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.graphModel.selectElementById(e,t),!t&&n&&this.graphModel.toFront(e)}},{key:"focusOn",value:function(e){var t=this.graphModel.transformModel,n=e.coordinate,r=e.id;if(!n){var i=this.getNodeModelById(r);i&&(n=i.getData());var o=this.getEdgeModelById(r);o&&(n=o.textPosition)}var a=n,s=a.x,l=a.y;t.focusOn(s,l,this.graphModel.width,this.graphModel.height)}},{key:"setTheme",value:function(e){this.graphModel.setTheme(e)}},{key:"resize",value:function(e,t){this.graphModel.resize(e,t),this.options.width=this.graphModel.width,this.options.height=this.graphModel.height}},{key:"setDefaultEdgeType",value:function(e){this.graphModel.setDefaultEdgeType(e)}},{key:"updateText",value:function(e,t){this.graphModel.updateText(e,t)}},{key:"deleteElement",value:function(e){var t,n,r,i=this.getModelById(e);return!!i&&null!==(n=null===(r=(Ax(t={},di.NODE,this.deleteNode),Ax(t,di.EDGE,this.deleteEdge),t)[i.BaseType])||void 0===r?void 0:r.call(this,e))&&void 0!==n&&n}},{key:"getModelById",value:function(e){return this.graphModel.getElement(e)}},{key:"getDataById",value:function(e){var t;return null===(t=this.graphModel.getElement(e))||void 0===t?void 0:t.getData()}},{key:"changeNodeType",value:function(e,t){this.graphModel.changeNodeType(e,t)}},{key:"changeEdgeType",value:function(e,t){this.graphModel.changeEdgeType(e,t)}},{key:"getNodeEdges",value:function(e){return this.graphModel.getNodeEdges(e)}},{key:"addNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pi.NODE_ADD,n=arguments.length>2?arguments[2]:void 0;return this.graphModel.addNode(e,t,n)}},{key:"deleteNode",value:function(e){var t=this.graphModel.getNodeModelById(e);if(!t)return!1;var n=t.getData(),r=this.options.guards,i=!r||!r.beforeDelete||r.beforeDelete(n);return i&&this.graphModel.deleteNode(e),i}},{key:"cloneNode",value:function(e){var t=this.graphModel.getNodeModelById(e).getData(),n=this.options.guards;if(!n||!n.beforeClone||n.beforeClone(t))return this.graphModel.cloneNode(e)}},{key:"changeNodeId",value:function(e,t){return this.graphModel.changeNodeId(e,t)}},{key:"getNodeModelById",value:function(e){return this.graphModel.getNodeModelById(e)}},{key:"getNodeDataById",value:function(e){var t;return null===(t=this.graphModel.getNodeModelById(e))||void 0===t?void 0:t.getData()}},{key:"addEdge",value:function(e){return this.graphModel.addEdge(e)}},{key:"deleteEdge",value:function(e){var t=this.options.guards,n=this.graphModel.edgesMap[e];if(!n)return!1;var r=n.model.getData(),i=!t||!t.beforeDelete||t.beforeDelete(r);return i&&this.graphModel.deleteEdgeById(e),i}},{key:"deleteEdgeByNodeId",value:function(e){var t=e.sourceNodeId,n=e.targetNodeId;t&&n?this.graphModel.deleteEdgeBySourceAndTarget(t,n):t?this.graphModel.deleteEdgeBySource(t):n&&this.graphModel.deleteEdgeByTarget(n)}},{key:"changeEdgeId",value:function(e,t){return this.graphModel.changeEdgeId(e,t)}},{key:"getEdgeModelById",value:function(e){var t;return null===(t=this.graphModel.edgesMap[e])||void 0===t?void 0:t.model}},{key:"getEdgeModels",value:function(e){var t=this.graphModel.edges,n=e.sourceNodeId,r=e.targetNodeId;if(n&&r){var i=[];return t.forEach((function(e){e.sourceNodeId===n&&e.targetNodeId===r&&i.push(e)})),i}if(n){var o=[];return t.forEach((function(e){e.sourceNodeId===n&&o.push(e)})),o}if(r){var a=[];return t.forEach((function(e){e.targetNodeId===r&&a.push(e)})),a}return[]}},{key:"getEdgeDataById",value:function(e){var t;return null===(t=this.getEdgeModelById(e))||void 0===t?void 0:t.getData()}},{key:"getNodeIncomingEdge",value:function(e){return this.graphModel.getNodeIncomingEdge(e)}},{key:"getNodeOutgoingEdge",value:function(e){return this.graphModel.getNodeOutgoingEdge(e)}},{key:"getNodeIncomingNode",value:function(e){return this.graphModel.getNodeIncomingNode(e)}},{key:"getNodeOutgoingNode",value:function(e){return this.graphModel.getNodeOutgoingNode(e)}},{key:"editText",value:function(e){this.graphModel.editText(e)}},{key:"setProperties",value:function(e,t){var n;null===(n=this.graphModel.getElement(e))||void 0===n||n.setProperties(ss(t))}},{key:"deleteProperty",value:function(e,t){var n;null===(n=this.graphModel.getElement(e))||void 0===n||n.deleteProperty(t)}},{key:"getProperties",value:function(e){var t;return null===(t=this.graphModel.getElement(e))||void 0===t?void 0:t.getProperties()}},{key:"toFront",value:function(e){this.graphModel.toFront(e)}},{key:"setElementZIndex",value:function(e,t){return this.graphModel.setElementZIndex(e,t)}},{key:"addElements",value:function(e){for(var t=this,n=e.nodes,r=e.edges,i={},o={nodes:[],edges:[]},a=0;a<n.length;a++){var s=n[a],l=s.id,u=this.addNode(s);if(!u)return;l&&(i[l]=u.id),o.nodes.push(u)}return r.forEach((function(e){var n=e.sourceNodeId,r=e.targetNodeId;i[n]&&(n=i[n]),i[r]&&(r=i[r]);var a=t.graphModel.addEdge(Ox(Ox({},e),{},{sourceNodeId:n,targetNodeId:r}));o.edges.push(a)})),o}},{key:"getAreaElement",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this.graphModel.getAreaElement(e,t,n,r,i).map((function(e){return e.getData()}))}},{key:"getSelectElements",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.graphModel.getSelectElements(e)}},{key:"clearSelectElements",value:function(){this.graphModel.clearSelectElements()}},{key:"getGraphData",value:function(){var e=this.graphModel.modelToGraphData();if(this.adapterOut){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.adapterOut.apply(this,[e].concat(n))}return e}},{key:"getGraphRawData",value:function(){return this.graphModel.modelToGraphData()}},{key:"clearData",value:function(){this.graphModel.clearData()}},{key:"updateEditConfig",value:function(e){var t=this.graphModel,n=t.editConfigModel,r=t.transformModel;n.updateEditConfig(e),void 0!==(null==e?void 0:e.stopMoveGraph)&&r.updateTranslateLimits(e.stopMoveGraph),null!=e&&e.isSilentMode?this.keyboard.disable():this.keyboard.enable(!0)}},{key:"getEditConfig",value:function(){return this.graphModel.editConfigModel.getConfig()}},{key:"getPointByClient",value:function(e,t){return this.graphModel.getPointByClient({x:e,y:t})}},{key:"undo",value:function(){if(this.history.undoAble()){var e=ss(this.history.undo());this.clearSelectElements(),this.graphModel.graphDataToModel(e)}}},{key:"redo",value:function(){if(this.history.redoAble()){var e=ss(this.history.redo());this.clearSelectElements(),this.graphModel.graphDataToModel(e)}}},{key:"zoom",value:function(e,t){return this.graphModel.transformModel.zoom(e,t)}},{key:"resetZoom",value:function(){this.graphModel.transformModel.resetZoom()}},{key:"setZoomMiniSize",value:function(e){this.graphModel.transformModel.setZoomMiniSize(e)}},{key:"setZoomMaxSize",value:function(e){this.graphModel.transformModel.setZoomMaxSize(e)}},{key:"getTransform",value:function(){var e=this.graphModel.transformModel;return{SCALE_X:e.SCALE_X,SCALE_Y:e.SCALE_Y,TRANSLATE_X:e.TRANSLATE_X,TRANSLATE_Y:e.TRANSLATE_Y}}},{key:"translate",value:function(e,t){this.graphModel.transformModel.translate(e,t)}},{key:"resetTranslate",value:function(){var e=this.graphModel.transformModel,t=e.TRANSLATE_X,n=e.TRANSLATE_Y;this.translate(-t,-n)}},{key:"translateCenter",value:function(){this.graphModel.translateCenter()}},{key:"fitView",value:function(e,t){void 0===t&&(t=e),this.graphModel.fitView(e,t)}},{key:"openEdgeAnimation",value:function(e){this.graphModel.openEdgeAnimation(e)}},{key:"closeEdgeAnimation",value:function(e){this.graphModel.closeEdgeAnimation(e)}},{key:"on",value:function(e,t){this.graphModel.eventCenter.on(e,t)}},{key:"off",value:function(e,t){this.graphModel.eventCenter.off(e,t)}},{key:"once",value:function(e,t){this.graphModel.eventCenter.once(e,t)}},{key:"emit",value:function(e,t){this.graphModel.eventCenter.emit(e,t)}},{key:"initContainer",value:function(e){var t=document.createElement("div");return t.style.position="relative",t.style.width="100%",t.style.height="100%",e.innerHTML="",e.appendChild(t),t}},{key:"installPlugins",value:function(){var t,n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=null!==(t=this.plugins)&&void 0!==t?t:e.extensions;i.forEach((function(e){var t=null,i=null;e[Tx]?(t=e.extension,i=e.props):t=e;var o=t.pluginName||t.name;-1===r.indexOf(o)&&n.installPlugin(t,i)}))}},{key:"installPlugin",value:function(t,n){if("object"===kx(t)){var r=t.install,i=t.render;return r&&r.call(t,this,e),i&&this.components.push(i.bind(t)),void(this.extension[t.pluginName]=t)}var o=t,a=new o({lf:this,LogicFlow:e,options:this.options.pluginsOptions,props:n});a.render&&this.components.push(a.render.bind(a)),this.extension[o.pluginName]=a}},{key:"updateAttributes",value:function(e,t){this.graphModel.updateAttributes(e,t)}},{key:"createFakerNode",value:function(e){var t=this.graphModel.modelMap.get(e.type);if(t){var n=new t(Ox(Ox({},e),{},{virtual:!0}),this.graphModel);return this.graphModel.setFakerNode(n),n}}},{key:"removeFakerNode",value:function(){this.graphModel.removeFakerNode()}},{key:"setNodeSnapLine",value:function(e){this.snaplineModel&&this.snaplineModel.setNodeSnapLine(e)}},{key:"removeNodeSnapLine",value:function(){this.snaplineModel&&this.snaplineModel.clearSnapline()}},{key:"setView",value:function(e,t){this.viewMap.set(e,t)}},{key:"renderRawData",value:function(e){this.graphModel.graphDataToModel(ss(e)),!1!==this.options.history&&this.history.watch(this.graphModel),Object(ee.j)(Object(ee.g)(Th,{getView:this.getView,tool:this.tool,options:this.options,dnd:this.dnd,snaplineModel:this.snaplineModel,graphModel:this.graphModel}),this.container),this.emit(pi.GRAPH_RENDERED,this.graphModel.modelToGraphData())}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.adapterIn&&(e=this.adapterIn(e)),this.renderRawData(e)}}],r=[{key:"use",value:function(e,t){var n,r,i=e.pluginName;i||(i=e.name);var o=null===(n=this.extensions.get(i))||void 0===n?void 0:n.extension;o&&o.destroy&&o.destroy(),this.extensions.set(i,(Ax(r={},Tx,Tx),Ax(r,"extension",e),Ax(r,"props",t),r))}}],n&&Cx(t.prototype,n),r&&Cx(t,r),e}();function Mx(e){return Q(e)}Ax(Px,"extensions",new Map),t.default=Px}])}))},"5ea3":function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t["a"]=n}).call(this,n("c8ba"))},6955:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1148:function(e,t,n){"use strict";var r=n("a691"),i=n("1d80");e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},1276:function(e,t,n){"use strict";var r=n("d784"),i=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),l=n("8aa5"),u=n("50c4"),c=n("14c3"),f=n("9263"),h=n("d039"),d=[].push,p=Math.min,g=4294967295,v=!h((function(){return!RegExp(g,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?g:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var s,l,u,c=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,v=new RegExp(e.source,h+"g");while(s=f.call(v,r)){if(l=v.lastIndex,l>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index<r.length&&d.apply(c,s.slice(1)),u=s[0].length,p=l,c.length>=o))break;v.lastIndex===s.index&&v.lastIndex++}return p===r.length?!u&&v.test("")||c.push(""):c.push(r.slice(p)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var f=o(e),h=String(this),d=s(f,RegExp),y=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),b=new d(v?f:"^(?:"+f.source+")",m),_=void 0===i?g:i>>>0;if(0===_)return[];if(0===h.length)return null===c(b,h)?[h]:[];var x=0,w=0,S=[];while(w<h.length){b.lastIndex=v?w:0;var k,E=c(b,v?h:h.slice(w));if(null===E||(k=p(u(b.lastIndex+(v?0:w)),h.length))===x)w=l(h,w,y);else{if(S.push(h.slice(x,w)),S.length===_)return S;for(var O=1;O<=E.length-1;O++)if(S.push(E[O]),S.length===_)return S;w=x=k}}return S.push(h.slice(x)),S}]}),!v)},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");e.exports=function(e,t){var n,c,f,h,d,p,g=e.target,v=e.global,y=e.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,e.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"408a":function(e,t,n){var r=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){"use strict";var r=n("d784"),i=n("825a"),o=n("7b0b"),a=n("50c4"),s=n("a691"),l=n("1d80"),u=n("8aa5"),c=n("14c3"),f=Math.max,h=Math.min,d=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var y=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,b=y?"$":"$0";return[function(n,r){var i=l(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!y&&m||"string"===typeof r&&-1===r.indexOf(b)){var o=n(t,e,this,r);if(o.done)return o.value}var l=i(e),d=String(this),p="function"===typeof r;p||(r=String(r));var g=l.global;if(g){var x=l.unicode;l.lastIndex=0}var w=[];while(1){var S=c(l,d);if(null===S)break;if(w.push(S),!g)break;var k=String(S[0]);""===k&&(l.lastIndex=u(d,a(l.lastIndex),x))}for(var E="",O=0,C=0;C<w.length;C++){S=w[C];for(var A=String(S[0]),T=f(h(s(S.index),d.length),0),P=[],M=1;M<S.length;M++)P.push(v(S[M]));var D=S.groups;if(p){var I=[A].concat(P,T,d);void 0!==D&&I.push(D);var L=String(r.apply(void 0,I))}else L=_(A,d,T,P,D,r);T>=O&&(E+=d.slice(O,T)+L,O=T+A.length)}return E+d.slice(O)}];function _(e,n,r,i,a,s){var l=r+e.length,u=i.length,c=g;return void 0!==a&&(a=o(a),c=p),t.call(s,c,(function(t,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>u){var f=d(c/10);return 0===f?t:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}s=i[c-1]}return void 0===s?"":s}))}}))},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),i=n("5899"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6547:function(e,t,n){var r=n("a691"),i=n("1d80"),o=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"69f3":function(e,t,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),p=s.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=f.state||(f.state=new p),m=y.get,b=y.has,_=y.set;r=function(e,t){return t.facade=e,_.call(y,e,t),t},i=function(e){return m.call(y,e)||{}},o=function(e){return b.call(y,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){return t.facade=e,u(e,x,t),t},i=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:v}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e!==r?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(e,t,n){var r=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),f=">",h="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},y=function(e){return h+p+f+e+h+"/"+p+f},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?m(r):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[d]=i(e),n=new v,v[d]=null,n[g]=e):n=_(),void 0===t?n:o(n,t)}},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===l)return f[h];if(l===c&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),i=n("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,l=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],f=l||c||u;f&&(s=function(e){var t,n,i,s,f=this,h=u&&f.sticky,d=r.call(f),p=f.source,g=0,v=e;return h&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),v=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(p="(?: "+p+")",v=" "+v,g++),n=new RegExp("^(?:"+p+")",d)),c&&(n=new RegExp("^"+p+"$(?!\\s)",d)),l&&(t=f.lastIndex),i=o.call(h?n:f,v),h?i?(i.input=i.input.slice(g),i[0]=i[0].slice(g),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:l&&i&&(f.lastIndex=f.global?i.index+i[0].length:t),c&&i&&i.length>1&&a.call(i[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i}),e.exports=s},"94ca":function(e,t,n){var r=n("d039"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9f7f":function(e,t,n){"use strict";var r=n("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a9e3:function(e,t,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),u=n("7156"),c=n("c04e"),f=n("d039"),h=n("7c73"),d=n("241c").f,p=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,y="Number",m=i[y],b=m.prototype,_=l(h(b))==y,x=function(e){var t,n,r,i,o,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(u=v(u),t=u.charCodeAt(0),43===t||45===t){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;s<a;s++)if(l=o.charCodeAt(s),l<48||l>i)return NaN;return parseInt(o,r)}return+u};if(o(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var w,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?f((function(){b.valueOf.call(n)})):l(n)!=y)?u(new m(x(t)),n,S):x(t)},k=r?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),E=0;k.length>E;E++)s(m,w=k[E])&&!s(S,w)&&g(S,w,p(m,w));S.prototype=b,b.constructor=S,a(i,y,S)}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},b622:function(e,t,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),u=i("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},b680:function(e,t,n){"use strict";var r=n("23e7"),i=n("a691"),o=n("408a"),a=n("1148"),s=n("d039"),l=1..toFixed,u=Math.floor,c=function(e,t,n){return 0===t?n:t%2===1?c(e,t-1,n*e):c(e*e,t/2,n)},f=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},h=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}));r({target:"Number",proto:!0,forced:h},{toFixed:function(e){var t,n,r,s,l=o(this),h=i(e),d=[0,0,0,0,0,0],p="",g="0",v=function(e,t){var n=-1,r=t;while(++n<6)r+=e*d[n],d[n]=r%1e7,r=u(r/1e7)},y=function(e){var t=6,n=0;while(--t>=0)n+=d[t],d[t]=u(n/e),n=n%e*1e7},m=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==d[e]){var n=String(d[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(t=f(l*c(2,69,1))-69,n=t<0?l*c(2,-t,1):l/c(2,t,1),n*=4503599627370496,t=52-t,t>0){v(0,n),r=h;while(r>=7)v(1e7,0),r-=7;v(c(10,r,1),0),r=t-1;while(r>=23)y(1<<23),r-=23;y(1<<r),v(1,1),y(2),g=m()}else v(0,n),v(1<<-t,0),g=m()+a.call("0",h);return h>0?(s=g.length,g=p+(s<=h?"0."+a.call("0",h-s)+g:g.slice(0,s-h)+"."+g.slice(s-h))):g=p+g,g}})},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},ce4e:function(e,t,n){var r=n("da84"),i=n("9112");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),i=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d2bb:function(e,t,n){var r=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("d039"),o=n("b622"),a=n("9263"),s=n("9112"),l=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),h=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var p=o(e),g=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),v=g&&!i((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!g||!v||"replace"===e&&(!u||!c||h)||"split"===e&&!d){var y=/./[p],m=n(p,""[e],(function(e,t,n,r,i){return t.exec===a?g&&!i?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),b=m[0],_=m[1];r(String.prototype,e,b),r(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},fb15:function(e,t,n){"use strict";if(n.r(t),n.d(t,"VabCount",(function(){return b})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a,s,l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._v(e._s(e.displayValue))])},u=[],c=(n("a9e3"),n("b680"),n("ac1f"),n("5319"),n("1276"),0),f="webkit moz ms o".split(" "),h="undefined"===typeof window;if(h)a=function(){},s=function(){};else{var d;a=window.requestAnimationFrame,s=window.cancelAnimationFrame;for(var p=0;p<f.length;p++){if(a&&s)break;d=f[p],a=a||window[d+"RequestAnimationFrame"],s=s||window[d+"CancelAnimationFrame"]||window[d+"CancelRequestAnimationFrame"]}a&&s||(a=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-c)),r=window.setTimeout((function(){e(t+n)}),n);return c=t+n,r},s=function(e){window.clearTimeout(e)})}var g={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:0},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(e){return e>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(e,t,n,r){return n*(1-Math.pow(2,-10*e/r))*1024/1023+t}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},destroyed:function(){s(this.rAF)},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=a(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){s(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,a(this.count)},reset:function(){this.startTime=null,s(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(e){this.startTime||(this.startTime=e),this.timestamp=e;var t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t<this.localDuration?this.rAF=a(this.count):this.$emit("callback")},isNumber:function(e){return!isNaN(parseFloat(e))},formatNumber:function(e){e=e.toFixed(this.decimals),e+="";var t=e.split("."),n=t[0],r=t.length>1?this.decimal+t[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))while(i.test(n))n=n.replace(i,"$1"+this.separator+"$2");return this.prefix+n+r+this.suffix}}},v=g;function y(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var m=y(v,l,u,!1,null,null,null),b=m.exports,_={install:function(e){e.component("VabCount",b)}};"undefined"!==typeof window&&window.Vue&&window.Vue.component("vab-count",b),t["default"]=_},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}))},"6ce5":function(e,t,n){"use strict";var r=n("df7e"),i=n("ebb5"),o=i.aTypedArray,a=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;a("toReversed",(function(){return r(o(this),s(this))}))},"6d8b":function(e,t,n){"use strict";n.d(t,"p",(function(){return v})),n.d(t,"G",(function(){return y})),n.d(t,"d",(function(){return m})),n.d(t,"I",(function(){return b})),n.d(t,"J",(function(){return _})),n.d(t,"m",(function(){return x})),n.d(t,"i",(function(){return w})),n.d(t,"r",(function(){return S})),n.d(t,"s",(function(){return k})),n.d(t,"K",(function(){return E})),n.d(t,"u",(function(){return O})),n.d(t,"k",(function(){return C})),n.d(t,"H",(function(){return A})),n.d(t,"N",(function(){return T})),n.d(t,"n",(function(){return P})),n.d(t,"o",(function(){return M})),n.d(t,"F",(function(){return D})),n.d(t,"c",(function(){return L})),n.d(t,"h",(function(){return R})),n.d(t,"t",(function(){return j})),n.d(t,"w",(function(){return N})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return F})),n.d(t,"z",(function(){return z})),n.d(t,"A",(function(){return U})),n.d(t,"E",(function(){return V})),n.d(t,"v",(function(){return G})),n.d(t,"x",(function(){return W})),n.d(t,"y",(function(){return q})),n.d(t,"B",(function(){return X})),n.d(t,"l",(function(){return Y})),n.d(t,"O",(function(){return K})),n.d(t,"P",(function(){return $})),n.d(t,"Q",(function(){return Z})),n.d(t,"S",(function(){return J})),n.d(t,"M",(function(){return Q})),n.d(t,"b",(function(){return ee})),n.d(t,"T",(function(){return te})),n.d(t,"R",(function(){return re})),n.d(t,"f",(function(){return ue})),n.d(t,"e",(function(){return ce})),n.d(t,"g",(function(){return fe})),n.d(t,"j",(function(){return he})),n.d(t,"q",(function(){return de})),n.d(t,"L",(function(){return pe})),n.d(t,"a",(function(){return ge}));var r=n("726e"),i=T(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),o=T(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,f=s.map,h=function(){}.constructor,d=h?h.prototype:null,p="__proto__",g=2311;function v(){return g++}function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!==typeof console&&console.error.apply(console,e)}function m(e){if(null==e||"object"!==typeof e)return e;var t=e,n=a.call(e);if("[object Array]"===n){if(!ie(e)){t=[];for(var r=0,s=e.length;r<s;r++)t[r]=m(e[r])}}else if(o[n]){if(!ie(e)){var l=e.constructor;if(l.from)t=l.from(e);else{t=new l(e.length);for(r=0,s=e.length;r<s;r++)t[r]=e[r]}}}else if(!i[n]&&!ie(e)&&!G(e))for(var u in t={},e)e.hasOwnProperty(u)&&u!==p&&(t[u]=m(e[u]));return t}function b(e,t,n){if(!U(t)||!U(e))return n?m(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==p){var i=e[r],o=t[r];!U(o)||!U(i)||j(o)||j(i)||G(o)||G(i)||H(o)||H(i)||ie(o)||ie(i)?!n&&r in e||(e[r]=m(t[r])):b(i,o,n)}return e}function _(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=b(n,e[r],t);return n}function x(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==p&&(e[n]=t[n]);return e}function w(e,t,n){for(var r=D(t),i=0;i<r.length;i++){var o=r[i];(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}return e}r["d"].createCanvas;function S(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function k(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function E(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}else w(e,t,n)}function O(e){return!!e&&("string"!==typeof e&&"number"===typeof e.length)}function C(e,t,n){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function A(e,t,n){if(!e)return[];if(!t)return J(e);if(e.map&&e.map===f)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function T(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function P(e,t,n){if(!e)return[];if(!t)return J(e);if(e.filter&&e.filter===u)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function M(e,t,n){if(e&&t)for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}function D(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function I(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(c.call(arguments)))}}var L=d&&N(d.bind)?d.call.bind(d.bind):I;function R(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(c.call(arguments)))}}function j(e){return Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)}function N(e){return"function"===typeof e}function B(e){return"string"===typeof e}function F(e){return"[object String]"===a.call(e)}function z(e){return"number"===typeof e}function U(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function H(e){return!!i[a.call(e)]}function V(e){return!!o[a.call(e)]}function G(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function W(e){return null!=e.colorStops}function q(e){return null!=e.image}function X(e){return"[object RegExp]"===a.call(e)}function Y(e){return e!==e}function K(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function $(e,t){return null!=e?e:t}function Z(e,t,n){return null!=e?e:null!=t?t:n}function J(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return c.apply(e,t)}function Q(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function ee(e,t){if(!e)throw new Error(t)}function te(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ne="__ec_primitive__";function re(e){e[ne]=!0}function ie(e){return e[ne]}var oe=function(){function e(){this.data={}}return e.prototype["delete"]=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return D(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),ae="function"===typeof Map;function se(){return ae?new Map:new oe}var le=function(){function e(t){var n=j(t);this.data=se();var r=this;function i(e,t){n?r.set(e,t):r.set(t,e)}t instanceof e?t.each(i):t&&C(t,i)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},e.prototype.keys=function(){var e=this.data.keys();return ae?Array.from(e):e},e.prototype.removeKey=function(e){this.data["delete"](e)},e}();function ue(e){return new le(e)}function ce(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function fe(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&x(n,t),n}function he(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function de(e,t){return e.hasOwnProperty(t)}function pe(){}var ge=180/Math.PI},"726e":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return h}));var r=12,i="sans-serif",o=r+"px "+i,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(e){var t={};if("undefined"===typeof JSON)return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-a)/s;t[r]=i}return t}var c=u(l),f={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,i){if(!e){var a=f.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==i&&(t=e.font=i||o),e.measureText(n);n=n||"",i=i||o;var s=/((?:\d+)?\.?\d*)px/.exec(i),l=s&&+s[1]||r,u=0;if(i.indexOf("mono")>=0)u=l*n.length;else for(var h=0;h<n.length;h++){var d=c[n[h]];u+=null==d?l:d*l}return{width:u}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}};function h(e){for(var t in f)e[t]&&(f[t]=e[t])}},"75bd":function(e,t,n){"use strict";var r=n("cfe9"),i=n("4625"),o=n("b620"),a=r.ArrayBuffer,s=a&&a.prototype,l=s&&i(s.slice);e.exports=function(e){if(0!==o(e))return!1;if(!l)return!1;try{return l(e,0,0),!1}catch(t){return!0}}},7692:function(e,t,n){},"7a29":function(e,t,n){"use strict";(function(e){n.d(t,"p",(function(){return s})),n.d(t,"j",(function(){return u})),n.d(t,"q",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return v})),n.d(t,"l",(function(){return y})),n.d(t,"n",(function(){return b})),n.d(t,"m",(function(){return _})),n.d(t,"o",(function(){return x})),n.d(t,"k",(function(){return w})),n.d(t,"d",(function(){return S})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return E})),n.d(t,"c",(function(){return O}));var r=n("6d8b"),i=n("41ef"),o=n("22d1"),a=Math.round;function s(e){var t;if(e&&"transparent"!==e){if("string"===typeof e&&e.indexOf("rgba")>-1){var n=Object(i["h"])(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}var l=1e-4;function u(e){return e<l&&e>-l}function c(e){return a(1e3*e)/1e3}function f(e){return a(1e4*e)/1e4}function h(e){return"matrix("+c(e[0])+","+c(e[1])+","+c(e[2])+","+c(e[3])+","+f(e[4])+","+f(e[5])+")"}var d={left:"start",right:"end",center:"middle",middle:"middle"};function p(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}function g(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function v(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function y(e){return e&&!!e.image}function m(e){return e&&!!e.svgElement}function b(e){return y(e)||m(e)}function _(e){return"linear"===e.type}function x(e){return"radial"===e.type}function w(e){return e&&("linear"===e.type||"radial"===e.type)}function S(e){return"url(#"+e+")"}function k(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function E(e){var t=e.x||0,n=e.y||0,i=(e.rotation||0)*r["a"],o=Object(r["P"])(e.scaleX,1),s=Object(r["P"])(e.scaleY,1),l=e.skewX||0,u=e.skewY||0,c=[];return(t||n)&&c.push("translate("+t+"px,"+n+"px)"),i&&c.push("rotate("+i+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+a(l*r["a"])+"deg, "+a(u*r["a"])+"deg)"),c.join(" ")}var O=function(){return o["a"].hasGlobalWindow&&Object(r["w"])(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!==typeof e?function(t){return e.from(t).toString("base64")}:function(e){return null}}()}).call(this,n("1c35").Buffer)},8558:function(e,t,n){"use strict";var r=n("cfe9"),i=n("b5db"),o=n("c6b6"),a=function(e){return i.slice(0,e.length)===e};e.exports=function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"}()},"88a7":function(e,t,n){"use strict";var r=n("cb2d"),i=n("e330"),o=n("577e"),a=n("d6d6"),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l["delete"]),f=i(l.forEach),h=i([].push),d=new s("a=1&a=2&b=3");d["delete"]("a",1),d["delete"]("b",void 0),d+""!=="a=2"&&r(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return c(this,e);var r=[];f(this,(function(e,t){h(r,{key:t,value:e})})),a(t,1);var i,s=o(e),l=o(n),d=0,p=0,g=!1,v=r.length;while(d<v)i=r[d++],g||i.key===s?(g=!0,c(this,i.key)):p++;while(p<v)i=r[p++],i.key===s&&i.value===l||u(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},"8d74":function(e,t,n){var r=n("4cef"),i=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(i,""):e}e.exports=o},"907a":function(e,t,n){"use strict";var r=n("ebb5"),i=n("07fa"),o=n("5926"),a=r.aTypedArray,s=r.exportTypedArrayMethod;s("at",(function(e){var t=a(this),n=i(t),r=o(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}))},9152:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?h/l:h*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+d]=255&a,d+=p,a/=256,u-=8);e[n+d-p]|=128*g}},"96eb":function(module,exports,__webpack_require__){(function(e,t){module.exports=t()})(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){var r,i=n(1),o=n(3),a=n(5),s=n(20),l=n(23),u=n(25);"undefined"!==typeof window&&(r=n(27)
/*!
Mock - 模拟请求 & 模拟数据
https://github.com/nuysoft/Mock
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
*/);var c={Handler:i,Random:a,Util:o,XHR:r,RE:s,toJSONSchema:l,valid:u,heredoc:o.heredoc,setup:function(e){return r.setup(e)},_mocked:{},version:"1.0.1-beta3"};r&&(r.Mock=c),c.mock=function(e,t,n){return 1===arguments.length?i.gen(e):(2===arguments.length&&(n=t,t=void 0),r&&(window.XMLHttpRequest=r),c._mocked[e+(t||"")]={rurl:e,rtype:t,template:n},c)},e.exports=c},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend,gen:function(e,t,n){t=void 0==t?"":t+"",n=n||{},n={path:n.path||[Constant.GUID],templatePath:n.templatePath||[Constant.GUID++],currentContext:n.currentContext,templateCurrentContext:n.templateCurrentContext||e,root:n.root||n.currentContext,templateRoot:n.templateRoot||n.templateCurrentContext||e};var r,i=Parser.parse(t),o=Util.type(e);return Handler[o]?(r=Handler[o]({type:o,template:e,name:t,parsedName:t?t.replace(Constant.RE_KEY,"$1"):t,rule:i,context:n}),n.root||(n.root=r),r):e}};Handler.extend({array:function(e){var t,n,r=[];if(0===e.template.length)return r;if(e.rule.parameters)if(1===e.rule.min&&void 0===e.rule.max)e.context.path.push(e.name),e.context.templatePath.push(e.name),r=Random.pick(Handler.gen(e.template,void 0,{path:e.context.path,templatePath:e.context.templatePath,currentContext:r,templateCurrentContext:e.template,root:e.context.root||r,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();else if(e.rule.parameters[2])e.template.__order_index=e.template.__order_index||0,e.context.path.push(e.name),e.context.templatePath.push(e.name),r=Handler.gen(e.template,void 0,{path:e.context.path,templatePath:e.context.templatePath,currentContext:r,templateCurrentContext:e.template,root:e.context.root||r,templateRoot:e.context.templateRoot||e.template})[e.template.__order_index%e.template.length],e.template.__order_index+=+e.rule.parameters[2],e.context.path.pop(),e.context.templatePath.pop();else for(t=0;t<e.rule.count;t++)for(n=0;n<e.template.length;n++)e.context.path.push(r.length),e.context.templatePath.push(n),r.push(Handler.gen(e.template[n],r.length,{path:e.context.path,templatePath:e.context.templatePath,currentContext:r,templateCurrentContext:e.template,root:e.context.root||r,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();else for(t=0;t<e.template.length;t++)e.context.path.push(t),e.context.templatePath.push(t),r.push(Handler.gen(e.template[t],t,{path:e.context.path,templatePath:e.context.templatePath,currentContext:r,templateCurrentContext:e.template,root:e.context.root||r,templateRoot:e.context.templateRoot||e.template})),e.context.path.pop(),e.context.templatePath.pop();return r},object:function(e){var t,n,r,i,o,a,s={};if(void 0!=e.rule.min)for(t=Util.keys(e.template),t=Random.shuffle(t),t=t.slice(0,e.rule.count),a=0;a<t.length;a++)r=t[a],i=r.replace(Constant.RE_KEY,"$1"),e.context.path.push(i),e.context.templatePath.push(r),s[i]=Handler.gen(e.template[r],r,{path:e.context.path,templatePath:e.context.templatePath,currentContext:s,templateCurrentContext:e.template,root:e.context.root||s,templateRoot:e.context.templateRoot||e.template}),e.context.path.pop(),e.context.templatePath.pop();else{for(r in t=[],n=[],e.template)("function"===typeof e.template[r]?n:t).push(r);for(t=t.concat(n),a=0;a<t.length;a++)r=t[a],i=r.replace(Constant.RE_KEY,"$1"),e.context.path.push(i),e.context.templatePath.push(r),s[i]=Handler.gen(e.template[r],r,{path:e.context.path,templatePath:e.context.templatePath,currentContext:s,templateCurrentContext:e.template,root:e.context.root||s,templateRoot:e.context.templateRoot||e.template}),e.context.path.pop(),e.context.templatePath.pop(),o=r.match(Constant.RE_KEY),o&&o[2]&&"number"===Util.type(e.template[r])&&(e.template[r]+=parseInt(o[2],10))}return s},number:function(e){var t,n;if(e.rule.decimal){e.template+="",n=e.template.split("."),n[0]=e.rule.range?e.rule.count:n[0],n[1]=(n[1]||"").slice(0,e.rule.dcount);while(n[1].length<e.rule.dcount)n[1]+=n[1].length<e.rule.dcount-1?Random.character("number"):Random.character("123456789");t=parseFloat(n.join("."),10)}else t=e.rule.range&&!e.rule.parameters[2]?e.rule.count:e.template;return t},boolean:function(e){var t;return t=e.rule.parameters?Random.bool(e.rule.min,e.rule.max,e.template):e.template,t},string:function(e){var t,n,r,i,o="";if(e.template.length){for(void 0==e.rule.count&&(o+=e.template),t=0;t<e.rule.count;t++)o+=e.template;for(n=o.match(Constant.RE_PLACEHOLDER)||[],t=0;t<n.length;t++)if(r=n[t],/^\\/.test(r))n.splice(t--,1);else{if(i=Handler.placeholder(r,e.context.currentContext,e.context.templateCurrentContext,e),1===n.length&&r===o&&typeof i!==typeof o){o=i;break}o=o.replace(r,i)}}else o=e.rule.range?Random.string(e.rule.count):e.template;return o},function:function(e){return e.template.call(e.context.currentContext,e)},regexp:function(e){var t="";void 0==e.rule.count&&(t+=e.template.source);for(var n=0;n<e.rule.count;n++)t+=e.template.source;return RE.Handler.gen(RE.Parser.parse(t))}}),Handler.extend({_all:function(){var e={};for(var t in Random)e[t.toLowerCase()]=t;return e},placeholder:function(placeholder,obj,templateContext,options){Constant.RE_PLACEHOLDER.exec("");var parts=Constant.RE_PLACEHOLDER.exec(placeholder),key=parts&&parts[1],lkey=key&&key.toLowerCase(),okey=this._all()[lkey],params=parts&&parts[2]||"",pathParts=this.splitPathToArray(key);try{params=eval("(function(){ return [].splice.call(arguments, 0 ) })("+params+")")}catch(error){params=parts[2].split(/,\s*/)}if(obj&&key in obj)return obj[key];if("/"===key.charAt(0)||pathParts.length>1)return this.getValueByKeyPath(key,options);if(templateContext&&"object"===typeof templateContext&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random)&&!(lkey in Random)&&!(okey in Random))return placeholder;for(var i=0;i<params.length;i++)Constant.RE_PLACEHOLDER.exec(""),Constant.RE_PLACEHOLDER.test(params[i])&&(params[i]=Handler.placeholder(params[i],obj,templateContext,options));var handle=Random[key]||Random[lkey]||Random[okey];switch(Util.type(handle)){case"array":return Random.pick(handle);case"function":handle.options=options;var re=handle.apply(Random,params);return void 0===re&&(re=""),delete handle.options,re}},getValueByKeyPath:function(e,t){var n=e,r=this.splitPathToArray(e),i=[];"/"===e.charAt(0)?i=[t.context.path[0]].concat(this.normalizePath(r)):r.length>1&&(i=t.context.path.slice(0),i.pop(),i=this.normalizePath(i.concat(r)));try{e=r[r.length-1];for(var o=t.context.root,a=t.context.templateRoot,s=1;s<i.length-1;s++)o=o[i[s]],a=a[i[s]];if(o&&e in o)return o[e];if(a&&"object"===typeof a&&e in a&&n!==a[e])return a[e]=Handler.gen(a[e],e,{currentContext:o,templateCurrentContext:a}),a[e]}catch(l){}return"@"+r.join("/")},normalizePath:function(e){for(var t=[],n=0;n<e.length;n++)switch(e[n]){case"..":t.pop();break;case".":break;default:t.push(e[n])}return t},splitPathToArray:function(e){var t=e.split(/\/+/);return t[t.length-1]||(t=t.slice(0,-1)),t[0]||(t=t.slice(1)),t}}),module.exports=Handler},function(e,t){e.exports={GUID:1,RE_KEY:/(.+)\|(?:\+(\d+)|([\+\-]?\d+-?[\+\-]?\d*)?(?:\.(\d+-?\d*))?)/,RE_RANGE:/([\+\-]?\d+)-?([\+\-]?\d+)?/,RE_PLACEHOLDER:/\\*@([^@#%&()\?\s]+)(?:\((.*?)\))?/g}},function(e,t){var n={extend:function(){var e,t,r,i,o,a=arguments[0]||{},s=1,l=arguments.length;for(1===l&&(a=this,s=0);s<l;s++)if(e=arguments[s],e)for(t in e)r=a[t],i=e[t],a!==i&&void 0!==i&&(n.isArray(i)||n.isObject(i)?(n.isArray(i)&&(o=r&&n.isArray(r)?r:[]),n.isObject(i)&&(o=r&&n.isObject(r)?r:{}),a[t]=n.extend(o,i)):a[t]=i);return a},each:function(e,t,n){var r,i;if("number"===this.type(e))for(r=0;r<e;r++)t(r,r);else if(e.length===+e.length){for(r=0;r<e.length;r++)if(!1===t.call(n,e[r],r,e))break}else for(i in e)if(!1===t.call(n,e[i],i,e))break},type:function(e){return null===e||void 0===e?String(e):Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1].toLowerCase()}};n.each("String Object Array RegExp Function".split(" "),(function(e){n["is"+e]=function(t){return n.type(t)===e.toLowerCase()}})),n.isObjectOrArray=function(e){return n.isObject(e)||n.isArray(e)},n.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},n.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},n.values=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},n.heredoc=function(e){return e.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},n.noop=function(){},e.exports=n},function(e,t,n){var r=n(2),i=n(5);e.exports={parse:function(e){e=void 0==e?"":e+"";var t=(e||"").match(r.RE_KEY),n=t&&t[3]&&t[3].match(r.RE_RANGE),o=n&&n[1]&&parseInt(n[1],10),a=n&&n[2]&&parseInt(n[2],10),s=n?n[2]?i.integer(o,a):parseInt(n[1],10):void 0,l=t&&t[4]&&t[4].match(r.RE_RANGE),u=l&&l[1]&&parseInt(l[1],10),c=l&&l[2]&&parseInt(l[2],10),f=l?!l[2]&&parseInt(l[1],10)||i.integer(u,c):void 0,h={parameters:t,range:n,min:o,max:a,count:s,decimal:l,dmin:u,dmax:c,dcount:f};for(var d in h)if(void 0!=h[d])return h;return{}}}},function(e,t,n){var r=n(3),i={extend:r.extend};i.extend(n(6)),i.extend(n(7)),i.extend(n(8)),i.extend(n(10)),i.extend(n(13)),i.extend(n(15)),i.extend(n(16)),i.extend(n(17)),i.extend(n(14)),i.extend(n(19)),e.exports=i},function(e,t){e.exports={boolean:function(e,t,n){return void 0!==n?(e="undefined"===typeof e||isNaN(e)?1:parseInt(e,10),t="undefined"===typeof t||isNaN(t)?1:parseInt(t,10),Math.random()>1/(e+t)*e?!n:n):Math.random()>=.5},bool:function(e,t,n){return this.boolean(e,t,n)},natural:function(e,t){return e="undefined"!==typeof e?parseInt(e,10):0,t="undefined"!==typeof t?parseInt(t,10):9007199254740992,Math.round(Math.random()*(t-e))+e},integer:function(e,t){return e="undefined"!==typeof e?parseInt(e,10):-9007199254740992,t="undefined"!==typeof t?parseInt(t,10):9007199254740992,Math.round(Math.random()*(t-e))+e},int:function(e,t){return this.integer(e,t)},float:function(e,t,n,r){n=void 0===n?0:n,n=Math.max(Math.min(n,17),0),r=void 0===r?17:r,r=Math.max(Math.min(r,17),0);for(var i=this.integer(e,t)+".",o=0,a=this.natural(n,r);o<a;o++)i+=o<a-1?this.character("number"):this.character("123456789");return parseFloat(i,10)},character:function(e){var t={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return t.alpha=t.lower+t.upper,t["undefined"]=t.lower+t.upper+t.number+t.symbol,e=t[(""+e).toLowerCase()]||e,e.charAt(this.natural(0,e.length-1))},char:function(e){return this.character(e)},string:function(e,t,n){var r;switch(arguments.length){case 0:r=this.natural(3,7);break;case 1:r=e,e=void 0;break;case 2:"string"===typeof arguments[0]?r=t:(r=this.natural(e,t),e=void 0);break;case 3:r=this.natural(t,n);break}for(var i="",o=0;o<r;o++)i+=this.character(e);return i},str:function(){return this.string.apply(this,arguments)},range:function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=arguments[2]||1,e=+e,t=+t,n=+n;var r=Math.max(Math.ceil((t-e)/n),0),i=0,o=new Array(r);while(i<r)o[i++]=e,e+=n;return o}}},function(e,t){var n={yyyy:"getFullYear",yy:function(e){return(""+e.getFullYear()).slice(2)},y:"yy",MM:function(e){var t=e.getMonth()+1;return t<10?"0"+t:t},M:function(e){return e.getMonth()+1},dd:function(e){var t=e.getDate();return t<10?"0"+t:t},d:"getDate",HH:function(e){var t=e.getHours();return t<10?"0"+t:t},H:"getHours",hh:function(e){var t=e.getHours()%12;return t<10?"0"+t:t},h:function(e){return e.getHours()%12},mm:function(e){var t=e.getMinutes();return t<10?"0"+t:t},m:"getMinutes",ss:function(e){var t=e.getSeconds();return t<10?"0"+t:t},s:"getSeconds",SS:function(e){var t=e.getMilliseconds();return t<10&&"00"+t||t<100&&"0"+t||t},S:"getMilliseconds",A:function(e){return e.getHours()<12?"AM":"PM"},a:function(e){return e.getHours()<12?"am":"pm"},T:"getTime"};e.exports={_patternLetters:n,_rformat:new RegExp(function(){var e=[];for(var t in n)e.push(t);return"("+e.join("|")+")"}(),"g"),_formatDate:function(e,t){return t.replace(this._rformat,(function t(r,i){return"function"===typeof n[i]?n[i](e):n[i]in n?t(r,n[i]):e[n[i]]()}))},_randomDate:function(e,t){return e=void 0===e?new Date(0):e,t=void 0===t?new Date:t,new Date(Math.random()*(t.getTime()-e.getTime()))},date:function(e){return e=e||"yyyy-MM-dd",this._formatDate(this._randomDate(),e)},time:function(e){return e=e||"HH:mm:ss",this._formatDate(this._randomDate(),e)},datetime:function(e){return e=e||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),e)},now:function(e,t){1===arguments.length&&(/year|month|day|hour|minute|second|week/.test(e)||(t=e,e="")),e=(e||"").toLowerCase(),t=t||"yyyy-MM-dd HH:mm:ss";var n=new Date;switch(e){case"year":n.setMonth(0);case"month":n.setDate(1);case"week":case"day":n.setHours(0);case"hour":n.setMinutes(0);case"minute":n.setSeconds(0);case"second":n.setMilliseconds(0)}switch(e){case"week":n.setDate(n.getDate()-n.getDay())}return this._formatDate(n,t)}}},function(e,t,n){(function(e){e.exports={_adSize:["300x250","250x250","240x400","336x280","180x150","720x300","468x60","234x60","88x31","120x90","120x60","120x240","125x125","728x90","160x600","120x600","300x600"],_screenSize:["320x200","320x240","640x480","800x480","800x480","1024x600","1024x768","1280x800","1440x900","1920x1200","2560x1600"],_videoSize:["720x480","768x576","1280x720","1920x1080"],image:function(e,t,n,r,i){return 4===arguments.length&&(i=r,r=void 0),3===arguments.length&&(i=n,n=void 0),e||(e=this.pick(this._adSize)),t&&~t.indexOf("#")&&(t=t.slice(1)),n&&~n.indexOf("#")&&(n=n.slice(1)),"http://dummyimage.com/"+e+(t?"/"+t:"")+(n?"/"+n:"")+(r?"."+r:"")+(i?"&text="+i:"")},img:function(){return this.image.apply(this,arguments)},_brandColors:{"4ormat":"#fb0a2a","500px":"#02adea","About.me (blue)":"#00405d","About.me (yellow)":"#ffcc33",Addvocate:"#ff6138",Adobe:"#ff0000",Aim:"#fcd20b",Amazon:"#e47911",Android:"#a4c639","Angie's List":"#7fbb00",AOL:"#0060a3",Atlassian:"#003366",Behance:"#053eff","Big Cartel":"#97b538",bitly:"#ee6123",Blogger:"#fc4f08",Boeing:"#0039a6","Booking.com":"#003580",Carbonmade:"#613854",Cheddar:"#ff7243","Code School":"#3d4944",Delicious:"#205cc0",Dell:"#3287c1",Designmoo:"#e54a4f",Deviantart:"#4e6252","Designer News":"#2d72da",Devour:"#fd0001",DEWALT:"#febd17","Disqus (blue)":"#59a3fc","Disqus (orange)":"#db7132",Dribbble:"#ea4c89",Dropbox:"#3d9ae8",Drupal:"#0c76ab",Dunked:"#2a323a",eBay:"#89c507",Ember:"#f05e1b",Engadget:"#00bdf6",Envato:"#528036",Etsy:"#eb6d20",Evernote:"#5ba525","Fab.com":"#dd0017",Facebook:"#3b5998",Firefox:"#e66000","Flickr (blue)":"#0063dc","Flickr (pink)":"#ff0084",Forrst:"#5b9a68",Foursquare:"#25a0ca",Garmin:"#007cc3",GetGlue:"#2d75a2",Gimmebar:"#f70078",GitHub:"#171515","Google Blue":"#0140ca","Google Green":"#16a61e","Google Red":"#dd1812","Google Yellow":"#fcca03","Google+":"#dd4b39",Grooveshark:"#f77f00",Groupon:"#82b548","Hacker News":"#ff6600",HelloWallet:"#0085ca","Heroku (light)":"#c7c5e6","Heroku (dark)":"#6567a5",HootSuite:"#003366",Houzz:"#73ba37",HTML5:"#ec6231",IKEA:"#ffcc33",IMDb:"#f3ce13",Instagram:"#3f729b",Intel:"#0071c5",Intuit:"#365ebf",Kickstarter:"#76cc1e",kippt:"#e03500",Kodery:"#00af81",LastFM:"#c3000d",LinkedIn:"#0e76a8",Livestream:"#cf0005",Lumo:"#576396",Mixpanel:"#a086d3",Meetup:"#e51937",Nokia:"#183693",NVIDIA:"#76b900",Opera:"#cc0f16",Path:"#e41f11","PayPal (dark)":"#1e477a","PayPal (light)":"#3b7bbf",Pinboard:"#0000e6",Pinterest:"#c8232c",PlayStation:"#665cbe",Pocket:"#ee4056",Prezi:"#318bff",Pusha:"#0f71b4",Quora:"#a82400","QUOTE.fm":"#66ceff",Rdio:"#008fd5",Readability:"#9c0000","Red Hat":"#cc0000",Resource:"#7eb400",Rockpack:"#0ba6ab",Roon:"#62b0d9",RSS:"#ee802f",Salesforce:"#1798c1",Samsung:"#0c4da2",Shopify:"#96bf48",Skype:"#00aff0",Snagajob:"#f47a20",Softonic:"#008ace",SoundCloud:"#ff7700","Space Box":"#f86960",Spotify:"#81b71a",Sprint:"#fee100",Squarespace:"#121212",StackOverflow:"#ef8236",Staples:"#cc0000","Status Chart":"#d7584f",Stripe:"#008cdd",StudyBlue:"#00afe1",StumbleUpon:"#f74425","T-Mobile":"#ea0a8e",Technorati:"#40a800","The Next Web":"#ef4423",Treehouse:"#5cb868",Trulia:"#5eab1f",Tumblr:"#34526f","Twitch.tv":"#6441a5",Twitter:"#00acee",TYPO3:"#ff8700",Ubuntu:"#dd4814",Ustream:"#3388ff",Verizon:"#ef1d1d",Vimeo:"#86c9ef",Vine:"#00a478",Virb:"#06afd8","Virgin Media":"#cc0000",Wooga:"#5b009c","WordPress (blue)":"#21759b","WordPress (orange)":"#d54e21","WordPress (grey)":"#464646",Wunderlist:"#2b88d9",XBOX:"#9bc848",XING:"#126567","Yahoo!":"#720e9e",Yandex:"#ffcc00",Yelp:"#c41200",YouTube:"#c4302b",Zalongo:"#5498dc",Zendesk:"#78a300",Zerply:"#9dcc7a",Zootool:"#5e8b1d"},_brandNames:function(){var e=[];for(var t in this._brandColors)e.push(t);return e},dataImage:function(t,n){var r;if("undefined"!==typeof document)r=document.createElement("canvas");else{var i=e.require("canvas");r=new i}var o=r&&r.getContext&&r.getContext("2d");if(!r||!o)return"";t||(t=this.pick(this._adSize)),n=void 0!==n?n:t,t=t.split("x");var a=parseInt(t[0],10),s=parseInt(t[1],10),l=this._brandColors[this.pick(this._brandNames())],u="#FFF",c=14,f="sans-serif";return r.width=a,r.height=s,o.textAlign="center",o.textBaseline="middle",o.fillStyle=l,o.fillRect(0,0,a,s),o.fillStyle=u,o.font="bold "+c+"px "+f,o.fillText(n,a/2,s/2,a),r.toDataURL("image/png")}}}).call(t,n(9)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){var r=n(11),i=n(12);e.exports={color:function(e){return e||i[e]?i[e].nicer:this.hex()},hex:function(){var e=this._goldenRatioColor(),t=r.hsv2rgb(e),n=r.rgb2hex(t[0],t[1],t[2]);return n},rgb:function(){var e=this._goldenRatioColor(),t=r.hsv2rgb(e);return"rgb("+parseInt(t[0],10)+", "+parseInt(t[1],10)+", "+parseInt(t[2],10)+")"},rgba:function(){var e=this._goldenRatioColor(),t=r.hsv2rgb(e);return"rgba("+parseInt(t[0],10)+", "+parseInt(t[1],10)+", "+parseInt(t[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var e=this._goldenRatioColor(),t=r.hsv2hsl(e);return"hsl("+parseInt(t[0],10)+", "+parseInt(t[1],10)+", "+parseInt(t[2],10)+")"},_goldenRatioColor:function(e,t){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,"number"!==typeof e&&(e=.5),"number"!==typeof t&&(t=.95),[360*this._hue,100*e,100*t]}}},function(e,t){e.exports={rgb2hsl:function(e){var t,n,r,i=e[0]/255,o=e[1]/255,a=e[2]/255,s=Math.min(i,o,a),l=Math.max(i,o,a),u=l-s;return l==s?t=0:i==l?t=(o-a)/u:o==l?t=2+(a-i)/u:a==l&&(t=4+(i-o)/u),t=Math.min(60*t,360),t<0&&(t+=360),r=(s+l)/2,n=l==s?0:r<=.5?u/(l+s):u/(2-l-s),[t,100*n,100*r]},rgb2hsv:function(e){var t,n,r,i=e[0],o=e[1],a=e[2],s=Math.min(i,o,a),l=Math.max(i,o,a),u=l-s;return n=0===l?0:u/l*1e3/10,l==s?t=0:i==l?t=(o-a)/u:o==l?t=2+(a-i)/u:a==l&&(t=4+(i-o)/u),t=Math.min(60*t,360),t<0&&(t+=360),r=l/255*1e3/10,[t,n,r]},hsl2rgb:function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return o=255*l,[o,o,o];n=l<.5?l*(1+s):l+s-l*s,t=2*l-n,i=[0,0,0];for(var u=0;u<3;u++)r=a+1/3*-(u-1),r<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*o;return i},hsl2hsv:function(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return o*=2,i*=o<=1?o:2-o,n=(o+i)/2,t=2*i/(o+i),[r,100*t,100*n]},hsv2rgb:function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return n=(2-i)*o,t=i*o,t/=n<=1?n:2-n,n/=2,[r,100*t,100*n]},rgb2hex:function(e,t,n){return"#"+((256+e<<8|t)<<8|n).toString(16).slice(1)},hex2rgb:function(e){return e="0x"+e.slice(1).replace(e.length>4?e:/./g,"$&$&")|0,[e>>16,e>>8&255,255&e]}}},function(e,t){e.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function(e,t,n){var r=n(6),i=n(14);function o(e,t,n,i){return void 0===n?r.natural(e,t):void 0===i?n:r.natural(parseInt(n,10),parseInt(i,10))}e.exports={paragraph:function(e,t){for(var n=o(3,7,e,t),r=[],i=0;i<n;i++)r.push(this.sentence());return r.join(" ")},cparagraph:function(e,t){for(var n=o(3,7,e,t),r=[],i=0;i<n;i++)r.push(this.csentence());return r.join("")},sentence:function(e,t){for(var n=o(12,18,e,t),r=[],a=0;a<n;a++)r.push(this.word());return i.capitalize(r.join(" "))+"."},csentence:function(e,t){for(var n=o(12,18,e,t),r=[],i=0;i<n;i++)r.push(this.cword());return r.join("")+"。"},word:function(e,t){for(var n=o(3,10,e,t),i="",a=0;a<n;a++)i+=r.character("lower");return i},cword:function(e,t,n){var r,i="的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞";switch(arguments.length){case 0:e=i,r=1;break;case 1:"string"===typeof arguments[0]?r=1:(r=e,e=i);break;case 2:"string"===typeof arguments[0]?r=t:(r=this.natural(e,t),e=i);break;case 3:r=this.natural(t,n);break}for(var o="",a=0;a<r;a++)o+=e.charAt(this.natural(0,e.length-1));return o},title:function(e,t){for(var n=o(3,7,e,t),r=[],i=0;i<n;i++)r.push(this.capitalize(this.word()));return r.join(" ")},ctitle:function(e,t){for(var n=o(3,7,e,t),r=[],i=0;i<n;i++)r.push(this.cword());return r.join("")}}},function(e,t,n){var r=n(3);e.exports={capitalize:function(e){return(e+"").charAt(0).toUpperCase()+(e+"").substr(1)},upper:function(e){return(e+"").toUpperCase()},lower:function(e){return(e+"").toLowerCase()},pick:function(e,t,n){return r.isArray(e)?(void 0===t&&(t=1),void 0===n&&(n=t)):(e=[].slice.call(arguments),t=1,n=1),1===t&&1===n?e[this.natural(0,e.length-1)]:this.shuffle(e,t,n)},shuffle:function(e,t,n){e=e||[];for(var r=e.slice(0),i=[],o=0,a=r.length,s=0;s<a;s++)o=this.natural(0,r.length-1),i.push(r[o]),r.splice(o,1);switch(arguments.length){case 0:case 1:return i;case 2:n=t;case 3:return t=parseInt(t,10),n=parseInt(n,10),i.slice(0,this.natural(t,n))}},order:function e(t){e.cache=e.cache||{},arguments.length>1&&(t=[].slice.call(arguments,0));var n=e.options,r=n.context.templatePath.join("."),i=e.cache[r]=e.cache[r]||{index:0,array:t};return i.array[i.index++%i.array.length]}}},function(e,t){e.exports={first:function(){var e=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(e)},last:function(){var e=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(e)},name:function(e){return this.first()+" "+(e?this.first()+" ":"")+this.last()},cfirst:function(){var e="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(e)},clast:function(){var e="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(e)},cname:function(){return this.cfirst()+this.clast()}}},function(e,t){e.exports={url:function(e,t){return(e||this.protocol())+"://"+(t||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(e){return this.word()+"."+(e||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn 中国 中国互联.公司 中国互联.网络 tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(e){return this.character("lower")+"."+this.word()+"@"+(e||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function(e,t,n){var r=n(18),i=["东北","华北","华东","华中","华南","西南","西北"];e.exports={region:function(){return this.pick(i)},province:function(){return this.pick(r).name},city:function(e){var t=this.pick(r),n=this.pick(t.children);return e?[t.name,n.name].join(" "):n.name},county:function(e){var t=this.pick(r),n=this.pick(t.children),i=this.pick(n.children)||{name:"-"};return e?[t.name,n.name,i.name].join(" "):i.name},zip:function(e){for(var t="",n=0;n<(e||6);n++)t+=this.natural(0,9);return t}}},function(e,t){var n={11e4:"北京",110100:"北京市",110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110228:"密云县",110229:"延庆县",110230:"其它区",12e4:"天津",120100:"天津市",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120221:"宁河县",120223:"静海县",120225:"蓟县",120226:"其它区",13e4:"河北省",130100:"石家庄市",130102:"长安区",130103:"桥东区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130121:"井陉县",130123:"正定县",130124:"栾城县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集市",130182:"藁城市",130183:"晋州市",130184:"新乐市",130185:"鹿泉市",130186:"其它区",130200:"唐山市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130223:"滦县",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130230:"曹妃甸区",130281:"遵化市",130283:"迁安市",130284:"其它区",130300:"秦皇岛市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130321:"青龙满族自治县",130322:"昌黎县",130323:"抚宁县",130324:"卢龙县",130398:"其它区",130400:"邯郸市",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130421:"邯郸县",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130428:"肥乡县",130429:"永年县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安市",130482:"其它区",130500:"邢台市",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫市",130582:"沙河市",130583:"其它区",130600:"保定市",130602:"新市区",130603:"北市区",130604:"南市区",130621:"满城县",130622:"清苑县",130623:"涞水县",130624:"阜平县",130625:"徐水县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130699:"其它区",130700:"张家口市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130721:"宣化县",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130729:"万全县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130733:"崇礼县",130734:"其它区",130800:"承德市",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130823:"平泉县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130829:"其它区",130900:"沧州市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",130985:"其它区",131e3:"廊坊市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州市",131082:"三河市",131083:"其它区",131100:"衡水市",131102:"桃城区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131181:"冀州市",131182:"深州市",131183:"其它区",14e4:"山西省",140100:"太原市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140182:"其它区",140200:"大同市",140202:"城区",140203:"矿区",140211:"南郊区",140212:"新荣区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140227:"大同县",140228:"其它区",140300:"阳泉市",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140323:"其它区",140400:"长治市",140421:"长治县",140423:"襄垣县",140424:"屯留县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140481:"潞城市",140482:"城区",140483:"郊区",140485:"其它区",140500:"晋城市",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140582:"其它区",140600:"朔州市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140624:"怀仁县",140625:"其它区",140700:"晋中市",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140782:"其它区",140800:"运城市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140883:"其它区",140900:"忻州市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平市",140982:"其它区",141e3:"临汾市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141083:"其它区",141100:"吕梁市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",141183:"其它区",15e4:"内蒙古自治区",150100:"呼和浩特市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150126:"其它区",150200:"包头市",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150224:"其它区",150300:"乌海市",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150305:"其它区",150400:"赤峰市",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150431:"其它区",150500:"通辽市",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒市",150582:"其它区",150600:"鄂尔多斯市",150602:"东胜区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150628:"其它区",150700:"呼伦贝尔市",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150786:"其它区",150800:"巴彦淖尔市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150827:"其它区",150900:"乌兰察布市",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",150982:"其它区",152200:"兴安盟",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152225:"其它区",152500:"锡林郭勒盟",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152532:"其它区",152900:"阿拉善盟",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152924:"其它区",21e4:"辽宁省",210100:"沈阳市",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"东陵区",210113:"新城子区",210114:"于洪区",210122:"辽中县",210123:"康平县",210124:"法库县",210181:"新民市",210184:"沈北新区",210185:"其它区",210200:"大连市",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210224:"长海县",210281:"瓦房店市",210282:"普兰店市",210283:"庄河市",210298:"其它区",210300:"鞍山市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210382:"其它区",210400:"抚顺市",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210424:"其它区",210500:"本溪市",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210523:"其它区",210600:"丹东市",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210683:"其它区",210700:"锦州市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210783:"其它区",210800:"营口市",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210883:"其它区",210900:"阜新市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",210923:"其它区",211e3:"辽阳市",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211082:"其它区",211100:"盘锦市",211102:"双台子区",211103:"兴隆台区",211121:"大洼县",211122:"盘山县",211123:"其它区",211200:"铁岭市",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211283:"其它区",211300:"朝阳市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211383:"其它区",211400:"葫芦岛市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",211482:"其它区",22e4:"吉林省",220100:"长春市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220122:"农安县",220181:"九台市",220182:"榆树市",220183:"德惠市",220188:"其它区",220200:"吉林市",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220285:"其它区",220300:"四平市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市",220383:"其它区",220400:"辽源市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220423:"其它区",220500:"通化市",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220583:"其它区",220600:"白山市",220602:"浑江区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220625:"江源区",220681:"临江市",220682:"其它区",220700:"松原市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220724:"扶余市",220725:"其它区",220800:"白城市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南市",220882:"大安市",220883:"其它区",222400:"延边朝鲜族自治州",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",222427:"其它区",23e4:"黑龙江省",230100:"哈尔滨市",230102:"道里区",230103:"南岗区",230104:"道外区",230106:"香坊区",230108:"平房区",230109:"松北区",230111:"呼兰区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230181:"阿城区",230182:"双城市",230183:"尚志市",230184:"五常市",230186:"其它区",230200:"齐齐哈尔市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230282:"其它区",230300:"鸡西市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230383:"其它区",230400:"鹤岗市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230423:"其它区",230500:"双鸭山市",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230525:"其它区",230600:"大庆市",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230625:"其它区",230700:"伊春市",230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力市",230782:"其它区",230800:"佳木斯市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230833:"抚远县",230881:"同江市",230882:"富锦市",230883:"其它区",230900:"七台河市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",230922:"其它区",231e3:"牡丹江市",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231024:"东宁县",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"其它区",231100:"黑河市",231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"其它区",231200:"绥化市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",231284:"其它区",232700:"大兴安岭地区",232702:"松岭区",232703:"新林区",232704:"呼中区",232721:"呼玛县",232722:"塔河县",232723:"漠河县",232724:"加格达奇区",232725:"其它区",31e4:"上海",310100:"上海市",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310108:"闸北区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310230:"崇明县",310231:"其它区",32e4:"江苏省",320100:"南京市",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320124:"溧水区",320125:"高淳区",320126:"其它区",320200:"无锡市",320202:"崇安区",320203:"南长区",320204:"北塘区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320281:"江阴市",320282:"宜兴市",320297:"其它区",320300:"徐州市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320321:"丰县",320322:"沛县",320323:"铜山区",320324:"睢宁县",320381:"新沂市",320382:"邳州市",320383:"其它区",320400:"常州市",320402:"天宁区",320404:"钟楼区",320405:"戚墅堰区",320411:"新北区",320412:"武进区",320481:"溧阳市",320482:"金坛市",320483:"其它区",320500:"苏州市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320584:"吴江区",320585:"太仓市",320596:"其它区",320600:"南通市",320602:"崇川区",320611:"港闸区",320612:"通州区",320621:"海安县",320623:"如东县",320681:"启东市",320682:"如皋市",320684:"海门市",320694:"其它区",320700:"连云港市",320703:"连云区",320705:"新浦区",320706:"海州区",320721:"赣榆县",320722:"东海县",320723:"灌云县",320724:"灌南县",320725:"其它区",320800:"淮安市",320802:"清河区",320803:"淮安区",320804:"淮阴区",320811:"清浦区",320826:"涟水县",320829:"洪泽县",320830:"盱眙县",320831:"金湖县",320832:"其它区",320900:"盐城市",320902:"亭湖区",320903:"盐都区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台市",320982:"大丰市",320983:"其它区",321e3:"扬州市",321002:"广陵区",321003:"邗江区",321023:"宝应县",321081:"仪征市",321084:"高邮市",321088:"江都区",321093:"其它区",321100:"镇江市",321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321184:"其它区",321200:"泰州市",321202:"海陵区",321203:"高港区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321284:"姜堰区",321285:"其它区",321300:"宿迁市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321325:"其它区",33e4:"浙江省",330100:"杭州市",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330183:"富阳市",330185:"临安市",330186:"其它区",330200:"宁波市",330203:"海曙区",330204:"江东区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330283:"奉化市",330284:"其它区",330300:"温州市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330322:"洞头县",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"其它区",330400:"嘉兴市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330484:"其它区",330500:"湖州市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330524:"其它区",330600:"绍兴市",330602:"越城区",330621:"绍兴县",330624:"新昌县",330681:"诸暨市",330682:"上虞市",330683:"嵊州市",330684:"其它区",330700:"金华市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330785:"其它区",330800:"衢州市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330882:"其它区",330900:"舟山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",330923:"其它区",331e3:"台州市",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331021:"玉环县",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"其它区",331100:"丽水市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",331182:"其它区",34e4:"安徽省",340100:"合肥市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340192:"其它区",340200:"芜湖市",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340224:"其它区",340300:"蚌埠市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340324:"其它区",340400:"淮南市",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"其它区",340500:"马鞍山市",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"其它区",340600:"淮北市",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340622:"其它区",340700:"铜陵市",340702:"铜官山区",340703:"狮子山区",340711:"郊区",340721:"铜陵县",340722:"其它区",340800:"安庆市",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340823:"枞阳县",340824:"潜山县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"其它区",341e3:"黄山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341025:"其它区",341100:"滁州市",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341183:"其它区",341200:"阜阳市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首市",341283:"其它区",341300:"宿州市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341325:"其它区",341400:"巢湖市",341421:"庐江县",341422:"无为县",341423:"含山县",341424:"和县",341500:"六安市",341502:"金安区",341503:"裕安区",341521:"寿县",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341526:"其它区",341600:"亳州市",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341624:"其它区",341700:"池州市",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341724:"其它区",341800:"宣城市",341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国市",341882:"其它区",35e4:"福建省",350100:"福州市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350182:"长乐市",350183:"其它区",350200:"厦门市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350214:"其它区",350300:"莆田市",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350323:"其它区",350400:"三明市",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350482:"其它区",350500:"泉州市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350584:"其它区",350600:"漳州市",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市",350682:"其它区",350700:"南平市",350702:"延平区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350784:"建阳市",350785:"其它区",350800:"龙岩市",350802:"新罗区",350821:"长汀县",350822:"永定县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350882:"其它区",350900:"宁德市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",350983:"其它区",36e4:"江西省",360100:"南昌市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360121:"南昌县",360122:"新建县",360123:"安义县",360124:"进贤县",360128:"其它区",360200:"景德镇市",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360282:"其它区",360300:"萍乡市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360324:"其它区",360400:"九江市",360402:"庐山区",360403:"浔阳区",360421:"九江县",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360427:"星子县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"其它区",360483:"共青城市",360500:"新余市",360502:"渝水区",360521:"分宜县",360522:"其它区",360600:"鹰潭市",360602:"月湖区",360622:"余江县",360681:"贵溪市",360682:"其它区",360700:"赣州市",360702:"章贡区",360721:"赣县",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360782:"南康市",360783:"其它区",360800:"吉安市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360882:"其它区",360900:"宜春市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",360984:"其它区",361e3:"抚州市",361002:"临川区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361029:"东乡县",361030:"广昌县",361031:"其它区",361100:"上饶市",361102:"信州区",361121:"上饶县",361122:"广丰县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",361182:"其它区",37e4:"山东省",370100:"济南市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370124:"平阴县",370125:"济阳县",370126:"商河县",370181:"章丘市",370182:"其它区",370200:"青岛市",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370281:"胶州市",370282:"即墨市",370283:"平度市",370285:"莱西市",370286:"其它区",370300:"淄博市",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370324:"其它区",370400:"枣庄市",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370482:"其它区",370500:"东营市",370502:"东营区",370503:"河口区",370521:"垦利县",370522:"利津县",370523:"广饶县",370591:"其它区",370600:"烟台市",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370688:"其它区",370700:"潍坊市",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370787:"其它区",370800:"济宁市",370802:"市中区",370811:"任城区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜市",370882:"兖州市",370883:"邹城市",370884:"其它区",370900:"泰安市",370902:"泰山区",370903:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",370984:"其它区",371e3:"威海市",371002:"环翠区",371081:"文登市",371082:"荣成市",371083:"乳山市",371084:"其它区",371100:"日照市",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371123:"其它区",371200:"莱芜市",371202:"莱城区",371203:"钢城区",371204:"其它区",371300:"临沂市",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"苍山县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371330:"其它区",371400:"德州市",371402:"德城区",371421:"陵县",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵市",371482:"禹城市",371483:"其它区",371500:"聊城市",371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371582:"其它区",371600:"滨州市",371602:"滨城区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371624:"沾化县",371625:"博兴县",371626:"邹平县",371627:"其它区",371700:"菏泽市",371702:"牡丹区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371727:"定陶县",371728:"东明县",371729:"其它区",41e4:"河南省",410100:"郑州市",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410188:"其它区",410200:"开封市",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410211:"金明区",410221:"杞县",410222:"通许县",410223:"尉氏县",410224:"开封县",410225:"兰考县",410226:"其它区",410300:"洛阳市",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410307:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师市",410400:"平顶山市",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢市",410482:"汝州市",410483:"其它区",410500:"安阳市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410582:"其它区",410600:"鹤壁市",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410623:"其它区",410700:"新乡市",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉市",410782:"辉县市",410783:"其它区",410800:"焦作市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410881:"济源市",410882:"沁阳市",410883:"孟州市",410884:"其它区",410900:"濮阳市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410929:"其它区",411e3:"许昌市",411002:"魏都区",411023:"许昌县",411024:"鄢陵县",411025:"襄城县",411081:"禹州市",411082:"长葛市",411083:"其它区",411100:"漯河市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411123:"其它区",411200:"三门峡市",411202:"湖滨区",411221:"渑池县",411222:"陕县",411224:"卢氏县",411281:"义马市",411282:"灵宝市",411283:"其它区",411300:"南阳市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州市",411382:"其它区",411400:"商丘市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411482:"其它区",411500:"信阳市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411529:"其它区",411600:"周口市",411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城市",411682:"其它区",411700:"驻马店市",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411730:"其它区",42e4:"湖北省",420100:"武汉市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420118:"其它区",420200:"黄石市",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420282:"其它区",420300:"十堰市",420302:"茅箭区",420303:"张湾区",420321:"郧县",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420383:"其它区",420500:"宜昌市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420584:"其它区",420600:"襄阳市",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420685:"其它区",420700:"鄂州市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420705:"其它区",420800:"荆门市",420802:"东宝区",420804:"掇刀区",420821:"京山县",420822:"沙洋县",420881:"钟祥市",420882:"其它区",420900:"孝感市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",420985:"其它区",421e3:"荆州市",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"其它区",421100:"黄冈市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城市",421182:"武穴市",421183:"其它区",421200:"咸宁市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421283:"其它区",421300:"随州市",421302:"曾都区",421321:"随县",421381:"广水市",421382:"其它区",422800:"恩施土家族苗族自治州",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",422829:"其它区",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",43e4:"湖南省",430100:"长沙市",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430121:"长沙县",430122:"望城区",430124:"宁乡县",430181:"浏阳市",430182:"其它区",430200:"株洲市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430221:"株洲县",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵市",430282:"其它区",430300:"湘潭市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡市",430382:"韶山市",430383:"其它区",430400:"衡阳市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430483:"其它区",430500:"邵阳市",430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"其它区",430600:"岳阳市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430683:"其它区",430700:"常德市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430782:"其它区",430800:"张家界市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430823:"其它区",430900:"益阳市",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江市",430982:"其它区",431e3:"郴州市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431082:"其它区",431100:"永州市",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431130:"其它区",431200:"怀化市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江市",431282:"其它区",431300:"娄底市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",431383:"其它区",433100:"湘西土家族苗族自治州",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433131:"其它区",44e4:"广东省",440100:"广州市",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440116:"萝岗区",440183:"增城市",440184:"从化市",440189:"其它区",440200:"韶关市",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440283:"其它区",440300:"深圳市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"其它区",440320:"光明新区",440321:"坪山新区",440322:"大鹏新区",440323:"龙华新区",440400:"珠海市",440402:"香洲区",440403:"斗门区",440404:"金湾区",440488:"其它区",440500:"汕头市",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440524:"其它区",440600:"佛山市",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440609:"其它区",440700:"江门市",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440786:"其它区",440800:"湛江市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440884:"其它区",440900:"茂名市",440902:"茂南区",440903:"茂港区",440923:"电白县",440981:"高州市",440982:"化州市",440983:"信宜市",440984:"其它区",441200:"肇庆市",441202:"端州区",441203:"鼎湖区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441283:"高要市",441284:"四会市",441285:"其它区",441300:"惠州市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441325:"其它区",441400:"梅州市",441402:"梅江区",441421:"梅县",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441482:"其它区",441500:"汕尾市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441582:"其它区",441600:"河源市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441626:"其它区",441700:"阳江市",441702:"江城区",441721:"阳西县",441723:"阳东县",441781:"阳春市",441782:"其它区",441800:"清远市",441802:"清城区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441827:"清新区",441881:"英德市",441882:"连州市",441883:"其它区",441900:"东莞市",442e3:"中山市",442101:"东沙群岛",445100:"潮州市",445102:"湘桥区",445121:"潮安区",445122:"饶平县",445186:"其它区",445200:"揭阳市",445202:"榕城区",445221:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445285:"其它区",445300:"云浮市",445302:"云城区",445321:"新兴县",445322:"郁南县",445323:"云安县",445381:"罗定市",445382:"其它区",45e4:"广西壮族自治区",450100:"南宁市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450122:"武鸣县",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县",450128:"其它区",450200:"柳州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450221:"柳江县",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450227:"其它区",450300:"桂林市",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450321:"阳朔县",450322:"临桂区",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450331:"荔浦县",450332:"恭城瑶族自治县",450333:"其它区",450400:"梧州市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450482:"其它区",450500:"北海市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450522:"其它区",450600:"防城港市",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450682:"其它区",450700:"钦州市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450723:"其它区",450800:"贵港市",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450882:"其它区",450900:"玉林市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",450982:"其它区",451e3:"百色市",451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451025:"靖西县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451032:"其它区",451100:"贺州市",451102:"八步区",451119:"平桂管理区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451124:"其它区",451200:"河池市",451202:"金城江区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451281:"宜州市",451282:"其它区",451300:"来宾市",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451382:"其它区",451400:"崇左市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",451482:"其它区",46e4:"海南省",460100:"海口市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460109:"其它区",460200:"三亚市",460300:"三沙市",460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",469001:"五指山市",469002:"琼海市",469003:"儋州市",469005:"文昌市",469006:"万宁市",469007:"东方市",469025:"定安县",469026:"屯昌县",469027:"澄迈县",469028:"临高县",469030:"白沙黎族自治县",469031:"昌江黎族自治县",469033:"乐东黎族自治县",469034:"陵水黎族自治县",469035:"保亭黎族苗族自治县",469036:"琼中黎族苗族自治县",471005:"其它区",5e5:"重庆",500100:"重庆市",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"万盛区",500111:"双桥区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500222:"綦江区",500223:"潼南县",500224:"铜梁县",500225:"大足区",500226:"荣昌县",500227:"璧山县",500228:"梁平县",500229:"城口县",500230:"丰都县",500231:"垫江县",500232:"武隆县",500233:"忠县",500234:"开县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",500381:"江津区",500382:"合川区",500383:"永川区",500384:"南川区",500385:"其它区",51e4:"四川省",510100:"成都市",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510121:"金堂县",510122:"双流县",510124:"郫县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"其它区",510300:"自贡市",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510323:"其它区",510400:"攀枝花市",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510423:"其它区",510500:"泸州市",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510526:"其它区",510600:"德阳市",510603:"旌阳区",510623:"中江县",510626:"罗江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510684:"其它区",510700:"绵阳市",510703:"涪城区",510704:"游仙区",510722:"三台县",510723:"盐亭县",510724:"安县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510782:"其它区",510800:"广元市",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510825:"其它区",510900:"遂宁市",510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县",510924:"其它区",511e3:"内江市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511028:"隆昌县",511029:"其它区",511100:"乐山市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511182:"其它区",511300:"南充市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511382:"其它区",511400:"眉山市",511402:"东坡区",511421:"仁寿县",511422:"彭山县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511426:"其它区",511500:"宜宾市",511502:"翠屏区",511521:"宜宾县",511522:"南溪区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511530:"其它区",511600:"广安市",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511683:"其它区",511700:"达州市",511702:"通川区",511721:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511782:"其它区",511800:"雅安市",511802:"雨城区",511821:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511828:"其它区",511900:"巴中市",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511924:"其它区",512e3:"资阳市",512002:"雁江区",512021:"安岳县",512022:"乐至县",512081:"简阳市",512082:"其它区",513200:"阿坝藏族羌族自治州",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513229:"马尔康县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513234:"其它区",513300:"甘孜藏族自治州",513321:"康定县",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513339:"其它区",513400:"凉山彝族自治州",513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",513438:"其它区",52e4:"贵州省",520100:"贵阳市",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520121:"开阳县",520122:"息烽县",520123:"修文县",520151:"观山湖区",520181:"清镇市",520182:"其它区",520200:"六盘水市",520201:"钟山区",520203:"六枝特区",520221:"水城县",520222:"盘县",520223:"其它区",520300:"遵义市",520302:"红花岗区",520303:"汇川区",520321:"遵义县",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520383:"其它区",520400:"安顺市",520402:"西秀区",520421:"平坝县",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520426:"其它区",522200:"铜仁市",522201:"碧江区",522222:"江口县",522223:"玉屏侗族自治县",522224:"石阡县",522225:"思南县",522226:"印江土家族苗族自治县",522227:"德江县",522228:"沿河土家族自治县",522229:"松桃苗族自治县",522230:"万山区",522231:"其它区",522300:"黔西南布依族苗族自治州",522301:"兴义市",522322:"兴仁县",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522329:"其它区",522400:"毕节市",522401:"七星关区",522422:"大方县",522423:"黔西县",522424:"金沙县",522425:"织金县",522426:"纳雍县",522427:"威宁彝族回族苗族自治县",522428:"赫章县",522429:"其它区",522600:"黔东南苗族侗族自治州",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522637:"其它区",522700:"黔南布依族苗族自治州",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",522733:"其它区",53e4:"云南省",530100:"昆明市",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530121:"呈贡区",530122:"晋宁县",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530182:"其它区",530300:"曲靖市",530302:"麒麟区",530321:"马龙县",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530328:"沾益县",530381:"宣威市",530382:"其它区",530400:"玉溪市",530402:"红塔区",530421:"江川县",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530429:"其它区",530500:"保山市",530502:"隆阳区",530521:"施甸县",530522:"腾冲县",530523:"龙陵县",530524:"昌宁县",530525:"其它区",530600:"昭通市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530630:"水富县",530631:"其它区",530700:"丽江市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530725:"其它区",530800:"普洱市",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530830:"其它区",530900:"临沧市",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",530928:"其它区",532300:"楚雄彝族自治州",532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县",532332:"其它区",532500:"红河哈尼族彝族自治州",532501:"个旧市",532502:"开远市",532522:"蒙自市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532526:"弥勒市",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532533:"其它区",532600:"文山壮族苗族自治州",532621:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532629:"其它区",532800:"西双版纳傣族自治州",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532824:"其它区",532900:"大理白族自治州",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",532933:"其它区",533100:"德宏傣族景颇族自治州",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533125:"其它区",533300:"怒江傈僳族自治州",533321:"泸水县",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533326:"其它区",533400:"迪庆藏族自治州",533421:"香格里拉县",533422:"德钦县",533423:"维西傈僳族自治县",533424:"其它区",54e4:"西藏自治区",540100:"拉萨市",540102:"城关区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540125:"堆龙德庆县",540126:"达孜县",540127:"墨竹工卡县",540128:"其它区",542100:"昌都地区",542121:"昌都县",542122:"江达县",542123:"贡觉县",542124:"类乌齐县",542125:"丁青县",542126:"察雅县",542127:"八宿县",542128:"左贡县",542129:"芒康县",542132:"洛隆县",542133:"边坝县",542134:"其它区",542200:"山南地区",542221:"乃东县",542222:"扎囊县",542223:"贡嘎县",542224:"桑日县",542225:"琼结县",542226:"曲松县",542227:"措美县",542228:"洛扎县",542229:"加查县",542231:"隆子县",542232:"错那县",542233:"浪卡子县",542234:"其它区",542300:"日喀则地区",542301:"日喀则市",542322:"南木林县",542323:"江孜县",542324:"定日县",542325:"萨迦县",542326:"拉孜县",542327:"昂仁县",542328:"谢通门县",542329:"白朗县",542330:"仁布县",542331:"康马县",542332:"定结县",542333:"仲巴县",542334:"亚东县",542335:"吉隆县",542336:"聂拉木县",542337:"萨嘎县",542338:"岗巴县",542339:"其它区",542400:"那曲地区",542421:"那曲县",542422:"嘉黎县",542423:"比如县",542424:"聂荣县",542425:"安多县",542426:"申扎县",542427:"索县",542428:"班戈县",542429:"巴青县",542430:"尼玛县",542431:"其它区",542432:"双湖县",542500:"阿里地区",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",542528:"其它区",542600:"林芝地区",542621:"林芝县",542622:"工布江达县",542623:"米林县",542624:"墨脱县",542625:"波密县",542626:"察隅县",542627:"朗县",542628:"其它区",61e4:"陕西省",610100:"西安市",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610122:"蓝田县",610124:"周至县",610125:"户县",610126:"高陵县",610127:"其它区",610200:"铜川市",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610223:"其它区",610300:"宝鸡市",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610332:"其它区",610400:"咸阳市",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610427:"彬县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"其它区",610500:"渭南市",610502:"临渭区",610521:"华县",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610583:"其它区",610600:"延安市",610602:"宝塔区",610621:"延长县",610622:"延川县",610623:"子长县",610624:"安塞县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610633:"其它区",610700:"汉中市",610702:"汉台区",610721:"南郑县",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610731:"其它区",610800:"榆林市",610802:"榆阳区",610821:"神木县",610822:"府谷县",610823:"横山县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610832:"其它区",610900:"安康市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县",610930:"其它区",611e3:"商洛市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",611027:"其它区",62e4:"甘肃省",620100:"兰州市",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620124:"其它区",620200:"嘉峪关市",620300:"金昌市",620302:"金川区",620321:"永昌县",620322:"其它区",620400:"白银市",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620424:"其它区",620500:"天水市",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620526:"其它区",620600:"武威市",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620624:"其它区",620700:"张掖市",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620726:"其它区",620800:"平凉市",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620824:"华亭县",620825:"庄浪县",620826:"静宁县",620827:"其它区",620900:"酒泉市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",620983:"其它区",621e3:"庆阳市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621028:"其它区",621100:"定西市",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621127:"其它区",621200:"陇南市",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",621229:"其它区",622900:"临夏回族自治州",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",622928:"其它区",623e3:"甘南藏族自治州",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",623028:"其它区",63e4:"青海省",630100:"西宁市",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县",630124:"其它区",632100:"海东市",632121:"平安县",632122:"民和回族土族自治县",632123:"乐都区",632126:"互助土族自治县",632127:"化隆回族自治县",632128:"循化撒拉族自治县",632129:"其它区",632200:"海北藏族自治州",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632225:"其它区",632300:"黄南藏族自治州",632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632325:"其它区",632500:"海南藏族自治州",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632526:"其它区",632600:"果洛藏族自治州",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632627:"其它区",632700:"玉树藏族自治州",632721:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632727:"其它区",632800:"海西蒙古族藏族自治州",632801:"格尔木市",632802:"德令哈市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632824:"其它区",64e4:"宁夏回族自治区",640100:"银川市",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640182:"其它区",640200:"石嘴山市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640222:"其它区",640300:"吴忠市",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640382:"其它区",640400:"固原市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640426:"其它区",640500:"中卫市",640502:"沙坡头区",640521:"中宁县",640522:"海原县",640523:"其它区",65e4:"新疆维吾尔自治区",650100:"乌鲁木齐市",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650122:"其它区",650200:"克拉玛依市",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650206:"其它区",652100:"吐鲁番地区",652101:"吐鲁番市",652122:"鄯善县",652123:"托克逊县",652124:"其它区",652200:"哈密地区",652201:"哈密市",652222:"巴里坤哈萨克自治县",652223:"伊吾县",652224:"其它区",652300:"昌吉回族自治州",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652329:"其它区",652700:"博尔塔拉蒙古自治州",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652724:"其它区",652800:"巴音郭楞蒙古自治州",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652830:"其它区",652900:"阿克苏地区",652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",652930:"其它区",653e3:"克孜勒苏柯尔克孜自治州",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653025:"其它区",653100:"喀什地区",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653132:"其它区",653200:"和田地区",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",653228:"其它区",654e3:"伊犁哈萨克自治州",654002:"伊宁市",654003:"奎屯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654029:"其它区",654200:"塔城地区",654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654227:"其它区",654300:"阿勒泰地区",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",654327:"其它区",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",71e4:"台湾",710100:"台北市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710113:"其它区",710200:"高雄市",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710212:"其它区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710300:"台南市",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710307:"其它区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710400:"台中市",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710409:"其它区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710500:"金门县",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710600:"南投县",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710700:"基隆市",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710708:"其它区",710800:"新竹市",710801:"东区",710802:"北区",710803:"香山区",710804:"其它区",710900:"嘉义市",710901:"东区",710902:"西区",710903:"其它区",711100:"新北市",711130:"万里区",711131:"金山区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711200:"宜兰县",711214:"宜兰市",711215:"头城镇",711216:"礁溪乡",711217:"壮围乡",711218:"员山乡",711219:"罗东镇",711220:"三星乡",711221:"大同乡",711222:"五结乡",711223:"冬山乡",711224:"苏澳镇",711225:"南澳乡",711226:"钓鱼台",711300:"新竹县",711314:"竹北市",711315:"湖口乡",711316:"新丰乡",711317:"新埔镇",711318:"关西镇",711319:"芎林乡",711320:"宝山乡",711321:"竹东镇",711322:"五峰乡",711323:"横山乡",711324:"尖石乡",711325:"北埔乡",711326:"峨眉乡",711400:"桃园县",711414:"中坜市",711415:"平镇市",711416:"龙潭乡",711417:"杨梅市",711418:"新屋乡",711419:"观音乡",711420:"桃园市",711421:"龟山乡",711422:"八德市",711423:"大溪镇",711424:"复兴乡",711425:"大园乡",711426:"芦竹乡",711500:"苗栗县",711519:"竹南镇",711520:"头份镇",711521:"三湾乡",711522:"南庄乡",711523:"狮潭乡",711524:"后龙镇",711525:"通霄镇",711526:"苑里镇",711527:"苗栗市",711528:"造桥乡",711529:"头屋乡",711530:"公馆乡",711531:"大湖乡",711532:"泰安乡",711533:"铜锣乡",711534:"三义乡",711535:"西湖乡",711536:"卓兰镇",711700:"彰化县",711727:"彰化市",711728:"芬园乡",711729:"花坛乡",711730:"秀水乡",711731:"鹿港镇",711732:"福兴乡",711733:"线西乡",711734:"和美镇",711735:"伸港乡",711736:"员林镇",711737:"社头乡",711738:"永靖乡",711739:"埔心乡",711740:"溪湖镇",711741:"大村乡",711742:"埔盐乡",711743:"田中镇",711744:"北斗镇",711745:"田尾乡",711746:"埤头乡",711747:"溪州乡",711748:"竹塘乡",711749:"二林镇",711750:"大城乡",711751:"芳苑乡",711752:"二水乡",711900:"嘉义县",711919:"番路乡",711920:"梅山乡",711921:"竹崎乡",711922:"阿里山乡",711923:"中埔乡",711924:"大埔乡",711925:"水上乡",711926:"鹿草乡",711927:"太保市",711928:"朴子市",711929:"东石乡",711930:"六脚乡",711931:"新港乡",711932:"民雄乡",711933:"大林镇",711934:"溪口乡",711935:"义竹乡",711936:"布袋镇",712100:"云林县",712121:"斗南镇",712122:"大埤乡",712123:"虎尾镇",712124:"土库镇",712125:"褒忠乡",712126:"东势乡",712127:"台西乡",712128:"仑背乡",712129:"麦寮乡",712130:"斗六市",712131:"林内乡",712132:"古坑乡",712133:"莿桐乡",712134:"西螺镇",712135:"二仑乡",712136:"北港镇",712137:"水林乡",712138:"口湖乡",712139:"四湖乡",712140:"元长乡",712400:"屏东县",712434:"屏东市",712435:"三地门乡",712436:"雾台乡",712437:"玛家乡",712438:"九如乡",712439:"里港乡",712440:"高树乡",712441:"盐埔乡",712442:"长治乡",712443:"麟洛乡",712444:"竹田乡",712445:"内埔乡",712446:"万丹乡",712447:"潮州镇",712448:"泰武乡",712449:"来义乡",712450:"万峦乡",712451:"崁顶乡",712452:"新埤乡",712453:"南州乡",712454:"林边乡",712455:"东港镇",712456:"琉球乡",712457:"佳冬乡",712458:"新园乡",712459:"枋寮乡",712460:"枋山乡",712461:"春日乡",712462:"狮子乡",712463:"车城乡",712464:"牡丹乡",712465:"恒春镇",712466:"满州乡",712500:"台东县",712517:"台东市",712518:"绿岛乡",712519:"兰屿乡",712520:"延平乡",712521:"卑南乡",712522:"鹿野乡",712523:"关山镇",712524:"海端乡",712525:"池上乡",712526:"东河乡",712527:"成功镇",712528:"长滨乡",712529:"金峰乡",712530:"大武乡",712531:"达仁乡",712532:"太麻里乡",712600:"花莲县",712615:"花莲市",712616:"新城乡",712617:"太鲁阁",712618:"秀林乡",712619:"吉安乡",712620:"寿丰乡",712621:"凤林镇",712622:"光复乡",712623:"丰滨乡",712624:"瑞穗乡",712625:"万荣乡",712626:"玉里镇",712627:"卓溪乡",712628:"富里乡",712700:"澎湖县",712707:"马公市",712708:"西屿乡",712709:"望安乡",712710:"七美乡",712711:"白沙乡",712712:"湖西乡",712800:"连江县",712805:"南竿乡",712806:"北竿乡",712807:"莒光乡",712808:"东引乡",81e4:"香港特别行政区",810100:"香港岛",810101:"中西区",810102:"湾仔",810103:"东区",810104:"南区",810200:"九龙",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810300:"新界",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",82e4:"澳门特别行政区",820100:"澳门半岛",820200:"离岛",99e4:"海外",990100:"海外"};function r(e){for(var t,n={},r=0;r<e.length;r++)t=e[r],t&&t.id&&(n[t.id]=t);for(var i=[],o=0;o<e.length;o++)if(t=e[o],t)if(void 0!=t.pid||void 0!=t.parentId){var a=n[t.pid]||n[t.parentId];a&&(a.children||(a.children=[]),a.children.push(t))}else i.push(t);return i}var i=function(){var e=[];for(var t in n){var i="0000"===t.slice(2,6)?void 0:"00"==t.slice(4,6)?t.slice(0,2)+"0000":t.slice(0,4)+"00";e.push({id:t,pid:i,name:n[t]})}return r(e)}();e.exports=i},function(e,t,n){var r=n(18);e.exports={d4:function(){return this.natural(1,4)},d6:function(){return this.natural(1,6)},d8:function(){return this.natural(1,8)},d12:function(){return this.natural(1,12)},d20:function(){return this.natural(1,20)},d100:function(){return this.natural(1,100)},guid:function(){var e="abcdefABCDEF1234567890",t=this.string(e,8)+"-"+this.string(e,4)+"-"+this.string(e,4)+"-"+this.string(e,4)+"-"+this.string(e,12);return t},uuid:function(){return this.guid()},id:function(){var e,t=0,n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],i=["1","0","X","9","8","7","6","5","4","3","2"];e=this.pick(r).id+this.date("yyyyMMdd")+this.string("number",3);for(var o=0;o<e.length;o++)t+=e[o]*n[o];return e+=i[t%11],e},increment:function(){var e=0;return function(t){return e+=+t||1}}(),inc:function(e){return this.increment(e)}}},function(e,t,n){var r=n(21),i=n(22);e.exports={Parser:r,Handler:i}},function(e,t){function n(e){this.type=e,this.offset=n.offset(),this.text=n.text()}function r(e,t){n.call(this,"alternate"),this.left=e,this.right=t}function i(e){n.call(this,"match"),this.body=e.filter(Boolean)}function o(e,t){n.call(this,e),this.body=t}function a(e){o.call(this,"capture-group"),this.index=b[this.offset]||(b[this.offset]=m++),this.body=e}function s(e,t){n.call(this,"quantified"),this.body=e,this.quantifier=t}function l(e,t){n.call(this,"quantifier"),this.min=e,this.max=t,this.greedy=!0}function u(e,t){n.call(this,"charset"),this.invert=e,this.body=t}function c(e,t){n.call(this,"range"),this.start=e,this.end=t}function f(e){n.call(this,"literal"),this.body=e,this.escaped=this.body!=this.text}function h(e){n.call(this,"unicode"),this.code=e.toUpperCase()}function d(e){n.call(this,"hex"),this.code=e.toUpperCase()}function p(e){n.call(this,"octal"),this.code=e.toUpperCase()}function g(e){n.call(this,"back-reference"),this.code=e.toUpperCase()}function v(e){n.call(this,"control-character"),this.code=e.toUpperCase()}var y=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,i){function o(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(e){return"\\x0"+t(e)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(e){return"\\x"+t(e)})).replace(/[\u0180-\u0FFF]/g,(function(e){return"\\u0"+t(e)})).replace(/[\u1080-\uFFFF]/g,(function(e){return"\\u"+t(e)}))}var r,i;switch(e.length){case 0:r="end of input";break;case 1:r=e[0];break;default:r=e.slice(0,-1).join(", ")+" or "+e[e.length-1]}return i=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+i+" found."}this.expected=e,this.found=t,this.offset=n,this.line=r,this.column=i,this.name="SyntaxError",this.message=o(e,t)}function y(e){function y(){return e.substring(Qn,Jn)}function m(){return Qn}function b(t){function n(t,n,r){var i,o;for(i=n;r>i;i++)o=e.charAt(i),"\n"===o?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):"\r"===o||"\u2028"===o||"\u2029"===o?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return er!==t&&(er>t&&(er=0,tr={line:1,column:1,seenCR:!1}),n(tr,er,t),er=t),tr}function _(e){nr>Jn||(Jn>nr&&(nr=Jn,rr=[]),rr.push(e))}function x(e){var t=0;for(e.sort();t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}function w(){var t,n,r,i,o;return t=Jn,n=S(),null!==n?(r=Jn,124===e.charCodeAt(Jn)?(i=Ee,Jn++):(i=null,0===ir&&_(Oe)),null!==i?(o=w(),null!==o?(i=[i,o],r=i):(Jn=r,r=Se)):(Jn=r,r=Se),null===r&&(r=ke),null!==r?(Qn=t,n=Ce(n,r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}function S(){var e,t,n,r,i;if(e=Jn,t=E(),null===t&&(t=ke),null!==t)if(n=Jn,ir++,r=A(),ir--,null===r?n=ke:(Jn=n,n=Se),null!==n){for(r=[],i=C(),null===i&&(i=k());null!==i;)r.push(i),i=C(),null===i&&(i=k());null!==r?(i=O(),null===i&&(i=ke),null!==i?(Qn=e,t=Ae(t,r,i),null===t?(Jn=e,e=t):e=t):(Jn=e,e=Se)):(Jn=e,e=Se)}else Jn=e,e=Se;else Jn=e,e=Se;return e}function k(){var e;return e=B(),null===e&&(e=V(),null===e&&(e=Y())),e}function E(){var t,n;return t=Jn,94===e.charCodeAt(Jn)?(n=Te,Jn++):(n=null,0===ir&&_(Pe)),null!==n&&(Qn=t,n=Me()),null===n?(Jn=t,t=n):t=n,t}function O(){var t,n;return t=Jn,36===e.charCodeAt(Jn)?(n=De,Jn++):(n=null,0===ir&&_(Ie)),null!==n&&(Qn=t,n=Le()),null===n?(Jn=t,t=n):t=n,t}function C(){var e,t,n;return e=Jn,t=k(),null!==t?(n=A(),null!==n?(Qn=e,t=Re(t,n),null===t?(Jn=e,e=t):e=t):(Jn=e,e=Se)):(Jn=e,e=Se),e}function A(){var e,t,n;return ir++,e=Jn,t=T(),null!==t?(n=j(),null===n&&(n=ke),null!==n?(Qn=e,t=Ne(t,n),null===t?(Jn=e,e=t):e=t):(Jn=e,e=Se)):(Jn=e,e=Se),ir--,null===e&&(t=null,0===ir&&_(je)),e}function T(){var e;return e=P(),null===e&&(e=M(),null===e&&(e=D(),null===e&&(e=I(),null===e&&(e=L(),null===e&&(e=R()))))),e}function P(){var t,n,r,i,o,a;return t=Jn,123===e.charCodeAt(Jn)?(n=Be,Jn++):(n=null,0===ir&&_(Fe)),null!==n?(r=N(),null!==r?(44===e.charCodeAt(Jn)?(i=ze,Jn++):(i=null,0===ir&&_(Ue)),null!==i?(o=N(),null!==o?(125===e.charCodeAt(Jn)?(a=He,Jn++):(a=null,0===ir&&_(Ve)),null!==a?(Qn=t,n=Ge(r,o),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se),t}function M(){var t,n,r,i;return t=Jn,123===e.charCodeAt(Jn)?(n=Be,Jn++):(n=null,0===ir&&_(Fe)),null!==n?(r=N(),null!==r?(e.substr(Jn,2)===We?(i=We,Jn+=2):(i=null,0===ir&&_(qe)),null!==i?(Qn=t,n=Xe(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se),t}function D(){var t,n,r,i;return t=Jn,123===e.charCodeAt(Jn)?(n=Be,Jn++):(n=null,0===ir&&_(Fe)),null!==n?(r=N(),null!==r?(125===e.charCodeAt(Jn)?(i=He,Jn++):(i=null,0===ir&&_(Ve)),null!==i?(Qn=t,n=Ye(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se),t}function I(){var t,n;return t=Jn,43===e.charCodeAt(Jn)?(n=Ke,Jn++):(n=null,0===ir&&_($e)),null!==n&&(Qn=t,n=Ze()),null===n?(Jn=t,t=n):t=n,t}function L(){var t,n;return t=Jn,42===e.charCodeAt(Jn)?(n=Je,Jn++):(n=null,0===ir&&_(Qe)),null!==n&&(Qn=t,n=et()),null===n?(Jn=t,t=n):t=n,t}function R(){var t,n;return t=Jn,63===e.charCodeAt(Jn)?(n=tt,Jn++):(n=null,0===ir&&_(nt)),null!==n&&(Qn=t,n=rt()),null===n?(Jn=t,t=n):t=n,t}function j(){var t;return 63===e.charCodeAt(Jn)?(t=tt,Jn++):(t=null,0===ir&&_(nt)),t}function N(){var t,n,r;if(t=Jn,n=[],it.test(e.charAt(Jn))?(r=e.charAt(Jn),Jn++):(r=null,0===ir&&_(ot)),null!==r)for(;null!==r;)n.push(r),it.test(e.charAt(Jn))?(r=e.charAt(Jn),Jn++):(r=null,0===ir&&_(ot));else n=Se;return null!==n&&(Qn=t,n=at(n)),null===n?(Jn=t,t=n):t=n,t}function B(){var t,n,r,i;return t=Jn,40===e.charCodeAt(Jn)?(n=st,Jn++):(n=null,0===ir&&_(lt)),null!==n?(r=U(),null===r&&(r=H(),null===r&&(r=z(),null===r&&(r=F()))),null!==r?(41===e.charCodeAt(Jn)?(i=ut,Jn++):(i=null,0===ir&&_(ct)),null!==i?(Qn=t,n=ft(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se),t}function F(){var e,t;return e=Jn,t=w(),null!==t&&(Qn=e,t=ht(t)),null===t?(Jn=e,e=t):e=t,e}function z(){var t,n,r;return t=Jn,e.substr(Jn,2)===dt?(n=dt,Jn+=2):(n=null,0===ir&&_(pt)),null!==n?(r=w(),null!==r?(Qn=t,n=gt(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}function U(){var t,n,r;return t=Jn,e.substr(Jn,2)===vt?(n=vt,Jn+=2):(n=null,0===ir&&_(yt)),null!==n?(r=w(),null!==r?(Qn=t,n=mt(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}function H(){var t,n,r;return t=Jn,e.substr(Jn,2)===bt?(n=bt,Jn+=2):(n=null,0===ir&&_(_t)),null!==n?(r=w(),null!==r?(Qn=t,n=xt(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}function V(){var t,n,r,i,o;if(ir++,t=Jn,91===e.charCodeAt(Jn)?(n=St,Jn++):(n=null,0===ir&&_(kt)),null!==n)if(94===e.charCodeAt(Jn)?(r=Te,Jn++):(r=null,0===ir&&_(Pe)),null===r&&(r=ke),null!==r){for(i=[],o=G(),null===o&&(o=W());null!==o;)i.push(o),o=G(),null===o&&(o=W());null!==i?(93===e.charCodeAt(Jn)?(o=Et,Jn++):(o=null,0===ir&&_(Ot)),null!==o?(Qn=t,n=Ct(r,i),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se)}else Jn=t,t=Se;else Jn=t,t=Se;return ir--,null===t&&(n=null,0===ir&&_(wt)),t}function G(){var t,n,r,i;return ir++,t=Jn,n=W(),null!==n?(45===e.charCodeAt(Jn)?(r=Tt,Jn++):(r=null,0===ir&&_(Pt)),null!==r?(i=W(),null!==i?(Qn=t,n=Mt(n,i),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se)):(Jn=t,t=Se),ir--,null===t&&(n=null,0===ir&&_(At)),t}function W(){var e;return ir++,e=X(),null===e&&(e=q()),ir--,null===e&&(null,0===ir&&_(Dt)),e}function q(){var t,n;return t=Jn,It.test(e.charAt(Jn))?(n=e.charAt(Jn),Jn++):(n=null,0===ir&&_(Lt)),null!==n&&(Qn=t,n=Rt(n)),null===n?(Jn=t,t=n):t=n,t}function X(){var e;return e=J(),null===e&&(e=he(),null===e&&(e=te(),null===e&&(e=ne(),null===e&&(e=re(),null===e&&(e=ie(),null===e&&(e=oe(),null===e&&(e=ae(),null===e&&(e=se(),null===e&&(e=le(),null===e&&(e=ue(),null===e&&(e=ce(),null===e&&(e=fe(),null===e&&(e=pe(),null===e&&(e=ge(),null===e&&(e=ve(),null===e&&(e=ye(),null===e&&(e=me()))))))))))))))))),e}function Y(){var e;return e=K(),null===e&&(e=Z(),null===e&&(e=$())),e}function K(){var t,n;return t=Jn,46===e.charCodeAt(Jn)?(n=jt,Jn++):(n=null,0===ir&&_(Nt)),null!==n&&(Qn=t,n=Bt()),null===n?(Jn=t,t=n):t=n,t}function $(){var t,n;return ir++,t=Jn,zt.test(e.charAt(Jn))?(n=e.charAt(Jn),Jn++):(n=null,0===ir&&_(Ut)),null!==n&&(Qn=t,n=Rt(n)),null===n?(Jn=t,t=n):t=n,ir--,null===t&&(n=null,0===ir&&_(Ft)),t}function Z(){var e;return e=Q(),null===e&&(e=ee(),null===e&&(e=he(),null===e&&(e=te(),null===e&&(e=ne(),null===e&&(e=re(),null===e&&(e=ie(),null===e&&(e=oe(),null===e&&(e=ae(),null===e&&(e=se(),null===e&&(e=le(),null===e&&(e=ue(),null===e&&(e=ce(),null===e&&(e=fe(),null===e&&(e=de(),null===e&&(e=pe(),null===e&&(e=ge(),null===e&&(e=ve(),null===e&&(e=ye(),null===e&&(e=me()))))))))))))))))))),e}function J(){var t,n;return t=Jn,e.substr(Jn,2)===Ht?(n=Ht,Jn+=2):(n=null,0===ir&&_(Vt)),null!==n&&(Qn=t,n=Gt()),null===n?(Jn=t,t=n):t=n,t}function Q(){var t,n;return t=Jn,e.substr(Jn,2)===Ht?(n=Ht,Jn+=2):(n=null,0===ir&&_(Vt)),null!==n&&(Qn=t,n=Wt()),null===n?(Jn=t,t=n):t=n,t}function ee(){var t,n;return t=Jn,e.substr(Jn,2)===qt?(n=qt,Jn+=2):(n=null,0===ir&&_(Xt)),null!==n&&(Qn=t,n=Yt()),null===n?(Jn=t,t=n):t=n,t}function te(){var t,n;return t=Jn,e.substr(Jn,2)===Kt?(n=Kt,Jn+=2):(n=null,0===ir&&_($t)),null!==n&&(Qn=t,n=Zt()),null===n?(Jn=t,t=n):t=n,t}function ne(){var t,n;return t=Jn,e.substr(Jn,2)===Jt?(n=Jt,Jn+=2):(n=null,0===ir&&_(Qt)),null!==n&&(Qn=t,n=en()),null===n?(Jn=t,t=n):t=n,t}function re(){var t,n;return t=Jn,e.substr(Jn,2)===tn?(n=tn,Jn+=2):(n=null,0===ir&&_(nn)),null!==n&&(Qn=t,n=rn()),null===n?(Jn=t,t=n):t=n,t}function ie(){var t,n;return t=Jn,e.substr(Jn,2)===on?(n=on,Jn+=2):(n=null,0===ir&&_(an)),null!==n&&(Qn=t,n=sn()),null===n?(Jn=t,t=n):t=n,t}function oe(){var t,n;return t=Jn,e.substr(Jn,2)===ln?(n=ln,Jn+=2):(n=null,0===ir&&_(un)),null!==n&&(Qn=t,n=cn()),null===n?(Jn=t,t=n):t=n,t}function ae(){var t,n;return t=Jn,e.substr(Jn,2)===fn?(n=fn,Jn+=2):(n=null,0===ir&&_(hn)),null!==n&&(Qn=t,n=dn()),null===n?(Jn=t,t=n):t=n,t}function se(){var t,n;return t=Jn,e.substr(Jn,2)===pn?(n=pn,Jn+=2):(n=null,0===ir&&_(gn)),null!==n&&(Qn=t,n=vn()),null===n?(Jn=t,t=n):t=n,t}function le(){var t,n;return t=Jn,e.substr(Jn,2)===yn?(n=yn,Jn+=2):(n=null,0===ir&&_(mn)),null!==n&&(Qn=t,n=bn()),null===n?(Jn=t,t=n):t=n,t}function ue(){var t,n;return t=Jn,e.substr(Jn,2)===_n?(n=_n,Jn+=2):(n=null,0===ir&&_(xn)),null!==n&&(Qn=t,n=wn()),null===n?(Jn=t,t=n):t=n,t}function ce(){var t,n;return t=Jn,e.substr(Jn,2)===Sn?(n=Sn,Jn+=2):(n=null,0===ir&&_(kn)),null!==n&&(Qn=t,n=En()),null===n?(Jn=t,t=n):t=n,t}function fe(){var t,n;return t=Jn,e.substr(Jn,2)===On?(n=On,Jn+=2):(n=null,0===ir&&_(Cn)),null!==n&&(Qn=t,n=An()),null===n?(Jn=t,t=n):t=n,t}function he(){var t,n,r;return t=Jn,e.substr(Jn,2)===Tn?(n=Tn,Jn+=2):(n=null,0===ir&&_(Pn)),null!==n?(e.length>Jn?(r=e.charAt(Jn),Jn++):(r=null,0===ir&&_(Mn)),null!==r?(Qn=t,n=Dn(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}function de(){var t,n,r;return t=Jn,92===e.charCodeAt(Jn)?(n=In,Jn++):(n=null,0===ir&&_(Ln)),null!==n?(Rn.test(e.charAt(Jn))?(r=e.charAt(Jn),Jn++):(r=null,0===ir&&_(jn)),null!==r?(Qn=t,n=Nn(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}function pe(){var t,n,r,i;if(t=Jn,e.substr(Jn,2)===Bn?(n=Bn,Jn+=2):(n=null,0===ir&&_(Fn)),null!==n){if(r=[],zn.test(e.charAt(Jn))?(i=e.charAt(Jn),Jn++):(i=null,0===ir&&_(Un)),null!==i)for(;null!==i;)r.push(i),zn.test(e.charAt(Jn))?(i=e.charAt(Jn),Jn++):(i=null,0===ir&&_(Un));else r=Se;null!==r?(Qn=t,n=Hn(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)}else Jn=t,t=Se;return t}function ge(){var t,n,r,i;if(t=Jn,e.substr(Jn,2)===Vn?(n=Vn,Jn+=2):(n=null,0===ir&&_(Gn)),null!==n){if(r=[],Wn.test(e.charAt(Jn))?(i=e.charAt(Jn),Jn++):(i=null,0===ir&&_(qn)),null!==i)for(;null!==i;)r.push(i),Wn.test(e.charAt(Jn))?(i=e.charAt(Jn),Jn++):(i=null,0===ir&&_(qn));else r=Se;null!==r?(Qn=t,n=Xn(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)}else Jn=t,t=Se;return t}function ve(){var t,n,r,i;if(t=Jn,e.substr(Jn,2)===Yn?(n=Yn,Jn+=2):(n=null,0===ir&&_(Kn)),null!==n){if(r=[],Wn.test(e.charAt(Jn))?(i=e.charAt(Jn),Jn++):(i=null,0===ir&&_(qn)),null!==i)for(;null!==i;)r.push(i),Wn.test(e.charAt(Jn))?(i=e.charAt(Jn),Jn++):(i=null,0===ir&&_(qn));else r=Se;null!==r?(Qn=t,n=$n(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)}else Jn=t,t=Se;return t}function ye(){var t,n;return t=Jn,e.substr(Jn,2)===Bn?(n=Bn,Jn+=2):(n=null,0===ir&&_(Fn)),null!==n&&(Qn=t,n=Zn()),null===n?(Jn=t,t=n):t=n,t}function me(){var t,n,r;return t=Jn,92===e.charCodeAt(Jn)?(n=In,Jn++):(n=null,0===ir&&_(Ln)),null!==n?(e.length>Jn?(r=e.charAt(Jn),Jn++):(r=null,0===ir&&_(Mn)),null!==r?(Qn=t,n=Rt(r),null===n?(Jn=t,t=n):t=n):(Jn=t,t=Se)):(Jn=t,t=Se),t}var be,_e=arguments.length>1?arguments[1]:{},xe={regexp:w},we=w,Se=null,ke="",Ee="|",Oe='"|"',Ce=function(e,t){return t?new r(e,t[1]):e},Ae=function(e,t,n){return new i([e].concat(t).concat([n]))},Te="^",Pe='"^"',Me=function(){return new n("start")},De="$",Ie='"$"',Le=function(){return new n("end")},Re=function(e,t){return new s(e,t)},je="Quantifier",Ne=function(e,t){return t&&(e.greedy=!1),e},Be="{",Fe='"{"',ze=",",Ue='","',He="}",Ve='"}"',Ge=function(e,t){return new l(e,t)},We=",}",qe='",}"',Xe=function(e){return new l(e,1/0)},Ye=function(e){return new l(e,e)},Ke="+",$e='"+"',Ze=function(){return new l(1,1/0)},Je="*",Qe='"*"',et=function(){return new l(0,1/0)},tt="?",nt='"?"',rt=function(){return new l(0,1)},it=/^[0-9]/,ot="[0-9]",at=function(e){return+e.join("")},st="(",lt='"("',ut=")",ct='")"',ft=function(e){return e},ht=function(e){return new a(e)},dt="?:",pt='"?:"',gt=function(e){return new o("non-capture-group",e)},vt="?=",yt='"?="',mt=function(e){return new o("positive-lookahead",e)},bt="?!",_t='"?!"',xt=function(e){return new o("negative-lookahead",e)},wt="CharacterSet",St="[",kt='"["',Et="]",Ot='"]"',Ct=function(e,t){return new u(!!e,t)},At="CharacterRange",Tt="-",Pt='"-"',Mt=function(e,t){return new c(e,t)},Dt="Character",It=/^[^\\\]]/,Lt="[^\\\\\\]]",Rt=function(e){return new f(e)},jt=".",Nt='"."',Bt=function(){return new n("any-character")},Ft="Literal",zt=/^[^|\\\/.[()?+*$\^]/,Ut="[^|\\\\\\/.[()?+*$\\^]",Ht="\\b",Vt='"\\\\b"',Gt=function(){return new n("backspace")},Wt=function(){return new n("word-boundary")},qt="\\B",Xt='"\\\\B"',Yt=function(){return new n("non-word-boundary")},Kt="\\d",$t='"\\\\d"',Zt=function(){return new n("digit")},Jt="\\D",Qt='"\\\\D"',en=function(){return new n("non-digit")},tn="\\f",nn='"\\\\f"',rn=function(){return new n("form-feed")},on="\\n",an='"\\\\n"',sn=function(){return new n("line-feed")},ln="\\r",un='"\\\\r"',cn=function(){return new n("carriage-return")},fn="\\s",hn='"\\\\s"',dn=function(){return new n("white-space")},pn="\\S",gn='"\\\\S"',vn=function(){return new n("non-white-space")},yn="\\t",mn='"\\\\t"',bn=function(){return new n("tab")},_n="\\v",xn='"\\\\v"',wn=function(){return new n("vertical-tab")},Sn="\\w",kn='"\\\\w"',En=function(){return new n("word")},On="\\W",Cn='"\\\\W"',An=function(){return new n("non-word")},Tn="\\c",Pn='"\\\\c"',Mn="any character",Dn=function(e){return new v(e)},In="\\",Ln='"\\\\"',Rn=/^[1-9]/,jn="[1-9]",Nn=function(e){return new g(e)},Bn="\\0",Fn='"\\\\0"',zn=/^[0-7]/,Un="[0-7]",Hn=function(e){return new p(e.join(""))},Vn="\\x",Gn='"\\\\x"',Wn=/^[0-9a-fA-F]/,qn="[0-9a-fA-F]",Xn=function(e){return new d(e.join(""))},Yn="\\u",Kn='"\\\\u"',$n=function(e){return new h(e.join(""))},Zn=function(){return new n("null-character")},Jn=0,Qn=0,er=0,tr={line:1,column:1,seenCR:!1},nr=0,rr=[],ir=0;if("startRule"in _e){if(!(_e.startRule in xe))throw new Error("Can't start parsing from rule \""+_e.startRule+'".');we=xe[_e.startRule]}if(n.offset=m,n.text=y,be=we(),null!==be&&Jn===e.length)return be;throw x(rr),Qn=Math.max(Jn,nr),new t(rr,Qn<e.length?e.charAt(Qn):null,Qn,b(Qn).line,b(Qn).column)}return e(t,Error),{SyntaxError:t,parse:y}}(),m=1,b={};e.exports=y},function(e,t,n){var r=n(3),i=n(5),o={extend:r.extend},a=d(97,122),s=d(65,90),l=d(48,57),u=d(32,47)+d(58,64)+d(91,96)+d(123,126),c=d(32,126),f=" \f\n\r\t\v \u2028\u2029",h={"\\w":a+s+l+"_","\\W":u.replace("_",""),"\\s":f,"\\S":function(){for(var e=c,t=0;t<f.length;t++)e=e.replace(f[t],"");return e}(),"\\d":l,"\\D":a+s+u};function d(e,t){for(var n="",r=e;r<=t;r++)n+=String.fromCharCode(r);return n}o.gen=function(e,t,n){return n=n||{guid:1},o[e.type]?o[e.type](e,t,n):o.token(e,t,n)},o.extend({token:function(e,t,n){switch(e.type){case"start":case"end":return"";case"any-character":return i.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return i.pick(l.split(""));case"non-digit":return i.pick((a+s+u).split(""));case"form-feed":break;case"line-feed":return e.body||e.text;case"carriage-return":break;case"white-space":return i.pick(f.split(""));case"non-white-space":return i.pick((a+s+l).split(""));case"tab":break;case"vertical-tab":break;case"word":return i.pick((a+s+l).split(""));case"non-word":return i.pick(u.replace("_","").split(""));case"null-character":break}return e.body||e.text},alternate:function(e,t,n){return this.gen(i.boolean()?e.left:e.right,t,n)},match:function(e,t,n){t="";for(var r=0;r<e.body.length;r++)t+=this.gen(e.body[r],t,n);return t},"capture-group":function(e,t,n){return t=this.gen(e.body,t,n),n[n.guid++]=t,t},"non-capture-group":function(e,t,n){return this.gen(e.body,t,n)},"positive-lookahead":function(e,t,n){return this.gen(e.body,t,n)},"negative-lookahead":function(e,t,n){return""},quantified:function(e,t,n){t="";for(var r=this.quantifier(e.quantifier),i=0;i<r;i++)t+=this.gen(e.body,t,n);return t},quantifier:function(e,t,n){var r=Math.max(e.min,0),o=isFinite(e.max)?e.max:r+i.integer(3,7);return i.integer(r,o)},charset:function(e,t,n){if(e.invert)return this["invert-charset"](e,t,n);var r=i.pick(e.body);return this.gen(r,t,n)},"invert-charset":function(e,t,n){for(var r,o=c,a=0;a<e.body.length;a++)switch(r=e.body[a],r.type){case"literal":o=o.replace(r.body,"");break;case"range":for(var s=this.gen(r.start,t,n).charCodeAt(),l=this.gen(r.end,t,n).charCodeAt(),u=s;u<=l;u++)o=o.replace(String.fromCharCode(u),"");default:var f=h[r.text];if(f)for(var d=0;d<=f.length;d++)o=o.replace(f[d],"")}return i.pick(o.split(""))},range:function(e,t,n){var r=this.gen(e.start,t,n).charCodeAt(),o=this.gen(e.end,t,n).charCodeAt();return String.fromCharCode(i.integer(r,o))},literal:function(e,t,n){return e.escaped?e.body:e.text},unicode:function(e,t,n){return String.fromCharCode(parseInt(e.code,16))},hex:function(e,t,n){return String.fromCharCode(parseInt(e.code,16))},octal:function(e,t,n){return String.fromCharCode(parseInt(e.code,8))},"back-reference":function(e,t,n){return n[e.code]||""},CONTROL_CHARACTER_MAP:function(){for(var e="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),t="\0        \b \t \n \v \f \r                  ".split(" "),n={},r=0;r<e.length;r++)n[e[r]]=t[r];return n}(),"control-character":function(e,t,n){return this.CONTROL_CHARACTER_MAP[e.code]}}),e.exports=o},function(e,t,n){e.exports=n(24)},function(e,t,n){var r=n(2),i=n(3),o=n(4);function a(e,t,n){n=n||[];var s={name:"string"===typeof t?t.replace(r.RE_KEY,"$1"):t,template:e,type:i.type(e),rule:o.parse(t)};switch(s.path=n.slice(0),s.path.push(void 0===t?"ROOT":s.name),s.type){case"array":s.items=[],i.each(e,(function(e,t){s.items.push(a(e,t,s.path))}));break;case"object":s.properties=[],i.each(e,(function(e,t){s.properties.push(a(e,t,s.path))}));break}return s}e.exports=a},function(e,t,n){e.exports=n(26)},function(e,t,n){var r=n(2),i=n(3),o=n(23);function a(e,t){for(var n=o(e),r=s.diff(n,t),i=0;i<r.length;i++);return r}var s={diff:function(e,t,n){var r=[];return this.name(e,t,n,r)&&this.type(e,t,n,r)&&(this.value(e,t,n,r),this.properties(e,t,n,r),this.items(e,t,n,r)),r},name:function(e,t,n,r){var i=r.length;return l.equal("name",e.path,n+"",e.name+"",r),r.length===i},type:function(e,t,n,o){var a=o.length;switch(e.type){case"string":if(e.template.match(r.RE_PLACEHOLDER))return!0;break;case"array":if(e.rule.parameters){if(void 0!==e.rule.min&&void 0===e.rule.max&&1===e.rule.count)return!0;if(e.rule.parameters[2])return!0}break;case"function":return!0}return l.equal("type",e.path,i.type(t),e.type,o),o.length===a},value:function(e,t,n,i){var o,a=i.length,s=e.rule,u=e.type;if("object"===u||"array"===u||"function"===u)return!0;if(!s.parameters){switch(u){case"regexp":return l.match("value",e.path,t,e.template,i),i.length===a;case"string":if(e.template.match(r.RE_PLACEHOLDER))return i.length===a;break}return l.equal("value",e.path,t,e.template,i),i.length===a}switch(u){case"number":var c=(t+"").split(".");c[0]=+c[0],void 0!==s.min&&void 0!==s.max&&(l.greaterThanOrEqualTo("value",e.path,c[0],Math.min(s.min,s.max),i),l.lessThanOrEqualTo("value",e.path,c[0],Math.max(s.min,s.max),i)),void 0!==s.min&&void 0===s.max&&l.equal("value",e.path,c[0],s.min,i,"[value] "+n),s.decimal&&(void 0!==s.dmin&&void 0!==s.dmax&&(l.greaterThanOrEqualTo("value",e.path,c[1].length,s.dmin,i),l.lessThanOrEqualTo("value",e.path,c[1].length,s.dmax,i)),void 0!==s.dmin&&void 0===s.dmax&&l.equal("value",e.path,c[1].length,s.dmin,i));break;case"boolean":break;case"string":o=t.match(new RegExp(e.template,"g")),o=o?o.length:0,void 0!==s.min&&void 0!==s.max&&(l.greaterThanOrEqualTo("repeat count",e.path,o,s.min,i),l.lessThanOrEqualTo("repeat count",e.path,o,s.max,i)),void 0!==s.min&&void 0===s.max&&l.equal("repeat count",e.path,o,s.min,i);break;case"regexp":o=t.match(new RegExp(e.template.source.replace(/^\^|\$$/g,""),"g")),o=o?o.length:0,void 0!==s.min&&void 0!==s.max&&(l.greaterThanOrEqualTo("repeat count",e.path,o,s.min,i),l.lessThanOrEqualTo("repeat count",e.path,o,s.max,i)),void 0!==s.min&&void 0===s.max&&l.equal("repeat count",e.path,o,s.min,i);break}return i.length===a},properties:function(e,t,n,r){var o=r.length,a=e.rule,s=i.keys(t);if(e.properties){if(e.rule.parameters?(void 0!==a.min&&void 0!==a.max&&(l.greaterThanOrEqualTo("properties length",e.path,s.length,Math.min(a.min,a.max),r),l.lessThanOrEqualTo("properties length",e.path,s.length,Math.max(a.min,a.max),r)),void 0!==a.min&&void 0===a.max&&1!==a.count&&l.equal("properties length",e.path,s.length,a.min,r)):l.equal("properties length",e.path,s.length,e.properties.length,r),r.length!==o)return!1;for(var u=0;u<s.length;u++)r.push.apply(r,this.diff(function(){var t;return i.each(e.properties,(function(e){e.name===s[u]&&(t=e)})),t||e.properties[u]}(),t[s[u]],s[u]));return r.length===o}},items:function(e,t,n,r){var i=r.length;if(e.items){var o=e.rule;if(e.rule.parameters){if(void 0!==o.min&&void 0!==o.max&&(l.greaterThanOrEqualTo("items",e.path,t.length,Math.min(o.min,o.max)*e.items.length,r,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),l.lessThanOrEqualTo("items",e.path,t.length,Math.max(o.min,o.max)*e.items.length,r,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),void 0!==o.min&&void 0===o.max){if(1===o.count)return r.length===i;l.equal("items length",e.path,t.length,o.min*e.items.length,r)}if(o.parameters[2])return r.length===i}else l.equal("items length",e.path,t.length,e.items.length,r);if(r.length!==i)return!1;for(var a=0;a<t.length;a++)r.push.apply(r,this.diff(e.items[a%e.items.length],t[a],a%e.items.length));return r.length===i}}},l={message:function(e){return(e.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",e.type.toUpperCase()).replace("{ltype}",e.type.toLowerCase()).replace("{path}",i.isArray(e.path)&&e.path.join(".")||e.path).replace("{action}",e.action).replace("{expected}",e.expected).replace("{actual}",e.actual)},equal:function(e,t,n,r,i,o){if(n===r)return!0;switch(e){case"type":if("regexp"===r&&"string"===n)return!0;break}var a={path:t,type:e,actual:n,expected:r,action:"is equal to",message:o};return a.message=l.message(a),i.push(a),!1},match:function(e,t,n,r,i,o){if(r.test(n))return!0;var a={path:t,type:e,actual:n,expected:r,action:"matches",message:o};return a.message=l.message(a),i.push(a),!1},notEqual:function(e,t,n,r,i,o){if(n!==r)return!0;var a={path:t,type:e,actual:n,expected:r,action:"is not equal to",message:o};return a.message=l.message(a),i.push(a),!1},greaterThan:function(e,t,n,r,i,o){if(n>r)return!0;var a={path:t,type:e,actual:n,expected:r,action:"is greater than",message:o};return a.message=l.message(a),i.push(a),!1},lessThan:function(e,t,n,r,i,o){if(n<r)return!0;var a={path:t,type:e,actual:n,expected:r,action:"is less to",message:o};return a.message=l.message(a),i.push(a),!1},greaterThanOrEqualTo:function(e,t,n,r,i,o){if(n>=r)return!0;var a={path:t,type:e,actual:n,expected:r,action:"is greater than or equal to",message:o};return a.message=l.message(a),i.push(a),!1},lessThanOrEqualTo:function(e,t,n,r,i,o){if(n<=r)return!0;var a={path:t,type:e,actual:n,expected:r,action:"is less than or equal to",message:o};return a.message=l.message(a),i.push(a),!1}};a.Diff=s,a.Assert=l,e.exports=a},function(e,t,n){e.exports=n(28)},function(e,t,n){var r=n(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch(d){window.Event=function(e,t,n,r){var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,n,r),i}}var i={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o="readystatechange loadstart progress abort error load timeout loadend".split(" "),a="timeout withCredentials".split(" "),s="readyState responseURL status statusText responseType response responseText responseXML".split(" "),l={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function u(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}function c(){var e=function(){var e=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,t=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,n=location.href,r=t.exec(n.toLowerCase())||[];return e.test(r[1])}();return window.ActiveXObject?!e&&t()||n():t();function t(){try{return new window._XMLHttpRequest}catch(e){}}function n(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}function f(e){for(var t in u.Mock._mocked){var n=u.Mock._mocked[t];if((!n.rurl||i(n.rurl,e.url))&&(!n.rtype||i(n.rtype,e.type.toLowerCase())))return n}function i(e,t){return"string"===r.type(e)?e===t:"regexp"===r.type(e)?e.test(t):void 0}}function h(e,t){return r.isFunction(e.template)?e.template(t):u.Mock.mock(e.template)}u._settings={timeout:"10-100"},u.setup=function(e){return r.extend(u._settings,e),u._settings},r.extend(u,i),r.extend(u.prototype,i),u.prototype.mock=!0,u.prototype.match=!1,r.extend(u.prototype,{open:function(e,t,n,i,l){var h=this;r.extend(this.custom,{method:e,url:t,async:"boolean"!==typeof n||n,username:i,password:l,options:{url:t,type:e}}),this.custom.timeout=function(e){if("number"===typeof e)return e;if("string"===typeof e&&!~e.indexOf("-"))return parseInt(e,10);if("string"===typeof e&&~e.indexOf("-")){var t=e.split("-"),n=parseInt(t[0],10),r=parseInt(t[1],10);return Math.round(Math.random()*(r-n))+n}}(u._settings.timeout);var d=f(this.custom.options);function p(e){for(var t=0;t<s.length;t++)try{h[s[t]]=g[s[t]]}catch(n){}h.dispatchEvent(new Event(e.type))}if(d)this.match=!0,this.custom.template=d,this.readyState=u.OPENED,this.dispatchEvent(new Event("readystatechange"));else{var g=c();this.custom.xhr=g;for(var v=0;v<o.length;v++)g.addEventListener(o[v],p);i?g.open(e,t,n,i,l):g.open(e,t,n);for(var y=0;y<a.length;y++)try{g[a[y]]=h[a[y]]}catch(m){}}},setRequestHeader:function(e,t){if(this.match){var n=this.custom.requestHeaders;n[e]?n[e]+=","+t:n[e]=t}else this.custom.xhr.setRequestHeader(e,t)},timeout:0,withCredentials:!1,upload:{},send:function(e){var t=this;function n(){t.readyState=u.HEADERS_RECEIVED,t.dispatchEvent(new Event("readystatechange")),t.readyState=u.LOADING,t.dispatchEvent(new Event("readystatechange")),t.status=200,t.statusText=l[200],t.response=t.responseText=JSON.stringify(h(t.custom.template,t.custom.options),null,4),t.readyState=u.DONE,t.dispatchEvent(new Event("readystatechange")),t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))}this.custom.options.body=e,this.match?(this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(n,this.custom.timeout):n()):this.custom.xhr.send(e)},abort:function(){this.match?(this.readyState=u.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))):this.custom.xhr.abort()}}),r.extend(u.prototype,{responseURL:"",status:u.UNSENT,statusText:"",getResponseHeader:function(e){return this.match?this.custom.responseHeaders[e.toLowerCase()]:this.custom.xhr.getResponseHeader(e)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var e=this.custom.responseHeaders,t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+": "+e[n]+"\r\n");return t},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),r.extend(u.prototype,{addEventListener:function(e,t){var n=this.custom.events;n[e]||(n[e]=[]),n[e].push(t)},removeEventListener:function(e,t){for(var n=this.custom.events[e]||[],r=0;r<n.length;r++)n[r]===t&&n.splice(r--,1)},dispatchEvent:function(e){for(var t=this.custom.events[e.type]||[],n=0;n<t.length;n++)t[n].call(this,e);var r="on"+e.type;this[r]&&this[r](e)}}),e.exports=u}])}))},"986a":function(e,t,n){"use strict";var r=n("ebb5"),i=n("a258").findLast,o=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLast",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"9adc":function(e,t,n){"use strict";var r=n("8558");e.exports="NODE"===r},"9e69":function(e,t,n){var r=n("2b3e"),i=r.Symbol;e.exports=i},a23f:function(e,t,n){},a258:function(e,t,n){"use strict";var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("07fa"),s=function(e){var t=1===e;return function(n,s,l){var u,c,f=o(n),h=i(f),d=a(h),p=r(s,l);while(d-- >0)if(u=h[d],c=p(u,d,f),c)switch(e){case 0:return u;case 1:return d}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},aa47:function(e,t,n){"use strict";
/**!
* Sortable 1.10.2
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function s(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function l(e,t){if(null==e)return{};var n,r,i=s(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e){return c(e)||f(e)||h()}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function f(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance")}n.r(t),n.d(t,"MultiDrag",(function(){return Bt})),n.d(t,"Sortable",(function(){return Je})),n.d(t,"Swap",(function(){return Ot}));var d="1.10.2";function p(e){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var g=p(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),v=p(/Edge/i),y=p(/firefox/i),m=p(/safari/i)&&!p(/chrome/i)&&!p(/android/i),b=p(/iP(ad|od|hone)/i),_=p(/chrome/i)&&p(/android/i),x={capture:!1,passive:!1};function w(e,t,n){e.addEventListener(t,n,!g&&x)}function S(e,t,n){e.removeEventListener(t,n,!g&&x)}function k(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function E(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function O(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&k(e,t):k(e,t))||r&&e===n)return e;if(e===n)break}while(e=E(e))}return null}var C,A=/\s+/g;function T(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(A," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(A," ")}}function P(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"===typeof n?"":"px")}}function M(e,t){var n="";if("string"===typeof e)n=e;else do{var r=P(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function D(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function I(){var e=document.scrollingElement;return e||document.documentElement}function L(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,u,c,f;if(e!==window&&e!==I()?(o=e.getBoundingClientRect(),a=o.top,s=o.left,l=o.bottom,u=o.right,c=o.height,f=o.width):(a=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!g))do{if(i&&i.getBoundingClientRect&&("none"!==P(i,"transform")||n&&"static"!==P(i,"position"))){var h=i.getBoundingClientRect();a-=h.top+parseInt(P(i,"border-top-width")),s-=h.left+parseInt(P(i,"border-left-width")),l=a+o.height,u=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var d=M(i||e),p=d&&d.a,v=d&&d.d;d&&(a/=v,s/=p,f/=p,c/=v,l=a+c,u=s+f)}return{top:a,left:s,bottom:l,right:u,width:f,height:c}}}function R(e,t,n){var r=U(e,!0),i=L(e)[t];while(r){var o=L(r)[n],a=void 0;if(a="top"===n||"left"===n?i>=o:i<=o,!a)return r;if(r===I())break;r=U(r,!1)}return!1}function j(e,t,n){var r=0,i=0,o=e.children;while(i<o.length){if("none"!==o[i].style.display&&o[i]!==Je.ghost&&o[i]!==Je.dragged&&O(o[i],n.draggable,e,!1)){if(r===t)return o[i];r++}i++}return null}function N(e,t){var n=e.lastElementChild;while(n&&(n===Je.ghost||"none"===P(n,"display")||t&&!k(n,t)))n=n.previousElementSibling;return n||null}function B(e,t){var n=0;if(!e||!e.parentNode)return-1;while(e=e.previousElementSibling)"TEMPLATE"===e.nodeName.toUpperCase()||e===Je.clone||t&&!k(e,t)||n++;return n}function F(e){var t=0,n=0,r=I();if(e)do{var i=M(e),o=i.a,a=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function z(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}function U(e,t){if(!e||!e.getBoundingClientRect)return I();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=P(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return I();if(r||t)return n;r=!0}}}while(n=n.parentNode);return I()}function H(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function V(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function G(e,t){return function(){if(!C){var n=arguments,r=this;1===n.length?e.call(r,n[0]):e.apply(r,n),C=setTimeout((function(){C=void 0}),t)}}}function W(){clearTimeout(C),C=void 0}function q(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function X(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Y(e,t){P(e,"position","absolute"),P(e,"top",t.top),P(e,"left",t.left),P(e,"width",t.width),P(e,"height",t.height)}function K(e){P(e,"position",""),P(e,"top",""),P(e,"left",""),P(e,"width",""),P(e,"height","")}var $="Sortable"+(new Date).getTime();function Z(){var e,t=[];return{captureAnimationState:function(){if(t=[],this.options.animation){var e=[].slice.call(this.el.children);e.forEach((function(e){if("none"!==P(e,"display")&&e!==Je.ghost){t.push({target:e,rect:L(e)});var n=a({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=M(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))}},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(z(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"===typeof n&&n());var i=!1,o=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,s=L(n),l=n.prevFromRect,u=n.prevToRect,c=e.rect,f=M(n,!0);f&&(s.top-=f.f,s.left-=f.e),n.toRect=s,n.thisAnimationDuration&&V(l,s)&&!V(a,s)&&(c.top-s.top)/(c.left-s.left)===(a.top-s.top)/(a.left-s.left)&&(t=Q(c,l,u,r.options)),V(s,a)||(n.prevFromRect=a,n.prevToRect=s,t||(t=r.options.animation),r.animate(n,c,s,t)),t&&(i=!0,o=Math.max(o,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"===typeof n&&n()}),o):"function"===typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){P(e,"transition",""),P(e,"transform","");var i=M(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,P(e,"transform","translate3d("+s+"px,"+l+"px,0)"),J(e),P(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),P(e,"transform","translate3d(0,0,0)"),"number"===typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){P(e,"transition",""),P(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}function J(e){return e.offsetWidth}function Q(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var ee=[],te={initializeByDefault:!0},ne={mount:function(e){for(var t in te)te.hasOwnProperty(t)&&!(t in e)&&(e[t]=te[t]);ee.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";ee.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](a({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](a({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in ee.forEach((function(r){var i=r.pluginName;if(e.options[i]||r.initializeByDefault){var a=new r(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,o(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);"undefined"!==typeof a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return ee.forEach((function(r){"function"===typeof r.eventProperties&&o(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return ee.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"===typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}};function re(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,s=e.toEl,l=e.fromEl,u=e.oldIndex,c=e.newIndex,f=e.oldDraggableIndex,h=e.newDraggableIndex,d=e.originalEvent,p=e.putSortable,y=e.extraEventProperties;if(t=t||n&&n[$],t){var m,b=t.options,_="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||g||v?(m=document.createEvent("Event"),m.initEvent(r,!0,!0)):m=new CustomEvent(r,{bubbles:!0,cancelable:!0}),m.to=s||n,m.from=l||n,m.item=i||n,m.clone=o,m.oldIndex=u,m.newIndex=c,m.oldDraggableIndex=f,m.newDraggableIndex=h,m.originalEvent=d,m.pullMode=p?p.lastPutMode:void 0;var x=a({},y,ne.getEventProperties(r,t));for(var w in x)m[w]=x[w];n&&n.dispatchEvent(m),b[_]&&b[_].call(t,m)}}var ie=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=l(n,["evt"]);ne.pluginEvent.bind(Je)(e,t,a({dragEl:ae,parentEl:se,ghostEl:le,rootEl:ue,nextEl:ce,lastDownEl:fe,cloneEl:he,cloneHidden:de,dragStarted:Oe,putSortable:be,activeSortable:Je.active,originalEvent:r,oldIndex:pe,oldDraggableIndex:ve,newIndex:ge,newDraggableIndex:ye,hideGhostForTarget:Ye,unhideGhostForTarget:Ke,cloneNowHidden:function(){de=!0},cloneNowShown:function(){de=!1},dispatchSortableEvent:function(e){oe({sortable:t,name:e,originalEvent:r})}},i))};function oe(e){re(a({putSortable:be,cloneEl:he,targetEl:ae,rootEl:ue,oldIndex:pe,oldDraggableIndex:ve,newIndex:ge,newDraggableIndex:ye},e))}var ae,se,le,ue,ce,fe,he,de,pe,ge,ve,ye,me,be,_e,xe,we,Se,ke,Ee,Oe,Ce,Ae,Te,Pe,Me=!1,De=!1,Ie=[],Le=!1,Re=!1,je=[],Ne=!1,Be=[],Fe="undefined"!==typeof document,ze=b,Ue=v||g?"cssFloat":"float",He=Fe&&!_&&!b&&"draggable"in document.createElement("div"),Ve=function(){if(Fe){if(g)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ge=function(e,t){var n=P(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=j(e,0,t),o=j(e,1,t),a=i&&P(i),s=o&&P(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(i).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a["float"]&&"none"!==a["float"]){var c="left"===a["float"]?"left":"right";return!o||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[Ue]||o&&"none"===n[Ue]&&l+u>r)?"vertical":"horizontal"},We=function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2},qe=function(e,t){var n;return Ie.some((function(r){if(!N(r)){var i=L(r),o=r[$].options.emptyInsertThreshold,a=e>=i.left-o&&e<=i.right+o,s=t>=i.top-o&&t<=i.bottom+o;return o&&a&&s?n=r:void 0}})),n},Xe=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"===typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"===typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},i=e.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},Ye=function(){!Ve&&le&&P(le,"display","none")},Ke=function(){!Ve&&le&&P(le,"display","")};Fe&&document.addEventListener("click",(function(e){if(De)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),De=!1,!1}),!0);var $e=function(e){if(ae){e=e.touches?e.touches[0]:e;var t=qe(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[$]._onDragOver(n)}}},Ze=function(e){ae&&ae.parentNode[$]._isOutsideThisEl(e.target)};function Je(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[$]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ge(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Je.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in ne.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in Xe(t),this)"_"===i.charAt(0)&&"function"===typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&He,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?w(e,"pointerdown",this._onTapStart):(w(e,"mousedown",this._onTapStart),w(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(w(e,"dragover",this),w(e,"dragenter",this)),Ie.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,Z())}function Qe(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function et(e,t,n,r,i,o,a,s){var l,u,c=e[$],f=c.options.onMove;return!window.CustomEvent||g||v?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||L(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),f&&(u=f.call(c,l,a)),u}function tt(e){e.draggable=!1}function nt(){Ne=!1}function rt(e,t,n){var r=L(N(n.el,n.options.draggable)),i=10;return t?e.clientX>r.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}function it(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,h=!1;if(!a)if(s&&Te<u*i){if(!Le&&(1===Ae?l>c+u*o/2:l<f-u*o/2)&&(Le=!0),Le)h=!0;else if(1===Ae?l<c+Te:l>f-Te)return-Ae}else if(l>c+u*(1-i)/2&&l<f-u*(1-i)/2)return ot(t);return h=h||a,h&&(l<c+u*o/2||l>f-u*o/2)?l>c+u/2?1:-1:0}function ot(e){return B(ae)<B(e)?1:-1}function at(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;while(n--)r+=t.charCodeAt(n);return r.toString(36)}function st(e){Be.length=0;var t=e.getElementsByTagName("input"),n=t.length;while(n--){var r=t[n];r.checked&&Be.push(r)}}function lt(e){return setTimeout(e,0)}function ut(e){return clearTimeout(e)}Je.prototype={constructor:Je,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ce=null)},_getDirection:function(e,t){return"function"===typeof this.options.direction?this.options.direction.call(this,e,t,ae):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=r.filter;if(st(n),!ae&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(s=O(s,r.draggable,n,!1),(!s||!s.animated)&&fe!==s)){if(pe=B(s),ve=B(s,r.draggable),"function"===typeof u){if(u.call(this,e,s,this))return oe({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),ie("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=O(l,r.trim(),n,!1),r)return oe({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),ie("filter",t,{evt:e}),!0})),u))return void(i&&e.cancelable&&e.preventDefault());r.handle&&!O(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!ae&&n.parentNode===o){var l=L(n);if(ue=o,ae=n,se=ae.parentNode,ce=ae.nextSibling,fe=n,me=a.group,Je.dragged=ae,_e={target:ae,clientX:(t||e).clientX,clientY:(t||e).clientY},ke=_e.clientX-l.left,Ee=_e.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,ae.style["will-change"]="all",r=function(){ie("delayEnded",i,{evt:e}),Je.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!y&&i.nativeDraggable&&(ae.draggable=!0),i._triggerDragStart(e,t),oe({sortable:i,name:"choose",originalEvent:e}),T(ae,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){D(ae,e.trim(),tt)})),w(s,"dragover",$e),w(s,"mousemove",$e),w(s,"touchmove",$e),w(s,"mouseup",i._onDrop),w(s,"touchend",i._onDrop),w(s,"touchcancel",i._onDrop),y&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ae.draggable=!0),ie("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(v||g))r();else{if(Je.eventCanceled)return void this._onDrop();w(s,"mouseup",i._disableDelayedDrag),w(s,"touchend",i._disableDelayedDrag),w(s,"touchcancel",i._disableDelayedDrag),w(s,"mousemove",i._delayedDragTouchMoveHandler),w(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&w(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ae&&tt(ae),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;S(e,"mouseup",this._disableDelayedDrag),S(e,"touchend",this._disableDelayedDrag),S(e,"touchcancel",this._disableDelayedDrag),S(e,"mousemove",this._delayedDragTouchMoveHandler),S(e,"touchmove",this._delayedDragTouchMoveHandler),S(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?w(document,"pointermove",this._onTouchMove):w(document,t?"touchmove":"mousemove",this._onTouchMove):(w(ae,"dragend",this),w(ue,"dragstart",this._onDragStart));try{document.selection?lt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Me=!1,ue&&ae){ie("dragStarted",this,{evt:t}),this.nativeDraggable&&w(document,"dragover",Ze);var n=this.options;!e&&T(ae,n.dragClass,!1),T(ae,n.ghostClass,!0),Je.active=this,e&&this._appendGhost(),oe({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(xe){this._lastX=xe.clientX,this._lastY=xe.clientY,Ye();var e=document.elementFromPoint(xe.clientX,xe.clientY),t=e;while(e&&e.shadowRoot){if(e=e.shadowRoot.elementFromPoint(xe.clientX,xe.clientY),e===t)break;t=e}if(ae.parentNode[$]._isOutsideThisEl(e),t)do{if(t[$]){var n=void 0;if(n=t[$]._onDragOver({clientX:xe.clientX,clientY:xe.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ke()}},_onTouchMove:function(e){if(_e){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=le&&M(le,!0),a=le&&o&&o.a,s=le&&o&&o.d,l=ze&&Pe&&F(Pe),u=(i.clientX-_e.clientX+r.x)/(a||1)+(l?l[0]-je[0]:0)/(a||1),c=(i.clientY-_e.clientY+r.y)/(s||1)+(l?l[1]-je[1]:0)/(s||1);if(!Je.active&&!Me){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(le){o?(o.e+=u-(we||0),o.f+=c-(Se||0)):o={a:1,b:0,c:0,d:1,e:u,f:c};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");P(le,"webkitTransform",f),P(le,"mozTransform",f),P(le,"msTransform",f),P(le,"transform",f),we=u,Se=c,xe=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!le){var e=this.options.fallbackOnBody?document.body:ue,t=L(ae,!0,ze,!0,e),n=this.options;if(ze){Pe=e;while("static"===P(Pe,"position")&&"none"===P(Pe,"transform")&&Pe!==document)Pe=Pe.parentNode;Pe!==document.body&&Pe!==document.documentElement?(Pe===document&&(Pe=I()),t.top+=Pe.scrollTop,t.left+=Pe.scrollLeft):Pe=I(),je=F(Pe)}le=ae.cloneNode(!0),T(le,n.ghostClass,!1),T(le,n.fallbackClass,!0),T(le,n.dragClass,!0),P(le,"transition",""),P(le,"transform",""),P(le,"box-sizing","border-box"),P(le,"margin",0),P(le,"top",t.top),P(le,"left",t.left),P(le,"width",t.width),P(le,"height",t.height),P(le,"opacity","0.8"),P(le,"position",ze?"absolute":"fixed"),P(le,"zIndex","100000"),P(le,"pointerEvents","none"),Je.ghost=le,e.appendChild(le),P(le,"transform-origin",ke/parseInt(le.style.width)*100+"% "+Ee/parseInt(le.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;ie("dragStart",this,{evt:e}),Je.eventCanceled?this._onDrop():(ie("setupClone",this),Je.eventCanceled||(he=X(ae),he.draggable=!1,he.style["will-change"]="",this._hideClone(),T(he,this.options.chosenClass,!1),Je.clone=he),n.cloneId=lt((function(){ie("clone",n),Je.eventCanceled||(n.options.removeCloneOnHide||ue.insertBefore(he,ae),n._hideClone(),oe({sortable:n,name:"clone"}))})),!t&&T(ae,i.dragClass,!0),t?(De=!0,n._loopId=setInterval(n._emulateDragOver,50)):(S(document,"mouseup",n._onDrop),S(document,"touchend",n._onDrop),S(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,ae)),w(document,"drop",n),P(ae,"transform","translateZ(0)")),Me=!0,n._dragStartId=lt(n._dragStarted.bind(n,t,e)),w(document,"selectstart",n),Oe=!0,m&&P(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,s=e.target,l=this.options,u=l.group,c=Je.active,f=me===u,h=l.sort,d=be||c,p=this,g=!1;if(!Ne){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=O(s,l.draggable,o,!0),D("dragOver"),Je.eventCanceled)return g;if(ae.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return j(!1);if(De=!1,c&&!l.disabled&&(f?h||(r=!ue.contains(ae)):be===this||(this.lastPutMode=me.checkPull(this,c,ae,e))&&u.checkPut(this,c,ae,e))){if(i="vertical"===this._getDirection(e,s),t=L(ae),D("dragOverValid"),Je.eventCanceled)return g;if(r)return se=ue,I(),this._hideClone(),D("revert"),Je.eventCanceled||(ce?ue.insertBefore(ae,ce):ue.appendChild(ae)),j(!0);var v=N(o,l.draggable);if(!v||rt(e,i,this)&&!v.animated){if(v===ae)return j(!1);if(v&&o===e.target&&(s=v),s&&(n=L(s)),!1!==et(ue,o,ae,t,s,n,e,!!s))return I(),o.appendChild(ae),se=o,F(),j(!0)}else if(s.parentNode===o){n=L(s);var y,m,b=0,_=ae.parentNode!==o,x=!We(ae.animated&&ae.toRect||t,s.animated&&s.toRect||n,i),w=i?"top":"left",S=R(s,"top","top")||R(ae,"top","top"),k=S?S.scrollTop:void 0;if(Ce!==s&&(y=n[w],Le=!1,Re=!x&&l.invertSwap||_),b=it(e,s,n,i,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Re,Ce===s),0!==b){var E=B(ae);do{E-=b,m=se.children[E]}while(m&&("none"===P(m,"display")||m===le))}if(0===b||m===s)return j(!1);Ce=s,Ae=b;var C=s.nextElementSibling,A=!1;A=1===b;var M=et(ue,o,ae,t,s,n,e,A);if(!1!==M)return 1!==M&&-1!==M||(A=1===M),Ne=!0,setTimeout(nt,30),I(),A&&!C?o.appendChild(ae):s.parentNode.insertBefore(ae,A?C:s),S&&q(S,0,k-S.scrollTop),se=ae.parentNode,void 0===y||Re||(Te=Math.abs(y-L(s)[w])),F(),j(!0)}if(o.contains(ae))return j(!1)}return!1}function D(l,u){ie(l,p,a({evt:e,isOwner:f,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:h,fromSortable:d,target:s,completed:j,onMove:function(n,r){return et(ue,o,ae,t,n,L(n),e,r)},changed:F},u))}function I(){D("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function j(t){return D("dragOverCompleted",{insertion:t}),t&&(f?c._hideClone():c._showClone(p),p!==d&&(T(ae,be?be.options.ghostClass:c.options.ghostClass,!1),T(ae,l.ghostClass,!0)),be!==p&&p!==Je.active?be=p:p===Je.active&&be&&(be=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){D("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===ae&&!ae.animated||s===o&&!s.animated)&&(Ce=null),l.dragoverBubble||e.rootEl||s===document||(ae.parentNode[$]._isOutsideThisEl(e.target),!t&&$e(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),g=!0}function F(){ge=B(ae),ye=B(ae,l.draggable),oe({sortable:p,name:"change",toEl:o,newIndex:ge,newDraggableIndex:ye,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){S(document,"mousemove",this._onTouchMove),S(document,"touchmove",this._onTouchMove),S(document,"pointermove",this._onTouchMove),S(document,"dragover",$e),S(document,"mousemove",$e),S(document,"touchmove",$e)},_offUpEvents:function(){var e=this.el.ownerDocument;S(e,"mouseup",this._onDrop),S(e,"touchend",this._onDrop),S(e,"pointerup",this._onDrop),S(e,"touchcancel",this._onDrop),S(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ge=B(ae),ye=B(ae,n.draggable),ie("drop",this,{evt:e}),se=ae&&ae.parentNode,ge=B(ae),ye=B(ae,n.draggable),Je.eventCanceled||(Me=!1,Re=!1,Le=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ut(this.cloneId),ut(this._dragStartId),this.nativeDraggable&&(S(document,"drop",this),S(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),m&&P(document.body,"user-select",""),P(ae,"transform",""),e&&(Oe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),le&&le.parentNode&&le.parentNode.removeChild(le),(ue===se||be&&"clone"!==be.lastPutMode)&&he&&he.parentNode&&he.parentNode.removeChild(he),ae&&(this.nativeDraggable&&S(ae,"dragend",this),tt(ae),ae.style["will-change"]="",Oe&&!Me&&T(ae,be?be.options.ghostClass:this.options.ghostClass,!1),T(ae,this.options.chosenClass,!1),oe({sortable:this,name:"unchoose",toEl:se,newIndex:null,newDraggableIndex:null,originalEvent:e}),ue!==se?(ge>=0&&(oe({rootEl:se,name:"add",toEl:se,fromEl:ue,originalEvent:e}),oe({sortable:this,name:"remove",toEl:se,originalEvent:e}),oe({rootEl:se,name:"sort",toEl:se,fromEl:ue,originalEvent:e}),oe({sortable:this,name:"sort",toEl:se,originalEvent:e})),be&&be.save()):ge!==pe&&ge>=0&&(oe({sortable:this,name:"update",toEl:se,originalEvent:e}),oe({sortable:this,name:"sort",toEl:se,originalEvent:e})),Je.active&&(null!=ge&&-1!==ge||(ge=pe,ye=ve),oe({sortable:this,name:"end",toEl:se,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){ie("nulling",this),ue=ae=se=le=ce=he=fe=de=_e=xe=Oe=ge=ye=pe=ve=Ce=Ae=be=me=Je.dragged=Je.ghost=Je.clone=Je.active=null,Be.forEach((function(e){e.checked=!0})),Be.length=we=Se=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ae&&(this._onDragOver(e),Qe(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,o=this.options;r<i;r++)e=n[r],O(e,o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||at(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,r){var i=n.children[r];O(i,this.options.draggable,n,!1)&&(t[e]=i)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return O(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=ne.modifyOption(this,e,t);n[e]="undefined"!==typeof r?r:t,"group"===e&&Xe(n)},destroy:function(){ie("destroy",this);var e=this.el;e[$]=null,S(e,"mousedown",this._onTapStart),S(e,"touchstart",this._onTapStart),S(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(S(e,"dragover",this),S(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ie.splice(Ie.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!de){if(ie("hideClone",this),Je.eventCanceled)return;P(he,"display","none"),this.options.removeCloneOnHide&&he.parentNode&&he.parentNode.removeChild(he),de=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(de){if(ie("showClone",this),Je.eventCanceled)return;ue.contains(ae)&&!this.options.group.revertClone?ue.insertBefore(he,ae):ce?ue.insertBefore(he,ce):ue.appendChild(he),this.options.group.revertClone&&this.animate(ae,he),P(he,"display",""),de=!1}}else this._hideClone()}},Fe&&w(document,"touchmove",(function(e){(Je.active||Me)&&e.cancelable&&e.preventDefault()})),Je.utils={on:w,off:S,css:P,find:D,is:function(e,t){return!!O(e,t,e,!1)},extend:H,throttle:G,closest:O,toggleClass:T,clone:X,index:B,nextTick:lt,cancelNextTick:ut,detectDirection:Ge,getChild:j},Je.get=function(e){return e[$]},Je.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Je.utils=a({},Je.utils,e.utils)),ne.mount(e)}))},Je.create=function(e,t){return new Je(e,t)},Je.version=d;var ct,ft,ht,dt,pt,gt,vt=[],yt=!1;function mt(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):this.options.supportPointer?w(document,"pointermove",this._handleFallbackAutoScroll):t.touches?w(document,"touchmove",this._handleFallbackAutoScroll):w(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?S(document,"dragover",this._handleAutoScroll):(S(document,"pointermove",this._handleFallbackAutoScroll),S(document,"touchmove",this._handleFallbackAutoScroll),S(document,"mousemove",this._handleFallbackAutoScroll)),_t(),bt(),W()},nulling:function(){pt=ft=ct=yt=gt=ht=dt=null,vt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(r,i);if(pt=e,t||v||g||m){wt(e,this.options,o,t);var a=U(o,!0);!yt||gt&&r===ht&&i===dt||(gt&&_t(),gt=setInterval((function(){var o=U(document.elementFromPoint(r,i),!0);o!==a&&(a=o,bt()),wt(e,n.options,o,t)}),10),ht=r,dt=i)}else{if(!this.options.bubbleScroll||U(o,!0)===I())return void bt();wt(e,this.options,U(o,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}function bt(){vt.forEach((function(e){clearInterval(e.pid)})),vt=[]}function _t(){clearInterval(gt)}var xt,wt=G((function(e,t,n,r){if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,u=I(),c=!1;ft!==n&&(ft=n,bt(),ct=t.scroll,i=t.scrollFn,!0===ct&&(ct=U(n,!0)));var f=0,h=ct;do{var d=h,p=L(d),g=p.top,v=p.bottom,y=p.left,m=p.right,b=p.width,_=p.height,x=void 0,w=void 0,S=d.scrollWidth,k=d.scrollHeight,E=P(d),O=d.scrollLeft,C=d.scrollTop;d===u?(x=b<S&&("auto"===E.overflowX||"scroll"===E.overflowX||"visible"===E.overflowX),w=_<k&&("auto"===E.overflowY||"scroll"===E.overflowY||"visible"===E.overflowY)):(x=b<S&&("auto"===E.overflowX||"scroll"===E.overflowX),w=_<k&&("auto"===E.overflowY||"scroll"===E.overflowY));var A=x&&(Math.abs(m-o)<=s&&O+b<S)-(Math.abs(y-o)<=s&&!!O),T=w&&(Math.abs(v-a)<=s&&C+_<k)-(Math.abs(g-a)<=s&&!!C);if(!vt[f])for(var M=0;M<=f;M++)vt[M]||(vt[M]={});vt[f].vx==A&&vt[f].vy==T&&vt[f].el===d||(vt[f].el=d,vt[f].vx=A,vt[f].vy=T,clearInterval(vt[f].pid),0==A&&0==T||(c=!0,vt[f].pid=setInterval(function(){r&&0===this.layer&&Je.active._onTouchMove(pt);var t=vt[this.layer].vy?vt[this.layer].vy*l:0,n=vt[this.layer].vx?vt[this.layer].vx*l:0;"function"===typeof i&&"continue"!==i.call(Je.dragged.parentNode[$],n,t,e,pt,vt[this.layer].el)||q(vt[this.layer].el,n,t)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&h!==u&&(h=U(h,!1)));yt=c}}),30),St=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);s(),l&&!l.el.contains(c)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function kt(){}function Et(){}function Ot(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;xt=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var u=xt;!1!==r(n)?(T(n,l.swapClass,!0),xt=n):xt=null,u&&u!==xt&&T(u,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,o=this.options;xt&&T(xt,o.swapClass,!1),xt&&(o.swap||n&&n.options.swap)&&r!==xt&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),Ct(r,xt),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){xt=null}},o(e,{pluginName:"swap",eventProperties:function(){return{swapItem:xt}}})}function Ct(e,t){var n,r,i=e.parentNode,o=t.parentNode;i&&o&&!i.isEqualNode(t)&&!o.isEqualNode(e)&&(n=B(e),r=B(t),i.isEqualNode(o)&&n<r&&r++,i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r]))}kt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=j(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:St},o(kt,{pluginName:"revertOnSpill"}),Et.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,r=n||this.sortable;r.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),r.animateAll()},drop:St},o(Et,{pluginName:"removeOnSpill"});var At,Tt,Pt,Mt,Dt,It=[],Lt=[],Rt=!1,jt=!1,Nt=!1;function Bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"===typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?w(document,"pointerup",this._deselectMultiDrag):(w(document,"mouseup",this._deselectMultiDrag),w(document,"touchend",this._deselectMultiDrag)),w(document,"keydown",this._checkKeyDown),w(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";It.length&&Tt===e?It.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;Pt=t},delayEnded:function(){this.isMultiDrag=~It.indexOf(Pt)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<It.length;r++)Lt.push(X(It[r])),Lt[r].sortableIndex=It[r].sortableIndex,Lt[r].draggable=!1,Lt[r].style["will-change"]="",T(Lt[r],this.options.selectedClass,!1),It[r]===Pt&&T(Lt[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,i=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||It.length&&Tt===t&&(zt(!0,n),r("clone"),i()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(zt(!1,n),Lt.forEach((function(e){P(e,"display","")})),t(),Dt=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(Lt.forEach((function(e){P(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),Dt=!0,r())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&Tt&&Tt.multiDrag._deselectMultiDrag(),It.forEach((function(e){e.sortableIndex=B(e)})),It=It.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),Nt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){It.forEach((function(e){e!==Pt&&P(e,"position","absolute")}));var r=L(Pt,!1,!0,!0);It.forEach((function(e){e!==Pt&&Y(e,r)})),jt=!0,Rt=!0}n.animateAll((function(){jt=!1,Rt=!1,t.options.animation&&It.forEach((function(e){K(e)})),t.options.sort&&Ut()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;jt&&~It.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,i=e.dragRect;It.length>1&&(It.forEach((function(e){r.addAnimationState({target:e,rect:jt?L(e):i}),K(e),e.fromRect=i,t.removeAnimationState(e)})),jt=!1,Ft(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,i=e.activeSortable,o=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&i._hideClone(),Rt=!1,s.animation&&It.length>1&&(jt||!n&&!i.options.sort&&!a)){var l=L(Pt,!1,!0,!0);It.forEach((function(e){e!==Pt&&(Y(e,l),o.appendChild(e))})),jt=!0}if(!n)if(jt||Ut(),It.length>1){var u=Dt;i._showClone(t),i.options.animation&&!Dt&&u&&Lt.forEach((function(e){i.addAnimationState({target:e,rect:Mt}),e.fromRect=Mt,e.thisAnimationDuration=null}))}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(It.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Mt=o({},t);var i=M(Pt,!0);Mt.top-=i.f,Mt.left-=i.e}},dragOverAnimationComplete:function(){jt&&(jt=!1,Ut())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,i=e.sortable,o=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var u=this.options,c=r.children;if(!Nt)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),T(Pt,u.selectedClass,!~It.indexOf(Pt)),~It.indexOf(Pt))It.splice(It.indexOf(Pt),1),At=null,re({sortable:i,rootEl:n,name:"deselect",targetEl:Pt,originalEvt:t});else{if(It.push(Pt),re({sortable:i,rootEl:n,name:"select",targetEl:Pt,originalEvt:t}),t.shiftKey&&At&&i.el.contains(At)){var f,h,d=B(At),p=B(Pt);if(~d&&~p&&d!==p)for(p>d?(h=d,f=p):(h=p,f=d+1);h<f;h++)~It.indexOf(c[h])||(T(c[h],u.selectedClass,!0),It.push(c[h]),re({sortable:i,rootEl:n,name:"select",targetEl:c[h],originalEvt:t}))}else At=Pt;Tt=l}if(Nt&&this.isMultiDrag){if((r[$].options.sort||r!==n)&&It.length>1){var g=L(Pt),v=B(Pt,":not(."+this.options.selectedClass+")");if(!Rt&&u.animation&&(Pt.thisAnimationDuration=null),l.captureAnimationState(),!Rt&&(u.animation&&(Pt.fromRect=g,It.forEach((function(e){if(e.thisAnimationDuration=null,e!==Pt){var t=jt?L(e):g;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),Ut(),It.forEach((function(e){c[v]?r.insertBefore(e,c[v]):r.appendChild(e),v++})),a===B(Pt))){var y=!1;It.forEach((function(e){e.sortableIndex===B(e)||(y=!0)})),y&&o("update")}It.forEach((function(e){K(e)})),l.animateAll()}Tt=l}(n===r||s&&"clone"!==s.lastPutMode)&&Lt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Nt=!1,Lt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),S(document,"pointerup",this._deselectMultiDrag),S(document,"mouseup",this._deselectMultiDrag),S(document,"touchend",this._deselectMultiDrag),S(document,"keydown",this._checkKeyDown),S(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(("undefined"===typeof Nt||!Nt)&&Tt===this.sortable&&(!e||!O(e.target,this.options.draggable,this.sortable.el,!1))&&(!e||0===e.button))while(It.length){var t=It[0];T(t,this.options.selectedClass,!1),It.shift(),re({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[$];t&&t.options.multiDrag&&!~It.indexOf(e)&&(Tt&&Tt!==t&&(Tt.multiDrag._deselectMultiDrag(),Tt=t),T(e,t.options.selectedClass,!0),It.push(e))},deselect:function(e){var t=e.parentNode[$],n=It.indexOf(e);t&&t.options.multiDrag&&~n&&(T(e,t.options.selectedClass,!1),It.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return It.forEach((function(r){var i;t.push({multiDragElement:r,index:r.sortableIndex}),i=jt&&r!==Pt?-1:jt?B(r,":not(."+e.options.selectedClass+")"):B(r),n.push({multiDragElement:r,index:i})})),{items:u(It),clones:[].concat(Lt),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return e=e.toLowerCase(),"ctrl"===e?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function Ft(e,t){It.forEach((function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)}))}function zt(e,t){Lt.forEach((function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)}))}function Ut(){It.forEach((function(e){e!==Pt&&e.parentNode&&e.parentNode.removeChild(e)}))}Je.mount(new mt),Je.mount(Et,kt),t["default"]=Je},b047:function(e,t,n){var r=n("1a8c"),i=n("408c"),o=n("b4b0"),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,n){var u,c,f,h,d,p,g=0,v=!1,y=!1,m=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=u,r=c;return u=c=void 0,g=t,h=e.apply(r,n),h}function _(e){return g=e,d=setTimeout(S,t),v?b(e):h}function x(e){var n=e-p,r=e-g,i=t-n;return y?l(i,f-r):i}function w(e){var n=e-p,r=e-g;return void 0===p||n>=t||n<0||y&&r>=f}function S(){var e=i();if(w(e))return k(e);d=setTimeout(S,x(e))}function k(e){return d=void 0,m&&u?b(e):(u=c=void 0,h)}function E(){void 0!==d&&clearTimeout(d),g=0,u=p=c=d=void 0}function O(){return void 0===d?h:k(i())}function C(){var e=i(),n=w(e);if(u=arguments,c=this,p=e,n){if(void 0===d)return _(p);if(y)return clearTimeout(d),d=setTimeout(S,t),b(p)}return void 0===d&&(d=setTimeout(S,t)),h}return t=o(t)||0,r(n)&&(v=!!n.leading,y="maxWait"in n,f=y?s(o(n.maxWait)||0,t):f,m="trailing"in n?!!n.trailing:m),C.cancel=E,C.flush=O,C}e.exports=u},b311:function(e,t,n){
/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
(function(t,n){e.exports=n()})(0,(function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return D}});var r=n(279),i=n.n(r),o=n(370),a=n.n(o),s=n(817),l=n.n(s);function u(e){try{return document.execCommand(e)}catch(t){return!1}}var c=function(e){var t=l()(e);return u("cut"),t},f=c;function h(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}var d=function(e,t){var n=h(e);t.container.appendChild(n);var r=l()(n);return u("copy"),n.remove(),r},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"===typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===e||void 0===e?void 0:e.type)?n=d(e.value,t):(n=l()(e),u("copy")),n},g=p;function v(e){return v="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}var y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==v(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?g(o,{container:r}):i?"cut"===n?f(i):g(i,{container:r}):void 0},m=y;function b(e){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),e}function S(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}function k(e,t){return k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k(e,t)}function E(e){var t=A();return function(){var n,r=T(e);if(t){var i=T(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==b(t)&&"function"!==typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}function P(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var M=function(e){S(n,e);var t=E(n);function n(e,r){var i;return _(this,n),i=t.call(this),i.resolveOptions(r),i.listenClick(e),i}return w(n,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===b(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return P("action",e)}},{key:"defaultTarget",value:function(e){var t=P("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return P("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return g(e,t)}},{key:"cut",value:function(e){return f(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),n}(i()),D=M},828:function(e){var t=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}function r(e,n){while(e&&e.nodeType!==t){if("function"===typeof e.matches&&e.matches(n))return e;e=e.parentNode}}e.exports=r},438:function(e,t,n){var r=n(828);function i(e,t,n,r,i){var o=a.apply(this,arguments);return e.addEventListener(n,o,i),{destroy:function(){e.removeEventListener(n,o,i)}}}function o(e,t,n,r,o){return"function"===typeof e.addEventListener?i.apply(null,arguments):"function"===typeof n?i.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,o)})))}function a(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=o},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},370:function(e,t,n){var r=n(879),i=n(438);function o(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return a(e,t,n);if(r.nodeList(e))return s(e,t,n);if(r.string(e))return l(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function s(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}function l(e,t,n){return i(document.body,e,t,n)}e.exports=o},817:function(e){function t(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),n(686)}().default}))},b4b0:function(e,t,n){var r=n("8d74"),i=n("1a8c"),o=n("ffd6"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function f(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=f},b620:function(e,t,n){"use strict";var r=n("cfe9"),i=n("7282"),o=n("c6b6"),a=r.ArrayBuffer,s=r.TypeError;e.exports=a&&i(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new s("ArrayBuffer expected");return e.byteLength}},b76a:function(e,t,n){(function(t,r){e.exports=r(n("aa47"))})("undefined"!==typeof self&&self,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),u=n("7f20"),c=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,m,b,_){l(n,t,y);var x,w,S,k=function(e){if(!h&&e in A)return A[e];switch(e){case p:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",O=m==g,C=!1,A=e.prototype,T=A[f]||A[d]||m&&A[m],P=T||k(m),M=m?O?k("entries"):P:void 0,D="Array"==t&&A.entries||T;if(D&&(S=c(D.call(new e)),S!==Object.prototype&&S.next&&(u(S,E,!0),r||"function"==typeof S[f]||a(S,f,v))),O&&T&&T.name!==g&&(C=!0,P=function(){return T.call(this)}),r&&!_||!h&&!C&&A[f]||a(A,f,P),s[t]=P,s[E]=v,m)if(x={values:O?P:k(g),keys:b?P:k(p),entries:M},_)for(w in x)w in A||o(A,w,x[w]);else i(i.P+i.F*(h||C),t,x);return x}},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},1495:function(e,t,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),u=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=d?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!d||!p||"replace"===e&&!c||"split"===e&&!f){var g=/./[h],v=n(a,h,""[e],(function(e,t,n,r,i){return t.exec===l?d&&!i?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=v[0],m=v[1];r(String.prototype,e,y),i(RegExp.prototype,h,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},"230e":function(e,t,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"23c6":function(e,t,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",u=(""+s).split(l);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("230e")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[l][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},"2b4c":function(e,t,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2fdb":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var r=n("86cc"),i=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"38fd":function(e,t,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"41a0":function(e,t,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(e){return i(r(e))}}))},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},"520a":function(e,t,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[s]||0!==t[s]}(),u=void 0!==/()??/.exec("")[1],c=l||u;c&&(a=function(e){var t,n,a,c,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),l&&(t=f[s]),a=i.call(f,e),l&&a&&(f[s]=f.global?a.index+a[0].length:t),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(a[c]=void 0)})),a}),e.exports=a},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l="prototype",u=function(e,t,n){var c,f,h,d,p=e&u.F,g=e&u.G,v=e&u.S,y=e&u.P,m=e&u.B,b=g?r:v?r[t]||(r[t]={}):(r[t]||{})[l],_=g?i:i[t]||(i[t]={}),x=_[l]||(_[l]={});for(c in g&&(n=t),n)f=!p&&b&&void 0!==b[c],h=(f?b:n)[c],d=m&&f?s(h,r):y&&"function"==typeof h?s(Function.call,h):h,b&&a(b,c,h,e&u.U),_[c]!=h&&o(_,c,d),y&&x[c]!=h&&(x[c]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(e,t,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},6762:function(e,t,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),l=Object.assign;e.exports=!l||n("79e5")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){var n=a(e),l=arguments.length,u=1,c=i.f,f=o.f;while(l>u){var h,d=s(arguments[u++]),p=c?r(d).concat(c(d)):r(d),g=p.length,v=0;while(g>v)f.call(d,h=p[v++])&&(n[h]=d[h])}return n}:l},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(t,n){t.exports=e},a481:function(e,t,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),u=Math.max,c=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,g){return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=g(n,e,this,t);if(i.done)return i.value;var f=r(e),h=String(this),d="function"===typeof t;d||(t=String(t));var y=f.global;if(y){var m=f.unicode;f.lastIndex=0}var b=[];while(1){var _=l(f,h);if(null===_)break;if(b.push(_),!y)break;var x=String(_[0]);""===x&&(f.lastIndex=s(h,o(f.lastIndex),m))}for(var w="",S=0,k=0;k<b.length;k++){_=b[k];for(var E=String(_[0]),O=u(c(a(_.index),h.length),0),C=[],A=1;A<_.length;A++)C.push(p(_[A]));var T=_.groups;if(d){var P=[E].concat(C,O,h);void 0!==T&&P.push(T);var M=String(t.apply(void 0,P))}else M=v(E,h,O,C,T,t);O>=S&&(w+=h.slice(S,O)+M,S=O+E.length)}return w+h.slice(S)}];function v(e,t,r,o,a,s){var l=r+e.length,u=o.length,c=d;return void 0!==a&&(a=i(a),c=h),n.call(s,c,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>u){var h=f(c/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},aae3:function(e,t,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),u=n("2b4c"),c=u("iterator"),f=u("toStringTag"),h=l.Array,d={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(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],b=a[y],_=b&&b.prototype;if(_&&(_[c]||s(_,c,h),_[f]||s(_,f,y),l[y]=h,m))for(v in r)_[v]||o(_,v,r[v],!0)}},b0c5:function(e,t,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var r=n("6821"),i=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},c649:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return l}));n("a481");function r(){return"undefined"!==typeof window?window.console:e.console}var i=r();function o(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var a=/-(\w)/g,s=o((function(e){return e.replace(a,(function(e,t){return t?t.toUpperCase():""}))}));function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function u(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}}).call(this,n("c8ba"))},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},d2c8:function(e,t,n){var r=n("aae3"),i=n("be13");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];r(r.P+r.F*n("5147")(a),"String",{startsWith:function(e){var t=o(this,e,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f751:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fb15:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function i(e){if(Array.isArray(e))return e}function o(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return i(e)||o(e,t)||s(e,t)||l()}n("6762"),n("2fdb");function c(e){if(Array.isArray(e))return a(e)}function f(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e){return c(e)||f(e)||s(e)||h()}var p=n("a352"),g=n.n(p),v=n("c649");function y(e,t,n){return void 0===n||(e=e||{},e[t]=n),e}function m(e,t){return e.map((function(e){return e.elm})).indexOf(t)}function b(e,t,n,r){if(!e)return[];var i=e.map((function(e){return e.elm})),o=t.length-r,a=d(t).map((function(e,t){return t>=o?i.length:i.indexOf(e)}));return n?a.filter((function(e){return-1!==e})):a}function _(e,t){var n=this;this.$nextTick((function(){return n.$emit(e.toLowerCase(),t)}))}function x(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),_.call(t,e,n)}}function w(e){return["transition-group","TransitionGroup"].includes(e)}function S(e){if(!e||1!==e.length)return!1;var t=u(e,1),n=t[0].componentOptions;return!!n&&w(n.tag)}function k(e,t,n){return e[n]||(t[n]?t[n]():void 0)}function E(e,t,n){var r=0,i=0,o=k(t,n,"header");o&&(r=o.length,e=e?[].concat(d(o),d(e)):d(o));var a=k(t,n,"footer");return a&&(i=a.length,e=e?[].concat(d(e),d(a)):d(a)),{children:e,headerOffset:r,footerOffset:i}}function O(e,t){var n=null,r=function(e,t){n=y(n,e,t)},i=Object.keys(e).filter((function(e){return"id"===e||e.startsWith("data-")})).reduce((function(t,n){return t[n]=e[n],t}),{});if(r("attrs",i),!t)return n;var o=t.on,a=t.props,s=t.attrs;return r("on",o),r("props",a),Object.assign(n.attrs,s),n}var C=["Start","Add","Remove","Update","End"],A=["Choose","Unchoose","Sort","Filter","Clone"],T=["Move"].concat(C,A).map((function(e){return"on"+e})),P=null,M={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},D={name:"draggable",inheritAttrs:!1,props:M,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=S(t);var n=E(t,this.$slots,this.$scopedSlots),r=n.children,i=n.headerOffset,o=n.footerOffset;this.headerOffset=i,this.footerOffset=o;var a=O(this.$attrs,this.componentData);return e(this.getTag(),a,r)},created:function(){null!==this.list&&null!==this.value&&v["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&v["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&v["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};C.forEach((function(n){t["on"+n]=x.call(e,n)})),A.forEach((function(n){t["on"+n]=_.bind(e,n)}));var n=Object.keys(this.$attrs).reduce((function(t,n){return t[Object(v["a"])(n)]=e.$attrs[n],t}),{}),r=Object.assign({},this.options,n,t,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new g.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var n=Object(v["a"])(t);-1===T.indexOf(n)&&this._sortable.option(n,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick((function(){e.visibleIndexes=b(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)}))},getUnderlyingVm:function(e){var t=m(this.getChildrenNodes()||[],e);if(-1===t)return null;var n=this.realList[t];return{index:t,element:n}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&w(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick((function(){t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=d(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,d(e))};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var i=r.realList,o={list:i,component:r};if(t!==n&&i&&r.getUnderlyingVm){var a=r.getUnderlyingVm(n);if(a)return Object.assign(a,o)}return o},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){var t=this.getChildrenNodes();t[e].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),P=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(v["d"])(e.item);var n=this.getVmIndex(e.newIndex);this.spliceList(n,0,t),this.computeIndexes();var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(Object(v["c"])(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var n={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:n})}else Object(v["d"])(e.clone)},onDragUpdate:function(e){Object(v["d"])(e.item),Object(v["c"])(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=d(t.to.children).filter((function(e){return"none"!==e.style["display"]})),r=n.indexOf(t.related),i=e.component.getVmIndex(r),o=-1!==n.indexOf(P);return o||!t.willInsertAfter?i:i+1},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(e),i=this.context,o=this.computeFutureIndex(r,e);Object.assign(i,{futureIndex:o});var a=Object.assign({},e,{relatedContext:r,draggedContext:i});return n(a,t)},onDragEnd:function(){this.computeIndexes(),P=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",D);var I=D;t["default"]=I}})["default"]}))},bad2:function(e,t,n){},bcbf:function(e,t,n){"use strict";var r=n("f5df");e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},beb2:function(e,t,n){},bf74:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},c6eb:function(e,t,n){"use strict";(function(e){var r=n("5ea3"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&r["a"].process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();t["a"]=l}).call(this,n("dd40")(e))},c8b0:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(c){u.forEach=o}}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");e.exports=function(e,t){var n,c,f,h,d,p,g=e.target,v=e.global,y=e.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,e.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",l=RegExp.prototype,u=l[s],c=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(c||f)&&r(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in l)?a.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"45fc":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").some,o=n("a640"),a=n("ae40"),s=o("some"),l=a("some");r({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"65f0":function(e,t,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),a=o("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),p=s.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=f.state||(f.state=new p),m=y.get,b=y.has,_=y.set;r=function(e,t){return t.facade=e,_.call(y,e,t),t},i=function(e){return m.call(y,e)||{}},o=function(e){return b.call(y,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){return t.facade=e,u(e,x,t),t},i=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:v}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e!==r?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),f=">",h="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},y=function(e){return h+p+f+e+h+"/"+p+f},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?m(r):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[d]=i(e),n=new v,v[d]=null,n[g]=e):n=_(),void 0===t?n:o(n,t)}},"7db0":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),a=n("ae40"),s="find",l=!0,u=a(s);s in[]&&Array(1)[s]((function(){l=!1})),r({target:"Array",proto:!0,forced:l||!u},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===l)return f[h];if(l===c&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"94ca":function(e,t,n){var r=n("d039"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("5135"),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,f=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,f)}))}},b041:function(e,t,n){"use strict";var r=n("00ee"),i=n("f5df");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b20f:function(e,t,n){},b622:function(e,t,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),u=i("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},b64b:function(e,t,n){var r=n("23e7"),i=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b727:function(e,t,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,g,v,y){for(var m,b,_=o(p),x=i(_),w=r(g,v,3),S=a(x.length),k=0,E=y||s,O=t?E(p,S):n||h?E(p,0):void 0;S>k;k++)if((d||k in x)&&(m=x[k],b=w(m,k,_),e))if(t)O[k]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return k;case 2:l.call(O,m)}else switch(e){case 4:return!1;case 7:l.call(O,m)}return f?-1:u||c?c:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},ce4e:function(e,t,n){var r=n("da84"),i=n("9112");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),i=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d3b7:function(e,t,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},f5df:function(e,t,n){var r=n("00ee"),i=n("c6b6"),o=n("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},fae3:function(e,t,n){"use strict";if(n.r(t),n.d(t,"directive",(function(){return a})),n.d(t,"VabContextmenu",(function(){return p})),n.d(t,"VabContextmenuItem",(function(){return _})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}n("b20f"),n("d3b7"),n("25f0");var a={inserted:function(e,t,n){var r=n.context.$refs[t.arg]||n.context.$refs[t.value],i="[object Array]"===Object.prototype.toString.call(r)?r[0]:r;i.addRef({el:e,vnode:n}),i.$contextmenuId=e.id||i._uid}},s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"contextmenu",class:e.contextmenuCls,style:e.style},[e._t("default")],2)},l=[];function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("7db0"),n("4160"),n("45fc"),n("b64b"),n("159b");var c={name:"VabContextmenu",provide:function(){return{$$contextmenu:this}},props:{eventType:{type:String,default:"contextmenu"},autoPlacement:{type:Boolean,default:!0},disabled:Boolean},data:function(){return{visible:!1,references:[],style:{top:0,left:0}}},computed:{clickOutsideHandler:function(){return this.visible?this.hide:function(){}},isClick:function(){return"click"===this.eventType},contextmenuCls:function(){return["vab-contextmenu"]}},watch:{visible:function(e){e?(this.$emit("show",this),document.body.addEventListener("click",this.handleBodyClick)):(this.$emit("hide",this),document.body.removeEventListener("click",this.handleBodyClick))}},mounted:function(){document.body.appendChild(this.$el),window.$$VContextmenu?window.$$VContextmenu[this.$contextmenuId]=this:window.$$VContextmenu=u({},this.$contextmenuId,this)},beforeDestroy:function(){var e=this;document.body.removeChild(this.$el),delete window.$$VContextmenu[this.$contextmenuId],this.references.forEach((function(t){t.el.removeEventListener(e.eventType,e.handleReferenceContextmenu)})),document.body.removeEventListener("click",this.handleBodyClick)},methods:{addRef:function(e){this.references.push(e),e.el.addEventListener(this.eventType,this.handleReferenceContextmenu)},handleReferenceContextmenu:function(e){var t=this;if(e.preventDefault(),!this.disabled){var n=this.references.find((function(t){return t.el.contains(e.target)}));this.$emit("contextmenu",n?n.vnode:null);var r=e.pageX,i=e.pageY;this.show(),this.$nextTick((function(){var e={top:i,left:r};if(t.autoPlacement){var n=t.$refs.contextmenu.clientWidth,o=t.$refs.contextmenu.clientHeight;o+i>=window.innerHeight&&(e.top-=o),n+r>=window.innerWidth&&(e.left-=n)}t.style={top:"".concat(e.top,"px"),left:"".concat(e.left,"px")}}))}},handleBodyClick:function(e){var t=this.$el.contains(e.target)||this.isClick&&this.references.some((function(t){return t.el.contains(e.target)}));t||(this.visible=!1)},show:function(e){var t=this;Object.keys(window.$$VContextmenu).forEach((function(e){e!==t.$contextmenuId&&window.$$VContextmenu[e].hide()})),e&&(this.style={top:"".concat(e.top,"px"),left:"".concat(e.left,"px")}),this.visible=!0},hide:function(){this.visible=!1},hideAll:function(){Object.keys(window.$$VContextmenu).forEach((function(e){window.$$VContextmenu[e].hide()}))}}},f=c;function h(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var d=h(f,s,l,!1,null,null,null),p=d.exports,g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.divider?n("li",{staticClass:"vab-contextmenu-divider"}):n("li",{class:e.classname,on:{click:e.handleClick,mouseenter:e.handleMouseenter,mouseleave:e.handleMouseleave}},[e._t("default")],2)},v=[],y={name:"VabContextmenuItem",inject:["$$contextmenu"],props:{divider:Boolean,disabled:Boolean,autoHide:{type:Boolean,default:!0}},data:function(){return{hover:!1}},computed:{classname:function(){return{"vab-contextmenu-item":!this.divider,"vab-contextmenu-item-disabled":this.disabled}}},methods:{handleMouseenter:function(e){this.disabled||(this.hover=!0,this.$emit("mouseenter",this,e))},handleMouseleave:function(e){this.disabled||(this.hover=!1,this.$emit("mouseleave",this,e))},handleClick:function(e){this.disabled||(this.$emit("click",this,e),this.autoHide&&this.$$contextmenu.hide())}}},m=y,b=h(m,g,v,!1,null,null,null),_=b.exports},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}))},cd64:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="f4a0")}({0:function(e,t){},"05cd":function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},"064b":function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"0654":function(e,t,n){(function(t){var r;(function(){"use strict";r=function(e,n,r,i){i=i||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=i.flags||{},this.memoized={},this.loaded=!1;var o,a,s,l,u,c=this;function f(e,t){var n=c._readFile(e,null,i.asyncLoad);i.asyncLoad?n.then((function(e){t(e)})):t(n)}function h(e){n=e,r&&p()}function d(e){r=e,n&&p()}function p(){for(c.rules=c._parseAFF(n),c.compoundRuleCodes={},a=0,l=c.compoundRules.length;a<l;a++){var e=c.compoundRules[a];for(s=0,u=e.length;s<u;s++)c.compoundRuleCodes[e[s]]=[]}for(a in"ONLYINCOMPOUND"in c.flags&&(c.compoundRuleCodes[c.flags.ONLYINCOMPOUND]=[]),c.dictionaryTable=c._parseDIC(r),c.compoundRuleCodes)0===c.compoundRuleCodes[a].length&&delete c.compoundRuleCodes[a];for(a=0,l=c.compoundRules.length;a<l;a++){var t=c.compoundRules[a],o="";for(s=0,u=t.length;s<u;s++){var f=t[s];f in c.compoundRuleCodes?o+="("+c.compoundRuleCodes[f].join("|")+")":o+=f}c.compoundRules[a]=new RegExp(o,"i")}c.loaded=!0,i.asyncLoad&&i.loadedCallback&&i.loadedCallback(c)}return e&&(c.dictionary=e,n&&r?p():"undefined"!==typeof window&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension?(o=i.dictionaryPath?i.dictionaryPath:"typo/dictionaries",n||f(chrome.extension.getURL(o+"/"+e+"/"+e+".aff"),h),r||f(chrome.extension.getURL(o+"/"+e+"/"+e+".dic"),d)):(o=i.dictionaryPath?i.dictionaryPath:t+"/dictionaries",n||f(o+"/"+e+"/"+e+".aff",h),r||f(o+"/"+e+"/"+e+".dic",d))),this},r.prototype={load:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);return this},_readFile:function(e,t,r){if(t=t||"utf8","undefined"!==typeof XMLHttpRequest){var i,o=new XMLHttpRequest;return o.open("GET",e,r),r&&(i=new Promise((function(e,t){o.onload=function(){200===o.status?e(o.responseText):t(o.statusText)},o.onerror=function(){t(o.statusText)}}))),o.overrideMimeType&&o.overrideMimeType("text/plain; charset="+t),o.send(null),r?i:o.responseText}var a=n(0);try{if(a.existsSync(e))return a.readFileSync(e,t);console.log("Path "+e+" does not exist.")}catch(s){return console.log(s),""}},_parseAFF:function(e){var t,n,r,i,o,a,s,l,u={};e=this._removeAffixComments(e);var c=e.split(/\r?\n/);for(o=0,s=c.length;o<s;o++){t=c[o];var f=t.split(/\s+/),h=f[0];if("PFX"==h||"SFX"==h){var d=f[1],p=f[2];r=parseInt(f[3],10);var g=[];for(a=o+1,l=o+1+r;a<l;a++){n=c[a],i=n.split(/\s+/);var v=i[2],y=i[3].split("/"),m=y[0];"0"===m&&(m="");var b=this.parseRuleCodes(y[1]),_=i[4],x={};x.add=m,b.length>0&&(x.continuationClasses=b),"."!==_&&(x.match="SFX"===h?new RegExp(_+"$"):new RegExp("^"+_)),"0"!=v&&(x.remove="SFX"===h?new RegExp(v+"$"):v),g.push(x)}u[d]={type:h,combineable:"Y"==p,entries:g},o+=r}else if("COMPOUNDRULE"===h){for(r=parseInt(f[1],10),a=o+1,l=o+1+r;a<l;a++)t=c[a],i=t.split(/\s+/),this.compoundRules.push(i[1]);o+=r}else"REP"===h?(i=t.split(/\s+/),3===i.length&&this.replacementTable.push([i[1],i[2]])):this.flags[h]=f[1]}return u},_removeAffixComments:function(e){return e=e.replace(/^\s*#.*$/gm,""),e=e.replace(/^\s\s*/m,"").replace(/\s\s*$/m,""),e=e.replace(/\n{2,}/g,"\n"),e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),e},_parseDIC:function(e){e=this._removeDicComments(e);var t=e.split(/\r?\n/),n={};function r(e,t){n.hasOwnProperty(e)||(n[e]=null),t.length>0&&(null===n[e]&&(n[e]=[]),n[e].push(t))}for(var i=1,o=t.length;i<o;i++){var a=t[i];if(a){var s=a.split("/",2),l=s[0];if(s.length>1){var u=this.parseRuleCodes(s[1]);"NEEDAFFIX"in this.flags&&-1!=u.indexOf(this.flags.NEEDAFFIX)||r(l,u);for(var c=0,f=u.length;c<f;c++){var h=u[c],d=this.rules[h];if(d)for(var p=this._applyRule(l,d),g=0,v=p.length;g<v;g++){var y=p[g];if(r(y,[]),d.combineable)for(var m=c+1;m<f;m++){var b=u[m],_=this.rules[b];if(_&&_.combineable&&d.type!=_.type)for(var x=this._applyRule(y,_),w=0,S=x.length;w<S;w++){var k=x[w];r(k,[])}}}h in this.compoundRuleCodes&&this.compoundRuleCodes[h].push(l)}}else r(l.trim(),[])}}return n},_removeDicComments:function(e){return e=e.replace(/^\t.*$/gm,""),e},parseRuleCodes:function(e){if(!e)return[];if(!("FLAG"in this.flags))return e.split("");if("long"===this.flags.FLAG){for(var t=[],n=0,r=e.length;n<r;n+=2)t.push(e.substr(n,2));return t}return"num"===this.flags.FLAG?e.split(","):void 0},_applyRule:function(e,t){for(var n=t.entries,r=[],i=0,o=n.length;i<o;i++){var a=n[i];if(!a.match||e.match(a.match)){var s=e;if(a.remove&&(s=s.replace(a.remove,"")),"SFX"===t.type?s+=a.add:s=a.add+s,r.push(s),"continuationClasses"in a)for(var l=0,u=a.continuationClasses.length;l<u;l++){var c=this.rules[a.continuationClasses[l]];c&&(r=r.concat(this._applyRule(s,c)))}}}return r},check:function(e){if(!this.loaded)throw"Dictionary not loaded.";var t=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if(this.checkExact(t))return!0;if(t.toUpperCase()===t){var n=t[0]+t.substring(1).toLowerCase();if(this.hasFlag(n,"KEEPCASE"))return!1;if(this.checkExact(n))return!0}var r=t.toLowerCase();if(r!==t){if(this.hasFlag(r,"KEEPCASE"))return!1;if(this.checkExact(r))return!0}return!1},checkExact:function(e){if(!this.loaded)throw"Dictionary not loaded.";var t,n,r=this.dictionaryTable[e];if("undefined"===typeof r){if("COMPOUNDMIN"in this.flags&&e.length>=this.flags.COMPOUNDMIN)for(t=0,n=this.compoundRules.length;t<n;t++)if(e.match(this.compoundRules[t]))return!0}else{if(null===r)return!0;if("object"===typeof r)for(t=0,n=r.length;t<n;t++)if(!this.hasFlag(e,"ONLYINCOMPOUND",r[t]))return!0}return!1},hasFlag:function(e,t,n){if(!this.loaded)throw"Dictionary not loaded.";return!(!(t in this.flags)||("undefined"===typeof n&&(n=Array.prototype.concat.apply([],this.dictionaryTable[e])),!n||-1===n.indexOf(this.flags[t])))},alphabet:"",suggest:function(e,t){if(!this.loaded)throw"Dictionary not loaded.";if(t=t||5,this.memoized.hasOwnProperty(e)){var n=this.memoized[e]["limit"];if(t<=n||this.memoized[e]["suggestions"].length<n)return this.memoized[e]["suggestions"].slice(0,t)}if(this.check(e))return[];for(var r=0,i=this.replacementTable.length;r<i;r++){var o=this.replacementTable[r];if(-1!==e.indexOf(o[0])){var a=e.replace(o[0],o[1]);if(this.check(a))return[a]}}var s=this;function l(e,t){var n,r,i,o,a,l={};if("string"==typeof e){var u=e;e={},e[u]=!0}for(var u in e)for(n=0,i=u.length+1;n<i;n++){var c=[u.substring(0,n),u.substring(n)];if(c[1]&&(a=c[0]+c[1].substring(1),t&&!s.check(a)||(a in l?l[a]+=1:l[a]=1)),c[1].length>1&&c[1][1]!==c[1][0]&&(a=c[0]+c[1][1]+c[1][0]+c[1].substring(2),t&&!s.check(a)||(a in l?l[a]+=1:l[a]=1)),c[1])for(r=0,o=s.alphabet.length;r<o;r++)s.alphabet[r]!=c[1].substring(0,1)&&(a=c[0]+s.alphabet[r]+c[1].substring(1),t&&!s.check(a)||(a in l?l[a]+=1:l[a]=1));if(c[1])for(r=0,o=s.alphabet.length;r<o;r++)a=c[0]+s.alphabet[r]+c[1],t&&!s.check(a)||(a in l?l[a]+=1:l[a]=1)}return l}function u(e){var n,r=l(e),i=l(r,!0),o=i;for(var a in r)s.check(a)&&(a in o?o[a]+=r[a]:o[a]=r[a]);var u=[];for(n in o)o.hasOwnProperty(n)&&u.push([n,o[n]]);function c(e,t){var n=e[1],r=t[1];return n<r?-1:n>r?1:t[0].localeCompare(e[0])}u.sort(c).reverse();var f=[],h="lowercase";e.toUpperCase()===e?h="uppercase":e.substr(0,1).toUpperCase()+e.substr(1).toLowerCase()===e&&(h="capitalized");var d=t;for(n=0;n<Math.min(d,u.length);n++)"uppercase"===h?u[n][0]=u[n][0].toUpperCase():"capitalized"===h&&(u[n][0]=u[n][0].substr(0,1).toUpperCase()+u[n][0].substr(1)),s.hasFlag(u[n][0],"NOSUGGEST")||-1!=f.indexOf(u[n][0])?d++:f.push(u[n][0]);return f}return s.alphabet="abcdefghijklmnopqrstuvwxyz",this.memoized[e]={suggestions:u(e),limit:t},this.memoized[e]["suggestions"]}}})(),e.exports=r}).call(this,"/")},"08ba":function(e,t,n){var r=n("d890"),i=n("064b"),o=n("3c10"),a=n("0fc1");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(c){u.forEach=o}}},"094f":function(e,t,n){const r=n("6c31"),i=n("7727"),o=n("5a9c"),a=n("155c"),s=n("f5ef"),l=n("05cd"),{merge:u,checkSanitizeDeprecation:c,escape:f}=n("322c"),{getDefaults:h,changeDefaults:d,defaults:p}=n("a8a2");function g(e,t,n){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"===typeof t){n||(n=t,t=null),t=u({},g.defaults,t||{}),c(t);const a=t.highlight;let s,l,f=0;try{s=r.lex(e,t)}catch(o){return n(o)}l=s.length;const h=function(e){if(e)return t.highlight=a,n(e);let r;try{r=i.parse(s,t)}catch(o){e=o}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return h();if(delete t.highlight,!l)return h();for(;f<s.length;f++)(function(e){"code"!==e.type?--l||h():a(e.text,e.lang,(function(t,n){return t?h(t):null==n||n===e.text?--l||h():(e.text=n,e.escaped=!0,void(--l||h()))}))})(s[f])}else try{return t=u({},g.defaults,t||{}),c(t),i.parse(r.lex(e,t),t)}catch(o){if(o.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||g.defaults).silent)return"<p>An error occurred:</p><pre>"+f(o.message+"",!0)+"</pre>";throw o}}g.options=g.setOptions=function(e){return u(g.defaults,e),d(g.defaults),g},g.getDefaults=h,g.defaults=p,g.use=function(e){const t=u({},e);if(e.renderer){const n=g.defaults.renderer||new a;for(const t in e.renderer){const r=n[t];n[t]=(...i)=>{let o=e.renderer[t].apply(n,i);return!1===o&&(o=r.apply(n,i)),o}}t.renderer=n}if(e.tokenizer){const n=g.defaults.tokenizer||new o;for(const t in e.tokenizer){const r=n[t];n[t]=(...i)=>{let o=e.tokenizer[t].apply(n,i);return!1===o&&(o=r.apply(n,i)),o}}t.tokenizer=n}g.setOptions(t)},g.Parser=i,g.parser=i.parse,g.Renderer=a,g.TextRenderer=s,g.Lexer=r,g.lexer=r.lex,g.Tokenizer=o,g.Slugger=l,g.parse=g,e.exports=g},"0a60":function(e,t){t.f=Object.getOwnPropertySymbols},"0c3c":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"0e50":function(e,t,n){},"0fc1":function(e,t,n){var r=n("1e2c"),i=n("d910"),o=n("38b9");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},1025:function(e,t,n){var r=n("3a08"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"155c":function(e,t,n){const{defaults:r}=n("a8a2"),{cleanUrl:i,escape:o}=n("322c");e.exports=class{constructor(e){this.options=e||r}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return r?'<pre><code class="'+this.options.langPrefix+o(r,!0)+'">'+(n?e:o(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:o(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(e=i(this.options.sanitize,this.options.baseUrl,e),null===e)return n;let r='<a href="'+o(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(e=i(this.options.sanitize,this.options.baseUrl,e),null===e)return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}},"18f6":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1944:function(e,t,n){var r=n("d890"),i=n("0fc1"),o=n("faa8"),a=n("e4db"),s=n("1025"),l=n("b702"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),c(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!h&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},"1b99":function(e,t,n){var r=n("d890");e.exports=r},"1bbd":function(e,t,n){"use strict";var r=n("9f67"),i=n("d910"),o=n("38b9");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},"1c8b":function(e,t,n){var r=n("d890"),i=n("aa6b").f,o=n("0fc1"),a=n("1944"),s=n("e4db"),l=n("c69d"),u=n("e8d6");e.exports=function(e,t){var n,c,f,h,d,p,g=e.target,v=e.global,y=e.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,e.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},"1ca1":function(e,t,n){var r=n("a719"),i=n("74e7"),o=n("90fb"),a=o("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"1e2c":function(e,t,n){var r=n("efe2");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"1ea7":function(e,t,n){var r=n("efe2"),i=n("90fb"),o=n("f594"),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2039:function(e,t,n){var r=n("1e2c"),i=n("efe2"),o=n("ae25");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},2118:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"21ed":function(e,t,n){(function(e){e(n("a564"))})((function(e){"use strict";function t(e){e.state.markedSelection&&e.operation((function(){u(e)}))}function n(e){e.state.markedSelection&&e.state.markedSelection.length&&e.operation((function(){s(e)}))}e.defineOption("styleSelectedText",!1,(function(r,i,o){var a=o&&o!=e.Init;i&&!a?(r.state.markedSelection=[],r.state.markedSelectionStyle="string"==typeof i?i:"CodeMirror-selectedtext",l(r),r.on("cursorActivity",t),r.on("change",n)):!i&&a&&(r.off("cursorActivity",t),r.off("change",n),s(r),r.state.markedSelection=r.state.markedSelectionStyle=null)}));var r=8,i=e.Pos,o=e.cmpPos;function a(e,t,n,a){if(0!=o(t,n))for(var s=e.state.markedSelection,l=e.state.markedSelectionStyle,u=t.line;;){var c=u==t.line?t:i(u,0),f=u+r,h=f>=n.line,d=h?n:i(f,0),p=e.markText(c,d,{className:l});if(null==a?s.push(p):s.splice(a++,0,p),h)break;u=f}}function s(e){for(var t=e.state.markedSelection,n=0;n<t.length;++n)t[n].clear();t.length=0}function l(e){s(e);for(var t=e.listSelections(),n=0;n<t.length;n++)a(e,t[n].from(),t[n].to())}function u(e){if(!e.somethingSelected())return s(e);if(e.listSelections().length>1)return l(e);var t=e.getCursor("start"),n=e.getCursor("end"),i=e.state.markedSelection;if(!i.length)return a(e,t,n);var u=i[0].find(),c=i[i.length-1].find();if(!u||!c||n.line-t.line<=r||o(t,c.to)>=0||o(n,u.from)<=0)return l(e);while(o(t,u.from)>0)i.shift().clear(),u=i[0].find();o(t,u.from)<0&&(u.to.line-t.line<r?(i.shift().clear(),a(e,t,u.to,0)):a(e,t,u.from,0));while(o(n,c.to)<0)i.pop().clear(),c=i[i.length-1].find();o(n,c.to)>0&&(n.line-c.from.line<r?(i.pop().clear(),a(e,c.from,n)):a(e,c.to,n))}}))},2732:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"27b3":function(e,t,n){var r=n("a564");r.commands.tabAndIndentMarkdownList=function(e){var t=e.listSelections(),n=t[0].head,r=e.getStateAfter(n.line),i=!1!==r.list;if(i)e.execCommand("indentMore");else if(e.options.indentWithTabs)e.execCommand("insertTab");else{var o=Array(e.options.tabSize+1).join(" ");e.replaceSelection(o)}},r.commands.shiftTabAndUnindentMarkdownList=function(e){var t=e.listSelections(),n=t[0].head,r=e.getStateAfter(n.line),i=!1!==r.list;if(i)e.execCommand("indentLess");else if(e.options.indentWithTabs)e.execCommand("insertTab");else{var o=Array(e.options.tabSize+1).join(" ");e.replaceSelection(o)}}},"27b5":function(e,t,n){var r=n("d910").f,i=n("faa8"),o=n("90fb"),a=o("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},"31e2":function(e,t,n){(function(e){e(n("a564"))})((function(e){"use strict";function t(e){var t=e.getWrapperElement();e.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:t.style.width,height:t.style.height},t.style.width="",t.style.height="auto",t.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",e.refresh()}function n(e){var t=e.getWrapperElement();t.className=t.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var n=e.state.fullScreenRestore;t.style.width=n.width,t.style.height=n.height,window.scrollTo(n.scrollLeft,n.scrollTop),e.refresh()}e.defineOption("fullScreen",!1,(function(r,i,o){o==e.Init&&(o=!1),!o!=!i&&(i?t(r):n(r))}))}))},"322c":function(e,t){const n=/[&<>"']/,r=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=e=>a[e];function l(e,t){if(t){if(n.test(e))return e.replace(r,s)}else if(i.test(e))return e.replace(o,s);return e}const u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(u,(e,t)=>(t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const f=/(^|[^\[])\^/g;function h(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=r.source||r,r=r.replace(f,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}const d=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(e,t,n){if(e){let e;try{e=decodeURIComponent(c(n)).replace(d,"").toLowerCase()}catch(r){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!p.test(n)&&(n=_(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n}const v={},y=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(e,t){v[" "+e]||(y.test(e)?v[" "+e]=e+"/":v[" "+e]=k(e,"/",!0)),e=v[" "+e];const n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(m,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(b,"$1")+t:e+t}const x={exec:function(){}};function w(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function S(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"}),r=n.split(/ \|/);let i=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function k(e,t,n){const r=e.length;if(0===r)return"";let i=0;while(i<r){const o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}function E(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,i=0;for(;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}function O(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}e.exports={escape:l,unescape:c,edit:h,cleanUrl:g,resolveUrl:_,noopTest:x,merge:w,splitCells:S,rtrim:k,findClosingBracket:E,checkSanitizeDeprecation:O}},3553:function(e,t,n){var r=n("2732");e.exports=function(e){return Object(r(e))}},3787:function(e,t,n){(function(e){e(n("a564"),n("fe5a"),n("d776"))})((function(e){"use strict";var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",(function(n,r){var i=0;function o(e){return e.code=!1,null}var a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if("`"===e.peek()){e.next();var o=e.pos;e.eatWhile("`");var a=1+e.pos-o;return n.code?a===i&&(n.code=!1):(i=a,n.code=!0),null}if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,!1!==r.gitHubSpice)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(t)&&"]("!=e.string.slice(e.start-2,e.start)&&(0==e.start||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:o},s={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in r)s[l]=r[l];return s.name="markdown",e.overlayMode(e.getMode(n,s),a)}),"markdown"),e.defineMIME("text/x-gfm","gfm")}))},"38b9":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"3a08":function(e,t,n){var r=n("d890"),i=n("e4db"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},"3c10":function(e,t,n){"use strict";var r=n("5dfd").forEach,i=n("d7e1"),o=n("ff9c"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"3da3":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},4350:function(e,t,n){var r=n("90fb");t.f=r},"45af":function(e,t,n){var r=n("da10"),i=n("d88d"),o=n("e1d6"),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4cd0":function(e,t,n){"use strict";var r=n("0654");function i(e){e=e||{},"function"===typeof e.codeMirrorInstance&&"function"===typeof e.codeMirrorInstance.defineMode?(String.prototype.includes||(String.prototype.includes=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),e.codeMirrorInstance.defineMode("spell-checker",(function(t){if(!i.aff_loading){i.aff_loading=!0;var n=new XMLHttpRequest;n.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff",!0),n.onload=function(){4===n.readyState&&200===n.status&&(i.aff_data=n.responseText,i.num_loaded++,2==i.num_loaded&&(i.typo=new r("en_US",i.aff_data,i.dic_data,{platform:"any"})))},n.send(null)}if(!i.dic_loading){i.dic_loading=!0;var o=new XMLHttpRequest;o.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic",!0),o.onload=function(){4===o.readyState&&200===o.status&&(i.dic_data=o.responseText,i.num_loaded++,2==i.num_loaded&&(i.typo=new r("en_US",i.aff_data,i.dic_data,{platform:"any"})))},o.send(null)}var a='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~ ',s={token:function(e){var t=e.peek(),n="";if(a.includes(t))return e.next(),null;while(null!=(t=e.peek())&&!a.includes(t))n+=t,e.next();return i.typo&&!i.typo.check(n)?"spell-error":null}},l=e.codeMirrorInstance.getMode(t,t.backdrop||"text/plain");return e.codeMirrorInstance.overlayMode(l,s,!0)}))):console.log("CodeMirror Spell Checker: You must provide an instance of CodeMirror via the option `codeMirrorInstance`")}i.num_loaded=0,i.aff_loading=!1,i.dic_loading=!1,i.aff_data="",i.dic_data="",i.typo,e.exports=i},"4d02":function(e,t,n){"use strict";var r=n("a564");n("7899"),n("27b3"),n("31e2"),n("fe5a"),n("d776"),n("f590"),n("21ed"),n("3787"),n("b2e0");var i=n("4cd0"),o=n("094f"),a=/Mac/.test(navigator.platform),s={toggleBold:m,toggleItalic:b,drawLink:M,toggleHeadingSmaller:S,toggleHeadingBigger:k,drawImage:D,toggleBlockquote:w,toggleOrderedList:T,toggleUnorderedList:A,toggleCodeBlock:x,togglePreview:B,toggleStrikethrough:_,toggleHeading1:E,toggleHeading2:O,toggleHeading3:C,cleanBlock:P,drawTable:I,drawHorizontalRule:L,undo:R,redo:j,toggleSideBySide:N,toggleFullScreen:y},l={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},u=function(e){for(var t in s)if(s[t]===e)return t;return null},c=function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e};function f(e){return e=a?e.replace("Ctrl","Cmd"):e.replace("Cmd","Ctrl"),e}function h(e,t,n){e=e||{};var r=document.createElement("a");return t=void 0==t||t,e.title&&t&&(r.title=p(e.title,e.action,n),a&&(r.title=r.title.replace("Ctrl","⌘"),r.title=r.title.replace("Alt","⌥"))),r.tabIndex=-1,r.className=e.className,r}function d(){var e=document.createElement("i");return e.className="separator",e.innerHTML="|",e}function p(e,t,n){var r,i=e;return t&&(r=u(t),n[r]&&(i+=" ("+f(n[r])+")")),i}function g(e,t){t=t||e.getCursor("start");var n=e.getTokenAt(t);if(!n.type)return{};for(var r,i,o=n.type.split(" "),a={},s=0;s<o.length;s++)r=o[s],"strong"===r?a.bold=!0:"variable-2"===r?(i=e.getLine(t.line),/^\s*\d+\.\s/.test(i)?a["ordered-list"]=!0:a["unordered-list"]=!0):"atom"===r?a.quote=!0:"em"===r?a.italic=!0:"quote"===r?a.quote=!0:"strikethrough"===r?a.strikethrough=!0:"comment"===r?a.code=!0:"link"===r?a.link=!0:"tag"===r?a.image=!0:r.match(/^header(\-[1-6])?$/)&&(a[r.replace("header","heading")]=!0);return a}var v="";function y(e){var t=e.codemirror;t.setOption("fullScreen",!t.getOption("fullScreen")),t.getOption("fullScreen")?(v=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=v;var n=t.getWrapperElement();/fullscreen/.test(n.previousSibling.className)?n.previousSibling.className=n.previousSibling.className.replace(/\s*fullscreen\b/,""):n.previousSibling.className+=" fullscreen";var r=e.toolbarElements.fullscreen;/active/.test(r.className)?r.className=r.className.replace(/\s*active\s*/g,""):r.className+=" active";var i=t.getWrapperElement().nextSibling;/editor-preview-active-side/.test(i.className)&&N(e)}function m(e){H(e,"bold",e.options.blockStyles.bold)}function b(e){H(e,"italic",e.options.blockStyles.italic)}function _(e){H(e,"strikethrough","~~")}function x(e){var t=e.options.blockStyles.code;function n(e){if("object"!==typeof e)throw"fencing_line() takes a 'line' object (not a line number, or line text). Got: "+typeof e+": "+e;return e.styles&&e.styles[2]&&-1!==e.styles[2].indexOf("formatting-code-block")}function r(e){return e.state.base.base||e.state.base}function i(e,t,i,o,a){i=i||e.getLineHandle(t),o=o||e.getTokenAt({line:t,ch:1}),a=a||!!i.text&&e.getTokenAt({line:t,ch:i.text.length-1});var s=o.type?o.type.split(" "):[];return a&&r(a).indentedCode?"indented":-1!==s.indexOf("comment")&&(r(o).fencedChars||r(a).fencedChars||n(i)?"fenced":"single")}function o(e,t,n,r){var i=t.line+1,o=n.line+1,a=t.line!==n.line,s=r+"\n",l="\n"+r;a&&o++,a&&0===n.ch&&(l=r+"\n",o--),F(e,!1,[s,l]),e.setSelection({line:i,ch:0},{line:o,ch:0})}var a,s,l,u=e.codemirror,c=u.getCursor("start"),f=u.getCursor("end"),h=u.getTokenAt({line:c.line,ch:c.ch||1}),d=u.getLineHandle(c.line),p=i(u,c.line,d,h);if("single"===p){var g=d.text.slice(0,c.ch).replace("`",""),v=d.text.slice(c.ch).replace("`","");u.replaceRange(g+v,{line:c.line,ch:0},{line:c.line,ch:99999999999999}),c.ch--,c!==f&&f.ch--,u.setSelection(c,f),u.focus()}else if("fenced"===p)if(c.line!==f.line||c.ch!==f.ch){for(a=c.line;a>=0;a--)if(d=u.getLineHandle(a),n(d))break;var y,m,b,_,x=u.getTokenAt({line:a,ch:1}),w=r(x).fencedChars;n(u.getLineHandle(c.line))?(y="",m=c.line):n(u.getLineHandle(c.line-1))?(y="",m=c.line-1):(y=w+"\n",m=c.line),n(u.getLineHandle(f.line))?(b="",_=f.line,0===f.ch&&(_+=1)):0!==f.ch&&n(u.getLineHandle(f.line+1))?(b="",_=f.line+1):(b=w+"\n",_=f.line+1),0===f.ch&&(_-=1),u.operation((function(){u.replaceRange(b,{line:_,ch:0},{line:_+(b?0:1),ch:0}),u.replaceRange(y,{line:m,ch:0},{line:m+(y?0:1),ch:0})})),u.setSelection({line:m+(y?1:0),ch:0},{line:_+(y?1:-1),ch:0}),u.focus()}else{var S=c.line;if(n(u.getLineHandle(c.line))&&("fenced"===i(u,c.line+1)?(a=c.line,S=c.line+1):(s=c.line,S=c.line-1)),void 0===a)for(a=S;a>=0;a--)if(d=u.getLineHandle(a),n(d))break;if(void 0===s)for(l=u.lineCount(),s=S;s<l;s++)if(d=u.getLineHandle(s),n(d))break;u.operation((function(){u.replaceRange("",{line:a,ch:0},{line:a+1,ch:0}),u.replaceRange("",{line:s-1,ch:0},{line:s,ch:0})})),u.focus()}else if("indented"===p){if(c.line!==f.line||c.ch!==f.ch)a=c.line,s=f.line,0===f.ch&&s--;else{for(a=c.line;a>=0;a--)if(d=u.getLineHandle(a),!d.text.match(/^\s*$/)&&"indented"!==i(u,a,d)){a+=1;break}for(l=u.lineCount(),s=c.line;s<l;s++)if(d=u.getLineHandle(s),!d.text.match(/^\s*$/)&&"indented"!==i(u,s,d)){s-=1;break}}var k=u.getLineHandle(s+1),E=k&&u.getTokenAt({line:s+1,ch:k.text.length-1}),O=E&&r(E).indentedCode;O&&u.replaceRange("\n",{line:s+1,ch:0});for(var C=a;C<=s;C++)u.indentLine(C,"subtract");u.focus()}else{var A=c.line===f.line&&c.ch===f.ch&&0===c.ch,T=c.line!==f.line;A||T?o(u,c,f,t):F(u,!1,["`","`"])}}function w(e){var t=e.codemirror;U(t,"quote")}function S(e){var t=e.codemirror;z(t,"smaller")}function k(e){var t=e.codemirror;z(t,"bigger")}function E(e){var t=e.codemirror;z(t,void 0,1)}function O(e){var t=e.codemirror;z(t,void 0,2)}function C(e){var t=e.codemirror;z(t,void 0,3)}function A(e){var t=e.codemirror;U(t,"unordered-list")}function T(e){var t=e.codemirror;U(t,"ordered-list")}function P(e){var t=e.codemirror;V(t)}function M(e){var t=e.codemirror,n=g(t),r=e.options,i="http://";if(r.promptURLs&&(i=prompt(r.promptTexts.link),!i))return!1;F(t,n.link,r.insertTexts.link,i)}function D(e){var t=e.codemirror,n=g(t),r=e.options,i="http://";if(r.promptURLs&&(i=prompt(r.promptTexts.image),!i))return!1;F(t,n.image,r.insertTexts.image,i)}function I(e){var t=e.codemirror,n=g(t),r=e.options;F(t,n.table,r.insertTexts.table)}function L(e){var t=e.codemirror,n=g(t),r=e.options;F(t,n.image,r.insertTexts.horizontalRule)}function R(e){var t=e.codemirror;t.undo(),t.focus()}function j(e){var t=e.codemirror;t.redo(),t.focus()}function N(e){var t=e.codemirror,n=t.getWrapperElement(),r=n.nextSibling,i=e.toolbarElements["side-by-side"],o=!1;/editor-preview-active-side/.test(r.className)?(r.className=r.className.replace(/\s*editor-preview-active-side\s*/g,""),i.className=i.className.replace(/\s*active\s*/g,""),n.className=n.className.replace(/\s*CodeMirror-sided\s*/g," ")):(setTimeout((function(){t.getOption("fullScreen")||y(e),r.className+=" editor-preview-active-side"}),1),i.className+=" active",n.className+=" CodeMirror-sided",o=!0);var a=n.lastChild;if(/editor-preview-active/.test(a.className)){a.className=a.className.replace(/\s*editor-preview-active\s*/g,"");var s=e.toolbarElements.preview,l=n.previousSibling;s.className=s.className.replace(/\s*active\s*/g,""),l.className=l.className.replace(/\s*disabled-for-preview*/g,"")}var u=function(){r.innerHTML=e.options.previewRender(e.value(),r)};t.sideBySideRenderingFunction||(t.sideBySideRenderingFunction=u),o?(r.innerHTML=e.options.previewRender(e.value(),r),t.on("update",t.sideBySideRenderingFunction)):t.off("update",t.sideBySideRenderingFunction),t.refresh()}function B(e){var t=e.codemirror,n=t.getWrapperElement(),r=n.previousSibling,i=!!e.options.toolbar&&e.toolbarElements.preview,o=n.lastChild;o&&/editor-preview/.test(o.className)||(o=document.createElement("div"),o.className="editor-preview",n.appendChild(o)),/editor-preview-active/.test(o.className)?(o.className=o.className.replace(/\s*editor-preview-active\s*/g,""),i&&(i.className=i.className.replace(/\s*active\s*/g,""),r.className=r.className.replace(/\s*disabled-for-preview*/g,""))):(setTimeout((function(){o.className+=" editor-preview-active"}),1),i&&(i.className+=" active",r.className+=" disabled-for-preview")),o.innerHTML=e.options.previewRender(e.value(),o);var a=t.getWrapperElement().nextSibling;/editor-preview-active-side/.test(a.className)&&N(e)}function F(e,t,n,r){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){var i,o=n[0],a=n[1],s=e.getCursor("start"),l=e.getCursor("end");r&&(a=a.replace("#url#",r)),t?(i=e.getLine(s.line),o=i.slice(0,s.ch),a=i.slice(s.ch),e.replaceRange(o+a,{line:s.line,ch:0})):(i=e.getSelection(),e.replaceSelection(o+i+a),s.ch+=o.length,s!==l&&(l.ch+=o.length)),e.setSelection(s,l),e.focus()}}function z(e,t,n){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var r=e.getCursor("start"),i=e.getCursor("end"),o=r.line;o<=i.line;o++)(function(r){var i=e.getLine(r),o=i.search(/[^#]/);i=void 0!==t?o<=0?"bigger"==t?"###### "+i:"# "+i:6==o&&"smaller"==t?i.substr(7):1==o&&"bigger"==t?i.substr(2):"bigger"==t?i.substr(1):"#"+i:1==n?o<=0?"# "+i:o==n?i.substr(o+1):"# "+i.substr(o+1):2==n?o<=0?"## "+i:o==n?i.substr(o+1):"## "+i.substr(o+1):o<=0?"### "+i:o==n?i.substr(o+1):"### "+i.substr(o+1),e.replaceRange(i,{line:r,ch:0},{line:r,ch:99999999999999})})(o);e.focus()}}function U(e,t){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var n=g(e),r=e.getCursor("start"),i=e.getCursor("end"),o={quote:/^(\s*)\>\s+/,"unordered-list":/^(\s*)(\*|\-|\+)\s+/,"ordered-list":/^(\s*)\d+\.\s+/},a={quote:"> ","unordered-list":"* ","ordered-list":"1. "},s=r.line;s<=i.line;s++)(function(r){var i=e.getLine(r);i=n[t]?i.replace(o[t],"$1"):a[t]+i,e.replaceRange(i,{line:r,ch:0},{line:r,ch:99999999999999})})(s);e.focus()}}function H(e,t,n,r){if(!/editor-preview-active/.test(e.codemirror.getWrapperElement().lastChild.className)){r="undefined"===typeof r?n:r;var i,o=e.codemirror,a=g(o),s=n,l=r,u=o.getCursor("start"),c=o.getCursor("end");a[t]?(i=o.getLine(u.line),s=i.slice(0,u.ch),l=i.slice(u.ch),"bold"==t?(s=s.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),l=l.replace(/(\*\*|__)/,"")):"italic"==t?(s=s.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),l=l.replace(/(\*|_)/,"")):"strikethrough"==t&&(s=s.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),l=l.replace(/(\*\*|~~)/,"")),o.replaceRange(s+l,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),"bold"==t||"strikethrough"==t?(u.ch-=2,u!==c&&(c.ch-=2)):"italic"==t&&(u.ch-=1,u!==c&&(c.ch-=1))):(i=o.getSelection(),"bold"==t?(i=i.split("**").join(""),i=i.split("__").join("")):"italic"==t?(i=i.split("*").join(""),i=i.split("_").join("")):"strikethrough"==t&&(i=i.split("~~").join("")),o.replaceSelection(s+i+l),u.ch+=n.length,c.ch=u.ch+i.length),o.setSelection(u,c),o.focus()}}function V(e){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className))for(var t,n=e.getCursor("start"),r=e.getCursor("end"),i=n.line;i<=r.line;i++)t=e.getLine(i),t=t.replace(/^[ ]*([# ]+|\*|\-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(t,{line:i,ch:0},{line:i,ch:99999999999999})}function G(e,t){for(var n in t)t.hasOwnProperty(n)&&(t[n]instanceof Array?e[n]=t[n].concat(e[n]instanceof Array?e[n]:[]):null!==t[n]&&"object"===typeof t[n]&&t[n].constructor===Object?e[n]=G(e[n]||{},t[n]):e[n]=t[n]);return e}function W(e){for(var t=1;t<arguments.length;t++)e=G(e,arguments[t]);return e}function q(e){var t=/[a-zA-Z0-9_\u0392-\u03c9\u0410-\u04F9]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g,n=e.match(t),r=0;if(null===n)return r;for(var i=0;i<n.length;i++)n[i].charCodeAt(0)>=19968?r+=n[i].length:r+=1;return r}var X={bold:{name:"bold",action:m,className:"fa fa-bold",title:"Bold",default:!0},italic:{name:"italic",action:b,className:"fa fa-italic",title:"Italic",default:!0},strikethrough:{name:"strikethrough",action:_,className:"fa fa-strikethrough",title:"Strikethrough"},heading:{name:"heading",action:S,className:"fa fa-header",title:"Heading",default:!0},"heading-smaller":{name:"heading-smaller",action:S,className:"fa fa-header fa-header-x fa-header-smaller",title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:k,className:"fa fa-header fa-header-x fa-header-bigger",title:"Bigger Heading"},"heading-1":{name:"heading-1",action:E,className:"fa fa-header fa-header-x fa-header-1",title:"Big Heading"},"heading-2":{name:"heading-2",action:O,className:"fa fa-header fa-header-x fa-header-2",title:"Medium Heading"},"heading-3":{name:"heading-3",action:C,className:"fa fa-header fa-header-x fa-header-3",title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:x,className:"fa fa-code",title:"Code"},quote:{name:"quote",action:w,className:"fa fa-quote-left",title:"Quote",default:!0},"unordered-list":{name:"unordered-list",action:A,className:"fa fa-list-ul",title:"Generic List",default:!0},"ordered-list":{name:"ordered-list",action:T,className:"fa fa-list-ol",title:"Numbered List",default:!0},"clean-block":{name:"clean-block",action:P,className:"fa fa-eraser fa-clean-block",title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:M,className:"fa fa-link",title:"Create Link",default:!0},image:{name:"image",action:D,className:"fa fa-picture-o",title:"Insert Image",default:!0},table:{name:"table",action:I,className:"fa fa-table",title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:L,className:"fa fa-minus",title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:B,className:"fa fa-eye no-disable",title:"Toggle Preview",default:!0},"side-by-side":{name:"side-by-side",action:N,className:"fa fa-columns no-disable no-mobile",title:"Toggle Side by Side",default:!0},fullscreen:{name:"fullscreen",action:y,className:"fa fa-arrows-alt no-disable no-mobile",title:"Toggle Fullscreen",default:!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://simplemde.com/markdown-guide",className:"fa fa-question-circle",title:"Markdown Guide",default:!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:R,className:"fa fa-undo no-disable",title:"Undo"},redo:{name:"redo",action:j,className:"fa fa-repeat no-disable",title:"Redo"}},Y={link:["[","](#url#)"],image:["![](","#url#)"],table:["","\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],horizontalRule:["","\n\n-----\n\n"]},K={link:"URL for the link:",image:"URL of the image:"},$={bold:"**",code:"```",italic:"*"};function Z(e){e=e||{},e.parent=this;var t=!0;if(!1===e.autoDownloadFontAwesome&&(t=!1),!0!==e.autoDownloadFontAwesome)for(var n=document.styleSheets,r=0;r<n.length;r++)n[r].href&&n[r].href.indexOf("//maxcdn.bootstrapcdn.com/font-awesome/")>-1&&(t=!1);if(t){var i=document.createElement("link");i.rel="stylesheet",i.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(i)}if(e.element)this.element=e.element;else if(null===e.element)return void console.log("SimpleMDE: Error. No element was found.");if(void 0===e.toolbar)for(var o in e.toolbar=[],X)X.hasOwnProperty(o)&&(-1!=o.indexOf("separator-")&&e.toolbar.push("|"),(!0===X[o].default||e.showIcons&&e.showIcons.constructor===Array&&-1!=e.showIcons.indexOf(o))&&e.toolbar.push(o));e.hasOwnProperty("status")||(e.status=["autosave","lines","words","cursor"]),e.previewRender||(e.previewRender=function(e){return this.parent.markdown(e)}),e.parsingConfig=W({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=W({},Y,e.insertTexts||{}),e.promptTexts=K,e.blockStyles=W({},$,e.blockStyles||{}),e.shortcuts=W({},l,e.shortcuts||{}),void 0!=e.autosave&&void 0!=e.autosave.unique_id&&""!=e.autosave.unique_id&&(e.autosave.uniqueId=e.autosave.unique_id),this.options=e,this.render(),!e.initialValue||this.options.autosave&&!0===this.options.autosave.foundSavedValue||this.value(e.initialValue)}function J(){if("object"!==typeof localStorage)return!1;try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch(e){return!1}return!0}Z.prototype.markdown=function(e){if(o){var t={};return this.options&&this.options.renderingConfig&&!1===this.options.renderingConfig.singleLineBreaks?t.breaks=!1:t.breaks=!0,this.options&&this.options.renderingConfig&&!0===this.options.renderingConfig.codeSyntaxHighlighting&&window.hljs&&(t.highlight=function(e){return window.hljs.highlightAuto(e).value}),o.setOptions(t),o(e)}},Z.prototype.render=function(e){if(e||(e=this.element||document.getElementsByTagName("textarea")[0]),!this._rendered||this._rendered!==e){this.element=e;var t,n,o=this.options,a=this,l={};for(var u in o.shortcuts)null!==o.shortcuts[u]&&null!==s[u]&&function(e){l[f(o.shortcuts[e])]=function(){s[e](a)}}(u);if(l["Enter"]="newlineAndIndentContinueMarkdownList",l["Tab"]="tabAndIndentMarkdownList",l["Shift-Tab"]="shiftTabAndUnindentMarkdownList",l["Esc"]=function(e){e.getOption("fullScreen")&&y(a)},document.addEventListener("keydown",(function(e){e=e||window.event,27==e.keyCode&&a.codemirror.getOption("fullScreen")&&y(a)}),!1),!1!==o.spellChecker?(t="spell-checker",n=o.parsingConfig,n.name="gfm",n.gitHubSpice=!1,i({codeMirrorInstance:r})):(t=o.parsingConfig,t.name="gfm",t.gitHubSpice=!1),this.codemirror=r.fromTextArea(e,{mode:t,backdrop:n,theme:"paper",tabSize:void 0!=o.tabSize?o.tabSize:2,indentUnit:void 0!=o.tabSize?o.tabSize:2,indentWithTabs:!1!==o.indentWithTabs,lineNumbers:!1,autofocus:!0===o.autofocus,extraKeys:l,lineWrapping:!1!==o.lineWrapping,allowDropFileTypes:["text/plain"],placeholder:o.placeholder||e.getAttribute("placeholder")||"",styleSelectedText:void 0==o.styleSelectedText||o.styleSelectedText}),!0===o.forceSync){var c=this.codemirror;c.on("change",(function(){c.save()}))}this.gui={},!1!==o.toolbar&&(this.gui.toolbar=this.createToolbar()),!1!==o.status&&(this.gui.statusbar=this.createStatusbar()),void 0!=o.autosave&&!0===o.autosave.enabled&&this.autosave(),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element;var h=this.codemirror;setTimeout(function(){h.refresh()}.bind(h),0)}},Z.prototype.autosave=function(){if(J()){var e=this;if(void 0==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId)return void console.log("SimpleMDE: You must set a uniqueId to use the autosave feature");null!=e.element.form&&void 0!=e.element.form&&e.element.form.addEventListener("submit",(function(){localStorage.removeItem("smde_"+e.options.autosave.uniqueId)})),!0!==this.options.autosave.loaded&&("string"==typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&""!=localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0),localStorage.setItem("smde_"+this.options.autosave.uniqueId,e.value());var t=document.getElementById("autosaved");if(null!=t&&void 0!=t&&""!=t){var n=new Date,r=n.getHours(),i=n.getMinutes(),o="am",a=r;a>=12&&(a=r-12,o="pm"),0==a&&(a=12),i=i<10?"0"+i:i,t.innerHTML="Autosaved: "+a+":"+i+" "+o}this.autosaveTimeoutId=setTimeout((function(){e.autosave()}),this.options.autosave.delay||1e4)}else console.log("SimpleMDE: localStorage not available, cannot autosave")},Z.prototype.clearAutosavedValue=function(){if(J()){if(void 0==this.options.autosave||void 0==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId)return void console.log("SimpleMDE: You must set a uniqueId to clear the autosave value");localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("SimpleMDE: localStorage not available, cannot autosave")},Z.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;n&&/editor-preview-side/.test(n.className)||(n=document.createElement("div"),n.className="editor-preview-side",t.parentNode.insertBefore(n,t.nextSibling));var r=!1,i=!1;return e.on("scroll",(function(e){if(r)r=!1;else{i=!0;var t=e.getScrollInfo().height-e.getScrollInfo().clientHeight,o=parseFloat(e.getScrollInfo().top)/t,a=(n.scrollHeight-n.clientHeight)*o;n.scrollTop=a}})),n.onscroll=function(){if(i)i=!1;else{r=!0;var t=n.scrollHeight-n.clientHeight,o=parseFloat(n.scrollTop)/t,a=(e.getScrollInfo().height-e.getScrollInfo().clientHeight)*o;e.scrollTo(0,a)}},n},Z.prototype.createToolbar=function(e){if(e=e||this.options.toolbar,e&&0!==e.length){var t;for(t=0;t<e.length;t++)void 0!=X[e[t]]&&(e[t]=X[e[t]]);var n=document.createElement("div");n.className="editor-toolbar";var r=this,i={};for(r.toolbar=e,t=0;t<e.length;t++)if(("guide"!=e[t].name||!1!==r.options.toolbarGuideIcon)&&(!r.options.hideIcons||-1==r.options.hideIcons.indexOf(e[t].name))&&("fullscreen"!=e[t].name&&"side-by-side"!=e[t].name||!c())){if("|"===e[t]){for(var o=!1,a=t+1;a<e.length;a++)"|"===e[a]||r.options.hideIcons&&-1!=r.options.hideIcons.indexOf(e[a].name)||(o=!0);if(!o)continue}(function(e){var t;t="|"===e?d():h(e,r.options.toolbarTips,r.options.shortcuts),e.action&&("function"===typeof e.action?t.onclick=function(t){t.preventDefault(),e.action(r)}:"string"===typeof e.action&&(t.href=e.action,t.target="_blank")),i[e.name||e]=t,n.appendChild(t)})(e[t])}r.toolbarElements=i;var s=this.codemirror;s.on("cursorActivity",(function(){var e=g(s);for(var t in i)(function(t){var n=i[t];e[t]?n.className+=" active":"fullscreen"!=t&&"side-by-side"!=t&&(n.className=n.className.replace(/\s*active\s*/g,""))})(t)}));var l=s.getWrapperElement();return l.parentNode.insertBefore(n,l),n}},Z.prototype.createStatusbar=function(e){e=e||this.options.status;var t=this.options,n=this.codemirror;if(e&&0!==e.length){var r,i,o,a=[];for(r=0;r<e.length;r++)if(i=void 0,o=void 0,"object"===typeof e[r])a.push({className:e[r].className,defaultValue:e[r].defaultValue,onUpdate:e[r].onUpdate});else{var s=e[r];"words"===s?(o=function(e){e.innerHTML=q(n.getValue())},i=function(e){e.innerHTML=q(n.getValue())}):"lines"===s?(o=function(e){e.innerHTML=n.lineCount()},i=function(e){e.innerHTML=n.lineCount()}):"cursor"===s?(o=function(e){e.innerHTML="0:0"},i=function(e){var t=n.getCursor();e.innerHTML=t.line+":"+t.ch}):"autosave"===s&&(o=function(e){void 0!=t.autosave&&!0===t.autosave.enabled&&e.setAttribute("id","autosaved")}),a.push({className:s,defaultValue:o,onUpdate:i})}var l=document.createElement("div");for(l.className="editor-statusbar",r=0;r<a.length;r++){var u=a[r],c=document.createElement("span");c.className=u.className,"function"===typeof u.defaultValue&&u.defaultValue(c),"function"===typeof u.onUpdate&&this.codemirror.on("update",function(e,t){return function(){t.onUpdate(e)}}(c,u)),l.appendChild(c)}var f=this.codemirror.getWrapperElement();return f.parentNode.insertBefore(l,f.nextSibling),l}},Z.prototype.value=function(e){return void 0===e?this.codemirror.getValue():(this.codemirror.getDoc().setValue(e),this)},Z.toggleBold=m,Z.toggleItalic=b,Z.toggleStrikethrough=_,Z.toggleBlockquote=w,Z.toggleHeadingSmaller=S,Z.toggleHeadingBigger=k,Z.toggleHeading1=E,Z.toggleHeading2=O,Z.toggleHeading3=C,Z.toggleCodeBlock=x,Z.toggleUnorderedList=A,Z.toggleOrderedList=T,Z.cleanBlock=P,Z.drawLink=M,Z.drawImage=D,Z.drawTable=I,Z.drawHorizontalRule=L,Z.undo=R,Z.redo=j,Z.togglePreview=B,Z.toggleSideBySide=N,Z.toggleFullScreen=y,Z.prototype.toggleBold=function(){m(this)},Z.prototype.toggleItalic=function(){b(this)},Z.prototype.toggleStrikethrough=function(){_(this)},Z.prototype.toggleBlockquote=function(){w(this)},Z.prototype.toggleHeadingSmaller=function(){S(this)},Z.prototype.toggleHeadingBigger=function(){k(this)},Z.prototype.toggleHeading1=function(){E(this)},Z.prototype.toggleHeading2=function(){O(this)},Z.prototype.toggleHeading3=function(){C(this)},Z.prototype.toggleCodeBlock=function(){x(this)},Z.prototype.toggleUnorderedList=function(){A(this)},Z.prototype.toggleOrderedList=function(){T(this)},Z.prototype.cleanBlock=function(){P(this)},Z.prototype.drawLink=function(){M(this)},Z.prototype.drawImage=function(){D(this)},Z.prototype.drawTable=function(){I(this)},Z.prototype.drawHorizontalRule=function(){L(this)},Z.prototype.undo=function(){R(this)},Z.prototype.redo=function(){j(this)},Z.prototype.togglePreview=function(){B(this)},Z.prototype.toggleSideBySide=function(){N(this)},Z.prototype.toggleFullScreen=function(){y(this)},Z.prototype.isPreviewActive=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.lastChild;return/editor-preview-active/.test(n.className)},Z.prototype.isSideBySideActive=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;return/editor-preview-active-side/.test(n.className)},Z.prototype.isFullscreenActive=function(){var e=this.codemirror;return e.getOption("fullScreen")},Z.prototype.getState=function(){var e=this.codemirror;return g(e)},Z.prototype.toTextArea=function(){var e=this.codemirror,t=e.getWrapperElement();t.parentNode&&(this.gui.toolbar&&t.parentNode.removeChild(this.gui.toolbar),this.gui.statusbar&&t.parentNode.removeChild(this.gui.statusbar),this.gui.sideBySide&&t.parentNode.removeChild(this.gui.sideBySide)),e.toTextArea(),this.autosaveTimeoutId&&(clearTimeout(this.autosaveTimeoutId),this.autosaveTimeoutId=void 0,this.clearAutosavedValue())},e.exports=Z},"4fda":function(e,t,n){var r=n("6d7a");e.exports=r("navigator","userAgent")||""},"508f":function(e,t,n){},"5a9c":function(e,t,n){const{defaults:r}=n("a8a2"),{rtrim:i,splitCells:o,escape:a,findClosingBracket:s}=n("322c");function l(e,t,n){const r=t.href,i=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:e[1]}:{type:"image",raw:n,text:a(e[1]),href:r,title:i}}e.exports=class{constructor(e){this.options=e||r}space(e){const t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}code(e,t){const n=this.rules.block.code.exec(e);if(n){const e=t[t.length-1];if(e&&"paragraph"===e.type)return t.pop(),e.text+="\n"+n[0].trimRight(),e.raw+="\n"+n[0],e;{const e=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:i(e,"\n")}}}}fences(e){const t=this.rules.block.fences.exec(e);if(t)return{type:"code",raw:t[0],lang:t[2]?t[2].trim():t[2],text:t[3]||""}}heading(e){const t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}}nptable(e){const t=this.rules.block.nptable.exec(e);if(t){const e={type:"table",header:o(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(e.header.length===e.align.length){let t,n=e.align.length;for(t=0;t<n;t++)/^ *-+: *$/.test(e.align[t])?e.align[t]="right":/^ *:-+: *$/.test(e.align[t])?e.align[t]="center":/^ *:-+ *$/.test(e.align[t])?e.align[t]="left":e.align[t]=null;for(n=e.cells.length,t=0;t<n;t++)e.cells[t]=o(e.cells[t],e.header.length);return e}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:e}}}list(e){const t=this.rules.block.list.exec(e);if(t){let e=t[0];const n=t[2],r=n.length>1,i={type:"list",raw:e,ordered:r,start:r?+n:"",loose:!1,items:[]},o=t[0].match(this.rules.block.item);let a,s,l,u,c,f,h,d=!1;const p=o.length;for(let t=0;t<p;t++)a=o[t],e=a,s=a.length,a=a.replace(/^ *([*+-]|\d+\.) */,""),~a.indexOf("\n ")&&(s-=a.length,a=this.options.pedantic?a.replace(/^ {1,4}/gm,""):a.replace(new RegExp("^ {1,"+s+"}","gm"),"")),t!==p-1&&(l=this.rules.block.bullet.exec(o[t+1])[0],(n.length>1?1===l.length:l.length>1||this.options.smartLists&&l!==n)&&(u=o.slice(t+1).join("\n"),i.raw=i.raw.substring(0,i.raw.length-u.length),t=p-1)),c=d||/\n\n(?!\s*$)/.test(a),t!==p-1&&(d="\n"===a.charAt(a.length-1),c||(c=d)),c&&(i.loose=!0),f=/^\[[ xX]\] /.test(a),h=void 0,f&&(h=" "!==a[1],a=a.replace(/^\[[ xX]\] +/,"")),i.items.push({raw:e,task:f,checked:h,loose:c,text:a});return i}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):a(t[0]):t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));const e=t[1].toLowerCase().replace(/\s+/g," ");return{tag:e,raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:o(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r=e.align.length;for(n=0;n<r;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(r=e.cells.length,n=0;n<r;n++)e.cells[n]=o(e.cells[n].replace(/^ *\| *| *\| *$/g,""),e.header.length);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:a(t[1])}}tag(e,t,n){const r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):a(r[0]):r[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=s(t[2],"()");if(e>-1){const n=0===t[0].indexOf("!")?5:4,r=n+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e?(n=e[1],r=e[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";n=n.trim().replace(/^<([\s\S]*)>$/,"$1");const i=l(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0]);return i}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}const r=l(n,e,n[0]);return r}}strong(e){const t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}}em(e){const t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}}codespan(e){const t=this.rules.inline.code.exec(e);if(t)return{type:"codespan",raw:t[0],text:a(t[2].trim(),!0)}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=a(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=a(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=a(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=a(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t,n){const r=this.rules.inline.text.exec(e);if(r){let e;return e=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):a(r[0]):r[0]:a(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}}},"5dfd":function(e,t,n){var r=n("e349"),i=n("692f"),o=n("3553"),a=n("d88d"),s=n("1ca1"),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,f=6==e,h=5==e||f;return function(d,p,g,v){for(var y,m,b=o(d),_=i(b),x=r(p,g,3),w=a(_.length),S=0,k=v||s,E=t?k(d,w):n?k(d,0):void 0;w>S;S++)if((h||S in _)&&(y=_[S],m=x(y,S,b),e))if(t)E[S]=m;else if(m)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l.call(E,y)}else if(c)return!1;return f?-1:u||c?c:E}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},"604f":function(e,t,n){var r=n("d890"),i=n("1025"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"692f":function(e,t,n){var r=n("efe2"),i=n("2118"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"6c31":function(e,t,n){const r=n("5a9c"),{defaults:i}=n("a8a2"),{block:o,inline:a}=n("ac30");function s(e){return e.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function l(e){let t,n,r="";const i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}e.exports=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.options.tokenizer=this.options.tokenizer||new r,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;const t={block:o.normal,inline:a.normal};this.options.pedantic?(t.block=o.pedantic,t.inline=a.pedantic):this.options.gfm&&(t.block=o.gfm,this.options.breaks?t.inline=a.breaks:t.inline=a.gfm),this.tokenizer.rules=t}static get rules(){return{block:o,inline:a}}static lex(t,n){const r=new e(n);return r.lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}blockTokens(e,t=[],n=!0){let r,i,o;e=e.replace(/^ +$/gm,"");while(e)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i<o;i++)r.items[i].tokens=this.blockTokens(r.items[i].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}return t}inline(e){let t,n,r,i,o,a;const s=e.length;for(t=0;t<s;t++)switch(a=e[t],a.type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},i=a.header.length,n=0;n<i;n++)a.tokens.header[n]=[],this.inlineTokens(a.header[n],a.tokens.header[n]);for(i=a.cells.length,n=0;n<i;n++)for(o=a.cells[n],a.tokens.cells[n]=[],r=0;r<o.length;r++)a.tokens.cells[n][r]=[],this.inlineTokens(o[r],a.tokens.cells[n][r]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(i=a.items.length,n=0;n<i;n++)this.inline(a.items[n].tokens);break;default:}return e}inlineTokens(e,t=[],n=!1,r=!1){let i;while(e)if(i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e,n,r))e=e.substring(i.raw.length),n=i.inLink,r=i.inRawBlock,t.push(i);else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.strong(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.em(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.autolink(e,l))e=e.substring(i.raw.length),t.push(i);else if(n||!(i=this.tokenizer.url(e,l))){if(i=this.tokenizer.inlineText(e,r,s))e=e.substring(i.raw.length),t.push(i);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(i.raw.length),t.push(i);return t}}},"6d28":function(e,t,n){var r=n("9b9d"),i=n("3a08");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"6d51":function(e,t,n){var r=n("1b99"),i=n("faa8"),o=n("4350"),a=n("d910").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},"6d60":function(e,t,n){var r,i=n("857c"),o=n("dbe8"),a=n("18f6"),s=n("d5a8"),l=n("6fdf"),u=n("ae25"),c=n("7db2"),f=">",h="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},y=function(e){return h+p+f+e+h+"/"+p+f},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?m(r):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[d]=i(e),n=new v,v[d]=null,n[g]=e):n=_(),void 0===t?n:o(n,t)}},"6d7a":function(e,t,n){var r=n("1b99"),i=n("d890"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},"6d86":function(e,t,n){(function(e){e(n("a564"))})((function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}}))},"6fdf":function(e,t,n){var r=n("6d7a");e.exports=r("document","documentElement")},"74cb":function(e,t,n){var r=n("c54b");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"74e7":function(e,t,n){var r=n("2118");e.exports=Array.isArray||function(e){return"Array"==r(e)}},7727:function(e,t,n){const r=n("155c"),i=n("f5ef"),o=n("05cd"),{defaults:a}=n("a8a2"),{unescape:s}=n("322c");e.exports=class e{constructor(e){this.options=e||a,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new i,this.slugger=new o}static parse(t,n){const r=new e(n);return r.parse(t)}parse(e,t=!0){let n,r,i,o,a,l,u,c,f,h,d,p,g,v,y,m,b,_,x="";const w=e.length;for(n=0;n<w;n++)switch(h=e[n],h.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(h.tokens),h.depth,s(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(c="",u="",o=h.header.length,r=0;r<o;r++)u+=this.renderer.tablecell(this.parseInline(h.tokens.header[r]),{header:!0,align:h.align[r]});for(c+=this.renderer.tablerow(u),f="",o=h.cells.length,r=0;r<o;r++){for(l=h.tokens.cells[r],u="",a=l.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(l[i]),{header:!1,align:h.align[i]});f+=this.renderer.tablerow(u)}x+=this.renderer.table(c,f);continue;case"blockquote":f=this.parse(h.tokens),x+=this.renderer.blockquote(f);continue;case"list":for(d=h.ordered,p=h.start,g=h.loose,o=h.items.length,f="",r=0;r<o;r++)y=h.items[r],m=y.checked,b=y.task,v="",y.task&&(_=this.renderer.checkbox(m),g?"text"===y.tokens[0].type?(y.tokens[0].text=_+" "+y.tokens[0].text,y.tokens[0].tokens&&y.tokens[0].tokens.length>0&&"text"===y.tokens[0].tokens[0].type&&(y.tokens[0].tokens[0].text=_+" "+y.tokens[0].tokens[0].text)):y.tokens.unshift({type:"text",text:_}):v+=_),v+=this.parse(y.tokens,g),f+=this.renderer.listitem(v,b,m);x+=this.renderer.list(f,d,p);continue;case"html":x+=this.renderer.html(h.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":f=h.tokens?this.parseInline(h.tokens):h.text;while(n+1<w&&"text"===e[n+1].type)h=e[++n],f+="\n"+(h.tokens?this.parseInline(h.tokens):h.text);x+=t?this.renderer.paragraph(f):f;continue;default:{const e='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,i="";const o=e.length;for(n=0;n<o;n++)switch(r=e[n],r.type){case"escape":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;case"text":i+=t.text(r.text);break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return i}}},7899:function(e,t,n){(function(e){e(n("a564"))})((function(e){"use strict";var t=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;function i(e,n){var r=n.line,i=0,o=0,a=t.exec(e.getLine(r)),s=a[1];do{i+=1;var l=r+i,u=e.getLine(l),c=t.exec(u);if(c){var f=c[1],h=parseInt(a[3],10)+i-o,d=parseInt(c[3],10),p=d;if(s!==f||isNaN(d)){if(s.length>f.length)return;if(s.length<f.length&&1===i)return;o+=1}else h===d&&(p=d+1),h>d&&(p=h+1),e.replaceRange(u.replace(t,f+p+c[4]+c[5]),{line:l,ch:0},{line:l,ch:u.length})}}while(c)}e.commands.newlineAndIndentContinueMarkdownList=function(o){if(o.getOption("disableInput"))return e.Pass;for(var a=o.listSelections(),s=[],l=0;l<a.length;l++){var u=a[l].head,c=o.getStateAfter(u.line),f=e.innerMode(o.getMode(),c);if("markdown"!==f.mode.name)return void o.execCommand("newlineAndIndent");c=f.state;var h=!1!==c.list,d=0!==c.quote,p=o.getLine(u.line),g=t.exec(p),v=/^\s*$/.test(p.slice(0,u.ch));if(!a[l].empty()||!h&&!d||!g||v)return void o.execCommand("newlineAndIndent");if(n.test(p)){var y=d&&/>\s*$/.test(p),m=!/>\s*$/.test(p);(y||m)&&o.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}),s[l]="\n"}else{var b=g[1],_=g[5],x=!(r.test(g[2])||g[2].indexOf(">")>=0),w=x?parseInt(g[3],10)+1+g[4]:g[2].replace("x"," ");s[l]="\n"+b+w+_,x&&i(o,u)}}o.replaceSelections(s)}}))},"7db2":function(e,t,n){var r=n("6d28"),i=n("7e8b"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},"7e8b":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},"857c":function(e,t,n){var r=n("a719");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"8d44":function(e,t,n){var r=n("6d7a"),i=n("b338"),o=n("0a60"),a=n("857c");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"90fb":function(e,t,n){var r=n("d890"),i=n("6d28"),o=n("faa8"),a=n("7e8b"),s=n("c54b"),l=n("74cb"),u=i("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},"9b9d":function(e,t){e.exports=!1},"9edd":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"9f67":function(e,t,n){var r=n("a719");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},a564:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),u=l&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),f=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),v=/Android/.test(e),y=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),m=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),_=/win/i.test(t),x=f&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(f=!1,l=!0);var w=m&&(u||f&&(null==x||x<12.11)),S=n||a&&s>=9;function k(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var E,O=function(e,t){var n=e.className,r=k(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function A(e,t){return C(e).appendChild(t)}function T(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function P(e,t,n,r){var i=T(e,t,n,r);return i.setAttribute("role","presentation"),i}function M(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function D(){var e;try{e=document.activeElement}catch(t){e=document.body||null}while(e&&e.shadowRoot&&e.shadowRoot.activeElement)e=e.shadowRoot.activeElement;return e}function I(e,t){var n=e.className;k(t).test(n)||(e.className+=(n?" ":"")+t)}function L(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!k(n[r]).test(t)&&(t+=" "+n[r]);return t}E=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var R=function(e){e.select()};function j(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function N(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function B(e,t,n,r,i){null==t&&(t=e.search(/[^\s\u00a0]/),-1==t&&(t=e.length));for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?R=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(R=function(e){try{e.select()}catch(t){}});var F=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};function z(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}F.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},F.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var U=30,H={toString:function(){return"CodeMirror.Pass"}},V={scroll:!1},G={origin:"*mouse"},W={origin:"+move"};function q(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var X=[""];function Y(e){while(X.length<=e)X.push(K(X)+" ");return X[e]}function K(e){return e[e.length-1]}function $(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Z(e,t,n){var r=0,i=n(t);while(r<e.length&&n(e[r])<=i)r++;e.splice(r,0,t)}function J(){}function Q(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),t&&N(t,n),n}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\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 oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){while((n<0?t>0:t<e.length)&&oe(e.charAt(t)))t+=n;return t}function se(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function le(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ue=null;function ce(e,t,n){var r;ue=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ue=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ue=i)}return null!=r?r:ue}var fe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.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(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var u="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var c=e.length,f=[],h=0;h<c;++h)f.push(n(e.charCodeAt(h)));for(var d=0,p=u;d<c;++d){var g=f[d];"m"==g?f[d]=p:p=g}for(var v=0,y=u;v<c;++v){var m=f[v];"1"==m&&"r"==y?f[v]="n":o.test(m)&&(y=m,"r"==m&&(f[v]="R"))}for(var b=1,_=f[0];b<c-1;++b){var x=f[b];"+"==x&&"1"==_&&"1"==f[b+1]?f[b]="1":","!=x||_!=f[b+1]||"1"!=_&&"n"!=_||(f[b]=_),_=x}for(var w=0;w<c;++w){var S=f[w];if(","==S)f[w]="N";else if("%"==S){var k=void 0;for(k=w+1;k<c&&"%"==f[k];++k);for(var E=w&&"!"==f[w-1]||k<c&&"1"==f[k]?"1":"N",O=w;O<k;++O)f[O]=E;w=k-1}}for(var C=0,A=u;C<c;++C){var T=f[C];"L"==A&&"1"==T?f[C]="L":o.test(T)&&(A=T)}for(var P=0;P<c;++P)if(i.test(f[P])){var M=void 0;for(M=P+1;M<c&&i.test(f[M]);++M);for(var D="L"==(P?f[P-1]:u),I="L"==(M<c?f[M]:u),L=D==I?D?"L":"R":u,R=P;R<M;++R)f[R]=L;P=M-1}for(var j,N=[],B=0;B<c;)if(a.test(f[B])){var F=B;for(++B;B<c&&a.test(f[B]);++B);N.push(new l(0,F,B))}else{var z=B,U=N.length,H="rtl"==t?1:0;for(++B;B<c&&"L"!=f[B];++B);for(var V=z;V<B;)if(s.test(f[V])){z<V&&(N.splice(U,0,new l(1,z,V)),U+=H);var G=V;for(++V;V<B&&s.test(f[V]);++V);N.splice(U,0,new l(2,G,V)),U+=H,z=V}else++V;z<B&&N.splice(U,0,new l(1,z,B))}return"ltr"==t&&(1==N[0].level&&(j=e.match(/^\s+/))&&(N[0].from=j[0].length,N.unshift(new l(0,0,j[0].length))),1==K(N).level&&(j=e.match(/\s+$/))&&(K(N).to-=j[0].length,N.push(new l(0,c-j[0].length,c)))),"rtl"==t?N.reverse():N}}();function he(e,t){var n=e.order;return null==n&&(n=e.order=fe(e.text,t)),n}var de=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||de).concat(n)}};function ge(e,t){return e._handlers&&e._handlers[t]||de}function ve(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=z(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ye(e,t){var n=ge(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ye(e,n||t.type,e,t),ke(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==z(n,t[r])&&n.push(t[r])}function _e(e,t){return ge(e,t).length>0}function xe(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){ve(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Se(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ke(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ee(e){we(e),Se(e)}function Oe(e){return e.target||e.srcElement}function Ce(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),m&&e.ctrlKey&&1==t&&(t=3),t}var Ae,Te,Pe=function(){if(a&&s<9)return!1;var e=T("div");return"draggable"in e||"dragDrop"in e}();function Me(e){if(null==Ae){var t=T("span","");A(e,T("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ae=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Ae?T("span",""):T("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function De(e){if(null!=Te)return Te;var t=A(e,document.createTextNode("AخA")),n=E(t,0,1).getBoundingClientRect(),r=E(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(Te=r.right-n.right<3)}var Ie=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Le=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Re=function(){var e=T("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),je=null;function Ne(e){if(null!=je)return je;var t=A(e,T("span","x")),n=t.getBoundingClientRect(),r=E(t,0,1).getBoundingClientRect();return je=Math.abs(n.left-r.left)>1}var Be={},Fe={};function ze(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Be[e]=t}function Ue(e,t){Fe[e]=t}function He(e){if("string"==typeof e&&Fe.hasOwnProperty(e))e=Fe[e];else if(e&&"string"==typeof e.name&&Fe.hasOwnProperty(e.name)){var t=Fe[e.name];"string"==typeof t&&(t={name:t}),e=Q(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return He("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return He("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ve(e,t){t=He(t);var n=Be[t.name];if(!n)return Ve(e,"text/plain");var r=n(e,t);if(Ge.hasOwnProperty(t.name)){var i=Ge[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ge={};function We(e,t){var n=Ge.hasOwnProperty(e)?Ge[e]:Ge[e]={};N(t,n)}function qe(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Xe(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function Ye(e,t,n){return!e.startState||e.startState(t,n)}var Ke=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function $e(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Ze(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function Je(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Qe(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function et(e){if(null==e.parent)return null;for(var t=e.parent,n=z(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;;++i){if(r.children[i]==t)break;n+=r.children[i].chunkSize()}return n+t.first}function tt(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return n+a}function nt(e,t){return t>=e.first&&t<e.first+e.size}function rt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function it(e,t,n){if(void 0===n&&(n=null),!(this instanceof it))return new it(e,t,n);this.line=e,this.ch=t,this.sticky=n}function ot(e,t){return e.line-t.line||e.ch-t.ch}function at(e,t){return e.sticky==t.sticky&&0==ot(e,t)}function st(e){return it(e.line,e.ch)}function lt(e,t){return ot(e,t)<0?t:e}function ut(e,t){return ot(e,t)<0?e:t}function ct(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ft(e,t){if(t.line<e.first)return it(e.first,0);var n=e.first+e.size-1;return t.line>n?it(n,$e(e,n).text.length):ht(t,$e(e,t.line).text.length)}function ht(e,t){var n=e.ch;return null==n||n>t?it(e.line,t):n<0?it(e.line,0):e}function dt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=ft(e,t[r]);return n}Ke.prototype.eol=function(){return this.pos>=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ke.prototype.eat=function(e){var t,n=this.string.charAt(this.pos);if(t="string"==typeof e?n==e:n&&(e.test?e.test(n):e(n)),t)return++this.pos,n},Ke.prototype.eatWhile=function(e){var t=this.pos;while(this.eat(e));return this.pos>t},Ke.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ke.prototype.backUp=function(e){this.pos-=e},Ke.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=B(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?B(this.string,this.lineStart,this.tabSize):0)},Ke.prototype.indentation=function(){return B(this.string,null,this.tabSize)-(this.lineStart?B(this.string,this.lineStart,this.tabSize):0)},Ke.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ke.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ke.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var pt=function(e,t){this.state=e,this.lookAhead=t},gt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function vt(e,t,n,r){var i=[e.state.modeGen],o={};Et(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,u=0;n.state=!0,Et(e,t.text,s.mode,n,(function(e,t){var n=l;while(u<e){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function yt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=mt(e,et(t)),i=t.text.length>e.options.maxHighlightLength&&qe(e.doc.mode,r.state),o=vt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function mt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new gt(r,!0,t);var o=Ot(e,t,n),a=o>r.first&&$e(r,o-1).stateAfter,s=a?gt.fromSaved(r,a,o):new gt(r,Ye(r.mode),o);return r.iter(o,t,(function(n){bt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function bt(e,t,n,r){var i=e.doc.mode,o=new Ke(t,e.options.tabSize,n);o.start=o.pos=r||0,""==t&&_t(i,n.state);while(!o.eol())xt(i,o,n.state),o.start=o.pos}function _t(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Xe(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function xt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Xe(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}gt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},gt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},gt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gt.fromSaved=function(e,t,n){return t instanceof pt?new gt(e,qe(e.mode,t.state),n,t.lookAhead):new gt(e,qe(e.mode,t),n)},gt.prototype.save=function(e){var t=!1!==e?qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pt(t,this.maxLookAhead):t};var wt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function St(e,t,n,r){var i,o=e.doc,a=o.mode;t=ft(o,t);var s,l=$e(o,t.line),u=mt(e,t.line,n),c=new Ke(l.text,e.options.tabSize,u);r&&(s=[]);while((r||c.pos<t.ch)&&!c.eol())c.start=c.pos,i=xt(a,c,u.state),r&&s.push(new wt(c,i,qe(o.mode,u.state)));return r?s:new wt(c,i,u.state)}function kt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Et(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,u=0,c=null,f=new Ke(t,e.options.tabSize,r),h=e.options.addModeClass&&[null];""==t&&kt(_t(n,r.state),o);while(!f.eol()){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&bt(e,t,r,f.pos),f.pos=t.length,l=null):l=kt(xt(n,f,r.state,h),o),h){var d=h[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!s||c!=l){while(u<f.start)u=Math.min(f.start,u+5e3),i(u,c);c=l}f.start=f.pos}while(u<f.pos){var p=Math.min(f.pos,u+5e3);i(p,c),u=p}}function Ot(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=$e(o,s-1),u=l.stateAfter;if(u&&(!n||s+(u instanceof pt?u.lookAhead:0)<=o.modeFrontier))return s;var c=B(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}function Ct(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=$e(e,r).stateAfter;if(i&&(!(i instanceof pt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var At=!1,Tt=!1;function Pt(){At=!0}function Mt(){Tt=!0}function Dt(e,t,n){this.marker=e,this.from=t,this.to=n}function It(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Lt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function Rt(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function jt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Dt(a,o.from,l?null:o.to))}}return r}function Nt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Dt(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Bt(e,t){if(t.full)return null;var n=nt(e,t.from.line)&&$e(e,t.from.line).markedSpans,r=nt(e,t.to.line)&&$e(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==ot(t.from,t.to),s=jt(n,i,a),l=Nt(r,o,a),u=1==t.text.length,c=K(t.text).length+(u?i:0);if(s)for(var f=0;f<s.length;++f){var h=s[f];if(null==h.to){var d=It(l,h.marker);d?u&&(h.to=null==d.to?null:d.to+c):h.to=i}}if(l)for(var p=0;p<l.length;++p){var g=l[p];if(null!=g.to&&(g.to+=c),null==g.from){var v=It(s,g.marker);v||(g.from=c,u&&(s||(s=[])).push(g))}else g.from+=c,u&&(s||(s=[])).push(g)}s&&(s=Ft(s)),l&&l!=s&&(l=Ft(l));var y=[s];if(!u){var m,b=t.text.length-2;if(b>0&&s)for(var _=0;_<s.length;++_)null==s[_].to&&(m||(m=[])).push(new Dt(s[_].marker,null,null));for(var x=0;x<b;++x)y.push(m);y.push(l)}return y}function Ft(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function zt(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=z(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var u=i[l];if(!(ot(u.to,s.from)<0||ot(u.from,s.to)>0)){var c=[l,1],f=ot(u.from,s.from),h=ot(u.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.length-3}}return i}function Ut(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Ht(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Vt(e){return e.inclusiveLeft?-1:0}function Gt(e){return e.inclusiveRight?1:0}function Wt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=ot(r.from,i.from)||Vt(e)-Vt(t);if(o)return-o;var a=ot(r.to,i.to)||Gt(e)-Gt(t);return a||t.id-e.id}function qt(e,t){var n,r=Tt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!n||Wt(n,i.marker)<0)&&(n=i.marker);return n}function Xt(e){return qt(e,!0)}function Yt(e){return qt(e,!1)}function Kt(e,t){var n,r=Tt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Wt(n,o.marker)<0)&&(n=o.marker)}return n}function $t(e,t,n,r,i){var o=$e(e,t),a=Tt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var u=l.marker.find(0),c=ot(u.from,n)||Vt(l.marker)-Vt(i),f=ot(u.to,r)||Gt(l.marker)-Gt(i);if(!(c>=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(u.to,n)>=0:ot(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(u.from,r)<=0:ot(u.from,r)<0)))return!0}}}function Zt(e){var t;while(t=Xt(e))e=t.find(-1,!0).line;return e}function Jt(e){var t;while(t=Yt(e))e=t.find(1,!0).line;return e}function Qt(e){var t,n;while(t=Yt(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function en(e,t){var n=$e(e,t),r=Zt(n);return n==r?t:et(r)}function tn(e,t){if(t>e.lastLine())return t;var n,r=$e(e,t);if(!nn(e,r))return t;while(n=Yt(r))r=n.find(1,!0).line;return et(r)+1}function nn(e,t){var n=Tt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&rn(e,t,r))return!0}}function rn(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return rn(e,r.line,It(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&rn(e,t,i))return!0}function on(e){e=Zt(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function an(e){if(0==e.height)return 0;var t,n=e.text.length,r=e;while(t=Xt(r)){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}r=e;while(t=Yt(r)){var o=t.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function sn(e){var t=e.display,n=e.doc;t.maxLine=$e(n,n.first),t.maxLineLength=an(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=an(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var ln=function(e,t,n){this.text=e,Ht(this,t),this.height=n?n(this):1};function un(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ut(e),Ht(e,n);var i=r?r(e):1;i!=e.height&&Qe(e,i)}function cn(e){e.parent=null,Ut(e)}ln.prototype.lineNo=function(){return et(this)},xe(ln);var fn={},hn={};function dn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?hn:fn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function pn(e,t){var n=P("span",null,null,l?"padding-right: .1px":null),r={pre:P("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=vn,De(e.display.measure)&&(a=he(o,e.doc.direction))&&(r.addToken=mn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&et(o);_n(o,r,yt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=L(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=L(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Me(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var u=r.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ye(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=L(r.pre.className,r.textClass||"")),r}function gn(e){var t=T("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function vn(e,t,n,r,i,o,l){if(t){var u,c=e.splitSpaces?yn(t,e.trailingSpace):t,f=e.cm.state.specialChars,h=!1;if(f.test(t)){u=document.createDocumentFragment();var d=0;while(1){f.lastIndex=d;var p=f.exec(t),g=p?p.index-d:t.length-d;if(g){var v=document.createTextNode(c.slice(d,d+g));a&&s<9?u.appendChild(T("span",[v])):u.appendChild(v),e.map.push(e.pos,e.pos+g,v),e.col+=g,e.pos+=g}if(!p)break;d+=g+1;var y=void 0;if("\t"==p[0]){var m=e.cm.options.tabSize,b=m-e.col%m;y=u.appendChild(T("span",Y(b),"cm-tab")),y.setAttribute("role","presentation"),y.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?(y=u.appendChild(T("span","\r"==p[0]?"␍":"␤","cm-invalidchar")),y.setAttribute("cm-text",p[0]),e.col+=1):(y=e.cm.options.specialCharPlaceholder(p[0]),y.setAttribute("cm-text",p[0]),a&&s<9?u.appendChild(T("span",[y])):u.appendChild(y),e.col+=1);e.map.push(e.pos,e.pos+1,y),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),a&&s<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||r||i||h||o){var _=n||"";r&&(_+=r),i&&(_+=i);var x=T("span",[u],_,o);if(l)for(var w in l)l.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&x.setAttribute(w,l[w]);return e.content.appendChild(x)}e.content.appendChild(u)}}function yn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function mn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+r.length;;){for(var f=void 0,h=0;h<t.length;h++)if(f=t[h],f.to>u&&f.from<=u)break;if(f.to>=c)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-u),i,o,null,s,l),o=null,r=r.slice(f.to-u),u=f.to}}}function bn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function _n(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,u,c,f,h,d=i.length,p=0,g=1,v="",y=0;;){if(y==p){l=u=c=s="",h=null,f=null,y=1/0;for(var m=[],b=void 0,_=0;_<r.length;++_){var x=r[_],w=x.marker;if("bookmark"==w.type&&x.from==p&&w.widgetNode)m.push(w);else if(x.from<=p&&(null==x.to||x.to>p||w.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&y>x.to&&(y=x.to,u=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&x.from==p&&(c+=" "+w.startStyle),w.endStyle&&x.to==y&&(b||(b=[])).push(w.endStyle,x.to),w.title&&((h||(h={})).title=w.title),w.attributes)for(var S in w.attributes)(h||(h={}))[S]=w.attributes[S];w.collapsed&&(!f||Wt(f.marker,w)<0)&&(f=x)}else x.from>p&&y>x.from&&(y=x.from)}if(b)for(var k=0;k<b.length;k+=2)b[k+1]==y&&(u+=" "+b[k]);if(!f||f.from==p)for(var E=0;E<m.length;++E)bn(t,0,m[E]);if(f&&(f.from||0)==p){if(bn(t,(null==f.to?d+1:f.to)-p,f.marker,null==f.from),null==f.to)return;f.to==p&&(f=!1)}}if(p>=d)break;var O=Math.min(d,y);while(1){if(v){var C=p+v.length;if(!f){var A=C>O?v.slice(0,O-p):v;t.addToken(t,A,a?a+l:l,c,p+A.length==y?u:"",s,h)}if(C>=O){v=v.slice(O-p),p=O;break}p=C,c=""}v=i.slice(o,o=n[g++]),a=dn(n[g++],t.cm.options)}}else for(var T=1;T<n.length;T+=2)t.addToken(t,i.slice(o,o=n[T]),dn(n[T+1],t.cm.options))}function xn(e,t,n){this.line=t,this.rest=Qt(t),this.size=this.rest?et(K(this.rest))-n+1:1,this.node=this.text=null,this.hidden=nn(e,t)}function wn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new xn(e.doc,$e(e.doc,o),o);r=o+a.size,i.push(a)}return i}var Sn=null;function kn(e){Sn?Sn.ops.push(e):e.ownsGroup=Sn={ops:[e],delayedCallbacks:[]}}function En(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)while(i.cursorActivityCalled<i.cursorActivityHandlers.length)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function On(e,t){var n=e.ownsGroup;if(n)try{En(n)}finally{Sn=null,t(n)}}var Cn=null;function An(e,t){var n=ge(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);Sn?r=Sn.delayedCallbacks:Cn?r=Cn:(r=Cn=[],setTimeout(Tn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function Tn(){var e=Cn;Cn=null;for(var t=0;t<e.length;++t)e[t]()}function Pn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Ln(e,t):"gutter"==o?jn(e,t,n,r):"class"==o?Rn(e,t):"widget"==o&&Nn(e,t,r)}t.changes=null}function Mn(e){return e.node==e.text&&(e.node=T("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function Dn(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=Mn(t);t.background=r.insertBefore(T("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}function In(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):pn(e,t)}function Ln(e,t){var n=t.text.className,r=In(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Rn(e,t)):n&&(t.text.className=n)}function Rn(e,t){Dn(e,t),t.line.wrapClass?Mn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function jn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Mn(t);t.gutterBackground=T("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Mn(t),s=t.gutter=T("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(T("div",rt(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var u=e.display.gutterSpecs[l].className,c=o.hasOwnProperty(u)&&o[u];c&&s.appendChild(T("div",[c],"CodeMirror-gutter-elt","left: "+r.gutterLeft[u]+"px; width: "+r.gutterWidth[u]+"px"))}}}function Nn(e,t,n){t.alignable&&(t.alignable=null);for(var r=k("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);Fn(e,t,n)}function Bn(e,t,n,r){var i=In(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Rn(e,t),jn(e,t,n,r),Fn(e,t,r),t.node}function Fn(e,t,n){if(zn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)zn(e,t.rest[r],t,n,!1)}function zn(e,t,n,r,i){if(t.widgets)for(var o=Mn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],u=T("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),Un(l,u,n,r),e.display.input.setUneditable(u),i&&l.above?o.insertBefore(u,n.gutter||n.text):o.appendChild(u),An(l,"redraw")}}function Un(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Hn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!M(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),A(t.display.measure,T("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Vn(e,t){for(var n=Oe(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Gn(e){return e.lineSpace.offsetTop}function Wn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function qn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=A(e.measure,T("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Xn(e){return U-e.display.nativeBarWidth}function Yn(e){return e.display.scroller.clientWidth-Xn(e)-e.display.barWidth}function Kn(e){return e.display.scroller.clientHeight-Xn(e)-e.display.barHeight}function $n(e,t,n){var r=e.options.lineWrapping,i=r&&Yn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],u=a[s+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Zn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(et(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Jn(e,t){t=Zt(t);var n=et(t),r=e.display.externalMeasured=new xn(e.doc,t,n);r.lineN=n;var i=r.built=pn(e,r);return r.text=i.pre,A(e.display.lineMeasure,i.pre),r}function Qn(e,t,n,r){return nr(e,tr(e,t),n,r)}function er(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Rr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function tr(e,t){var n=et(t),r=er(e,n);r&&!r.text?r=null:r&&r.changes&&(Pn(e,r,n,Pr(e)),e.curOp.forceUpdate=!0),r||(r=Jn(e,t));var i=Zn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function nr(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||($n(e,t.view,t.rect),t.hasHeights=!0),o=sr(e,t,n,r),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var rr,ir={left:0,right:0,top:0,bottom:0};function or(e,t,n){for(var r,i,o,a,s,l,u=0;u<e.length;u+=3)if(s=e[u],l=e[u+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(u==e.length-3||t==l&&e[u+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[u+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(u&&e[u-2]==e[u-3]&&e[u-1].insertLeft)r=e[2+(u-=3)],a="left";if("right"==n&&i==l-s)while(u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft)r=e[(u+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function ar(e,t){var n=ir;if("left"==t){for(var r=0;r<e.length;r++)if((n=e[r]).left!=n.right)break}else for(var i=e.length-1;i>=0;i--)if((n=e[i]).left!=n.right)break;return n}function sr(e,t,n,r){var i,o=or(t.map,n,r),l=o.node,u=o.start,c=o.end,f=o.collapse;if(3==l.nodeType){for(var h=0;h<4;h++){while(u&&oe(t.line.text.charAt(o.coverStart+u)))--u;while(o.coverStart+c<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+c)))++c;if(i=a&&s<9&&0==u&&c==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():ar(E(l,u,c).getClientRects(),r),i.left||i.right||0==u)break;c=u,u-=1,f="right"}a&&s<11&&(i=lr(e.display.measure,i))}else{var d;u>0&&(f=r="right"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d["right"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!u&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Tr(e.display),top:p.top,bottom:p.bottom}:ir}for(var g=i.top-t.rect.top,v=i.bottom-t.rect.top,y=(g+v)/2,m=t.view.measure.heights,b=0;b<m.length-1;b++)if(y<m[b])break;var _=b?m[b-1]:0,x=m[b],w={left:("right"==f?i.right:i.left)-t.rect.left,right:("left"==f?i.left:i.right)-t.rect.left,top:_,bottom:x};return i.left||i.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=g,w.rbottom=v),w}function lr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ne(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function ur(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function cr(e){e.display.externalMeasure=null,C(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ur(e.display.view[t])}function fr(e){cr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function hr(){return c&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function dr(){return c&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function pr(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=Hn(e.widgets[n]));return t}function gr(e,t,n,r,i){if(!i){var o=pr(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=on(t);if("local"==r?a+=Gn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:dr());var l=s.left+("window"==r?0:hr());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function vr(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=hr(),i-=dr();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function yr(e,t,n,r,i){return r||(r=$e(e.doc,t.line)),gr(e,r,Qn(e,r,t.ch,i),n)}function mr(e,t,n,r,i,o){function a(t,a){var s=nr(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,gr(e,r,s,n)}r=r||$e(e.doc,t.line),i||(i=tr(e,r));var s=he(r,e.doc.direction),l=t.ch,u=t.sticky;if(l>=r.text.length?(l=r.text.length,u="before"):l<=0&&(l=0,u="after"),!s)return a("before"==u?l-1:l,"before"==u);function c(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var f=ce(s,l,u),h=ue,d=c(l,f,"before"==u);return null!=h&&(d.other=c(l,h,"before"!=u)),d}function br(e,t){var n=0;t=ft(e.doc,t),e.options.lineWrapping||(n=Tr(e.display)*t.ch);var r=$e(e.doc,t.line),i=on(r)+Gn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function _r(e,t,n,r,i){var o=it(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function xr(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return _r(r.first,0,null,-1,-1);var i=tt(r,n),o=r.first+r.size-1;if(i>o)return _r(r.first+r.size-1,$e(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=$e(r,i);;){var s=Er(e,a,i,t,n),l=Kt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var u=l.find(1);if(u.line==i)return u;a=$e(r,i=u.line)}}function wr(e,t,n,r){r-=pr(t);var i=t.text.length,o=se((function(t){return nr(e,n,t-1).bottom<=r}),i,0);return i=se((function(t){return nr(e,n,t).top>r}),o,i),{begin:o,end:i}}function Sr(e,t,n,r){n||(n=tr(e,t));var i=gr(e,t,nr(e,n,r),"line").top;return wr(e,t,n,i)}function kr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Er(e,t,n,r,i){i-=on(t);var o=tr(e,t),a=pr(t),s=0,l=t.text.length,u=!0,c=he(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?Cr:Or)(e,t,n,o,c,r,i);u=1!=f.level,s=u?f.from:f.to-1,l=u?f.to:f.from-1}var h,d,p=null,g=null,v=se((function(t){var n=nr(e,o,t);return n.top+=a,n.bottom+=a,!!kr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,g=n),!0)}),s,l),y=!1;if(g){var m=r-g.left<g.right-r,b=m==u;v=p+(b?0:1),d=b?"after":"before",h=m?g.left:g.right}else{u||v!=l&&v!=s||v++,d=0==v?"after":v==t.text.length?"before":nr(e,o,v-(u?1:0)).bottom+a<=i==u?"after":"before";var _=mr(e,it(n,v,d),"line",t,o);h=_.left,y=i<_.top?-1:i>=_.bottom?1:0}return v=ae(t.text,v,1),_r(n,v,d,y,r-h)}function Or(e,t,n,r,i,o,a){var s=se((function(s){var l=i[s],u=1!=l.level;return kr(mr(e,it(n,u?l.to:l.from,u?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var u=1!=l.level,c=mr(e,it(n,u?l.from:l.to,u?"after":"before"),"line",t,r);kr(c,o,a,!0)&&c.top>a&&(l=i[s-1])}return l}function Cr(e,t,n,r,i,o,a){var s=wr(e,t,r,a),l=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,f=null,h=0;h<i.length;h++){var d=i[h];if(!(d.from>=u||d.to<=l)){var p=1!=d.level,g=nr(e,r,p?Math.min(u,d.to)-1:Math.max(l,d.from)).right,v=g<o?o-g+1e9:g-o;(!c||f>v)&&(c=d,f=v)}}return c||(c=i[i.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}function Ar(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rr){rr=T("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rr.appendChild(document.createTextNode("x")),rr.appendChild(T("br"));rr.appendChild(document.createTextNode("x"))}A(e.measure,rr);var n=rr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function Tr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=T("span","xxxxxxxxxx"),n=T("pre",[t],"CodeMirror-line-like");A(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Pr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Mr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Mr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Dr(e){var t=Ar(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Tr(e.display)-3);return function(i){if(nn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Ir(e){var t=e.doc,n=Dr(e);t.iter((function(e){var t=n(e);t!=e.height&&Qe(e,t)}))}function Lr(e,t,n,r){var i=e.display;if(!n&&"true"==Oe(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,u=xr(e,o,a);if(r&&u.xRel>0&&(l=$e(e.doc,u.line).text).length==u.ch){var c=B(l,l.length,e.options.tabSize)-l.length;u=it(u.line,Math.max(0,Math.round((o-qn(e.display).left)/Tr(e.display))-c))}return u}function Rr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if(t-=n[r].size,t<0)return r}function jr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Tt&&en(e.doc,t)<i.viewTo&&Br(e);else if(n<=i.viewFrom)Tt&&tn(e.doc,n+r)>i.viewFrom?Br(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Br(e);else if(t<=i.viewFrom){var o=Fr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Br(e)}else if(n>=i.viewTo){var a=Fr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Br(e)}else{var s=Fr(e,t,t,-1),l=Fr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(wn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Br(e)}var u=i.externalMeasured;u&&(n<u.lineN?u.lineN+=r:t<u.lineN+u.size&&(i.externalMeasured=null))}function Nr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Rr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==z(a,n)&&a.push(n)}}}function Br(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Fr(e,t,n,r){var i,o=Rr(e,t),a=e.display.view;if(!Tt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(en(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function zr(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=wn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=wn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Rr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(wn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Rr(e,n)))),r.viewTo=n}function Ur(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function Hr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Vr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Gr(e,s.head,i),l||qr(e,s,o)}}return r}function Gr(e,t,n){var r=mr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(T("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)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(T("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Wr(e,t){return e.top-t.top||e.left-t.left}function qr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=qn(e.display),s=a.left,l=Math.max(r.sizerWidth,Yn(e)-r.sizer.offsetLeft)-a.right,u="ltr"==i.direction;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(T("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function f(t,n,r){var o,a,f=$e(i,t),h=f.text.length;function d(n,r){return yr(e,it(t,n),"div",f,r)}function p(t,n,r){var i=Sr(e,f,null,t),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 d(a,o)[o]}var g=he(f,i.direction);return le(g,n||0,null==r?h:r,(function(e,t,i,f){var v="ltr"==i,y=d(e,v?"left":"right"),m=d(t-1,v?"right":"left"),b=null==n&&0==e,_=null==r&&t==h,x=0==f,w=!g||f==g.length-1;if(m.top-y.top<=3){var S=(u?b:_)&&x,k=(u?_:b)&&w,E=S?s:(v?y:m).left,O=k?l:(v?m:y).right;c(E,y.top,O-E,y.bottom)}else{var C,A,T,P;v?(C=u&&b&&x?s:y.left,A=u?l:p(e,i,"before"),T=u?s:p(t,i,"after"),P=u&&_&&w?l:m.right):(C=u?p(e,i,"before"):s,A=!u&&b&&x?l:y.right,T=!u&&_&&w?s:m.left,P=u?p(t,i,"after"):l),c(C,y.top,A-C,y.bottom),y.bottom<m.top&&c(s,y.bottom,null,m.top),c(T,m.top,P-T,m.bottom)}(!o||Wr(y,o)<0)&&(o=y),Wr(m,o)<0&&(o=m),(!a||Wr(y,a)<0)&&(a=y),Wr(m,a)<0&&(a=m)})),{start:o,end:a}}var h=t.from(),d=t.to();if(h.line==d.line)f(h.line,h.ch,d.ch);else{var p=$e(i,h.line),g=$e(i,d.line),v=Zt(p)==Zt(g),y=f(h.line,h.ch,v?p.text.length+1:null).end,m=f(d.line,v?0:null,d.ch).start;v&&(y.top<m.top-2?(c(y.right,y.top,null,y.bottom),c(s,m.top,m.left,m.bottom)):c(y.right,y.top,m.left-y.right,y.bottom)),y.bottom<m.top&&c(s,y.bottom,null,m.top)}n.appendChild(o)}function Xr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Yr(e){e.state.focused||(e.display.input.focus(),$r(e))}function Kr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Zr(e))}),100)}function $r(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ye(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Xr(e))}function Zr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ye(e,"blur",e,t),e.state.focused=!1,O(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Jr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,u=0;if(!i.hidden){if(a&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;l=c-n,n=c}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(u=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var h=i.line.height-l;if((h>.005||h<-.005)&&(Qe(i.line,l),Qr(i.line),i.rest))for(var d=0;d<i.rest.length;d++)Qr(i.rest[d]);if(u>e.display.sizerWidth){var p=Math.ceil(u/Tr(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Qr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ei(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Gn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=tt(t,r),a=tt(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=tt(t,on($e(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=tt(t,on($e(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(!me(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=T("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Gn(e.display))+"px;\n height: "+(t.bottom-t.top+Xn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ni(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(t=t.ch?it(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?it(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=mr(e,t),l=n&&n!=t?mr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var u=ii(e,i),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=u.scrollTop&&(fi(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(di(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function ri(e,t){var n=ii(e,t);null!=n.scrollTop&&fi(e,n.scrollTop),null!=n.scrollLeft&&di(e,n.scrollLeft)}function ii(e,t){var n=e.display,r=Ar(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Kn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Wn(n),l=t.top<r,u=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,h=Yn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>h;return d&&(t.right=t.left+h),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>h+f-3&&(a.scrollLeft=t.right+(d?0:10)-h),a}function oi(e,t){null!=t&&(ui(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ai(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function si(e,t,n){null==t&&null==n||ui(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function li(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=br(e,t.from),r=br(e,t.to);ci(e,n,r,t.margin)}}function ci(e,t,n,r){var i=ii(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});si(e,i.scrollLeft,i.scrollTop)}function fi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Hi(e,{top:t}),hi(e,t,!0),n&&Hi(e),Li(e,100))}function hi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function di(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,qi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function pi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Wn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Xn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var gi=function(e,t,n){this.cm=n;var r=this.vert=T("div",[T("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=T("div",[T("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},gi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gi.prototype.zeroWidthHack=function(){var e=m&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new F,this.disableVert=new F},gi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.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!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},gi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var vi=function(){};function yi(e,t){t||(t=pi(e));var n=e.display.barWidth,r=e.display.barHeight;mi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Jr(e),mi(e,pi(e)),n=e.display.barWidth,r=e.display.barHeight}function mi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}vi.prototype.update=function(){return{bottom:0,right:0}},vi.prototype.setScrollLeft=function(){},vi.prototype.setScrollTop=function(){},vi.prototype.clear=function(){};var bi={native:gi,null:vi};function _i(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&O(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new bi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?di(e,t):fi(e,t)}),e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var xi=0;function wi(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.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:++xi},kn(e.curOp)}function Si(e){var t=e.curOp;t&&On(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;ki(e)}))}function ki(e){for(var t=e.ops,n=0;n<t.length;n++)Ei(t[n]);for(var r=0;r<t.length;r++)Oi(t[r]);for(var i=0;i<t.length;i++)Ci(t[i]);for(var o=0;o<t.length;o++)Ai(t[o]);for(var a=0;a<t.length;a++)Ti(t[a])}function Ei(e){var t=e.cm,n=t.display;Ni(t),e.updateMaxLine&&sn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ji(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Oi(e){e.updatedDisplay=e.mustUpdate&&zi(e.cm,e.update)}function Ci(e){var t=e.cm,n=t.display;e.updatedDisplay&&Jr(t),e.barMeasure=pi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Qn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Xn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Yn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Ai(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&di(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==D();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&yi(t,e.barMeasure),e.updatedDisplay&&Wi(t,e.barMeasure),e.selectionChanged&&Xr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Yr(e.cm)}function Ti(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&Ui(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&hi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&di(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=ni(t,ft(r,e.scrollToPos.from),ft(r,e.scrollToPos.to),e.scrollToPos.margin);ti(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||ye(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&ye(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ye(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Pi(e,t){if(e.curOp)return t();wi(e);try{return t()}finally{Si(e)}}function Mi(e,t){return function(){if(e.curOp)return t.apply(e,arguments);wi(e);try{return t.apply(e,arguments)}finally{Si(e)}}}function Di(e){return function(){if(this.curOp)return e.apply(this,arguments);wi(this);try{return e.apply(this,arguments)}finally{Si(this)}}}function Ii(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);wi(t);try{return e.apply(this,arguments)}finally{Si(t)}}}function Li(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,j(Ri,e))}function Ri(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=mt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?qe(t.mode,r.state):null,l=vt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),h=0;!f&&h<a.length;++h)f=a[h]!=o.styles[h];f&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&bt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return Li(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Pi(e,(function(){for(var t=0;t<i.length;t++)Nr(e,i[t],"text")}))}}var ji=function(e,t,n){var r=e.display;this.viewport=t,this.visible=ei(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Yn(e),this.force=n,this.dims=Pr(e),this.events=[]};function Ni(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Xn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Xn(e)+"px",t.scrollbarsClipped=!0)}function Bi(e){if(e.hasFocus())return null;var t=D();if(!t||!M(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&M(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Fi(e){if(e&&e.activeElt&&e.activeElt!=D()&&(e.activeElt.focus(),e.anchorNode&&M(document.body,e.anchorNode)&&M(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function zi(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Br(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Ur(e))return!1;Xi(e)&&(Br(e),t.dims=Pr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.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)),Tt&&(o=en(e.doc,o),a=tn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;zr(e,o,a),n.viewOffset=on($e(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Ur(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=Bi(e);return l>4&&(n.lineDiv.style.display="none"),Vi(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Fi(u),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Li(e,400)),n.updateLineNumbers=null,!0}function Ui(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Yn(e))r&&(t.visible=ei(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Wn(e.display)-Kn(e),n.top)}),t.visible=ei(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!zi(e,t))break;Jr(e);var i=pi(e);Hr(e),yi(e,i),Wi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Hi(e,t){var n=new ji(e,t);if(zi(e,n)){Jr(e),Ui(e,n);var r=pi(e);Hr(e),yi(e,r),Wi(e,r),n.finish()}}function Vi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&m&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,f=0;f<u.length;f++){var h=u[f];if(h.hidden);else if(h.node&&h.node.parentNode==o){while(a!=h.node)a=s(a);var d=i&&null!=t&&t<=c&&h.lineNumber;h.changes&&(z(h.changes,"gutter")>-1&&(d=!1),Pn(e,h,c,n)),d&&(C(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(rt(e.options,c)))),a=h.node.nextSibling}else{var p=Bn(e,h,c,n);o.insertBefore(p,a)}c+=h.size}while(a)a=s(a)}function Gi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Wi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Xn(e)+"px"}function qi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Mr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function Xi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=rt(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(T("div",[T("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",Gi(e.display),!0}return!1}function Yi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Ki(e){var t=e.gutters,n=e.gutterSpecs;C(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(T("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",Gi(e)}function $i(e){Ki(e.display),jr(e),qi(e)}function Zi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=T("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=T("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=P("div",null,"CodeMirror-code"),o.selectionDiv=T("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=T("div",null,"CodeMirror-cursors"),o.measure=T("div",null,"CodeMirror-measure"),o.lineMeasure=T("div",null,"CodeMirror-measure"),o.lineSpace=P("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=P("div",[o.lineSpace],"CodeMirror-lines");o.mover=T("div",[u],null,"position: relative"),o.sizer=T("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=T("div",null,null,"position: absolute; height: "+U+"px; width: 1px;"),o.gutters=T("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=T("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=T("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&y||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Yi(i.gutters,i.lineNumbers),Ki(o),r.init(o)}ji.prototype.signal=function(e,t){_e(e,t)&&this.events.push(arguments)},ji.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ye.apply(null,this.events[e])};var Ji=0,Qi=null;function eo(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function to(e){var t=eo(e);return t.x*=Qi,t.y*=Qi,t}function no(e,t){var r=eo(t),i=r.x,o=r.y,a=e.display,s=a.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&m&&l)e:for(var h=t.target,d=a.view;h!=s;h=h.parentNode)for(var p=0;p<d.length;p++)if(d[p].node==h){e.display.currentWheelTarget=h;break e}if(i&&!n&&!f&&null!=Qi)return o&&c&&fi(e,Math.max(0,s.scrollTop+o*Qi)),di(e,Math.max(0,s.scrollLeft+i*Qi)),(!o||o&&c)&&we(t),void(a.wheelStartX=null);if(o&&null!=Qi){var g=o*Qi,v=e.doc.scrollTop,y=v+a.wrapper.clientHeight;g<0?v=Math.max(0,v+g-50):y=Math.min(e.doc.height,y+g+50),Hi(e,{top:v,bottom:y})}Ji<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(Qi=(Qi*Ji+n)/(Ji+1),++Ji)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?Qi=-.53:n?Qi=15:c?Qi=-.7:h&&(Qi=-1/3);var ro=function(e,t){this.ranges=e,this.primIndex=t};ro.prototype.primary=function(){return this.ranges[this.primIndex]},ro.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!at(n.anchor,r.anchor)||!at(n.head,r.head))return!1}return!0},ro.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new io(st(this.ranges[t].anchor),st(this.ranges[t].head));return new ro(e,this.primIndex)},ro.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ro.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(ot(t,r.from())>=0&&ot(e,r.to())<=0)return n}return-1};var io=function(e,t){this.anchor=e,this.head=t};function oo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ot(e.from(),t.from())})),n=z(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=ot(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var u=ut(s.from(),a.from()),c=lt(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new io(f?c:u,f?u:c))}}return new ro(t,n)}function ao(e,t){return new ro([new io(e,t||e)],0)}function so(e){return e.text?it(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function lo(e,t){if(ot(e,t.from)<0)return e;if(ot(e,t.to)<=0)return so(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=so(t).ch-t.to.ch),it(n,r)}function uo(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new io(lo(i.anchor,t),lo(i.head,t)))}return oo(e.cm,n,e.sel.primIndex)}function co(e,t,n){return e.line==t.line?it(n.line,e.ch-t.ch+n.ch):it(n.line+(e.line-t.line),e.ch)}function fo(e,t,n){for(var r=[],i=it(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=co(s.from,i,o),u=co(so(s),i,o);if(i=s.to,o=u,"around"==n){var c=e.sel.ranges[a],f=ot(c.head,c.anchor)<0;r[a]=new io(f?u:l,f?l:u)}else r[a]=new io(l,l)}return new ro(r,e.sel.primIndex)}function ho(e){e.doc.mode=Ve(e.options,e.doc.modeOption),po(e)}function po(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Li(e,100),e.state.modeGen++,e.curOp&&jr(e)}function go(e,t){return 0==t.from.ch&&0==t.to.ch&&""==K(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function vo(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){un(e,n,i,r),An(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new ln(u[o],i(o),r));return n}var s=t.from,l=t.to,u=t.text,c=$e(e,s.line),f=$e(e,l.line),h=K(u),d=i(u.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(go(e,t)){var g=a(0,u.length-1);o(f,f.text,d),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(c==f)if(1==u.length)o(c,c.text.slice(0,s.ch)+h+c.text.slice(l.ch),d);else{var v=a(1,u.length-1);v.push(new ln(h+c.text.slice(l.ch),d,r)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,v)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,p);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(f,h+f.text.slice(l.ch),d);var y=a(1,u.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,y)}An(e,"change",e,t)}function yo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function mo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Ir(e),ho(e),bo(e),e.options.lineWrapping||sn(e),e.options.mode=t.modeOption,jr(e)}function bo(e){("rtl"==e.doc.direction?I:O)(e.display.lineDiv,"CodeMirror-rtl")}function _o(e){Pi(e,(function(){bo(e),jr(e)}))}function xo(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function wo(e,t){var n={from:st(t.from),to:so(t),text:Ze(e,t.from,t.to)};return To(e,n,t.from.line,t.to.line+1),yo(e,(function(e){return To(e,n,t.from.line,t.to.line+1)}),!0),n}function So(e){while(e.length){var t=K(e);if(!t.ranges)break;e.pop()}}function ko(e,t){return t?(So(e.done),K(e.done)):e.done.length&&!K(e.done).ranges?K(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}function Eo(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=ko(i,i.lastOp==r)))a=K(o.changes),0==ot(t.from,t.to)&&0==ot(t.from,a.to)?a.to=so(t):o.changes.push(wo(e,t));else{var l=K(i.done);l&&l.ranges||Ao(e.sel,i.done),o={changes:[wo(e,t)],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=t.origin,a||ye(e,"historyAdded")}function Oo(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Co(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Oo(e,o,K(i.done),t))?i.done[i.done.length-1]=t:Ao(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&So(i.undone)}function Ao(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function To(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Po(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Mo(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Po(n[i]));return r}function Do(e,t){var n=Mo(e,t),r=Bt(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Io(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?ro.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var u=a[l],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var f in u)(c=f.match(/^spans_(\d+)$/))&&z(t,Number(c[1]))>-1&&(K(s)[f]=u[f],delete u[f])}}}return r}function Lo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ot(t,i)<0;o!=ot(n,i)<0?(i=t,t=n):o!=ot(t,n)<0&&(t=n)}return new io(i,t)}return new io(n||t,t)}function Ro(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Uo(e,new ro([Lo(e.sel.primary(),t,n,i)],0),r)}function jo(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Lo(e.sel.ranges[o],t[o],null,i);var a=oo(e.cm,r,e.sel.primIndex);Uo(e,a,n)}function No(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Uo(e,oo(e.cm,i,e.sel.primIndex),r)}function Bo(e,t,n,r){Uo(e,ao(t,n),r)}function Fo(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new io(ft(e,t[n].anchor),ft(e,t[n].head))},origin:n&&n.origin};return ye(e,"beforeSelectionChange",e,r),e.cm&&ye(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?oo(e.cm,r.ranges,r.ranges.length-1):t}function zo(e,t,n){var r=e.history.done,i=K(r);i&&i.ranges?(r[r.length-1]=t,Ho(e,t,n)):Uo(e,t,n)}function Uo(e,t,n){Ho(e,t,n),Co(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Ho(e,t,n){(_e(e,"beforeSelectionChange")||e.cm&&_e(e.cm,"beforeSelectionChange"))&&(t=Fo(e,t,n));var r=n&&n.bias||(ot(t.primary().head,e.sel.primary().head)<0?-1:1);Vo(e,Wo(e,t,r,!0)),n&&!1===n.scroll||!e.cm||ai(e.cm)}function Vo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,be(e.cm)),An(e,"cursorActivity",e))}function Go(e){Vo(e,Wo(e,e.sel,null,!1))}function Wo(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Xo(e,a.anchor,s&&s.anchor,n,r),u=Xo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||u!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new io(l,u))}return i?oo(e.cm,i,t.primIndex):t}function qo(e,t,n,r,i){var o=$e(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,u="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,c="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(u?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(ye(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),h=void 0;if((r<0?c:u)&&(f=Yo(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(h=ot(f,n))&&(r<0?h<0:h>0))return qo(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?u:c)&&(d=Yo(e,d,r,d.line==t.line?o:null)),d?qo(e,d,t,r,i):null}}return t}function Xo(e,t,n,r,i){var o=r||1,a=qo(e,t,n,o,i)||!i&&qo(e,t,n,o,!0)||qo(e,t,n,-o,i)||!i&&qo(e,t,n,-o,!0);return a||(e.cantEdit=!0,it(e.first,0))}function Yo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?ft(e,it(t.line-1)):null:n>0&&t.ch==(r||$e(e,t.line)).text.length?t.line<e.first+e.size-1?it(t.line+1,0):null:new it(t.line,t.ch+n)}function Ko(e){e.setSelection(it(e.firstLine(),0),it(e.lastLine()),V)}function $o(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=ft(e,t)),n&&(r.to=ft(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),ye(e,"beforeChange",e,r),e.cm&&ye(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Zo(e,t,n){if(e.cm){if(!e.cm.curOp)return Mi(e.cm,Zo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(_e(e,"beforeChange")||e.cm&&_e(e.cm,"beforeChange"))||(t=$o(e,t,!0),t)){var r=At&&!n&&zt(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Jo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Jo(e,t)}}function Jo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ot(t.from,t.to)){var n=uo(e,t);Eo(e,t,n,e.cm?e.cm.curOp.id:NaN),ta(e,t,n,Bt(e,t));var r=[];yo(e,(function(e,n){n||-1!=z(r,e.history)||(aa(e.history,t),r.push(e.history)),ta(e,t,null,Bt(e,t))}))}}function Qo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,u=0;u<s.length;u++)if(i=s[u],n?i.ranges&&!i.equals(e.sel):!i.ranges)break;if(u!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(i=s.pop(),!i.ranges){if(r)return void s.push(i);break}if(Ao(i,l),n&&!i.equals(e.sel))return void Uo(e,i,{clearRedo:!1});a=i}var c=[];Ao(a,l),l.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=_e(e,"beforeChange")||e.cm&&_e(e.cm,"beforeChange"),h=function(n){var r=i.changes[n];if(r.origin=t,f&&!$o(e,r,!1))return s.length=0,{};c.push(wo(e,r));var o=n?uo(e,r):K(s);ta(e,r,o,Do(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:so(r)});var a=[];yo(e,(function(e,t){t||-1!=z(a,e.history)||(aa(e.history,r),a.push(e.history)),ta(e,r,null,Do(e,r))}))},d=i.changes.length-1;d>=0;--d){var p=h(d);if(p)return p.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new ro($(e.sel.ranges,(function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){jr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Nr(e.cm,r,"gutter")}}function ta(e,t,n,r){if(e.cm&&!e.cm.curOp)return Mi(e.cm,ta)(e,t,n,r);if(t.to.line<e.first)ea(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ea(e,i),t={from:it(e.first,0),to:it(t.to.line+i,t.to.ch),text:[K(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:it(o,$e(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),n||(n=uo(e,t)),e.cm?na(e.cm,t,r):vo(e,t,r),Ho(e,n,V),e.cantEdit&&Xo(e,it(e.firstLine(),0))&&(e.cantEdit=!1)}}function na(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=et(Zt($e(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&be(e),vo(r,t,n,Dr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=an(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Ct(r,o.line),Li(e,400);var u=t.text.length-(a.line-o.line)-1;t.full?jr(e):o.line!=a.line||1!=t.text.length||go(e.doc,t)?jr(e,o.line,a.line+1,u):Nr(e,o.line,"text");var c=_e(e,"changes"),f=_e(e,"change");if(f||c){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&An(e,"change",e,h),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function ra(e,t,n,r,i){var o;r||(r=n),ot(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Zo(e,{from:n,to:r,text:t,origin:i})}function ia(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function oa(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)ia(o.ranges[s].anchor,t,n,r),ia(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(n<u.from.line)u.from=it(u.from.line+r,u.from.ch),u.to=it(u.to.line+r,u.to.ch);else if(t<=u.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function aa(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;oa(e.done,n,r,i),oa(e.undone,n,r,i)}function sa(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=$e(e,ct(e,t)):i=et(t),null==i?null:(r(o,i)&&e.cm&&Nr(e.cm,i,n),o)}function la(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function ua(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}io.prototype.from=function(){return ut(this.anchor,this.head)},io.prototype.to=function(){return lt(this.anchor,this.head)},io.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,cn(i),An(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof la))){var s=[];this.collapse(s),this.children=[new la(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new la(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}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new ua(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=z(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new ua(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ca=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function fa(e,t,n){on(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oi(e,n)}function ha(e,t,n,r){var i=new ca(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),sa(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!nn(e,t)){var r=on(t)<e.scrollTop;Qe(t,t.height+Hn(i)),r&&oi(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&An(o,"lineWidgetAdded",o,i,"number"==typeof t?t:et(t)),i}ca.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=et(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=Hn(this);Qe(n,Math.max(0,n.height-o)),e&&(Pi(e,(function(){fa(e,n,-o),Nr(e,r,"widget")})),An(e,"lineWidgetCleared",e,this,r))}},ca.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Hn(this)-t;i&&(nn(this.doc,r)||Qe(r,r.height+i),n&&Pi(n,(function(){n.curOp.forceUpdate=!0,fa(n,r,i),An(n,"lineWidgetChanged",n,e,et(r))})))},xe(ca);var da=0,pa=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++da};function ga(e,t,n,r,i){if(r&&r.shared)return ya(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Mi(e.cm,ga)(e,t,n,r,i);var o=new pa(e,i),a=ot(t,n);if(r&&N(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=P("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if($t(e,t.line,t,n,o)||t.line!=n.line&&$t(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Mt()}o.addToHistory&&Eo(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,(function(e){u&&o.collapsed&&!u.options.lineWrapping&&Zt(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Qe(e,0),Rt(e,new Dt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){nn(e,t)&&Qe(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Pt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++da,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)jr(u,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=n.line;c++)Nr(u,c,"text");o.atomic&&Go(u.doc),An(u,"markerAdded",u,o)}return o}pa.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&wi(e),_e(this,"clear")){var n=this.find();n&&An(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=It(a.markedSpans,this);e&&!this.collapsed?Nr(e,et(a),"text"):e&&(null!=s.to&&(i=et(a)),null!=s.from&&(r=et(a))),a.markedSpans=Lt(a.markedSpans,s),null==s.from&&this.collapsed&&!nn(this.doc,a)&&e&&Qe(a,Ar(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var u=Zt(this.lines[l]),c=an(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&jr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Go(e.doc)),e&&An(e,"markerCleared",e,this,r,i),t&&Si(e),this.parent&&this.parent.clear()}},pa.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=It(o.markedSpans,this);if(null!=a.from&&(n=it(t?o:et(o),a.from),-1==e))return n;if(null!=a.to&&(r=it(t?o:et(o),a.to),1==e))return r}return n&&{from:n,to:r}},pa.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Pi(r,(function(){var i=t.line,o=et(t.line),a=er(r,o);if(a&&(ur(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!nn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Hn(n)-s;l&&Qe(i,i.height+l)}An(r,"markerChanged",r,e)}))},pa.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=z(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},pa.prototype.detachLine=function(e){if(this.lines.splice(z(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},xe(pa);var va=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function ya(e,t,n,r,i){r=N(r),r.shared=!1;var o=[ga(e,t,n,r,i)],a=o[0],s=r.widgetNode;return yo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(ga(e,ft(e,t),ft(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=K(o)})),new va(o,a)}function ma(e){return e.findMarks(it(e.first,0),e.clipPos(it(e.lastLine())),(function(e){return e.parent}))}function ba(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(ot(o,a)){var s=ga(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function _a(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];yo(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==z(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}va.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();An(this,"clear")}},va.prototype.find=function(e,t){return this.primary.find(e,t)},xe(va);var xa=0,wa=function(e,t,n,r,i){if(!(this instanceof wa))return new wa(e,t,n,r,i);null==n&&(n=0),ua.call(this,[new la([new ln("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=it(n,0);this.sel=ao(o),this.history=new xo(null),this.id=++xa,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),vo(this,{from:o,to:o,text:e}),Uo(this,ao(o),V)};wa.prototype=Q(ua.prototype,{constructor:wa,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Je(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Ii((function(e){var t=it(this.first,0),n=this.first+this.size-1;Zo(this,{from:t,to:it(n,$e(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&si(this.cm,0,0),Uo(this,ao(t),V)})),replaceRange:function(e,t,n,r){t=ft(this,t),n=n?ft(this,n):t,ra(this,e,t,n,r)},getRange:function(e,t,n){var r=Ze(this,ft(this,e),ft(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(nt(this,e))return $e(this,e)},getLineNumber:function(e){return et(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=$e(this,e)),Zt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ft(this,e)},getCursor:function(e){var t,n=this.sel.primary();return t=null==e||"head"==e?n.head:"anchor"==e?n.anchor:"end"==e||"to"==e||!1===e?n.to():n.from(),t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ii((function(e,t,n){Bo(this,ft(this,"number"==typeof e?it(e,t||0):e),null,n)})),setSelection:Ii((function(e,t,n){Bo(this,ft(this,e),ft(this,t||e),n)})),extendSelection:Ii((function(e,t,n){Ro(this,ft(this,e),t&&ft(this,t),n)})),extendSelections:Ii((function(e,t){jo(this,dt(this,e),t)})),extendSelectionsBy:Ii((function(e,t){var n=$(this.sel.ranges,e);jo(this,dt(this,n),t)})),setSelections:Ii((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new io(ft(this,e[i].anchor),ft(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Uo(this,oo(this.cm,r,t),n)}})),addSelection:Ii((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new io(ft(this,e),ft(this,t||e))),Uo(this,oo(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Ze(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Ze(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Ii((function(e,t,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(e[o]),origin:n}}for(var s=t&&"end"!=t&&fo(this,r,t),l=r.length-1;l>=0;l--)Zo(this,r[l]);s?zo(this,s):this.cm&&ai(this.cm)})),undo:Ii((function(){Qo(this,"undo")})),redo:Ii((function(){Qo(this,"redo")})),undoSelection:Ii((function(){Qo(this,"undo",!0)})),redoSelection:Ii((function(){Qo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new xo(this.history.maxGeneration),yo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Io(this.history.done),undone:Io(this.history.undone)}},setHistory:function(e){var t=this.history=new xo(this.history.maxGeneration);t.done=Io(e.done.slice(0),null,!0),t.undone=Io(e.undone.slice(0),null,!0)},setGutterMarker:Ii((function(e,t,n){return sa(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&re(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Ii((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&sa(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,re(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!nt(this,e))return null;if(t=e,e=$e(this,e),!e)return null}else if(t=et(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Ii((function(e,t,n){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(k(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Ii((function(e,t,n){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(k(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Ii((function(e,t,n){return ha(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return ga(this,ft(this,e),ft(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=ft(this,e),ga(this,e,e,n,"bookmark")},findMarksAt:function(e){e=ft(this,e);var t=[],n=$e(this,e.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=ft(this,e),t=ft(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),ft(this,it(n,t))},indexFromPos:function(e){e=ft(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new wa(Je(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new wa(Je(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],ba(r,ma(this)),r},unlinkDoc:function(e){if(e instanceof js&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var n=this.linked[t];if(n.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),_a(ma(this));break}}if(e.history==this.history){var r=[e.id];yo(e,(function(e){return r.push(e.id)}),!0),e.history=new xo(null),e.history.done=Io(this.history.done,r),e.history.undone=Io(this.history.undone,r)}},iterLinkedDocs:function(e){yo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ie(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Ii((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&_o(this.cm))}))}),wa.prototype.eachLine=wa.prototype.iter;var Sa=0;function ka(e){var t=this;if(Ca(t),!me(t,e)&&!Vn(t.display,e)){we(e),a&&(Sa=+new Date);var n=Lr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&Mi(t,(function(){n=ft(t.doc,n);var e={from:n,to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Zo(t.doc,e),zo(t.doc,ao(ft(t.doc,n),ft(t.doc,so(e))))}))()},u=function(e,n){if(t.options.allowDropFileTypes&&-1==z(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},c=0;c<r.length;c++)u(r[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData("Text");if(f){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),Ho(t.doc,ao(n,n)),h)for(var d=0;d<h.length;++d)ra(t.doc,"",h[d].anchor,h[d].head,"drag");t.replaceSelection(f,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Ea(e,t){if(a&&(!e.state.draggingText||+new Date-Sa<100))Ee(t);else if(!me(e,t)&&!Vn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=T("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}function Oa(e,t){var n=Lr(e,t);if(n){var r=document.createDocumentFragment();Gr(e,n,r),e.display.dragCursor||(e.display.dragCursor=T("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),A(e.display.dragCursor,r)}}function Ca(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Aa(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Ta=!1;function Pa(){Ta||(Ma(),Ta=!0)}function Ma(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Aa(Da)}),100))})),pe(window,"blur",(function(){return Aa(Zr)}))}function Da(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Ia={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:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},La=0;La<10;La++)Ia[La+48]=Ia[La+96]=String(La);for(var Ra=65;Ra<=90;Ra++)Ia[Ra]=String.fromCharCode(Ra);for(var ja=1;ja<=12;ja++)Ia[ja+111]=Ia[ja+63235]="F"+ja;var Na={};function Ba(e){var t,n,r,i,o=e.split(/-(?!$)/);e=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))t=!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 t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Fa(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=$(n.split(" "),Ba),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var u in t)e[u]=t[u];return e}function za(e,t,n,r){t=Ga(t);var i=t.call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return za(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=za(e,t.fallthrough[o],n,r);if(a)return a}}}function Ua(e){var t="string"==typeof e?e:Ia[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Ha(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(w?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(w?t.ctrlKey:t.metaKey)&&"Cmd"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Va(e,t){if(f&&34==e.keyCode&&e["char"])return!1;var n=Ia[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Ha(n,e,t))}function Ga(e){return"string"==typeof e?Na[e]:e}function Wa(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){var o=t(n[i]);while(r.length&&ot(o.from,K(r).to)<=0){var a=r.pop();if(ot(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Pi(e,(function(){for(var t=r.length-1;t>=0;t--)ra(e.doc,"",r[t].from,r[t].to,"+delete");ai(e)}))}function qa(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Xa(e,t,n){var r=qa(e,t.ch,n);return null==r?null:new it(t.line,r,n<0?"after":"before")}function Ya(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=he(n,t.doc.direction);if(o){var a,s=i<0?K(o):o[0],l=i<0==(1==s.level),u=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=tr(t,n);a=i<0?n.text.length-1:0;var f=nr(t,c,a).top;a=se((function(e){return nr(t,c,e).top==f}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=qa(n,a,1))}else a=i<0?s.to:s.from;return new it(r,a,u)}}return new it(r,i<0?n.text.length:0,i<0?"before":"after")}function Ka(e,t,n,r){var i=he(t,e.doc.direction);if(!i)return Xa(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ce(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Xa(t,n,r);var s,l=function(e,n){return qa(t,e instanceof it?e.ch:e,n)},u=function(n){return e.options.lineWrapping?(s=s||tr(e,t),Sr(e,t,s,n)):{begin:0,end:t.text.length}},c=u("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var f=1==a.level==r<0,h=l(n,f?1:-1);if(null!=h&&(f?h<=a.to&&h<=c.end:h>=a.from&&h>=c.begin)){var d=f?"before":"after";return new it(n.line,h,d)}}var p=function(e,t,r){for(var o=function(e,t){return t?new it(n.line,l(e,1),"before"):new it(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),u=s?r.begin:l(r.end,-1);if(a.from<=u&&u<a.to)return o(u,s);if(u=s?a.from:l(a.to,-1),r.begin<=u&&u<r.end)return o(u,s)}},g=p(o+r,r,c);if(g)return g;var v=r>0?c.end:l(c.begin,-1);return null==v||r>0&&v==t.text.length||(g=p(r>0?0:i.length-1,r,u(v)),!g)?null:g}Na.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"},Na.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"},Na.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Na.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"]},Na["default"]=m?Na.macDefault:Na.pcDefault;var $a={selectAll:Ko,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return Wa(e,(function(t){if(t.empty()){var n=$e(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:it(t.head.line+1,0)}:{from:t.head,to:it(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Wa(e,(function(t){return{from:it(t.from().line,0),to:ft(e.doc,it(t.to().line+1,0))}}))},delLineLeft:function(e){return Wa(e,(function(e){return{from:it(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Wa(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return{from:r,to:t.from()}}))},delWrappedLineRight:function(e){return Wa(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(it(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(it(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Za(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return Qa(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),W)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),W)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?Qa(e,t.head):r}),W)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=B(e.getLine(o.line),o.ch,r);t.push(Y(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Pi(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=$e(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new it(i.line,i.ch-1)),i.ch>0)i=new it(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),it(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=$e(e.doc,i.line-1).text;a&&(i=new it(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),it(i.line-1,a.length-1),i,"+transpose"))}n.push(new io(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Pi(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);ai(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Za(e,t){var n=$e(e.doc,t),r=Zt(n);return r!=n&&(t=et(r)),Ya(!0,e,r,t,1)}function Ja(e,t){var n=$e(e.doc,t),r=Jt(n);return r!=n&&(t=et(r)),Ya(!0,e,n,t,-1)}function Qa(e,t){var n=Za(e,t.line),r=$e(e.doc,n.line),i=he(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return it(n.line,a?0:o,n.sticky)}return n}function es(e,t,n){if("string"==typeof t&&(t=$a[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=H}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function ts(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=za(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&za(t,e.options.extraKeys,n,e)||za(t,e.options.keyMap,n,e)}var ns=new F;function rs(e,t,n,r){var i=e.state.keySeq;if(i){if(Ua(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ns.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),is(e,i+" "+t,n,r))return!0}return is(e,t,n,r)}function is(e,t,n,r){var i=ts(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&An(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(we(n),Xr(e)),!!i}function os(e,t){var n=Va(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?rs(e,"Shift-"+n,t,(function(t){return es(e,t,!0)}))||rs(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return es(e,t)})):rs(e,n,t,(function(t){return es(e,t)})))}function as(e,t,n){return rs(e,"'"+n+"'",t,(function(t){return es(e,t,!0)}))}var ss=null;function ls(e){var t=this;if(t.curOp.focus=D(),!me(t,e)){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=os(t,e);f&&(ss=i?r:null,i||88!=r||Re||!(m?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!m&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||us(t)}}function us(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(O(t,"CodeMirror-crosshair"),ve(document,"keyup",n),ve(document,"mouseover",n))}I(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}function cs(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function fs(e){var t=this;if(!(Vn(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||m&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ss)return ss=null,void we(e);if(!f||e.which&&!(e.which<10)||!os(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(as(t,e,i)||t.display.input.onKeyPress(e))}}}var hs,ds,ps=400,gs=function(e,t,n){this.time=e,this.pos=t,this.button=n};function vs(e,t){var n=+new Date;return ds&&ds.compare(n,e,t)?(hs=ds=null,"triple"):hs&&hs.compare(n,e,t)?(ds=new gs(n,e,t),hs=null,"double"):(hs=new gs(n,e,t),ds=null,"single")}function ys(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Vn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!Os(t,e)){var r=Lr(t,e),i=Ce(e),o=r?vs(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&ms(t,i,r,o,e)||(1==i?r?_s(t,r,o,e):Oe(e)==n.scroller&&we(e):2==i?(r&&Ro(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(S?t.display.input.onContextMenu(e):Kr(t)))}}function ms(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,rs(e,Ha(o,i),i,(function(t){if("string"==typeof t&&(t=$a[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=H}finally{e.state.suppressEdits=!1}return r}))}function bs(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=m?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(m?n.altKey:n.ctrlKey)),i}function _s(e,t,n,r){a?setTimeout(j(Yr,e),0):e.curOp.focus=D();var i,o=bs(e,n,r),s=e.doc.sel;e.options.dragDrop&&Pe&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(ot((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ot(i.to(),t)>0||t.xRel<0)?xs(e,r,t,o):Ss(e,r,t,o)}function xs(e,t,n,r){var i=e.display,o=!1,u=Mi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,ve(i.wrapper.ownerDocument,"mouseup",u),ve(i.wrapper.ownerDocument,"mousemove",c),ve(i.scroller,"dragstart",f),ve(i.scroller,"drop",u),o||(we(t),r.addNew||Ro(e.doc,n,null,null,r.extend),l||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus(),i.input.focus()}),20):i.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=u,u.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),pe(i.wrapper.ownerDocument,"mouseup",u),pe(i.wrapper.ownerDocument,"mousemove",c),pe(i.scroller,"dragstart",f),pe(i.scroller,"drop",u),Kr(e),setTimeout((function(){return i.input.focus()}),20)}function ws(e,t,n){if("char"==n)return new io(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new io(it(t.line,0),ft(e.doc,it(t.line+1,0)));var r=n(e,t);return new io(r.from,r.to)}function Ss(e,t,n,r){var i=e.display,o=e.doc;we(t);var a,s,l=o.sel,u=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?u[s]:new io(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new io(n,n)),n=Lr(e,t,!0,!0),s=-1;else{var c=ws(e,n,r.unit);a=r.extend?Lo(a,c.anchor,c.head,r.extend):c}r.addNew?-1==s?(s=u.length,Uo(o,oo(e,u.concat([a]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==r.unit&&!r.extend?(Uo(o,oo(e,u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):No(o,s,a,G):(s=0,Uo(o,new ro([a],0),G),l=o.sel);var f=n;function h(t){if(0!=ot(f,t))if(f=t,"rectangle"==r.unit){for(var i=[],u=e.options.tabSize,c=B($e(o,n.line).text,n.ch,u),h=B($e(o,t.line).text,t.ch,u),d=Math.min(c,h),p=Math.max(c,h),g=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=v;g++){var y=$e(o,g).text,m=q(y,d,u);d==p?i.push(new io(it(g,m),it(g,m))):y.length>m&&i.push(new io(it(g,m),it(g,q(y,p,u))))}i.length||i.push(new io(n,n)),Uo(o,oo(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,_=a,x=ws(e,t,r.unit),w=_.anchor;ot(x.anchor,w)>0?(b=x.head,w=ut(_.from(),x.anchor)):(b=x.anchor,w=lt(_.to(),x.head));var S=l.ranges.slice(0);S[s]=ks(e,new io(ft(o,w),b)),Uo(o,oo(e,S,s),G)}}var d=i.wrapper.getBoundingClientRect(),p=0;function g(t){var n=++p,a=Lr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ot(a,f)){e.curOp.focus=D(),h(a);var s=ei(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Mi(e,(function(){p==n&&g(t)})),150)}else{var l=t.clientY<d.top?-20:t.clientY>d.bottom?20:0;l&&setTimeout(Mi(e,(function(){p==n&&(i.scroller.scrollTop+=l,g(t))})),50)}}function v(t){e.state.selectingText=!1,p=1/0,t&&(we(t),i.input.focus()),ve(i.wrapper.ownerDocument,"mousemove",y),ve(i.wrapper.ownerDocument,"mouseup",m),o.history.lastSelOrigin=null}var y=Mi(e,(function(e){0!==e.buttons&&Ce(e)?g(e):v(e)})),m=Mi(e,v);e.state.selectingText=m,pe(i.wrapper.ownerDocument,"mousemove",y),pe(i.wrapper.ownerDocument,"mouseup",m)}function ks(e,t){var n=t.anchor,r=t.head,i=$e(e.doc,n.line);if(0==ot(n,r)&&n.sticky==r.sticky)return t;var o=he(i);if(!o)return t;var a=ce(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=ce(o,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?f<0:f>0}var h=o[u+(l?-1:0)],d=l==(1==h.level),p=d?h.from:h.to,g=d?"after":"before";return n.ch==p&&n.sticky==g?t:new io(new it(n.line,p,g),r)}function Es(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&we(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!_e(e,n))return ke(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var u=a.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=i){var c=tt(e.doc,o),f=e.display.gutterSpecs[l];return ye(e,n,e,c,f.className,t),ke(t)}}}function Os(e,t){return Es(e,t,"gutterClick",!0)}function Cs(e,t){Vn(e.display,t)||As(e,t)||me(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function As(e,t){return!!_e(e,"gutterContextMenu")&&Es(e,t,"gutterContextMenu",!1)}function Ts(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fr(e)}gs.prototype.compare=function(e,t,n){return this.time+ps>e&&0==ot(t,this.pos)&&n==this.button};var Ps={toString:function(){return"CodeMirror.Init"}},Ms={},Ds={};function Is(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Ps&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Ps,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,ho(e)}),!0),n("indentUnit",2,ho,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){po(e),fr(e),jr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(it(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ra(e.doc,t,n[i],it(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ps&&e.refresh()})),n("specialCharPlaceholder",gn,(function(e){return e.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(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!_),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Ts(e),$i(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ga(t),i=n!=Ps&&Ga(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Rs,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Yi(t,e.options.lineNumbers),$i(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Mr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return yi(e)}),!0),n("scrollbarStyle","native",(function(e){_i(e),yi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Yi(e.options.gutters,t),$i(e)}),!0),n("firstLineNumber",1,$i,!0),n("lineNumberFormatter",(function(e){return e}),$i,!0),n("showCursorWhenSelecting",!1,Hr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Zr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Ls),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Hr,!0),n("singleCursorHeightPerLine",!0,Hr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,po,!0),n("addModeClass",!1,po,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,po,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Ls(e,t,n){var r=n&&n!=Ps;if(!t!=!r){var i=e.display.dragFunctions,o=t?pe:ve;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Rs(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(O(e.display.wrapper,"CodeMirror-wrap"),sn(e)),Ir(e),jr(e),fr(e),setTimeout((function(){return yi(e)}),100)}function js(e,t){var n=this;if(!(this instanceof js))return new js(e,t);this.options=t=t?N(t):{},N(Ms,t,!1);var r=t.value;"string"==typeof r?r=new wa(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new js.inputStyles[t.inputStyle](this),o=this.display=new Zi(e,r,i,t);for(var u in o.wrapper.CodeMirror=this,Ts(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),_i(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 F,keySeq:null,specialChars:null},t.autofocus&&!y&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Ns(this),Pa(),wi(this),this.curOp.forceUpdate=!0,mo(this,r),t.autofocus&&!y||this.hasFocus()?setTimeout(j($r,this),20):Zr(this),Ds)Ds.hasOwnProperty(u)&&Ds[u](this,t[u],Ps);Xi(this),t.finishInit&&t.finishInit(this);for(var c=0;c<Bs.length;++c)Bs[c](this);Si(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Ns(e){var t=e.display;pe(t.scroller,"mousedown",Mi(e,ys)),pe(t.scroller,"dblclick",a&&s<11?Mi(e,(function(t){if(!me(e,t)){var n=Lr(e,t);if(n&&!Os(e,t)&&!Vn(e.display,t)){we(t);var r=e.findWordAt(n);Ro(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||we(t)}),pe(t.scroller,"contextmenu",(function(t){return Cs(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||Cs(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),r=t.activeTouch,r.end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!me(e,i)&&!o(i)&&!Os(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Vn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new io(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new io(it(a.line,0),ft(e.doc,it(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),we(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(fi(e,t.scroller.scrollTop),di(e,t.scroller.scrollLeft,!0),ye(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return no(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return no(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||Ee(t)},over:function(t){me(e,t)||(Oa(e,t),Ee(t))},start:function(t){return Ea(e,t)},drop:Mi(e,ka),leave:function(t){me(e,t)||Ca(e)}};var u=t.input.getField();pe(u,"keyup",(function(t){return cs.call(e,t)})),pe(u,"keydown",Mi(e,ls)),pe(u,"keypress",Mi(e,fs)),pe(u,"focus",(function(t){return $r(e,t)})),pe(u,"blur",(function(t){return Zr(e,t)}))}js.defaults=Ms,js.optionHandlers=Ds;var Bs=[];function Fs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=mt(e,t).state:n="prev");var a=e.options.tabSize,s=$e(o,t),l=B(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(u=o.mode.indent(i,s.text.slice(c.length),s.text),u==H||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?B($e(o,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var f="",h=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/a);d;--d)h+=a,f+="\t";if(h<u&&(f+=Y(u-h)),f!=c)return ra(o,f,it(t,0),it(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<c.length){var v=it(t,c.length);No(o,p,new io(v,v));break}}}js.defineInitHook=function(e){return Bs.push(e)};var zs=null;function Us(e){zs=e}function Hs(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Ie(t),u=null;if(s&&r.ranges.length>1)if(zs&&zs.text.join("\n")==t){if(r.ranges.length%zs.text.length==0){u=[];for(var c=0;c<zs.text.length;c++)u.push(o.splitLines(zs.text[c]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(u=$(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,h=r.ranges.length-1;h>=0;h--){var d=r.ranges[h],p=d.from(),g=d.to();d.empty()&&(n&&n>0?p=it(p.line,p.ch-n):e.state.overwrite&&!s?g=it(g.line,Math.min($e(o,g.line).text.length,g.ch+K(l).length)):s&&zs&&zs.lineWise&&zs.text.join("\n")==t&&(p=g=it(p.line,0)));var v={from:p,to:g,text:u?u[h%u.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Zo(e.doc,v),An(e,"inputRead",e,v)}t&&!s&&Gs(e,t),ai(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Vs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Pi(t,(function(){return Hs(t,n,0,null,"paste")})),!0}function Gs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Fs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test($e(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Fs(e,i.head.line,"smart"));a&&An(e,"electricInput",e,i.head.line)}}}function Ws(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:it(i,0),head:it(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function qs(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function Xs(){var e=T("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=T("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),qs(e),t}function Ys(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Mi(this,t[e])(this,n,i),ye(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Ga(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Di((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");Z(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,jr(this)})),removeOverlay:Di((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void jr(this)}})),indentLine:Di((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),nt(this.doc,e)&&Fs(this,e,t,n)})),indentSelection:Di((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Fs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ai(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)Fs(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[r].from().ch>0&&No(this.doc,r,new io(o,u[r].to()),V)}}})),getTokenAt:function(e,t){return St(this,e,t)},getLineTokens:function(e,t){return St(this,it(e),t,!0)},getTokenTypeAt:function(e){e=ft(this.doc,e);var t,n=yt(this,$e(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][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 u=i._global[l];u.pred(o,this)&&-1==z(r,u.val)&&r.push(u.val)}return r},getStateAfter:function(e,t){var n=this.doc;return e=ct(n,null==e?n.first+n.size-1:e),mt(this,e+1,t).state},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?ft(this.doc,e):e?r.from():r.to(),mr(this,n,t||"page")},charCoords:function(e,t){return yr(this,ft(this.doc,e),t||"page")},coordsChar:function(e,t){return e=vr(this,e,t||"page"),xr(this,e.left,e.top)},lineAtHeight:function(e,t){return e=vr(this,{top:e,left:0},t||"page").top,tt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=$e(this.doc,e)}else r=e;return gr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-on(r):0)},defaultTextHeight:function(){return Ar(this.display)},defaultCharWidth:function(){return Tr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=mr(this,ft(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ri(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Di(ls),triggerOnKeyPress:Di(fs),triggerOnKeyUp:cs,triggerOnMouseDown:Di(ys),execCommand:function(e){if($a.hasOwnProperty(e))return $a[e].call(null,this)},triggerElectric:Di((function(e){Gs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=ft(this.doc,e),a=0;a<t;++a)if(o=Ks(this.doc,o,i,n,r),o.hitSide)break;return o},moveH:Di((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Ks(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),W)})),deleteH:Di((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Wa(this,(function(n){var i=Ks(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=ft(this.doc,e),s=0;s<t;++s){var l=mr(this,a,"div");if(null==o?o=l.left:l.left=o,a=$s(this,l,i,n),a.hitSide)break}return a},moveV:Di((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=mr(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=$s(n,s,e,t);return"page"==t&&a==r.sel.primary()&&oi(n,yr(n,l,"div").top-s.top),l}),W),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=this.doc,n=$e(t,e.line).text,r=e.ch,i=e.ch;if(n){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=n.length||!r?++i:--r;var a=n.charAt(r),s=ne(a,o)?function(e){return ne(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ne(e)};while(r>0&&s(n.charAt(r-1)))--r;while(i<n.length&&s(n.charAt(i)))++i}return new io(it(e.line,r),it(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):O(this.display.cursorDiv,"CodeMirror-overwrite"),ye(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==D()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Di((function(e,t){si(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Xn(this)-this.display.barHeight,width:e.scrollWidth-Xn(this)-this.display.barWidth,clientHeight:Kn(this),clientWidth:Yn(this)}},scrollIntoView:Di((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:it(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?li(this,e):ci(this,e.from,e.to,e.margin)})),setSize:Di((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&cr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Nr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,ye(this,"refresh",this)})),operation:function(e){return Pi(this,e)},startOperation:function(){return wi(this)},endOperation:function(){return Si(this)},refresh:Di((function(){var e=this.display.cachedTextHeight;jr(this),this.curOp.forceUpdate=!0,fr(this),si(this,this.doc.scrollLeft,this.doc.scrollTop),Gi(this.display),(null==e||Math.abs(e-Ar(this.display))>.5||this.options.lineWrapping)&&Ir(this),ye(this,"refresh",this)})),swapDoc:Di((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),mo(this,e),fr(this),this.display.input.reset(),si(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,An(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},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}},xe(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function Ks(e,t,n,r,i){var o=t,a=n,s=$e(e,t.line),l=i&&"rtl"==e.direction?-n:n;function u(){var n=t.line+l;return!(n<e.first||n>=e.first+e.size)&&(t=new it(n,t.ch,t.sticky),s=$e(e,n))}function c(r){var o;if(o=i?Ka(e.cm,s,t,n):Xa(s,t,n),null==o){if(r||!u())return!1;t=Ya(i,e.cm,s,t.line,l)}else t=o;return!0}if("char"==r)c();else if("column"==r)c(!0);else if("word"==r||"group"==r)for(var f=null,h="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!c(!p))break;var g=s.text.charAt(t.ch)||"\n",v=ne(g,d)?"w":h&&"\n"==g?"n":!h||/\s/.test(g)?null:"p";if(!h||p||v||(v="s"),f&&f!=v){n<0&&(n=1,c(),t.sticky="after");break}if(v&&(f=v),n>0&&!c(!p))break}var y=Xo(e,t,o,a,!0);return at(o,y)&&(y.hitSide=!0),y}function $s(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*Ar(e.display),3);i=(n>0?t.bottom:t.top)+n*u}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=xr(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Zs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new F,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Js(e,t){var n=er(e,t.line);if(!n||n.hidden)return null;var r=$e(e.doc,t.line),i=Zn(n,r,t.line),o=he(r,e.doc.direction),a="left";if(o){var s=ce(o,t.ch);a=s%2?"right":"left"}var l=or(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function Qs(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function u(e){return function(t){return t.id==e}}function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function f(e){e&&(c(),o+=e)}function h(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void f(n);var o,d=t.getAttribute("cm-marker");if(d){var p=e.findMarks(it(r,0),it(i+1,0),u(+d));return void(p.length&&(o=p[0].find(0))&&f(Ze(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var g=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;g&&c();for(var v=0;v<t.childNodes.length;v++)h(t.childNodes[v]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),g&&(a=!0)}else 3==t.nodeType&&f(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;;){if(h(t),t==n)break;t=t.nextSibling,l=!1}return o}function nl(e,t,n){var r;if(t==e.display.lineDiv){if(r=e.display.lineDiv.childNodes[n],!r)return el(e.clipPos(it(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return rl(o,t,n)}}function rl(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!M(r,t))return el(it(et(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?K(e.rest):e.line;return el(it(et(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));while(s.parentNode!=r)s=s.parentNode;var l=e.measure,u=l.maps;function c(t,n,r){for(var i=-1;i<(u?u.length:0);i++)for(var o=i<0?l.map:u[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var c=et(i<0?e.line:e.rest[i]),f=o[a]+r;return(r<0||s!=t)&&(f=o[a+(r?1:0)]),it(c,f)}}}var f=c(a,s,n);if(f)return el(f,i);for(var h=s.nextSibling,d=a?a.nodeValue.length-n:0;h;h=h.nextSibling){if(f=c(h,h.firstChild,0),f)return el(it(f.line,f.ch-d),i);d+=h.textContent.length}for(var p=s.previousSibling,g=n;p;p=p.previousSibling){if(f=c(p,p.firstChild,-1),f)return el(it(f.line,f.ch+g),i);g+=p.textContent.length}}Zs.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){if(!me(r,e)){if(r.somethingSelected())Us({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Ws(r);Us({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,V),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var o=zs.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var a=Xs(),s=a.firstChild;r.display.lineSpace.insertBefore(a,r.display.lineSpace.firstChild),s.value=zs.text.join("\n");var l=document.activeElement;R(s),setTimeout((function(){r.display.lineSpace.removeChild(a),l.focus(),l==i&&n.showPrimarySelection()}),50)}}qs(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){me(r,e)||Vs(e,r)||s<=11&&setTimeout(Mi(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",o),pe(i,"cut",o)},Zs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Zs.prototype.prepareSelection=function(){var e=Vr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Zs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Zs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Zs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=nl(t,e.anchorNode,e.anchorOffset),s=nl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=ot(ut(a,s),i)||0!=ot(lt(a,s),o)){var l=t.display.view,u=i.line>=t.display.viewFrom&&Js(t,i)||{node:l[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&Js(t,o);if(!c){var f=l[l.length-1].measure,h=f.maps?f.maps[f.maps.length-1]:f.map;c={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(u&&c){var d,p=e.rangeCount&&e.getRangeAt(0);try{d=E(u.node,u.offset,c.offset,c.node)}catch(g){}d&&(!n&&t.state.focused?(e.collapse(u.node,u.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Zs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Zs.prototype.showMultipleSelections=function(e){A(this.cm.display.cursorDiv,e.cursors),A(this.cm.display.selectionDiv,e.selection)},Zs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Zs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return M(this.div,t)},Zs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Zs.prototype.blur=function(){this.div.blur()},Zs.prototype.getField=function(){return this.div},Zs.prototype.supportsTouch=function(){return!0},Zs.prototype.receivedFocus=function(){var e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Pi(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,t)},Zs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Zs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&c&&this.cm.display.gutterSpecs.length&&Qs(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=nl(t,e.anchorNode,e.anchorOffset),r=nl(t,e.focusNode,e.focusOffset);n&&r&&Pi(t,(function(){Uo(t.doc,ao(n,r),V),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Zs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,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=it(a.line-1,$e(r.doc,a.line-1).length)),s.ch==$e(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=it(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Rr(r,a.line))?(t=et(i.view[0].line),n=i.view[0].node):(t=et(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,u,c=Rr(r,s.line);if(c==i.view.length-1?(l=i.viewTo-1,u=i.lineDiv.lastChild):(l=et(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!n)return!1;var f=r.doc.splitLines(tl(r,n,u,t,l)),h=Ze(r.doc,it(t,0),it(l,$e(r.doc,l).text.length));while(f.length>1&&h.length>1)if(K(f)==K(h))f.pop(),h.pop(),l--;else{if(f[0]!=h[0])break;f.shift(),h.shift(),t++}var d=0,p=0,g=f[0],v=h[0],y=Math.min(g.length,v.length);while(d<y&&g.charCodeAt(d)==v.charCodeAt(d))++d;var m=K(f),b=K(h),_=Math.min(m.length-(1==f.length?d:0),b.length-(1==h.length?d:0));while(p<_&&m.charCodeAt(m.length-p-1)==b.charCodeAt(b.length-p-1))++p;if(1==f.length&&1==h.length&&t==a.line)while(d&&d>a.ch&&m.charCodeAt(m.length-p-1)==b.charCodeAt(b.length-p-1))d--,p++;f[f.length-1]=m.slice(0,m.length-p).replace(/^\u200b+/,""),f[0]=f[0].slice(d).replace(/\u200b+$/,"");var x=it(t,d),w=it(l,h.length?K(h).length-p:0);return f.length>1||f[0]||ot(x,w)?(ra(r.doc,f,x,w,"+input"),!0):void 0},Zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Zs.prototype.reset=function(){this.forceCompositionEnd()},Zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Zs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Zs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Pi(this.cm,(function(){return jr(e.cm)}))},Zs.prototype.setUneditable=function(e){e.contentEditable="false"},Zs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Mi(this.cm,Hs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Zs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Zs.prototype.onContextMenu=function(){},Zs.prototype.resetPosition=function(){},Zs.prototype.needsContentAttribute=!0;var il=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new F,this.hasSelection=!1,this.composing=null};function ol(e,t){if(t=t?N(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=D();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ve(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=js((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function al(e){e.off=ve,e.on=pe,e.wheelEventPixels=to,e.Doc=wa,e.splitLines=Ie,e.countColumn=B,e.findColumn=q,e.isWordChar=te,e.Pass=H,e.signal=ye,e.Line=ln,e.changeEnd=so,e.scrollbarModel=bi,e.Pos=it,e.cmpPos=ot,e.modes=Be,e.mimeModes=Fe,e.resolveMode=He,e.getMode=Ve,e.modeExtensions=Ge,e.extendMode=We,e.copyState=qe,e.startState=Ye,e.innerMode=Xe,e.commands=$a,e.keyMap=Na,e.keyName=Va,e.isModifierKey=Ua,e.lookupKey=za,e.normalizeKeyMap=Fa,e.StringStream=Ke,e.SharedTextMarker=va,e.TextMarker=pa,e.LineWidget=ca,e.e_preventDefault=we,e.e_stopPropagation=Se,e.e_stop=Ee,e.addClass=I,e.contains=M,e.rmClass=O,e.keyNames=Ia}il.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Us({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ws(r);Us({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,V):(n.prevInput="",i.value=t.text.join("\n"),R(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){me(r,e)||Vs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!Vn(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Vn(e,t)||we(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},il.prototype.createField=function(e){this.wrapper=Xs(),this.textarea=this.wrapper.firstChild},il.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},il.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Vr(e);if(e.options.moveInputWithCursor){var i=mr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},il.prototype.showSelection=function(e){var t=this.cm,n=t.display;A(n.cursorDiv,e.cursors),A(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},il.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&R(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},il.prototype.getField=function(){return this.textarea},il.prototype.supportsTouch=function(){return!1},il.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!y||D()!=this.textarea))try{this.textarea.focus()}catch(e){}},il.prototype.blur=function(){this.textarea.blur()},il.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},il.prototype.receivedFocus=function(){this.slowPoll()},il.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},il.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},il.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Le(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||m&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,u=Math.min(r.length,i.length);while(l<u&&r.charCodeAt(l)==i.charCodeAt(l))++l;return Pi(t,(function(){Hs(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},il.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},il.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},il.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Lr(n,e),u=r.scroller.scrollTop;if(o&&!f){var c=n.options.resetSelectionOnContextMenu;c&&-1==n.doc.sel.contains(o)&&Mi(n,Uo)(n.doc,ao(o),V);var h,d=i.style.cssText,p=t.wrapper.style.cssText,g=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-g.top-5)+"px; left: "+(e.clientX-g.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&&(h=window.scrollY),r.input.focus(),l&&window.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=m,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&y(),S){Ee(e);var v=function(){ve(window,"mouseup",v),setTimeout(m,20)};pe(window,"mouseup",v)}else setTimeout(m,50)}function y(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=d,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=i.selectionStart)){(!a||a&&s<9)&&y();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?Mi(n,Ko)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},il.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},il.prototype.setUneditable=function(){},il.prototype.needsContentAttribute=!1,Is(js),Ys(js);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in wa.prototype)wa.prototype.hasOwnProperty(ll)&&z(sl,ll)<0&&(js.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(wa.prototype[ll]));return xe(wa),js.inputStyles={textarea:il,contenteditable:Zs},js.defineMode=function(e){js.defaults.mode||"null"==e||(js.defaults.mode=e),ze.apply(this,arguments)},js.defineMIME=Ue,js.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),js.defineMIME("text/plain","null"),js.defineExtension=function(e,t){js.prototype[e]=t},js.defineDocExtension=function(e,t){wa.prototype[e]=t},js.fromTextArea=ol,al(js),js.version="5.53.2",js}))},a719:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},a8a2:function(e,t){function n(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1}}function r(t){e.exports.defaults=t}e.exports={defaults:n(),getDefaults:n,changeDefaults:r}},aa6b:function(e,t,n){var r=n("1e2c"),i=n("ef71"),o=n("38b9"),a=n("da10"),s=n("9f67"),l=n("faa8"),u=n("2039"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},ac30:function(e,t,n){const{noopTest:r,edit:i,merge:o}=n("322c"),a={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:r,table:r,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};a.def=i(a.def).replace("label",a._label).replace("title",a._title).getRegex(),a.bullet=/(?:[*+-]|\d{1,9}\.)/,a.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,a.item=i(a.item,"gm").replace(/bull/g,a.bullet).getRegex(),a.list=i(a.list).replace(/bull/g,a.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+a.def.source+")").getRegex(),a._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",a._comment=/<!--(?!-?>)[\s\S]*?-->/,a.html=i(a.html,"i").replace("comment",a._comment).replace("tag",a._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),a.paragraph=i(a._paragraph).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.blockquote=i(a.blockquote).replace("paragraph",a.paragraph).getRegex(),a.normal=o({},a),a.gfm=o({},a.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),a.gfm.nptable=i(a.gfm.nptable).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.gfm.table=i(a.gfm.table).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.pedantic=o({},a.normal,{html:i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",a._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:r,paragraph:i(a.normal._paragraph).replace("hr",a.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",a.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const s={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:r,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:r,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+\\-./:;<=>?@\\[^_{|}~"};s.em=i(s.em).replace(/punctuation/g,s._punctuation).getRegex(),s._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,s._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,s._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,s.autolink=i(s.autolink).replace("scheme",s._scheme).replace("email",s._email).getRegex(),s._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,s.tag=i(s.tag).replace("comment",a._comment).replace("attribute",s._attribute).getRegex(),s._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,s._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,s._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,s.link=i(s.link).replace("label",s._label).replace("href",s._href).replace("title",s._title).getRegex(),s.reflink=i(s.reflink).replace("label",s._label).getRegex(),s.normal=o({},s),s.pedantic=o({},s.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:i(/^!?\[(label)\]\((.*?)\)/).replace("label",s._label).getRegex(),reflink:i(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",s._label).getRegex()}),s.gfm=o({},s.normal,{escape:i(s.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),s.gfm.url=i(s.gfm.url,"i").replace("email",s.gfm._extended_email).getRegex(),s.breaks=o({},s.gfm,{br:i(s.br).replace("{2,}","*").getRegex(),text:i(s.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),e.exports={block:a,inline:s}},ae25:function(e,t,n){var r=n("d890"),i=n("a719"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},b2e0:function(e,t,n){(function(e){e(n("a564"))})((function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(r,i){var o,a,s=r.indentUnit,l={},u=i.htmlMode?t:n;for(var c in u)l[c]=u[c];for(var c in i)l[c]=i[c];function f(e,t){function n(n){return t.tokenize=n,n(e,t)}var r,i=e.next();return"<"==i?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(p("atom","]]>")):null:e.match("--")?n(p("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(g(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=p("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=h,"tag bracket"):"&"==i?(r=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),r?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function h(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=f,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=f,t.state=b,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=d(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function d(e){var t=function(t,n){while(!t.eol())if(t.next()==e){n.tokenize=h;break}return"string"};return t.isInAttribute=!0,t}function p(e,t){return function(n,r){while(!n.eol()){if(n.match(t)){r.tokenize=f;break}n.next()}return e}}function g(e){return function(t,n){var r;while(null!=(r=t.next())){if("<"==r)return n.tokenize=g(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=f;break}return n.tokenize=g(e-1),n.tokenize(t,n)}}return"meta"}}function v(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function y(e){e.context&&(e.context=e.context.prev)}function m(e,t){var n;while(1){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;y(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),_):"closeTag"==e?x:b}function _(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",k):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",k(e,t,n)):(a="error",_)}function x(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&y(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",w):(a="tag error",S)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",w(e,t,n)):(a="error",S)}function w(e,t,n){return"endTag"!=e?(a="error",w):(y(n),b)}function S(e,t,n){return a="error",w(e,t,n)}function k(e,t,n){if("word"==e)return a="attribute",E;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?m(n,r):(m(n,r),n.context=new v(n,r,i==n.indented)),b}return a="error",k}function E(e,t,n){return"equals"==e?O:(l.allowMissing||(a="error"),k(e,t,n))}function O(e,t,n){return"string"==e?C:"word"==e&&l.allowUnquoted?(a="string",k):(a="error",k(e,t,n))}function C(e,t,n){return"string"==e?C:k(e,t,n)}return f.isInText=!0,{startState:function(e){var t={tokenize:f,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=h&&t.tokenize!=f)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var o=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(o&&o[1])while(i){if(i.tagName==o[2]){i=i.prev;break}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(o)while(i){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev}while(i&&i.prev&&!i.startOfLine)i=i.prev;return i?i.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==O&&(e.state=k)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)n.tagName&&t.push(n.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}))},b338:function(e,t,n){var r=n("ead4"),i=n("18f6"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},b702:function(e,t,n){var r,i,o,a=n("604f"),s=n("d890"),l=n("a719"),u=n("0fc1"),c=n("faa8"),f=n("7db2"),h=n("d5a8"),d=s.WeakMap,p=function(e){return o(e)?i(e):r(e,{})},g=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var v=new d,y=v.get,m=v.has,b=v.set;r=function(e,t){return b.call(v,e,t),t},i=function(e){return y.call(v,e)||{}},o=function(e){return m.call(v,e)}}else{var _=f("state");h[_]=!0,r=function(e,t){return u(e,_,t),t},i=function(e){return c(e,_)?e[_]:{}},o=function(e){return c(e,_)}}e.exports={set:r,get:i,has:o,enforce:p,getterFor:g}},b73f:function(e,t,n){var r=n("1c8b"),i=n("efe2"),o=n("da10"),a=n("aa6b").f,s=n("1e2c"),l=i((function(){a(1)})),u=!s||l;r({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},bf84:function(e,t,n){var r=n("1c8b"),i=n("1e2c"),o=n("8d44"),a=n("da10"),s=n("aa6b"),l=n("1bbd");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,n,r=a(e),i=s.f,u=o(r),c={},f=0;while(u.length>f)n=i(r,t=u[f++]),void 0!==n&&l(c,t,n);return c}})},c051:function(e,t,n){var r=n("da10"),i=n("b338").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},c54b:function(e,t,n){var r=n("efe2");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},c59c:function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(f){var e,t,n,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,o=r.exec(f.stack)||i.exec(f.stack),a=o&&o[1]||!1,s=o&&o[2]||!1,l=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");a===l&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=e.replace(t,"$1").trim());for(var c=0;c<u.length;c++){if("interactive"===u[c].readyState)return u[c];if(u[c].src===a)return u[c];if(a===l&&u[c].innerHTML&&u[c].innerHTML.trim()===n)return u[c]}return null}}return e}))},c69d:function(e,t,n){var r=n("faa8"),i=n("8d44"),o=n("aa6b"),a=n("d910");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},cbab:function(e,t,n){var r=n("ead4"),i=n("18f6");e.exports=Object.keys||function(e){return r(e,i)}},ccf5:function(e,t,n){},d5a8:function(e,t){e.exports={}},d776:function(e,t,n){(function(e){e(n("a564"))})((function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,i){return(e!=i.streamSeen||Math.min(i.basePos,i.overlayPos)<e.start)&&(i.streamSeen=e,i.basePos=i.overlayPos=e.start),e.start==i.basePos&&(i.baseCur=t.token(e,i.base),i.basePos=e.pos),e.start==i.overlayPos&&(e.pos=e.start,i.overlayCur=n.token(e,i.overlay),i.overlayPos=e.pos),e.pos=Math.min(i.basePos,i.overlayPos),null==i.overlayCur?i.baseCur:null!=i.baseCur&&i.overlay.combineTokens||r&&null==i.overlay.combineTokens?i.baseCur+" "+i.overlayCur:i.overlayCur},indent:t.indent&&function(e,n,r){return t.indent(e.base,n,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var i,o;return t.blankLine&&(i=t.blankLine(e.base)),n.blankLine&&(o=n.blankLine(e.overlay)),null==o?i:r&&null!=i?i+" "+o:o}}}}))},d7e1:function(e,t,n){"use strict";var r=n("efe2");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},d88d:function(e,t,n){var r=n("3da3"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},d890:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("9edd"))},d910:function(e,t,n){var r=n("1e2c"),i=n("2039"),o=n("857c"),a=n("9f67"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},da10:function(e,t,n){var r=n("692f"),i=n("2732");e.exports=function(e){return r(i(e))}},dbb3:function(e,t,n){"use strict";var r=n("1c8b"),i=n("5dfd").filter,o=n("1ea7"),a=n("ff9c"),s=o("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},dbe8:function(e,t,n){var r=n("1e2c"),i=n("d910"),o=n("857c"),a=n("cbab");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},e1d6:function(e,t,n){var r=n("3da3"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},e349:function(e,t,n){var r=n("0c3c");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},e4db:function(e,t,n){var r=n("d890"),i=n("0fc1");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},e8d6:function(e,t,n){var r=n("efe2"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},ead4:function(e,t,n){var r=n("faa8"),i=n("da10"),o=n("45af").indexOf,a=n("d5a8");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},ef71:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},efe2:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},f3dd:function(e,t,n){"use strict";var r=n("1c8b"),i=n("d890"),o=n("6d7a"),a=n("9b9d"),s=n("1e2c"),l=n("c54b"),u=n("74cb"),c=n("efe2"),f=n("faa8"),h=n("74e7"),d=n("a719"),p=n("857c"),g=n("3553"),v=n("da10"),y=n("9f67"),m=n("38b9"),b=n("6d60"),_=n("cbab"),x=n("b338"),w=n("c051"),S=n("0a60"),k=n("aa6b"),E=n("d910"),O=n("ef71"),C=n("0fc1"),A=n("1944"),T=n("6d28"),P=n("7db2"),M=n("d5a8"),D=n("7e8b"),I=n("90fb"),L=n("4350"),R=n("6d51"),j=n("27b5"),N=n("b702"),B=n("5dfd").forEach,F=P("hidden"),z="Symbol",U="prototype",H=I("toPrimitive"),V=N.set,G=N.getterFor(z),W=Object[U],q=i.Symbol,X=o("JSON","stringify"),Y=k.f,K=E.f,$=w.f,Z=O.f,J=T("symbols"),Q=T("op-symbols"),ee=T("string-to-symbol-registry"),te=T("symbol-to-string-registry"),ne=T("wks"),re=i.QObject,ie=!re||!re[U]||!re[U].findChild,oe=s&&c((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Y(W,t);r&&delete W[t],K(e,t,n),r&&e!==W&&K(W,t,r)}:K,ae=function(e,t){var n=J[e]=b(q[U]);return V(n,{type:z,tag:e,description:t}),s||(n.description=t),n},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},le=function(e,t,n){e===W&&le(Q,t,n),p(e);var r=y(t,!0);return p(n),f(J,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=b(n,{enumerable:m(0,!1)})):(f(e,F)||K(e,F,m(1,{})),e[F][r]=!0),oe(e,r,n)):K(e,r,n)},ue=function(e,t){p(e);var n=v(t),r=_(n).concat(pe(n));return B(r,(function(t){s&&!fe.call(n,t)||le(e,t,n[t])})),e},ce=function(e,t){return void 0===t?b(e):ue(b(e),t)},fe=function(e){var t=y(e,!0),n=Z.call(this,t);return!(this===W&&f(J,t)&&!f(Q,t))&&(!(n||!f(this,t)||!f(J,t)||f(this,F)&&this[F][t])||n)},he=function(e,t){var n=v(e),r=y(t,!0);if(n!==W||!f(J,r)||f(Q,r)){var i=Y(n,r);return!i||!f(J,r)||f(n,F)&&n[F][r]||(i.enumerable=!0),i}},de=function(e){var t=$(v(e)),n=[];return B(t,(function(e){f(J,e)||f(M,e)||n.push(e)})),n},pe=function(e){var t=e===W,n=$(t?Q:v(e)),r=[];return B(n,(function(e){!f(J,e)||t&&!f(W,e)||r.push(J[e])})),r};if(l||(q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=D(e),n=function(e){this===W&&n.call(Q,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),oe(this,t,m(1,e))};return s&&ie&&oe(W,t,{configurable:!0,set:n}),ae(t,e)},A(q[U],"toString",(function(){return G(this).tag})),A(q,"withoutSetter",(function(e){return ae(D(e),e)})),O.f=fe,E.f=le,k.f=he,x.f=w.f=de,S.f=pe,L.f=function(e){return ae(I(e),e)},s&&(K(q[U],"description",{configurable:!0,get:function(){return G(this).description}}),a||A(W,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),B(_(ne),(function(e){R(e)})),r({target:z,stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var n=q(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:ce,defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:he}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:c((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(g(e))}}),X){var ge=!l||c((function(){var e=q();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}));r({target:"JSON",stat:!0,forced:ge},{stringify:function(e,t,n){var r,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(r=t,(d(t)||void 0!==e)&&!se(e))return h(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),i[1]=t,X.apply(null,i)}})}q[U][H]||C(q[U],H,q[U].valueOf),j(q,z),M[F]=!0},f4a0:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,i=n("c59c");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"simple-mde",class:e.classes},[n("textarea",{ref:"mde"})])},s=[];function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("f3dd"),n("dbb3"),n("fe59"),n("b73f"),n("bf84"),n("fe8a"),n("08ba"),n("508f");var f=n("4d02"),h=n.n(f),d=(n("ccf5"),n("094f")),p=n.n(d),g=(n("0e50"),{name:"MarkdownEditor",props:{value:{type:String,default:""},border:{type:Boolean,default:!1},config:{type:Object,default:function(){return{}}}},data:function(){return{mde:null,defaultConfig:{}}},computed:{classes:function(){return[{"i-mde-no-border":!this.border}]}},mounted:function(){this.init()},beforeDestroy:function(){this.mde=null},methods:{init:function(){var e=this,t=Object.assign({},this.defaultConfig,this.config);this.mde=new h.a(c(c({},t),{},{initialValue:this.value,element:this.$refs.mde,autoDownloadFontAwesome:!1})),this.mde.codemirror.on("change",(function(){e.$emit("input",e.mde.value()),e.$emit("on-change",e.mde.value());var t=p()(e.mde.value()||"",{renderer:new p.a.Renderer,gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,smartLists:!0,smartypants:!1});e.$emit("show-html",'<div class="markdown-body" >'+t+"</div>")}))},add:function(e){this.mde&&this.mde.value(this.value+e)},replace:function(e){this.mde&&this.mde.value(e)}}}),v=g;function y(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var m=y(v,a,s,!1,null,null,null),b=m.exports,_=b;"undefined"!==typeof window&&window.Vue&&window.Vue.component("zx-markdown-editor",b),t["default"]=_},f590:function(e,t,n){(function(e){e(n("a564"))})((function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function n(e){t(e);var n=e.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=e.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var r=e.getOption("placeholder");"string"==typeof r&&(r=document.createTextNode(r)),n.appendChild(r),e.display.lineSpace.insertBefore(n,e.display.lineSpace.firstChild)}function r(e){o(e)&&n(e)}function i(e){var r=e.getWrapperElement(),i=o(e);r.className=r.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?n(e):t(e)}function o(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(n,o,a){var s=a&&a!=e.Init;if(o&&!s)n.on("blur",r),n.on("change",i),n.on("swapDoc",i),i(n);else if(!o&&s){n.off("blur",r),n.off("change",i),n.off("swapDoc",i),t(n);var l=n.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}o&&!n.hasFocus()&&r(n)}))}))},f594:function(e,t,n){var r,i,o=n("d890"),a=n("4fda"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},f5ef:function(e,t){e.exports=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}},faa8:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},fe59:function(e,t,n){"use strict";var r=n("1c8b"),i=n("3c10");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},fe5a:function(e,t,n){(function(e){e(n("a564"),n("b2e0"),n("6d86"))})((function(e){"use strict";e.defineMode("markdown",(function(t,n){var r=e.getMode(t,"text/html"),i="null"==r.name;function o(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in a)a.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(a[s]=n.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,u=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,f=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,g=/^\s*\[[^\]]+?\]:.*$/,v=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,y=" ";function m(e,t,n){return t.f=t.inline=n,n(e,t)}function b(e,t,n){return t.f=t.block=n,n(e,t)}function _(e){return!e||!/\S/.test(e.string)}function x(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==S){var n=i;if(!n){var o=e.innerMode(r,t.htmlState);n="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}n&&(t.f=C,t.block=w,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function w(t,r){var i=t.column()===r.indentation,s=_(r.prevLine.stream),d=r.indentedCode,v=r.prevLine.hr,y=!1!==r.list,b=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var x=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,y)){r.list=null;while(x<r.listStack[r.listStack.length-1])r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=x-r.listStack[r.listStack.length-1])}var w=!s&&!v&&!r.prevLine.header&&(!y||!d)&&!r.prevLine.fencedCodeEnd,S=(!1===r.list||v||s)&&r.indentation<=b&&t.match(l),O=null;if(r.indentationDiff>=4&&(d||r.prevLine.fencedCodeEnd||r.prevLine.header||s))return t.skipToEnd(),r.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&r.indentation<=b&&(O=t.match(f))&&O[1].length<=6)return r.quote=0,r.header=O[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting="header"),r.f=r.inline,E(r);if(r.indentation<=b&&t.eat(">"))return r.quote=i?1:r.quote+1,n.highlightFormatting&&(r.formatting="quote"),t.eatSpace(),E(r);if(!S&&!r.setext&&i&&r.indentation<=b&&(O=t.match(u))){var C=O[1]?"ol":"ul";return r.indentation=x+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,n.taskLists&&t.match(c,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=["list","list-"+C]),E(r)}return i&&r.indentation<=b&&(O=t.match(p,!0))?(r.quote=0,r.fencedEndRE=new RegExp(O[1]+"+ *$"),r.localMode=n.fencedCodeBlockHighlighting&&o(O[2]),r.localMode&&(r.localState=e.startState(r.localMode)),r.f=r.block=k,n.highlightFormatting&&(r.formatting="code-block"),r.code=-1,E(r)):r.setext||!(w&&y||r.quote||!1!==r.list||r.code||S||g.test(t.string))&&(O=t.lookAhead(1))&&(O=O.match(h))?(r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),n.highlightFormatting&&(r.formatting="header")):(r.header="="==O[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,E(r)):S?(t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr):"["===t.peek()?m(t,r,D):m(t,r,r.inline)}function S(t,n){var o=r.token(t,n.htmlState);if(!i){var a=e.innerMode(r,n.htmlState);("xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=C,n.block=w,n.htmlState=null)}return o}function k(e,t){var r,i=t.listStack[t.listStack.length-1]||0,o=t.indentation<i,s=i+3;return t.fencedEndRE&&t.indentation<=s&&(o||e.match(t.fencedEndRE))?(n.highlightFormatting&&(t.formatting="code-block"),o||(r=E(t)),t.localMode=t.localState=null,t.block=w,t.f=C,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,o?b(e,t,t.block):r):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),a.code)}function E(e){var t=[];if(e.formatting){t.push(a.formatting),"string"===typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(a.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(a.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(a.linkHref,"url"):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,"link"),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+"-"+e.header),e.quote&&(t.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.quote+"-"+e.quote):t.push(a.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function O(e,t){if(e.match(d,!0))return E(t)}function C(t,i){var o=i.text(t,i);if("undefined"!==typeof o)return o;if(i.list)return i.list=null,E(i);if(i.taskList){var s=" "===t.match(c,!0)[1];return s?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,E(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),E(i);var l=t.next();if(i.linkTitle){i.linkTitle=!1;var u=l;"("===l&&(u=")"),u=(u+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var f="^\\s*(?:[^"+u+"\\\\]+|\\\\\\\\|\\\\.)"+u;if(t.match(new RegExp(f),!0))return a.linkHref}if("`"===l){var h=i.formatting;n.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var d=t.current().length;if(0!=i.code||i.quote&&1!=d){if(d==i.code){var p=E(i);return i.code=0,p}return i.formatting=h,E(i)}return i.code=d,E(i)}if(i.code)return E(i);if("\\"===l&&(t.next(),n.highlightFormatting)){var g=E(i),y=a.formatting+"-escape";return g?g+" "+y:y}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),E(i);if("["===l&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),E(i);if("]"===l&&i.imageAltText)return n.highlightFormatting&&(i.formatting="image"),g=E(i),i.imageAltText=!1,i.image=!1,i.inline=i.f=T,g;if("["===l&&!i.image)return i.linkText&&t.match(/^.*?\]/)||(i.linkText=!0,n.highlightFormatting&&(i.formatting="link")),E(i);if("]"===l&&i.linkText)return n.highlightFormatting&&(i.formatting="link"),g=E(i),i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?T:C,g;if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return i.f=i.inline=A,n.highlightFormatting&&(i.formatting="link"),g=E(i),g?g+=" ":g="",g+a.linkInline;if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return i.f=i.inline=A,n.highlightFormatting&&(i.formatting="link"),g=E(i),g?g+=" ":g="",g+a.linkEmail;if(n.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var m=t.string.indexOf(">",t.pos);if(-1!=m){var _=t.string.substring(t.start,m);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(_)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),b(t,i,S)}if(n.xml&&"<"===l&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===l||"_"===l){var x=1,w=1==t.pos?" ":t.string.charAt(t.pos-2);while(x<3&&t.eat(l))x++;var k=t.peek()||" ",O=!/\s/.test(k)&&(!v.test(k)||/\s/.test(w)||v.test(w)),P=!/\s/.test(w)&&(!v.test(w)||/\s/.test(k)||v.test(k)),M=null,D=null;if(x%2&&(i.em||!O||"*"!==l&&P&&!v.test(w)?i.em!=l||!P||"*"!==l&&O&&!v.test(k)||(M=!1):M=!0),x>1&&(i.strong||!O||"*"!==l&&P&&!v.test(w)?i.strong!=l||!P||"*"!==l&&O&&!v.test(k)||(D=!1):D=!0),null!=D||null!=M)return n.highlightFormatting&&(i.formatting=null==M?"strong":null==D?"em":"strong em"),!0===M&&(i.em=l),!0===D&&(i.strong=l),p=E(i),!1===M&&(i.em=!1),!1===D&&(i.strong=!1),p}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return E(i);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(i.strikethrough)return n.highlightFormatting&&(i.formatting="strikethrough"),p=E(i),i.strikethrough=!1,p;if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),E(i)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return E(i);t.backUp(2)}if(n.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting="emoji");var I=E(i);return i.emoji=!1,I}return" "===l&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),E(i)}function A(e,t){var r=e.next();if(">"===r){t.f=t.inline=C,n.highlightFormatting&&(t.formatting="link");var i=E(t);return i?i+=" ":i="",i+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function T(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=M("("===r?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,E(t)):"error"}var P={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function M(e){return function(t,r){var i=t.next();if(i===e){r.f=r.inline=C,n.highlightFormatting&&(r.formatting="link-string");var o=E(r);return r.linkHref=!1,o}return t.match(P[e]),r.linkHref=!0,E(r)}}function D(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=I,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,E(t)):m(e,t,C)}function I(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=L,n.highlightFormatting&&(t.formatting="link");var r=E(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function L(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=C,a.linkHref+" url")}var R={startState:function(){return{f:w,prevLine:{stream:null},thisLine:{stream:null},block:w,htmlState:null,indentation:0,inline:C,text:O,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return x(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=S)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,y).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==S?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:R}},indent:function(t,n,i){return t.block==S&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine:x,getType:E,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return R}),"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}))},fe8a:function(e,t,n){var r=n("1c8b"),i=n("3553"),o=n("cbab"),a=n("efe2"),s=a((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},ff9c:function(e,t,n){var r=n("1e2c"),i=n("efe2"),o=n("faa8"),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,f=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,f)}))}}})}))},d429:function(e,t,n){"use strict";var r=n("07fa"),i=n("5926"),o=RangeError;e.exports=function(e,t,n,a){var s=r(e),l=i(n),u=l<0?s+l:l;if(u>=s||u<0)throw new o("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===u?a:e[f];return c}},d45c:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="f928")}({"00f5":function(e,t,n){var r=n("6dd5"),i=n("a2e9"),o=n("da52");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0126":function(e,t,n){(function(t){
/*!
* Quill Editor v1.3.7
* https://quilljs.com/
* Copyright (c) 2014, Jason Chen
* Copyright (c) 2013, salesforce.com
*/
(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(18),o=n(19),a=n(45),s=n(46),l=n(47),u=n(48),c=n(49),f=n(12),h=n(32),d=n(33),p=n(31),g=n(1),v={Scope:g.Scope,create:g.create,find:g.find,query:g.query,register:g.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:u.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:d.default,Store:p.default}};t.default=v},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,a={},s={},l={},u={};function c(e,t){var n=h(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:r.create(t);return new r(o,t)}function f(e,n){return void 0===n&&(n=!1),null==e?null:null!=e[t.DATA_KEY]?e[t.DATA_KEY].blot:n?f(e.parentNode,n):null}function h(e,t){var n;if(void 0===t&&(t=o.ANY),"string"===typeof e)n=u[e]||a[e];else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE)n=u["text"];else if("number"===typeof e)e&o.LEVEL&o.BLOCK?n=u["block"]:e&o.LEVEL&o.INLINE&&(n=u["inline"]);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=s[r[i]],n)break;n=n||l[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e.length>1)return e.map((function(e){return d(e)}));var n=e[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(u[n.blotName||n.attrName]=n,"string"===typeof n.keyName)a[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)}))}return n}t.DATA_KEY="__blot",function(e){e[e["TYPE"]=3]="TYPE",e[e["LEVEL"]=12]="LEVEL",e[e["ATTRIBUTE"]=13]="ATTRIBUTE",e[e["BLOT"]=14]="BLOT",e[e["INLINE"]=7]="INLINE",e[e["BLOCK"]=11]="BLOCK",e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT",e[e["INLINE_BLOT"]=6]="INLINE_BLOT",e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",e[e["ANY"]=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=c,t.find=f,t.query=h,t.register=d},function(e,t,n){var r=n(51),i=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype["delete"]=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o(!0,{},e),"object"===typeof n){if("number"===typeof e["delete"]&&"number"===typeof n["delete"])return this.ops[t-1]={delete:n["delete"]+e["delete"]},this;if("number"===typeof n["delete"]&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(i(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){var i=e(r)?t:n;i.push(r)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);var n=[],r=a.iterator(this.ops),i=0;while(i<t&&r.hasNext()){var o;i<e?o=r.next(e-i):(o=r.next(t-i),n.push(o)),i+=a.length(o)}return new l(n)},l.prototype.compose=function(e){var t=a.iterator(this.ops),n=a.iterator(e.ops),r=[],o=n.peek();if(null!=o&&"number"===typeof o.retain&&null==o.attributes){var s=o.retain;while("insert"===t.peekType()&&t.peekLength()<=s)s-=t.peekLength(),r.push(t.next());o.retain-s>0&&n.next(o.retain-s)}var u=new l(r);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())u.push(n.next());else if("delete"===t.peekType())u.push(t.next());else{var c=Math.min(t.peekLength(),n.peekLength()),f=t.next(c),h=n.next(c);if("number"===typeof h.retain){var d={};"number"===typeof f.retain?d.retain=c:d.insert=f.insert;var p=a.attributes.compose(f.attributes,h.attributes,"number"===typeof f.retain);if(p&&(d.attributes=p),u.push(d),!n.hasNext()&&i(u.ops[u.ops.length-1],d)){var g=new l(t.rest());return u.concat(g).chop()}}else"number"===typeof h["delete"]&&"number"===typeof f.retain&&u.push(h)}return u.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),o=new l,u=r(n[0],n[1],t),c=a.iterator(this.ops),f=a.iterator(e.ops);return u.forEach((function(e){var t=e[1].length;while(t>0){var n=0;switch(e[0]){case r.INSERT:n=Math.min(f.peekLength(),t),o.push(f.next(n));break;case r.DELETE:n=Math.min(t,c.peekLength()),c.next(n),o["delete"](n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),t);var s=c.next(n),l=f.next(n);i(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l)["delete"](n);break}t-=n}})),o.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";var n=a.iterator(this.ops),r=new l,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),u="string"===typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===e(r,n.next(1).attributes||{},i))return;i+=1,r=new l}}r.length()>0&&e(r,{},i)},l.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);var n=a.iterator(this.ops),r=a.iterator(e.ops),i=new l;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),s=n.next(o),u=r.next(o);if(s["delete"])continue;u["delete"]?i.push(u):i.retain(o,a.attributes.transform(s.attributes,u.attributes,t))}else i.retain(a.length(n.next()));return i.chop()},l.prototype.transformPosition=function(e,t){t=!!t;var n=a.iterator(this.ops),r=0;while(n.hasNext()&&r<=e){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r<e||!t)&&(e+=i),r+=i):e-=Math.min(i,e-r)}return e},e.exports=l},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,i=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(t in e);return"undefined"===typeof t||n.call(e,t)},l=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var t,n,r,i,o,c,f=arguments[0],h=1,d=arguments.length,p=!1;for("boolean"===typeof f&&(p=f,f=arguments[1]||{},h=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});h<d;++h)if(t=arguments[h],null!=t)for(n in t)r=u(f,n),i=u(t,n),f!==i&&(p&&i&&(s(i)||(o=a(i)))?(o?(o=!1,c=r&&a(r)?r:[]):c=r&&s(r)?r:{},l(f,{name:n,newValue:e(p,c,i)})):"undefined"!==typeof i&&l(f,{name:n,newValue:i}));return f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(3),a=y(o),s=n(2),l=y(s),u=n(0),c=y(u),f=n(16),h=y(f),d=n(6),p=y(d),g=n(7),v=y(g);function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function _(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var x=1,w=function(e){function t(){return m(this,t),b(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return _(t,e),r(t,[{key:"attach",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new l.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=c.default.query(e,c.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,n,r){if("string"===typeof n&&n.endsWith("\n")){var o=c.default.create(S.blotName);this.parent.insertBefore(o,0===e?this:this.next),o.insertAt(0,n.slice(0,-1))}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r)}}]),t}(c.default.Embed);w.scope=c.default.Scope.BLOCK_BLOT;var S=function(e){function t(e){m(this,t);var n=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return _(t,e),r(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),k(t))}),new l.default).insert("\n",k(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,r,o){n<=0||(c.default.query(r,c.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,o):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,o),this.cache={})}},{key:"insertAt",value:function(e,n,r){if(null!=r)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);if(0!==n.length){var o=n.split("\n"),a=o.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;o.reduce((function(e,t){return s=s.split(e,!0),s.insertAt(0,t),t.length}),e+a.length)}}},{key:"insertBefore",value:function(e,n){var r=this.children.head;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),r instanceof h.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+x),this.cache.length}},{key:"moveChildren",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-x)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}(c.default.Block);function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,a.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:k(e.parent,t))}S.blotName="block",S.tagName="P",S.defaultChild="break",S.allowedChildren=[p.default,c.default.Embed,v.default],t.bubbleFormats=k,t.BlockEmbed=w,t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(50);var a=n(2),s=k(a),l=n(14),u=k(l),c=n(8),f=k(c),h=n(9),d=k(h),p=n(0),g=k(p),v=n(15),y=k(v),m=n(3),b=k(m),_=n(10),x=k(_),w=n(34),S=k(w);function k(e){return e&&e.__esModule?e:{default:e}}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var C=(0,x.default)("quill"),A=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(O(this,e),this.options=T(t,r),this.container=this.options.container,null==this.container)return C.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new f.default,this.scroll=g.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new y.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(e){e===f.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(f.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;P.call(n,(function(){return n.editor.update(null,t,i)}),e)}));var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+i+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),x.default.level(e)}},{key:"find",value:function(e){return e.__quill||g.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&C.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var i=e.attrName||e.blotName;"string"===typeof i?this.register("formats/"+i,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||C.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?g.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),o(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,o=M(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],P.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;return P.call(this,(function(){var r=n.getSelection(!0),i=new s.default;if(null==r)return i;if(g.default.query(e,g.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,E({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,E({},e,t))}return n.setSelection(r,f.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(e,t,n,r,o){var a=this,s=void 0,l=M(e,t,n,r,o),u=i(l,4);return e=u[0],t=u[1],s=u[2],o=u[3],P.call(this,(function(){return a.editor.formatLine(e,t,s)}),o,e,0)}},{key:"formatText",value:function(e,t,n,r,o){var a=this,s=void 0,l=M(e,t,n,r,o),u=i(l,4);return e=u[0],t=u[1],s=u[2],o=u[3],P.call(this,(function(){return a.editor.formatText(e,t,s)}),o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=M(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=M(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return P.call(this,(function(){return i.editor.insertEmbed(t,n,r)}),o,t)}},{key:"insertText",value:function(e,t,n,r,o){var a=this,s=void 0,l=M(e,0,n,r,o),u=i(l,4);return e=u[0],s=u[2],o=u[3],P.call(this,(function(){return a.editor.insertText(e,t,s)}),o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,o=M(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],P.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return P.call(this,(function(){e=new s.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),i=t.editor.applyDelta(e),o=i.ops[i.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),i.delete(1));var a=r.compose(i);return a}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=M(t,n,r),a=i(o,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new v.Range(t,n),r),r!==f.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API,n=(new s.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return P.call(this,(function(){return e=new s.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function T(e,t){if(t=(0,b.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==A.DEFAULTS.theme){if(t.theme=A.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=S.default;var n=(0,b.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)),i=r.reduce((function(e,t){var n=A.import("modules/"+t);return null==n?C.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,b.default)(!0,{},A.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function P(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===f.default.sources.USER)return new s.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,a=e();if(null!=i&&(!0===n&&(n=i.index),null==r?i=D(i,a,t):0!==r&&(i=D(i,n,r,t)),this.setSelection(i,f.default.sources.SILENT)),a.length()>0){var l,u,c=[f.default.events.TEXT_CHANGE,a,o,t];(l=this.emitter).emit.apply(l,[f.default.events.EDITOR_CHANGE].concat(c)),t!==f.default.sources.SILENT&&(u=this.emitter).emit.apply(u,c)}return a}function M(e,t,n,i,o){var a={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(o=i,i=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(o=i,i=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,o=i):"string"===typeof n&&(null!=i?a[n]=i:o=n),o=o||f.default.sources.API,[e,t,a,o]}function D(e,t,n,r){if(null==e)return null;var o=void 0,a=void 0;if(t instanceof s.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==f.default.sources.USER)})),u=i(l,2);o=u[0],a=u[1]}else{var c=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&r===f.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),h=i(c,2);o=h[0],a=h[1]}return new v.Range(o,a-o)}A.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},A.events=f.default.events,A.sources=f.default.sources,A.version="1.3.7",A.imports={delta:s.default,parchment:g.default,"core/module":d.default,"core/theme":S.default},t.expandConfig=T,t.overload=M,t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(7),a=u(o),s=n(0),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),r(t,[{key:"formatAt",value:function(e,n,r,o){if(t.compare(this.statics.blotName,r)<0&&l.default.query(r,l.default.Scope.BLOT)){var a=this.isolate(e,n);o&&a.wrap(r,o)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o)}},{key:"optimize",value:function(e){if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),i=t.order.indexOf(n);return r>=0||i>=0?r-i:e===n?0:e<n?-1:1}}]),t}(l.default.Inline);d.allowedChildren=[d,l.default.Embed,a.default],d.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default.Text);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(54),a=u(o),s=n(10),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=(0,l.default)("quill:events"),p=["selectionchange","mousedown","mouseup","click"];p.forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var g=function(e){function t(){c(this,t);var e=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",d.error),e}return h(t,e),r(t,[{key:"emit",value:function(){d.log.apply(d,arguments),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,i=t.handler;(e.target===r||r.contains(e.target))&&i.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(a.default);g.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},g.sources={API:"api",SILENT:"silent",USER:"user"},t.default=g},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(e){if(r.indexOf(e)<=r.indexOf(i)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(t=console)[e].apply(t,o)}}function a(e){return r.reduce((function(t,n){return t[n]=o.bind(console,n,e),t}),{})}o.level=a.level=function(e){i=e},t.default=a},function(e,t,n){var r=Array.prototype.slice,i=n(52),o=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:u(e,t,n))};function s(e){return null===e||void 0===e}function l(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&"function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0])}function u(e,t,n){var u,c;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==t[u])return!1;return!0}try{var f=i(e),h=i(t)}catch(d){return!1}if(f.length!=h.length)return!1;for(f.sort(),h.sort(),u=f.length-1;u>=0;u--)if(f[u]!=h[u])return!1;for(u=f.length-1;u>=0;u--)if(c=f[u],!a(e[c],t[c],n))return!1;return typeof e===typeof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){var n=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},a=n(2),s=v(a),l=n(0),u=v(l),c=n(4),f=v(c),h=n(6),d=v(h),p=n(7),g=v(p);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _=function(e){function t(){return y(this,t),m(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b(t,e),t}(d.default);_.blotName="code",_.tagName="CODE";var x=function(e){function t(){return y(this,t),m(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b(t,e),i(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new s.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var i=this.descendant(g.default,this.length()-1),a=r(i,1),s=a[0];null!=s&&s.deleteAt(s.length()-1,1),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,r,i){if(0!==n&&null!=u.default.query(r,u.default.Scope.BLOCK)&&(r!==this.statics.blotName||i!==this.statics.formats(this.domNode))){var o=this.newlineIndex(e);if(!(o<0||o>=e+n)){var a=this.newlineIndex(e,!0)+1,s=o-a+1,l=this.isolate(a,s),c=l.next;l.format(r,i),c instanceof t&&c.formatAt(0,e-a+n-s,r,i)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var i=this.descendant(g.default,e),o=r(i,2),a=o[0],s=o[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(u.default.create("text","\n")),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=u.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof u.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(f.default);x.blotName="code-block",x.tagName="PRE",x.TAB=" ",t.Code=_,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=O(a),l=n(20),u=O(l),c=n(0),f=O(c),h=n(13),d=O(h),p=n(24),g=O(p),v=n(4),y=O(v),m=n(16),b=O(m),_=n(21),x=O(_),w=n(11),S=O(w),k=n(3),E=O(k);function O(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var T=/^[ -~]*$/,P=function(){function e(t){A(this,e),this.scroll=t,this.delta=this.getDelta()}return o(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),e=D(e),e.reduce((function(e,a){var s=a.retain||a.delete||a.insert.length||1,l=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var c=a.insert;c.endsWith("\n")&&n&&(n=!1,c=c.slice(0,-1)),e>=o&&!c.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,c);var h=t.scroll.line(e),d=i(h,2),p=d[0],g=d[1],m=(0,E.default)({},(0,v.bubbleFormats)(p));if(p instanceof y.default){var b=p.descendant(f.default.Leaf,g),_=i(b,1),x=_[0];m=(0,E.default)(m,(0,v.bubbleFormats)(x))}l=u.default.attributes.diff(m,l)||{}}else if("object"===r(a.insert)){var w=Object.keys(a.insert)[0];if(null==w)return e;t.scroll.insertAt(e,w,a.insert[w])}o+=s}return Object.keys(l).forEach((function(n){t.scroll.formatAt(e,s,n,l[n])})),e+s}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new s.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(e,Math.max(t,1)),a=t;o.forEach((function(t){var o=t.length();if(t instanceof d.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,i,r[i])}else t.format(i,r[i]);a-=o}))}})),this.scroll.optimize(),this.update((new s.default).retain(e).retain(t,(0,x.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t,i,r[i])})),this.update((new s.default).retain(e).retain(t,(0,x.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new s.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=i(e,1),o=t[0];o instanceof y.default?n.push(o):o instanceof f.default.Leaf&&r.push(o)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(f.default.Leaf,e,t));var o=[n,r].map((function(e){if(0===e.length)return{};var t=(0,v.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=M((0,v.bubbleFormats)(n),t)}return t}));return E.default.apply(E.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new s.default).retain(e).insert(C({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t.length,i,r[i])})),this.update((new s.default).retain(e).insert(t,(0,x.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===y.default.blotName&&!(e.children.length>1)&&e.children.head instanceof b.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),o=i(r,2),a=o[0],l=o[1],u=0,c=new s.default;null!=a&&(u=a instanceof d.default?a.newlineIndex(l)-l+1:a.length()-l,c=a.delta().slice(l,l+u-1).insert("\n"));var f=this.getContents(e,t+u),h=f.diff((new s.default).insert(n).concat(c)),p=(new s.default).retain(e).concat(h);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(T)&&f.default.find(t[0].target)){var i=f.default.find(t[0].target),o=(0,v.bubbleFormats)(i),a=i.offset(this.scroll),l=t[0].oldValue.replace(g.default.CONTENTS,""),u=(new s.default).insert(l),c=(new s.default).insert(i.value()),h=(new s.default).retain(a).concat(u.diff(c,n));e=h.reduce((function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)}),new s.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,S.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function M(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}function D(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,x.default)(t.attributes);return delete n["image"],e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,x.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new s.default)}t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),a=g(o),s=n(21),l=g(s),u=n(11),c=g(u),f=n(8),h=g(f),d=n(10),p=g(d);function g(e){return e&&e.__esModule?e:{default:e}}function v(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=(0,p.default)("quill:selection"),b=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;y(this,e),this.index=t,this.length=n},_=function(){function e(t,n){var r=this;y(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new b(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,h.default.sources.USER),1)})),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(e,t){e===h.default.events.TEXT_CHANGE&&t.length()>0&&r.update(h.default.sources.SILENT)})),this.emitter.on(h.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(h.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(h.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,i=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(i,o,a,s)}})),this.update(h.default.sources.SILENT)}return i(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(h.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(e,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=a.default.find(n.start.node,!1);if(null==r)return;if(r instanceof a.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var i=void 0,o=this.scroll.leaf(e),a=r(o,2),s=a[0],l=a[1];if(null==s)return null;var u=s.position(l,!0),c=r(u,2);i=c[0],l=c[1];var f=document.createRange();if(t>0){f.setStart(i,l);var h=this.scroll.leaf(e+t),d=r(h,2);if(s=d[0],l=d[1],null==s)return null;var p=s.position(l,!0),g=r(p,2);return i=g[0],l=g[1],f.setEnd(i,l),f.getBoundingClientRect()}var v="left",y=void 0;return i instanceof Text?(l<i.data.length?(f.setStart(i,l),f.setEnd(i,l+1)):(f.setStart(i,l-1),f.setEnd(i,l),v="right"),y=f.getBoundingClientRect()):(y=s.domNode.getBoundingClientRect(),l>0&&(v="right")),{bottom:y.top+y.height,height:y.height,left:y[v],right:y[v],top:y.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();if(null==e)return[null,null];var t=this.normalizedToRange(e);return[t,e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var i=n.map((function(e){var n=r(e,2),i=n[0],o=n[1],s=a.default.find(i,!0),l=s.offset(t.scroll);return 0===o?l:s instanceof a.default.Container?l+s.length():l+s.index(i,o)})),o=Math.min(Math.max.apply(Math,v(i)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(v(i)));return new b(s,o-s)}},{key:"normalizeNative",value:function(e){if(!x(this.root,e.startContainer)||!e.collapsed&&!x(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){var t=e.node,n=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],i=[],o=this.scroll.length();return n.forEach((function(e,n){e=Math.min(o-1,e);var a=void 0,s=t.scroll.leaf(e),l=r(s,2),u=l[0],c=l[1],f=u.position(c,0!==n),h=r(f,2);a=h[0],c=h[1],i.push(a,c)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,i)),a=r(o,1),s=a[0],l=s;if(t.length>0){var u=this.scroll.line(Math.min(t.index+t.length,i)),c=r(u,1);l=c[0]}if(null!=s&&null!=l){var f=e.getBoundingClientRect();n.top<f.top?e.scrollTop-=f.top-n.top:n.bottom>f.bottom&&(e.scrollTop+=n.bottom-f.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||i||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,r),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;if("string"===typeof t&&(n=t,t=!1),m.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,v(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,t=this.lastRange,n=this.getRange(),i=r(n,2),o=i[0],a=i[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(t,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var u,f=[h.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];(s=this.emitter).emit.apply(s,[h.default.events.EDITOR_CHANGE].concat(f)),e!==h.default.sources.SILENT&&(u=this.emitter).emit.apply(u,f)}}}]),e}();function x(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=b,t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(a.default.Embed);f.blotName="break",f.tagName="BR",t.default=f},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=n(30),a=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=l(t);e.insertBefore(n,e.children.head||void 0)}catch(r){if(r instanceof a.ParchmentError)return;throw r}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),i=r[0],o=r[1];return null==e.blotName&&e(i)||null!=e.blotName&&i instanceof e?[i,o]:i instanceof t?i.descendant(e,o):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var i=[],o=r;return this.children.forEachAt(n,r,(function(n,r,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&i.push(n),n instanceof t&&(i=i.concat(n.descendants(e,r,o))),o-=a})),i},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,i){e.formatAt(t,i,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),i=r[0],o=r[1];if(i)i.insertAt(o,t,n);else{var s=null==n?a.create("text",t):a.create(t,n);this.appendChild(s)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new a.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),i=r[0],o=r[1],a=[[this,e]];return i instanceof t?a.concat(i.path(o,n)):(null!=i&&a.push([i,o]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,i){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],i=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),i.push.apply(i,e.removedNodes))})),i.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=a.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),r.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=a.find(e.nextSibling));var r=l(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(o.default);function l(e){var t=a.find(e);if(null==t)try{t=a.create(e)}catch(n){t=a.create(a.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),o=n(31),a=n(17),s=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new o.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=s.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var i=e.prototype.wrap.call(this,n,r);return i instanceof t&&i.statics.scope===this.statics.scope&&this.attributes.move(i),i},t}(a.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),o=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=n(11),i=n(3),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},function(e,n){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var n,r,i;try{n=Map}catch(f){n=function(){}}try{r=Set}catch(f){r=function(){}}try{i=Promise}catch(f){i=function(){}}function o(a,s,l,u,f){"object"===typeof s&&(l=s.depth,u=s.prototype,f=s.includeNonEnumerable,s=s.circular);var h=[],d=[],p="undefined"!=typeof t;function g(a,l){if(null===a)return null;if(0===l)return a;var v,y;if("object"!=typeof a)return a;if(e(a,n))v=new n;else if(e(a,r))v=new r;else if(e(a,i))v=new i((function(e,t){a.then((function(t){e(g(t,l-1))}),(function(e){t(g(e,l-1))}))}));else if(o.__isArray(a))v=[];else if(o.__isRegExp(a))v=new RegExp(a.source,c(a)),a.lastIndex&&(v.lastIndex=a.lastIndex);else if(o.__isDate(a))v=new Date(a.getTime());else{if(p&&t.isBuffer(a))return v=t.allocUnsafe?t.allocUnsafe(a.length):new t(a.length),a.copy(v),v;e(a,Error)?v=Object.create(a):"undefined"==typeof u?(y=Object.getPrototypeOf(a),v=Object.create(y)):(v=Object.create(u),y=u)}if(s){var m=h.indexOf(a);if(-1!=m)return d[m];h.push(a),d.push(v)}for(var b in e(a,n)&&a.forEach((function(e,t){var n=g(t,l-1),r=g(e,l-1);v.set(n,r)})),e(a,r)&&a.forEach((function(e){var t=g(e,l-1);v.add(t)})),a){var _;y&&(_=Object.getOwnPropertyDescriptor(y,b)),_&&null==_.set||(v[b]=g(a[b],l-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(a);for(b=0;b<x.length;b++){var w=x[b],S=Object.getOwnPropertyDescriptor(a,w);(!S||S.enumerable||f)&&(v[w]=g(a[w],l-1),S.enumerable||Object.defineProperty(v,w,{enumerable:!1}))}}if(f){var k=Object.getOwnPropertyNames(a);for(b=0;b<k.length;b++){var E=k[b];S=Object.getOwnPropertyDescriptor(a,E),S&&S.enumerable||(v[E]=g(a[E],l-1),Object.defineProperty(v,E,{enumerable:!1}))}}return v}return"undefined"==typeof s&&(s=!0),"undefined"==typeof l&&(l=1/0),g(a,l)}function a(e){return Object.prototype.toString.call(e)}function s(e){return"object"===typeof e&&"[object Date]"===a(e)}function l(e){return"object"===typeof e&&"[object Array]"===a(e)}function u(e){return"object"===typeof e&&"[object RegExp]"===a(e)}function c(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=a,o.__isDate=s,o.__isArray=l,o.__isRegExp=u,o.__getRegExpFlags=c,o}();"object"===typeof e&&e.exports&&(e.exports=r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},a=n(0),s=m(a),l=n(8),u=m(l),c=n(4),f=m(c),h=n(16),d=m(h),p=n(13),g=m(p),v=n(25),y=m(v);function m(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function x(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function w(e){return e instanceof f.default||e instanceof c.BlockEmbed}var S=function(e){function t(e,n){b(this,t);var r=_(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}return x(t,e),i(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var i=this.line(e),a=r(i,2),s=a[0],l=a[1],u=this.line(e+n),f=r(u,1),h=f[0];if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=h&&s!==h&&l>0){if(s instanceof c.BlockEmbed||h instanceof c.BlockEmbed)return void this.optimize();if(s instanceof g.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1),s===h))return void this.optimize()}else if(h instanceof g.default){var v=h.newlineIndex(0);v>-1&&h.split(v+1)}var y=h.children.head instanceof d.default?null:h.children.head;s.moveChildren(h,y),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==s.default.query(n,s.default.Scope.BLOCK)){var i=s.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var a=s.default.create(n,r);this.appendChild(a)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===s.default.Scope.INLINE_BLOT){var r=s.default.create(this.statics.defaultChild);r.appendChild(e),e=r}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(w,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var i=[],o=r;return t.children.forEachAt(n,r,(function(t,n,r){w(t)?i.push(t):t instanceof s.default.Container&&(i=i.concat(e(t,n,o))),o-=r})),i};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=u.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,n,e),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,n,e)}}}]),t}(s.default.Scroll);S.blotName="scroll",S.className="ql-editor",S.tagName="DIV",S.defaultChild="block",S.allowedChildren=[f.default,c.BlockEmbed,y.default],t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(21),s=k(a),l=n(11),u=k(l),c=n(3),f=k(c),h=n(2),d=k(h),p=n(20),g=k(p),v=n(0),y=k(v),m=n(5),b=k(m),_=n(10),x=k(_),w=n(9),S=k(w);function k(e){return e&&e.__esModule?e:{default:e}}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function A(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var T=(0,x.default)("quill:keyboard"),P=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",M=function(e){function t(e,n){O(this,t);var r=C(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist["list"])&&r.options.bindings[t]&&r.addBinding(r.options.bindings[t])})),r.addBinding({key:t.keys.ENTER,shiftKey:null},j),r.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},I),r.addBinding({key:t.keys.DELETE},{collapsed:!0},L)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},I),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},L)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},R),r.addBinding({key:t.keys.DELETE},{collapsed:!1},R),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},I),r.listen(),r}return A(t,e),o(t,null,[{key:"match",value:function(e,t){return t=F(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),o(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=F(e);if(null==r||null==r.key)return T.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),r=(0,f.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(e.bindings[o]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var l=e.quill.getLine(s.index),c=i(l,2),f=c[0],h=c[1],d=e.quill.getLeaf(s.index),p=i(d,2),g=p[0],v=p[1],m=0===s.length?[g,v]:e.quill.getLeaf(s.index+s.length),b=i(m,2),_=b[0],x=b[1],w=g instanceof y.default.Text?g.value().slice(0,v):"",S=_ instanceof y.default.Text?_.value().slice(x):"",k={collapsed:0===s.length,empty:0===s.length&&f.length()<=1,format:e.quill.getFormat(s),offset:h,prefix:w,suffix:S},E=a.some((function(t){if(null!=t.collapsed&&t.collapsed!==k.collapsed)return!1;if(null!=t.empty&&t.empty!==k.empty)return!1;if(null!=t.offset&&t.offset!==k.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==k.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=k.format[e]:!1===t.format[e]?null==k.format[e]:(0,u.default)(t.format[e],k.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(k.prefix))&&!(null!=t.suffix&&!t.suffix.test(k.suffix))&&!0!==t.handler.call(e,s,k)}));E&&n.preventDefault()}}}}))}}]),t}(S.default);function D(e,t){var n,r=e===M.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},E(n,r,/^$/),E(n,"handler",(function(n){var r=n.index;e===M.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),a=i(o,1),s=a[0];return!(s instanceof y.default.Embed)||(e===M.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index-1,b.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index+n.length+1,b.default.sources.USER),!1)})),n}function I(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=i(n,1),o=r[0],a={};if(0===t.offset){var s=this.quill.getLine(e.index-1),l=i(s,1),u=l[0];if(null!=u&&u.length()>1){var c=o.formats(),f=this.quill.getFormat(e.index-1,1);a=g.default.attributes.diff(c,f)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-h,h,b.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index-h,h,a,b.default.sources.USER),this.quill.focus()}}function L(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},o=0,a=this.quill.getLine(e.index),s=i(a,1),l=s[0];if(t.offset>=l.length()-1){var u=this.quill.getLine(e.index+1),c=i(u,1),f=c[0];if(f){var h=l.formats(),d=this.quill.getFormat(e.index,1);r=g.default.attributes.diff(h,d)||{},o=f.length()}}this.quill.deleteText(e.index,n,b.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,b.default.sources.USER)}}function R(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),i=t[t.length-1].formats();n=g.default.attributes.diff(i,r)||{}}this.quill.deleteText(e,b.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,b.default.sources.USER),this.quill.setSelection(e.index,b.default.sources.SILENT),this.quill.focus()}function j(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return y.default.query(n,y.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],b.default.sources.USER))}))}function N(e){return{key:M.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=y.default.query("code-block"),r=t.index,o=t.length,a=this.quill.scroll.descendant(n,r),s=i(a,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),f=l.newlineIndex(u,!0)+1,h=l.newlineIndex(c+u+o),d=l.domNode.textContent.slice(f,h).split("\n");u=0,d.forEach((function(t,i){e?(l.insertAt(f+u,n.TAB),u+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(f+u,n.TAB.length),u-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),u+=t.length+1})),this.quill.update(b.default.sources.USER),this.quill.setSelection(r,o,b.default.sources.SILENT)}}}}function B(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],b.default.sources.USER)}}}function F(e){if("string"===typeof e||"number"===typeof e)return F({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,s.default)(e,!1)),"string"===typeof e.key)if(null!=M.keys[e.key.toUpperCase()])e.key=M.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[P]=e.shortKey,delete e.shortKey),e}M.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},M.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:M.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",b.default.sources.USER)}},outdent:{key:M.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",b.default.sources.USER)}},"outdent backspace":{key:M.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",b.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,b.default.sources.USER)}},"indent code-block":N(!0),"outdent code-block":N(!1),"remove tab":{key:M.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,b.default.sources.USER)}},tab:{key:M.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new d.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,b.default.sources.SILENT)}},"list empty enter":{key:M.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,b.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,b.default.sources.USER)}},"checklist enter":{key:M.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(0,f.default)({},r.formats(),{list:"checked"}),s=(new d.default).retain(e.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:M.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=i(n,2),o=r[0],a=r[1],s=(new d.default).retain(e.index).insert("\n",t.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),o=i(r,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",b.default.sources.USER),this.quill.history.cutoff();var u=(new d.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,b.default.sources.SILENT)}},"code exit":{key:M.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(new d.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,b.default.sources.USER)}},"embed left":D(M.keys.LEFT,!1),"embed left shift":D(M.keys.LEFT,!0),"embed right":D(M.keys.RIGHT,!1),"embed right shift":D(M.keys.RIGHT,!0)}},t.default=M,t.SHORTKEY=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),s=c(a),l=n(7),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){f(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.selection=n,r.textNode=document.createTextNode(t.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return d(t,e),o(t,null,[{key:"value",value:function(){}}]),o(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);var r=this,o=0;while(null!=r&&r.statics.scope!==s.default.Scope.BLOCK_BLOT)o+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=t.CONTENTS.length,r.optimize(),r.formatAt(o,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),i=void 0,o=void 0,a=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var l=[e,n.start.offset,n.end.offset];i=l[0],o=l[1],a=l[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var c=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof u.default?(i=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(s.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var f=[o,a].map((function(e){return Math.max(0,Math.min(i.data.length,e-1))})),h=r(f,2);return o=h[0],a=h[1],{startNode:i,startOffset:o,endNode:i,endOffset:a}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&(t.range=r)}}},{key:"value",value:function(){return""}}]),t}(s.default.Embed);p.blotName="cursor",p.className="ql-cursor",p.tagName="span",p.CONTENTS="\ufeff",t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=s(r),o=n(4),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),t}(i.default.Container);f.allowedChildren=[a.default,o.BlockEmbed,f],t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(a.default.Attributor.Style),h=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),d=new f("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=f,t.ColorClass=h,t.ColorStyle=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(6),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return h(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(a.default);function h(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=f,t.sanitize=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(23),a=u(o),s=n(107),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=0;function h(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var d=function(){function e(t){var n=this;c(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case a.default.keys.ENTER:n.togglePicker();break;case a.default.keys.ESCAPE:n.escape(),e.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return i(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),h(this.label,"aria-expanded"),h(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case a.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case a.default.keys.ESCAPE:t.escape(),e.preventDefault();break;default:}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=l.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+f,f+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var r=e.buildItem(n);t.appendChild(r),!0===n.selected&&e.selectItem(r)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=T(r),o=n(5),a=T(o),s=n(4),l=T(s),u=n(16),c=T(u),f=n(25),h=T(f),d=n(24),p=T(d),g=n(35),v=T(g),y=n(6),m=T(y),b=n(22),_=T(b),x=n(7),w=T(x),S=n(55),k=T(S),E=n(42),O=T(E),C=n(23),A=T(C);function T(e){return e&&e.__esModule?e:{default:e}}a.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":c.default,"blots/container":h.default,"blots/cursor":p.default,"blots/embed":v.default,"blots/inline":m.default,"blots/scroll":_.default,"blots/text":w.default,"modules/clipboard":k.default,"modules/history":O.default,"modules/keyboard":A.default}),i.default.register(l.default,c.default,p.default,m.default,_.default,w.default),t.default=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){var n=this.isolate(e,t);n.remove()},e.prototype.formatAt=function(e,t,n,i){var o=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);o.wrap(a),a.format(n,i)}},e.prototype.insertAt=function(e,t,n){var i=null==n?r.create("text",t):r.create(t,n),o=this.split(e);this.parent.insertBefore(i,o)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=i.default.keys(this.domNode),s=o.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e,t){var n=e.getAttribute("class")||"";return n.split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){var t=o(e,this.keyName);t.forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=o(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){var t=e.split(":");return t[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(i.default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){i(this,e),this.quill=t,this.options=n,this.modules={}}return r(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=u(o),s=n(7),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d="\ufeff",p=function(e){function t(e){c(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(d),n.rightGuard=document.createTextNode(d),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return h(t,e),r(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,r=e.data.split(d).join("");if(e===this.leftGuard)if(this.prev instanceof l.default){var i=this.prev.length();this.prev.insertAt(i,r),t={startNode:this.prev.domNode,startOffset:i+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(a.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof l.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(a.default.create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data=d,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var r=n.restore(e.target);r&&(t.range=r)}}))}}]),t}(a.default.Embed);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",a),l=new i.default.Attributor.Class("align","ql-align",a),u=new i.default.Attributor.Style("align","text-align",a);t.AlignAttribute=s,t.AlignClass=l,t.AlignStyle=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var r=n(0),i=a(r),o=n(26);function a(e){return e&&e.__esModule?e:{default:e}}var s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new o.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",a),l=new i.default.Attributor.Class("direction","ql-direction",a),u=new i.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=s,t.DirectionClass=l,t.DirectionStyle=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},h=new a.default.Attributor.Class("font","ql-font",f),d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(a.default.Attributor.Style),p=new d("font","font-family",f);t.FontStyle=p,t.FontClass=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=s},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=c(i),a=n(5),s=c(a),l=n(9),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){f(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(s.default.events.EDITOR_CHANGE,(function(e,t,n,i){e!==s.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&i!==s.default.sources.USER?r.transform(t):r.record(t,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return d(t,e),r(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],s.default.sources.USER),this.ignoreChange=!1;var r=v(n[e]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),e=i.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(u.default);function g(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}function v(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return g(e)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=p,t.getLastChangeIndex=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(3),a=S(o),s=n(2),l=S(s),u=n(8),c=S(u),f=n(23),h=S(f),d=n(34),p=S(d),g=n(59),v=S(g),y=n(60),m=S(y),b=n(28),_=S(b),x=n(61),w=S(x);function S(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function O(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var C=[!1,"center","right","justify"],A=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],T=[!1,"serif","monospace"],P=["1","2","3",!1],M=["small",!1,"large","huge"],D=function(e){function t(e,n){k(this,t);var r=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n)),i=function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))};return e.emitter.listenDOM("click",document.body,i),r}return O(t,e),r(t,[{key:"addModule",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){var n=e.getAttribute("class")||"";n.split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n]["rtl"];else if("string"===typeof t[n])e.innerHTML=t[n];else{var r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&R(e,C),new m.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&R(e,A,"background"===n?"#ffffff":"#000000"),new v.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?R(e,T):e.classList.contains("ql-header")?R(e,P):e.classList.contains("ql-size")&&R(e,M)),new _.default(e)}));var r=function(){n.pickers.forEach((function(e){e.update()}))};this.quill.on(c.default.events.EDITOR_CHANGE,r)}}]),t}(p.default);D.DEFAULTS=(0,a.default)(!0,{},p.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&(t=document.createElement("input"),t.setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var r=e.quill.getSelection(!0);e.quill.updateContents((new l.default).retain(r.index).delete(r.length).insert({image:n.target.result}),c.default.sources.USER),e.quill.setSelection(r.index+1,c.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var I=function(e){function t(e,n){k(this,t);var r=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return O(t,e),r(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){h.default.match(t,"enter")?(e.save(),t.preventDefault()):h.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,c.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=L(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",c.default.sources.USER),this.quill.setSelection(r+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),t}(w.default);function L(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=I,t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){var t,n=this.iterator();while(t=n())if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){var t=0,n=this.head;while(null!=n){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(e<i||t&&e===i&&(null==n.next||0!==n.next.length()))return[n,e];e-=i}return[null,0]},e.prototype.forEach=function(e){var t,n=this.iterator();while(t=n())e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0)){var r,i=this.find(e),o=i[0],a=i[1],s=e-a,l=this.iterator(o);while((r=l())&&s<e+t){var u=r.length();e>s?n(r,e-s,Math.min(t,s+u-e)):n(r,0,Math.min(u,e+t-s)),s+=u}}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){var n,r=this.iterator();while(n=r())t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,i){this.update(),e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)t.push(a.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&l(e.parent))},u=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(u),e.optimize(n))},c=t,f=0;c.length>0;f+=1){if(f>=s)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(u),c=[].slice.call(this.observer.takeRecords()),a=c.slice();while(a.length>0)t.push(a.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1);function a(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,i){if(null!=this.formats()[r]||o.query(r,o.Scope.ATTRIBUTE)){var a=this.isolate(t,n);a.format(r,i)}else e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof t&&i.prev===this&&a(r,i.formats())&&(i.moveChildren(this),i.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=o.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,i){null!=o.query(r,o.Scope.BLOCK)?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var i=this.split(t),a=o.create(n,r);i.parent.insertBefore(a,i)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,i){0===t&&n===this.length()?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(i.default);t.default=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t["normalize"]&&(t=t["normalize"]()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:i.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(i,t,o,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1,r=1,i=0;function o(e,t,n){if(e==t)return e?[[i,e]]:[];(n<0||e.length<n)&&(n=null);var r=u(e,t),o=e.substring(0,r);e=e.substring(r),t=t.substring(r),r=c(e,t);var s=e.substring(e.length-r);e=e.substring(0,e.length-r),t=t.substring(0,t.length-r);var l=a(e,t);return o&&l.unshift([i,o]),s&&l.push([i,s]),h(l),null!=n&&(l=g(l,n)),l=v(l),l}function a(e,t){var a;if(!e)return[[r,t]];if(!t)return[[n,e]];var l=e.length>t.length?e:t,u=e.length>t.length?t:e,c=l.indexOf(u);if(-1!=c)return a=[[r,l.substring(0,c)],[i,u],[r,l.substring(c+u.length)]],e.length>t.length&&(a[0][0]=a[2][0]=n),a;if(1==u.length)return[[n,e],[r,t]];var h=f(e,t);if(h){var d=h[0],p=h[1],g=h[2],v=h[3],y=h[4],m=o(d,g),b=o(p,v);return m.concat([[i,y]],b)}return s(e,t)}function s(e,t){for(var i=e.length,o=t.length,a=Math.ceil((i+o)/2),s=a,u=2*a,c=new Array(u),f=new Array(u),h=0;h<u;h++)c[h]=-1,f[h]=-1;c[s+1]=0,f[s+1]=0;for(var d=i-o,p=d%2!=0,g=0,v=0,y=0,m=0,b=0;b<a;b++){for(var _=-b+g;_<=b-v;_+=2){var x=s+_;C=_==-b||_!=b&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1;var w=C-_;while(C<i&&w<o&&e.charAt(C)==t.charAt(w))C++,w++;if(c[x]=C,C>i)v+=2;else if(w>o)g+=2;else if(p){var S=s+d-_;if(S>=0&&S<u&&-1!=f[S]){var k=i-f[S];if(C>=k)return l(e,t,C,w)}}}for(var E=-b+y;E<=b-m;E+=2){S=s+E,k=E==-b||E!=b&&f[S-1]<f[S+1]?f[S+1]:f[S-1]+1;var O=k-E;while(k<i&&O<o&&e.charAt(i-k-1)==t.charAt(o-O-1))k++,O++;if(f[S]=k,k>i)m+=2;else if(O>o)y+=2;else if(!p&&(x=s+d-E,x>=0&&x<u&&-1!=c[x])){var C=c[x];if(w=s+C-x,k=i-k,C>=k)return l(e,t,C,w)}}}return[[n,e],[r,t]]}function l(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),u=o(i,a),c=o(s,l);return u.concat(c)}function u(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(n<i)e.substring(o,i)==t.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i}function c(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(n<i)e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i}function f(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function i(e,t,n){var r,i,o,a,s=e.substring(n,n+Math.floor(e.length/4)),l=-1,f="";while(-1!=(l=t.indexOf(s,l+1))){var h=u(e.substring(n),t.substring(l)),d=c(e.substring(0,n),t.substring(0,l));f.length<d+h&&(f=t.substring(l-d,l)+t.substring(l,l+h),r=e.substring(0,n-d),i=e.substring(n+h),o=t.substring(0,l-d),a=t.substring(l+h))}return 2*f.length>=e.length?[r,i,o,a,f]:null}var o,a,s,l,f,h=i(n,r,Math.ceil(n.length/4)),d=i(n,r,Math.ceil(n.length/2));if(!h&&!d)return null;o=d?h&&h[4].length>d[4].length?h:d:h,e.length>t.length?(a=o[0],s=o[1],l=o[2],f=o[3]):(l=o[0],f=o[1],a=o[2],s=o[3]);var p=o[4];return[a,s,l,f,p]}function h(e){e.push([i,""]);var t,o=0,a=0,s=0,l="",f="";while(o<e.length)switch(e[o][0]){case r:s++,f+=e[o][1],o++;break;case n:a++,l+=e[o][1],o++;break;case i:a+s>1?(0!==a&&0!==s&&(t=u(f,l),0!==t&&(o-a-s>0&&e[o-a-s-1][0]==i?e[o-a-s-1][1]+=f.substring(0,t):(e.splice(0,0,[i,f.substring(0,t)]),o++),f=f.substring(t),l=l.substring(t)),t=c(f,l),0!==t&&(e[o][1]=f.substring(f.length-t)+e[o][1],f=f.substring(0,f.length-t),l=l.substring(0,l.length-t))),0===a?e.splice(o-s,a+s,[r,f]):0===s?e.splice(o-a,a+s,[n,l]):e.splice(o-a-s,a+s,[n,l],[r,f]),o=o-a-s+(a?1:0)+(s?1:0)+1):0!==o&&e[o-1][0]==i?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,s=0,a=0,l="",f="";break}""===e[e.length-1][1]&&e.pop();var d=!1;o=1;while(o<e.length-1)e[o-1][0]==i&&e[o+1][0]==i&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),d=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),d=!0)),o++;d&&h(e)}var d=o;function p(e,t){if(0===t)return[i,e];for(var r=0,o=0;o<e.length;o++){var a=e[o];if(a[0]===n||a[0]===i){var s=r+a[1].length;if(t===s)return[o+1,e];if(t<s){e=e.slice();var l=t-r,u=[a[0],a[1].slice(0,l)],c=[a[0],a[1].slice(l)];return e.splice(o,1,u,c),[o+1,e]}r=s}}throw new Error("cursor_pos is out of bounds!")}function g(e,t){var n=p(e,t),r=n[1],o=n[0],a=r[o],s=r[o+1];if(null==a)return e;if(a[0]!==i)return e;if(null!=s&&a[1]+s[1]===s[1]+a[1])return r.splice(o,2,s,a),y(r,o,2);if(null!=s&&0===s[1].indexOf(a[1])){r.splice(o,2,[s[0],a[1]],[0,a[1]]);var l=s[1].slice(a[1].length);return l.length>0&&r.splice(o+2,0,[s[0],l]),y(r,o,3)}return e}function v(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},s=2;s<e.length;s+=1)e[s-2][0]===i&&a(e[s-2][1])&&e[s-1][0]===n&&o(e[s-1][1])&&e[s][0]===r&&o(e[s][1])&&(t=!0,e[s-1][1]=e[s-2][1].slice(-1)+e[s-1][1],e[s][1]=e[s-2][1].slice(-1)+e[s][1],e[s-2][1]=e[s-2][1].slice(0,-1));if(!t)return e;var l=[];for(s=0;s<e.length;s+=1)e[s][1].length>0&&l.push(e[s]);return l}function y(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var i=e[r],o=e[r+1];i[0]===o[1]&&e.splice(r,2,[i[0],i[1]+o[1]])}return e}d.INSERT=r,d.DELETE=n,d.EQUAL=i,e.exports=d},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"===typeof Object.keys?Object.keys:n,t.shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function i(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}t=e.exports=n?r:i,t.supported=r,t.unsupported=i},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)n.call(e,t)&&i.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e,t){var n=r?r+e:e,i=this._events[n];if(t)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var o=0,a=i.length,s=new Array(a);o<a;o++)s[o]=i[o].fn;return s},a.prototype.emit=function(e,t,n,i,o,a){var s=r?r+e:e;if(!this._events[s])return!1;var l,u,c=this._events[s],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,o),!0;case 6:return c.fn.call(c.context,t,n,i,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,d=c.length;for(u=0;u<d;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,i);break;default:if(!l)for(h=1,l=new Array(f-1);h<f;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},a.prototype.on=function(e,t,n){var i=new o(t,n||this),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],i]:this._events[a].push(i):(this._events[a]=i,this._eventsCount++),this},a.prototype.once=function(e,t,n){var i=new o(t,n||this,!0),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],i]:this._events[a].push(i):(this._events[a]=i,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,o){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return 0===--this._eventsCount?this._events=new i:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||(0===--this._eventsCount?this._events=new i:delete this._events[a]);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[a]=1===u.length?u[0]:u:0===--this._eventsCount?this._events=new i:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&(0===--this._eventsCount?this._events=new i:delete this._events[t])):(this._events=new i,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,"undefined"!==typeof e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(3),s=O(a),l=n(2),u=O(l),c=n(0),f=O(c),h=n(5),d=O(h),p=n(10),g=O(p),v=n(9),y=O(v),m=n(36),b=n(37),_=n(13),x=O(_),w=n(26),S=n(38),k=n(39),E=n(40);function O(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function P(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var M=(0,g.default)("quill:clipboard"),D="__ql-matcher",I=[[Node.TEXT_NODE,Z],[Node.TEXT_NODE,Y],["br",W],[Node.ELEMENT_NODE,Y],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,K],[Node.ELEMENT_NODE,V],[Node.ELEMENT_NODE,$],["li",X],["b",H.bind(H,"bold")],["i",H.bind(H,"italic")],["style",q]],L=[m.AlignAttribute,S.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),R=[m.AlignStyle,b.BackgroundStyle,w.ColorStyle,S.DirectionStyle,k.FontStyle,E.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),j=function(e){function t(e,n){A(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],I.concat(r.options.matchers).forEach((function(e){var t=i(e,2),o=t[0],a=t[1];(n.matchVisual||a!==K)&&r.addMatcher(o,a)})),r}return P(t,e),o(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"===typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[x.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new u.default).insert(n,C({},x.default.blotName,t[x.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],s=o[1],l=U(this.container,a,s);return F(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new u.default).retain(l.length()-1).delete(1))),M.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,d.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new u.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),d.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new u.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(d.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,d.default.sources.USER),t.quill.setSelection(r.length()-n.length,d.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=i,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[D]=e[D]||[],e[D].push(s)}));break}})),[t,n]}}]),t}(y.default);function N(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return N(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,s.default)({},C({},t,n),r.attributes))}),new u.default)}function B(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function F(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length<t.length;--r){var i=e.ops[r];if("string"!==typeof i.insert)break;n=i.insert+n}return n.slice(-1*t.length)===t}function z(e){if(0===e.childNodes.length)return!1;var t=B(e);return["block","list-item"].indexOf(t.display)>-1}function U(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new u.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,i){var o=U(i,t,n);return i.nodeType===e.ELEMENT_NODE&&(o=t.reduce((function(e,t){return t(i,e)}),o),o=(i[D]||[]).reduce((function(e,t){return t(i,e)}),o)),r.concat(o)}),new u.default):new u.default}function H(e,t,n){return N(n,e,!0)}function V(e,t){var n=f.default.Attributor.Attribute.keys(e),r=f.default.Attributor.Class.keys(e),i=f.default.Attributor.Style.keys(e),o={};return n.concat(r).concat(i).forEach((function(t){var n=f.default.query(t,f.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(e),o[n.attrName])||(n=L[t],null==n||n.attrName!==t&&n.keyName!==t||(o[n.attrName]=n.value(e)||void 0),n=R[t],null==n||n.attrName!==t&&n.keyName!==t||(n=R[t],o[n.attrName]=n.value(e)||void 0))})),Object.keys(o).length>0&&(t=N(t,o)),t}function G(e,t){var n=f.default.query(e);if(null==n)return t;if(n.prototype instanceof f.default.Embed){var r={},i=n.value(e);null!=i&&(r[n.blotName]=i,t=(new u.default).insert(r,n.formats(e)))}else"function"===typeof n.formats&&(t=N(t,n.blotName,n.formats(e)));return t}function W(e,t){return F(t,"\n")||t.insert("\n"),t}function q(){return new u.default}function X(e,t){var n=f.default.query(e);if(null==n||"list-item"!==n.blotName||!F(t,"\n"))return t;var r=-1,i=e.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(f.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?t:t.compose((new u.default).retain(t.length()-1).retain(1,{indent:r}))}function Y(e,t){return F(t,"\n")||(z(e)||t.length()>0&&e.nextSibling&&z(e.nextSibling))&&t.insert("\n"),t}function K(e,t){if(z(e)&&null!=e.nextElementSibling&&!F(t,"\n\n")){var n=e.offsetHeight+parseFloat(B(e).marginTop)+parseFloat(B(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function $(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===B(e).fontStyle&&(n.italic=!0),r.fontWeight&&(B(e).fontWeight.startsWith("bold")||parseInt(B(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=N(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new u.default).insert("\t").concat(t)),t}function Z(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!B(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&z(e.parentNode)||null!=e.previousSibling&&z(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&z(e.parentNode)||null!=e.nextSibling&&z(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}j.DEFAULTS={matchers:[],matchVisual:!0},t.default=j,t.matchAttributor=V,t.matchBlot=G,t.matchNewline=Y,t.matchSpacing=K,t.matchText=Z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(6),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(a.default);f.blotName="bold",f.tagName=["STRONG","B"],t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(2),a=g(o),s=n(0),l=g(s),u=n(5),c=g(u),f=n(10),h=g(f),d=n(9),p=g(d);function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _=(0,h.default)("quill:toolbar"),x=function(e){function t(e,n){y(this,t);var i,o=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(o.options.container)){var a=document.createElement("div");S(a,o.options.container),e.container.parentNode.insertBefore(a,e.container),o.container=a}else"string"===typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach((function(e){o.addHandler(e,o.options.handlers[e])})),[].forEach.call(o.container.querySelectorAll("button, select"),(function(e){o.attach(e)})),o.quill.on(c.default.events.EDITOR_CHANGE,(function(e,t){e===c.default.events.SELECTION_CHANGE&&o.update(t)})),o.quill.on(c.default.events.SCROLL_OPTIMIZE,(function(){var e=o.quill.selection.getRange(),t=r(e,1),n=t[0];o.update(n)})),o):(i=_.error("Container required for toolbar",o.options),m(o,i))}return b(t,e),i(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void _.warn("ignoring attaching to disabled format",n,e);if(null==l.default.query(n))return void _.warn("ignoring attaching to nonexistent format",n,e)}var i="SELECT"===e.tagName?"change":"click";e.addEventListener(i,(function(i){var o=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var s=e.options[e.selectedIndex];o=!s.hasAttribute("selected")&&(s.value||!1)}else o=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),i.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),f=r(u,1),h=f[0];if(null!=t.handlers[n])t.handlers[n].call(t,o);else if(l.default.query(n).prototype instanceof l.default.Embed){if(o=prompt("Enter "+n),!o)return;t.quill.updateContents((new a.default).retain(h.index).delete(h.length).insert(v({},n,o)),c.default.sources.USER)}else t.quill.format(n,o,c.default.sources.USER);t.update(h)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var i=r(n,2),o=i[0],a=i[1];if("SELECT"===a.tagName){var s=void 0;if(null==e)s=null;else if(null==t[o])s=a.querySelector("option[selected]");else if(!Array.isArray(t[o])){var l=t[o];"string"===typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var u=t[o]===a.getAttribute("value")||null!=t[o]&&t[o].toString()===a.getAttribute("value")||null==t[o]&&!a.getAttribute("value");a.classList.toggle("ql-active",u)}else a.classList.toggle("ql-active",null!=t[o])}))}}]),t}(p.default);function w(e,t,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),null!=n&&(r.value=n),e.appendChild(r)}function S(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"===typeof e)w(n,e);else{var t=Object.keys(e)[0],r=e[t];Array.isArray(r)?k(n,t,r):w(n,t,r)}})),e.appendChild(n)}))}function k(e,t,n){var r=document.createElement("select");r.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),r.appendChild(t)})),e.appendChild(r)}x.DEFAULTS={},x.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=l.default.query(t,l.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,c.default.sources.USER)},direction:function(e){var t=this.quill.getFormat()["align"];"rtl"===e&&null==t?this.quill.format("align","right",c.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",e,c.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),r=parseInt(n.indent||0);if("+1"===e||"-1"===e){var i="+1"===e?1:-1;"rtl"===n.direction&&(i*=-1),this.quill.format("indent",r+i,c.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,c.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n["list"]||"unchecked"===n["list"]?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",e,c.default.sources.USER)}}},t.default=x,t.addControls=S},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(28),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(e,n){l(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),r}return c(t,e),r(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var r=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),t}(a.default);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(28),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(e,n){l(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return c(t,e),r(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(a.default);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){var r=this;i(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect(),o=0;if(i.right>r.right&&(o=r.right-i.right,this.root.style.left=t+o+"px"),i.left<r.left&&(o=r.left-i.left,this.root.style.left=t+o+"px"),i.bottom>r.bottom){var a=i.bottom-i.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(3),s=y(a),l=n(8),u=y(l),c=n(43),f=y(c),h=n(27),d=y(h),p=n(15),g=n(41),v=y(g);function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function _(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var x=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(e){function t(e,n){m(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=x);var r=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-snow"),r}return _(t,e),o(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),v.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),v.default),this.tooltip=new S(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers["link"].call(e,!n.format.link)}))}}]),t}(f.default);w.DEFAULTS=(0,s.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);var r=this.quill.theme.tooltip;r.edit("link",n)}else this.quill.format("link",!1)}}}}});var S=function(e){function t(e,n){m(this,t);var r=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return _(t,e),o(t,[{key:"listen",value:function(){var e=this;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,u.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(u.default.events.SELECTION_CHANGE,(function(t,n,i){if(null!=t){if(0===t.length&&i===u.default.sources.USER){var o=e.quill.scroll.descendant(d.default,t.index),a=r(o,2),s=a[0],l=a[1];if(null!=s){e.linkRange=new p.Range(t.index-l,s.length());var c=d.default.formats(s.domNode);return e.preview.textContent=c,e.preview.setAttribute("href",c),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(c.BaseTooltip);S.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=ne(r),o=n(36),a=n(38),s=n(64),l=n(65),u=ne(l),c=n(66),f=ne(c),h=n(67),d=ne(h),p=n(37),g=n(26),v=n(39),y=n(40),m=n(56),b=ne(m),_=n(68),x=ne(_),w=n(27),S=ne(w),k=n(69),E=ne(k),O=n(70),C=ne(O),A=n(71),T=ne(A),P=n(72),M=ne(P),D=n(73),I=ne(D),L=n(13),R=ne(L),j=n(74),N=ne(j),B=n(75),F=ne(B),z=n(57),U=ne(z),H=n(41),V=ne(H),G=n(28),W=ne(G),q=n(59),X=ne(q),Y=n(60),K=ne(Y),$=n(61),Z=ne($),J=n(108),Q=ne(J),ee=n(62),te=ne(ee);function ne(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":g.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":v.FontClass,"attributors/class/size":y.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":g.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":v.FontStyle,"attributors/style/size":y.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":g.ColorStyle,"formats/font":v.FontClass,"formats/size":y.SizeClass,"formats/blockquote":u.default,"formats/code-block":R.default,"formats/header":f.default,"formats/list":d.default,"formats/bold":b.default,"formats/code":L.Code,"formats/italic":x.default,"formats/link":S.default,"formats/script":E.default,"formats/strike":C.default,"formats/underline":T.default,"formats/image":M.default,"formats/video":I.default,"formats/list/item":h.ListItem,"modules/formula":N.default,"modules/syntax":F.default,"modules/toolbar":U.default,"themes/bubble":Q.default,"themes/snow":te.default,"ui/icons":V.default,"ui/picker":W.default,"ui/icon-picker":K.default,"ui/color-picker":X.default,"ui/tooltip":Z.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var r=this.value(e)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(a.default.Attributor.Class),h=new f("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="blockquote",u.tagName="blockquote",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),r(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(o.default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=f(o),s=n(4),l=f(s),u=n(25),c=f(u);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g(t,e),r(t,[{key:"format",value:function(e,n){e!==y.blotName||n?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:i(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(l.default);v.blotName="list-item",v.tagName="LI";var y=function(e){function t(e){d(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=function(t){if(t.target.parentNode===e){var r=n.statics.formats(e),i=a.default.find(t.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}};return e.addEventListener("touchstart",r),e.addEventListener("mousedown",r),n}return g(t,e),r(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",r=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||r.setAttribute("data-checked","checked"===e),r}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return h({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof v)i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(c.default);y.blotName="list",y.scope=a.default.Scope.BLOCK_BLOT,y.tagName=["OL","UL"],y.defaultChild="list-item",y.allowedChildren=[v],t.ListItem=v,t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="italic",u.tagName=["EM","I"],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(6),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(a.default);f.blotName="script",f.tagName=["SUB","SUP"],t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="strike",u.tagName="S",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="underline",u.tagName="U",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=l(o),s=n(27);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["alt","height","width"],d=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"format",value:function(e,n){h.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return h.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);d.blotName="image",d.tagName="IMG",t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(4),a=n(27),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["height","width"],d=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"format",value:function(e,n){h.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return h.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(35),a=f(o),s=n(5),l=f(s),u=n(9),c=f(u);function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e){function t(){return h(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),r(t,null,[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(a.default);g.blotName="formula",g.className="ql-formula",g.tagName="SPAN";var v=function(e){function t(){h(this,t);var e=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return p(t,e),r(t,null,[{key:"register",value:function(){l.default.register(g,!0)}}]),t}(c.default);t.FormulaBlot=g,t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=n(0),a=d(o),s=n(5),l=d(s),u=n(9),c=d(u),f=n(13),h=d(f);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=function(e){function t(){return p(this,t),g(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return v(t,e),r(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(h.default);y.className="ql-syntax";var m=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),b=function(e){function t(e,n){p(this,t);var r=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return v(t,e),r(t,null,[{key:"register",value:function(){l.default.register(m,!0),l.default.register(y,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(y).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.default.sources.SILENT)}}}]),t}(c.default);b.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=y,t.CodeToken=m,t.default=b},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3),a=p(o),s=n(8),l=p(s),u=n(43),c=p(u),f=n(15),h=n(41),d=p(h);function p(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function y(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],b=function(e){function t(e,n){g(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-bubble"),r}return y(t,e),i(t,[{key:"extendToolbar",value:function(e){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),d.default)}}]),t}(c.default);b.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(e){function t(e,n){g(this,t);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(l.default.events.EDITOR_CHANGE,(function(e,t,n,i){if(e===l.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&i===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(t.index,t.length);if(1===o.length)r.position(r.quill.getBounds(t));else{var a=o[o.length-1],s=r.quill.getIndex(a),u=Math.min(a.length()-1,t.index+t.length-s),c=r.quill.getBounds(new f.Range(s,u));r.position(c)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return y(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),t}(u.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=_,t.default=b},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("fd40").Buffer)},"0ba2":function(e,t,n){var r=n("abdd");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"121a":function(e,t,n){},"133a":function(e,t,n){var r=n("6e2a"),i=n("5501");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"1b54":function(e,t,n){var r=n("133a"),i=n("5add"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},"1c7f":function(e,t,n){var r=n("7de6"),i=n("2754");e.exports=Object.keys||function(e){return r(e,i)}},"1ccd":function(e,t,n){var r=n("c16d"),i=n("ad3e"),o=n("1de5"),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"1de5":function(e,t,n){var r=n("5c02"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23f5":function(e,t,n){var r=n("abdd"),i=n("cf6a");e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},2409:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"264b":function(e,t,n){var r=n("abdd");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"26a2":function(e,t,n){var r=n("abdd");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},2754:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"2b23":function(e,t,n){"use strict";var r=n("0ba2"),i=n("d3f4"),o=n("69ba");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},"2f7b":function(e,t,n){var r=n("31c4"),i=n("b289"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"31c4":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"34a8":function(e,t,n){var r=n("7de6"),i=n("2754"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3560:function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=h,t.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function f(e,t,n){return 3*(t+n)/4-n}function h(e){var t,n,r=u(e),a=r[0],s=r[1],l=new o(f(e,a,s)),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(d(r));return i.join("")}function g(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(p(e,s,s+a>l?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},3642:function(e,t,n){var r=n("31c4");e.exports=function(e){return Object(r(e))}},"3bdb":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},"3f63":function(e,t,n){var r=n("a2e9"),i=n("d9a5"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"42d2":function(e,t,n){var r=n("c8a9");e.exports=r("document","documentElement")},5269:function(e,t,n){var r=n("c8a9");e.exports=r("navigator","userAgent")||""},5501:function(e,t,n){var r=n("9fd9"),i=n("af14"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},"571a":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"5add":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},"5b09":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"5c02":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"62f3":function(e,t,n){var r=n("6dd5"),i=n("d3f4"),o=n("264b"),a=n("1c7f");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"69ba":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"6dd5":function(e,t,n){var r=n("a2e9");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"6e2a":function(e,t){e.exports=!1},"6f6b":function(e,t,n){var r,i,o=n("9fd9"),a=n("5269"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"79e4":function(e,t,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===l)return f[h];if(l===c&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},"7d72":function(e,t,n){"use strict";var r=n("6dd5"),i=n("9fd9"),o=n("d1a0"),a=n("91f2"),s=n("5b09"),l=n("d9a5"),u=n("23f5"),c=n("0ba2"),f=n("a2e9"),h=n("f628"),d=n("34a8").f,p=n("f2e6").f,g=n("d3f4").f,v=n("2f7b").trim,y="Number",m=i[y],b=m.prototype,_=l(h(b))==y,x=function(e){var t,n,r,i,o,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(u=v(u),t=u.charCodeAt(0),43===t||45===t){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;s<a;s++)if(l=o.charCodeAt(s),l<48||l>i)return NaN;return parseInt(o,r)}return+u};if(o(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var w,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?f((function(){b.valueOf.call(n)})):l(n)!=y)?u(new m(x(t)),n,S):x(t)},k=r?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),E=0;k.length>E;E++)s(m,w=k[E])&&!s(S,w)&&g(S,w,p(m,w));S.prototype=b,b.constructor=S,a(i,y,S)}},"7de6":function(e,t,n){var r=n("5b09"),i=n("c16d"),o=n("1ccd").indexOf,a=n("e438");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},"7e41":function(e,t,n){},"7f5c":function(e,t,n){var r,i,o,a=n("a0e6"),s=n("9fd9"),l=n("abdd"),u=n("d0f9"),c=n("5b09"),f=n("5501"),h=n("1b54"),d=n("e438"),p=s.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var y=f.state||(f.state=new p),m=y.get,b=y.has,_=y.set;r=function(e,t){return t.facade=e,_.call(y,e,t),t},i=function(e){return m.call(y,e)||{}},o=function(e){return b.call(y,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){return t.facade=e,u(e,x,t),t},i=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:v}},9002:function(e,t,n){var r=n("9fd9");e.exports=r},"91f2":function(e,t,n){var r=n("9fd9"),i=n("d0f9"),o=n("5b09"),a=n("af14"),s=n("a16d"),l=n("7f5c"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e!==r?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},9610:function(e,t,n){var r=n("abdd"),i=n("fedf"),o=n("ec84"),a=o("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"96be":function(e,t,n){},9878:function(e,t,n){var r=n("5b09"),i=n("a7e2"),o=n("f2e6"),a=n("d3f4");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},"99d7":function(e,t,n){var r=n("e6f1");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"9b89":function(e,t){t.f=Object.getOwnPropertySymbols},"9fd9":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("2409"))},a0e6:function(e,t,n){var r=n("9fd9"),i=n("a16d"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},a16d:function(e,t,n){var r=n("5501"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},a2e9:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},a7e2:function(e,t,n){var r=n("c8a9"),i=n("34a8"),o=n("9b89"),a=n("264b");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},abdd:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},ad3e:function(e,t,n){var r=n("5c02"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},af14:function(e,t,n){var r=n("9fd9"),i=n("d0f9");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},af5e:function(e,t,n){var r=n("a2e9"),i=n("ec84"),o=n("6f6b"),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},af60:function(e,t,n){"use strict";var r=n("b591"),i=n("a2e9"),o=n("fedf"),a=n("abdd"),s=n("3642"),l=n("ad3e"),u=n("2b23"),c=n("9610"),f=n("af5e"),h=n("ec84"),d=n("6f6b"),p=h("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=d>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),m=f("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!y||!m;r({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,r,i,o,a=s(this),f=c(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],b(o)){if(i=l(o.length),h+i>g)throw TypeError(v);for(n=0;n<i;n++,h++)n in o&&u(f,h,o[n])}else{if(h>=g)throw TypeError(v);u(f,h++,o)}return f.length=h,f}})},b289:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},b591:function(e,t,n){var r=n("9fd9"),i=n("f2e6").f,o=n("d0f9"),a=n("91f2"),s=n("af14"),l=n("9878"),u=n("d1a0");e.exports=function(e,t){var n,c,f,h,d,p,g=e.target,v=e.global,y=e.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,e.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},c16d:function(e,t,n){var r=n("3f63"),i=n("31c4");e.exports=function(e){return r(i(e))}},c8a9:function(e,t,n){var r=n("9002"),i=n("9fd9"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},cf6a:function(e,t,n){var r=n("264b"),i=n("26a2");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d0f9:function(e,t,n){var r=n("6dd5"),i=n("d3f4"),o=n("69ba");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},d1a0:function(e,t,n){var r=n("a2e9"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},d3f4:function(e,t,n){var r=n("6dd5"),i=n("00f5"),o=n("264b"),a=n("0ba2"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},d9a5:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},da52:function(e,t,n){var r=n("9fd9"),i=n("abdd"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},e248:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?h/l:h*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+d]=255&a,d+=p,a/=256,u-=8);e[n+d-p]|=128*g}},e438:function(e,t){e.exports={}},e6f1:function(e,t,n){var r=n("a2e9");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},ec84:function(e,t,n){var r=n("9fd9"),i=n("133a"),o=n("5b09"),a=n("5add"),s=n("e6f1"),l=n("99d7"),u=i("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},f2e6:function(e,t,n){var r=n("6dd5"),i=n("3bdb"),o=n("69ba"),a=n("c16d"),s=n("0ba2"),l=n("5b09"),u=n("00f5"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},f628:function(e,t,n){var r,i=n("264b"),o=n("62f3"),a=n("2754"),s=n("e438"),l=n("42d2"),u=n("da52"),c=n("1b54"),f=">",h="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},y=function(e){return h+p+f+e+h+"/"+p+f},m=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?m(r):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[d]=i(e),n=new v,v[d]=null,n[g]=e):n=_(),void 0===t?n:o(n,t)}},f928:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,i=n("79e4");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vab-quill",class:e.classes},[n("div",{ref:"editor",style:e.styles})])},s=[],l=(n("af60"),n("7d72"),n("0126")),u=n.n(l),c=(n("121a"),n("7e41"),n("96be"),{name:"VabQuill",props:{value:{type:String,default:""},border:{type:Boolean,default:!1},height:{type:Number,default:null},minHeight:{type:Number,default:null},options:{type:Object,default:function(){return{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],[{header:[1,2,3,4,5,6,!1]}],[{size:["small",!1,"large","huge"]}],[{color:[]},{background:[]}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{align:[]}],[{direction:"rtl"}],["clean"],["link","image"]]},placeholder:"内容...",readOnly:!1}}}},data:function(){return{Quill:null,currentValue:""}},computed:{classes:function(){return[{"vab-quill-no-border":!this.border}]},styles:function(){var e={};return this.minHeight&&(e.minHeight="".concat(this.minHeight,"px")),this.height&&(e.height="".concat(this.height,"px")),e}},watch:{value:{handler:function(e){e!==this.currentValue&&(this.currentValue=e,this.Quill&&this.Quill.pasteHTML(this.value))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var e=this,t=this.$refs.editor;this.Quill=new u.a(t,this.options),this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(t,n,r){var i=e.$refs.editor.children[0].innerHTML,o=e.Quill.getText(),a=e.Quill;e.currentValue=i,e.$emit("input",i),e.$emit("on-change",{html:i,text:o,quill:a})})),this.Quill.on("text-change",(function(t,n,r){e.$emit("on-text-change",t,n,r)})),this.Quill.on("selection-change",(function(t,n,r){e.$emit("on-selection-change",t,n,r)})),this.Quill.on("editor-change",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.$emit.apply(e,["on-editor-change",t].concat(r))}))}}}),f=c;function h(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var d=h(f,a,s,!1,null,null,null),p=d.exports;t["default"]=p},fd40:function(e,t,n){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var r=n("3560"),i=n("e248"),o=n("571a");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?v(e,t,n,r):"string"===typeof t?p(e,t,n):y(e,t)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,n,r){return f(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function d(e,t){if(f(t),e=l(e,t<0?0:0|m(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(t,n);e=l(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function g(e,t){var n=t.length<0?0:0|m(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function v(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=g(e,t),e}function y(e,t){if(u.isBuffer(t)){var n=0|m(t.length);return e=l(e,n),0===e.length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):g(e,t);if("Buffer"===t.type&&o(t.data))return g(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(r)return $(e).length;t=(""+t).toLowerCase(),r=!0}}function x(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return M(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function S(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:k(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var f=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return-1}function E(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function O(e,t,n,r){return ee($(t,e.length-n),e,n,r)}function C(e,t,n,r){return ee(Z(t),e,n,r)}function A(e,t,n,r){return C(e,t,n,r)}function T(e,t,n,r){return ee(Q(t),e,n,r)}function P(e,t,n,r){return ee(J(t,e.length-n),e,n,r)}function M(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function D(e,t,n){n=Math.min(e.length,n);var r=[],i=t;while(i<n){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return L(r)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return h(null,e,t,n)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)w(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?D(this,0,e):x.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),f=0;f<s;++f)if(l[f]!==c[f]){o=l[f],a=c[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return S(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return S(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function L(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=I));return n}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function j(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function N(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=K(e[o]);return i}function B(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function U(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function H(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function V(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function G(e,t,n,r,o){return o||V(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function W(e,t,n,r,o){return o||V(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e+--t],i=1;while(t>0&&(i*=256))r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=t,i=1,o=this[e+--r];while(r>0&&(i*=256))o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;z(this,e,t,n,i,0)}var o=1,a=0;this[t]=255&e;while(++a<n&&(o*=256))this[t+a]=e/o&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;z(this,e,t,n,i,0)}var o=n-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);z(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<n&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);z(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return G(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return G(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:$(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function X(e){if(e=Y(e).replace(q,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function Y(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function K(e){return e<16?"0"+e.toString(16):e.toString(16)}function $(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function J(e,t){for(var n,r,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function Q(e){return r.toByteArray(X(e))}function ee(e,t,n,r){for(var i=0;i<r;++i){if(i+n>=t.length||i>=e.length)break;t[i+n]=e[i]}return i}function te(e){return e!==e}}).call(this,n("2409"))},fedf:function(e,t,n){var r=n("d9a5");e.exports=Array.isArray||function(e){return"Array"==r(e)}}})["default"]}))},d51b:function(e,t,n){"use strict";var r=function(){function e(e){this.value=e}return e}(),i=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new r(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),o=function(){function e(e){this._list=new i,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,i=this._map,o=null;if(null==i[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return o},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t["a"]=o},d58f:function(e,t,n){"use strict";var r=n("59ed"),i=n("7b0b"),o=n("44ad"),a=n("07fa"),s=TypeError,l="Reduce of empty array with no initial value",u=function(e){return function(t,n,u,c){var f=i(t),h=o(f),d=a(f);if(r(n),0===d&&u<2)throw new s(l);var p=e?d-1:0,g=e?-1:1;if(u<2)while(1){if(p in h){c=h[p],p+=g;break}if(p+=g,e?p<0:d<=p)throw new s(l)}for(;e?p>=0:d>p;p+=g)p in h&&(c=n(c,h[p],p,f));return c}};e.exports={left:u(!1),right:u(!0)}},d6d6:function(e,t,n){"use strict";var r=TypeError;e.exports=function(e,t){if(e<t)throw new r("Not enough arguments");return e}},dbe5:function(e,t,n){"use strict";var r=n("cfe9"),i=n("d039"),o=n("1212"),a=n("8558"),s=r.structuredClone;e.exports=!!s&&!i((function(){if("DENO"===a&&o>92||"NODE"===a&&o>94||"BROWSER"===a&&o>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},df7e:function(e,t,n){"use strict";var r=n("07fa");e.exports=function(e,t){for(var n=r(e),i=new t(n),o=0;o<n;o++)i[o]=e[n-o-1];return i}},dfb9:function(e,t,n){"use strict";var r=n("07fa");e.exports=function(e,t,n){var i=0,o=arguments.length>2?n:r(t),a=new e(o);while(o>i)a[i]=t[i++];return a}},dff1:function(e,t,n){"use strict";(function(e){var r=n("26ee"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?r["a"].Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}t["a"]=u}).call(this,n("dd40")(e))},e163:function(e,t,n){"use strict";var r=n("1a2d"),i=n("1626"),o=n("7b0b"),a=n("f772"),s=n("e177"),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},e177:function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e1932:function(e,t,n){(function(){"undefined"==typeof Math.sgn&&(Math.sgn=function(e){return 0==e?0:e>0?1:-1});var e={subtract:function(e,t){return{x:e.x-t.x,y:e.y-t.y}},dotProduct:function(e,t){return e.x*t.x+e.y*t.y},square:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},scale:function(e,t){return{x:e.x*t,y:e.y*t}}},n=64,r=Math.pow(2,-n-1),i=function(t,n){for(var r=[],i=a(t,n),o=n.length-1,l=2*o-1,u=s(i,l,r,0),c=e.subtract(t,n[0]),h=e.square(c),d=0,p=0;p<u;p++){c=e.subtract(t,f(n,o,r[p],null,null));var g=e.square(c);g<h&&(h=g,d=r[p])}return c=e.subtract(t,n[o]),g=e.square(c),g<h&&(h=g,d=1),{location:d,distance:h}},o=function(e,t){var n=i(e,t);return{point:f(t,t.length-1,n.location,null,null),location:n.location}},a=function(t,n){for(var r=n.length-1,i=2*r-1,o=[],a=[],s=[],l=[],u=[[1,.6,.3,.1],[.4,.6,.6,.4],[.1,.3,.6,1]],c=0;c<=r;c++)o[c]=e.subtract(n[c],t);for(c=0;c<=r-1;c++)a[c]=e.subtract(n[c+1],n[c]),a[c]=e.scale(a[c],3);for(var f=0;f<=r-1;f++)for(var h=0;h<=r;h++)s[f]||(s[f]=[]),s[f][h]=e.dotProduct(a[f],o[h]);for(c=0;c<=i;c++)l[c]||(l[c]=[]),l[c].y=0,l[c].x=parseFloat(c)/i;for(var d=r,p=r-1,g=0;g<=d+p;g++){var v=Math.max(0,g-p),y=Math.min(g,d);for(c=v;c<=y;c++){var m=g-c;l[c+m].y+=s[m][c]*u[m][c]}}return l},s=function(e,t,r,i){var o,a,h=[],d=[],p=[],g=[];switch(l(e,t)){case 0:return 0;case 1:if(i>=n)return r[0]=(e[0].x+e[t].x)/2,1;if(u(e,t))return r[0]=c(e,t),1;break}f(e,t,.5,h,d),o=s(h,t,p,i+1),a=s(d,t,g,i+1);for(var v=0;v<o;v++)r[v]=p[v];for(v=0;v<a;v++)r[v+o]=g[v];return o+a},l=function(e,t){var n,r,i=0;n=r=Math.sgn(e[0].y);for(var o=1;o<=t;o++)n=Math.sgn(e[o].y),n!=r&&i++,r=n;return i},u=function(e,t){var n,i,o,a,s,l,u,c,f,h,d,p,g,v,y,m,b,_;l=e[0].y-e[t].y,u=e[t].x-e[0].x,c=e[0].x*e[t].y-e[t].x*e[0].y,b=_=0;for(var x=1;x<t;x++){var w=l*e[x].x+u*e[x].y+c;w>b?b=w:w<_&&(_=w)}return d=0,p=1,g=0,v=l,y=u,m=c-b,f=d*y-v*p,h=1/f,i=(p*m-y*g)*h,v=l,y=u,m=c-_,f=d*y-v*p,h=1/f,o=(p*m-y*g)*h,a=Math.min(i,o),s=Math.max(i,o),n=s-a,n<r?1:0},c=function(e,t){var n=1,r=0,i=e[t].x-e[0].x,o=e[t].y-e[0].y,a=e[0].x-0,s=e[0].y-0,l=i*r-o*n,u=1/l,c=(i*s-o*a)*u;return 0+n*c},f=function(e,t,n,r,i){for(var o=[[]],a=0;a<=t;a++)o[0][a]=e[a];for(var s=1;s<=t;s++)for(a=0;a<=t-s;a++)o[s]||(o[s]=[]),o[s][a]||(o[s][a]={}),o[s][a].x=(1-n)*o[s-1][a].x+n*o[s-1][a+1].x,o[s][a].y=(1-n)*o[s-1][a].y+n*o[s-1][a+1].y;if(null!=r)for(a=0;a<=t;a++)r[a]=o[a][0];if(null!=i)for(a=0;a<=t;a++)i[a]=o[t-a][a];return o[t][0]},h={},d=function(e){var t=h[e];if(!t){t=[];var n=function(){return function(t){return Math.pow(t,e)}},r=function(){return function(t){return Math.pow(1-t,e)}},i=function(e){return function(t){return e}},o=function(){return function(e){return e}},a=function(){return function(e){return 1-e}},s=function(e){return function(t){for(var n=1,r=0;r<e.length;r++)n*=e[r](t);return n}};t.push(new n);for(var l=1;l<e;l++){for(var u=[new i(e)],c=0;c<e-l;c++)u.push(new o);for(c=0;c<l;c++)u.push(new a);t.push(new s(u))}t.push(new r),h[e]=t}return t},p=function(e,t){for(var n=d(e.length-1),r=0,i=0,o=0;o<e.length;o++)r+=e[o].x*n[o](t),i+=e[o].y*n[o](t);return{x:r,y:i}},g=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},v=function(e){return e[0].x===e[1].x&&e[0].y===e[1].y},y=function(e,t,n){if(v(e))return{point:e[0],location:t};var r=p(e,t),i=0,o=t,a=n>0?1:-1,s=null;while(i<Math.abs(n))o+=.005*a,s=p(e,o),i+=g(s,r),r=s;return{point:s,location:o}},m=function(e){var t=(new Date).getTime();if(v(e))return 0;var n=p(e,0),r=0,i=0,o=1,a=null;while(i<1)i+=.005*o,a=p(e,i),r+=g(a,n),n=a;return console.log("length",(new Date).getTime()-t),r},b=function(e,t,n){return y(e,t,n).point},_=function(e,t,n){return y(e,t,n).location},x=function(e,t){var n=p(e,t),r=p(e.slice(0,e.length-1),t),i=r.y-n.y,o=r.x-n.x;return 0===i?1/0:Math.atan(i/o)},w=function(e,t,n){var r=y(e,t,n);return r.location>1&&(r.location=1),r.location<0&&(r.location=0),x(e,r.location)},S=function(e,t,n,r){r=null==r?0:r;var i=y(e,t,r),o=x(e,i.location),a=Math.atan(-1/o),s=n/2*Math.sin(a),l=n/2*Math.cos(a);return[{x:i.point.x+l,y:i.point.y+s},{x:i.point.x-l,y:i.point.y-s}]},k=function(e,t,n,r,i){var o=r-t,a=e-n,s=e*(t-r)+t*(n-e),l=A(i),u=[o*l[0][0]+a*l[1][0],o*l[0][1]+a*l[1][1],o*l[0][2]+a*l[1][2],o*l[0][3]+a*l[1][3]+s],c=P.apply(null,u),f=[];if(null!=c)for(var h=0;h<3;h++){var d,p=c[h],g=Math.pow(p,2),v=Math.pow(p,3),y=[l[0][0]*v+l[0][1]*g+l[0][2]*p+l[0][3],l[1][0]*v+l[1][1]*g+l[1][2]*p+l[1][3]];d=n-e!==0?(y[0]-e)/(n-e):(y[1]-t)/(r-t),p>=0&&p<=1&&d>=0&&d<=1&&f.push(y)}return f},E=function(e,t,n,r,i){var o=[];return o.push.apply(o,k(e,t,e+n,t,i)),o.push.apply(o,k(e+n,t,e+n,t+r,i)),o.push.apply(o,k(e+n,t+r,e,t+r,i)),o.push.apply(o,k(e,t+r,e,t,i)),o},O=function(e,t){var n=[];return n.push.apply(n,k(e.x,e.y,e.x+e.w,e.y,t)),n.push.apply(n,k(e.x+e.w,e.y,e.x+e.w,e.y+e.h,t)),n.push.apply(n,k(e.x+e.w,e.y+e.h,e.x,e.y+e.h,t)),n.push.apply(n,k(e.x,e.y+e.h,e.x,e.y,t)),n};function C(e,t){return[-e[0][t]+3*e[1][t]+-3*e[2][t]+e[3][t],3*e[0][t]-6*e[1][t]+3*e[2][t],-3*e[0][t]+3*e[1][t],e[0][t]]}function A(e){return[C(e,"x"),C(e,"y")]}function T(e){return e<0?-1:e>0?1:0}function P(e,t,n,r){var i,o,a=t/e,s=n/e,l=r/e,u=(3*s-Math.pow(a,2))/9,c=(9*a*s-27*l-2*Math.pow(a,3))/54,f=Math.pow(u,3)+Math.pow(c,2),h=[];if(f>=0)i=T(c+Math.sqrt(f))*Math.pow(Math.abs(c+Math.sqrt(f)),1/3),o=T(c-Math.sqrt(f))*Math.pow(Math.abs(c-Math.sqrt(f)),1/3),h[0]=-a/3+(i+o),h[1]=-a/3-(i+o)/2,h[2]=-a/3-(i+o)/2,0!==Math.abs(Math.sqrt(3)*(i-o)/2)&&(h[1]=-1,h[2]=-1);else{var d=Math.acos(c/Math.sqrt(-Math.pow(u,3)));h[0]=2*Math.sqrt(-u)*Math.cos(d/3)-a/3,h[1]=2*Math.sqrt(-u)*Math.cos((d+2*Math.PI)/3)-a/3,h[2]=2*Math.sqrt(-u)*Math.cos((d+4*Math.PI)/3)-a/3}for(var p=0;p<3;p++)(h[p]<0||h[p]>1)&&(h[p]=-1);return h}var M=this.jsBezier={distanceFromCurve:i,gradientAtPoint:x,gradientAtPointAlongCurveFrom:w,nearestPointOnCurve:o,pointOnCurve:p,pointAlongCurveFrom:b,perpendicularToCurveAt:S,locationAlongCurveFrom:_,getLength:m,lineIntersection:k,boxIntersection:E,boundingBoxIntersection:O,version:"0.9.0"};t.jsBezier=M}).call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,n=e.Biltong={version:"0.4.0"};t.Biltong=n;var r=function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=function(e,t,n){return e=r(e)?e:[e.x,e.y],t=r(t)?t:[t.x,t.y],n(e,t)},o=n.gradient=function(e,t){return i(e,t,(function(e,t){return t[0]==e[0]?t[1]>e[1]?1/0:-1/0:t[1]==e[1]?t[0]>e[0]?0:-0:(t[1]-e[1])/(t[0]-e[0])}))},a=(n.normal=function(e,t){return-1/o(e,t)},n.lineLength=function(e,t){return i(e,t,(function(e,t){return Math.sqrt(Math.pow(t[1]-e[1],2)+Math.pow(t[0]-e[0],2))}))},n.quadrant=function(e,t){return i(e,t,(function(e,t){return t[0]>e[0]||t[0]==e[0]?t[1]>e[1]?2:1:t[1]>e[1]?3:4}))}),s=(n.theta=function(e,t){return i(e,t,(function(e,t){var n=o(e,t),r=Math.atan(n),i=a(e,t);return 4!=i&&3!=i||(r+=Math.PI),r<0&&(r+=2*Math.PI),r}))},n.intersects=function(e,t){var n=e.x,r=e.x+e.w,i=e.y,o=e.y+e.h,a=t.x,s=t.x+t.w,l=t.y,u=t.y+t.h;return n<=a&&a<=r&&i<=l&&l<=o||n<=s&&s<=r&&i<=l&&l<=o||n<=a&&a<=r&&i<=u&&u<=o||n<=s&&a<=r&&i<=u&&u<=o||a<=n&&n<=s&&l<=i&&i<=u||a<=r&&r<=s&&l<=i&&i<=u||a<=n&&n<=s&&l<=o&&o<=u||a<=r&&n<=s&&l<=o&&o<=u},n.encloses=function(e,t,n){var r=e.x,i=e.x+e.w,o=e.y,a=e.y+e.h,s=t.x,l=t.x+t.w,u=t.y,c=t.y+t.h,f=function(e,t,r,i){return n?e<=t&&r>=i:e<t&&r>i};return f(r,s,i,l)&&f(o,u,a,c)},[null,[1,-1],[1,1],[-1,1],[-1,-1]]),l=[null,[-1,-1],[-1,1],[1,1],[1,-1]];n.pointOnLine=function(e,t,n){var r=o(e,t),i=a(e,t),u=n>0?s[i]:l[i],c=Math.atan(r),f=Math.abs(n*Math.sin(c))*u[1],h=Math.abs(n*Math.cos(c))*u[0];return{x:e.x+h,y:e.y+f}},n.perpendicularLineTo=function(e,t,n){var r=o(e,t),i=Math.atan(-1/r),a=n/2*Math.sin(i),s=n/2*Math.cos(i);return[{x:t.x+s,y:t.y+a},{x:t.x-s,y:t.y-a}]}}.call("undefined"!==typeof window?window:this),function(){"use strict";function e(e,t,n,r,i,o,a,s){return new Touch({target:t,identifier:j(),pageX:n,pageY:r,screenX:i,screenY:o,clientX:a||i,clientY:s||o})}function n(){var e=[];return Array.prototype.push.apply(e,arguments),e.item=function(e){return this[e]},e}function r(t,r,i,o,a,s,l,u){return n(e.apply(null,arguments))}var i=this,o=function(e,t,n){n=n||e.parentNode;for(var r=n.querySelectorAll(t),i=0;i<r.length;i++)if(r[i]===e)return!0;return!1},a=function(e){return"string"==typeof e||e.constructor===String?document.getElementById(e):e},s=function(e){return e.srcElement||e.target},l=function(e,t,n,r){if(r){if("undefined"!==typeof e.path&&e.path.indexOf)return{path:e.path,end:e.path.indexOf(n)};var i={path:[],end:-1},o=function(e){i.path.push(e),e===n?i.end=i.path.length-1:null!=e.parentNode&&o(e.parentNode)};return o(t),i}return{path:[t],end:1}},u=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]==t)break;n<e.length&&e.splice(n,1)},c=1,f=function(e,t,n){var r=c++;return e.__ta=e.__ta||{},e.__ta[t]=e.__ta[t]||{},e.__ta[t][r]=n,n.__tauid=r,r},h=function(e,t,n){if(e.__ta&&e.__ta[t]&&delete e.__ta[t][n.__tauid],n.__taExtra){for(var r=0;r<n.__taExtra.length;r++)L(e,n.__taExtra[r][0],n.__taExtra[r][1]);n.__taExtra.length=0}n.__taUnstore&&n.__taUnstore()},d=function(e,t,n,r){if(null==e)return n;var i=e.split(","),a=function(r){a.__tauid=n.__tauid;var u=s(r),c=u,f=l(r,u,t,null!=e);if(-1!=f.end)for(var h=0;h<f.end;h++){c=f.path[h];for(var d=0;d<i.length;d++)o(c,i[d],t)&&n.apply(c,arguments)}};return p(n,r,a),a},p=function(e,t,n){e.__taExtra=e.__taExtra||[],e.__taExtra.push([t,n])},g=function(e,t,n,r){if(x&&S[t]){var i=d(r,e,n,S[t]);I(e,S[t],i,n)}"focus"===t&&null==e.getAttribute("tabindex")&&e.setAttribute("tabindex","1"),I(e,t,d(r,e,n,t),n)},v=function(e,t,n,r){if(null==e.__taSmartClicks){var i=function(t){e.__tad=C(t)},o=function(t){e.__tau=C(t)},a=function(t){if(e.__tad&&e.__tau&&e.__tad[0]===e.__tau[0]&&e.__tad[1]===e.__tau[1])for(var n=0;n<e.__taSmartClicks.length;n++)e.__taSmartClicks[n].apply(s(t),[t])};g(e,"mousedown",i,r),g(e,"mouseup",o,r),g(e,"click",a,r),e.__taSmartClicks=[]}e.__taSmartClicks.push(n),n.__taUnstore=function(){u(e.__taSmartClicks,n)}},y={tap:{touches:1,taps:1},dbltap:{touches:1,taps:2},contextmenu:{touches:2,taps:1}},m=function(e,t){return function(n,r,i,a){if("contextmenu"==r&&w)g(n,r,i,a);else{if(null==n.__taTapHandler){var c=n.__taTapHandler={tap:[],dbltap:[],contextmenu:[],down:!1,taps:0,downSelectors:[]},f=function(r){for(var i=s(r),u=l(r,i,n,null!=a),f=!1,h=0;h<u.end;h++){if(f)return;i=u.path[h];for(var g=0;g<c.downSelectors.length;g++)if(null==c.downSelectors[g]||o(i,c.downSelectors[g],n)){c.down=!0,setTimeout(d,e),setTimeout(p,t),f=!0;break}}},h=function(e){if(c.down){var t,r,i=s(e);c.taps++;var a=D(e);for(var u in y)if(y.hasOwnProperty(u)){var f=y[u];if(f.touches===a&&(1===f.taps||f.taps===c.taps))for(var h=0;h<c[u].length;h++){r=l(e,i,n,null!=c[u][h][1]);for(var d=0;d<r.end;d++)if(t=r.path[d],null==c[u][h][1]||o(t,c[u][h][1],n)){c[u][h][0].apply(t,[e]);break}}}}},d=function(){c.down=!1},p=function(){c.taps=0};g(n,"mousedown",f),g(n,"mouseup",h)}n.__taTapHandler.downSelectors.push(a),n.__taTapHandler[r].push([i,a]),i.__taUnstore=function(){u(n.__taTapHandler[r],i)}}}},b=function(e,t,n,r){for(var i in n.__tamee[e])n.__tamee[e].hasOwnProperty(i)&&n.__tamee[e][i].apply(r,[t])},_=function(){var e=[];return function(t,n,r,i){if(!t.__tamee){t.__tamee={over:!1,mouseenter:[],mouseexit:[]};var a=function(n){var r=s(n);(null==i&&r==t&&!t.__tamee.over||o(r,i,t)&&(null==r.__tamee||!r.__tamee.over))&&(b("mouseenter",n,t,r),r.__tamee=r.__tamee||{},r.__tamee.over=!0,e.push(r))},l=function(n){for(var r=s(n),i=0;i<e.length;i++)r!=e[i]||o(n.relatedTarget||n.toElement,"*",r)||(r.__tamee.over=!1,e.splice(i,1),b("mouseexit",n,t,r))};I(t,"mouseover",d(i,t,a,"mouseover"),a),I(t,"mouseout",d(i,t,l,"mouseout"),l)}r.__taUnstore=function(){delete t.__tamee[n][r.__tauid]},f(t,n,r),t.__tamee[n][r.__tauid]=r}},x="ontouchstart"in document.documentElement||navigator.maxTouchPoints,w="onmousedown"in document.documentElement,S={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"},k=function(){var e=-1;if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}(),E=k>-1&&k<9,O=function(e,t){if(null==e)return[0,0];var n=M(e),r=P(n,0);return[r[t+"X"],r[t+"Y"]]},C=function(e){return null==e?[0,0]:E?[e.clientX+document.documentElement.scrollLeft,e.clientY+document.documentElement.scrollTop]:O(e,"page")},A=function(e){return O(e,"screen")},T=function(e){return O(e,"client")},P=function(e,t){return e.item?e.item(t):e[t]},M=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},D=function(e){return M(e).length},I=function(e,t,n,r){if(f(e,t,n),r.__tauid=n.__tauid,e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent){var i=t+n.__tauid;e["e"+i]=n,e[i]=function(){e["e"+i]&&e["e"+i](window.event)},e.attachEvent("on"+t,e[i])}},L=function(e,t,n){null!=n&&R(e,(function(){var r=a(this);if(h(r,t,n),null!=n.__tauid)if(r.removeEventListener)r.removeEventListener(t,n,!1),x&&S[t]&&r.removeEventListener(S[t],n,!1);else if(this.detachEvent){var i=t+n.__tauid;r[i]&&r.detachEvent("on"+t,r[i]),r[i]=null,r["e"+i]=null}n.__taTouchProxy&&L(e,n.__taTouchProxy[1],n.__taTouchProxy[0])}))},R=function(e,t){if(null!=e){e="undefined"!==typeof Window&&"unknown"!==typeof e.top&&e==e.top?[e]:"string"!==typeof e&&null==e.tagName&&null!=e.length?e:"string"===typeof e?document.querySelectorAll(e):[e];for(var n=0;n<e.length;n++)t.apply(e[n])}},j=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))};i.Mottle=function(e){e=e||{};var t=e.clickThreshold||250,n=e.dblClickThreshold||450,i=new _,o=new m(t,n),s=e.smartClicks,l=function(e,t,n,r){null!=n&&R(e,(function(){var e=a(this);s&&"click"===t?v(e,t,n,r):"tap"===t||"dbltap"===t||"contextmenu"===t?o(e,t,n,r):"mouseenter"===t||"mouseexit"==t?i(e,t,n,r):g(e,t,n,r)}))};this.remove=function(e){return R(e,(function(){var e=a(this);if(e.__ta)for(var t in e.__ta)if(e.__ta.hasOwnProperty(t))for(var n in e.__ta[t])e.__ta[t].hasOwnProperty(n)&&L(e,t,e.__ta[t][n]);e.parentNode&&e.parentNode.removeChild(e)})),this},this.on=function(e,t,n,r){var i=arguments[0],o=4==arguments.length?arguments[2]:null,a=arguments[1],s=arguments[arguments.length-1];return l(i,a,s,o),this},this.off=function(e,t,n){return L(e,t,n),this},this.trigger=function(e,t,n,i){var o=w&&("undefined"===typeof MouseEvent||null==n||n.constructor===MouseEvent),s=x&&!w&&S[t]?S[t]:t,l=!(x&&!w&&S[t]),u=C(n),c=A(n),f=T(n);return R(e,(function(){var e,h=a(this);n=n||{screenX:c[0],screenY:c[1],clientX:f[0],clientY:f[1]};var d=function(e){i&&(e.payload=i)},p={TouchEvent:function(e){var t=r(window,h,0,u[0],u[1],c[0],c[1],f[0],f[1]),n=e.initTouchEvent||e.initEvent;n(s,!0,!0,window,null,c[0],c[1],f[0],f[1],!1,!1,!1,!1,t,t,t,1,0)},MouseEvents:function(e){e.initMouseEvent(s,!0,!0,window,0,c[0],c[1],f[0],f[1],!1,!1,!1,!1,1,h)}};if(document.createEvent){var g=!l&&!o&&x&&S[t],v=g?"TouchEvent":"MouseEvents";e=document.createEvent(v),p[v](e),d(e),h.dispatchEvent(e)}else document.createEventObject&&(e=document.createEventObject(),e.eventType=e.eventName=s,e.screenX=c[0],e.screenY=c[1],e.clientX=f[0],e.clientY=f[1],d(e),h.fireEvent("on"+s,e))})),this}},i.Mottle.consume=function(e,t){e.stopPropagation?e.stopPropagation():e.returnValue=!1,!t&&e.preventDefault&&e.preventDefault()},i.Mottle.pageLocation=C,i.Mottle.setForceTouchEvents=function(e){x=e},i.Mottle.setForceMouseEvents=function(e){w=e},i.Mottle.version="0.8.0",t.Mottle=i.Mottle}.call("undefined"===typeof window?this:window),function(){"use strict";var e=this,n=function(e,t,n){return-1===e.indexOf(t)&&(n?e.unshift(t):e.push(t),!0)},r=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)},i=function(e,t){for(var n=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&n.push(e[r]);return n},o=function(e){return null!=e&&("string"===typeof e||e.constructor===String)},a=function(e){var t=e.getBoundingClientRect(),n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft,a=r.clientTop||n.clientTop||0,s=r.clientLeft||n.clientLeft||0,l=t.top+i-a,u=t.left+o-s;return{top:Math.round(l),left:Math.round(u)}},s=function(e,t,n){n=n||e.parentNode;for(var r=n.querySelectorAll(t),i=0;i<r.length;i++)if(r[i]===e)return!0;return!1},l=function(e,t,n){if(s(t,n,e))return t;var r=t.parentNode;while(null!=r&&r!==e){if(s(r,n,e))return r;r=r.parentNode}},u=function(e,t,n){for(var r=null,i=t.getAttribute("katavorio-draggable"),o=null!=i?"[katavorio-draggable='"+i+"'] ":"",a=0;a<e.length;a++)if(r=l(t,n,o+e[a].selector),null!=r){if(e[a].filter){var u=s(n,e[a].filter,r),c=!0===e[a].filterExclude;if(c&&!u||u)return null}return[e[a],r]}return null},c=function(){var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}(),f=10,h=10,d=c>-1&&c<9,p=9===c,g=function(e){if(d)return[e.clientX+document.documentElement.scrollLeft,e.clientY+document.documentElement.scrollTop];var t=y(e),n=v(t,0);return p?[n.pageX||n.clientX,n.pageY||n.clientY]:[n.pageX,n.pageY]},v=function(e,t){return e.item?e.item(t):e[t]},y=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},m={delegatedDraggable:"katavorio-delegated-draggable",draggable:"katavorio-draggable",droppable:"katavorio-droppable",drag:"katavorio-drag",selected:"katavorio-drag-selected",active:"katavorio-drag-active",hover:"katavorio-drag-hover",noSelect:"katavorio-drag-no-select",ghostProxy:"katavorio-ghost-proxy",clonedDrag:"katavorio-clone-drag"},b="katavorio-drag-scope",_=["stop","start","drag","drop","over","out","beforeStart"],x=function(){},w=function(){return!0},S=function(e,t,n){for(var r=0;r<e.length;r++)e[r]!=n&&t(e[r])},k=function(e,t,n,r){S(e,(function(e){e.setActive(t),t&&e.updatePosition(),n&&e.setHover(r,t)}))},E=function(e,t){if(null!=e){e=o(e)||null!=e.tagName||null==e.length?[e]:e;for(var n=0;n<e.length;n++)t.apply(e[n],[e[n]])}},O=function(e){e.stopPropagation?(e.stopPropagation(),e.preventDefault()):e.returnValue=!1},C="input,textarea,select,button,option",A=function(e,t,n){var r=e.srcElement||e.target;return!s(r,n.getInputFilterSelector(),t)},T=function(e,t,n,r){this.params=t||{},this.el=e,this.params.addClass(this.el,this._class),this.uuid=L();var i=!0;return this.setEnabled=function(e){i=e},this.isEnabled=function(){return i},this.toggleEnabled=function(){i=!i},this.setScope=function(e){this.scopes=e?e.split(/\s+/):[r]},this.addScope=function(e){var t={};for(var n in E(this.scopes,(function(e){t[e]=!0})),E(e?e.split(/\s+/):[],(function(e){t[e]=!0})),this.scopes=[],t)this.scopes.push(n)},this.removeScope=function(e){var t={};for(var n in E(this.scopes,(function(e){t[e]=!0})),E(e?e.split(/\s+/):[],(function(e){delete t[e]})),this.scopes=[],t)this.scopes.push(n)},this.toggleScope=function(e){var t={};for(var n in E(this.scopes,(function(e){t[e]=!0})),E(e?e.split(/\s+/):[],(function(e){t[e]?delete t[e]:t[e]=!0})),this.scopes=[],t)this.scopes.push(n)},this.setScope(t.scope),this.k=t.katavorio,t.katavorio},P=function(){return!0},M=function(){return!1},D=function(e,t,n,r){this._class=n.draggable;var i=T.apply(this,arguments);this.rightButtonCanDrag=this.params.rightButtonCanDrag;var l,c,d,p,v,y,b=[0,0],_=null,x=null,S=[0,0],E=!1,C=[0,0],D=!1!==this.params.consumeStartEvent,I=this.el,j=this.params.clone,N=(this.params.scroll,!1!==t.multipleDrop),B=!1,F=null,z=[],U=null,H=t.ghostProxyParent;if(l=!0===t.ghostProxy?P:t.ghostProxy&&"function"===typeof t.ghostProxy?t.ghostProxy:function(e,t){return!(!U||!U.useGhostProxy)&&U.useGhostProxy(e,t)},c=t.makeGhostProxy?t.makeGhostProxy:function(e){return U&&U.makeGhostProxy?U.makeGhostProxy(e):e.cloneNode(!0)},t.selector){var V=e.getAttribute("katavorio-draggable");null==V&&(V=""+(new Date).getTime(),e.setAttribute("katavorio-draggable",V)),z.push(t)}var G,W=t.snapThreshold,q=function(e,t,n,r,i){var o=Math.floor(e[0]/t),a=t*o,s=a+t,l=Math.abs(e[0]-a)<=r?a:Math.abs(s-e[0])<=r?s:e[0],u=Math.floor(e[1]/n),c=n*u,f=c+n,h=Math.abs(e[1]-c)<=i?c:Math.abs(f-e[1])<=i?f:e[1];return[l,h]};this.posses=[],this.posseRoles={},this.toGrid=function(e){if(null==this.params.grid)return e;var t=this.params.grid?this.params.grid[0]/2:W||f/2,n=this.params.grid?this.params.grid[1]/2:W||h/2;return q(e,this.params.grid[0],this.params.grid[1],t,n)},this.snap=function(e,t){if(null!=I){e=e||(this.params.grid?this.params.grid[0]:f),t=t||(this.params.grid?this.params.grid[1]:h);var n=this.params.getPosition(I),r=this.params.grid?this.params.grid[0]/2:W,i=this.params.grid?this.params.grid[1]/2:W,o=q(n,e,t,r,i);return this.params.setPosition(I,o),o}},this.setUseGhostProxy=function(e){l=e?P:M};var X=function(e){return!1===t.allowNegative?[Math.max(0,e[0]),Math.max(0,e[1])]:e},Y=function(e){G="function"===typeof e?e:e?function(e,t,n,r){return X([Math.max(0,Math.min(n.w-r[0],e[0])),Math.max(0,Math.min(n.h-r[1],e[1]))])}.bind(this):function(e){return X(e)}}.bind(this);Y("function"===typeof this.params.constrain?this.params.constrain:this.params.constrain||this.params.containment),this.setConstrain=function(e){Y(e)};var K,$=function(e,t,n,r){return null!=U&&U.constrain&&"function"===typeof U.constrain?U.constrain(e,t,n,r):G(e,t,n,r)};this.setRevert=function(e){K=e},this.params.revert&&(K=this.params.revert);var Z=function(e){return"function"===typeof e?(e._katavorioId=L(),e._katavorioId):e},J={},Q=function(e){for(var t in J){var n=J[t],r=n[0](e);if(n[1]&&(r=!r),!r)return!1}return!0},ee=this.setFilter=function(t,n){if(t){var r=Z(t);J[r]=[function(n){var r,i=n.srcElement||n.target;return o(t)?r=s(i,t,e):"function"===typeof t&&(r=t(n,e)),r},!1!==n]}};this.addFilter=ee,this.removeFilter=function(e){var t="function"===typeof e?e._katavorioId:e;delete J[t]};this.clearAllFilters=function(){J={}},this.canDrag=this.params.canDrag||w;var te,ne=[],re=[];this.addSelector=function(e){e.selector&&z.push(e)},this.downListener=function(e){if(!e.defaultPrevented){var t=this.rightButtonCanDrag||3!==e.which&&2!==e.button;if(t&&this.isEnabled()&&this.canDrag()){var r=Q(e)&&A(e,this.el,this.k);if(r){if(U=null,F=null,z.length>0){var o=u(z,this.el,e.target||e.srcElement);if(null!=o&&(U=o[0],F=o[1]),null==F)return}else F=this.el;if(j)if(I=F.cloneNode(!0),this.params.addClass(I,m.clonedDrag),I.setAttribute("id",null),I.style.position="absolute",null!=this.params.parent){var s=this.params.getPosition(this.el);I.style.left=s[0]+"px",I.style.top=s[1]+"px",this.params.parent.appendChild(I)}else{var l=a(F);I.style.left=l.left+"px",I.style.top=l.top+"px",document.body.appendChild(I)}else I=F;D&&O(e),b=g(e),I&&I.parentNode&&(C=[I.parentNode.scrollLeft,I.parentNode.scrollTop]),this.params.bind(document,"mousemove",this.moveListener),this.params.bind(document,"mouseup",this.upListener),i.markSelection(this),i.markPosses(this),this.params.addClass(document.body,n.noSelect),ae("beforeStart",{el:this.el,pos:_,e:e,drag:this})}else this.params.consumeFilteredEvents&&O(e)}}}.bind(this),this.moveListener=function(e){if(b){if(!E){var t=ae("start",{el:this.el,pos:_,e:e,drag:this});if(!1!==t){if(!b)return;this.mark(!0),E=!0}else this.abort()}if(b){re.length=0;var n=g(e),r=n[0]-b[0],o=n[1]-b[1],a=this.params.ignoreZoom?1:i.getZoom();I&&I.parentNode&&(r+=I.parentNode.scrollLeft-C[0],o+=I.parentNode.scrollTop-C[1]),r/=a,o/=a,this.moveBy(r,o,e),i.updateSelection(r,o,this),i.updatePosses(r,o,this)}}}.bind(this),this.upListener=function(e){b&&(b=null,this.params.unbind(document,"mousemove",this.moveListener),this.params.unbind(document,"mouseup",this.upListener),this.params.removeClass(document.body,n.noSelect),this.unmark(e),i.unmarkSelection(this,e),i.unmarkPosses(this,e),this.stop(e),i.notifyPosseDragStop(this,e),E=!1,re.length=0,j?(I&&I.parentNode&&I.parentNode.removeChild(I),I=null):K&&!0===K(I,this.params.getPosition(I))&&(this.params.setPosition(I,_),ae("revert",I)))}.bind(this),this.getFilters=function(){return J},this.abort=function(){null!=b&&this.upListener()},this.getDragElement=function(e){return e?F||this.el:I||this.el};var ie={start:[],drag:[],stop:[],over:[],out:[],beforeStart:[],revert:[]};t.events.start&&ie.start.push(t.events.start),t.events.beforeStart&&ie.beforeStart.push(t.events.beforeStart),t.events.stop&&ie.stop.push(t.events.stop),t.events.drag&&ie.drag.push(t.events.drag),t.events.revert&&ie.revert.push(t.events.revert),this.on=function(e,t){ie[e]&&ie[e].push(t)},this.off=function(e,t){if(ie[e]){for(var n=[],r=0;r<ie[e].length;r++)ie[e][r]!==t&&n.push(ie[e][r]);ie[e]=n}};var oe,ae=function(e,t){var n=null;if(U&&U[e])n=U[e](t);else if(ie[e])for(var r=0;r<ie[e].length;r++)try{var i=ie[e][r](t);null!=i&&(n=i)}catch(o){}return n};this.notifyStart=function(e){ae("start",{el:this.el,pos:this.params.getPosition(I),e:e,drag:this})},this.stop=function(e,t){if(t||E){var n=[],r=i.getSelection(),o=this.params.getPosition(I);if(r.length>0)for(var a=0;a<r.length;a++){var s=this.params.getPosition(r[a].el);n.push([r[a].el,{left:s[0],top:s[1]},r[a]])}else n.push([I,{left:o[0],top:o[1]},this]);ae("stop",{el:I,pos:oe||o,finalPos:o,e:e,drag:this,selection:n})}},this.mark=function(e){var t;_=this.params.getPosition(I),x=this.params.getPosition(I,!0),S=[x[0]-_[0],x[1]-_[1]],this.size=this.params.getSize(I),ne=i.getMatchingDroppables(this),k(ne,!0,!1,this),this.params.addClass(I,this.params.dragClass||n.drag),t=this.params.getConstrainingRectangle?this.params.getConstrainingRectangle(I):this.params.getSize(I.parentNode),te={w:t[0],h:t[1]},v=0,y=0,e&&i.notifySelectionDragStart(this)},this.unmark=function(e,r){if(k(ne,!1,!0,this),B&&l(F,I)?(oe=[I.offsetLeft-v,I.offsetTop-y],I.parentNode.removeChild(I),I=F):oe=null,this.params.removeClass(I,this.params.dragClass||n.drag),ne.length=0,B=!1,!r){re.length>0&&oe&&t.setPosition(F,oe),re.sort(R);for(var i=0;i<re.length;i++){var o=re[i].drop(this,e);if(!0===o)break}}},this.moveBy=function(e,n,r){re.length=0;var i=this.toGrid([_[0]+e,_[1]+n]),o=$(i,I,te,this.size);if(l(this.el,I))if(i[0]!==o[0]||i[1]!==o[1]){if(!B){var a=c(F);t.addClass(a,m.ghostProxy),H?(H.appendChild(a),d=t.getPosition(F.parentNode,!0),p=t.getPosition(t.ghostProxyParent,!0),v=d[0]-p[0],y=d[1]-p[1]):F.parentNode.appendChild(a),I=a,B=!0}o=i}else B&&(I.parentNode.removeChild(I),I=F,B=!1,d=null,p=null,v=0,y=0);var s={x:o[0],y:o[1],w:this.size[0],h:this.size[1]},u={x:s.x+S[0],y:s.y+S[1],w:s.w,h:s.h},f=null;this.params.setPosition(I,[o[0]+v,o[1]+y]);for(var h=0;h<ne.length;h++){var g={x:ne[h].pagePosition[0],y:ne[h].pagePosition[1],w:ne[h].size[0],h:ne[h].size[1]};this.params.intersects(u,g)&&(N||null==f||f===ne[h].el)&&ne[h].canDrop(this)?(f||(f=ne[h].el),re.push(ne[h]),ne[h].setHover(this,!0,r)):ne[h].isHover()&&ne[h].setHover(this,!1,r)}ae("drag",{el:this.el,pos:o,e:r,drag:this})},this.destroy=function(){this.params.unbind(this.el,"mousedown",this.downListener),this.params.unbind(document,"mousemove",this.moveListener),this.params.unbind(document,"mouseup",this.upListener),this.downListener=null,this.upListener=null,this.moveListener=null},this.params.bind(this.el,"mousedown",this.downListener),this.params.handle?ee(this.params.handle,!1):ee(this.params.filter,this.params.filterExclude)},I=function(e,t,n,r){this._class=n.droppable,this.params=t||{},this.rank=t.rank||0,this._activeClass=this.params.activeClass||n.active,this._hoverClass=this.params.hoverClass||n.hover,T.apply(this,arguments);var i=!1;this.allowLoopback=!1!==this.params.allowLoopback,this.setActive=function(e){this.params[e?"addClass":"removeClass"](this.el,this._activeClass)},this.updatePosition=function(){this.position=this.params.getPosition(this.el),this.pagePosition=this.params.getPosition(this.el,!0),this.size=this.params.getSize(this.el)},this.canDrop=this.params.canDrop||function(e){return!0},this.isHover=function(){return i},this.setHover=function(e,t,n){(t||null==this.el._katavorioDragHover||this.el._katavorioDragHover===e.el._katavorio)&&(this.params[t?"addClass":"removeClass"](this.el,this._hoverClass),this.el._katavorioDragHover=t?e.el._katavorio:null,i!==t&&this.params.events[t?"over":"out"]({el:this.el,e:n,drag:e,drop:this}),i=t)},this.drop=function(e,t){return this.params.events["drop"]({drag:e,e:t,drop:this})},this.destroy=function(){this._class=null,this._activeClass=null,this._hoverClass=null,i=null}},L=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}))},R=function(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:0},j=function(e){return null==e?null:(e="string"===typeof e||e.constructor===String?document.getElementById(e):e,null==e?null:(e._katavorio=e._katavorio||L(),e))};e.Katavorio=function(e){var t=[],a={};this._dragsByScope={},this._dropsByScope={};var s=1,l=function(e,t){E(e,(function(e){for(var n=0;n<e.scopes.length;n++)t[e.scopes[n]]=t[e.scopes[n]]||[],t[e.scopes[n]].push(e)}))},u=function(t,n){var r=0;return E(t,(function(t){for(var i=0;i<t.scopes.length;i++)if(n[t.scopes[i]]){var o=e.indexOf(n[t.scopes[i]],t);-1!==o&&(n[t.scopes[i]].splice(o,1),r++)}})),r>0},c=(this.getMatchingDroppables=function(e){for(var t=[],n={},r=0;r<e.scopes.length;r++){var i=this._dropsByScope[e.scopes[r]];if(i)for(var o=0;o<i.length;o++)!i[o].canDrop(e)||n[i[o].uuid]||!i[o].allowLoopback&&i[o].el===e.el||(n[i[o].uuid]=!0,t.push(i[o]))}return t.sort(R),t},function(t){t=t||{};var n,r={events:{}};for(n in e)r[n]=e[n];for(n in t)r[n]=t[n];for(n=0;n<_.length;n++)r.events[_[n]]=t[_[n]]||x;return r.katavorio=this,r}.bind(this)),f=function(e,t){for(var n=0;n<_.length;n++)t[_[n]]&&e.on(_[n],t[_[n]])}.bind(this),h={},d=e.css||{},p=e.scope||b;for(var g in m)h[g]=m[g];for(var g in d)h[g]=d[g];var v=e.inputFilterSelector||C;this.getInputFilterSelector=function(){return v},this.setInputFilterSelector=function(e){return v=e,this},this.draggable=function(t,n){var r=[];return E(t,function(t){if(t=j(t),null!=t)if(null==t._katavorioDrag){var i=c(n);t._katavorioDrag=new D(t,i,h,p),l(t._katavorioDrag,this._dragsByScope),r.push(t._katavorioDrag),e.addClass(t,i.selector?h.delegatedDraggable:h.draggable)}else f(t._katavorioDrag,n)}.bind(this)),r},this.droppable=function(t,n){var r=[];return E(t,function(t){if(t=j(t),null!=t){var i=new I(t,c(n),h,p);t._katavorioDrop=t._katavorioDrop||[],t._katavorioDrop.push(i),l(i,this._dropsByScope),r.push(i),e.addClass(t,h.droppable)}}.bind(this)),r},this.select=function(n){return E(n,(function(){var n=j(this);n&&n._katavorioDrag&&(a[n._katavorio]||(t.push(n._katavorioDrag),a[n._katavorio]=[n,t.length-1],e.addClass(n,h.selected)))})),this},this.deselect=function(n){return E(n,(function(){var n=j(this);if(n&&n._katavorio){var r=a[n._katavorio];if(r){for(var i=[],o=0;o<t.length;o++)t[o].el!==n&&i.push(t[o]);t=i,delete a[n._katavorio],e.removeClass(n,h.selected)}}})),this},this.deselectAll=function(){for(var n in a){var r=a[n];e.removeClass(r[0],h.selected)}t.length=0,a={}},this.markSelection=function(e){S(t,(function(e){e.mark()}),e)},this.markPosses=function(e){e.posses&&E(e.posses,(function(t){e.posseRoles[t]&&A[t]&&S(A[t].members,(function(e){e.mark()}),e)}))},this.unmarkSelection=function(e,n){S(t,(function(e){e.unmark(n)}),e)},this.unmarkPosses=function(e,t){e.posses&&E(e.posses,(function(n){e.posseRoles[n]&&A[n]&&S(A[n].members,(function(e){e.unmark(t,!0)}),e)}))},this.getSelection=function(){return t.slice(0)},this.updateSelection=function(e,n,r){S(t,(function(t){t.moveBy(e,n)}),r)};var y=function(e,t){t.posses&&E(t.posses,(function(n){t.posseRoles[n]&&A[n]&&S(A[n].members,(function(t){e(t)}),t)}))};this.updatePosses=function(e,t,n){y((function(n){n.moveBy(e,t)}),n)},this.notifyPosseDragStop=function(e,t){y((function(e){e.stop(t,!0)}),e)},this.notifySelectionDragStop=function(e,n){S(t,(function(e){e.stop(n,!0)}),e)},this.notifySelectionDragStart=function(e,n){S(t,(function(e){e.notifyStart(n)}),e)},this.setZoom=function(e){s=e},this.getZoom=function(){return s};var w=function(e,t,n,r){E(e,(function(e){u(e,n),e[r](t),l(e,n)}))};E(["set","add","remove","toggle"],function(e){this[e+"Scope"]=function(t,n){w(t._katavorioDrag,n,this._dragsByScope,e+"Scope"),w(t._katavorioDrop,n,this._dropsByScope,e+"Scope")}.bind(this),this[e+"DragScope"]=function(t,n){w(t.constructor===D?t:t._katavorioDrag,n,this._dragsByScope,e+"Scope")}.bind(this),this[e+"DropScope"]=function(t,n){w(t.constructor===I?t:t._katavorioDrop,n,this._dropsByScope,e+"Scope")}.bind(this)}.bind(this)),this.snapToGrid=function(e,t){for(var n in this._dragsByScope)S(this._dragsByScope[n],(function(n){n.snap(e,t)}))},this.getDragsForScope=function(e){return this._dragsByScope[e]},this.getDropsForScope=function(e){return this._dropsByScope[e]};var k=function(e,n,r){if(e=j(e),e[n]){var i=t.indexOf(e[n]);i>=0&&t.splice(i,1),u(e[n],r)&&E(e[n],(function(e){e.destroy()})),delete e[n]}},O=function(e,t,n,r){e=j(e),e[t]&&e[t].off(n,r)};this.elementRemoved=function(e){e["_katavorioDrag"]&&this.destroyDraggable(e),e["_katavorioDrop"]&&this.destroyDroppable(e)},this.destroyDraggable=function(e,t,n){1===arguments.length?k(e,"_katavorioDrag",this._dragsByScope):O(e,"_katavorioDrag",t,n)},this.destroyDroppable=function(e,t,n){1===arguments.length?k(e,"_katavorioDrop",this._dropsByScope):O(e,"_katavorioDrop",t,n)},this.reset=function(){this._dragsByScope={},this._dropsByScope={},t=[],a={},A={}};var A={},T=function(e,t,r){var i=o(t)?t:t.id,a=!!o(t)||!1!==t.active,s=A[i]||function(){var e={name:i,members:[]};return A[i]=e,e}();return E(e,(function(e){if(e._katavorioDrag){if(r&&null!=e._katavorioDrag.posseRoles[s.name])return;n(s.members,e._katavorioDrag),n(e._katavorioDrag.posses,s.name),e._katavorioDrag.posseRoles[s.name]=a}})),s};this.addToPosse=function(e,t){for(var n=[],r=1;r<arguments.length;r++)n.push(T(e,arguments[r]));return 1===n.length?n[0]:n},this.setPosse=function(e,t){for(var n=[],r=1;r<arguments.length;r++)n.push(T(e,arguments[r],!0).name);return E(e,function(e){if(e._katavorioDrag){var t=i(e._katavorioDrag.posses,n),r=[];Array.prototype.push.apply(r,e._katavorioDrag.posses);for(var o=0;o<t.length;o++)this.removeFromPosse(e,t[o])}}.bind(this)),1===n.length?n[0]:n},this.removeFromPosse=function(e,t){if(arguments.length<2)throw new TypeError("No posse id provided for remove operation");for(var n=1;n<arguments.length;n++)t=arguments[n],E(e,(function(e){if(e._katavorioDrag&&e._katavorioDrag.posses){var n=e._katavorioDrag;E(t,(function(e){r(A[e].members,n),r(n.posses,e),delete n.posseRoles[e]}))}}))},this.removeFromAllPosses=function(e){E(e,(function(e){if(e._katavorioDrag&&e._katavorioDrag.posses){var t=e._katavorioDrag;E(t.posses,(function(e){r(A[e].members,t)})),t.posses.length=0,t.posseRoles={}}}))},this.setPosseState=function(e,t,n){var r=A[t];r&&E(e,(function(e){e._katavorioDrag&&e._katavorioDrag.posses&&(e._katavorioDrag.posseRoles[r.name]=n)}))}},e.Katavorio.version="1.0.0",t.Katavorio=e.Katavorio}.call("undefined"!==typeof window?window:this),function(){var e=this;e.jsPlumbUtil=e.jsPlumbUtil||{};var n=e.jsPlumbUtil;function r(e){return"[object Array]"===Object.prototype.toString.call(e)}function i(e){return"[object Number]"===Object.prototype.toString.call(e)}function o(e){return"string"===typeof e}function a(e){return"boolean"===typeof e}function s(e){return null==e}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){return"[object Date]"===Object.prototype.toString.call(e)}function c(e){return"[object Function]"===Object.prototype.toString.call(e)}function f(e){return c(e)&&null!=e.name&&e.name.length>0}function h(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function d(e){if(o(e))return""+e;if(a(e))return!!e;if(u(e))return new Date(e.getTime());if(c(e))return e;if(r(e)){for(var t=[],n=0;n<e.length;n++)t.push(d(e[n]));return t}if(l(e)){var i={};for(var s in e)i[s]=d(e[s]);return i}return e}function p(e,t,n,i){var s,u,c={},f={};for(n=n||[],i=i||[],u=0;u<n.length;u++)c[n[u]]=!0;for(u=0;u<i.length;u++)f[i[u]]=!0;var h=d(e);for(u in t)if(null==h[u]||f[u])h[u]=t[u];else if(o(t[u])||a(t[u]))c[u]?(s=[],s.push.apply(s,r(h[u])?h[u]:[h[u]]),s.push.apply(s,a(t[u])?t[u]:[t[u]]),h[u]=s):h[u]=t[u];else if(r(t[u]))s=[],r(h[u])&&s.push.apply(s,h[u]),s.push.apply(s,t[u]),h[u]=s;else if(l(t[u]))for(var p in l(h[u])||(h[u]={}),t[u])h[u][p]=t[u][p];return h}function g(e,t,n){if(null!=e){var r=e,i=r;return t.replace(/([^\.])+/g,(function(e,t,r,o){var a=e.match(/([^\[0-9]+){1}(\[)([0-9+])/),s=r+e.length>=o.length,l=function(){return i[a[1]]||function(){return i[a[1]]=[],i[a[1]]}()};if(s)a?l()[a[3]]=n:i[e]=n;else if(a){var u=l();i=u[a[3]]||function(){return u[a[3]]={},u[a[3]]}()}else i=i[e]||function(){return i[e]={},i[e]}();return""})),e}}function v(e,t,n){for(var r=0;r<n.length;r++){var i=n[r][0][n[r][1]].apply(n[r][0],n[r][2]);if(i===t)return i}return e}function y(e,t,n,i){var a=function(e){var n=e.match(/(\${.*?})/g);if(null!=n)for(var r=0;r<n.length;r++){var i=t[n[r].substring(2,n[r].length-1)]||"";null!=i&&(e=e.replace(n[r],i))}return e},s=function(e){if(null!=e){if(o(e))return a(e);if(!c(e)||i||null!=n&&0!==(e.name||"").indexOf(n)){if(r(e)){for(var u=[],f=0;f<e.length;f++)u.push(s(e[f]));return u}if(l(e)){var h={};for(var d in e)h[d]=s(e[d]);return h}return e}return e(t)}};return s(e)}function m(e,t){if(e)for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function b(e,t){var n=m(e,t);return n>-1&&e.splice(n,1),-1!==n}function _(e,t){var n=e.indexOf(t);return n>-1&&e.splice(n,1),-1!==n}function x(e,t,n){-1===m(e,n)&&e.push(t)}function w(e,t,n,r){var i=e[t];return null==i&&(i=[],e[t]=i),i[r?"unshift":"push"](n),i}function S(e,t,n){return-1===e.indexOf(t)&&(n?e.unshift(t):e.push(t),!0)}function k(e,t,n){var i;t=r(t)?t:[t];var o=function(t){var n=t.__proto__;while(null!=n)if(null!=n.prototype){for(var r in n.prototype)n.prototype.hasOwnProperty(r)&&!e.prototype.hasOwnProperty(r)&&(e.prototype[r]=n.prototype[r]);n=n.prototype.__proto__}else n=null};for(i=0;i<t.length;i++){for(var a in t[i].prototype)t[i].prototype.hasOwnProperty(a)&&!e.prototype.hasOwnProperty(a)&&(e.prototype[a]=t[i].prototype[a]);o(t[i])}var s=function(e,n){return function(){for(i=0;i<t.length;i++)t[i].prototype[e]&&t[i].prototype[e].apply(this,arguments);return n.apply(this,arguments)}},l=function(t){for(var n in t)e.prototype[n]=s(n,t[n])};if(arguments.length>2)for(i=2;i<arguments.length;i++)l(arguments[i]);return e}t.jsPlumbUtil=n,n.isArray=r,n.isNumber=i,n.isString=o,n.isBoolean=a,n.isNull=s,n.isObject=l,n.isDate=u,n.isFunction=c,n.isNamedFunction=f,n.isEmpty=h,n.clone=d,n.merge=p,n.replace=g,n.functionChain=v,n.populate=y,n.findWithFunction=m,n.removeWithFunction=b,n.remove=_,n.addWithFunction=x,n.addToList=w,n.suggest=S,n.extend=k;for(var E=[],O=0;O<256;O++)E[O]=(O<16?"0":"")+O.toString(16);function C(){var e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return E[255&e]+E[e>>8&255]+E[e>>16&255]+E[e>>24&255]+"-"+E[255&t]+E[t>>8&255]+"-"+E[t>>16&15|64]+E[t>>24&255]+"-"+E[63&n|128]+E[n>>8&255]+"-"+E[n>>16&255]+E[n>>24&255]+E[255&r]+E[r>>8&255]+E[r>>16&255]+E[r>>24&255]}function A(e){if(null==e)return null;var t=e.replace(/^\s\s*/,""),n=/\s/,r=t.length;while(n.test(t.charAt(--r)));return t.slice(0,r+1)}function T(e,t){e=null==e.length||"string"===typeof e?[e]:e;for(var n=0;n<e.length;n++)t(e[n])}function P(e,t){for(var n=[],r=0;r<e.length;r++)n.push(t(e[r]));return n}function M(e,t,n){n=n||"parent";var r=function(e){return e?t[e]:null},i=function(e){return e?r(e[n]):null},o=function(e,t){if(null==e)return t;var n=["anchor","anchors","cssClass","connector","paintStyle","hoverPaintStyle","endpoint","endpoints"];"override"===t.mergeStrategy&&Array.prototype.push.apply(n,["events","overlays"]);var r=p(e,t,[],n);return o(i(e),r)},a=function(e){if(null==e)return{};if("string"===typeof e)return r(e);if(e.length){var t=!1,n=0,i=void 0;while(!t&&n<e.length)i=a(e[n]),i?t=!0:n++;return i}},s=a(e);return s?o(i(s),s):{}}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n.logEnabled&&"undefined"!==typeof console)try{var r=arguments[arguments.length-1];console.log(r)}catch(i){}}function I(e,t,n){return function(){var r=null;try{null!=t&&(r=t.apply(this,arguments))}catch(i){D("jsPlumb function failed : "+i)}if(null!=e&&(null==n||r!==n))try{r=e.apply(this,arguments)}catch(i){D("wrapped function failed : "+i)}return r}}n.uuid=C,n.fastTrim=A,n.each=T,n.map=P,n.mergeWithParents=M,n.logEnabled=!0,n.log=D,n.wrap=I;var L=function(){function e(){var e=this;this._listeners={},this.eventsSuspended=!1,this.tick=!1,this.eventsToDieOn={ready:!0},this.queue=[],this.bind=function(t,n,r){var i=function(t){w(e._listeners,t,n,r),n.__jsPlumb=n.__jsPlumb||{},n.__jsPlumb[C()]=t};if("string"===typeof t)i(t);else if(null!=t.length)for(var o=0;o<t.length;o++)i(t[o]);return e},this.fire=function(e,t,n){if(this.tick)this.queue.unshift(arguments);else{if(this.tick=!0,!this.eventsSuspended&&this._listeners[e]){var r=this._listeners[e].length,i=0,o=!1,a=null;if(!this.shouldFireEvent||this.shouldFireEvent(e,t,n))while(!o&&i<r&&!1!==a){if(this.eventsToDieOn[e])this._listeners[e][i].apply(this,[t,n]);else try{a=this._listeners[e][i].apply(this,[t,n])}catch(s){D("jsPlumb: fire failed for event "+e+" : "+s)}i++,null!=this._listeners&&null!=this._listeners[e]||(o=!0)}}this.tick=!1,this._drain()}return this},this._drain=function(){var t=e.queue.pop();t&&e.fire.apply(e,t)},this.unbind=function(e,t){if(0===arguments.length)this._listeners={};else if(1===arguments.length){if("string"===typeof e)delete this._listeners[e];else if(e.__jsPlumb){var n=void 0;for(var r in e.__jsPlumb)n=e.__jsPlumb[r],_(this._listeners[n]||[],e)}}else 2===arguments.length&&_(this._listeners[e]||[],t);return this},this.getListener=function(t){return e._listeners[t]},this.setSuspendEvents=function(t){e.eventsSuspended=t},this.isSuspendEvents=function(){return e.eventsSuspended},this.silently=function(t){e.setSuspendEvents(!0);try{t()}catch(n){D("Cannot execute silent function "+n)}e.setSuspendEvents(!1)},this.cleanupListeners=function(){for(var t in e._listeners)e._listeners[t]=null}}return e}();function R(e,t,n){var r=[e[0]-t[0],e[1]-t[1]],i=Math.cos(n/360*Math.PI*2),o=Math.sin(n/360*Math.PI*2);return[r[0]*i-r[1]*o+t[0],r[1]*i+r[0]*o+t[1],i,o]}function j(e,t){var n=R(e,[0,0],t);return[Math.round(n[0]),Math.round(n[1])]}n.EventGenerator=L,n.rotatePoint=R,n.rotateAnchorOrientation=j}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this;e.jsPlumbUtil.matchesSelector=function(e,t,n){n=n||e.parentNode;for(var r=n.querySelectorAll(t),i=0;i<r.length;i++)if(r[i]===e)return!0;return!1},e.jsPlumbUtil.consume=function(e,t){e.stopPropagation?e.stopPropagation():e.returnValue=!1,!t&&e.preventDefault&&e.preventDefault()},e.jsPlumbUtil.sizeElement=function(e,t,n,r,i){e&&(e.style.height=i+"px",e.height=i,e.style.width=r+"px",e.width=r,e.style.left=t+"px",e.style.top=n+"px")}}.call("undefined"!==typeof window?window:this),function(){var e={deriveAnchor:function(e,t,n,r){return{top:["TopRight","TopLeft"],bottom:["BottomRight","BottomLeft"]}[e][t]}},t=this,n=function(e,t){this.count=0,this.instance=e,this.lists={},this.options=t||{},this.instance.addList=function(e,t){return this.listManager.addList(e,t)},this.instance.removeList=function(e){this.listManager.removeList(e)},this.instance.bind("manageElement",function(e){for(var t=this.instance.getSelector(e.el,"[jtk-scrollable-list]"),n=0;n<t.length;n++)this.addList(t[n])}.bind(this)),this.instance.bind("unmanageElement",(function(e){this.removeList(e.el)})),this.instance.bind("connection",function(e,t){null==t&&(this._maybeUpdateParentList(e.source),this._maybeUpdateParentList(e.target))}.bind(this))};t.jsPlumbListManager=n,n.prototype={addList:function(t,n){var i=this.instance.extend({},e);this.instance.extend(i,this.options),n=this.instance.extend(i,n||{});var o=[this.instance.getInstanceIndex(),this.count++].join("_");this.lists[o]=new r(this.instance,t,n,o)},removeList:function(e){var t=this.lists[e._jsPlumbList];t&&(t.destroy(),delete this.lists[e._jsPlumbList])},_maybeUpdateParentList:function(e){var t=e.parentNode,n=this.instance.getContainer();while(null!=t&&t!==n){if(null!=t._jsPlumbList&&null!=this.lists[t._jsPlumbList])return void t._jsPlumbScrollHandler();t=t.parentNode}}};var r=function(e,t,n,r){function i(e,t,r,i){return n.anchor?n.anchor:n.deriveAnchor(e,t,r,i)}function o(e,t,r,i){return n.deriveEndpoint?n.deriveEndpoint(e,t,r,i):n.endpoint?n.endpoint:r.type}function a(t){var n=t.parentNode,r=e.getContainer();while(null!=n&&n!==r){if(e.hasClass(n,"jtk-managed"))return void e.recalculateOffsets(n);n=n.parentNode}}t["_jsPlumbList"]=r;var s=function(n){for(var r=e.getSelector(t,".jtk-managed"),s=e.getId(t),l=0;l<r.length;l++){if(r[l].offsetTop<t.scrollTop)r[l]._jsPlumbProxies||(r[l]._jsPlumbProxies=r[l]._jsPlumbProxies||[],e.select({source:r[l]}).each((function(n){e.proxyConnection(n,0,t,s,(function(){return o("top",0,n.endpoints[0],n)}),(function(){return i("top",0,n.endpoints[0],n)})),r[l]._jsPlumbProxies.push([n,0])})),e.select({target:r[l]}).each((function(n){e.proxyConnection(n,1,t,s,(function(){return o("top",1,n.endpoints[1],n)}),(function(){return i("top",1,n.endpoints[1],n)})),r[l]._jsPlumbProxies.push([n,1])})));else if(r[l].offsetTop+r[l].offsetHeight>t.scrollTop+t.offsetHeight)r[l]._jsPlumbProxies||(r[l]._jsPlumbProxies=r[l]._jsPlumbProxies||[],e.select({source:r[l]}).each((function(n){e.proxyConnection(n,0,t,s,(function(){return o("bottom",0,n.endpoints[0],n)}),(function(){return i("bottom",0,n.endpoints[0],n)})),r[l]._jsPlumbProxies.push([n,0])})),e.select({target:r[l]}).each((function(n){e.proxyConnection(n,1,t,s,(function(){return o("bottom",1,n.endpoints[1],n)}),(function(){return i("bottom",1,n.endpoints[1],n)})),r[l]._jsPlumbProxies.push([n,1])})));else if(r[l]._jsPlumbProxies){for(var u=0;u<r[l]._jsPlumbProxies.length;u++)e.unproxyConnection(r[l]._jsPlumbProxies[u][0],r[l]._jsPlumbProxies[u][1],s);delete r[l]._jsPlumbProxies}e.revalidate(r[l])}a(t)};e.setAttribute(t,"jtk-scrollable-list","true"),t._jsPlumbScrollHandler=s,e.on(t,"scroll",s),s(),this.destroy=function(){e.off(t,"scroll",s),delete t._jsPlumbScrollHandler;for(var n=e.getSelector(t,".jtk-managed"),r=e.getId(t),i=0;i<n.length;i++)if(n[i]._jsPlumbProxies){for(var o=0;o<n[i]._jsPlumbProxies.length;o++)e.unproxyConnection(n[i]._jsPlumbProxies[o][0],n[i]._jsPlumbProxies[o][1],r);delete n[i]._jsPlumbProxies}}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,n=e.jsPlumbUtil,r=function(e){if(e._jsPlumb.paintStyle&&e._jsPlumb.hoverPaintStyle){var t={};p.extend(t,e._jsPlumb.paintStyle),p.extend(t,e._jsPlumb.hoverPaintStyle),delete e._jsPlumb.hoverPaintStyle,t.gradient&&e._jsPlumb.paintStyle.fill&&delete t.gradient,e._jsPlumb.hoverPaintStyle=t}},i=["tap","dbltap","click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","contextmenu"],o=function(e,t,n,r){var i=e.getAttachedElements();if(i)for(var o=0,a=i.length;o<a;o++)r&&r===i[o]||i[o].setHover(t,!0,n)},a=function(e){return null==e?null:e.split(" ")},s=function(e,t,n){for(var r in t)e[r]=n},l=function(e,t,r){if(e.getDefaultType){var i=e.getTypeDescriptor(),o={},a=e.getDefaultType(),l=n.merge({},a);s(o,a,"__default");for(var u=0,c=e._jsPlumb.types.length;u<c;u++){var f=e._jsPlumb.types[u];if("__default"!==f){var h=e._jsPlumb.instance.getType(f,i);if(null!=h){var d=["anchor","anchors","connector","paintStyle","hoverPaintStyle","endpoint","endpoints","connectorOverlays","connectorStyle","connectorHoverStyle","endpointStyle","endpointHoverStyle"],p=[];"override"===h.mergeStrategy?Array.prototype.push.apply(d,["events","overlays","cssClass"]):p.push("cssClass"),l=n.merge(l,h,p,d),s(o,h,f)}}}t&&(l=n.populate(l,t,"_")),e.applyType(l,r,o),r||e.repaint()}},u=e.jsPlumbUIComponent=function(e){n.EventGenerator.apply(this,arguments);var t=this,r=arguments,i=t.idPrefix,o=i+(new Date).getTime();this._jsPlumb={instance:e._jsPlumb,parameters:e.parameters||{},paintStyle:null,hoverPaintStyle:null,paintStyleInUse:null,hover:!1,beforeDetach:e.beforeDetach,beforeDrop:e.beforeDrop,overlayPlacements:[],hoverClass:e.hoverClass||e._jsPlumb.Defaults.HoverClass,types:[],typeCache:{}},this.cacheTypeItem=function(e,t,n){this._jsPlumb.typeCache[n]=this._jsPlumb.typeCache[n]||{},this._jsPlumb.typeCache[n][e]=t},this.getCachedTypeItem=function(e,t){return this._jsPlumb.typeCache[t]?this._jsPlumb.typeCache[t][e]:null},this.getId=function(){return o};var a=e.overlays||[],s={};if(this.defaultOverlayKeys){for(var l=0;l<this.defaultOverlayKeys.length;l++)Array.prototype.push.apply(a,this._jsPlumb.instance.Defaults[this.defaultOverlayKeys[l]]||[]);for(l=0;l<a.length;l++){var u=p.convertToFullOverlaySpec(a[l]);s[u[1].id]=u}}var c={overlays:s,parameters:e.parameters||{},scope:e.scope||this._jsPlumb.instance.getDefaultScope()};if(this.getDefaultType=function(){return c},this.appendToDefaultType=function(e){for(var t in e)c[t]=e[t]},e.events)for(var f in e.events)t.bind(f,e.events[f]);this.clone=function(){var e=Object.create(this.constructor.prototype);return this.constructor.apply(e,r),e}.bind(this),this.isDetachAllowed=function(e){var t=!0;if(this._jsPlumb.beforeDetach)try{t=this._jsPlumb.beforeDetach(e)}catch(r){n.log("jsPlumb: beforeDetach callback failed",r)}return t},this.isDropAllowed=function(e,t,r,i,o,a,s){var l=this._jsPlumb.instance.checkCondition("beforeDrop",{sourceId:e,targetId:t,scope:r,connection:i,dropEndpoint:o,source:a,target:s});if(this._jsPlumb.beforeDrop)try{l=this._jsPlumb.beforeDrop({sourceId:e,targetId:t,scope:r,connection:i,dropEndpoint:o,source:a,target:s})}catch(u){n.log("jsPlumb: beforeDrop callback failed",u)}return l};var h=[];this.setListenerComponent=function(e){for(var t=0;t<h.length;t++)h[t][3]=e}},c=function(e,t){var n=e._jsPlumb.types[t],r=e._jsPlumb.instance.getType(n,e.getTypeDescriptor());null!=r&&r.cssClass&&e.canvas&&e._jsPlumb.instance.removeClass(e.canvas,r.cssClass)};n.extend(e.jsPlumbUIComponent,n.EventGenerator,{getParameter:function(e){return this._jsPlumb.parameters[e]},setParameter:function(e,t){this._jsPlumb.parameters[e]=t},getParameters:function(){return this._jsPlumb.parameters},setParameters:function(e){this._jsPlumb.parameters=e},getClass:function(){return p.getClass(this.canvas)},hasClass:function(e){return p.hasClass(this.canvas,e)},addClass:function(e){p.addClass(this.canvas,e)},removeClass:function(e){p.removeClass(this.canvas,e)},updateClasses:function(e,t){p.updateClasses(this.canvas,e,t)},setType:function(e,t,n){this.clearTypes(),this._jsPlumb.types=a(e)||[],l(this,t,n)},getType:function(){return this._jsPlumb.types},reapplyTypes:function(e,t){l(this,e,t)},hasType:function(e){return-1!==this._jsPlumb.types.indexOf(e)},addType:function(e,t,n){var r=a(e),i=!1;if(null!=r){for(var o=0,s=r.length;o<s;o++)this.hasType(r[o])||(this._jsPlumb.types.push(r[o]),i=!0);i&&l(this,t,n)}},removeType:function(e,t,n){var r=a(e),i=!1,o=function(e){var t=this._jsPlumb.types.indexOf(e);return-1!==t&&(c(this,t),this._jsPlumb.types.splice(t,1),!0)}.bind(this);if(null!=r){for(var s=0,u=r.length;s<u;s++)i=o(r[s])||i;i&&l(this,t,n)}},clearTypes:function(e,t){for(var n=this._jsPlumb.types.length,r=0;r<n;r++)c(this,0),this._jsPlumb.types.splice(0,1);l(this,e,t)},toggleType:function(e,t,n){var r=a(e);if(null!=r){for(var i=0,o=r.length;i<o;i++){var s=this._jsPlumb.types.indexOf(r[i]);-1!==s?(c(this,s),this._jsPlumb.types.splice(s,1)):this._jsPlumb.types.push(r[i])}l(this,t,n)}},applyType:function(e,t){if(this.setPaintStyle(e.paintStyle,t),this.setHoverPaintStyle(e.hoverPaintStyle,t),e.parameters)for(var n in e.parameters)this.setParameter(n,e.parameters[n]);this._jsPlumb.paintStyleInUse=this.getPaintStyle()},setPaintStyle:function(e,t){this._jsPlumb.paintStyle=e,this._jsPlumb.paintStyleInUse=this._jsPlumb.paintStyle,r(this),t||this.repaint()},getPaintStyle:function(){return this._jsPlumb.paintStyle},setHoverPaintStyle:function(e,t){this._jsPlumb.hoverPaintStyle=e,r(this),t||this.repaint()},getHoverPaintStyle:function(){return this._jsPlumb.hoverPaintStyle},destroy:function(e){(e||null==this.typeId)&&(this.cleanupListeners(),this.clone=null,this._jsPlumb=null)},isHover:function(){return this._jsPlumb.hover},setHover:function(e,t,n){if(this._jsPlumb&&!this._jsPlumb.instance.currentlyDragging&&!this._jsPlumb.instance.isHoverSuspended()){this._jsPlumb.hover=e;var r=e?"addClass":"removeClass";null!=this.canvas&&(null!=this._jsPlumb.instance.hoverClass&&this._jsPlumb.instance[r](this.canvas,this._jsPlumb.instance.hoverClass),null!=this._jsPlumb.hoverClass&&this._jsPlumb.instance[r](this.canvas,this._jsPlumb.hoverClass)),null!=this._jsPlumb.hoverPaintStyle&&(this._jsPlumb.paintStyleInUse=e?this._jsPlumb.hoverPaintStyle:this._jsPlumb.paintStyle,this._jsPlumb.instance.isSuspendDrawing()||(n=n||jsPlumbUtil.uuid(),this.repaint({timestamp:n,recalc:!1}))),this.getAttachedElements&&!t&&o(this,e,jsPlumbUtil.uuid(),this)}}});var f=0,h=function(){var e=f+1;return f++,e},d=e.jsPlumbInstance=function(t){this.version="2.15.6",this.Defaults={Anchor:"Bottom",Anchors:[null,null],ConnectionsDetachable:!0,ConnectionOverlays:[],Connector:"Bezier",Container:null,DoNotThrowErrors:!1,DragOptions:{},DropOptions:{},Endpoint:"Dot",EndpointOverlays:[],Endpoints:[null,null],EndpointStyle:{fill:"#456"},EndpointStyles:[null,null],EndpointHoverStyle:null,EndpointHoverStyles:[null,null],HoverPaintStyle:null,LabelStyle:{color:"black"},ListStyle:{},LogEnabled:!1,Overlays:[],MaxConnections:1,PaintStyle:{"stroke-width":4,stroke:"#456"},ReattachConnections:!1,RenderMode:"svg",Scope:"jsPlumb_DefaultScope"},t&&p.extend(this.Defaults,t),this.logEnabled=this.Defaults.LogEnabled,this._connectionTypes={},this._endpointTypes={},n.EventGenerator.apply(this);var r=this,o=h(),a=r.bind,s={},l=1,c=function(e){if(null==e)return null;if(3===e.nodeType||8===e.nodeType)return{el:e,text:!0};var t=r.getElement(e);return{el:t,id:n.isString(e)&&null==t?e:G(t)}};for(var f in this.getInstanceIndex=function(){return o},this.setZoom=function(e,t){return l=e,r.fire("zoom",l),t&&r.repaintEverything(),!0},this.getZoom=function(){return l},this.Defaults)s[f]=this.Defaults[f];var d,g=[];this.unbindContainer=function(){if(null!=d&&g.length>0)for(var e=0;e<g.length;e++)r.off(d,g[e][0],g[e][1])},this.setContainer=function(e){this.unbindContainer(),e=this.getElement(e),this.select().each((function(t){t.moveParent(e)})),this.selectEndpoints().each((function(t){t.moveParent(e)}));var t=d;d=e,g.length=0;for(var n={endpointclick:"endpointClick",endpointdblclick:"endpointDblClick"},o=function(e,t,i){var o=t.srcElement||t.target,a=(o&&o.parentNode?o.parentNode._jsPlumb:null)||(o?o._jsPlumb:null)||(o&&o.parentNode&&o.parentNode.parentNode?o.parentNode.parentNode._jsPlumb:null);if(a){a.fire(e,a,t);var s=i&&n[i+e]||e;r.fire(s,a.component||a,t)}},a=function(e,t,n){g.push([e,n]),r.on(d,e,t,n)},s=function(e){a(e,".jtk-connector",(function(t){o(e,t)})),a(e,".jtk-endpoint",(function(t){o(e,t,"endpoint")})),a(e,".jtk-overlay",(function(t){o(e,t)}))},l=0;l<i.length;l++)s(i[l]);for(var u in x){var c=x[u].el;c.parentNode===t&&(t.removeChild(c),d.appendChild(c))}},this.getContainer=function(){return d},this.bind=function(e,t){"ready"===e&&y?t():a.apply(r,[e,t])},r.importDefaults=function(e){for(var t in e)r.Defaults[t]=e[t];return e.Container&&r.setContainer(e.Container),r},r.restoreDefaults=function(){return r.Defaults=p.extend({},s),r};var v=null,y=!1,m=[],b={},_={},x={},w={},S={},k=!1,E=[],O=!1,C=null,A=this.Defaults.Scope,T=1,P=function(){return""+T++},M=function(e,t){d?d.appendChild(e):t?this.getElement(t).appendChild(e):this.appendToRoot(e)}.bind(this),D=function(e,t,n,i){var o={c:[],e:[]};if(!O&&(e=r.getElement(e),null!=e)){var a=G(e),s=e.querySelectorAll(".jtk-managed");null==n&&(n=jsPlumbUtil.uuid());de({elId:a,offset:t,recalc:!1,timestamp:n});for(var l=0;l<s.length;l++)de({elId:s[l].getAttribute("id"),recalc:!0,timestamp:n});var u=r.router.redraw(a,t,n,null,i);if(Array.prototype.push.apply(o.c,u.c),Array.prototype.push.apply(o.e,u.e),s)for(var c=0;c<s.length;c++)u=r.router.redraw(s[c].getAttribute("id"),null,n,null,i,!0),Array.prototype.push.apply(o.c,u.c),Array.prototype.push.apply(o.e,u.e)}return o},I=function(e){return _[e]},L=function(e,t){for(var n=e.scope.split(/\s/),r=t.scope.split(/\s/),i=0;i<n.length;i++)for(var o=0;o<r.length;o++)if(r[o]===n[i])return!0;return!1},R=function(e,t){var n=p.extend({},e);for(var r in t)t[r]&&(n[r]=t[r]);return n},j=function(e,t){var i=p.extend({},e);if(t&&p.extend(i,t),i.source&&(i.source.endpoint?i.sourceEndpoint=i.source:i.source=r.getElement(i.source)),i.target&&(i.target.endpoint?i.targetEndpoint=i.target:i.target=r.getElement(i.target)),e.uuids&&(i.sourceEndpoint=I(e.uuids[0]),i.targetEndpoint=I(e.uuids[1])),i.sourceEndpoint&&i.sourceEndpoint.isFull())n.log(r,"could not add connection; source endpoint is full");else if(i.targetEndpoint&&i.targetEndpoint.isFull())n.log(r,"could not add connection; target endpoint is full");else{if(!i.type&&i.sourceEndpoint&&(i.type=i.sourceEndpoint.connectionType),i.sourceEndpoint&&i.sourceEndpoint.connectorOverlays){i.overlays=i.overlays||[];for(var o=0,a=i.sourceEndpoint.connectorOverlays.length;o<a;o++)i.overlays.push(i.sourceEndpoint.connectorOverlays[o])}i.sourceEndpoint&&i.sourceEndpoint.scope&&(i.scope=i.sourceEndpoint.scope),!i["pointer-events"]&&i.sourceEndpoint&&i.sourceEndpoint.connectorPointerEvents&&(i["pointer-events"]=i.sourceEndpoint.connectorPointerEvents);var s=function(e,t,n){var o=R(t,{anchor:i.anchors?i.anchors[n]:i.anchor,endpoint:i.endpoints?i.endpoints[n]:i.endpoint,paintStyle:i.endpointStyles?i.endpointStyles[n]:i.endpointStyle,hoverPaintStyle:i.endpointHoverStyles?i.endpointHoverStyles[n]:i.endpointHoverStyle});return r.addEndpoint(e,o)},l=function(e,t,n,r){if(i[e]&&!i[e].endpoint&&!i[e+"Endpoint"]&&!i.newConnection){var o=G(i[e]),a=n[o];if(a=a?a[r]:null,a){if(!a.enabled)return!1;var l=p.extend({},a.def);delete l.label;var u=null!=a.endpoint&&a.endpoint._jsPlumb?a.endpoint:s(i[e],l,t);if(u.isFull())return!1;i[e+"Endpoint"]=u,!i.scope&&l.scope&&(i.scope=l.scope),a.uniqueEndpoint?a.endpoint?u.finalEndpoint=a.endpoint:(a.endpoint=u,u.setDeleteOnEmpty(!1)):u.setDeleteOnEmpty(!0),0===t&&a.def.connectorOverlays&&(i.overlays=i.overlays||[],Array.prototype.push.apply(i.overlays,a.def.connectorOverlays))}}};if(!1!==l("source",0,this.sourceEndpointDefinitions,i.type||"default")&&!1!==l("target",1,this.targetEndpointDefinitions,i.type||"default"))return i.sourceEndpoint&&i.targetEndpoint&&(L(i.sourceEndpoint,i.targetEndpoint)||(i=null)),i}}.bind(r),N=function(e){var t=r.Defaults.ConnectionType||r.getDefaultConnectionType();e._jsPlumb=r,e.newConnection=N,e.newEndpoint=F,e.endpointsByUUID=_,e.endpointsByElement=b,e.finaliseConnection=B,e.id="con_"+P();var n=new t(e);return n.isDetachable()&&(n.endpoints[0].initDraggable("_jsPlumbSource"),n.endpoints[1].initDraggable("_jsPlumbTarget")),n},B=r.finaliseConnection=function(e,t,n,i){if(t=t||{},e.suspendedEndpoint||m.push(e),e.pending=null,e.endpoints[0].isTemporarySource=!1,!1!==i&&r.router.newConnection(e),D(e.source),!t.doNotFireConnectionEvent&&!1!==t.fireEvent){var o={connection:e,source:e.source,target:e.target,sourceId:e.sourceId,targetId:e.targetId,sourceEndpoint:e.endpoints[0],targetEndpoint:e.endpoints[1]};r.fire("connection",o,n)}},F=function(e,t){var n=r.Defaults.EndpointType||p.Endpoint,i=p.extend({},e);i._jsPlumb=r,i.newConnection=N,i.newEndpoint=F,i.endpointsByUUID=_,i.endpointsByElement=b,i.fireDetachEvent=X,i.elementId=t||G(i.source);var o=new n(i);return o.id="ep_"+P(),he(i.elementId,i.source),p.headless||r.getDragManager().endpointAdded(i.source,t),o},z=function(e,t,n){var r=b[e];if(r&&r.length)for(var i=0,o=r.length;i<o;i++){for(var a=0,s=r[i].connections.length;a<s;a++){var l=t(r[i].connections[a]);if(l)return}n&&n(r[i])}},U=function(e,t,n){t="block"===t;var r=null;n&&(r=function(e){e.setVisible(t,!0,!0)});var i=c(e);z(i.id,(function(e){if(t&&n){var r=e.sourceId===i.id?1:0;e.endpoints[r].isVisible()&&e.setVisible(!0)}else e.setVisible(t)}),r)},H=function(e,t){var n=null;t&&(n=function(e){var t=e.isVisible();e.setVisible(!t)}),z(e,(function(e){var t=e.isVisible();e.setVisible(!t)}),n)},V=function(e){var t=w[e];return t?{o:t,s:E[e]}:de({elId:e})},G=function(e,t,i){if(n.isString(e))return e;if(null==e)return null;var a=r.getAttribute(e,"id");return a&&"undefined"!==a||(2===arguments.length&&void 0!==arguments[1]?a=t:(1===arguments.length||3===arguments.length&&!arguments[2])&&(a="jsPlumb_"+o+"_"+P()),i||r.setAttribute(e,"id",a)),a};this.setConnectionBeingDragged=function(e){k=e},this.isConnectionBeingDragged=function(){return k},this.getManagedElements=function(){return x},this.connectorClass="jtk-connector",this.connectorOutlineClass="jtk-connector-outline",this.connectedClass="jtk-connected",this.hoverClass="jtk-hover",this.endpointClass="jtk-endpoint",this.endpointConnectedClass="jtk-endpoint-connected",this.endpointFullClass="jtk-endpoint-full",this.endpointDropAllowedClass="jtk-endpoint-drop-allowed",this.endpointDropForbiddenClass="jtk-endpoint-drop-forbidden",this.overlayClass="jtk-overlay",this.draggingClass="jtk-dragging",this.elementDraggingClass="jtk-element-dragging",this.sourceElementDraggingClass="jtk-source-element-dragging",this.targetElementDraggingClass="jtk-target-element-dragging",this.endpointAnchorClassPrefix="jtk-endpoint-anchor",this.hoverSourceClass="jtk-source-hover",this.hoverTargetClass="jtk-target-hover",this.dragSelectClass="jtk-drag-select",this.Anchors={},this.Connectors={svg:{}},this.Endpoints={svg:{}},this.Overlays={svg:{}},this.ConnectorRenderers={},this.SVG="svg",this.addEndpoint=function(e,t,i){i=i||{};var o=p.extend({},i);p.extend(o,t),o.endpoint=o.endpoint||r.Defaults.Endpoint,o.paintStyle=o.paintStyle||r.Defaults.EndpointStyle;for(var a=[],s=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],l=0,u=s.length;l<u;l++){o.source=r.getElement(s[l]),ce(o.source);var c=G(o.source),f=F(o,c),h=he(c,o.source,null,!O).info.o;n.addToList(b,c,f),O||f.paint({anchorLoc:f.anchor.compute({xy:[h.left,h.top],wh:E[c],element:f,timestamp:C,rotation:this.getRotation(c)}),timestamp:C}),a.push(f)}return 1===a.length?a[0]:a},this.addEndpoints=function(e,t,i){for(var o=[],a=0,s=t.length;a<s;a++){var l=r.addEndpoint(e,t[a],i);n.isArray(l)?Array.prototype.push.apply(o,l):o.push(l)}return o},this.animate=function(e,t,i){if(!this.animationSupported)return!1;i=i||{};var o=r.getElement(e),a=G(o),s=p.animEvents.step,l=p.animEvents.complete;i[s]=n.wrap(i[s],(function(){r.revalidate(a)})),i[l]=n.wrap(i[l],(function(){r.revalidate(a)})),r.doAnimate(o,t,i)},this.checkCondition=function(e,t){var i=r.getListener(e),o=!0;if(i&&i.length>0){var a=Array.prototype.slice.call(arguments,1);try{for(var s=0,l=i.length;s<l;s++)o=o&&i[s].apply(i[s],a)}catch(u){n.log(r,"cannot check condition ["+e+"]"+u)}}return o},this.connect=function(e,t){var r,i=j(e,t);if(i){if(null==i.source&&null==i.sourceEndpoint)return void n.log("Cannot establish connection - source does not exist");if(null==i.target&&null==i.targetEndpoint)return void n.log("Cannot establish connection - target does not exist");ce(i.source),r=N(i),B(r,i)}return r};var W=[{el:"source",elId:"sourceId",epDefs:"sourceEndpointDefinitions"},{el:"target",elId:"targetId",epDefs:"targetEndpointDefinitions"}],q=function(e,t,n,r){var i,o,a,s=W[n],l=e[s.elId],u=(e[s.el],e.endpoints[n]),c={index:n,originalSourceId:0===n?l:e.sourceId,newSourceId:e.sourceId,originalTargetId:1===n?l:e.targetId,newTargetId:e.targetId,connection:e};if(t.constructor===p.Endpoint)i=t,i.addConnection(e),t=i.element;else if(o=G(t),a=this[s.epDefs][o],o===e[s.elId])i=null;else if(a)for(var f in a){if(!a[f].enabled)return;i=null!=a[f].endpoint&&a[f].endpoint._jsPlumb?a[f].endpoint:this.addEndpoint(t,a[f].def),a[f].uniqueEndpoint&&(a[f].endpoint=i),i.addConnection(e)}else i=e.makeEndpoint(0===n,t,o);return null!=i&&(u.detachFromConnection(e),e.endpoints[n]=i,e[s.el]=i.element,e[s.elId]=i.elementId,c[0===n?"newSourceId":"newTargetId"]=i.elementId,Y(c),r||e.repaint()),c.element=t,c}.bind(this);this.setSource=function(e,t,n){var r=q(e,t,0,n);this.router.sourceOrTargetChanged(r.originalSourceId,r.newSourceId,e,r.el,0)},this.setTarget=function(e,t,n){var r=q(e,t,1,n);this.router.sourceOrTargetChanged(r.originalTargetId,r.newTargetId,e,r.el,1)},this.deleteEndpoint=function(e,t,n){var i="string"===typeof e?_[e]:e;return i&&r.deleteObject({endpoint:i,dontUpdateHover:t,deleteAttachedObjects:n}),r},this.deleteEveryEndpoint=function(){var e=r.setSuspendDrawing(!0);for(var t in b){var n=b[t];if(n&&n.length)for(var i=0,o=n.length;i<o;i++)r.deleteEndpoint(n[i],!0)}b={},x={},_={},w={},S={},r.router.reset();var a=r.getDragManager();return a&&a.reset(),e||r.setSuspendDrawing(!1),r};var X=function(e,t,n){var i=r.Defaults.ConnectionType||r.getDefaultConnectionType(),o=e.constructor===i,a=o?{connection:e,source:e.source,target:e.target,sourceId:e.sourceId,targetId:e.targetId,sourceEndpoint:e.endpoints[0],targetEndpoint:e.endpoints[1]}:e;t&&r.fire("connectionDetached",a,n),r.fire("internal.connectionDetached",a,n),r.router.connectionDetached(a)},Y=r.fireMoveEvent=function(e,t){r.fire("connectionMoved",e,t)};this.unregisterEndpoint=function(e){for(var t in e._jsPlumb.uuid&&(_[e._jsPlumb.uuid]=null),r.router.deleteEndpoint(e),b){var n=b[t];if(n){for(var i=[],o=0,a=n.length;o<a;o++)n[o]!==e&&i.push(n[o]);b[t]=i}b[t].length<1&&delete b[t]}};var K="isDetachAllowed",$="beforeDetach",Z="checkCondition";this.deleteConnection=function(e,t){return!(null==e||(t=t||{},!t.force&&!n.functionChain(!0,!1,[[e.endpoints[0],K,[e]],[e.endpoints[1],K,[e]],[e,K,[e]],[r,Z,[$,e]]])))&&(e.setHover(!1),X(e,!e.pending&&!1!==t.fireEvent,t.originalEvent),e.endpoints[0].detachFromConnection(e),e.endpoints[1].detachFromConnection(e),n.removeWithFunction(m,(function(t){return e.id===t.id})),e.cleanup(),e.destroy(),!0)},this.deleteEveryConnection=function(e){e=e||{};var t=m.length,n=0;return r.batch((function(){for(var i=0;i<t;i++)n+=r.deleteConnection(m[0],e)?1:0})),n},this.deleteConnectionsForElement=function(e,t){t=t||{},e=r.getElement(e);var n=G(e),i=b[n];if(i&&i.length)for(var o=0,a=i.length;o<a;o++)i[o].deleteEveryConnection(t);return r},this.deleteObject=function(e){var t={endpoints:{},connections:{},endpointCount:0,connectionCount:0},i=!1!==e.deleteAttachedObjects,o=function(n){null!=n&&null==t.connections[n.id]&&(e.dontUpdateHover||null==n._jsPlumb||n.setHover(!1),t.connections[n.id]=n,t.connectionCount++)},a=function(n){if(null!=n&&null==t.endpoints[n.id]&&(e.dontUpdateHover||null==n._jsPlumb||n.setHover(!1),t.endpoints[n.id]=n,t.endpointCount++,i))for(var r=0;r<n.connections.length;r++){var a=n.connections[r];o(a)}};for(var s in e.connection?o(e.connection):a(e.endpoint),t.connections){var l=t.connections[s];if(l._jsPlumb){n.removeWithFunction(m,(function(e){return l.id===e.id})),X(l,!1!==e.fireEvent&&!l.pending,e.originalEvent);var u=null==e.deleteAttachedObjects?null:!e.deleteAttachedObjects;l.endpoints[0].detachFromConnection(l,null,u),l.endpoints[1].detachFromConnection(l,null,u),l.cleanup(!0),l.destroy(!0)}}for(var c in t.endpoints){var f=t.endpoints[c];f._jsPlumb&&(r.unregisterEndpoint(f),f.cleanup(!0),f.destroy(!0))}return t};var J=function(e,t,n,r){for(var i=0,o=e.length;i<o;i++)e[i][t].apply(e[i],n);return r(e)},Q=function(e,t,n){for(var r=[],i=0,o=e.length;i<o;i++)r.push([e[i][t].apply(e[i],n),e[i]]);return r},ee=function(e,t,n){return function(){return J(e,t,arguments,n)}},te=function(e,t){return function(){return Q(e,t,arguments)}},ne=function(e,t){var n=[];if(e)if("string"===typeof e){if("*"===e)return e;n.push(e)}else if(t)n=e;else if(e.length)for(var r=0,i=e.length;r<i;r++)n.push(c(e[r]).id);else n.push(c(e).id);return n},re=function(e,t,n){return"*"===e||(e.length>0?-1!==e.indexOf(t):!n)};this.getConnections=function(e,t){e?e.constructor===String&&(e={scope:e}):e={};for(var n=e.scope||r.getDefaultScope(),i=ne(n,!0),o=ne(e.source),a=ne(e.target),s=!t&&i.length>1?{}:[],l=function(e,n){if(!t&&i.length>1){var r=s[e];null==r&&(r=s[e]=[]),r.push(n)}else s.push(n)},u=0,c=m.length;u<c;u++){var f=m[u],h=f.proxies&&f.proxies[0]?f.proxies[0].originalEp.elementId:f.sourceId,d=f.proxies&&f.proxies[1]?f.proxies[1].originalEp.elementId:f.targetId;re(i,f.scope)&&re(o,h)&&re(a,d)&&l(f.scope,f)}return s};var ie=function(e,t){return function(n){for(var r=0,i=e.length;r<i;r++)n(e[r]);return t(e)}},oe=function(e){return function(t){return e[t]}},ae=function(e,t){var n,r,i={length:e.length,each:ie(e,t),get:oe(e)},o=["setHover","removeAllOverlays","setLabel","addClass","addOverlay","removeOverlay","removeOverlays","showOverlay","hideOverlay","showOverlays","hideOverlays","setPaintStyle","setHoverPaintStyle","setSuspendEvents","setParameter","setParameters","setVisible","repaint","addType","toggleType","removeType","removeClass","setType","bind","unbind"],a=["getLabel","getOverlay","isHover","getParameter","getParameters","getPaintStyle","getHoverPaintStyle","isVisible","hasType","getType","isSuspendEvents"];for(n=0,r=o.length;n<r;n++)i[o[n]]=ee(e,o[n],t);for(n=0,r=a.length;n<r;n++)i[a[n]]=te(e,a[n]);return i},se=function(e){var t=ae(e,se);return p.extend(t,{setDetachable:ee(e,"setDetachable",se),setReattach:ee(e,"setReattach",se),setConnector:ee(e,"setConnector",se),delete:function(){for(var t=0,n=e.length;t<n;t++)r.deleteConnection(e[t])},isDetachable:te(e,"isDetachable"),isReattach:te(e,"isReattach")})},le=function(e){var t=ae(e,le);return p.extend(t,{setEnabled:ee(e,"setEnabled",le),setAnchor:ee(e,"setAnchor",le),isEnabled:te(e,"isEnabled"),deleteEveryConnection:function(){for(var t=0,n=e.length;t<n;t++)e[t].deleteEveryConnection()},delete:function(){for(var t=0,n=e.length;t<n;t++)r.deleteEndpoint(e[t])}})};this.select=function(e){return e=e||{},e.scope=e.scope||"*",se(e.connections||r.getConnections(e,!0))},this.selectEndpoints=function(e){e=e||{},e.scope=e.scope||"*";var t=!e.element&&!e.source&&!e.target,n=t?"*":ne(e.element),r=t?"*":ne(e.source),i=t?"*":ne(e.target),o=ne(e.scope,!0),a=[];for(var s in b){var l=re(n,s,!0),u=re(r,s,!0),c="*"!==r,f=re(i,s,!0),h="*"!==i;if(l||u||f)e:for(var d=0,p=b[s].length;d<p;d++){var g=b[s][d];if(re(o,g.scope,!0)){var v=c&&r.length>0&&!g.isSource,y=h&&i.length>0&&!g.isTarget;if(v||y)continue e;a.push(g)}}}return le(a)},this.getAllConnections=function(){return m},this.getDefaultScope=function(){return A},this.getEndpoint=I,this.getEndpoints=function(e){return b[c(e).id]||[]},this.getDefaultEndpointType=function(){return p.Endpoint},this.getDefaultConnectionType=function(){return p.Connection},this.getId=G,this.draw=D,this.info=c,this.appendElement=M;var ue=!1;this.isHoverSuspended=function(){return ue},this.setHoverSuspended=function(e){ue=e},this.hide=function(e,t){return U(e,"none",t),r},this.idstamp=P;var ce=function(e){if(!d&&e){var t=r.getElement(e);t.offsetParent&&r.setContainer(t.offsetParent)}},fe=function(){r.Defaults.Container&&r.setContainer(r.Defaults.Container)},he=r.manage=function(e,t,n,i){return x[e]?i&&(x[e].info=de({elId:e,timestamp:C,recalc:!0})):(x[e]={el:t,endpoints:[],connections:[],rotation:0},x[e].info=de({elId:e,timestamp:C}),r.addClass(t,"jtk-managed"),n||r.fire("manageElement",{id:e,info:x[e].info,el:t})),x[e]};this.unmanage=function(e){if(x[e]){var t=x[e].el;r.removeClass(t,"jtk-managed"),delete x[e],r.fire("unmanageElement",{id:e,el:t})}},this.rotate=function(e,t,n){return x[e]&&(x[e].rotation=t,x[e].el.style.transform="rotate("+t+"deg)",x[e].el.style.transformOrigin="center center",!0!==n)?this.revalidate(e):{c:[],e:[]}},this.getRotation=function(e){return x[e]&&x[e].rotation||0};var de=function(e){var t,n=e.timestamp,i=e.recalc,o=e.offset,a=e.elId;return O&&!n&&(n=C),!i&&n&&n===S[a]?{o:e.offset||w[a],s:E[a]}:(i||!o&&null==w[a]?(t=x[a]?x[a].el:null,null!=t&&(E[a]=r.getSize(t),w[a]=r.getOffset(t),S[a]=n)):(w[a]=o||w[a],null==E[a]&&(t=x[a].el,null!=t&&(E[a]=r.getSize(t))),S[a]=n),w[a]&&!w[a].right&&(w[a].right=w[a].left+E[a][0],w[a].bottom=w[a].top+E[a][1],w[a].width=E[a][0],w[a].height=E[a][1],w[a].centerx=w[a].left+w[a].width/2,w[a].centery=w[a].top+w[a].height/2),{o:w[a],s:E[a]})};this.updateOffset=de,this.init=function(){y||(fe(),r.router=new e.jsPlumb.DefaultRouter(r),r.anchorManager=r.router.anchorManager,y=!0,r.fire("ready",r))}.bind(this),this.log=v,this.jsPlumbUIComponent=u,this.makeAnchor=function(){var t,i=function(t,n){if(e.jsPlumb.Anchors[t])return new e.jsPlumb.Anchors[t](n);if(!r.Defaults.DoNotThrowErrors)throw{msg:"jsPlumb: unknown anchor type '"+t+"'"}};if(0===arguments.length)return null;var o=arguments[0],a=arguments[1],s=null;if(o.compute&&o.getOrientation)return o;if("string"===typeof o)s=i(arguments[0],{elementId:a,jsPlumbInstance:r});else if(n.isArray(o))if(n.isArray(o[0])||n.isString(o[0]))2===o.length&&n.isObject(o[1])?n.isString(o[0])?(t=e.jsPlumb.extend({elementId:a,jsPlumbInstance:r},o[1]),s=i(o[0],t)):(t=e.jsPlumb.extend({elementId:a,jsPlumbInstance:r,anchors:o[0]},o[1]),s=new e.jsPlumb.DynamicAnchor(t)):s=new p.DynamicAnchor({anchors:o,selector:null,elementId:a,jsPlumbInstance:r});else{var l={x:o[0],y:o[1],orientation:o.length>=4?[o[2],o[3]]:[0,0],offsets:o.length>=6?[o[4],o[5]]:[0,0],elementId:a,jsPlumbInstance:r,cssClass:7===o.length?o[6]:null};s=new e.jsPlumb.Anchor(l),s.clone=function(){return new e.jsPlumb.Anchor(l)}}return s.id||(s.id="anchor_"+P()),s},this.makeAnchors=function(t,i,o){for(var a=[],s=0,l=t.length;s<l;s++)"string"===typeof t[s]?a.push(e.jsPlumb.Anchors[t[s]]({elementId:i,jsPlumbInstance:o})):n.isArray(t[s])&&a.push(r.makeAnchor(t[s],i,o));return a},this.makeDynamicAnchor=function(t,n){return new e.jsPlumb.DynamicAnchor({anchors:t,selector:n,elementId:null,jsPlumbInstance:r})},this.targetEndpointDefinitions={},this.sourceEndpointDefinitions={};var pe=function(e,t,n,r,i){for(var o=e.target||e.srcElement,a=!1,s=r.getSelector(t,n),l=0;l<s.length;l++)if(s[l]===o){a=!0;break}return i?!a:a},ge=function(t,i,o,a,s){var l=new u(i),c=i._jsPlumb.EndpointDropHandler({jsPlumb:r,enabled:function(){return t.def.enabled},isFull:function(){var e=r.select({target:t.id}).length;return t.def.maxConnections>0&&e>=t.def.maxConnections},element:t.el,elementId:t.id,isSource:a,isTarget:s,addClass:function(e){r.addClass(t.el,e)},removeClass:function(e){r.removeClass(t.el,e)},onDrop:function(e){var t=e.endpoints[0];t.anchor.locked=!1},isDropAllowed:function(){return l.isDropAllowed.apply(l,arguments)},isRedrop:function(e){return null!=e.suspendedElement&&null!=e.suspendedEndpoint&&e.suspendedEndpoint.element===t.el},getEndpoint:function(n){var o=t.def.endpoint;if(null==o||null==o._jsPlumb){var a=r.deriveEndpointAndAnchorSpec(n.getType().join(" "),!0),s=a.endpoints?e.jsPlumb.extend(i,{endpoint:t.def.def.endpoint||a.endpoints[1]}):i;a.anchors&&(s=e.jsPlumb.extend(s,{anchor:t.def.def.anchor||a.anchors[1]})),o=r.addEndpoint(t.el,s),o._mtNew=!0}if(i.uniqueEndpoint&&(t.def.endpoint=o),o.setDeleteOnEmpty(!0),n.isDetachable()&&o.initDraggable(),null!=o.anchor.positionFinder){var l=r.getUIPosition(arguments,r.getZoom()),u=r.getOffset(t.el),c=r.getSize(t.el),f=null==l?[0,0]:o.anchor.positionFinder(l,u,c,o.anchor.constructorParams);o.anchor.x=f[0],o.anchor.y=f[1]}return o},maybeCleanup:function(e){e._mtNew&&0===e.connections.length?r.deleteObject({endpoint:e}):delete e._mtNew}}),f=e.jsPlumb.dragEvents.drop;return o.scope=o.scope||i.scope||r.Defaults.Scope,o[f]=n.wrap(o[f],c,!0),o.rank=i.rank||0,s&&(o[e.jsPlumb.dragEvents.over]=function(){return!0}),!1===i.allowLoopback&&(o.canDrop=function(e){var n=e.getDragElement()._jsPlumbRelatedElement;return n!==t.el}),r.initDroppable(t.el,o,"internal"),c};this.makeTarget=function(t,n,i){var o=e.jsPlumb.extend({_jsPlumb:this},i);e.jsPlumb.extend(o,n);for(var a=o.maxConnections||-1,s=function(t){var n=c(t),i=n.id,s=e.jsPlumb.extend({},o.dropOptions||{}),l=o.connectionType||"default";this.targetEndpointDefinitions[i]=this.targetEndpointDefinitions[i]||{},ce(i),n.el._isJsPlumbGroup&&null==s.rank&&(s.rank=-1);var u={def:e.jsPlumb.extend({},o),uniqueEndpoint:o.uniqueEndpoint,maxConnections:a,enabled:!0};o.createEndpoint&&(u.uniqueEndpoint=!0,u.endpoint=r.addEndpoint(t,u.def),u.endpoint.setDeleteOnEmpty(!1)),n.def=u,this.targetEndpointDefinitions[i][l]=u,ge(n,o,s,!0===o.isSource,!0),n.el._katavorioDrop[n.el._katavorioDrop.length-1].targetDef=u}.bind(this),l=t.length&&t.constructor!==String?t:[t],u=0,f=l.length;u<f;u++)s(l[u]);return this},this.unmakeTarget=function(e,t){var n=c(e);return r.destroyDroppable(n.el,"internal"),t||delete this.targetEndpointDefinitions[n.id],this},this.makeSource=function(t,i,o){var a=e.jsPlumb.extend({_jsPlumb:this},o);e.jsPlumb.extend(a,i);var s=a.connectionType||"default",u=r.deriveEndpointAndAnchorSpec(s);a.endpoint=a.endpoint||u.endpoints[0],a.anchor=a.anchor||u.anchors[0];for(var f=a.maxConnections||-1,h=a.onMaxConnections,d=function(i){var o=i.id,u=this.getElement(i.el);this.sourceEndpointDefinitions[o]=this.sourceEndpointDefinitions[o]||{},ce(o);var c={def:e.jsPlumb.extend({},a),uniqueEndpoint:a.uniqueEndpoint,maxConnections:f,enabled:!0};a.createEndpoint&&(c.uniqueEndpoint=!0,c.endpoint=r.addEndpoint(t,c.def),c.endpoint.setDeleteOnEmpty(!1)),this.sourceEndpointDefinitions[o][s]=c,i.def=c;var d=e.jsPlumb.dragEvents.stop,p=e.jsPlumb.dragEvents.drag,g=e.jsPlumb.extend({},a.dragOptions||{}),v=g.drag,y=g.stop,m=null,b=!1;g.scope=g.scope||a.scope,g[p]=n.wrap(g[p],(function(){v&&v.apply(this,arguments),b=!1})),g[d]=n.wrap(g[d],function(){if(y&&y.apply(this,arguments),this.currentlyDragging=!1,null!=m._jsPlumb){var e=a.anchor||this.Defaults.Anchor,t=m.anchor,n=m.connections[0],i=this.makeAnchor(e,o,this),s=m.element;if(null!=i.positionFinder){var l=r.getOffset(s),u=this.getSize(s),c={left:l.left+t.x*u[0],top:l.top+t.y*u[1]},f=i.positionFinder(c,l,u,i.constructorParams);i.x=f[0],i.y=f[1]}m.setAnchor(i,!0),m.repaint(),this.repaint(m.elementId),null!=n&&this.repaint(n.targetId)}}.bind(this));var _=function(t){if(3!==t.which&&2!==t.button){o=this.getId(this.getElement(i.el));var c=this.sourceEndpointDefinitions[o][s];if(c.enabled){if(a.filter){var d=n.isString(a.filter)?pe(t,i.el,a.filter,this,a.filterExclude):a.filter(t,i.el);if(!1===d)return}var p=this.select({source:o}).length;if(c.maxConnections>=0&&p>=c.maxConnections)return h&&h({element:i.el,maxConnections:f},t),!1;var v=e.jsPlumb.getPositionOnElement(t,u,l),y={};e.jsPlumb.extend(y,c.def),y.isTemporarySource=!0,y.anchor=[v[0],v[1],0,0],y.dragOptions=g,c.def.scope&&(y.scope=c.def.scope),m=this.addEndpoint(o,y),b=!0,m.setDeleteOnEmpty(!0),c.uniqueEndpoint&&(c.endpoint?m.finalEndpoint=c.endpoint:(c.endpoint=m,m.setDeleteOnEmpty(!1)));var _=function(){r.off(m.canvas,"mouseup",_),r.off(i.el,"mouseup",_),b&&(b=!1,r.deleteEndpoint(m))};r.on(m.canvas,"mouseup",_),r.on(i.el,"mouseup",_);var x={};if(c.def.extract)for(var w in c.def.extract){var S=(t.srcElement||t.target).getAttribute(w);S&&(x[c.def.extract[w]]=S)}r.trigger(m.canvas,"mousedown",t,x),n.consume(t)}}}.bind(this);this.on(i.el,"mousedown",_),c.trigger=_,a.filter&&(n.isString(a.filter)||n.isFunction(a.filter))&&r.setDragFilter(i.el,a.filter);var x=e.jsPlumb.extend({},a.dropOptions||{});ge(i,a,x,!0,!0===a.isTarget)}.bind(this),p=t.length&&t.constructor!==String?t:[t],g=0,v=p.length;g<v;g++)d(c(p[g]));return this},this.unmakeSource=function(e,t,n){var i=c(e);r.destroyDroppable(i.el,"internal");var o=this.sourceEndpointDefinitions[i.id];if(o)for(var a in o)if(null==t||t===a){var s=o[a].trigger;s&&r.off(i.el,"mousedown",s),n||delete this.sourceEndpointDefinitions[i.id][a]}return this},this.unmakeEverySource=function(){for(var e in this.sourceEndpointDefinitions)r.unmakeSource(e,null,!0);return this.sourceEndpointDefinitions={},this};var ve=function(e,t,r){t=n.isArray(t)?t:[t];var i=G(e);r=r||"default";for(var o=0;o<t.length;o++){var a=this[t[o]][i];if(a&&a[r])return a[r].def.scope||this.Defaults.Scope}}.bind(this),ye=function(e,t,r,i){r=n.isArray(r)?r:[r];var o=G(e);i=i||"default";for(var a=0;a<r.length;a++){var s=this[r[a]][o];s&&s[i]&&(s[i].def.scope=t)}}.bind(this);this.getScope=function(e,t){return ve(e,["sourceEndpointDefinitions","targetEndpointDefinitions"])},this.getSourceScope=function(e){return ve(e,"sourceEndpointDefinitions")},this.getTargetScope=function(e){return ve(e,"targetEndpointDefinitions")},this.setScope=function(e,t,n){this.setSourceScope(e,t,n),this.setTargetScope(e,t,n)},this.setSourceScope=function(e,t,n){ye(e,t,"sourceEndpointDefinitions",n),this.setDragScope(e,t)},this.setTargetScope=function(e,t,n){ye(e,t,"targetEndpointDefinitions",n),this.setDropScope(e,t)},this.unmakeEveryTarget=function(){for(var e in this.targetEndpointDefinitions)r.unmakeTarget(e,!0);return this.targetEndpointDefinitions={},this};var me=function(e,t,i,o,a){var s,l,u,f="source"===e?this.sourceEndpointDefinitions:this.targetEndpointDefinitions;if(a=a||"default",t.length&&!n.isString(t)){s=[];for(var h=0,d=t.length;h<d;h++)l=c(t[h]),f[l.id]&&f[l.id][a]&&(s[h]=f[l.id][a].enabled,u=o?!s[h]:i,f[l.id][a].enabled=u,r[u?"removeClass":"addClass"](l.el,"jtk-"+e+"-disabled"))}else{l=c(t);var p=l.id;f[p]&&f[p][a]&&(s=f[p][a].enabled,u=o?!s:i,f[p][a].enabled=u,r[u?"removeClass":"addClass"](l.el,"jtk-"+e+"-disabled"))}return s}.bind(this),be=function(e,t){if(null!=e){if(n.isString(e)||!e.length)return t.apply(this,[e]);if(e.length)return t.apply(this,[e[0]])}}.bind(this);this.toggleSourceEnabled=function(e,t){return me("source",e,null,!0,t),this.isSourceEnabled(e,t)},this.setSourceEnabled=function(e,t,n){return me("source",e,t,null,n)},this.isSource=function(e,t){return t=t||"default",be(e,function(e){var n=this.sourceEndpointDefinitions[c(e).id];return null!=n&&null!=n[t]}.bind(this))},this.isSourceEnabled=function(e,t){return t=t||"default",be(e,function(e){var n=this.sourceEndpointDefinitions[c(e).id];return n&&n[t]&&!0===n[t].enabled}.bind(this))},this.toggleTargetEnabled=function(e,t){return me("target",e,null,!0,t),this.isTargetEnabled(e,t)},this.isTarget=function(e,t){return t=t||"default",be(e,function(e){var n=this.targetEndpointDefinitions[c(e).id];return null!=n&&null!=n[t]}.bind(this))},this.isTargetEnabled=function(e,t){return t=t||"default",be(e,function(e){var n=this.targetEndpointDefinitions[c(e).id];return n&&n[t]&&!0===n[t].enabled}.bind(this))},this.setTargetEnabled=function(e,t,n){return me("target",e,t,null,n)},this.ready=function(e){r.bind("ready",e)};var _e=function(e,t){if("object"===typeof e&&e.length)for(var n=0,i=e.length;n<i;n++)t(e[n]);else t(e);return r};this.repaint=function(e,t,n){return _e(e,(function(e){D(e,t,n)}))},this.revalidate=function(e,t,n){var i=n?e:r.getId(e);r.updateOffset({elId:i,recalc:!0,timestamp:t});var o=r.getDragManager();return o&&o.updateOffsets(i),D(e,null,t)},this.repaintEverything=function(){var e,t=jsPlumbUtil.uuid();for(e in b)r.updateOffset({elId:e,recalc:!0,timestamp:t});for(e in b)D(e,null,t);return this},this.removeAllEndpoints=function(e,t,n){n=n||[];var i=function(e){var o,a,s=c(e),l=b[s.id];if(l)for(n.push(s),o=0,a=l.length;o<a;o++)r.deleteEndpoint(l[o],!1);if(delete b[s.id],t&&s.el&&3!==s.el.nodeType&&8!==s.el.nodeType)for(o=0,a=s.el.childNodes.length;o<a;o++)i(s.el.childNodes[o])};return i(e),this};var xe=function(e,t){r.removeAllEndpoints(e.id,!0,t);for(var n=r.getDragManager(),i=function(e){n&&n.elementRemoved(e.id),r.router.elementRemoved(e.id),r.isSource(e.el)&&r.unmakeSource(e.el),r.isTarget(e.el)&&r.unmakeTarget(e.el),r.destroyDraggable(e.el),r.destroyDroppable(e.el),delete r.floatingConnections[e.id],delete x[e.id],delete w[e.id],e.el&&(r.removeElement(e.el),e.el._jsPlumb=null)},o=1;o<t.length;o++)i(t[o]);i(e)};this.remove=function(e,t){var n=c(e),i=[];return n.text&&n.el.parentNode?n.el.parentNode.removeChild(n.el):n.id&&r.batch((function(){xe(n,i)}),!0===t),r},this.empty=function(e,t){var n=[],i=function(e,t){var r=c(e);if(r.text)r.el.parentNode.removeChild(r.el);else if(r.el){while(r.el.childNodes.length>0)i(r.el.childNodes[0]);t||xe(r,n)}};return r.batch((function(){i(e,!0)}),!1===t),r},this.reset=function(e){r.silently(function(){ue=!1,r.removeAllGroups(),r.removeGroupManager(),r.deleteEveryEndpoint(),e||r.unbind(),this.targetEndpointDefinitions={},this.sourceEndpointDefinitions={},m.length=0,this.doReset&&this.doReset()}.bind(this))},this.destroy=function(){this.reset(),d=null,g=null};var we=function(e){e.canvas&&e.canvas.parentNode&&e.canvas.parentNode.removeChild(e.canvas),e.cleanup(),e.destroy()};this.clear=function(){r.select().each(we),r.selectEndpoints().each(we),b={},_={}},this.setDefaultScope=function(e){return A=e,r},this.deriveEndpointAndAnchorSpec=function(e,t){for(var n=((t?"":"default ")+e).split(/[\s]/),i=null,o=null,a=null,s=null,l=0;l<n.length;l++){var u=r.getType(n[l],"connection");u&&(u.endpoints&&(i=u.endpoints),u.endpoint&&(o=u.endpoint),u.anchors&&(s=u.anchors),u.anchor&&(a=u.anchor))}return{endpoints:i||[o,o],anchors:s||[a,a]}},this.setId=function(e,t,r){var i;n.isString(e)?i=e:(e=this.getElement(e),i=this.getId(e));var o=this.getConnections({source:i,scope:"*"},!0),a=this.getConnections({target:i,scope:"*"},!0);t=""+t,r?e=this.getElement(t):(e=this.getElement(i),this.setAttribute(e,"id",t)),b[t]=b[i]||[];for(var s=0,l=b[t].length;s<l;s++)b[t][s].setElementId(t),b[t][s].setReferenceElement(e);delete b[i],this.sourceEndpointDefinitions[t]=this.sourceEndpointDefinitions[i],delete this.sourceEndpointDefinitions[i],this.targetEndpointDefinitions[t]=this.targetEndpointDefinitions[i],delete this.targetEndpointDefinitions[i],this.router.changeId(i,t);var u=this.getDragManager();u&&u.changeId(i,t),x[t]=x[i],delete x[i];var c=function(n,r,i){for(var o=0,a=n.length;o<a;o++)n[o].endpoints[r].setElementId(t),n[o].endpoints[r].setReferenceElement(e),n[o][i+"Id"]=t,n[o][i]=e};c(o,0,"source"),c(a,1,"target"),this.repaint(t)},this.setDebugLog=function(e){v=e},this.setSuspendDrawing=function(e,t){var n=O;return O=e,C=e?(new Date).getTime():null,t&&this.repaintEverything(),n},this.isSuspendDrawing=function(){return O},this.getSuspendedAt=function(){return C},this.batch=function(e,t){var r=this.isSuspendDrawing();r||this.setSuspendDrawing(!0);try{e()}catch(i){n.log("Function run while suspended failed",i)}r||this.setSuspendDrawing(!1,!t)},this.doWhileSuspended=this.batch,this.getCachedData=V,this.show=function(e,t){return U(e,"block",t),r},this.toggleVisible=H,this.addListener=this.bind;var Se=[];this.registerFloatingConnection=function(e,t,r){Se[e.id]=t,n.addToList(b,e.id,r)},this.getFloatingConnectionFor=function(e){return Se[e]},this.listManager=new e.jsPlumbListManager(this,this.Defaults.ListStyle)};n.extend(e.jsPlumbInstance,n.EventGenerator,{setAttribute:function(e,t,n){this.setAttribute(e,t,n)},getAttribute:function(t,n){return this.getAttribute(e.jsPlumb.getElement(t),n)},convertToFullOverlaySpec:function(e){return n.isString(e)&&(e=[e,{}]),e[1].id=e[1].id||n.uuid(),e},registerConnectionType:function(t,n){if(this._connectionTypes[t]=e.jsPlumb.extend({},n),n.overlays){for(var r={},i=0;i<n.overlays.length;i++){var o=this.convertToFullOverlaySpec(n.overlays[i]);r[o[1].id]=o}this._connectionTypes[t].overlays=r}},registerConnectionTypes:function(e){for(var t in e)this.registerConnectionType(t,e[t])},registerEndpointType:function(t,n){if(this._endpointTypes[t]=e.jsPlumb.extend({},n),n.overlays){for(var r={},i=0;i<n.overlays.length;i++){var o=this.convertToFullOverlaySpec(n.overlays[i]);r[o[1].id]=o}this._endpointTypes[t].overlays=r}},registerEndpointTypes:function(e){for(var t in e)this.registerEndpointType(t,e[t])},getType:function(e,t){return"connection"===t?this._connectionTypes[e]:this._endpointTypes[e]},setIdChanged:function(e,t){this.setId(e,t,!0)},setParent:function(e,t){var n=this.getElement(e),r=this.getId(n),i=this.getElement(t),o=this.getId(i),a=this.getDragManager();n.parentNode.removeChild(n),i.appendChild(n),a&&a.setParent(n,r,i,o)},extend:function(e,t,n){var r;if(n)for(r=0;r<n.length;r++)e[n[r]]=t[n[r]];else for(r in t)e[r]=t[r];return e},floatingConnections:{},getFloatingAnchorIndex:function(e){return e.endpoints[0].isFloating()?0:e.endpoints[1].isFloating()?1:-1},proxyConnection:function(e,t,n,r,i,o){var a,s=e.endpoints[t].elementId,l=e.endpoints[t];e.proxies=e.proxies||[],a=e.proxies[t]?e.proxies[t].ep:this.addEndpoint(n,{endpoint:i(e,t),anchor:o(e,t),parameters:{isProxyEndpoint:!0}}),a.setDeleteOnEmpty(!0),e.proxies[t]={ep:a,originalEp:l},0===t?this.router.sourceOrTargetChanged(s,r,e,n,0):this.router.sourceOrTargetChanged(s,r,e,n,1),l.detachFromConnection(e,null,!0),a.connections=[e],e.endpoints[t]=a,l.setVisible(!1),e.setVisible(!0),this.revalidate(n)},unproxyConnection:function(e,t,n){if(null!=e._jsPlumb&&null!=e.proxies&&null!=e.proxies[t]){var r=e.proxies[t].originalEp.element,i=e.proxies[t].originalEp.elementId;e.endpoints[t]=e.proxies[t].originalEp,0===t?this.router.sourceOrTargetChanged(n,i,e,r,0):this.router.sourceOrTargetChanged(n,i,e,r,1),e.proxies[t].ep.detachFromConnection(e,null),e.proxies[t].originalEp.addConnection(e),e.isVisible()&&e.proxies[t].originalEp.setVisible(!0),delete e.proxies[t]}}});var p=new d;e.jsPlumb=p,p.getInstance=function(e,t){var n=new d(e);if(t)for(var r in t)n[r]=t[r];return n.init(),n},p.each=function(e,t){if(null!=e)if("string"===typeof e)t(p.getElement(e));else if(null!=e.length)for(var n=0;n<e.length;n++)t(p.getElement(e[n]));else t(e)},t.jsPlumb=p}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r="__label",i=function(e,n){var i={cssClass:n.cssClass,labelStyle:e.labelStyle,id:r,component:e,_jsPlumb:e._jsPlumb.instance},o=t.extend(i,n);return new(t.Overlays[e._jsPlumb.instance.getRenderMode()].Label)(o)},o=function(e,r){var i=null;if(n.isArray(r)){var o=r[0],a=t.extend({component:e,_jsPlumb:e._jsPlumb.instance},r[1]);3===r.length&&t.extend(a,r[2]),i=new(t.Overlays[e._jsPlumb.instance.getRenderMode()][o])(a)}else i=r.constructor===String?new(t.Overlays[e._jsPlumb.instance.getRenderMode()][r])({component:e,_jsPlumb:e._jsPlumb.instance}):r;return i.id=i.id||n.uuid(),e.cacheTypeItem("overlay",i,i.id),e._jsPlumb.overlays[i.id]=i,i};t.OverlayCapableJsPlumbUIComponent=function(t){e.jsPlumbUIComponent.apply(this,arguments),this._jsPlumb.overlays={},this._jsPlumb.overlayPositions={},t.label&&(this.getDefaultType().overlays[r]=["Label",{label:t.label,location:t.labelLocation||this.defaultLabelLocation||.5,labelStyle:t.labelStyle||this._jsPlumb.instance.Defaults.LabelStyle,id:r}]),this.setListenerComponent=function(e){if(this._jsPlumb)for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].setListenerComponent(e)}},t.OverlayCapableJsPlumbUIComponent.applyType=function(e,t){if(t.overlays){var n,r={};for(n in t.overlays){var i=e._jsPlumb.overlays[t.overlays[n][1].id];if(i)i.updateFrom(t.overlays[n][1]),r[t.overlays[n][1].id]=!0,i.reattach(e._jsPlumb.instance,e);else{var o=e.getCachedTypeItem("overlay",t.overlays[n][1].id);null!=o?(o.reattach(e._jsPlumb.instance,e),o.setVisible(!0),o.updateFrom(t.overlays[n][1]),e._jsPlumb.overlays[o.id]=o):o=e.addOverlay(t.overlays[n],!0),r[o.id]=!0}}for(n in e._jsPlumb.overlays)null==r[e._jsPlumb.overlays[n].id]&&e.removeOverlay(e._jsPlumb.overlays[n].id,!0)}},n.extend(t.OverlayCapableJsPlumbUIComponent,e.jsPlumbUIComponent,{setHover:function(e,t){if(this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged())for(var n in this._jsPlumb.overlays)this._jsPlumb.overlays[n][e?"addClass":"removeClass"](this._jsPlumb.instance.hoverClass)},addOverlay:function(e,t){var r=o(this,e);if(this.getData&&"Label"===r.type&&n.isArray(e)){var i=this.getData(),a=e[1];if(i){var s=a.labelLocationAttribute||"labelLocation",l=i?i[s]:null;l&&(r.loc=l)}}return t||this.repaint(),r},getOverlay:function(e){return this._jsPlumb.overlays[e]},getOverlays:function(){return this._jsPlumb.overlays},hideOverlay:function(e){var t=this.getOverlay(e);t&&t.hide()},hideOverlays:function(){for(var e in this._jsPlumb.overlays)this._jsPlumb.overlays[e].hide()},showOverlay:function(e){var t=this.getOverlay(e);t&&t.show()},showOverlays:function(){for(var e in this._jsPlumb.overlays)this._jsPlumb.overlays[e].show()},removeAllOverlays:function(e){for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].cleanup&&this._jsPlumb.overlays[t].cleanup();this._jsPlumb.overlays={},this._jsPlumb.overlayPositions=null,this._jsPlumb.overlayPlacements={},e||this.repaint()},removeOverlay:function(e,t){var n=this._jsPlumb.overlays[e];n&&(n.setVisible(!1),!t&&n.cleanup&&n.cleanup(),delete this._jsPlumb.overlays[e],this._jsPlumb.overlayPositions&&delete this._jsPlumb.overlayPositions[e],this._jsPlumb.overlayPlacements&&delete this._jsPlumb.overlayPlacements[e])},removeOverlays:function(){for(var e=0,t=arguments.length;e<t;e++)this.removeOverlay(arguments[e])},moveParent:function(e){if(this.bgCanvas&&(this.bgCanvas.parentNode.removeChild(this.bgCanvas),e.appendChild(this.bgCanvas)),this.canvas&&this.canvas.parentNode)for(var t in this.canvas.parentNode.removeChild(this.canvas),e.appendChild(this.canvas),this._jsPlumb.overlays)if(this._jsPlumb.overlays[t].isAppendedAtTopLevel){var n=this._jsPlumb.overlays[t].getElement();n.parentNode.removeChild(n),e.appendChild(n)}},getLabel:function(){var e=this.getOverlay(r);return null!=e?e.getLabel():null},getLabelOverlay:function(){return this.getOverlay(r)},setLabel:function(e){var t=this.getOverlay(r);if(t)e.constructor===String||e.constructor===Function?t.setLabel(e):(e.label&&t.setLabel(e.label),e.location&&t.setLocation(e.location));else{var n=e.constructor===String||e.constructor===Function?{label:e}:e;t=i(this,n),this._jsPlumb.overlays[r]=t}this._jsPlumb.instance.isSuspendDrawing()||this.repaint()},cleanup:function(e){for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].cleanup(e),this._jsPlumb.overlays[t].destroy(e);e&&(this._jsPlumb.overlays={},this._jsPlumb.overlayPositions=null)},setVisible:function(e){this[e?"showOverlays":"hideOverlays"]()},setAbsoluteOverlayPosition:function(e,t){this._jsPlumb.overlayPositions[e.id]=t},getAbsoluteOverlayPosition:function(e){return this._jsPlumb.overlayPositions?this._jsPlumb.overlayPositions[e.id]:null},_clazzManip:function(e,t,n){if(!n)for(var r in this._jsPlumb.overlays)this._jsPlumb.overlays[r][e+"Class"](t)},addClass:function(e,t){this._clazzManip("add",e,t)},removeClass:function(e,t){this._clazzManip("remove",e,t)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r=function(e,t,n){var r=!1;return{drag:function(){if(r)return r=!1,!0;if(t.element){var i=n.getUIPosition(arguments,n.getZoom());null!=i&&n.setPosition(t.element,i),n.repaint(t.element,i),e.paint({anchorPoint:e.anchor.getCurrentLocation({element:e})})}},stopDrag:function(){r=!0}}},i=function(e,t,n,r){var i=t.createElement("div",{position:"absolute"});t.appendElement(i);var o=t.getId(i);t.setPosition(i,n),i.style.width=r[0]+"px",i.style.height=r[1]+"px",t.manage(o,i,!0),e.id=o,e.element=i},o=function(e,n,r,i,o,a,s,l){var u=new t.FloatingAnchor({reference:n,referenceCanvas:i,jsPlumbInstance:a});return s({paintStyle:e,endpoint:r,anchor:u,source:o,scope:l})},a=["connectorStyle","connectorHoverStyle","connectorOverlays","connector","connectionType","connectorClass","connectorHoverClass"],s=function(e,t){var n=0;if(null!=t)for(var r=0;r<e.connections.length;r++)if(e.connections[r].sourceId===t||e.connections[r].targetId===t){n=r;break}return e.connections[n]};t.Endpoint=function(e){var l=e._jsPlumb,u=e.newConnection,c=e.newEndpoint;this.idPrefix="_jsplumb_e_",this.defaultLabelLocation=[.5,.5],this.defaultOverlayKeys=["Overlays","EndpointOverlays"],t.OverlayCapableJsPlumbUIComponent.apply(this,arguments),this.appendToDefaultType({connectionType:e.connectionType,maxConnections:null==e.maxConnections?this._jsPlumb.instance.Defaults.MaxConnections:e.maxConnections,paintStyle:e.endpointStyle||e.paintStyle||e.style||this._jsPlumb.instance.Defaults.EndpointStyle||t.Defaults.EndpointStyle,hoverPaintStyle:e.endpointHoverStyle||e.hoverPaintStyle||this._jsPlumb.instance.Defaults.EndpointHoverStyle||t.Defaults.EndpointHoverStyle,connectorStyle:e.connectorStyle,connectorHoverStyle:e.connectorHoverStyle,connectorClass:e.connectorClass,connectorHoverClass:e.connectorHoverClass,connectorOverlays:e.connectorOverlays,connector:e.connector,connectorTooltip:e.connectorTooltip}),this._jsPlumb.enabled=!(!1===e.enabled),this._jsPlumb.visible=!0,this.element=t.getElement(e.source),this._jsPlumb.uuid=e.uuid,this._jsPlumb.floatingEndpoint=null;var f=null;this._jsPlumb.uuid&&(e.endpointsByUUID[this._jsPlumb.uuid]=this),this.elementId=e.elementId,this.dragProxy=e.dragProxy,this._jsPlumb.connectionCost=e.connectionCost,this._jsPlumb.connectionsDirected=e.connectionsDirected,this._jsPlumb.currentAnchorClass="",this._jsPlumb.events={};var h=!0===e.deleteOnEmpty;this.setDeleteOnEmpty=function(e){h=e};var d=function(){var e=l.endpointAnchorClassPrefix+"-"+this._jsPlumb.currentAnchorClass;this._jsPlumb.currentAnchorClass=this.anchor.getCssClass();var n=l.endpointAnchorClassPrefix+(this._jsPlumb.currentAnchorClass?"-"+this._jsPlumb.currentAnchorClass:"");this.removeClass(e),this.addClass(n),t.updateClasses(this.element,n,e)}.bind(this);this.prepareAnchor=function(e){var t=this._jsPlumb.instance.makeAnchor(e,this.elementId,l);return t.bind("anchorChanged",function(e){this.fire("anchorChanged",{endpoint:this,anchor:e}),d()}.bind(this)),t},this.setPreparedAnchor=function(e,t){return this._jsPlumb.instance.continuousAnchorFactory.clear(this.elementId),this.anchor=e,d(),t||this._jsPlumb.instance.repaint(this.elementId),this},this.setAnchor=function(e,t){var n=this.prepareAnchor(e);return this.setPreparedAnchor(n,t),this};var p=function(e){if(this.connections.length>0)for(var t=0;t<this.connections.length;t++)this.connections[t].setHover(e,!1);else this.setHover(e)}.bind(this);this.bind("mouseover",(function(){p(!0)})),this.bind("mouseout",(function(){p(!1)})),e._transient||this._jsPlumb.instance.router.addEndpoint(this,this.elementId),this.prepareEndpoint=function(r,i){var o,a=function(e,n){var r=l.getRenderMode();if(t.Endpoints[r][e])return new t.Endpoints[r][e](n);if(!l.Defaults.DoNotThrowErrors)throw{msg:"jsPlumb: unknown endpoint type '"+e+"'"}},s={_jsPlumb:this._jsPlumb.instance,cssClass:e.cssClass,container:e.container,tooltip:e.tooltip,connectorTooltip:e.connectorTooltip,endpoint:this};return n.isString(r)?o=a(r,s):n.isArray(r)?(s=n.merge(r[1],s),o=a(r[0],s)):o=r.clone(),o.clone=function(){return n.isString(r)?a(r,s):n.isArray(r)?(s=n.merge(r[1],s),a(r[0],s)):void 0}.bind(this),o.typeId=i,o},this.setEndpoint=function(e,t){var n=this.prepareEndpoint(e);this.setPreparedEndpoint(n,!0)},this.setPreparedEndpoint=function(e,t){null!=this.endpoint&&(this.endpoint.cleanup(),this.endpoint.destroy()),this.endpoint=e,this.type=this.endpoint.type,this.canvas=this.endpoint.canvas},t.extend(this,e,a),this.isSource=e.isSource||!1,this.isTemporarySource=e.isTemporarySource||!1,this.isTarget=e.isTarget||!1,this.connections=e.connections||[],this.connectorPointerEvents=e["connector-pointer-events"],this.scope=e.scope||l.getDefaultScope(),this.timestamp=null,this.reattachConnections=e.reattach||l.Defaults.ReattachConnections,this.connectionsDetachable=l.Defaults.ConnectionsDetachable,!1!==e.connectionsDetachable&&!1!==e.detachable||(this.connectionsDetachable=!1),this.dragAllowedWhenFull=!1!==e.dragAllowedWhenFull,e.onMaxConnections&&this.bind("maxConnections",e.onMaxConnections),this.addConnection=function(e){this.connections.push(e),this[(this.connections.length>0?"add":"remove")+"Class"](l.endpointConnectedClass),this[(this.isFull()?"add":"remove")+"Class"](l.endpointFullClass)},this.detachFromConnection=function(e,t,n){t=null==t?this.connections.indexOf(e):t,t>=0&&(this.connections.splice(t,1),this[(this.connections.length>0?"add":"remove")+"Class"](l.endpointConnectedClass),this[(this.isFull()?"add":"remove")+"Class"](l.endpointFullClass)),!n&&h&&0===this.connections.length&&l.deleteObject({endpoint:this,fireEvent:!1,deleteAttachedObjects:!0!==n})},this.deleteEveryConnection=function(e){for(var t=this.connections.length,n=0;n<t;n++)l.deleteConnection(this.connections[0],e)},this.detachFrom=function(e,t,n){for(var r=[],i=0;i<this.connections.length;i++)this.connections[i].endpoints[1]!==e&&this.connections[i].endpoints[0]!==e||r.push(this.connections[i]);for(var o=0,a=r.length;o<a;o++)l.deleteConnection(r[0]);return this},this.getElement=function(){return this.element},this.setElement=function(r){var i=this._jsPlumb.instance.getId(r),o=this.elementId;return n.removeWithFunction(e.endpointsByElement[this.elementId],function(e){return e.id===this.id}.bind(this)),this.element=t.getElement(r),this.elementId=l.getId(this.element),l.router.rehomeEndpoint(this,o,this.element),l.dragManager.endpointAdded(this.element),n.addToList(e.endpointsByElement,i,this),this},this.makeInPlaceCopy=function(){var t=this.anchor.getCurrentLocation({element:this}),n=this.anchor.getOrientation(this),r=this.anchor.getCssClass(),i={bind:function(){},compute:function(){return[t[0],t[1]]},getCurrentLocation:function(){return[t[0],t[1]]},getOrientation:function(){return n},getCssClass:function(){return r}};return c({dropOptions:e.dropOptions,anchor:i,source:this.element,paintStyle:this.getPaintStyle(),endpoint:e.hideOnDrag?"Blank":this.endpoint,_transient:!0,scope:this.scope,reference:this})},this.connectorSelector=function(){return this.connections[0]},this.setStyle=this.setPaintStyle,this.paint=function(e){e=e||{};var t=e.timestamp,n=!(!1===e.recalc);if(!t||this.timestamp!==t){var r=l.updateOffset({elId:this.elementId,timestamp:t}),i=e.offset?e.offset.o:r.o;if(null!=i){var o=e.anchorPoint,a=e.connectorPaintStyle;if(null==o){var u=e.dimensions||r.s,c={xy:[i.left,i.top],wh:u,element:this,timestamp:t};if(n&&this.anchor.isDynamic&&this.connections.length>0){var f=s(this,e.elementWithPrecedence),h=f.endpoints[0]===this?1:0,d=0===h?f.sourceId:f.targetId,p=l.getCachedData(d),g=p.o,v=p.s;c.index=0===h?1:0,c.connection=f,c.txy=[g.left,g.top],c.twh=v,c.tElement=f.endpoints[h],c.tRotation=l.getRotation(d)}else this.connections.length>0&&(c.connection=this.connections[0]);c.rotation=l.getRotation(this.elementId),o=this.anchor.compute(c)}for(var y in this.endpoint.compute(o,this.anchor.getOrientation(this),this._jsPlumb.paintStyleInUse,a||this.paintStyleInUse),this.endpoint.paint(this._jsPlumb.paintStyleInUse,this.anchor),this.timestamp=t,this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(y)){var m=this._jsPlumb.overlays[y];m.isVisible()&&(this._jsPlumb.overlayPlacements[y]=m.draw(this.endpoint,this._jsPlumb.paintStyleInUse),m.paint(this._jsPlumb.overlayPlacements[y]))}}}},this.getTypeDescriptor=function(){return"endpoint"},this.isVisible=function(){return this._jsPlumb.visible},this.repaint=this.paint;var g=!1;this.initDraggable=function(){if(!g&&t.isDragSupported(this.element)){var a,s={id:null,element:null},h=null,d=!1,p=null,v=r(this,s,l),y=e.dragOptions||{},m={},b=t.dragEvents.start,_=t.dragEvents.stop,x=t.dragEvents.drag,w=t.dragEvents.beforeStart,S=function(e){a=e.e.payload||{}},k=function(n){h=this.connectorSelector();var r=!0;this.isEnabled()||(r=!1),null!=h||this.isSource||this.isTemporarySource||(r=!1),!this.isSource||!this.isFull()||null!=h&&this.dragAllowedWhenFull||(r=!1),null==h||h.isDetachable(this)||(this.isFull()?r=!1:h=null);var f=l.checkCondition(null==h?"beforeDrag":"beforeStartDetach",{endpoint:this,source:this.element,sourceId:this.elementId,connection:h});if(!1===f?r=!1:"object"===typeof f?t.extend(f,a||{}):f=a||{},!1===r)return l.stopDrag&&l.stopDrag(this.canvas),v.stopDrag(),!1;for(var g=0;g<this.connections.length;g++)this.connections[g].setHover(!1);this.addClass("endpointDrag"),l.setConnectionBeingDragged(!0),h&&!this.isFull()&&this.isSource&&(h=null),l.updateOffset({elId:this.elementId});var y=this._jsPlumb.instance.getOffset(this.canvas),m=this.canvas,b=this._jsPlumb.instance.getSize(this.canvas);i(s,l,y,b),l.setAttributes(this.canvas,{dragId:s.id,elId:this.elementId});var _=this.dragProxy||this.endpoint;if(null==this.dragProxy&&null!=this.connectionType){var x=this._jsPlumb.instance.deriveEndpointAndAnchorSpec(this.connectionType);x.endpoints[1]&&(_=x.endpoints[1])}var w=this._jsPlumb.instance.makeAnchor("Center");w.isFloating=!0,this._jsPlumb.floatingEndpoint=o(this.getPaintStyle(),w,_,this.canvas,s.element,l,c,this.scope);var S=this._jsPlumb.floatingEndpoint.anchor;if(null==h)this.setHover(!1,!1),h=u({sourceEndpoint:this,targetEndpoint:this._jsPlumb.floatingEndpoint,source:this.element,target:s.element,anchors:[this.anchor,this._jsPlumb.floatingEndpoint.anchor],paintStyle:e.connectorStyle,hoverPaintStyle:e.connectorHoverStyle,connector:e.connector,overlays:e.connectorOverlays,type:this.connectionType,cssClass:this.connectorClass,hoverClass:this.connectorHoverClass,scope:e.scope,data:f}),h.pending=!0,h.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.anchor=S,l.fire("connectionDrag",h),l.router.newConnection(h);else{d=!0,h.setHover(!1);var k=h.endpoints[0].id===this.id?0:1;this.detachFromConnection(h,null,!0);var E=l.getDragScope(m);l.setAttribute(this.canvas,"originalScope",E),l.fire("connectionDrag",h),0===k?(p=[h.source,h.sourceId,m,E],l.router.sourceOrTargetChanged(h.endpoints[k].elementId,s.id,h,s.element,0)):(p=[h.target,h.targetId,m,E],l.router.sourceOrTargetChanged(h.endpoints[k].elementId,s.id,h,s.element,1)),h.suspendedEndpoint=h.endpoints[k],h.suspendedElement=h.endpoints[k].getElement(),h.suspendedElementId=h.endpoints[k].elementId,h.suspendedElementType=0===k?"source":"target",h.suspendedEndpoint.setHover(!1),this._jsPlumb.floatingEndpoint.referenceEndpoint=h.suspendedEndpoint,h.endpoints[k]=this._jsPlumb.floatingEndpoint,h.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.addClass(l.draggingClass)}l.registerFloatingConnection(s,h,this._jsPlumb.floatingEndpoint),l.currentlyDragging=!0}.bind(this),E=function(){if(l.setConnectionBeingDragged(!1),h&&null!=h.endpoints){var e=l.getDropEvent(arguments),t=l.getFloatingAnchorIndex(h);if(h.endpoints[0===t?1:0].anchor.locked=!1,h.removeClass(l.draggingClass),this._jsPlumb&&(h.deleteConnectionNow||h.endpoints[t]===this._jsPlumb.floatingEndpoint)&&d&&h.suspendedEndpoint){0===t?(h.floatingElement=h.source,h.floatingId=h.sourceId,h.floatingEndpoint=h.endpoints[0],h.floatingIndex=0,h.source=p[0],h.sourceId=p[1]):(h.floatingElement=h.target,h.floatingId=h.targetId,h.floatingEndpoint=h.endpoints[1],h.floatingIndex=1,h.target=p[0],h.targetId=p[1]);var n=this._jsPlumb.floatingEndpoint;l.setDragScope(p[2],p[3]),h.endpoints[t]=h.suspendedEndpoint,h.isReattach()||h._forceReattach||h._forceDetach||!l.deleteConnection(h,{originalEvent:e})?(h.setHover(!1),h._forceDetach=null,h._forceReattach=null,this._jsPlumb.floatingEndpoint.detachFromConnection(h),h.suspendedEndpoint.addConnection(h),1===t?l.router.sourceOrTargetChanged(h.floatingId,h.targetId,h,h.target,t):l.router.sourceOrTargetChanged(h.floatingId,h.sourceId,h,h.source,t),l.repaint(p[1])):l.deleteObject({endpoint:n})}this.deleteAfterDragStop?l.deleteObject({endpoint:this}):this._jsPlumb&&this.paint({recalc:!1}),l.fire("connectionDragStop",h,e),h.pending&&l.fire("connectionAborted",h,e),l.currentlyDragging=!1,h.suspendedElement=null,h.suspendedEndpoint=null,h=null}s&&s.element&&l.remove(s.element,!1,!1),f&&l.deleteObject({endpoint:f}),this._jsPlumb&&(this.canvas.style.visibility="visible",this.anchor.locked=!1,this._jsPlumb.floatingEndpoint=null)}.bind(this);y=t.extend(m,y),y.scope=this.scope||y.scope,y[w]=n.wrap(y[w],S,!1),y[b]=n.wrap(y[b],k,!1),y[x]=n.wrap(y[x],v.drag),y[_]=n.wrap(y[_],E),y.multipleDrop=!1,y.canDrag=function(){return this.isSource||this.isTemporarySource||this.connections.length>0&&!1!==this.connectionsDetachable}.bind(this),l.initDraggable(this.canvas,y,"internal"),this.canvas._jsPlumbRelatedElement=this.element,g=!0}};var v=e.endpoint||this._jsPlumb.instance.Defaults.Endpoint||t.Defaults.Endpoint;this.setEndpoint(v,!0);var y=e.anchor?e.anchor:e.anchors?e.anchors:l.Defaults.Anchor||"Top";this.setAnchor(y,!0);var m=["default",e.type||""].join(" ");this.addType(m,e.data,!0),this.canvas=this.endpoint.canvas,this.canvas._jsPlumb=this,this.initDraggable();var b=function(r,i,o,a){if(t.isDropSupported(this.element)){var s=e.dropOptions||l.Defaults.DropOptions||t.Defaults.DropOptions;s=t.extend({},s),s.scope=s.scope||this.scope;var u=t.dragEvents.drop,c=t.dragEvents.over,f=t.dragEvents.out,h=this,d=l.EndpointDropHandler({getEndpoint:function(){return h},jsPlumb:l,enabled:function(){return null==o||o.isEnabled()},isFull:function(){return o.isFull()},element:this.element,elementId:this.elementId,isSource:this.isSource,isTarget:this.isTarget,addClass:function(e){h.addClass(e)},removeClass:function(e){h.removeClass(e)},isDropAllowed:function(){return h.isDropAllowed.apply(h,arguments)},reference:a,isRedrop:function(e,t){return e.suspendedEndpoint&&t.reference&&e.suspendedEndpoint.id===t.reference.id}});s[u]=n.wrap(s[u],d,!0),s[c]=n.wrap(s[c],function(){var e=t.getDragObject(arguments),n=l.getAttribute(t.getElement(e),"dragId"),r=l.getFloatingConnectionFor(n);if(null!=r){var i=l.getFloatingAnchorIndex(r),o=this.isTarget&&0!==i||r.suspendedEndpoint&&this.referenceEndpoint&&this.referenceEndpoint.id===r.suspendedEndpoint.id;if(o){var a=l.checkCondition("checkDropAllowed",{sourceEndpoint:r.endpoints[i],targetEndpoint:this,connection:r});this[(a?"add":"remove")+"Class"](l.endpointDropAllowedClass),this[(a?"remove":"add")+"Class"](l.endpointDropForbiddenClass),r.endpoints[i].anchor.over(this.anchor,this)}}}.bind(this)),s[f]=n.wrap(s[f],function(){var e=t.getDragObject(arguments),n=null==e?null:l.getAttribute(t.getElement(e),"dragId"),r=n?l.getFloatingConnectionFor(n):null;if(null!=r){var i=l.getFloatingAnchorIndex(r),o=this.isTarget&&0!==i||r.suspendedEndpoint&&this.referenceEndpoint&&this.referenceEndpoint.id===r.suspendedEndpoint.id;o&&(this.removeClass(l.endpointDropAllowedClass),this.removeClass(l.endpointDropForbiddenClass),r.endpoints[i].anchor.out())}}.bind(this)),l.initDroppable(r,s,"internal",i)}}.bind(this);return this.anchor.isFloating||b(this.canvas,!(e._transient||this.anchor.isFloating),this,e.reference),this},n.extend(t.Endpoint,t.OverlayCapableJsPlumbUIComponent,{setVisible:function(e,t,n){if(this._jsPlumb.visible=e,this.canvas&&(this.canvas.style.display=e?"block":"none"),this[e?"showOverlays":"hideOverlays"](),!t)for(var r=0;r<this.connections.length;r++)if(this.connections[r].setVisible(e),!n){var i=this===this.connections[r].endpoints[0]?1:0;1===this.connections[r].endpoints[i].connections.length&&this.connections[r].endpoints[i].setVisible(e,!0,!0)}},getAttachedElements:function(){return this.connections},applyType:function(e,n){this.setPaintStyle(e.endpointStyle||e.paintStyle,n),this.setHoverPaintStyle(e.endpointHoverStyle||e.hoverPaintStyle,n),null!=e.maxConnections&&(this._jsPlumb.maxConnections=e.maxConnections),e.scope&&(this.scope=e.scope),t.extend(this,e,a),null!=e.cssClass&&this.canvas&&this._jsPlumb.instance.addClass(this.canvas,e.cssClass),t.OverlayCapableJsPlumbUIComponent.applyType(this,e)},isEnabled:function(){return this._jsPlumb.enabled},setEnabled:function(e){this._jsPlumb.enabled=e},cleanup:function(){var e=this._jsPlumb.instance.endpointAnchorClassPrefix+(this._jsPlumb.currentAnchorClass?"-"+this._jsPlumb.currentAnchorClass:"");t.removeClass(this.element,e),this.anchor=null,this.endpoint.cleanup(!0),this.endpoint.destroy(),this.endpoint=null,this._jsPlumb.instance.destroyDraggable(this.canvas,"internal"),this._jsPlumb.instance.destroyDroppable(this.canvas,"internal")},setHover:function(e){this.endpoint&&this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged()&&this.endpoint.setHover(e)},isFull:function(){return 0===this._jsPlumb.maxConnections||!(this.isFloating()||this._jsPlumb.maxConnections<0||this.connections.length<this._jsPlumb.maxConnections)},isFloating:function(){return null!=this.anchor&&this.anchor.isFloating},isConnectedTo:function(e){var t=!1;if(e)for(var n=0;n<this.connections.length;n++)if(this.connections[n].endpoints[1]===e||this.connections[n].endpoints[0]===e){t=!0;break}return t},getConnectionCost:function(){return this._jsPlumb.connectionCost},setConnectionCost:function(e){this._jsPlumb.connectionCost=e},areConnectionsDirected:function(){return this._jsPlumb.connectionsDirected},setConnectionsDirected:function(e){this._jsPlumb.connectionsDirected=e},setElementId:function(e){this.elementId=e,this.anchor.elementId=e},setReferenceElement:function(e){this.element=t.getElement(e)},setDragAllowedWhenFull:function(e){this.dragAllowedWhenFull=e},equals:function(e){return this.anchor.equals(e.anchor)},getUuid:function(){return this._jsPlumb.uuid},computeAnchor:function(e){return this.anchor.compute(e)}}),e.jsPlumbInstance.prototype.EndpointDropHandler=function(e){return function(t){var r=e.jsPlumb;e.removeClass(r.endpointDropAllowedClass),e.removeClass(r.endpointDropForbiddenClass);var i=r.getDropEvent(arguments),o=r.getDragObject(arguments),a=r.getAttribute(o,"dragId"),s=(r.getAttribute(o,"elId"),r.getAttribute(o,"originalScope")),l=r.getFloatingConnectionFor(a);if(null!=l){var u=null!=l.suspendedEndpoint;if(!u||null!=l.suspendedEndpoint._jsPlumb){var c=e.getEndpoint(l);if(null!=c){if(e.isRedrop(l,e))return l._forceReattach=!0,l.setHover(!1),void(e.maybeCleanup&&e.maybeCleanup(c));var f=r.getFloatingAnchorIndex(l);if(0===f&&!e.isSource||1===f&&!e.isTarget)e.maybeCleanup&&e.maybeCleanup(c);else{e.onDrop&&e.onDrop(l),s&&r.setDragScope(o,s);var h=e.isFull(t);if(h&&c.fire("maxConnections",{endpoint:this,connection:l,maxConnections:c._jsPlumb.maxConnections},i),!h&&e.enabled()){var d=!0;0===f?(l.floatingElement=l.source,l.floatingId=l.sourceId,l.floatingEndpoint=l.endpoints[0],l.floatingIndex=0,l.source=e.element,l.sourceId=r.getId(e.element)):(l.floatingElement=l.target,l.floatingId=l.targetId,l.floatingEndpoint=l.endpoints[1],l.floatingIndex=1,l.target=e.element,l.targetId=r.getId(e.element)),u&&l.suspendedEndpoint.id!==c.id&&(l.isDetachAllowed(l)&&l.endpoints[f].isDetachAllowed(l)&&l.suspendedEndpoint.isDetachAllowed(l)&&r.checkCondition("beforeDetach",l)||(d=!1));var p=function(t){l.endpoints[f].detachFromConnection(l),l.suspendedEndpoint&&l.suspendedEndpoint.detachFromConnection(l),l.endpoints[f]=c,c.addConnection(l);var o=c.getParameters();for(var a in o)l.setParameter(a,o[a]);if(u){var s=l.suspendedEndpoint.elementId;r.fireMoveEvent({index:f,originalSourceId:0===f?s:l.sourceId,newSourceId:0===f?c.elementId:l.sourceId,originalTargetId:1===f?s:l.targetId,newTargetId:1===f?c.elementId:l.targetId,originalSourceEndpoint:0===f?l.suspendedEndpoint:l.endpoints[0],newSourceEndpoint:0===f?c:l.endpoints[0],originalTargetEndpoint:1===f?l.suspendedEndpoint:l.endpoints[1],newTargetEndpoint:1===f?c:l.endpoints[1],connection:l},i)}else o.draggable&&r.initDraggable(this.element,e.dragOptions,"internal",r);if(1===f?r.router.sourceOrTargetChanged(l.floatingId,l.targetId,l,l.target,1):r.router.sourceOrTargetChanged(l.floatingId,l.sourceId,l,l.source,0),l.endpoints[0].finalEndpoint){var h=l.endpoints[0];h.detachFromConnection(l),l.endpoints[0]=l.endpoints[0].finalEndpoint,l.endpoints[0].addConnection(l)}n.isObject(t)&&l.mergeData(t),r.finaliseConnection(l,null,i,!1),l.setHover(!1),r.revalidate(l.endpoints[0].element)}.bind(this),g=function(){l.suspendedEndpoint&&(l.endpoints[f]=l.suspendedEndpoint,l.setHover(!1),l._forceDetach=!0,0===f?(l.source=l.suspendedEndpoint.element,l.sourceId=l.suspendedEndpoint.elementId):(l.target=l.suspendedEndpoint.element,l.targetId=l.suspendedEndpoint.elementId),l.suspendedEndpoint.addConnection(l),1===f?r.router.sourceOrTargetChanged(l.floatingId,l.targetId,l,l.target,1):r.router.sourceOrTargetChanged(l.floatingId,l.sourceId,l,l.source,0),r.repaint(l.sourceId),l._forceDetach=!1)};if(d=d&&e.isDropAllowed(l.sourceId,l.targetId,l.scope,l,c),d)return p(d),!0;g()}e.maybeCleanup&&e.maybeCleanup(c),r.currentlyDragging=!1}}}}}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r=function(e,r,i,o,a){if(t.Connectors[r]=t.Connectors[r]||{},null==t.Connectors[r][i]){if(null==t.Connectors[i]){if(e.Defaults.DoNotThrowErrors)return null;throw new TypeError("jsPlumb: unknown connector type '"+i+"'")}t.Connectors[r][i]=function(){t.Connectors[i].apply(this,arguments),t.ConnectorRenderers[r].apply(this,arguments)},n.extend(t.Connectors[r][i],[t.Connectors[i],t.ConnectorRenderers[r]])}return new t.Connectors[r][i](o,a)},i=function(e,t,n){return e?n.makeAnchor(e,t,n):null},o=function(e,t,r,i){null!=t&&(t._jsPlumbConnections=t._jsPlumbConnections||{},i?delete t._jsPlumbConnections[e.id]:t._jsPlumbConnections[e.id]=!0,n.isEmpty(t._jsPlumbConnections)?r.removeClass(t,r.connectedClass):r.addClass(t,r.connectedClass))};t.Connection=function(e){var r=e.newEndpoint;this.id=e.id,this.connector=null,this.idPrefix="_jsplumb_c_",this.defaultLabelLocation=.5,this.defaultOverlayKeys=["Overlays","ConnectionOverlays"],this.previousConnection=e.previousConnection,this.source=t.getElement(e.source),this.target=t.getElement(e.target),t.OverlayCapableJsPlumbUIComponent.apply(this,arguments),e.sourceEndpoint?(this.source=e.sourceEndpoint.getElement(),this.sourceId=e.sourceEndpoint.elementId):this.sourceId=this._jsPlumb.instance.getId(this.source),e.targetEndpoint?(this.target=e.targetEndpoint.getElement(),this.targetId=e.targetEndpoint.elementId):this.targetId=this._jsPlumb.instance.getId(this.target),this.scope=e.scope,this.endpoints=[],this.endpointStyles=[];var i=this._jsPlumb.instance;i.manage(this.sourceId,this.source),i.manage(this.targetId,this.target),this._jsPlumb.visible=!0,this._jsPlumb.params={cssClass:e.cssClass,container:e.container,"pointer-events":e["pointer-events"],editorParams:e.editorParams,overlays:e.overlays},this._jsPlumb.lastPaintedAt=null,this.bind("mouseover",function(){this.setHover(!0)}.bind(this)),this.bind("mouseout",function(){this.setHover(!1)}.bind(this)),this.makeEndpoint=function(t,n,o,a,s){return o=o||this._jsPlumb.instance.getId(n),this.prepareEndpoint(i,r,this,a,t?0:1,e,n,o,s)},e.type&&(e.endpoints=e.endpoints||this._jsPlumb.instance.deriveEndpointAndAnchorSpec(e.type).endpoints);var o=this.makeEndpoint(!0,this.source,this.sourceId,e.sourceEndpoint),a=this.makeEndpoint(!1,this.target,this.targetId,e.targetEndpoint);o&&n.addToList(e.endpointsByElement,this.sourceId,o),a&&n.addToList(e.endpointsByElement,this.targetId,a),this.scope||(this.scope=this.endpoints[0].scope),null!=e.deleteEndpointsOnEmpty&&(this.endpoints[0].setDeleteOnEmpty(e.deleteEndpointsOnEmpty),this.endpoints[1].setDeleteOnEmpty(e.deleteEndpointsOnEmpty));var s=i.Defaults.ConnectionsDetachable;!1===e.detachable&&(s=!1),!1===this.endpoints[0].connectionsDetachable&&(s=!1),!1===this.endpoints[1].connectionsDetachable&&(s=!1);var l=e.reattach||this.endpoints[0].reattachConnections||this.endpoints[1].reattachConnections||i.Defaults.ReattachConnections;this.appendToDefaultType({detachable:s,reattach:l,paintStyle:this.endpoints[0].connectorStyle||this.endpoints[1].connectorStyle||e.paintStyle||i.Defaults.PaintStyle||t.Defaults.PaintStyle,hoverPaintStyle:this.endpoints[0].connectorHoverStyle||this.endpoints[1].connectorHoverStyle||e.hoverPaintStyle||i.Defaults.HoverPaintStyle||t.Defaults.HoverPaintStyle});var u=i.getSuspendedAt();if(!i.isSuspendDrawing()){var c=i.getCachedData(this.sourceId),f=c.o,h=c.s,d=i.getCachedData(this.targetId),p=d.o,g=d.s,v=u||jsPlumbUtil.uuid(),y=this.endpoints[0].anchor.compute({xy:[f.left,f.top],wh:h,element:this.endpoints[0],elementId:this.endpoints[0].elementId,txy:[p.left,p.top],twh:g,tElement:this.endpoints[1],timestamp:v,rotation:i.getRotation(this.endpoints[0].elementId)});this.endpoints[0].paint({anchorLoc:y,timestamp:v}),y=this.endpoints[1].anchor.compute({xy:[p.left,p.top],wh:g,element:this.endpoints[1],elementId:this.endpoints[1].elementId,txy:[f.left,f.top],twh:h,tElement:this.endpoints[0],timestamp:v,rotation:i.getRotation(this.endpoints[1].elementId)}),this.endpoints[1].paint({anchorLoc:y,timestamp:v})}this.getTypeDescriptor=function(){return"connection"},this.getAttachedElements=function(){return this.endpoints},this.isDetachable=function(e){return!1!==this._jsPlumb.detachable&&(null!=e?!0===e.connectionsDetachable:!0===this._jsPlumb.detachable)},this.setDetachable=function(e){this._jsPlumb.detachable=!0===e},this.isReattach=function(){return!0===this._jsPlumb.reattach||!0===this.endpoints[0].reattachConnections||!0===this.endpoints[1].reattachConnections},this.setReattach=function(e){this._jsPlumb.reattach=!0===e},this._jsPlumb.cost=e.cost||this.endpoints[0].getConnectionCost(),this._jsPlumb.directed=e.directed,null==e.directed&&(this._jsPlumb.directed=this.endpoints[0].areConnectionsDirected());var m=t.extend({},this.endpoints[1].getParameters());t.extend(m,this.endpoints[0].getParameters()),t.extend(m,this.getParameters()),this.setParameters(m),this.setConnector(this.endpoints[0].connector||this.endpoints[1].connector||e.connector||i.Defaults.Connector||t.Defaults.Connector,!0);var b=null!=e.data&&n.isObject(e.data)?e.data:{};this.getData=function(){return b},this.setData=function(e){b=e||{}},this.mergeData=function(e){b=t.extend(b,e)};var _=["default",this.endpoints[0].connectionType,this.endpoints[1].connectionType,e.type].join(" ");/[^\s]/.test(_)&&this.addType(_,e.data,!0),this.updateConnectedClass()},n.extend(t.Connection,t.OverlayCapableJsPlumbUIComponent,{applyType:function(e,n,r){var i=null;null!=e.connector&&(i=this.getCachedTypeItem("connector",r.connector),null==i&&(i=this.prepareConnector(e.connector,r.connector),this.cacheTypeItem("connector",i,r.connector)),this.setPreparedConnector(i)),null!=e.detachable&&this.setDetachable(e.detachable),null!=e.reattach&&this.setReattach(e.reattach),e.scope&&(this.scope=e.scope),null!=e.cssClass&&this.canvas&&this._jsPlumb.instance.addClass(this.canvas,e.cssClass);var o=null;e.anchor?(o=this.getCachedTypeItem("anchors",r.anchor),null==o&&(o=[this._jsPlumb.instance.makeAnchor(e.anchor),this._jsPlumb.instance.makeAnchor(e.anchor)],this.cacheTypeItem("anchors",o,r.anchor))):e.anchors&&(o=this.getCachedTypeItem("anchors",r.anchors),null==o&&(o=[this._jsPlumb.instance.makeAnchor(e.anchors[0]),this._jsPlumb.instance.makeAnchor(e.anchors[1])],this.cacheTypeItem("anchors",o,r.anchors))),null!=o&&(this.endpoints[0].anchor=o[0],this.endpoints[1].anchor=o[1],this.endpoints[1].anchor.isDynamic&&this._jsPlumb.instance.repaint(this.endpoints[1].elementId)),t.OverlayCapableJsPlumbUIComponent.applyType(this,e)},addClass:function(e,t){t&&(this.endpoints[0].addClass(e),this.endpoints[1].addClass(e),this.suspendedEndpoint&&this.suspendedEndpoint.addClass(e)),this.connector&&this.connector.addClass(e)},removeClass:function(e,t){t&&(this.endpoints[0].removeClass(e),this.endpoints[1].removeClass(e),this.suspendedEndpoint&&this.suspendedEndpoint.removeClass(e)),this.connector&&this.connector.removeClass(e)},isVisible:function(){return this._jsPlumb.visible},setVisible:function(e){this._jsPlumb.visible=e,this.connector&&this.connector.setVisible(e),this.repaint()},cleanup:function(){this.updateConnectedClass(!0),this.endpoints=null,this.source=null,this.target=null,null!=this.connector&&(this.connector.cleanup(!0),this.connector.destroy(!0)),this.connector=null},updateConnectedClass:function(e){this._jsPlumb&&(o(this,this.source,this._jsPlumb.instance,e),o(this,this.target,this._jsPlumb.instance,e))},setHover:function(t){this.connector&&this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged()&&(this.connector.setHover(t),e.jsPlumb[t?"addClass":"removeClass"](this.source,this._jsPlumb.instance.hoverSourceClass),e.jsPlumb[t?"addClass":"removeClass"](this.target,this._jsPlumb.instance.hoverTargetClass))},getUuids:function(){return[this.endpoints[0].getUuid(),this.endpoints[1].getUuid()]},getCost:function(){return this._jsPlumb?this._jsPlumb.cost:-1/0},setCost:function(e){this._jsPlumb.cost=e},isDirected:function(){return this._jsPlumb.directed},getConnector:function(){return this.connector},prepareConnector:function(e,t){var i,o={_jsPlumb:this._jsPlumb.instance,cssClass:this._jsPlumb.params.cssClass,container:this._jsPlumb.params.container,"pointer-events":this._jsPlumb.params["pointer-events"]},a=this._jsPlumb.instance.getRenderMode();return n.isString(e)?i=r(this._jsPlumb.instance,a,e,o,this):n.isArray(e)&&(i=1===e.length?r(this._jsPlumb.instance,a,e[0],o,this):r(this._jsPlumb.instance,a,e[0],n.merge(e[1],o),this)),null!=t&&(i.typeId=t),i},setPreparedConnector:function(e,t,n,r){if(this.connector!==e){var i,o="";if(null!=this.connector&&(i=this.connector,o=i.getClass(),this.connector.cleanup(),this.connector.destroy()),this.connector=e,r&&this.cacheTypeItem("connector",e,r),this.canvas=this.connector.canvas,this.bgCanvas=this.connector.bgCanvas,this.connector.reattach(this._jsPlumb.instance),this.addClass(o),this.canvas&&(this.canvas._jsPlumb=this),this.bgCanvas&&(this.bgCanvas._jsPlumb=this),null!=i)for(var a=this.getOverlays(),s=0;s<a.length;s++)a[s].transfer&&a[s].transfer(this.connector);n||this.setListenerComponent(this.connector),t||this.repaint()}},setConnector:function(e,t,n,r){var i=this.prepareConnector(e,r);this.setPreparedConnector(i,t,n,r)},paint:function(e){if(!this._jsPlumb.instance.isSuspendDrawing()&&this._jsPlumb.visible){e=e||{};var t=e.timestamp,n=!1,r=n?this.sourceId:this.targetId,i=n?this.targetId:this.sourceId,o=n?0:1,a=n?1:0;if(null==t||t!==this._jsPlumb.lastPaintedAt){var s=this._jsPlumb.instance.updateOffset({elId:i}).o,l=this._jsPlumb.instance.updateOffset({elId:r}).o,u=this.endpoints[a],c=this.endpoints[o],f=u.anchor.getCurrentLocation({xy:[s.left,s.top],wh:[s.width,s.height],element:u,timestamp:t,rotation:this._jsPlumb.instance.getRotation(this.sourceId)}),h=c.anchor.getCurrentLocation({xy:[l.left,l.top],wh:[l.width,l.height],element:c,timestamp:t,rotation:this._jsPlumb.instance.getRotation(this.targetId)});this.connector.resetBounds(),this.connector.compute({sourcePos:f,targetPos:h,sourceOrientation:u.anchor.getOrientation(u),targetOrientation:c.anchor.getOrientation(c),sourceEndpoint:this.endpoints[a],targetEndpoint:this.endpoints[o],"stroke-width":this._jsPlumb.paintStyleInUse.strokeWidth,sourceInfo:s,targetInfo:l});var d={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(var p in this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(p)){var g=this._jsPlumb.overlays[p];g.isVisible()&&(this._jsPlumb.overlayPlacements[p]=g.draw(this.connector,this._jsPlumb.paintStyleInUse,this.getAbsoluteOverlayPosition(g)),d.minX=Math.min(d.minX,this._jsPlumb.overlayPlacements[p].minX),d.maxX=Math.max(d.maxX,this._jsPlumb.overlayPlacements[p].maxX),d.minY=Math.min(d.minY,this._jsPlumb.overlayPlacements[p].minY),d.maxY=Math.max(d.maxY,this._jsPlumb.overlayPlacements[p].maxY))}var v=parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth||1)/2,y=parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth||0),m={xmin:Math.min(this.connector.bounds.minX-(v+y),d.minX),ymin:Math.min(this.connector.bounds.minY-(v+y),d.minY),xmax:Math.max(this.connector.bounds.maxX+(v+y),d.maxX),ymax:Math.max(this.connector.bounds.maxY+(v+y),d.maxY)};for(var b in this.connector.paintExtents=m,this.connector.paint(this._jsPlumb.paintStyleInUse,null,m),this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(b)){var _=this._jsPlumb.overlays[b];_.isVisible()&&_.paint(this._jsPlumb.overlayPlacements[b],m)}}this._jsPlumb.lastPaintedAt=t}},repaint:function(e){var t=jsPlumb.extend(e||{},{});t.elId=this.sourceId,this.paint(t)},prepareEndpoint:function(e,n,r,o,a,s,l,u,c){var f;if(o)r.endpoints[a]=o,o.addConnection(r);else{s.endpoints||(s.endpoints=[null,null]);var h=c||s.endpoints[a]||s.endpoint||e.Defaults.Endpoints[a]||t.Defaults.Endpoints[a]||e.Defaults.Endpoint||t.Defaults.Endpoint;s.endpointStyles||(s.endpointStyles=[null,null]),s.endpointHoverStyles||(s.endpointHoverStyles=[null,null]);var d=s.endpointStyles[a]||s.endpointStyle||e.Defaults.EndpointStyles[a]||t.Defaults.EndpointStyles[a]||e.Defaults.EndpointStyle||t.Defaults.EndpointStyle;null==d.fill&&null!=s.paintStyle&&(d.fill=s.paintStyle.stroke),null==d.outlineStroke&&null!=s.paintStyle&&(d.outlineStroke=s.paintStyle.outlineStroke),null==d.outlineWidth&&null!=s.paintStyle&&(d.outlineWidth=s.paintStyle.outlineWidth);var p=s.endpointHoverStyles[a]||s.endpointHoverStyle||e.Defaults.EndpointHoverStyles[a]||t.Defaults.EndpointHoverStyles[a]||e.Defaults.EndpointHoverStyle||t.Defaults.EndpointHoverStyle;null!=s.hoverPaintStyle&&(null==p&&(p={}),null==p.fill&&(p.fill=s.hoverPaintStyle.stroke));var g=s.anchors?s.anchors[a]:s.anchor?s.anchor:i(e.Defaults.Anchors[a],u,e)||i(t.Defaults.Anchors[a],u,e)||i(e.Defaults.Anchor,u,e)||i(t.Defaults.Anchor,u,e),v=s.uuids?s.uuids[a]:null;f=n({paintStyle:d,hoverPaintStyle:p,endpoint:h,connections:[r],uuid:v,anchor:g,source:l,scope:s.scope,reattach:s.reattach||e.Defaults.ReattachConnections,detachable:s.detachable||e.Defaults.ConnectionsDetachable}),null==o&&f.setDeleteOnEmpty(!0),r.endpoints[a]=f,!1===s.drawEndpoints&&f.setVisible(!1,!0,!0)}return f},replaceEndpoint:function(e,t){var n=this.endpoints[e],r=n.elementId,i=this._jsPlumb.instance.getEndpoints(r),o=i.indexOf(n),a=this.makeEndpoint(0===e,n.element,r,null,t);this.endpoints[e]=a,i.splice(o,1,a),this._jsPlumb.instance.deleteObject({endpoint:n,deleteAttachedObjects:!1}),this._jsPlumb.instance.fire("endpointReplaced",{previous:n,current:a}),this._jsPlumb.instance.router.sourceOrTargetChanged(this.endpoints[1].elementId,this.endpoints[1].elementId,this,this.endpoints[1].element,1)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumbUtil,n=e.jsPlumb;n.AnchorManager=function(e){var r={},i={},o={},a={},s=this,l={},u=e.jsPlumbInstance,c={},f=function(e,t,n,r,i,o,a,s){for(var l=[],u=t[i?0:1]/(r.length+1),c=0;c<r.length;c++){var f=(c+1)*u,h=o*t[i?1:0];a&&(f=t[i?0:1]-f);var d=i?f:h,p=n.left+d,g=d/t[0],v=i?h:f,y=n.top+v,m=v/t[1];if(0!==s){var b=jsPlumbUtil.rotatePoint([p,y],[n.centerx,n.centery],s);p=b[0],y=b[1]}l.push([p,y,g,m,r[c][1],r[c][2]])}return l},h=function(e,t){return t[0][0]-e[0][0]},d=function(e,t){var n=e[0][0]<0?-Math.PI-e[0][0]:Math.PI-e[0][0],r=t[0][0]<0?-Math.PI-t[0][0]:Math.PI-t[0][0];return n-r},p={top:d,right:h,bottom:h,left:d},g=function(e,t){return e.sort(t)},v=function(e,t){var n=u.getCachedData(e),r=n.s,a=n.o,s=function(t,n,r,a,s,l,c){if(a.length>0)for(var h=g(a,p[t]),d="right"===t||"top"===t,v=u.getRotation(e),y=f(t,n,r,h,s,l,d,v),m=function(e,t){i[e.id]=[t[0],t[1],t[2],t[3]],o[e.id]=c},b=0;b<y.length;b++){var _=y[b][4],x=_.endpoints[0].elementId===e,w=_.endpoints[1].elementId===e;x&&m(_.endpoints[0],y[b]),w&&m(_.endpoints[1],y[b])}};s("bottom",r,a,t.bottom,!0,1,[0,1]),s("top",r,a,t.top,!0,0,[0,-1]),s("left",r,a,t.left,!1,0,[-1,0]),s("right",r,a,t.right,!1,1,[1,0])};this.reset=function(){r={},a={},l={}},this.addFloatingConnection=function(e,t){c[e]=t},this.newConnection=function(e){var r=e.sourceId,i=e.targetId,o=e.endpoints,s=!0,l=function(l,u,c,f,h){r===i&&c.isContinuous&&(e._jsPlumb.instance.removeElement(o[1].canvas),s=!1),t.addToList(a,f,[h,u,c.constructor===n.DynamicAnchor])};l(0,o[0],o[0].anchor,i,e),s&&l(1,o[1],o[1].anchor,r,e)};var y=function(e){(function(e,n){if(e){var r=function(e){return e[4]===n};t.removeWithFunction(e.top,r),t.removeWithFunction(e.left,r),t.removeWithFunction(e.bottom,r),t.removeWithFunction(e.right,r)}})(l[e.elementId],e.id)};this.connectionDetached=function(e,n){var r=e.connection||e,i=e.sourceId,o=e.targetId,l=r.endpoints,u=function(e,n,r,i,o){t.removeWithFunction(a[i],(function(e){return e[0].id===o.id}))};u(1,l[1],l[1].anchor,i,r),u(0,l[0],l[0].anchor,o,r),r.floatingId&&(u(r.floatingIndex,r.floatingEndpoint,r.floatingEndpoint.anchor,r.floatingId,r),y(r.floatingEndpoint)),y(r.endpoints[0]),y(r.endpoints[1]),n||(s.redraw(r.sourceId),r.targetId!==r.sourceId&&s.redraw(r.targetId))},this.addEndpoint=function(e,n){t.addToList(r,n,e)},this.changeId=function(e,t){a[t]=a[e],r[t]=r[e],delete a[e],delete r[e]},this.getConnectionsFor=function(e){return a[e]||[]},this.getEndpointsFor=function(e){return r[e]||[]},this.deleteEndpoint=function(e){t.removeWithFunction(r[e.elementId],(function(t){return t.id===e.id})),y(e)},this.elementRemoved=function(e){delete c[e],delete r[e],r[e]=[]};var m=function(n,r,i,o,a,s,l,u,c,f,h,d){var p,g,v=-1,y=-1,m=o.endpoints[l],b=m.id,_=[1,0][l],x=[[r,i],o,a,s,b],w=n[c],S=m._continuousAnchorEdge?n[m._continuousAnchorEdge]:null;if(S){var k=t.findWithFunction(S,(function(e){return e[4]===b}));if(-1!==k)for(S.splice(k,1),p=0;p<S.length;p++)g=S[p][1],t.addWithFunction(h,g,(function(e){return e.id===g.id})),t.addWithFunction(d,S[p][1].endpoints[l],(function(e){return e.id===g.endpoints[l].id})),t.addWithFunction(d,S[p][1].endpoints[_],(function(e){return e.id===g.endpoints[_].id}))}for(p=0;p<w.length;p++)g=w[p][1],1===e.idx&&w[p][3]===s&&-1===y&&(y=p),t.addWithFunction(h,g,(function(e){return e.id===g.id})),t.addWithFunction(d,w[p][1].endpoints[l],(function(e){return e.id===g.endpoints[l].id})),t.addWithFunction(d,w[p][1].endpoints[_],(function(e){return e.id===g.endpoints[_].id}));if(-1!==v)w[v]=x;else{var E=u?-1!==y?y:0:w.length;w.splice(E,0,x)}m._continuousAnchorEdge=c};this.sourceOrTargetChanged=function(e,r,i,o,s){if(0===s){if(e!==r){i.sourceId=r,i.source=o,t.removeWithFunction(a[e],(function(e){return e[0].id===i.id}));var l=t.findWithFunction(a[i.targetId],(function(e){return e[0].id===i.id}));l>-1&&(a[i.targetId][l][0]=i,a[i.targetId][l][1]=i.endpoints[0],a[i.targetId][l][2]=i.endpoints[0].anchor.constructor===n.DynamicAnchor),t.addToList(a,r,[i,i.endpoints[1],i.endpoints[1].anchor.constructor===n.DynamicAnchor]),i.endpoints[1].anchor.isContinuous&&(i.source===i.target?i._jsPlumb.instance.removeElement(i.endpoints[1].canvas):null==i.endpoints[1].canvas.parentNode&&i._jsPlumb.instance.appendElement(i.endpoints[1].canvas)),i.updateConnectedClass()}}else if(1===s){var u=i.endpoints[0].elementId;i.target=o,i.targetId=r;var c=t.findWithFunction(a[u],(function(e){return e[0].id===i.id})),f=t.findWithFunction(a[e],(function(e){return e[0].id===i.id}));-1!==c&&(a[u][c][0]=i,a[u][c][1]=i.endpoints[1],a[u][c][2]=i.endpoints[1].anchor.constructor===n.DynamicAnchor),f>-1&&(a[e].splice(f,1),t.addToList(a,r,[i,i.endpoints[0],i.endpoints[0].anchor.constructor===n.DynamicAnchor])),i.updateConnectedClass()}},this.rehomeEndpoint=function(e,t,n){var i=r[t]||[],o=u.getId(n);if(o!==t){var a=i.indexOf(e);if(a>-1){var l=i.splice(a,1)[0];s.add(l,o)}}for(var c=0;c<e.connections.length;c++)e.connections[c].sourceId===t?s.sourceOrTargetChanged(t,e.elementId,e.connections[c],e.element,0):e.connections[c].targetId===t&&s.sourceOrTargetChanged(t,e.elementId,e.connections[c],e.element,1)},this.redraw=function(e,i,o,s,f,h){var d=[],p=[],g=[];if(!u.isSuspendDrawing()){var y=r[e]||[],b=a[e]||[];o=o||jsPlumbUtil.uuid(),s=s||{left:0,top:0},i&&(i={left:i.left+s.left,top:i.top+s.top});for(var _=u.updateOffset({elId:e,offset:i,recalc:!1,timestamp:o}),x={},w=0;w<b.length;w++){var S=b[w][0],k=S.sourceId,E=S.targetId,O=S.endpoints[0].anchor.isContinuous,C=S.endpoints[1].anchor.isContinuous;if(O||C){var A=k+"_"+E,T=x[A],P=S.sourceId===e?1:0,M=u.getRotation(E),D=u.getRotation(k);O&&!l[k]&&(l[k]={top:[],right:[],bottom:[],left:[]}),C&&!l[E]&&(l[E]={top:[],right:[],bottom:[],left:[]}),e!==E&&u.updateOffset({elId:E,timestamp:o}),e!==k&&u.updateOffset({elId:k,timestamp:o});var I=u.getCachedData(E),L=u.getCachedData(k);E===k&&(O||C)?(m(l[k],-Math.PI/2,0,S,!1,E,0,!1,"top",k,d,p),m(l[E],-Math.PI/2,0,S,!1,k,1,!1,"top",E,d,p)):(T||(T=this.calculateOrientation(k,E,L.o,I.o,S.endpoints[0].anchor,S.endpoints[1].anchor,S,D,M),x[A]=T),O&&m(l[k],T.theta,0,S,!1,E,0,!1,T.a[0],k,d,p),C&&m(l[E],T.theta2,-1,S,!0,k,1,!0,T.a[1],E,d,p)),O&&t.addWithFunction(g,k,(function(e){return e===k})),C&&t.addWithFunction(g,E,(function(e){return e===E})),t.addWithFunction(d,S,(function(e){return e.id===S.id})),(O&&0===P||C&&1===P)&&t.addWithFunction(p,S.endpoints[P],(function(e){return e.id===S.endpoints[P].id}))}}for(w=0;w<y.length;w++)0===y[w].connections.length&&y[w].anchor.isContinuous&&(l[e]||(l[e]={top:[],right:[],bottom:[],left:[]}),m(l[e],-Math.PI/2,0,{endpoints:[y[w],y[w]],paint:function(){}},!1,e,0,!1,y[w].anchor.getDefaultFace(),e,d,p),t.addWithFunction(g,e,(function(t){return t===e})));for(w=0;w<g.length;w++)v(g[w],l[g[w]]);for(w=0;w<y.length;w++)y[w].paint({timestamp:o,offset:_,dimensions:_.s,recalc:!0!==h});for(w=0;w<p.length;w++){var R=u.getCachedData(p[w].elementId);p[w].paint({timestamp:null,offset:R,dimensions:R.s})}for(w=0;w<b.length;w++){var j=b[w][1];if(j.anchor.constructor===n.DynamicAnchor){j.paint({elementWithPrecedence:e,timestamp:o}),t.addWithFunction(d,b[w][0],(function(e){return e.id===b[w][0].id}));for(var N=0;N<j.connections.length;N++)j.connections[N]!==b[w][0]&&t.addWithFunction(d,j.connections[N],(function(e){return e.id===j.connections[N].id}))}else t.addWithFunction(d,b[w][0],(function(e){return e.id===b[w][0].id}))}var B=c[e];for(B&&B.paint({timestamp:o,recalc:!1,elId:e}),w=0;w<d.length;w++)d[w].paint({elId:e,timestamp:null,recalc:!1,clearEdits:f})}return{c:d,e:p}};var b=function(e){t.EventGenerator.apply(this),this.type="Continuous",this.isDynamic=!0,this.isContinuous=!0;for(var n=e.faces||["top","right","bottom","left"],r=!(!1===e.clockwise),a={},s={top:"bottom",right:"left",left:"right",bottom:"top"},l={top:"right",right:"bottom",left:"top",bottom:"left"},u={top:"left",right:"top",left:"bottom",bottom:"right"},c=r?l:u,f=r?u:l,h=e.cssClass||"",d=null,p=null,g=["left","right"],v=["top","bottom"],y=null,m=0;m<n.length;m++)a[n[m]]=!0;this.getDefaultFace=function(){return 0===n.length?"top":n[0]},this.isRelocatable=function(){return!0},this.isSnapOnRelocate=function(){return!0},this.verifyEdge=function(e){return a[e]?e:a[s[e]]?s[e]:a[c[e]]?c[e]:a[f[e]]?f[e]:e},this.isEdgeSupported=function(e){return null==y?null==p?!0===a[e]:p===e:-1!==y.indexOf(e)},this.setCurrentFace=function(e,t){d=e,t&&null!=p&&(p=d)},this.getCurrentFace=function(){return d},this.getSupportedFaces=function(){var e=[];for(var t in a)a[t]&&e.push(t);return e},this.lock=function(){p=d},this.unlock=function(){p=null},this.isLocked=function(){return null!=p},this.lockCurrentAxis=function(){null!=d&&(y="left"===d||"right"===d?g:v)},this.unlockCurrentAxis=function(){y=null},this.compute=function(e){return i[e.element.id]||[0,0]},this.getCurrentLocation=function(e){return i[e.element.id]||[0,0]},this.getOrientation=function(e){return o[e.id]||[0,0]},this.getCssClass=function(){return h}};u.continuousAnchorFactory={get:function(e){return new b(e)},clear:function(e){delete i[e]}}},n.AnchorManager.prototype.calculateOrientation=function(e,t,n,r,i,o,a,s,l){var u={HORIZONTAL:"horizontal",VERTICAL:"vertical",DIAGONAL:"diagonal",IDENTITY:"identity"},c=["left","top","right","bottom"];if(e===t)return{orientation:u.IDENTITY,a:["top","top"]};var f=Math.atan2(r.centery-n.centery,r.centerx-n.centerx),h=Math.atan2(n.centery-r.centery,n.centerx-r.centerx),d=[],p={};(function(e,t){for(var n=0;n<e.length;n++)if(p[e[n]]={left:[t[n][0].left,t[n][0].centery],right:[t[n][0].right,t[n][0].centery],top:[t[n][0].centerx,t[n][0].top],bottom:[t[n][0].centerx,t[n][0].bottom]},0!==t[n][1])for(var r in p[e[n]])p[e[n]][r]=jsPlumbUtil.rotatePoint(p[e[n]][r],[t[n][0].centerx,t[n][0].centery],t[n][1])})(["source","target"],[[n,s],[r,l]]);for(var g=0;g<c.length;g++)for(var v=0;v<c.length;v++)d.push({source:c[g],target:c[v],dist:Biltong.lineLength(p.source[c[g]],p.target[c[v]])});d.sort((function(e,t){return e.dist<t.dist?-1:e.dist>t.dist?1:0}));for(var y=d[0].source,m=d[0].target,b=0;b<d.length;b++)if(y=i.isContinuous&&i.locked?i.getCurrentFace():!i.isContinuous||i.isEdgeSupported(d[b].source)?d[b].source:null,m=o.isContinuous&&o.locked?o.getCurrentFace():!o.isContinuous||o.isEdgeSupported(d[b].target)?d[b].target:null,null!=y&&null!=m)break;return i.isContinuous&&i.setCurrentFace(y),o.isContinuous&&o.setCurrentFace(m),{a:[y,m],theta:f,theta2:h}},n.Anchor=function(e){this.x=e.x||0,this.y=e.y||0,this.elementId=e.elementId,this.cssClass=e.cssClass||"",this.orientation=e.orientation||[0,0],this.lastReturnValue=null,this.offsets=e.offsets||[0,0],this.timestamp=null,this._unrotatedOrientation=[this.orientation[0],this.orientation[1]],this.relocatable=!1!==e.relocatable,this.snapOnRelocate=!1!==e.snapOnRelocate,this.locked=!1,t.EventGenerator.apply(this),this.compute=function(e){var t=e.xy,n=e.wh,r=e.timestamp;if(r&&r===this.timestamp)return this.lastReturnValue;var i=[t[0]+this.x*n[0]+this.offsets[0],t[1]+this.y*n[1]+this.offsets[1],this.x,this.y],o=e.rotation;if(null!=o&&0!==o){var a=jsPlumbUtil.rotatePoint(i,[t[0]+n[0]/2,t[1]+n[1]/2],o);this.orientation[0]=Math.round(this._unrotatedOrientation[0]*a[2]-this._unrotatedOrientation[1]*a[3]),this.orientation[1]=Math.round(this._unrotatedOrientation[1]*a[2]+this._unrotatedOrientation[0]*a[3]),this.lastReturnValue=[a[0],a[1],this.x,this.y]}else this.orientation[0]=this._unrotatedOrientation[0],this.orientation[1]=this._unrotatedOrientation[1],this.lastReturnValue=i;return this.timestamp=r,this.lastReturnValue},this.getCurrentLocation=function(e){return e=e||{},null==this.lastReturnValue||null!=e.timestamp&&this.timestamp!==e.timestamp?this.compute(e):this.lastReturnValue},this.setPosition=function(e,t,n,r,i){this.locked&&!i||(this.x=e,this.y=t,this.orientation=[n,r],this.lastReturnValue=null)}},t.extend(n.Anchor,t.EventGenerator,{equals:function(e){if(!e)return!1;var t=e.getOrientation(),n=this.getOrientation();return this.x===e.x&&this.y===e.y&&this.offsets[0]===e.offsets[0]&&this.offsets[1]===e.offsets[1]&&n[0]===t[0]&&n[1]===t[1]},getOrientation:function(){return this.orientation},getCssClass:function(){return this.cssClass}}),n.FloatingAnchor=function(e){n.Anchor.apply(this,arguments);var t=e.reference,r=e.referenceCanvas,i=n.getSize(r),o=0,a=0,s=null,l=null;this.orientation=null,this.x=0,this.y=0,this.isFloating=!0,this.compute=function(e){var t=e.xy,n=[t[0]+i[0]/2,t[1]+i[1]/2];return l=n,n},this.getOrientation=function(e){if(s)return s;var n=t.getOrientation(e);return[Math.abs(n[0])*o*-1,Math.abs(n[1])*a*-1]},this.over=function(e,t){s=e.getOrientation(t)},this.out=function(){s=null},this.getCurrentLocation=function(e){return null==l?this.compute(e):l}},t.extend(n.FloatingAnchor,n.Anchor);var r=function(e,t,r){return e.constructor===n.Anchor?e:t.makeAnchor(e,r,t)};n.DynamicAnchor=function(e){n.Anchor.apply(this,arguments),this.isDynamic=!0,this.anchors=[],this.elementId=e.elementId,this.jsPlumbInstance=e.jsPlumbInstance;for(var t=0;t<e.anchors.length;t++)this.anchors[t]=r(e.anchors[t],this.jsPlumbInstance,this.elementId);this.getAnchors=function(){return this.anchors};var i=this.anchors.length>0?this.anchors[0]:null,o=i,a=function(e,t,n,r,i,o,a){var s=r[0]+e.x*i[0],l=r[1]+e.y*i[1],u=r[0]+i[0]/2,c=r[1]+i[1]/2;if(null!=o&&0!==o){var f=jsPlumbUtil.rotatePoint([s,l],[u,c],o);s=f[0],l=f[1]}return Math.sqrt(Math.pow(t-s,2)+Math.pow(n-l,2))+Math.sqrt(Math.pow(u-s,2)+Math.pow(c-l,2))},s=e.selector||function(e,t,n,r,i,o,s){for(var l=n[0]+r[0]/2,u=n[1]+r[1]/2,c=-1,f=1/0,h=0;h<s.length;h++){var d=a(s[h],l,u,e,t,i,o);d<f&&(c=h+0,f=d)}return s[c]};this.compute=function(e){var t=e.xy,n=e.wh,r=e.txy,a=e.twh,l=e.rotation,u=e.tRotation;return this.timestamp=e.timestamp,this.locked||null==r||null==a?(this.lastReturnValue=i.compute(e),this.lastReturnValue):(e.timestamp=null,i=s(t,n,r,a,l,u,this.anchors),this.x=i.x,this.y=i.y,i!==o&&this.fire("anchorChanged",i),o=i,this.lastReturnValue=i.compute(e),this.lastReturnValue)},this.getCurrentLocation=function(e){return null!=i?i.getCurrentLocation(e):null},this.getOrientation=function(e){return null!=i?i.getOrientation(e):[0,0]},this.over=function(e,t){null!=i&&i.over(e,t)},this.out=function(){null!=i&&i.out()},this.setAnchor=function(e){i=e},this.getCssClass=function(){return i&&i.getCssClass()||""},this.setAnchorCoordinates=function(e){var t=jsPlumbUtil.findWithFunction(this.anchors,(function(t){return t.x===e[0]&&t.y===e[1]}));return-1!==t&&(this.setAnchor(this.anchors[t]),!0)}},t.extend(n.DynamicAnchor,n.Anchor);var i=function(e,t,r,i,o,a){n.Anchors[o]=function(n){var s=n.jsPlumbInstance.makeAnchor([e,t,r,i,0,0],n.elementId,n.jsPlumbInstance);return s.type=o,a&&a(s,n),s}};i(.5,0,0,-1,"TopCenter"),i(.5,1,0,1,"BottomCenter"),i(0,.5,-1,0,"LeftMiddle"),i(1,.5,1,0,"RightMiddle"),i(.5,0,0,-1,"Top"),i(.5,1,0,1,"Bottom"),i(0,.5,-1,0,"Left"),i(1,.5,1,0,"Right"),i(.5,.5,0,0,"Center"),i(1,0,0,-1,"TopRight"),i(1,1,0,1,"BottomRight"),i(0,0,0,-1,"TopLeft"),i(0,1,0,1,"BottomLeft"),n.Defaults.DynamicAnchors=function(e){return e.jsPlumbInstance.makeAnchors(["TopCenter","RightMiddle","BottomCenter","LeftMiddle"],e.elementId,e.jsPlumbInstance)},n.Anchors.AutoDefault=function(e){var t=e.jsPlumbInstance.makeDynamicAnchor(n.Defaults.DynamicAnchors(e));return t.type="AutoDefault",t};var o=function(e,t){n.Anchors[e]=function(n){var r=n.jsPlumbInstance.makeAnchor(["Continuous",{faces:t}],n.elementId,n.jsPlumbInstance);return r.type=e,r}};n.Anchors.Continuous=function(e){return e.jsPlumbInstance.continuousAnchorFactory.get(e)},o("ContinuousLeft",["left"]),o("ContinuousTop",["top"]),o("ContinuousBottom",["bottom"]),o("ContinuousRight",["right"]),i(0,0,0,0,"Assign",(function(e,t){var n=t.position||"Fixed";e.positionFinder=n.constructor===String?t.jsPlumbInstance.AnchorPositionFinders[n]:n,e.constructorParams=t})),e.jsPlumbInstance.prototype.AnchorPositionFinders={Fixed:function(e,t,n){return[(e.left-t.left)/n[0],(e.top-t.top)/n[1]]},Grid:function(e,t,n,r){var i=e.left-t.left,o=e.top-t.top,a=n[0]/r.grid[0],s=n[1]/r.grid[1],l=Math.floor(i/a),u=Math.floor(o/s);return[(l*a+a/2)/n[0],(u*s+s/2)/n[1]]}},n.Anchors.Perimeter=function(e){e=e||{};var t=e.anchorCount||60,n=e.shape;if(!n)throw new Error("no shape supplied to Perimeter Anchor type");var r=function(){for(var e=.5,n=2*Math.PI/t,r=0,i=[],o=0;o<t;o++){var a=e+e*Math.sin(r),s=e+e*Math.cos(r);i.push([a,s,0,0]),r+=n}return i},i=function(e){for(var n=t/e.length,r=[],i=function(e,i,o,a,s,l,u){n=t*s;for(var c=(o-e)/n,f=(a-i)/n,h=0;h<n;h++)r.push([e+c*h,i+f*h,null==l?0:l,null==u?0:u])},o=0;o<e.length;o++)i.apply(null,e[o]);return r},o=function(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][0],e[n][1],e[n][2],e[n][3],1/e.length,e[n][4],e[n][5]]);return i(t)},a=function(){return o([[0,0,1,0,0,-1],[1,0,1,1,1,0],[1,1,0,1,0,1],[0,1,0,0,-1,0]])},s={Circle:r,Ellipse:r,Diamond:function(){return o([[.5,0,1,.5],[1,.5,.5,1],[.5,1,0,.5],[0,.5,.5,0]])},Rectangle:a,Square:a,Triangle:function(){return o([[.5,0,1,1],[1,1,0,1],[0,1,.5,0]])},Path:function(e){for(var t=e.points,n=[],r=0,o=0;o<t.length-1;o++){var a=Math.sqrt(Math.pow(t[o][2]-t[o][0])+Math.pow(t[o][3]-t[o][1]));r+=a,n.push([t[o][0],t[o][1],t[o+1][0],t[o+1][1],a])}for(var s=0;s<n.length;s++)n[s][4]=n[s][4]/r;return i(n)}},l=function(e,t){for(var n=[],r=t/180*Math.PI,i=0;i<e.length;i++){var o=e[i][0]-.5,a=e[i][1]-.5;n.push([o*Math.cos(r)-a*Math.sin(r)+.5,o*Math.sin(r)+a*Math.cos(r)+.5,e[i][2],e[i][3]])}return n};if(!s[n])throw new Error("Shape ["+n+"] is unknown by Perimeter Anchor type");var u=s[n](e);e.rotation&&(u=l(u,e.rotation));var c=e.jsPlumbInstance.makeDynamicAnchor(u);return c.type="Perimeter",c}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=(e.jsPlumbUtil,e.jsPlumb);t.DefaultRouter=function(e){this.jsPlumbInstance=e,this.anchorManager=new t.AnchorManager({jsPlumbInstance:e}),this.sourceOrTargetChanged=function(e,t,n,r,i){this.anchorManager.sourceOrTargetChanged(e,t,n,r,i)},this.reset=function(){this.anchorManager.reset()},this.changeId=function(e,t){this.anchorManager.changeId(e,t)},this.elementRemoved=function(e){this.anchorManager.elementRemoved(e)},this.newConnection=function(e){this.anchorManager.newConnection(e)},this.connectionDetached=function(e,t){this.anchorManager.connectionDetached(e,t)},this.redraw=function(e,t,n,r,i,o){return this.anchorManager.redraw(e,t,n,r,i,o)},this.deleteEndpoint=function(e){this.anchorManager.deleteEndpoint(e)},this.rehomeEndpoint=function(e,t,n){this.anchorManager.rehomeEndpoint(e,t,n)},this.addEndpoint=function(e,t){this.anchorManager.addEndpoint(e,t)}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r=e.Biltong;t.Segments={AbstractSegment:function(e){this.params=e,this.findClosestPointOnPath=function(e,t){return{d:1/0,x:null,y:null,l:null}},this.getBounds=function(){return{minX:Math.min(e.x1,e.x2),minY:Math.min(e.y1,e.y2),maxX:Math.max(e.x1,e.x2),maxY:Math.max(e.y1,e.y2)}},this.lineIntersection=function(e,t,n,r){return[]},this.boxIntersection=function(e,t,n,r){var i=[];return i.push.apply(i,this.lineIntersection(e,t,e+n,t)),i.push.apply(i,this.lineIntersection(e+n,t,e+n,t+r)),i.push.apply(i,this.lineIntersection(e+n,t+r,e,t+r)),i.push.apply(i,this.lineIntersection(e,t+r,e,t)),i},this.boundingBoxIntersection=function(e){return this.boxIntersection(e.x,e.y,e.w,e.y)}},Straight:function(e){t.Segments.AbstractSegment.apply(this,arguments);var n,i,o,a,s,l,u,c=function(){n=Math.sqrt(Math.pow(s-a,2)+Math.pow(u-l,2)),i=r.gradient({x:a,y:l},{x:s,y:u}),o=-1/i};this.type="Straight",this.getLength=function(){return n},this.getGradient=function(){return i},this.getCoordinates=function(){return{x1:a,y1:l,x2:s,y2:u}},this.setCoordinates=function(e){a=e.x1,l=e.y1,s=e.x2,u=e.y2,c()},this.setCoordinates({x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2}),this.getBounds=function(){return{minX:Math.min(a,s),minY:Math.min(l,u),maxX:Math.max(a,s),maxY:Math.max(l,u)}},this.pointOnPath=function(e,t){if(0!==e||t){if(1!==e||t){var i=t?e>0?e:n+e:e*n;return r.pointOnLine({x:a,y:l},{x:s,y:u},i)}return{x:s,y:u}}return{x:a,y:l}},this.gradientAtPoint=function(e){return i},this.pointAlongPathFrom=function(e,t,n){var i=this.pointOnPath(e,n),o=t<=0?{x:a,y:l}:{x:s,y:u};return t<=0&&Math.abs(t)>1&&(t*=-1),r.pointOnLine(i,o,t)};var f=function(e,t,n){return n>=Math.min(e,t)&&n<=Math.max(e,t)},h=function(e,t,n){return Math.abs(n-e)<Math.abs(n-t)?e:t};this.findClosestPointOnPath=function(e,t){var c={d:1/0,x:null,y:null,l:null,x1:a,x2:s,y1:l,y2:u};if(0===i)c.y=l,c.x=f(a,s,e)?e:h(a,s,e);else if(i===1/0||i===-1/0)c.x=a,c.y=f(l,u,t)?t:h(l,u,t);else{var d=l-i*a,p=t-o*e,g=(p-d)/(i-o),v=i*g+d;c.x=f(a,s,g)?g:h(a,s,g),c.y=f(l,u,v)?v:h(l,u,v)}var y=r.lineLength([c.x,c.y],[a,l]);return c.d=r.lineLength([e,t],[c.x,c.y]),c.l=y/n,c};var d=function(e,t,n){return n>t?t<=e&&e<=n:t>=e&&e>=n},p=d;this.lineIntersection=function(e,t,n,o){var c=Math.abs(r.gradient({x:e,y:t},{x:n,y:o})),f=Math.abs(i),h=f===1/0?a:l-f*a,d=[],g=c===1/0?e:t-c*e;if(c!==f)if(c===1/0&&0===f)p(e,a,s)&&p(l,t,o)&&(d=[e,l]);else if(0===c&&f===1/0)p(t,l,u)&&p(a,e,n)&&(d=[a,t]);else{var v,y;c===1/0?(v=e,p(v,a,s)&&(y=f*e+h,p(y,t,o)&&(d=[v,y]))):0===c?(y=t,p(y,l,u)&&(v=(t-h)/f,p(v,e,n)&&(d=[v,y]))):(v=(g-h)/(f-c),y=f*v+h,p(v,a,s)&&p(y,l,u)&&(d=[v,y]))}return d},this.boxIntersection=function(e,t,n,r){var i=[];return i.push.apply(i,this.lineIntersection(e,t,e+n,t)),i.push.apply(i,this.lineIntersection(e+n,t,e+n,t+r)),i.push.apply(i,this.lineIntersection(e+n,t+r,e,t+r)),i.push.apply(i,this.lineIntersection(e,t+r,e,t)),i},this.boundingBoxIntersection=function(e){return this.boxIntersection(e.x,e.y,e.w,e.h)}},Arc:function(e){t.Segments.AbstractSegment.apply(this,arguments);var n=function(t,n){return r.theta([e.cx,e.cy],[t,n])},i=function(e,t){if(e.anticlockwise){var n=e.startAngle<e.endAngle?e.startAngle+o:e.startAngle,r=Math.abs(n-e.endAngle);return n-r*t}var i=e.endAngle<e.startAngle?e.endAngle+o:e.endAngle,a=Math.abs(i-e.startAngle);return e.startAngle+a*t},o=2*Math.PI;this.radius=e.r,this.anticlockwise=e.ac,this.type="Arc",e.startAngle&&e.endAngle?(this.startAngle=e.startAngle,this.endAngle=e.endAngle,this.x1=e.cx+this.radius*Math.cos(e.startAngle),this.y1=e.cy+this.radius*Math.sin(e.startAngle),this.x2=e.cx+this.radius*Math.cos(e.endAngle),this.y2=e.cy+this.radius*Math.sin(e.endAngle)):(this.startAngle=n(e.x1,e.y1),this.endAngle=n(e.x2,e.y2),this.x1=e.x1,this.y1=e.y1,this.x2=e.x2,this.y2=e.y2),this.endAngle<0&&(this.endAngle+=o),this.startAngle<0&&(this.startAngle+=o);var a=this.endAngle<this.startAngle?this.endAngle+o:this.endAngle;this.sweep=Math.abs(a-this.startAngle),this.anticlockwise&&(this.sweep=o-this.sweep);var s=2*Math.PI*this.radius,l=this.sweep/o,u=s*l;this.getLength=function(){return u},this.getBounds=function(){return{minX:e.cx-e.r,maxX:e.cx+e.r,minY:e.cy-e.r,maxY:e.cy+e.r}};var c=1e-10,f=function(e){var t=Math.floor(e),n=Math.ceil(e);return e-t<c?t:n-e<c?n:e};this.pointOnPath=function(t,n){if(0===t)return{x:this.x1,y:this.y1,theta:this.startAngle};if(1===t)return{x:this.x2,y:this.y2,theta:this.endAngle};n&&(t/=u);var r=i(this,t),o=e.cx+e.r*Math.cos(r),a=e.cy+e.r*Math.sin(r);return{x:f(o),y:f(a),theta:r}},this.gradientAtPoint=function(t,n){var i=this.pointOnPath(t,n),o=r.normal([e.cx,e.cy],[i.x,i.y]);return this.anticlockwise||o!==1/0&&o!==-1/0||(o*=-1),o},this.pointAlongPathFrom=function(t,n,r){var i=this.pointOnPath(t,r),o=n/s*2*Math.PI,a=this.anticlockwise?-1:1,l=i.theta+a*o,u=e.cx+this.radius*Math.cos(l),c=e.cy+this.radius*Math.sin(l);return{x:u,y:c}}},Bezier:function(n){this.curve=[{x:n.x1,y:n.y1},{x:n.cp1x,y:n.cp1y},{x:n.cp2x,y:n.cp2y},{x:n.x2,y:n.y2}];var r=function(e){return e[0].x===e[1].x&&e[0].y===e[1].y},i=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o=function(e){var t={x:0,y:0};if(0===e)return this.curve[0];var n=this.curve.length-1;if(1===e)return this.curve[n];var r=this.curve,i=1-e;if(0===n)return this.curve[0];if(1===n)return{x:i*r[0].x+e*r[1].x,y:i*r[0].y+e*r[1].y};if(n<4){var o,a,s,l=i*i,u=e*e,c=0;return 2===n?(r=[r[0],r[1],r[2],t],o=l,a=i*e*2,s=u):3===n&&(o=l*i,a=l*e*3,s=i*u*3,c=e*u),{x:o*r[0].x+a*r[1].x+s*r[2].x+c*r[3].x,y:o*r[0].y+a*r[1].y+s*r[2].y+c*r[3].y}}return t}.bind(this),a=function(e){var t=[];e--;for(var n=0;n<=e;n++)t.push(o(n/e));return t},s=function(){r(this.curve)&&(this.length=0);var e=16,t=a(e);this.length=0;for(var n=0;n<e-1;n++){var o=t[n],s=t[n+1];this.length+=i(o,s)}}.bind(this);t.Segments.AbstractSegment.apply(this,arguments);this.bounds={minX:Math.min(n.x1,n.x2,n.cp1x,n.cp2x),minY:Math.min(n.y1,n.y2,n.cp1y,n.cp2y),maxX:Math.max(n.x1,n.x2,n.cp1x,n.cp2x),maxY:Math.max(n.y1,n.y2,n.cp1y,n.cp2y)},this.type="Bezier",s();var l=function(t,n,r){return r&&(n=e.jsBezier.locationAlongCurveFrom(t,n>0?0:1,n)),n};this.pointOnPath=function(t,n){return t=l(this.curve,t,n),e.jsBezier.pointOnCurve(this.curve,t)},this.gradientAtPoint=function(t,n){return t=l(this.curve,t,n),e.jsBezier.gradientAtPoint(this.curve,t)},this.pointAlongPathFrom=function(t,n,r){return t=l(this.curve,t,r),e.jsBezier.pointAlongCurveFrom(this.curve,t,n)},this.getLength=function(){return this.length},this.getBounds=function(){return this.bounds},this.findClosestPointOnPath=function(t,n){var r=e.jsBezier.nearestPointOnCurve({x:t,y:n},this.curve);return{d:Math.sqrt(Math.pow(r.point.x-t,2)+Math.pow(r.point.y-n,2)),x:r.point.x,y:r.point.y,l:1-r.location,s:this}},this.lineIntersection=function(t,n,r,i){return e.jsBezier.lineIntersection(t,n,r,i,this.curve)}}},t.SegmentRenderer={getPath:function(e,t){return{Straight:function(t){var n=e.getCoordinates();return(t?"M "+n.x1+" "+n.y1+" ":"")+"L "+n.x2+" "+n.y2},Bezier:function(t){var n=e.params;return(t?"M "+n.x2+" "+n.y2+" ":"")+"C "+n.cp2x+" "+n.cp2y+" "+n.cp1x+" "+n.cp1y+" "+n.x1+" "+n.y1},Arc:function(t){var n=e.params,r=e.sweep>Math.PI?1:0,i=e.anticlockwise?0:1;return(t?"M"+e.x1+" "+e.y1+" ":"")+"A "+e.radius+" "+n.r+" 0 "+r+","+i+" "+e.x2+" "+e.y2}}[e.type](t)}};var i=function(){this.resetBounds=function(){this.bounds={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}},this.resetBounds()};t.Connectors.AbstractConnector=function(e){i.apply(this,arguments);var o=[],a=0,s=[],l=[],u=e.stub||0,c=n.isArray(u)?u[0]:u,f=n.isArray(u)?u[1]:u,h=e.gap||0,d=n.isArray(h)?h[0]:h,p=n.isArray(h)?h[1]:h,g=null,v=null;this.getPathData=function(){for(var e="",n=0;n<o.length;n++)e+=t.SegmentRenderer.getPath(o[n],0===n),e+=" ";return e},this.findSegmentForPoint=function(e,t){for(var n={d:1/0,s:null,x:null,y:null,l:null},r=0;r<o.length;r++){var i=o[r].findClosestPointOnPath(e,t);i.d<n.d&&(n.d=i.d,n.l=i.l,n.x=i.x,n.y=i.y,n.s=o[r],n.x1=i.x1,n.x2=i.x2,n.y1=i.y1,n.y2=i.y2,n.index=r,n.connectorLocation=s[r][0]+i.l*(s[r][1]-s[r][0]))}return n},this.lineIntersection=function(e,t,n,r){for(var i=[],a=0;a<o.length;a++)i.push.apply(i,o[a].lineIntersection(e,t,n,r));return i},this.boxIntersection=function(e,t,n,r){for(var i=[],a=0;a<o.length;a++)i.push.apply(i,o[a].boxIntersection(e,t,n,r));return i},this.boundingBoxIntersection=function(e){for(var t=[],n=0;n<o.length;n++)t.push.apply(t,o[n].boundingBoxIntersection(e));return t};var y=function(){for(var e=0,t=0;t<o.length;t++){var n=o[t].getLength();l[t]=n/a,s[t]=[e,e+=n/a]}},m=function(e,t){var n,r,i;if(t&&(e=e>0?e/a:(a+e)/a),1===e)n=o.length-1,i=1;else if(0===e)i=0,n=0;else if(e>=.5){for(n=0,i=0,r=s.length-1;r>-1;r--)if(s[r][1]>=e&&s[r][0]<=e){n=r,i=(e-s[r][0])/l[r];break}}else for(n=s.length-1,i=1,r=0;r<s.length;r++)if(s[r][1]>=e){n=r,i=(e-s[r][0])/l[r];break}return{segment:o[n],proportion:i,index:n}},b=function(e,n,r){if(r.x1!==r.x2||r.y1!==r.y2){var i=new t.Segments[n](r);o.push(i),a+=i.getLength(),e.updateBounds(i)}},_=function(){a=o.length=s.length=l.length=0};this.setSegments=function(e){g=[],a=0;for(var t=0;t<e.length;t++)g.push(e[t]),a+=e[t].getLength()},this.getLength=function(){return a};var x=function(e){this.strokeWidth=e.strokeWidth;var t=r.quadrant(e.sourcePos,e.targetPos),n=e.targetPos[0]<e.sourcePos[0],i=e.targetPos[1]<e.sourcePos[1],o=e.strokeWidth||1,a=e.sourceEndpoint.anchor.getOrientation(e.sourceEndpoint),s=e.targetEndpoint.anchor.getOrientation(e.targetEndpoint),l=n?e.targetPos[0]:e.sourcePos[0],u=i?e.targetPos[1]:e.sourcePos[1],h=Math.abs(e.targetPos[0]-e.sourcePos[0]),g=Math.abs(e.targetPos[1]-e.sourcePos[1]);if(0===a[0]&&0===a[1]||0===s[0]&&0===s[1]){var v=h>g?0:1,y=[1,0][v];a=[],s=[],a[v]=e.sourcePos[v]>e.targetPos[v]?-1:1,s[v]=e.sourcePos[v]>e.targetPos[v]?1:-1,a[y]=0,s[y]=0}var m=n?h+d*a[0]:d*a[0],b=i?g+d*a[1]:d*a[1],_=n?p*s[0]:h+p*s[0],x=i?p*s[1]:g+p*s[1],w=a[0]*s[0]+a[1]*s[1],S={sx:m,sy:b,tx:_,ty:x,lw:o,xSpan:Math.abs(_-m),ySpan:Math.abs(x-b),mx:(m+_)/2,my:(b+x)/2,so:a,to:s,x:l,y:u,w:h,h:g,segment:t,startStubX:m+a[0]*c,startStubY:b+a[1]*c,endStubX:_+s[0]*f,endStubY:x+s[1]*f,isXGreaterThanStubTimes2:Math.abs(m-_)>c+f,isYGreaterThanStubTimes2:Math.abs(b-x)>c+f,opposite:-1===w,perpendicular:0===w,orthogonal:1===w,sourceAxis:0===a[0]?"y":"x",points:[l,u,h,g,m,b,_,x],stubs:[c,f]};return S.anchorOrientation=S.opposite?"opposite":S.orthogonal?"orthogonal":"perpendicular",S};this.getSegments=function(){return o},this.updateBounds=function(e){var t=e.getBounds();this.bounds.minX=Math.min(this.bounds.minX,t.minX),this.bounds.maxX=Math.max(this.bounds.maxX,t.maxX),this.bounds.minY=Math.min(this.bounds.minY,t.minY),this.bounds.maxY=Math.max(this.bounds.maxY,t.maxY)};return this.pointOnPath=function(e,t){var n=m(e,t);return n.segment&&n.segment.pointOnPath(n.proportion,!1)||[0,0]},this.gradientAtPoint=function(e,t){var n=m(e,t);return n.segment&&n.segment.gradientAtPoint(n.proportion,!1)||0},this.pointAlongPathFrom=function(e,t,n){var r=m(e,n);return r.segment&&r.segment.pointAlongPathFrom(r.proportion,t,!1)||[0,0]},this.compute=function(e){v=x.call(this,e),_(),this._compute(v,e),this.x=v.points[0],this.y=v.points[1],this.w=v.points[2],this.h=v.points[3],this.segment=v.segment,y()},{addSegment:b,prepareCompute:x,sourceStub:c,targetStub:f,maxStub:Math.max(c,f),sourceGap:d,targetGap:p,maxGap:Math.max(d,p)}},n.extend(t.Connectors.AbstractConnector,i),t.Endpoints.AbstractEndpoint=function(e){i.apply(this,arguments);var t=this.compute=function(e,t,n,r){var i=this._compute.apply(this,arguments);return this.x=i[0],this.y=i[1],this.w=i[2],this.h=i[3],this.bounds.minX=this.x,this.bounds.minY=this.y,this.bounds.maxX=this.x+this.w,this.bounds.maxY=this.y+this.h,i};return{compute:t,cssClass:e.cssClass}},n.extend(t.Endpoints.AbstractEndpoint,i),t.Endpoints.Dot=function(e){this.type="Dot";t.Endpoints.AbstractEndpoint.apply(this,arguments);e=e||{},this.radius=e.radius||10,this.defaultOffset=.5*this.radius,this.defaultInnerRadius=this.radius/3,this._compute=function(e,t,n,r){this.radius=n.radius||this.radius;var i=e[0]-this.radius,o=e[1]-this.radius,a=2*this.radius,s=2*this.radius;if(n.stroke){var l=n.strokeWidth||1;i-=l,o-=l,a+=2*l,s+=2*l}return[i,o,a,s,this.radius]}},n.extend(t.Endpoints.Dot,t.Endpoints.AbstractEndpoint),t.Endpoints.Rectangle=function(e){this.type="Rectangle";t.Endpoints.AbstractEndpoint.apply(this,arguments);e=e||{},this.width=e.width||20,this.height=e.height||20,this._compute=function(e,t,n,r){var i=n.width||this.width,o=n.height||this.height,a=e[0]-i/2,s=e[1]-o/2;return[a,s,i,o]}},n.extend(t.Endpoints.Rectangle,t.Endpoints.AbstractEndpoint);var o=function(e){t.jsPlumbUIComponent.apply(this,arguments),this._jsPlumb.displayElements=[]};n.extend(o,t.jsPlumbUIComponent,{getDisplayElements:function(){return this._jsPlumb.displayElements},appendDisplayElement:function(e){this._jsPlumb.displayElements.push(e)}}),t.Endpoints.Image=function(r){this.type="Image",o.apply(this,arguments),t.Endpoints.AbstractEndpoint.apply(this,arguments);var i=r.onload,a=r.src||r.url,s=r.cssClass?" "+r.cssClass:"";this._jsPlumb.img=new Image,this._jsPlumb.ready=!1,this._jsPlumb.initialized=!1,this._jsPlumb.deleted=!1,this._jsPlumb.widthToUse=r.width,this._jsPlumb.heightToUse=r.height,this._jsPlumb.endpoint=r.endpoint,this._jsPlumb.img.onload=function(){null!=this._jsPlumb&&(this._jsPlumb.ready=!0,this._jsPlumb.widthToUse=this._jsPlumb.widthToUse||this._jsPlumb.img.width,this._jsPlumb.heightToUse=this._jsPlumb.heightToUse||this._jsPlumb.img.height,i&&i(this))}.bind(this),this._jsPlumb.endpoint.setImage=function(e,t){var n=e.constructor===String?e:e.src;i=t,this._jsPlumb.img.src=n,null!=this.canvas&&this.canvas.setAttribute("src",this._jsPlumb.img.src)}.bind(this),this._jsPlumb.endpoint.setImage(a,i),this._compute=function(e,t,n,r){return this.anchorPoint=e,this._jsPlumb.ready?[e[0]-this._jsPlumb.widthToUse/2,e[1]-this._jsPlumb.heightToUse/2,this._jsPlumb.widthToUse,this._jsPlumb.heightToUse]:[0,0,0,0]},this.canvas=t.createElement("img",{position:"absolute",margin:0,padding:0,outline:0},this._jsPlumb.instance.endpointClass+s),this._jsPlumb.widthToUse&&this.canvas.setAttribute("width",this._jsPlumb.widthToUse),this._jsPlumb.heightToUse&&this.canvas.setAttribute("height",this._jsPlumb.heightToUse),this._jsPlumb.instance.appendElement(this.canvas),this.actuallyPaint=function(e,t,r){if(!this._jsPlumb.deleted){this._jsPlumb.initialized||(this.canvas.setAttribute("src",this._jsPlumb.img.src),this.appendDisplayElement(this.canvas),this._jsPlumb.initialized=!0);var i=this.anchorPoint[0]-this._jsPlumb.widthToUse/2,o=this.anchorPoint[1]-this._jsPlumb.heightToUse/2;n.sizeElement(this.canvas,i,o,this._jsPlumb.widthToUse,this._jsPlumb.heightToUse)}},this.paint=function(t,n){null!=this._jsPlumb&&(this._jsPlumb.ready?this.actuallyPaint(t,n):e.setTimeout(function(){this.paint(t,n)}.bind(this),200))}},n.extend(t.Endpoints.Image,[o,t.Endpoints.AbstractEndpoint],{cleanup:function(e){e&&(this._jsPlumb.deleted=!0,this.canvas&&this.canvas.parentNode.removeChild(this.canvas),this.canvas=null)}}),t.Endpoints.Blank=function(e){t.Endpoints.AbstractEndpoint.apply(this,arguments);this.type="Blank",o.apply(this,arguments),this._compute=function(e,t,n,r){return[e[0],e[1],10,0]};var r=e.cssClass?" "+e.cssClass:"";this.canvas=t.createElement("div",{display:"block",width:"1px",height:"1px",background:"transparent",position:"absolute"},this._jsPlumb.instance.endpointClass+r),this._jsPlumb.instance.appendElement(this.canvas),this.paint=function(e,t){n.sizeElement(this.canvas,this.x,this.y,this.w,this.h)}},n.extend(t.Endpoints.Blank,[t.Endpoints.AbstractEndpoint,o],{cleanup:function(){this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas)}}),t.Endpoints.Triangle=function(e){this.type="Triangle",t.Endpoints.AbstractEndpoint.apply(this,arguments);var n=this;e=e||{},e.width=e.width||55,e.height=e.height||55,this.width=e.width,this.height=e.height,this._compute=function(e,t,r,i){var o=r.width||n.width,a=r.height||n.height,s=e[0]-o/2,l=e[1]-a/2;return[s,l,o,a]}};var a=t.Overlays.AbstractOverlay=function(e){this.visible=!0,this.isAppendedAtTopLevel=!0,this.component=e.component,this.loc=null==e.location?.5:e.location,this.endpointLoc=null==e.endpointLocation?[.5,.5]:e.endpointLocation,this.visible=!1!==e.visible};a.prototype={cleanup:function(e){e&&(this.component=null,this.canvas=null,this.endpointLoc=null)},reattach:function(e,t){},setVisible:function(e){this.visible=e,this.component.repaint()},isVisible:function(){return this.visible},hide:function(){this.setVisible(!1)},show:function(){this.setVisible(!0)},incrementLocation:function(e){this.loc+=e,this.component.repaint()},setLocation:function(e){this.loc=e,this.component.repaint()},getLocation:function(){return this.loc},updateFrom:function(){}},t.Overlays.Arrow=function(e){this.type="Arrow",a.apply(this,arguments),this.isAppendedAtTopLevel=!1,e=e||{};var i=this;this.length=e.length||20,this.width=e.width||20,this.id=e.id,this.direction=(e.direction||1)<0?-1:1;var o=e.paintStyle||{"stroke-width":1},s=e.foldback||.623;this.computeMaxSize=function(){return 1.5*i.width},this.elementCreated=function(n,r){if(this.path=n,e.events)for(var i in e.events)t.on(n,i,e.events[i])},this.draw=function(e,t){var i,a,l,u,c;if(e.pointAlongPathFrom){if(n.isString(this.loc)||this.loc>1||this.loc<0){var f=parseInt(this.loc,10),h=this.loc<0?1:0;i=e.pointAlongPathFrom(h,f,!1),a=e.pointAlongPathFrom(h,f-this.direction*this.length/2,!1),l=r.pointOnLine(i,a,this.length)}else if(1===this.loc){if(i=e.pointOnPath(this.loc),a=e.pointAlongPathFrom(this.loc,-this.length),l=r.pointOnLine(i,a,this.length),-1===this.direction){var d=l;l=i,i=d}}else if(0===this.loc){if(l=e.pointOnPath(this.loc),a=e.pointAlongPathFrom(this.loc,this.length),i=r.pointOnLine(l,a,this.length),-1===this.direction){var p=l;l=i,i=p}}else i=e.pointAlongPathFrom(this.loc,this.direction*this.length/2),a=e.pointOnPath(this.loc),l=r.pointOnLine(i,a,this.length);u=r.perpendicularLineTo(i,l,this.width),c=r.pointOnLine(i,l,s*this.length);var g={hxy:i,tail:u,cxy:c},v=o.stroke||t.stroke,y=o.fill||t.stroke,m=o.strokeWidth||t.strokeWidth;return{component:e,d:g,"stroke-width":m,stroke:v,fill:y,minX:Math.min(i.x,u[0].x,u[1].x),maxX:Math.max(i.x,u[0].x,u[1].x),minY:Math.min(i.y,u[0].y,u[1].y),maxY:Math.max(i.y,u[0].y,u[1].y)}}return{component:e,minX:0,maxX:0,minY:0,maxY:0}}},n.extend(t.Overlays.Arrow,a,{updateFrom:function(e){this.length=e.length||this.length,this.width=e.width||this.width,this.direction=null!=e.direction?e.direction:this.direction,this.foldback=e.foldback||this.foldback},cleanup:function(){this.path&&this.path.parentNode&&this.path.parentNode.removeChild(this.path)}}),t.Overlays.PlainArrow=function(e){e=e||{};var n=t.extend(e,{foldback:1});t.Overlays.Arrow.call(this,n),this.type="PlainArrow"},n.extend(t.Overlays.PlainArrow,t.Overlays.Arrow),t.Overlays.Diamond=function(e){e=e||{};var n=e.length||40,r=t.extend(e,{length:n/2,foldback:2});t.Overlays.Arrow.call(this,r),this.type="Diamond"},n.extend(t.Overlays.Diamond,t.Overlays.Arrow);var s=function(e,t){return(null==e._jsPlumb.cachedDimensions||t)&&(e._jsPlumb.cachedDimensions=e.getDimensions()),e._jsPlumb.cachedDimensions},l=function(e){t.jsPlumbUIComponent.apply(this,arguments),a.apply(this,arguments);var r=this.fire;this.fire=function(){r.apply(this,arguments),this.component&&this.component.fire.apply(this.component,arguments)},this.detached=!1,this.id=e.id,this._jsPlumb.div=null,this._jsPlumb.initialised=!1,this._jsPlumb.component=e.component,this._jsPlumb.cachedDimensions=null,this._jsPlumb.create=e.create,this._jsPlumb.initiallyInvisible=!1===e.visible,this.getElement=function(){if(null==this._jsPlumb.div){var n=this._jsPlumb.div=t.getElement(this._jsPlumb.create(this._jsPlumb.component));n.style.position="absolute",jsPlumb.addClass(n,this._jsPlumb.instance.overlayClass+" "+(this.cssClass?this.cssClass:e.cssClass?e.cssClass:"")),this._jsPlumb.instance.appendElement(n),this._jsPlumb.instance.getId(n),this.canvas=n;var r="translate(-50%, -50%)";n.style.webkitTransform=r,n.style.mozTransform=r,n.style.msTransform=r,n.style.oTransform=r,n.style.transform=r,n._jsPlumb=this,!1===e.visible&&(n.style.display="none")}return this._jsPlumb.div},this.draw=function(e,t,r){var i=s(this);if(null!=i&&2===i.length){var o={x:0,y:0};if(r)o={x:r[0],y:r[1]};else if(e.pointOnPath){var a=this.loc,l=!1;(n.isString(this.loc)||this.loc<0||this.loc>1)&&(a=parseInt(this.loc,10),l=!0),o=e.pointOnPath(a,l)}else{var u=this.loc.constructor===Array?this.loc:this.endpointLoc;o={x:u[0]*e.w,y:u[1]*e.h}}var c=o.x-i[0]/2,f=o.y-i[1]/2;return{component:e,d:{minx:c,miny:f,td:i,cxy:o},minX:c,maxX:c+i[0],minY:f,maxY:f+i[1]}}return{minX:0,maxX:0,minY:0,maxY:0}}};n.extend(l,[t.jsPlumbUIComponent,a],{getDimensions:function(){return[1,1]},setVisible:function(e){this._jsPlumb.div&&(this._jsPlumb.div.style.display=e?"block":"none",e&&this._jsPlumb.initiallyInvisible&&(s(this,!0),this.component.repaint(),this._jsPlumb.initiallyInvisible=!1))},clearCachedDimensions:function(){this._jsPlumb.cachedDimensions=null},cleanup:function(e){e?null!=this._jsPlumb.div&&(this._jsPlumb.div._jsPlumb=null,this._jsPlumb.instance.removeElement(this._jsPlumb.div)):(this._jsPlumb&&this._jsPlumb.div&&this._jsPlumb.div.parentNode&&this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div),this.detached=!0)},reattach:function(e,t){null!=this._jsPlumb.div&&e.getContainer().appendChild(this._jsPlumb.div),this.detached=!1},computeMaxSize:function(){var e=s(this);return Math.max(e[0],e[1])},paint:function(e,t){this._jsPlumb.initialised||(this.getElement(),e.component.appendDisplayElement(this._jsPlumb.div),this._jsPlumb.initialised=!0,this.detached&&this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div)),this._jsPlumb.div.style.left=e.component.x+e.d.minx+"px",this._jsPlumb.div.style.top=e.component.y+e.d.miny+"px"}}),t.Overlays.Custom=function(e){this.type="Custom",l.apply(this,arguments)},n.extend(t.Overlays.Custom,l),t.Overlays.GuideLines=function(){var e=this;e.length=50,e.strokeWidth=5,this.type="GuideLines",a.apply(this,arguments),t.jsPlumbUIComponent.apply(this,arguments),this.draw=function(t,n){var i=t.pointAlongPathFrom(e.loc,e.length/2),o=t.pointOnPath(e.loc),a=r.pointOnLine(i,o,e.length),s=r.perpendicularLineTo(i,a,40),l=r.perpendicularLineTo(a,i,20);return{connector:t,head:i,tail:a,headLine:l,tailLine:s,minX:Math.min(i.x,a.x,l[0].x,l[1].x),minY:Math.min(i.y,a.y,l[0].y,l[1].y),maxX:Math.max(i.x,a.x,l[0].x,l[1].x),maxY:Math.max(i.y,a.y,l[0].y,l[1].y)}}},t.Overlays.Label=function(e){this.labelStyle=e.labelStyle;this.cssClass=null!=this.labelStyle?this.labelStyle.cssClass:null;var n=t.extend({create:function(){return t.createElement("div")}},e);if(t.Overlays.Custom.call(this,n),this.type="Label",this.label=e.label||"",this.labelText=null,this.labelStyle){var r=this.getElement();if(this.labelStyle.font=this.labelStyle.font||"12px sans-serif",r.style.font=this.labelStyle.font,r.style.color=this.labelStyle.color||"black",this.labelStyle.fill&&(r.style.background=this.labelStyle.fill),this.labelStyle.borderWidth>0){var i=this.labelStyle.borderStyle?this.labelStyle.borderStyle:"black";r.style.border=this.labelStyle.borderWidth+"px solid "+i}this.labelStyle.padding&&(r.style.padding=this.labelStyle.padding)}},n.extend(t.Overlays.Label,t.Overlays.Custom,{cleanup:function(e){e&&(this.div=null,this.label=null,this.labelText=null,this.cssClass=null,this.labelStyle=null)},getLabel:function(){return this.label},setLabel:function(e){this.label=e,this.labelText=null,this.clearCachedDimensions(),this.update(),this.component.repaint()},getDimensions:function(){return this.update(),l.prototype.getDimensions.apply(this,arguments)},update:function(){if("function"===typeof this.label){var e=this.label(this);this.getElement().innerHTML=e.replace(/\r\n/g,"<br/>")}else null==this.labelText&&(this.labelText=this.label,this.getElement().innerHTML=this.labelText.replace(/\r\n/g,"<br/>"))},updateFrom:function(e){null!=e.label&&this.setLabel(e.label)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumbUtil,n=e.jsPlumbInstance,r="jtk-group-collapsed",i="jtk-group-expanded",o="[jtk-group-content]",a="elementDraggable",s="stop",l="revert",u="_groupManager",c="_jsPlumbGroup",f="_jsPlumbGroupDrag",h="group:addMember",d="group:removeMember",p="group:add",g="group:remove",v="group:expand",y="group:collapse",m="groupDragStop",b="connectionMoved",_="internal.connectionDetached",x="removeAll",w="orphanAll",S="show",k="hide",E=function(e){var n={},o={},a={},s=this;function l(t,n){var r=e.getContainer(),i=!1;while(!i){if(null==t||t===r)return!1;if(t===n)return!0;t=t.parentNode}}function u(e){delete e.proxies;var n,r=o[e.id];null!=r&&(n=function(t){return t.id===e.id},t.removeWithFunction(r.connections.source,n),t.removeWithFunction(r.connections.target,n),delete o[e.id]),r=a[e.id],null!=r&&(n=function(t){return t.id===e.id},t.removeWithFunction(r.connections.source,n),t.removeWithFunction(r.connections.target,n),delete a[e.id])}function f(t,n){for(var r=t.getEl().querySelectorAll(".jtk-managed"),i=0;i<r.length;i++)e[n?S:k](r[i],!0)}e.bind("connection",(function(n){var r=e.getGroupFor(n.source),i=e.getGroupFor(n.target);null!=r&&null!=i&&r===i?(o[n.connection.id]=r,a[n.connection.id]=r):(null!=r&&(t.suggest(r.connections.source,n.connection),o[n.connection.id]=r),null!=i&&(t.suggest(i.connections.target,n.connection),a[n.connection.id]=i))})),e.bind(_,(function(e){u(e.connection)})),e.bind(b,(function(e){var t=0===e.index?o:a,n=t[e.connection.id];if(n){var r=n.connections[0===e.index?"source":"target"],i=r.indexOf(e.connection);-1!==i&&r.splice(i,1)}})),this.addGroup=function(t){e.addClass(t.getEl(),i),n[t.id]=t,t.manager=this,E(t),e.fire(p,{group:t})},this.addToGroup=function(t,n,r){if(t=this.getGroup(t),t){var i=t.getEl();if(n._isJsPlumbGroup)return;var o=n._jsPlumbGroup;if(o!==t){e.removeFromDragSelection(n);var a=e.getOffset(n,!0),l=t.collapsed?e.getOffset(i,!0):e.getOffset(t.getDragArea(),!0);null!=o&&(o.remove(n,!1,r,!1,t),s.updateConnectionsForGroup(o)),t.add(n,r);var u=function(e,n){var r=0===n?1:0;e.each((function(e){e.setVisible(!1),e.endpoints[r].element._jsPlumbGroup===t?(e.endpoints[r].setVisible(!1),m(e,r,t)):(e.endpoints[n].setVisible(!1),d(e,n,t))}))};t.collapsed&&(u(e.select({source:n}),0),u(e.select({target:n}),1));var c=e.getId(n);e.dragManager.setParent(n,c,i,e.getId(i),a);var f={left:a.left-l.left,top:a.top-l.top};if(e.setPosition(n,f),e.dragManager.revalidateParent(n,c,a),s.updateConnectionsForGroup(t),e.revalidate(c),!r){var p={group:t,el:n,pos:f};o&&(p.sourceGroup=o),e.fire(h,p)}}}},this.removeFromGroup=function(e,t,n){if(e=this.getGroup(e),e){if(e.collapsed){var r=function(n,r){for(var i=0;i<n.length;i++){var o=n[i];if(o.proxies)for(var a=0;a<o.proxies.length;a++)if(null!=o.proxies[a]){var s=o.proxies[a].originalEp.element;(s===t||l(s,t))&&m(o,r,e)}}};r(e.connections.source.slice(),0),r(e.connections.target.slice(),1)}e.remove(t,null,n)}},this.getGroup=function(e){var r=e;if(t.isString(e)&&(r=n[e],null==r))throw new TypeError("No such group ["+e+"]");return r},this.getGroups=function(){var e=[];for(var t in n)e.push(n[t]);return e},this.removeGroup=function(t,r,i,o){t=this.getGroup(t),this.expandGroup(t,!0);var a=t[r?x:w](i,o);return e.remove(t.getEl()),delete n[t.id],delete e._groups[t.id],e.fire(g,{group:t}),a},this.removeAllGroups=function(e,t,r){for(var i in n)this.removeGroup(n[i],e,t,r)};var d=function(t,n,r){var i=t.endpoints[0===n?1:0].element;if(!i[c]||i[c].shouldProxy()||!i[c].collapsed){var o=r.getEl(),a=e.getId(o);e.proxyConnection(t,n,o,a,(function(e,t){return r.getEndpoint(e,t)}),(function(e,t){return r.getAnchor(e,t)}))}};this.collapseGroup=function(t){if(t=this.getGroup(t),null!=t&&!t.collapsed){var n=t.getEl();if(f(t,!1),t.shouldProxy()){var o=function(e,n){for(var r=0;r<e.length;r++){var i=e[r];d(i,n,t)}};o(t.connections.source,0),o(t.connections.target,1)}t.collapsed=!0,e.removeClass(n,i),e.addClass(n,r),e.revalidate(n),e.fire(y,{group:t})}};var m=function(t,n,r){e.unproxyConnection(t,n,e.getId(r.getEl()))};function E(t){for(var n=t.getMembers().slice(),r=[],i=0;i<n.length;i++)Array.prototype.push.apply(r,n[i].querySelectorAll(".jtk-managed"));Array.prototype.push.apply(n,r);var s=e.getConnections({source:n,scope:"*"},!0),l=e.getConnections({target:n,scope:"*"},!0),u={};t.connections.source.length=0,t.connections.target.length=0;var c=function(n){for(var r=0;r<n.length;r++)if(!u[n[r].id]){u[n[r].id]=!0;var i=e.getGroupFor(n[r].source),s=e.getGroupFor(n[r].target);i===t?(s!==t&&t.connections.source.push(n[r]),o[n[r].id]=t):s===t&&(t.connections.target.push(n[r]),a[n[r].id]=t)}};c(s),c(l)}this.expandGroup=function(t,n){if(t=this.getGroup(t),null!=t&&t.collapsed){var o=t.getEl();if(f(t,!0),t.shouldProxy()){var a=function(e,n){for(var r=0;r<e.length;r++){var i=e[r];m(i,n,t)}};a(t.connections.source,0),a(t.connections.target,1)}t.collapsed=!1,e.addClass(o,i),e.removeClass(o,r),e.revalidate(o),this.repaintGroup(t),n||e.fire(v,{group:t})}},this.repaintGroup=function(t){t=this.getGroup(t);for(var n=t.getMembers(),r=0;r<n.length;r++)e.revalidate(n[r])},this.updateConnectionsForGroup=E,this.refreshAllGroups=function(){for(var t in n)E(n[t]),e.dragManager.updateOffsets(e.getId(n[t].getEl()))}},O=function(n,r){var i=this,u=r.el;this.getEl=function(){return u},this.id=r.id||t.uuid(),u._isJsPlumbGroup=!0;var h=this.getDragArea=function(){var e=n.getSelector(u,o);return e&&e.length>0?e[0]:u},p=!0===r.ghost,g=p||!0===r.constrain,v=!1!==r.revert,y=!0===r.orphan,b=!0===r.prune,_=!0===r.dropOverride,x=!1!==r.proxied,w=[];if(this.connections={source:[],target:[],internal:[]},this.getAnchor=function(e,t){return r.anchor||"Continuous"},this.getEndpoint=function(e,t){return r.endpoint||["Dot",{radius:10}]},this.collapsed=!1,!1!==r.draggable){var S={drag:function(){for(var e=0;e<w.length;e++)n.draw(w[e])},stop:function(e){n.fire(m,jsPlumb.extend(e,{group:i}))},scope:f};r.dragOptions&&e.jsPlumb.extend(S,r.dragOptions),n.draggable(r.el,S)}!1!==r.droppable&&n.droppable(r.el,{drop:function(e){var t=e.drag.el;if(!t._isJsPlumbGroup){var r=t._jsPlumbGroup;if(r!==i){if(null!=r&&r.overrideDrop(t,i))return;n.getGroupManager().addToGroup(i,t,!1)}}}});var k=function(e,t){for(var n=null==e.nodeType?e:[e],r=0;r<n.length;r++)t(n[r])};function E(e){return e.offsetParent}function O(e,t){var r=E(e),i=n.getSize(r),o=n.getSize(e),a=t[0],s=a+o[0],l=t[1],u=l+o[1];return s>0&&a<i[0]&&u>0&&l<i[1]}function C(e){var t=n.getId(e),r=n.getOffset(e);return e.parentNode.removeChild(e),n.getContainer().appendChild(e),n.setPosition(e,r),P(e),n.dragManager.clearParent(e,t),[t,r]}function A(e){var t=[];function r(e,t,r){var i=null;if(!O(e,[t,r])){var o=e._jsPlumbGroup;b?n.remove(e):i=C(e),o.remove(e)}return i}for(var i=0;i<e.selection.length;i++)t.push(r(e.selection[i][0],e.selection[i][1].left,e.selection[i][1].top));return 1===t.length?t[0]:t}function T(e){var t=n.getId(e);n.revalidate(e),n.dragManager.revalidateParent(e,t)}function P(e){e._katavorioDrag&&((b||y)&&e._katavorioDrag.off(s,A),b||y||!v||(e._katavorioDrag.off(l,T),e._katavorioDrag.setRevert(null)))}function M(e){e._katavorioDrag&&((b||y)&&e._katavorioDrag.on(s,A),g&&e._katavorioDrag.setConstrain(!0),p&&e._katavorioDrag.setUseGhostProxy(!0),b||y||!v||(e._katavorioDrag.on(l,T),e._katavorioDrag.setRevert((function(e,t){return!O(e,t)}))))}this.overrideDrop=function(e,t){return _&&(v||b||y)},this.add=function(e,t){var r=h();k(e,(function(e){if(null!=e._jsPlumbGroup){if(e._jsPlumbGroup===i)return;e._jsPlumbGroup.remove(e,!0,t,!1)}e._jsPlumbGroup=i,w.push(e),n.isAlreadyDraggable(e)&&M(e),e.parentNode!==r&&r.appendChild(e)})),n.getGroupManager().updateConnectionsForGroup(i)},this.remove=function(e,r,o,a,s){k(e,(function(e){if(e._jsPlumbGroup===i){if(delete e._jsPlumbGroup,t.removeWithFunction(w,(function(t){return t===e})),r)try{i.getDragArea().removeChild(e)}catch(l){jsPlumbUtil.log("Could not remove element from Group "+l)}if(P(e),!o){var a={group:i,el:e};s&&(a.targetGroup=s),n.fire(d,a)}}})),a||n.getGroupManager().updateConnectionsForGroup(i)},this.removeAll=function(e,t){for(var r=0,o=w.length;r<o;r++){var a=w[0];i.remove(a,e,t,!0),n.remove(a,!0)}w.length=0,n.getGroupManager().updateConnectionsForGroup(i)},this.orphanAll=function(){for(var e={},t=0;t<w.length;t++){var n=C(w[t]);e[n[0]]=n[1]}return w.length=0,e},this.getMembers=function(){return w},u[c]=this,n.bind(a,function(e){e.el._jsPlumbGroup===this&&M(e.el)}.bind(this)),this.shouldProxy=function(){return x},n.getGroupManager().addGroup(this)};n.prototype.addGroup=function(e){var t=this;if(t._groups=t._groups||{},null!=t._groups[e.id])throw new TypeError("cannot create Group ["+e.id+"]; a Group with that ID exists");if(null!=e.el[c])throw new TypeError("cannot create Group ["+e.id+"]; the given element is already a Group");var n=new O(t,e);return t._groups[n.id]=n,e.collapsed&&this.collapseGroup(n),n},n.prototype.addToGroup=function(e,t,n){var r=function(t){var r=this.getId(t);this.manage(r,t),this.getGroupManager().addToGroup(e,t,n)}.bind(this);if(Array.isArray(t))for(var i=0;i<t.length;i++)r(t[i]);else r(t)},n.prototype.removeFromGroup=function(e,t,n){this.getGroupManager().removeFromGroup(e,t,n),this.getContainer().appendChild(t)},n.prototype.removeGroup=function(e,t,n,r){return this.getGroupManager().removeGroup(e,t,n,r)},n.prototype.removeAllGroups=function(e,t,n){this.getGroupManager().removeAllGroups(e,t,n)},n.prototype.getGroup=function(e){return this.getGroupManager().getGroup(e)},n.prototype.getGroups=function(){return this.getGroupManager().getGroups()},n.prototype.expandGroup=function(e){this.getGroupManager().expandGroup(e)},n.prototype.collapseGroup=function(e){this.getGroupManager().collapseGroup(e)},n.prototype.repaintGroup=function(e){this.getGroupManager().repaintGroup(e)},n.prototype.toggleGroup=function(e){e=this.getGroupManager().getGroup(e),null!=e&&this.getGroupManager()[e.collapsed?"expandGroup":"collapseGroup"](e)},n.prototype.getGroupManager=function(){var e=this[u];return null==e&&(e=this[u]=new E(this)),e},n.prototype.removeGroupManager=function(){delete this[u]},n.prototype.getGroupFor=function(e){if(e=this.getElement(e),e){var t=this.getContainer(),n=!1,r=null;while(!n)null==e||e===t?n=!0:e[c]?(r=e[c],e,n=!0):e=e.parentNode;return r}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r="Straight",i="Arc",o=function(e){this.type="Flowchart",e=e||{},e.stub=null==e.stub?30:e.stub;var n,o=t.Connectors.AbstractConnector.apply(this,arguments),a=null==e.midpoint||isNaN(e.midpoint)?.5:e.midpoint,s=!0===e.alwaysRespectStubs,l=null,u=null,c=null!=e.cornerRadius?e.cornerRadius:0,f=(e.loopbackRadius,function(e){return e<0?-1:0===e?0:1}),h=function(e){return[f(e[2]-e[0]),f(e[3]-e[1])]},d=function(e,t,n,r){if(l!==t||u!==n){var i=null==l?r.sx:l,o=null==u?r.sy:u,a=i===t?"v":"h";l=t,u=n,e.push([i,o,t,n,a])}},p=function(e){return Math.sqrt(Math.pow(e[0]-e[2],2)+Math.pow(e[1]-e[3],2))},g=function(e){var t=[];return t.push.apply(t,e),t},v=function(e,t,n){for(var a,s,l,u=null,f=0;f<t.length-1;f++){if(u=u||g(t[f]),a=g(t[f+1]),s=h(u),l=h(a),c>0&&u[4]!==a[4]){var d=Math.min(p(u),p(a)),v=Math.min(c,d/2);u[2]-=s[0]*v,u[3]-=s[1]*v,a[0]+=l[0]*v,a[1]+=l[1]*v;var y=s[1]===l[0]&&1===l[0]||s[1]===l[0]&&0===l[0]&&s[0]!==l[1]||s[1]===l[0]&&-1===l[0],m=a[1]>u[3]?1:-1,b=a[0]>u[2]?1:-1,_=m===b,x=_&&y||!_&&!y?a[0]:u[2],w=_&&y||!_&&!y?u[3]:a[1];o.addSegment(e,r,{x1:u[0],y1:u[1],x2:u[2],y2:u[3]}),o.addSegment(e,i,{r:v,x1:u[2],y1:u[3],x2:a[0],y2:a[1],cx:x,cy:w,ac:y})}else{var S=u[2]===u[0]?0:u[2]>u[0]?n.lw/2:-n.lw/2,k=u[3]===u[1]?0:u[3]>u[1]?n.lw/2:-n.lw/2;o.addSegment(e,r,{x1:u[0]-S,y1:u[1]-k,x2:u[2]+S,y2:u[3]+k})}u=a}null!=a&&o.addSegment(e,r,{x1:a[0],y1:a[1],x2:a[2],y2:a[3]})};this.midpoint=a,this._compute=function(e,t){n=[],l=null,u=null,null;var r=function(){return[e.startStubX,e.startStubY,e.endStubX,e.endStubY]},i={perpendicular:r,orthogonal:r,opposite:function(t){var n=e,r="x"===t?0:1,i={x:function(){return 1===n.so[r]&&(n.startStubX>n.endStubX&&n.tx>n.startStubX||n.sx>n.endStubX&&n.tx>n.sx)||-1===n.so[r]&&(n.startStubX<n.endStubX&&n.tx<n.startStubX||n.sx<n.endStubX&&n.tx<n.sx)},y:function(){return 1===n.so[r]&&(n.startStubY>n.endStubY&&n.ty>n.startStubY||n.sy>n.endStubY&&n.ty>n.sy)||-1===n.so[r]&&(n.startStubY<n.endStubY&&n.ty<n.startStubY||n.sy<n.endStubY&&n.ty<n.sy)}};return!s&&i[t]()?{x:[(e.sx+e.tx)/2,e.startStubY,(e.sx+e.tx)/2,e.endStubY],y:[e.startStubX,(e.sy+e.ty)/2,e.endStubX,(e.sy+e.ty)/2]}[t]:[e.startStubX,e.startStubY,e.endStubX,e.endStubY]}},c=i[e.anchorOrientation](e.sourceAxis),f="x"===e.sourceAxis?0:1,h="x"===e.sourceAxis?1:0,p=c[f],g=c[h],y=c[f+2],m=c[h+2];d(n,c[0],c[1],e);var b=e.startStubX+(e.endStubX-e.startStubX)*a,_=e.startStubY+(e.endStubY-e.startStubY)*a,x={x:[0,1],y:[1,0]},w={perpendicular:function(t){var n=e,r={x:[[[1,2,3,4],null,[2,1,4,3]],null,[[4,3,2,1],null,[3,4,1,2]]],y:[[[3,2,1,4],null,[2,3,4,1]],null,[[4,1,2,3],null,[1,4,3,2]]]},i={x:[[n.startStubX,n.endStubX],null,[n.endStubX,n.startStubX]],y:[[n.startStubY,n.endStubY],null,[n.endStubY,n.startStubY]]},o={x:[[b,n.startStubY],[b,n.endStubY]],y:[[n.startStubX,_],[n.endStubX,_]]},a={x:[[n.endStubX,n.startStubY]],y:[[n.startStubX,n.endStubY]]},s={x:[[n.startStubX,n.endStubY],[n.endStubX,n.endStubY]],y:[[n.endStubX,n.startStubY],[n.endStubX,n.endStubY]]},l={x:[[n.startStubX,_],[n.endStubX,_],[n.endStubX,n.endStubY]],y:[[b,n.startStubY],[b,n.endStubY],[n.endStubX,n.endStubY]]},u={x:[n.startStubY,n.endStubY],y:[n.startStubX,n.endStubX]},c=x[t][0],f=x[t][1],h=n.so[c]+1,d=n.to[f]+1,p=-1===n.to[f]&&u[t][1]<u[t][0]||1===n.to[f]&&u[t][1]>u[t][0],g=i[t][h][0],v=i[t][h][1],y=r[t][h][d];return n.segment===y[3]||n.segment===y[2]&&p?o[t]:n.segment===y[2]&&v<g?a[t]:n.segment===y[2]&&v>=g||n.segment===y[1]&&!p?l[t]:n.segment===y[0]||n.segment===y[1]&&p?s[t]:void 0},orthogonal:function(t,n,r,i,o){var a=e,s={x:-1===a.so[0]?Math.min(n,i):Math.max(n,i),y:-1===a.so[1]?Math.min(n,i):Math.max(n,i)}[t];return{x:[[s,r],[s,o],[i,o]],y:[[r,s],[o,s],[o,i]]}[t]},opposite:function(n,r,i,a){var s=e,l={x:"y",y:"x"}[n],u={x:"height",y:"width"}[n],c=s["is"+n.toUpperCase()+"GreaterThanStubTimes2"];if(t.sourceEndpoint.elementId===t.targetEndpoint.elementId){var h=i+(1-t.sourceEndpoint.anchor[l])*t.sourceInfo[u]+o.maxStub;return{x:[[r,h],[a,h]],y:[[h,r],[h,a]]}[n]}return!c||1===s.so[f]&&r>a||-1===s.so[f]&&r<a?{x:[[r,_],[a,_]],y:[[b,r],[b,a]]}[n]:1===s.so[f]&&r<a||-1===s.so[f]&&r>a?{x:[[b,s.sy],[b,s.ty]],y:[[s.sx,_],[s.tx,_]]}[n]:void 0}},S=w[e.anchorOrientation](e.sourceAxis,p,g,y,m);if(S)for(var k=0;k<S.length;k++)d(n,S[k][0],S[k][1],e);d(n,c[2],c[3],e),d(n,e.tx,e.ty,e),v(this,n,e)}};t.Connectors.Flowchart=o,n.extend(t.Connectors.Flowchart,t.Connectors.AbstractConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil;t.Connectors.AbstractBezierConnector=function(e){e=e||{};var n,r=!1!==e.showLoopback,i=(e.curviness,e.margin||5),o=(e.proximityLimit,e.orientation&&"clockwise"===e.orientation),a=e.loopbackRadius||25;return this._compute=function(e,t){var s=t.sourcePos,l=t.targetPos,u=Math.abs(s[0]-l[0]),c=Math.abs(s[1]-l[1]);if(r&&t.sourceEndpoint.elementId===t.targetEndpoint.elementId){!0;var f=t.sourcePos[0],h=t.sourcePos[1]-i,d=f,p=h-a,g=d-a,v=p-a;u=2*a,c=2*a,e.points[0]=g,e.points[1]=v,e.points[2]=u,e.points[3]=c,n.addSegment(this,"Arc",{loopback:!0,x1:f-g+4,y1:h-v,startAngle:0,endAngle:2*Math.PI,r:a,ac:!o,x2:f-g-4,y2:h-v,cx:d-g,cy:p-v})}else!1,this._computeBezier(e,t,s,l,u,c)},n=t.Connectors.AbstractConnector.apply(this,arguments),n},n.extend(t.Connectors.AbstractBezierConnector,t.Connectors.AbstractConnector);var r=function(e){e=e||{},this.type="Bezier";var n=t.Connectors.AbstractBezierConnector.apply(this,arguments),r=e.curviness||150,i=10;this.getCurviness=function(){return r},this._findControlPoint=function(e,t,n,o,a,s,l){var u=s[0]!==l[0]||s[1]===l[1],c=[];return u?(0===l[0]?c.push(n[0]<t[0]?e[0]+i:e[0]-i):c.push(e[0]+r*l[0]),0===l[1]?c.push(n[1]<t[1]?e[1]+i:e[1]-i):c.push(e[1]+r*s[1])):(0===s[0]?c.push(t[0]<n[0]?e[0]+i:e[0]-i):c.push(e[0]-r*s[0]),0===s[1]?c.push(t[1]<n[1]?e[1]+i:e[1]-i):c.push(e[1]+r*l[1])),c},this._computeBezier=function(e,t,r,i,o,a){var s,l,u=r[0]<i[0]?o:0,c=r[1]<i[1]?a:0,f=r[0]<i[0]?0:o,h=r[1]<i[1]?0:a;s=this._findControlPoint([u,c],r,i,t.sourceEndpoint,t.targetEndpoint,e.so,e.to),l=this._findControlPoint([f,h],i,r,t.targetEndpoint,t.sourceEndpoint,e.to,e.so),n.addSegment(this,"Bezier",{x1:u,y1:c,x2:f,y2:h,cp1x:s[0],cp1y:s[1],cp2x:l[0],cp2y:l[1]})}};t.Connectors.Bezier=r,n.extend(r,t.Connectors.AbstractBezierConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r=function(e,t,n,r){return e<=n&&r<=t?1:e<=n&&t<=r?2:n<=e&&r>=t?3:4},i=function(e,t,n,r,i,o,a,s,l){return s<=l?[e,t]:1===n?r[3]<=0&&i[3]>=1?[e+(r[2]<.5?-1*o:o),t]:r[2]>=1&&i[2]<=0?[e,t+(r[3]<.5?-1*a:a)]:[e+-1*o,t+-1*a]:2===n?r[3]>=1&&i[3]<=0?[e+(r[2]<.5?-1*o:o),t]:r[2]>=1&&i[2]<=0?[e,t+(r[3]<.5?-1*a:a)]:[e+o,t+-1*a]:3===n?r[3]>=1&&i[3]<=0?[e+(r[2]<.5?-1*o:o),t]:r[2]<=0&&i[2]>=1?[e,t+(r[3]<.5?-1*a:a)]:[e+-1*o,t+-1*a]:4===n?r[3]<=0&&i[3]>=1?[e+(r[2]<.5?-1*o:o),t]:r[2]<=0&&i[2]>=1?[e,t+(r[3]<.5?-1*a:a)]:[e+o,t+-1*a]:void 0},o=function(e){e=e||{},this.type="StateMachine";var n,o=t.Connectors.AbstractBezierConnector.apply(this,arguments),a=e.curviness||10,s=e.margin||5,l=e.proximityLimit||80;e.orientation&&e.orientation;this._computeBezier=function(e,t,u,c,f,h){var d=t.sourcePos[0]<t.targetPos[0]?0:f,p=t.sourcePos[1]<t.targetPos[1]?0:h,g=t.sourcePos[0]<t.targetPos[0]?f:0,v=t.sourcePos[1]<t.targetPos[1]?h:0;0===t.sourcePos[2]&&(d-=s),1===t.sourcePos[2]&&(d+=s),0===t.sourcePos[3]&&(p-=s),1===t.sourcePos[3]&&(p+=s),0===t.targetPos[2]&&(g-=s),1===t.targetPos[2]&&(g+=s),0===t.targetPos[3]&&(v-=s),1===t.targetPos[3]&&(v+=s);var y,m,b,_,x=(d+g)/2,w=(p+v)/2,S=r(d,p,g,v),k=Math.sqrt(Math.pow(g-d,2)+Math.pow(v-p,2));n=i(x,w,S,t.sourcePos,t.targetPos,a,a,k,l),y=n[0],m=n[0],b=n[1],_=n[1],o.addSegment(this,"Bezier",{x1:g,y1:v,x2:d,y2:p,cp1x:y,cp1y:b,cp2x:m,cp2y:_})}};t.Connectors.StateMachine=o,n.extend(o,t.Connectors.AbstractBezierConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r="Straight",i=function(e){this.type=r;var n=t.Connectors.AbstractConnector.apply(this,arguments);this._compute=function(e,t){n.addSegment(this,r,{x1:e.sx,y1:e.sy,x2:e.startStubX,y2:e.startStubY}),n.addSegment(this,r,{x1:e.startStubX,y1:e.startStubY,x2:e.endStubX,y2:e.endStubY}),n.addSegment(this,r,{x1:e.endStubX,y1:e.endStubY,x2:e.tx,y2:e.ty})}};t.Connectors.Straight=i,n.extend(i,t.Connectors.AbstractConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r={"stroke-linejoin":"stroke-linejoin","stroke-dashoffset":"stroke-dashoffset","stroke-linecap":"stroke-linecap"},i="stroke-dasharray",o="dashstyle",a="linearGradient",s="radialGradient",l="defs",u="fill",c="stop",f="stroke",h="stroke-width",d="style",p="none",g="jsplumb_gradient_",v="strokeWidth",y={svg:"http://www.w3.org/2000/svg"},m=function(e,t){for(var n in t)e.setAttribute(n,""+t[n])},b=function(e,n){return n=n||{},n.version="1.1",n.xmlns=y.svg,t.createElementNS(y.svg,e,null,null,n)},_=function(e){return"position:absolute;left:"+e[0]+"px;top:"+e[1]+"px"},x=function(e){for(var t=e.querySelectorAll(" defs,linearGradient,radialGradient"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n])},w=function(e,t,n,r,i){var o,h=g+i._jsPlumb.instance.idstamp();x(e),o=n.gradient.offset?b(s,{id:h}):b(a,{id:h,gradientUnits:"userSpaceOnUse"});var d=b(l);e.appendChild(d),d.appendChild(o);for(var p=0;p<n.gradient.stops.length;p++){var v=1===i.segment||2===i.segment?p:n.gradient.stops.length-1-p,y=n.gradient.stops[v][1],m=b(c,{offset:Math.floor(100*n.gradient.stops[p][0])+"%","stop-color":y});o.appendChild(m)}var _=n.stroke?f:u;t.setAttribute(_,"url(#"+h+")")},S=function(e,t,n,a,s){if(t.setAttribute(u,n.fill?n.fill:p),t.setAttribute(f,n.stroke?n.stroke:p),n.gradient?w(e,t,n,a,s):(x(e),t.setAttribute(d,"")),n.strokeWidth&&t.setAttribute(h,n.strokeWidth),n[o]&&n[v]&&!n[i]){var l=-1===n[o].indexOf(",")?" ":",",c=n[o].split(l),g="";c.forEach((function(e){g+=Math.floor(e*n.strokeWidth)+l})),t.setAttribute(i,g)}else n[i]&&t.setAttribute(i,n[i]);for(var y in r)n[y]&&t.setAttribute(r[y],n[y])},k=function(e,t,n){e.childNodes.length>n?e.insertBefore(t,e.childNodes[n]):e.appendChild(t)};n.svg={node:b,attr:m,pos:_};var E=function(e){var r=e.pointerEventsSpec||"all",i={};t.jsPlumbUIComponent.apply(this,e.originalArgs),this.canvas=null,this.path=null,this.svg=null,this.bgCanvas=null;var o=e.cssClass+" "+(e.originalArgs[0].cssClass||""),a={style:"",width:0,height:0,"pointer-events":r,position:"absolute"};this.svg=b("svg",a),e.useDivWrapper?(this.canvas=t.createElement("div",{position:"absolute"}),n.sizeElement(this.canvas,0,0,1,1),this.canvas.className=o):(m(this.svg,{class:o}),this.canvas=this.svg),e._jsPlumb.appendElement(this.canvas,e.originalArgs[0].parent),e.useDivWrapper&&this.canvas.appendChild(this.svg);var s=[this.canvas];return this.getDisplayElements=function(){return s},this.appendDisplayElement=function(e){s.push(e)},this.paint=function(t,r,o){if(null!=t){var a,s=[this.x,this.y],l=[this.w,this.h];null!=o&&(o.xmin<0&&(s[0]+=o.xmin),o.ymin<0&&(s[1]+=o.ymin),l[0]=o.xmax+(o.xmin<0?-o.xmin:0),l[1]=o.ymax+(o.ymin<0?-o.ymin:0)),e.useDivWrapper?(n.sizeElement(this.canvas,s[0],s[1],l[0]>0?l[0]:1,l[1]>0?l[1]:1),s[0]=0,s[1]=0,a=_([0,0])):a=_([s[0],s[1]]),i.paint.apply(this,arguments),m(this.svg,{style:a,width:l[0]||1,height:l[1]||1})}},{renderer:i}};n.extend(E,t.jsPlumbUIComponent,{cleanup:function(e){e||null==this.typeId?(this.canvas&&(this.canvas._jsPlumb=null),this.svg&&(this.svg._jsPlumb=null),this.bgCanvas&&(this.bgCanvas._jsPlumb=null),this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.bgCanvas&&this.bgCanvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.svg=null,this.canvas=null,this.path=null,this.group=null,this._jsPlumb=null):(this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.bgCanvas&&this.bgCanvas.parentNode&&this.bgCanvas.parentNode.removeChild(this.bgCanvas))},reattach:function(e){var t=e.getContainer();this.canvas&&null==this.canvas.parentNode&&t.appendChild(this.canvas),this.bgCanvas&&null==this.bgCanvas.parentNode&&t.appendChild(this.bgCanvas)},setVisible:function(e){this.canvas&&(this.canvas.style.display=e?"block":"none")}}),t.ConnectorRenderers.svg=function(e){var n=this,r=E.apply(this,[{cssClass:e._jsPlumb.connectorClass,originalArgs:arguments,pointerEventsSpec:"none",_jsPlumb:e._jsPlumb}]);r.renderer.paint=function(r,i,o){var a=n.getSegments(),s="",l=[0,0];if(o.xmin<0&&(l[0]=-o.xmin),o.ymin<0&&(l[1]=-o.ymin),a.length>0){s=n.getPathData();var u={d:s,transform:"translate("+l[0]+","+l[1]+")","pointer-events":e["pointer-events"]||"visibleStroke"},c=null,f=[n.x,n.y,n.w,n.h];if(r.outlineStroke){var h=r.outlineWidth||1,d=r.strokeWidth+2*h;c=t.extend({},r),delete c.gradient,c.stroke=r.outlineStroke,c.strokeWidth=d,null==n.bgPath?(n.bgPath=b("path",u),t.addClass(n.bgPath,t.connectorOutlineClass),k(n.svg,n.bgPath,0)):m(n.bgPath,u),S(n.svg,n.bgPath,c,f,n)}null==n.path?(n.path=b("path",u),k(n.svg,n.path,r.outlineStroke?1:0)):m(n.path,u),S(n.svg,n.path,r,f,n)}}},n.extend(t.ConnectorRenderers.svg,E);var O=t.SvgEndpoint=function(e){var n=E.apply(this,[{cssClass:e._jsPlumb.endpointClass,originalArgs:arguments,pointerEventsSpec:"all",useDivWrapper:!0,_jsPlumb:e._jsPlumb}]);n.renderer.paint=function(e){var n=t.extend({},e);n.outlineStroke&&(n.stroke=n.outlineStroke),null==this.node?(this.node=this.makeNode(n),this.svg.appendChild(this.node)):null!=this.updateNode&&this.updateNode(this.node),S(this.svg,this.node,n,[this.x,this.y,this.w,this.h],this),_(this.node,[this.x,this.y])}.bind(this)};n.extend(O,E),t.Endpoints.svg.Dot=function(){t.Endpoints.Dot.apply(this,arguments),O.apply(this,arguments),this.makeNode=function(e){return b("circle",{cx:this.w/2,cy:this.h/2,r:this.radius})},this.updateNode=function(e){m(e,{cx:this.w/2,cy:this.h/2,r:this.radius})}},n.extend(t.Endpoints.svg.Dot,[t.Endpoints.Dot,O]),t.Endpoints.svg.Rectangle=function(){t.Endpoints.Rectangle.apply(this,arguments),O.apply(this,arguments),this.makeNode=function(e){return b("rect",{width:this.w,height:this.h})},this.updateNode=function(e){m(e,{width:this.w,height:this.h})}},n.extend(t.Endpoints.svg.Rectangle,[t.Endpoints.Rectangle,O]),t.Endpoints.svg.Image=t.Endpoints.Image,t.Endpoints.svg.Blank=t.Endpoints.Blank,t.Overlays.svg.Label=t.Overlays.Label,t.Overlays.svg.Custom=t.Overlays.Custom;var C=function(e,n){e.apply(this,n),t.jsPlumbUIComponent.apply(this,n),this.isAppendedAtTopLevel=!1;this.path=null,this.paint=function(e,t){if(e.component.svg&&t){null==this.path&&(this.path=b("path",{"pointer-events":"all"}),e.component.svg.appendChild(this.path),this.elementCreated&&this.elementCreated(this.path,e.component),this.canvas=e.component.svg);var i=n&&1===n.length&&n[0].cssClass||"",o=[0,0];t.xmin<0&&(o[0]=-t.xmin),t.ymin<0&&(o[1]=-t.ymin),m(this.path,{d:r(e.d),class:i,stroke:e.stroke?e.stroke:null,fill:e.fill?e.fill:null,transform:"translate("+o[0]+","+o[1]+")"})}};var r=function(e){return isNaN(e.cxy.x)||isNaN(e.cxy.y)?"":"M"+e.hxy.x+","+e.hxy.y+" L"+e.tail[0].x+","+e.tail[0].y+" L"+e.cxy.x+","+e.cxy.y+" L"+e.tail[1].x+","+e.tail[1].y+" L"+e.hxy.x+","+e.hxy.y};this.transfer=function(e){e.canvas&&this.path&&this.path.parentNode&&(this.path.parentNode.removeChild(this.path),e.canvas.appendChild(this.path))}},A={cleanup:function(e){null!=this.path&&(e?this._jsPlumb.instance.removeElement(this.path):this.path.parentNode&&this.path.parentNode.removeChild(this.path))},reattach:function(e,t){this.path&&t.canvas&&t.canvas.appendChild(this.path)},setVisible:function(e){null!=this.path&&(this.path.style.display=e?"block":"none")}};n.extend(C,[t.jsPlumbUIComponent,t.Overlays.AbstractOverlay]),t.Overlays.svg.Arrow=function(){C.apply(this,[t.Overlays.Arrow,arguments])},n.extend(t.Overlays.svg.Arrow,[t.Overlays.Arrow,C],A),t.Overlays.svg.PlainArrow=function(){C.apply(this,[t.Overlays.PlainArrow,arguments])},n.extend(t.Overlays.svg.PlainArrow,[t.Overlays.PlainArrow,C],A),t.Overlays.svg.Diamond=function(){C.apply(this,[t.Overlays.Diamond,arguments])},n.extend(t.Overlays.svg.Diamond,[t.Overlays.Diamond,C],A),t.Overlays.svg.GuideLines=function(){var e,n,r=null,i=this;t.Overlays.GuideLines.apply(this,arguments),this.paint=function(t,a){null==r&&(r=b("path"),t.connector.svg.appendChild(r),i.attachListeners(r,t.connector),i.attachListeners(r,i),e=b("path"),t.connector.svg.appendChild(e),i.attachListeners(e,t.connector),i.attachListeners(e,i),n=b("path"),t.connector.svg.appendChild(n),i.attachListeners(n,t.connector),i.attachListeners(n,i));var s=[0,0];a.xmin<0&&(s[0]=-a.xmin),a.ymin<0&&(s[1]=-a.ymin),m(r,{d:o(t.head,t.tail),stroke:"red",fill:null,transform:"translate("+s[0]+","+s[1]+")"}),m(e,{d:o(t.tailLine[0],t.tailLine[1]),stroke:"blue",fill:null,transform:"translate("+s[0]+","+s[1]+")"}),m(n,{d:o(t.headLine[0],t.headLine[1]),stroke:"green",fill:null,transform:"translate("+s[0]+","+s[1]+")"})};var o=function(e,t){return"M "+e.x+","+e.y+" L"+t.x+","+t.y}},n.extend(t.Overlays.svg.GuideLines,t.Overlays.GuideLines)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,r=e.Katavorio,i=e.Biltong,o=function(t){var n=t._mottle;return n||(n=t._mottle=new e.Mottle),n},a=function(e,n){n=n||"main";var o="_katavorio_"+n,a=e[o],s=e.getEventManager();return a||(a=new r({bind:s.on,unbind:s.off,getSize:t.getSize,getConstrainingRectangle:function(e){return[e.parentNode.scrollWidth,e.parentNode.scrollHeight]},getPosition:function(t,n){var r=e.getOffset(t,n,t._katavorioDrag?t.offsetParent:null);return[r.left,r.top]},setPosition:function(e,t){e.style.left=t[0]+"px",e.style.top=t[1]+"px"},addClass:t.addClass,removeClass:t.removeClass,intersects:i.intersects,indexOf:function(e,t){return e.indexOf(t)},scope:e.getDefaultScope(),css:{noSelect:e.dragSelectClass,droppable:"jtk-droppable",draggable:"jtk-draggable",drag:"jtk-drag",selected:"jtk-drag-selected",active:"jtk-drag-active",hover:"jtk-drag-hover",ghostProxy:"jtk-ghost-proxy"}}),a.setZoom(e.getZoom()),e[o]=a,e.bind("zoom",a.setZoom)),a},s=function(e){var t=e.el._jsPlumbDragOptions,n=!0;return t.canDrag&&(n=t.canDrag()),n&&(this.setHoverSuspended(!0),this.select({source:e.el}).addClass(this.elementDraggingClass+" "+this.sourceElementDraggingClass,!0),this.select({target:e.el}).addClass(this.elementDraggingClass+" "+this.targetElementDraggingClass,!0),this.setConnectionBeingDragged(!0)),n},l=function(e){var t=this.getUIPosition(arguments,this.getZoom());if(null!=t){var n=e.el._jsPlumbDragOptions;this.draw(e.el,t,null,!0),n._dragging&&this.addClass(e.el,"jtk-dragged"),n._dragging=!0}},u=function(e){for(var t,n=e.selection,r=function(n){var r;null!=n[1]&&(t=this.getUIPosition([{el:n[2].el,pos:[n[1].left,n[1].top]}]),r=this.draw(n[2].el,t)),null!=n[0]._jsPlumbDragOptions&&delete n[0]._jsPlumbDragOptions._dragging,this.removeClass(n[0],"jtk-dragged"),this.select({source:n[2].el}).removeClass(this.elementDraggingClass+" "+this.sourceElementDraggingClass,!0),this.select({target:n[2].el}).removeClass(this.elementDraggingClass+" "+this.targetElementDraggingClass,!0),e.e._drawResult=e.e._drawResult||{c:[],e:[],a:[]},Array.prototype.push.apply(e.e._drawResult.c,r.c),Array.prototype.push.apply(e.e._drawResult.e,r.e),Array.prototype.push.apply(e.e._drawResult.a,r.a),this.getDragManager().dragEnded(n[2].el)}.bind(this),i=0;i<n.length;i++)r(n[i]);this.setHoverSuspended(!1),this.setConnectionBeingDragged(!1)},c=function(e,t){var r=function(r){if(null!=t[r]){if(n.isString(t[r])){var i=t[r].match(/-=/)?-1:1,o=t[r].substring(2);return e[r]+i*o}return t[r]}return e[r]};return[r("left"),r("top")]},f=function(e,t){if(null==t)return[0,0];var n=v(t),r=g(n,0);return[r[e+"X"],r[e+"Y"]]},h=f.bind(this,"page"),d=f.bind(this,"screen"),p=f.bind(this,"client"),g=function(e,t){return e.item?e.item(t):e[t]},v=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},y=function(e){var t={},n=[],r={},i={},o={};this.register=function(a){var s,l=e.getId(a);t[l]||(t[l]=a,n.push(a),r[l]={});var u=function(t){if(t)for(var n=0;n<t.childNodes.length;n++)if(3!==t.childNodes[n].nodeType&&8!==t.childNodes[n].nodeType){var c=jsPlumb.getElement(t.childNodes[n]),f=e.getId(t.childNodes[n],null,!0);if(f&&i[f]&&i[f]>0){s||(s=e.getOffset(a));var h=e.getOffset(c);r[l][f]={id:f,offset:{left:h.left-s.left,top:h.top-s.top}},o[f]=l}u(t.childNodes[n])}};u(a)},this.updateOffsets=function(t,n){if(null!=t){n=n||{};var i,a=jsPlumb.getElement(t),s=e.getId(a),l=r[s];if(l)for(var u in l)if(l.hasOwnProperty(u)){var c=jsPlumb.getElement(u),f=n[u]||e.getOffset(c);if(null==c.offsetParent&&null!=r[s][u])continue;i||(i=e.getOffset(a)),r[s][u]={id:u,offset:{left:f.left-i.left,top:f.top-i.top}},o[u]=s}}},this.endpointAdded=function(n,a){a=a||e.getId(n);var s=document.body,l=n.parentNode;i[a]=i[a]?i[a]+1:1;while(null!=l&&l!==s){var u=e.getId(l,null,!0);if(u&&t[u]){var c=e.getOffset(l);if(null==r[u][a]){var f=e.getOffset(n);r[u][a]={id:a,offset:{left:f.left-c.left,top:f.top-c.top}},o[a]=u}break}l=l.parentNode}},this.endpointDeleted=function(e){if(i[e.elementId]&&(i[e.elementId]--,i[e.elementId]<=0))for(var t in r)r.hasOwnProperty(t)&&r[t]&&(delete r[t][e.elementId],delete o[e.elementId])},this.changeId=function(e,t){r[t]=r[e],r[e]={},o[t]=o[e],o[e]=null},this.getElementsForDraggable=function(e){return r[e]},this.elementRemoved=function(e){var t=o[e];t&&(r[t]&&delete r[t][e],delete o[e])},this.reset=function(){t={},n=[],r={},i={}},this.dragEnded=function(t){if(null!=t.offsetParent){var n=e.getId(t),r=o[n];r&&this.updateOffsets(r)}},this.setParent=function(t,n,i,a,s){var l=o[n];r[a]||(r[a]={});var u=e.getOffset(i),c=s||e.getOffset(t);l&&r[l]&&delete r[l][n],r[a][n]={id:n,offset:{left:c.left-u.left,top:c.top-u.top}},o[n]=a},this.clearParent=function(e,t){var n=o[t];n&&(delete r[n][t],delete o[t])},this.revalidateParent=function(t,n,r){var i=o[n];if(i){var a={};a[n]=r,this.updateOffsets(i,a),e.revalidate(i)}},this.getDragAncestor=function(t){var n=jsPlumb.getElement(t),r=e.getId(n),i=o[r];return i?jsPlumb.getElement(i):null}},m=function(e,t,r){t=n.fastTrim(t),"undefined"!==typeof e.className.baseVal?e.className.baseVal=t:e.className=t;try{var i=e.classList;if(null!=i){while(i.length>0)i.remove(i.item(0));for(var o=0;o<r.length;o++)r[o]&&i.add(r[o])}}catch(a){n.log("JSPLUMB: cannot set class list",a)}},b=function(e){return"undefined"===typeof e.className.baseVal?e.className:e.className.baseVal},_=function(e,t,r){t=null==t?[]:n.isArray(t)?t:t.split(/\s+/),r=null==r?[]:n.isArray(r)?r:r.split(/\s+/);var i=b(e),o=i.split(/\s+/),a=function(e,t){for(var n=0;n<t.length;n++)if(e)-1===o.indexOf(t[n])&&o.push(t[n]);else{var r=o.indexOf(t[n]);-1!==r&&o.splice(r,1)}};a(!0,t),a(!1,r),m(e,o.join(" "),o)};e.jsPlumb.extend(e.jsPlumbInstance.prototype,{headless:!1,pageLocation:h,screenLocation:d,clientLocation:p,getDragManager:function(){return null==this.dragManager&&(this.dragManager=new y(this)),this.dragManager},recalculateOffsets:function(e){this.getDragManager().updateOffsets(e)},createElement:function(e,t,n,r){return this.createElementNS(null,e,t,n,r)},createElementNS:function(e,t,n,r,i){var o,a=null==e?document.createElement(t):document.createElementNS(e,t);for(o in n=n||{},n)a.style[o]=n[o];for(o in r&&(a.className=r),i=i||{},i)a.setAttribute(o,""+i[o]);return a},getAttribute:function(e,t){return null!=e.getAttribute?e.getAttribute(t):null},setAttribute:function(e,t,n){null!=e.setAttribute&&e.setAttribute(t,n)},setAttributes:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])},appendToRoot:function(e){document.body.appendChild(e)},getRenderModes:function(){return["svg"]},getClass:b,addClass:function(e,t){jsPlumb.each(e,(function(e){_(e,t)}))},hasClass:function(e,t){return e=jsPlumb.getElement(e),e.classList?e.classList.contains(t):-1!==b(e).indexOf(t)},removeClass:function(e,t){jsPlumb.each(e,(function(e){_(e,null,t)}))},toggleClass:function(e,t){jsPlumb.hasClass(e,t)?jsPlumb.removeClass(e,t):jsPlumb.addClass(e,t)},updateClasses:function(e,t,n){jsPlumb.each(e,(function(e){_(e,t,n)}))},setClass:function(e,t){null!=t&&jsPlumb.each(e,(function(e){m(e,t,t.split(/\s+/))}))},setPosition:function(e,t){e.style.left=t.left+"px",e.style.top=t.top+"px"},getPosition:function(e){var t=function(t){var n=e.style[t];return n?n.substring(0,n.length-2):0};return{left:t("left"),top:t("top")}},getStyle:function(e,t){return"undefined"!==typeof window.getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):e.currentStyle[t]},getSelector:function(e,t){var n=null;return n=1===arguments.length?null!=e.nodeType?e:document.querySelectorAll(e):e.querySelectorAll(t),n},getOffset:function(e,t,n){e=jsPlumb.getElement(e),n=n||this.getContainer();var r={left:e.offsetLeft,top:e.offsetTop},i=t||null!=n&&e!==n&&e.offsetParent!==n?e.offsetParent:null,o=function(e){null!=e&&e!==document.body&&(e.scrollTop>0||e.scrollLeft>0)&&(r.left-=e.scrollLeft,r.top-=e.scrollTop)}.bind(this);while(null!=i)r.left+=i.offsetLeft,r.top+=i.offsetTop,o(i),i=t?i.offsetParent:i.offsetParent===n?null:i.offsetParent;if(null!=n&&!t&&(n.scrollTop>0||n.scrollLeft>0)){var a=null!=e.offsetParent?this.getStyle(e.offsetParent,"position"):"static",s=this.getStyle(e,"position");"absolute"!==s&&"fixed"!==s&&"absolute"!==a&&"fixed"!==a&&(r.left-=n.scrollLeft,r.top-=n.scrollTop)}return r},getPositionOnElement:function(e,t,n){var r="undefined"!==typeof t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0,width:0,height:0},i=document.body,o=document.documentElement,a=window.pageYOffset||o.scrollTop||i.scrollTop,s=window.pageXOffset||o.scrollLeft||i.scrollLeft,l=o.clientTop||i.clientTop||0,u=o.clientLeft||i.clientLeft||0,c=0,f=0,h=r.top+a-l+c*n,d=r.left+s-u+f*n,p=jsPlumb.pageLocation(e),g=r.width||t.offsetWidth*n,v=r.height||t.offsetHeight*n,y=(p[0]-d)/g,m=(p[1]-h)/v;return[y,m]},getAbsolutePosition:function(e){var t=function(t){var n=e.style[t];if(n)return parseFloat(n.substring(0,n.length-2))};return[t("left"),t("top")]},setAbsolutePosition:function(e,t,n,r){n?this.animate(e,{left:"+="+(t[0]-n[0]),top:"+="+(t[1]-n[1])},r):(e.style.left=t[0]+"px",e.style.top=t[1]+"px")},getSize:function(e){return[e.offsetWidth,e.offsetHeight]},getWidth:function(e){return e.offsetWidth},getHeight:function(e){return e.offsetHeight},getRenderMode:function(){return"svg"},draggable:function(e,t){var r;return e=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],Array.prototype.slice.call(e).forEach(function(e){r=this.info(e),r.el&&this._initDraggableIfNecessary(r.el,!0,t,r.id,!0)}.bind(this)),this},snapToGrid:function(e,t,n){var r=[],i=function(e){var i=this.info(e);if(null!=i.el&&i.el._katavorioDrag){var o=i.el._katavorioDrag.snap(t,n);this.revalidate(i.el),r.push([i.el,o])}}.bind(this);if(1===arguments.length||3===arguments.length)i(e,t,n);else{var o=this.getManagedElements();for(var a in o)i(a,arguments[0],arguments[1])}return r},initDraggable:function(e,t,n){a(this,n).draggable(e,t),e._jsPlumbDragOptions=t},destroyDraggable:function(e,t){a(this,t).destroyDraggable(e),e._jsPlumbDragOptions=null,e._jsPlumbRelatedElement=null},unbindDraggable:function(e,t,n,r){a(this,r).destroyDraggable(e,t,n)},setDraggable:function(e,t){return jsPlumb.each(e,function(e){this.isDragSupported(e)&&(this._draggableStates[this.getAttribute(e,"id")]=t,this.setElementDraggable(e,t))}.bind(this))},_draggableStates:{},toggleDraggable:function(e){var t;return jsPlumb.each(e,function(e){var n=this.getAttribute(e,"id");return t=null!=this._draggableStates[n]&&this._draggableStates[n],t=!t,this._draggableStates[n]=t,this.setDraggable(e,t),t}.bind(this)),t},_initDraggableIfNecessary:function(e,t,r,i,o){if(!jsPlumb.headless){var a=null!=t&&t;if(a&&jsPlumb.isDragSupported(e,this)){var c=r||this.Defaults.DragOptions;if(c=jsPlumb.extend({},c),jsPlumb.isAlreadyDraggable(e,this))r.force&&this.initDraggable(e,c);else{var f=jsPlumb.dragEvents.drag,h=jsPlumb.dragEvents.stop,d=jsPlumb.dragEvents.start;this.manage(i,e),c[d]=n.wrap(c[d],s.bind(this)),c[f]=n.wrap(c[f],l.bind(this)),c[h]=n.wrap(c[h],u.bind(this));var p=this.getId(e);this._draggableStates[p]=!0;var g=this._draggableStates[p];c.disabled=null!=g&&!g,this.initDraggable(e,c),this.getDragManager().register(e),o&&this.fire("elementDraggable",{el:e,options:c})}}}},animationSupported:!0,getElement:function(e){return null==e?null:(e="string"===typeof e?e:null==e.tagName&&null!=e.length&&null==e.enctype?e[0]:e,"string"===typeof e?document.getElementById(e):e)},removeElement:function(e){a(this).elementRemoved(e),this.getEventManager().remove(e)},doAnimate:function(e,n,r){r=r||{};var i=this.getOffset(e),o=c(i,n),a=o[0]-i.left,s=o[1]-i.top,l=r.duration||250,u=15,f=l/u,h=u/l*a,d=u/l*s,p=0,g=setInterval((function(){t.setPosition(e,{left:i.left+h*(p+1),top:i.top+d*(p+1)}),null!=r.step&&r.step(p,Math.ceil(f)),p++,p>=f&&(window.clearInterval(g),null!=r.complete&&r.complete())}),u)},destroyDroppable:function(e,t){a(this,t).destroyDroppable(e)},unbindDroppable:function(e,t,n,r){a(this,r).destroyDroppable(e,t,n)},droppable:function(e,t){var r;return e=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],t=t||{},t.allowLoopback=!1,Array.prototype.slice.call(e).forEach(function(e){r=this.info(e),r.el&&this.initDroppable(r.el,t)}.bind(this)),this},initDroppable:function(e,t,n){a(this,n).droppable(e,t)},isAlreadyDraggable:function(e){return null!=e._katavorioDrag},isDragSupported:function(e,t){return!0},isDropSupported:function(e,t){return!0},isElementDraggable:function(e){return e=t.getElement(e),e._katavorioDrag&&e._katavorioDrag.isEnabled()},getDragObject:function(e){return e[0].drag.getDragElement()},getDragScope:function(e){return e._katavorioDrag&&e._katavorioDrag.scopes.join(" ")||""},getDropEvent:function(e){return e[0].e},getUIPosition:function(e,t){var n=e[0].el;if(null==n.offsetParent)return null;var r=e[0].finalPos||e[0].pos,i={left:r[0],top:r[1]};if(n._katavorioDrag&&n.offsetParent!==this.getContainer()){var o=this.getOffset(n.offsetParent);i.left+=o.left,i.top+=o.top}return i},setDragFilter:function(e,t,n){e._katavorioDrag&&e._katavorioDrag.setFilter(t,n)},setElementDraggable:function(e,n){e=t.getElement(e),e._katavorioDrag&&e._katavorioDrag.setEnabled(n)},setDragScope:function(e,t){e._katavorioDrag&&e._katavorioDrag.k.setDragScope(e,t)},setDropScope:function(e,t){e._katavorioDrop&&e._katavorioDrop.length>0&&e._katavorioDrop[0].k.setDropScope(e,t)},addToPosse:function(e,n){var r=Array.prototype.slice.call(arguments,1),i=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,r),i.addToPosse.apply(i,e)}))},setPosse:function(e,n){var r=Array.prototype.slice.call(arguments,1),i=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,r),i.setPosse.apply(i,e)}))},removeFromPosse:function(e,n){var r=Array.prototype.slice.call(arguments,1),i=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,r),i.removeFromPosse.apply(i,e)}))},removeFromAllPosses:function(e){var n=a(this);t.each(e,(function(e){n.removeFromAllPosses(t.getElement(e))}))},setPosseState:function(e,n,r){var i=a(this);t.each(e,(function(e){i.setPosseState(t.getElement(e),n,r)}))},dragEvents:{start:"start",stop:"stop",drag:"drag",step:"step",over:"over",out:"out",drop:"drop",complete:"complete",beforeStart:"beforeStart"},animEvents:{step:"step",complete:"complete"},stopDrag:function(e){e._katavorioDrag&&e._katavorioDrag.abort()},addToDragSelection:function(e){var t=this.getElement(e);null==t||!t._isJsPlumbGroup&&null!=t._jsPlumbGroup||a(this).select(e)},removeFromDragSelection:function(e){a(this).deselect(e)},getDragSelection:function(){return a(this).getSelection()},clearDragSelection:function(){a(this).deselectAll()},trigger:function(e,t,n,r){this.getEventManager().trigger(e,t,n,r)},doReset:function(){for(var e in this)0===e.indexOf("_katavorio_")&&this[e].reset()},getEventManager:function(){return o(this)},on:function(e,t,n){return this.getEventManager().on.apply(this,arguments),this},off:function(e,t,n){return this.getEventManager().off.apply(this,arguments),this}});var x=function(e){var t=function(){/complete|loaded|interactive/.test(document.readyState)&&"undefined"!==typeof document.body&&null!=document.body?e():setTimeout(t,9)};t()};x(t.init)}.call("undefined"!==typeof window?window:this)},eb214:function(e,t,n){"use strict";n.d(t,"b",(function(){return Ej})),n.d(t,"a",(function(){return rN}));var r=n("5e90"),i=function(){function e(){globalThis._ids=this,this._ids=new Set}return e.prototype.generateId=function(){var e="xxxxxxx".replace(/[x]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}));return e},e.prototype.next=function(){var e=this.generateId();while(this._ids.has(e))e=this.generateId();return this._ids.add(e),e},e}(),o=(null===globalThis||void 0===globalThis?void 0:globalThis._ids)||new i;function a(){return o.next()}var s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e){function t(t,n){var r=this;return t.id||(t.id="Event_"+a()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),r=e.call(this,t,n)||this,r}return s(t,e),t.prototype.setAttributes=function(){this.r=18},t.prototype.getConnectedTargetRules=function(){var t=e.prototype.getConnectedTargetRules.call(this),n={message:"起始节点不能作为边的终点",validate:function(){return!1}};return t.push(n),t},t.extendKey="StartEventModel",t}(r["CircleNodeModel"]),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.extendKey="StartEventNode",t}(r["CircleNode"]),c={type:"bpmn:startEvent",view:u,model:l},f=c,h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},d.apply(this,arguments)},p=function(e){function t(t,n){var r=this;return t.id||(t.id="Event_"+a()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),r=e.call(this,t,n)||this,r}return h(t,e),t.prototype.setAttributes=function(){this.r=18},t.prototype.getConnectedSourceRules=function(){var t=e.prototype.getConnectedSourceRules.call(this),n={message:"结束节点不能作为边的起点",validate:function(){return!1}};return t.push(n),t},t.extendKey="EndEventModel",t}(r["CircleNodeModel"]),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.getAnchorStyle=function(){return{visibility:"hidden"}},t.prototype.getShape=function(){var t=this.props.model,n=t.getNodeStyle(),i=t.x,o=t.y,a=t.r,s=e.prototype.getShape.call(this);return Object(r["h"])("g",{},s,Object(r["h"])("circle",d(d({},n),{cx:i,cy:o,r:a-5})))},t.extendKey="EndEventView",t}(r["CircleNode"]),v={type:"bpmn:endEvent",view:g,model:p},y=v,m=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(){return b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},b.apply(this,arguments)},_=function(e){function t(t,n){var r=this;return t.id||(t.id="Gateway_"+a()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),r=e.call(this,t,n)||this,r.points=[[25,0],[50,25],[25,50],[0,25]],r}return m(t,e),t.extendKey="ExclusiveGatewayModel",t}(r["PolygonNodeModel"]),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.getShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.points,s=e.getNodeStyle();return Object(r["h"])("g",{transform:"matrix(1 0 0 1 "+(t-i/2)+" "+(n-o/2)+")"},Object(r["h"])("polygon",b(b({},s),{x:t,y:n,points:a})),Object(r["h"])("path",b({d:"m 16,15 7.42857142857143,9.714285714285715 -7.42857142857143,9.714285714285715 3.428571428571429,0 5.714285714285715,-7.464228571428572 5.714285714285715,7.464228571428572 3.428571428571429,0 -7.42857142857143,-9.714285714285715 7.42857142857143,-9.714285714285715 -3.428571428571429,0 -5.714285714285715,7.464228571428572 -5.714285714285715,-7.464228571428572 -3.428571428571429,0 z"},s)))},t.extendKey="ExclusiveGatewayNode",t}(r["PolygonNode"]),w={type:"bpmn:exclusiveGateway",view:x,model:_},S=w,k=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},E.apply(this,arguments)},O=function(e){function t(t,n){var r=this;return t.id||(t.id="Activity_"+a()),r=e.call(this,t,n)||this,r}return k(t,e),t.extendKey="UserTaskModel",t}(r["RectNodeModel"]),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.getLabelShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.getNodeStyle();return Object(r["h"])("svg",{x:t-i/2+5,y:n-o/2+5,width:25,height:25,viewBox:"0 0 1274 1024"},Object(r["h"])("path",{fill:a.stroke,d:"M655.807326 287.35973m-223.989415 0a218.879 218.879 0 1 0 447.978829 0 218.879 218.879 0 1 0-447.978829 0ZM1039.955839 895.482975c-0.490184-212.177424-172.287821-384.030443-384.148513-384.030443-211.862739 0-383.660376 171.85302-384.15056 384.030443L1039.955839 895.482975z"}))},t.prototype.getShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.radius,s=e.getNodeStyle();return Object(r["h"])("g",{},[Object(r["h"])("rect",E(E({},s),{x:t-i/2,y:n-o/2,rx:a,ry:a,width:i,height:o})),this.getLabelShape()])},t.extendKey="UserTaskNode",t}(r["RectNode"]),A={type:"bpmn:userTask",view:C,model:O},T=A,P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(){return M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},M.apply(this,arguments)},D=function(e){function t(t,n){var r=this;return t.id||(t.id="Activity_"+a()),r=e.call(this,t,n)||this,r}return P(t,e),t.extendKey="ServiceTaskModel",t}(r["RectNodeModel"]),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.getLabelShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.getNodeStyle();return Object(r["h"])("svg",{x:t-i/2+5,y:n-o/2+5,width:30,height:30,viewBox:"0 0 1274 1024"},Object(r["h"])("path",{fill:a.stroke,d:"M882.527918 434.149934c-2.234901-5.303796-7.311523-8.853645-13.059434-9.138124l-61.390185-3.009544c-6.635117-20.973684-15.521508-41.175795-26.513864-60.282968l42.051745-47.743374c4.308119-4.889357 4.955872-12.004405 1.602498-17.59268-46.384423-77.30362-103.969956-101.422947-106.400309-102.410438-5.332449-2.170432-11.432377-1.090844-15.693424 2.77009L654.674467 240.664222c-17.004279-8.654101-35.092239-15.756869-53.995775-21.210068l-3.26537-66.490344c-0.280386-5.747911-3.833305-10.824533-9.134031-13.059434-1.683339-0.709151-30.193673-12.391215-76.866668-12.051477-46.672996-0.339738-75.18333 11.342326-76.866668 12.051477-5.300726 2.234901-8.853645 7.311523-9.134031 13.059434l-3.26537 66.490344c-18.903535 5.453199-36.991496 12.555967-53.995775 21.210068l-48.450479-43.922349c-4.261047-3.860934-10.360975-4.940522-15.693424-2.77009-2.430352 0.98749-60.015885 25.106818-106.400309 102.410438-3.353374 5.588275-2.705622 12.703323 1.602498 17.59268l42.051745 47.743374c-10.992355 19.107173-19.878746 39.309284-26.513864 60.282968l-61.390185 3.009544c-5.747911 0.284479-10.824533 3.834328-13.059434 9.138124-1.01512 2.415003-24.687262 60.190871-2.822278 147.651828 1.583055 6.324032 7.072069 10.893094 13.57518 11.308557 5.892197 0.37146 11.751648 0.523933 17.419741 0.667196 14.498202 0.372483 28.193109 0.723477 40.908712 4.63353 4.212952 1.294482 6.435573 8.270361 9.349949 18.763342 1.287319 4.640694 2.617617 9.43693 4.484128 14.010085 1.794879 4.393054 3.75758 8.570189 5.66093 12.607132 1.302669 2.765997 2.529613 5.380544 3.689019 8.018627 2.986007 6.803963 2.682086 9.773598 2.578732 10.349719-3.061732 3.672646-6.391571 7.238868-9.91379 11.015891-1.810229 1.943258-3.680832 3.949962-5.523807 5.980201l-22.560832 24.8909c-3.865028 4.261047-4.940522 10.365068-2.774183 15.693424 0.991584 2.426259 25.102724 60.011792 102.414531 106.400309 5.588275 3.353374 12.703323 2.701528 17.591657-1.603521l23.476691-20.682042c2.346441-2.061962 4.64888-4.336772 6.875594-6.534833 9.05319-8.93858 14.018272-12.95608 17.73185-11.576663 3.305279 1.222851 6.907317 3.166109 10.720156 5.228071 3.325745 1.794879 6.764054 3.650133 10.465352 5.288446 6.016017 2.662643 12.120039 4.688789 18.019399 6.65149 6.827499 2.266623 13.279445 4.409426 18.819624 7.275707 1.518586 0.782829 1.926886 0.994654 2.358721 7.830339 0.726547 11.496845 1.25048 23.276123 1.753947 34.672684 0.264013 5.900384 0.528026 11.803837 0.815575 17.700127 0.284479 5.743818 3.833305 10.82044 9.138124 13.05534 1.654686 0.698918 29.371958 12.063757 74.869175 12.063757 0.328481 0 3.65832 0 3.986801 0 45.497217 0 73.214489-11.364839 74.869175-12.063757 5.304819-2.234901 8.853645-7.311523 9.138124-13.05534 0.287549-5.89629 0.551562-11.799744 0.815575-17.700127 0.503467-11.396561 1.027399-23.175839 1.753947-34.672684 0.431835-6.835685 0.840134-7.04751 2.358721-7.830339 5.54018-2.866281 11.992125-5.009084 18.819624-7.275707 5.89936-1.962701 12.003382-3.988848 18.019399-6.65149 3.701299-1.638313 7.139607-3.493567 10.465352-5.288446 3.812839-2.061962 7.414877-4.00522 10.720156-5.228071 3.713578-1.379417 8.67866 2.638083 17.73185 11.576663 2.226714 2.198062 4.529153 4.472871 6.875594 6.534833l23.476691 20.682042c4.888334 4.305049 12.003382 4.956895 17.591657 1.603521 77.311807-46.388517 101.422947-103.97405 102.414531-106.400309 2.166339-5.328355 1.090844-11.432377-2.774183-15.693424l-22.560832-24.8909c-1.842974-2.030239-3.713578-4.036943-5.523807-5.980201-3.52222-3.777023-6.852058-7.343245-9.91379-11.015891-0.103354-0.576121-0.407276-3.545756 2.578732-10.349719 1.159406-2.638083 2.38635-5.252631 3.689019-8.018627 1.90335-4.036943 3.866051-8.214079 5.66093-12.607132 1.866511-4.573155 3.196809-9.369392 4.484128-14.010085 2.914376-10.492982 5.136997-17.46886 9.349949-18.763342 12.715603-3.910053 26.41051-4.261047 40.908712-4.63353 5.668093-0.143263 11.527544-0.295735 17.419741-0.667196 6.503111-0.415462 11.992125-4.984524 13.57518-11.308557C907.21518 494.340805 883.543038 436.564937 882.527918 434.149934zM643.49894 643.761929c-35.280528 35.280528-82.191954 54.711066-132.086317 54.711066s-96.806813-19.430538-132.086317-54.711066c-35.280528-35.279504-54.711066-82.191954-54.711066-132.086317 0-49.894364 19.430538-96.80272 54.711066-132.082224 35.283598-35.284621 82.191954-54.711066 132.086317-54.711066s96.80579 19.426445 132.086317 54.711066c35.279504 35.279504 54.711066 82.187861 54.711066 132.082224C698.210006 561.569976 678.782537 608.482425 643.49894 643.761929z"}))},t.prototype.getShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.radius,s=e.getNodeStyle();return Object(r["h"])("g",{},[Object(r["h"])("rect",M({x:t-i/2,y:n-o/2,rx:a,ry:a,width:i,height:o},s)),this.getLabelShape()])},t.extendKey="ServiceTaskNode",t}(r["RectNode"]),L={type:"bpmn:serviceTask",view:I,model:D},R=L,j=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),N=function(e){function t(t,n){var r=this;return t.id||(t.id="Flow_"+a()),r=e.call(this,t,n)||this,r}return j(t,e),t.extendKey="SequenceFlowModel",t}(r["PolylineEdgeModel"]),B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.extendKey="SequenceFlowEdge",t}(r["PolylineEdge"]),F={type:"bpmn:sequenceFlow",view:B,model:N},z=F,U={width:40,height:40},H={width:40,height:40},V={width:40,height:40},G={width:100,height:80},W={width:100,height:80},q={rect:{radius:5,stroke:"rgb(24, 125, 255)"},circle:{r:18,stroke:"rgb(24, 125, 255)"},polygon:{stroke:"rgb(24, 125, 255)"},polyline:{stroke:"rgb(24, 125, 255)",hoverStroke:"rgb(24, 125, 255)",selectedStroke:"rgb(24, 125, 255)"},edgeText:{background:{fill:"white",height:14,stroke:"transparent",radius:3}}},X=(function(){function e(e){var t=e.lf;t.setTheme(q),t.register(f),t.register(y),t.register(S),t.register(T),t.register(R),t.options.customBpmnEdge||(t.register(z),t.setDefaultEdgeType("bpmn:sequenceFlow"))}e.pluginName="bpmnElement"}(),function(){function e(){globalThis._ids=this,this._ids=new Set}return e.prototype.generateId=function(){var e="xxxxxxx".replace(/[x]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}));return e},e.prototype.next=function(){var e=this.generateId();while(this._ids.has(e))e=this.generateId();return this._ids.add(e),e},e}()),Y=(null===globalThis||void 0===globalThis?void 0:globalThis._ids)||new X;function K(){return Y.next()}function $(e){return Object.prototype.toString.call(e)}function Z(e){return" ".repeat(e)}function J(e){var t=e;return"[object Object]"===$(e)?(t={},Object.keys(e).forEach((function(n){var r=n;"-"===n.charAt(0)&&(r=n.substring(1)),t[r]=J(e[n])}))):Array.isArray(e)&&(t=[],e.forEach((function(e,n){t[n]=J(e)}))),t}function Q(e){var t=e;try{"string"!==typeof t&&(t=JSON.parse(e))}catch(n){t=JSON.stringify(J(e)).replace(/"/g,"'")}return t}var ee="\t\n";function te(e,t,n){var r=Z(n),i="";if("#text"===t)return ee+r+e;if("#cdata-section"===t)return ee+r+"<![CDATA["+e+"]]>";if("#comment"===t)return ee+r+"\x3c!--"+e+"--\x3e";if("-"===(""+t).charAt(0))return" "+t.substring(1)+'="'+Q(e)+'"';if(Array.isArray(e))e.forEach((function(e){i+=te(e,t,n+1)}));else if("[object Object]"===$(e)){var o=Object.keys(e),a="",s="";i+=(0===n?"":ee+r)+"<"+t,o.forEach((function(t){"-"===t.charAt(0)?a+=te(e[t],t,n+1):s+=te(e[t],t,n+1)})),i+=a+(""!==s?">"+s+(ee+r)+"</"+t+">":" />")}else i+=ee+r+"<"+t+">"+e.toString()+"</"+t+">";return i}function ne(e){var t="";for(var n in e)t+=te(e[n],n,0);return t}var re=function(){};re.ObjTree=function(){return this},re.ObjTree.VERSION="0.23",re.ObjTree.prototype.xmlDecl='<?xml version="1.0" encoding="UTF-8" ?>\n',re.ObjTree.prototype.attr_prefix="-",re.ObjTree.prototype.parseXML=function(e){var t;if(window.DOMParser){var n=new DOMParser,r=n.parseFromString(e,"application/xml");if(!r)return;t=r.documentElement}else window.ActiveXObject&&(n=new ActiveXObject("Microsoft.XMLDOM"),n.async=!1,n.loadXML(e),t=n.documentElement);if(t)return this.parseDOM(t)},re.ObjTree.prototype.parseHTTP=function(e,t,n){var r,i={};for(var o in t)i[o]=t[o];if(i.method||("undefined"==typeof i.postBody&&"undefined"==typeof i.postbody&&"undefined"==typeof i.parameters?i.method="get":i.method="post"),n){i.asynchronous=!0;var a=this,s=n,l=i.onComplete;i.onComplete=function(e){var t;e&&e.responseXML&&e.responseXML.documentElement&&(t=a.parseDOM(e.responseXML.documentElement)),s(t,e),l&&l(e)}}else i.asynchronous=!1;if("undefined"!=typeof HTTP&&HTTP.Request){i.uri=e;var u=new HTTP.Request(i);u&&(r=u.transport)}else if("undefined"!=typeof Ajax&&Ajax.Request){u=new Ajax.Request(e,i);u&&(r=u.transport)}return n?r:r&&r.responseXML&&r.responseXML.documentElement?this.parseDOM(r.responseXML.documentElement):void 0},re.ObjTree.prototype.parseDOM=function(e){if(e){if(this.__force_array={},this.force_array)for(var t=0;t<this.force_array.length;t++)this.__force_array[this.force_array[t]]=1;var n=this.parseElement(e);if(this.__force_array[e.nodeName]&&(n=[n]),11!=e.nodeType){var r={};r[e.nodeName]=n,n=r}return n}},re.ObjTree.prototype.parseElement=function(e){if(7!=e.nodeType){if(3==e.nodeType||4==e.nodeType||8==e.nodeType){var t=e.nodeValue.match(/[^\x00-\x20]/);if(null==t)return;return e.nodeValue}var n=null,r={};if(e.attributes&&e.attributes.length){n={};for(var i=0;i<e.attributes.length;i++){var o=e.attributes[i].nodeName;if("string"==typeof o){var a=e.attributes[i].nodeValue;try{a=JSON.parse(e.attributes[i].nodeValue.replace(/'/g,'"'))}catch(u){a=e.attributes[i].nodeValue}a&&(o=this.attr_prefix+o,"undefined"==typeof r[o]&&(r[o]=0),r[o]++,this.addNode(n,o,r[o],a))}}}if(e.childNodes&&e.childNodes.length){var s=!0;n&&(s=!1);for(i=0;i<e.childNodes.length&&s;i++){var l=e.childNodes[i].nodeType;3!=l&&4!=l&&8!=l&&(s=!1)}if(s){n||(n="");for(i=0;i<e.childNodes.length;i++)n+=e.childNodes[i].nodeValue}else{n||(n={});for(i=0;i<e.childNodes.length;i++){o=e.childNodes[i].nodeName;if("string"==typeof o){a=this.parseElement(e.childNodes[i]);a&&("undefined"==typeof r[o]&&(r[o]=0),r[o]++,this.addNode(n,o,r[o],a))}}}}else null===n&&(n={});return n}},re.ObjTree.prototype.addNode=function(e,t,n,r){this.__force_array[t]?(1==n&&(e[t]=[]),e[t][e[t].length]=r):1==n?e[t]=r:2==n?e[t]=[e[t],r]:e[t][e[t].length]=r},re.ObjTree.prototype.writeXML=function(e){var t=this.hash_to_xml(null,e);return this.xmlDecl+t},re.ObjTree.prototype.hash_to_xml=function(e,t){var n=[],r=[];for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];i.charAt(0)!=this.attr_prefix?"undefined"==typeof o||null==o?n[n.length]="<"+i+" />":"object"==typeof o&&o.constructor==Array?n[n.length]=this.array_to_xml(i,o):n[n.length]="object"==typeof o?this.hash_to_xml(i,o):this.scalar_to_xml(i,o):r[r.length]=" "+i.substring(1)+'="'+this.xml_escape(o)+'"'}var a=r.join(""),s=n.join("");return"undefined"==typeof e||null==e||(s=n.length>0?s.match(/\n/)?"<"+e+a+">\n"+s+"</"+e+">\n":"<"+e+a+">"+s+"</"+e+">\n":"<"+e+a+" />\n"),s},re.ObjTree.prototype.array_to_xml=function(e,t){for(var n=[],r=0;r<t.length;r++){var i=t[r];"undefined"==typeof i||null==i?n[n.length]="<"+e+" />":"object"==typeof i&&i.constructor==Array?n[n.length]=this.array_to_xml(e,i):n[n.length]="object"==typeof i?this.hash_to_xml(e,i):this.scalar_to_xml(e,i)}return n.join("")},re.ObjTree.prototype.scalar_to_xml=function(e,t){return"#text"==e?this.xml_escape(t):"<"+e+">"+this.xml_escape(t)+"</"+e+">\n"},re.ObjTree.prototype.xml_escape=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"')};var ie,oe=function(e){return(new re.ObjTree).parseXML(e)},ae=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),se=function(){return se=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},se.apply(this,arguments)},le=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a};(function(e){e["START"]="bpmn:startEvent",e["END"]="bpmn:endEvent",e["GATEWAY"]="bpmn:exclusiveGateway",e["USER"]="bpmn:userTask",e["SYSTEM"]="bpmn:serviceTask",e["FLOW"]="bpmn:sequenceFlow"})(ie||(ie={}));var ue=["-name","-id","bpmn:incoming","bpmn:outgoing","-sourceRef","-targetRef"],ce=["properties","startPoint","endPoint","pointsList"];function fe(e){var t=e?ce.concat(e):ce;return function(e){function n(e){var r={};return"string"===typeof e?e:Array.isArray(e)?e.map((function(e){return n(e)})):(Object.entries(e).forEach((function(e){var i=le(e,2),o=i[0],a=i[1];"object"!==typeof a?0===o.indexOf("-")||["#text","#cdata-section","#comment"].includes(o)?r[o]=a:r["-"+o]=a:t.includes(o)?r["-"+o]=n(a):r[o]=n(a)})),r)}return n(e)}}function he(e){var t={};return Object.entries(e).forEach((function(e){var n=le(e,2),r=n[0],i=n[1];0===r.indexOf("-")?t[r.substring(1)]=J(i):"string"===typeof i?t[r]=i:"[object Object]"===Object.prototype.toString.call(i)?t[r]=he(i):Array.isArray(i)?t[r]=i.map((function(e){return he(e)})):t[r]=i})),t}function de(e,t,n){var r=new Map;t.nodes.forEach((function(t){var i,o={"-id":t.id};if((null===(i=t.text)||void 0===i?void 0:i.value)&&(o["-name"]=t.text.value),t.properties){var a=fe(n)(t.properties);Object.assign(o,a)}r.set(t.id,o),e[t.type]?Array.isArray(e[t.type])?e[t.type].push(o):e[t.type]=[e[t.type],o]:e[t.type]=o}));var i=t.edges.map((function(e){var t,i,o=r.get(e.targetNodeId);o["bpmn:incoming"]?Array.isArray(o["bpmn:incoming"])?o["bpmn:incoming"].push(e.id):o["bpmn:incoming"]=[o["bpmn:incoming"],e.id]:o["bpmn:incoming"]=e.id;var a={"-id":e.id,"-sourceRef":e.sourceNodeId,"-targetRef":e.targetNodeId};if((null===(t=e.text)||void 0===t?void 0:t.value)&&(a["-name"]=null===(i=e.text)||void 0===i?void 0:i.value),e.properties){var s=fe(n)(e.properties);Object.assign(a,s)}return a}));t.edges.forEach((function(e){var t=r.get(e.sourceNodeId);t["bpmn:outgoing"]?Array.isArray(t["bpmn:outgoing"])?t["bpmn:outgoing"].push(e.id):t["bpmn:outgoing"]=[t["bpmn:outgoing"],e.id]:t["bpmn:outgoing"]=e.id})),e[ie.FLOW]=i}function pe(e,t){e["bpmndi:BPMNEdge"]=t.edges.map((function(e){var t,n=e.id,r=e.pointsList.map((function(e){var t=e.x,n=e.y;return{"-x":t,"-y":n}})),i={"-id":n+"_di","-bpmnElement":n,"di:waypoint":r};return(null===(t=e.text)||void 0===t?void 0:t.value)&&(i["bpmndi:BPMNLabel"]={"dc:Bounds":{"-x":e.text.x-10*e.text.value.length/2,"-y":e.text.y-7,"-width":10*e.text.value.length,"-height":14}}),i})),e["bpmndi:BPMNShape"]=t.nodes.map((function(e){var t,n=e.id,r=100,i=80,o=e.x,a=e.y,s=_e.shapeConfigMap.get(e.type);s&&(r=s.width,i=s.height),o-=r/2,a-=i/2;var l={"-id":n+"_di","-bpmnElement":n,"dc:Bounds":{"-x":o,"-y":a,"-width":r,"-height":i}};return(null===(t=e.text)||void 0===t?void 0:t.value)&&(l["bpmndi:BPMNLabel"]={"dc:Bounds":{"-x":e.text.x-10*e.text.value.length/2,"-y":e.text.y-7,"-width":10*e.text.value.length,"-height":14}}),l}))}function ge(e){var t=[],n=[],r=e["bpmn:definitions"];if(r){var i=r["bpmn:process"];Object.keys(i).forEach((function(e){if(0===e.indexOf("bpmn:")){var o=i[e];if(e===ie.FLOW){var a=r["bpmndi:BPMNDiagram"]["bpmndi:BPMNPlane"]["bpmndi:BPMNEdge"];n=me(o,a)}else{var s=r["bpmndi:BPMNDiagram"]["bpmndi:BPMNPlane"]["bpmndi:BPMNShape"];t=t.concat(ve(o,s,e))}}}))}return{nodes:t,edges:n}}function ve(e,t,n){var r=[];if(Array.isArray(e))e.forEach((function(e){var i;i=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t;var o=ye(i,n,e);r.push(o)}));else{var i=void 0;i=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t;var o=ye(i,n,e);r.push(o)}return r}function ye(e,t,n){var r,i,o=Number(e["dc:Bounds"]["-x"]),a=Number(e["dc:Bounds"]["-y"]),s=n["-name"],l=_e.shapeConfigMap.get(t);if(l&&(o+=l.width/2,a+=l.height/2),Object.entries(n).forEach((function(e){var t=le(e,2),n=t[0],i=t[1];-1===ue.indexOf(n)&&(r||(r={}),r[n]=i)})),r&&(r=he(r)),s&&(i={x:o,y:a,value:s},e["bpmndi:BPMNLabel"]&&e["bpmndi:BPMNLabel"]["dc:Bounds"])){var u=e["bpmndi:BPMNLabel"]["dc:Bounds"];i.x=Number(u["-x"])+Number(u["-width"])/2,i.y=Number(u["-y"])+Number(u["-height"])/2}var c={id:e["-bpmnElement"],type:t,x:o,y:a,properties:r};return i&&(c.text=i),c}function me(e,t){var n=[];if(Array.isArray(e))e.forEach((function(e){var r;r=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t,n.push(be(r,e))}));else{var r=void 0;r=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t,n.push(be(r,e))}return n}function be(e,t){var n,r,i=t["-name"];if(i){var o=e["bpmndi:BPMNLabel"]["dc:Bounds"],a=0;i.split("\n").forEach((function(e){a<e.length&&(a=e.length)})),n={value:i,x:Number(o["-x"])+10*a/2,y:Number(o["-y"])+7}}Object.entries(t).forEach((function(e){var t=le(e,2),n=t[0],i=t[1];-1===ue.indexOf(n)&&(r||(r={}),r[n]=i)})),r&&(r=he(r));var s={id:t["-id"],type:ie.FLOW,pointsList:e["di:waypoint"].map((function(e){return{x:Number(e["-x"]),y:Number(e["-y"])}})),sourceNodeId:t["-sourceRef"],targetNodeId:t["-targetRef"],properties:r};return n&&(s.text=n),s}var _e=function(){function e(e){var t=this,n=e.lf;this.adapterOut=function(e,n){var r=se({},t.processAttributes);de(r,e,n);var i={"-id":"BPMNPlane_1","-bpmnElement":r["-id"]};pe(i,e);var o=t.definitionAttributes;o["bpmn:process"]=r,o["bpmndi:BPMNDiagram"]={"-id":"BPMNDiagram_1","bpmndi:BPMNPlane":i};var a={"bpmn:definitions":o};return a},this.adapterIn=function(e){if(e)return ge(e)},n.adapterIn=function(e){return t.adapterIn(e)},n.adapterOut=function(e,n){return t.adapterOut(e,n)},this.processAttributes={"-isExecutable":"true","-id":"Process_"+K()},this.definitionAttributes={"-id":"Definitions_"+K(),"-xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","-xmlns:bpmn":"http://www.omg.org/spec/BPMN/20100524/MODEL","-xmlns:bpmndi":"http://www.omg.org/spec/BPMN/20100524/DI","-xmlns:dc":"http://www.omg.org/spec/DD/20100524/DC","-xmlns:di":"http://www.omg.org/spec/DD/20100524/DI","-targetNamespace":"http://logic-flow.org","-exporter":"logicflow","-exporterVersion":"1.2.0"}}return e.prototype.setCustomShape=function(t,n){e.shapeConfigMap.set(t,n)},e.pluginName="bpmn-adapter",e.shapeConfigMap=new Map,e}();_e.shapeConfigMap.set(ie.START,{width:U.width,height:U.height}),_e.shapeConfigMap.set(ie.END,{width:H.width,height:H.height}),_e.shapeConfigMap.set(ie.GATEWAY,{width:V.width,height:V.height}),_e.shapeConfigMap.set(ie.SYSTEM,{width:G.width,height:G.height}),_e.shapeConfigMap.set(ie.USER,{width:W.width,height:W.height});(function(e){function t(t){var n=e.call(this,t)||this;n.adapterXmlIn=function(e){var t=oe(e);return n.adapterIn(t)},n.adapterXmlOut=function(e,t){var r=n.adapterOut(e,t);return ne(r)};var r=t.lf;return r.adapterIn=n.adapterXmlIn,r.adapterOut=n.adapterXmlOut,n}ae(t,e),t.pluginName="bpmnXmlAdapter"})(_e);function xe(){var e={message:"分组外的节点不允许连接分组内的",validate:function(e,t,n,r){var i=!!e.properties.parent,o=!!t.properties.parent;return!(!i&&o)}};this.targetRules.push(e)}var we=function(){function e(){globalThis._ids=this,this._ids=new Set}return e.prototype.generateId=function(){var e="xxxxxxx".replace(/[x]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}));return e},e.prototype.next=function(){var e=this.generateId();while(this._ids.has(e))e=this.generateId();return this._ids.add(e),e},e}(),Se=(null===globalThis||void 0===globalThis?void 0:globalThis._ids)||new we;function ke(){return Se.next()}var Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oe=function(){return Oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Oe.apply(this,arguments)},Ce=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Ae=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ce(arguments[t]));return e};function Te(e){var t=Ce(e.useDefinition(),1),n=t[0],i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ee(t,e),t.prototype.getAnchorStyle=function(){return{visibility:"hidden"}},t.prototype.getShape=function(){var t,i=this.props.model,o=i.getNodeStyle(),a=i.x,s=i.y,l=i.r,u=i.width,c=i.height,f=i.properties,h=e.prototype.getShape.call(this),d=f.definitionType,p=((null===(t=n.endEvent)||void 0===t?void 0:t.get(d))||{}).icon,g=Array.isArray(p)?r["h"].apply(void 0,Ae(["g",{transform:"matrix(1 0 0 1 "+(a-u/2)+" "+(s-c/2)+")"}],p)):Object(r["h"])("path",{transform:"matrix(1 0 0 1 "+(a-u/2)+" "+(s-c/2)+")",d:p,style:"fill: black; stroke-linecap: round; stroke-linejoin: round; stroke: white; stroke-width: 1px;"});return Object(r["h"])("g",{},h,Object(r["h"])("circle",Oe(Oe({},o),{strokeWidth:2,cx:a,cy:s,r:l-2})),g)},t}(r["CircleNode"]),o=function(e){function t(t,r){var i,o,a,s=this;t.id||(t.id="Event_"+ke()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40});var l=((null===(i=n.endEvent)||void 0===i?void 0:i.get(null===(o=t.properties)||void 0===o?void 0:o.definitionType))||{}).properties,u=void 0===l?{}:l;return t.properties=Oe(Oe({},u),t.properties),(null===(a=t.properties)||void 0===a?void 0:a.definitionType)&&(t.properties.definitionId="Definition_"+ke()),s=e.call(this,t,r)||this,xe.call(s),s}return Ee(t,e),t.prototype.setAttributes=function(){this.r=18},t.prototype.getConnectedSourceRules=function(){var t=this,n=e.prototype.getConnectedSourceRules.call(this),r={message:"结束节点不能作为边的起点",validate:function(e,n){return e!==t}};return n.push(r),n},t}(r["CircleNodeModel"]);return{type:"bpmn:endEvent",view:i,model:o}}var Pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Me=function(){return Me=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Me.apply(this,arguments)},De=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Ie=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(De(arguments[t]));return e};function Le(e){var t=De(e.useDefinition(),1),n=t[0],i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pe(t,e),t.prototype.getAnchorStyle=function(){return{visibility:"hidden"}},t.prototype.getShape=function(){var e,t=this.props.model,i=t.getNodeStyle(),o=t.x,a=t.y,s=t.r,l=t.width,u=t.height,c=t.properties,f=c.definitionType,h=((null===(e=n.intermediateCatchEvent)||void 0===e?void 0:e.get(f))||{}).icon,d=Array.isArray(h)?r["h"].apply(void 0,Ie(["g",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")"}],h)):Object(r["h"])("path",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")",d:h});return Object(r["h"])("g",{},Object(r["h"])("circle",Me(Me({},i),{cx:o,cy:a,r:s,strokeWidth:1.5})),Object(r["h"])("circle",Me(Me({},i),{cx:o,cy:a,r:s-3,strokeWidth:1.5})),d)},t}(r["CircleNode"]),o=function(e){function t(t,r){var i,o,a,s=this;t.id||(t.id="Event_"+ke()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40});var l=((null===(i=n.intermediateCatchEvent)||void 0===i?void 0:i.get(null===(o=t.properties)||void 0===o?void 0:o.definitionType))||{}).properties,u=void 0===l?{}:l;return t.properties=Me(Me({},u),t.properties),(null===(a=t.properties)||void 0===a?void 0:a.definitionType)&&(t.properties.definitionId="Definition_"+ke()),s=e.call(this,t,r)||this,xe.call(s),s}return Pe(t,e),t.prototype.setAttributes=function(){this.r=18},t}(r["CircleNodeModel"]);return{type:"bpmn:intermediateCatchEvent",view:i,model:o}}var Re=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),je=function(){return je=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},je.apply(this,arguments)},Ne=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Be=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ne(arguments[t]));return e};function Fe(e){var t=Ne(e.useDefinition(),1),n=t[0],i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Re(t,e),t.prototype.getAnchorStyle=function(){return{visibility:"hidden"}},t.prototype.getShape=function(){var e,t=this.props.model,i=t.getNodeStyle(),o=t.x,a=t.y,s=t.r,l=t.width,u=t.height,c=t.properties,f=c.definitionType,h=c.isInterrupting,d=((null===(e=n.startEvent)||void 0===e?void 0:e.get(f))||{}).icon,p=Array.isArray(d)?r["h"].apply(void 0,Be(["g",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")"}],d)):Object(r["h"])("path",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")",d:d,style:"fill: white; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"});return Object(r["h"])("g",{},Object(r["h"])("circle",je(je({},i),{cx:o,cy:a,r:s,strokeDasharray:h?"5,5":"",strokeWidth:2})),p)},t}(r["CircleNode"]),o=function(e){function t(t,r){var i,o,a,s=this;t.id||(t.id="Event_"+ke()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40});var l=((null===(i=n.startEvent)||void 0===i?void 0:i.get(null===(o=t.properties)||void 0===o?void 0:o.definitionType))||{}).properties,u=void 0===l?{}:l;return t.properties=je(je({},u),t.properties),(null===(a=t.properties)||void 0===a?void 0:a.definitionType)&&(t.properties.definitionId="Definition_"+ke()),s=e.call(this,t,r)||this,s}return Re(t,e),t.prototype.setAttributes=function(){this.r=18},t.prototype.getConnectedTargetRules=function(){var t=this,n=e.prototype.getConnectedTargetRules.call(this),r={message:"起始节点不能作为边的终点",validate:function(e,n){return n!==t}};return n.push(r),n},t}(r["CircleNodeModel"]);return{type:"bpmn:startEvent",view:i,model:o}}var ze=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ue=function(){return Ue=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ue.apply(this,arguments)},He=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Ve=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(He(arguments[t]));return e};function Ge(e){var t=He(e.useDefinition(),1),n=t[0],i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ze(t,e),t.prototype.getAnchorStyle=function(){return{visibility:"hidden"}},t.prototype.getShape=function(){var e,t=this.props.model,i=t.getNodeStyle(),o=t.x,a=t.y,s=t.r,l=t.width,u=t.height,c=t.properties,f=c.definitionType,h=c.cancelActivity,d=((null===(e=n.boundaryEvent)||void 0===e?void 0:e.get(f))||{}).icon,p=Array.isArray(d)?r["h"].apply(void 0,Ve(["g",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")"}],d)):Object(r["h"])("path",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")",d:d});return Object(r["h"])("g",{},Object(r["h"])("circle",Ue(Ue({},i),{cx:o,cy:a,r:s,strokeDasharray:h?"":"5,5",strokeWidth:1.5})),Object(r["h"])("circle",Ue(Ue({},i),{cx:o,cy:a,r:s-3,strokeDasharray:h?"":"5,5",strokeWidth:1.5})),p)},t}(r["CircleNode"]),o=function(e){function t(t,r){var i,o,a,s=this;t.id||(t.id="Event_"+ke()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40});var l=((null===(i=n.boundaryEvent)||void 0===i?void 0:i.get(null===(o=t.properties)||void 0===o?void 0:o.definitionType))||{}).properties,u=void 0===l?{}:l;return t.properties=Ue(Ue({attachedToRef:"",cancelActivity:!0},u),t.properties),(null===(a=t.properties)||void 0===a?void 0:a.definitionType)&&(t.properties.definitionId="Definition_"+ke()),s=e.call(this,t,r)||this,xe.call(s),s}return ze(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.r=20,this.autoToFront=!1,this.zIndex=99999},t.prototype.setAttributes=function(){this.r=18},t}(r["CircleNodeModel"]);return{type:"bpmn:boundaryEvent",view:i,model:o}}var We=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qe=function(){return qe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qe.apply(this,arguments)},Xe=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Ye=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Xe(arguments[t]));return e};function Ke(e){var t=Xe(e.useDefinition(),1),n=t[0],i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.getAnchorStyle=function(){return{visibility:"hidden"}},t.prototype.getShape=function(){var e,t=this.props.model,i=t.getNodeStyle(),o=t.x,a=t.y,s=t.r,l=t.width,u=t.height,c=t.properties,f=c.definitionType,h=((null===(e=n.intermediateThrowEvent)||void 0===e?void 0:e.get(f))||{}).icon,d=Array.isArray(h)?r["h"].apply(void 0,Ye(["g",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")"}],h)):Object(r["h"])("path",{transform:"matrix(1 0 0 1 "+(o-l/2)+" "+(a-u/2)+")",d:h,style:"fill: black"});return Object(r["h"])("g",{},Object(r["h"])("circle",qe(qe({},i),{cx:o,cy:a,r:s,strokeWidth:1.5})),Object(r["h"])("circle",qe(qe({},i),{cx:o,cy:a,r:s-3,strokeWidth:1.5})),d)},t}(r["CircleNode"]),o=function(e){function t(t,r){var i,o,a,s=this;t.id||(t.id="Event_"+ke()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40});var l=((null===(i=n.intermediateThrowEvent)||void 0===i?void 0:i.get(null===(o=t.properties)||void 0===o?void 0:o.definitionType))||{}).properties,u=void 0===l?{}:l;return t.properties=qe(qe({},u),t.properties),(null===(a=t.properties)||void 0===a?void 0:a.definitionType)&&(t.properties.definitionId="Definition_"+ke()),s=e.call(this,t,r)||this,xe.call(s),s}return We(t,e),t.prototype.setAttributes=function(){this.r=18},t}(r["CircleNodeModel"]);return{type:"bpmn:intermediateThrowEvent",view:i,model:o}}function $e(e){e.register(Fe(e)),e.register(Te(e)),e.register(Le(e)),e.register(Ke(e)),e.register(Ge(e))}var Ze=[Object(r["h"])("circle",{cx:18,cy:18,r:11,style:"stroke-linecap: round;stroke-linejoin: round;stroke: rgb(34, 36, 42);stroke-width: 2px;fill: white"}),Object(r["h"])("path",{d:"M 18,18 l 2.25,-7.5 m -2.25,7.5 l 5.25,1.5",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 2px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(0,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(30,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(60,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(90,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(120,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(150,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(180,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(210,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(240,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(270,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(300,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"}),Object(r["h"])("path",{d:"M 18,18 m 0,7.5 l -0,2.25",transform:"rotate(330,18,18)",style:"fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 1px;"})],Je=(Object(r["h"])("circle",{cx:18,cy:18,r:10,style:"stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 4px; fill: rgb(34, 36, 42);"}),"m 16,15 7.42857142857143,9.714285714285715 -7.42857142857143,9.714285714285715 3.428571428571429,0 5.714285714285715,-7.464228571428572 5.714285714285715,7.464228571428572 3.428571428571429,0 -7.42857142857143,-9.714285714285715 7.42857142857143,-9.714285714285715 -3.428571428571429,0 -5.714285714285715,7.464228571428572 -5.714285714285715,-7.464228571428572 -3.428571428571429,0 z"),Qe="m 23,10 0,12.5 -12.5,0 0,5 12.5,0 0,12.5 5,0 0,-12.5 12.5,0 0,-5 -12.5,0 0,-12.5 -5,0 z",et=Object(r["h"])("circle",{cx:25,cy:25,r:13,style:"stroke-linecap: round; stroke-linejoin: round; stroke: rgb(34, 36, 42); stroke-width: 2.5px; fill: white;"}),tt="M882.527918 434.149934c-2.234901-5.303796-7.311523-8.853645-13.059434-9.138124l-61.390185-3.009544c-6.635117-20.973684-15.521508-41.175795-26.513864-60.282968l42.051745-47.743374c4.308119-4.889357 4.955872-12.004405 1.602498-17.59268-46.384423-77.30362-103.969956-101.422947-106.400309-102.410438-5.332449-2.170432-11.432377-1.090844-15.693424 2.77009L654.674467 240.664222c-17.004279-8.654101-35.092239-15.756869-53.995775-21.210068l-3.26537-66.490344c-0.280386-5.747911-3.833305-10.824533-9.134031-13.059434-1.683339-0.709151-30.193673-12.391215-76.866668-12.051477-46.672996-0.339738-75.18333 11.342326-76.866668 12.051477-5.300726 2.234901-8.853645 7.311523-9.134031 13.059434l-3.26537 66.490344c-18.903535 5.453199-36.991496 12.555967-53.995775 21.210068l-48.450479-43.922349c-4.261047-3.860934-10.360975-4.940522-15.693424-2.77009-2.430352 0.98749-60.015885 25.106818-106.400309 102.410438-3.353374 5.588275-2.705622 12.703323 1.602498 17.59268l42.051745 47.743374c-10.992355 19.107173-19.878746 39.309284-26.513864 60.282968l-61.390185 3.009544c-5.747911 0.284479-10.824533 3.834328-13.059434 9.138124-1.01512 2.415003-24.687262 60.190871-2.822278 147.651828 1.583055 6.324032 7.072069 10.893094 13.57518 11.308557 5.892197 0.37146 11.751648 0.523933 17.419741 0.667196 14.498202 0.372483 28.193109 0.723477 40.908712 4.63353 4.212952 1.294482 6.435573 8.270361 9.349949 18.763342 1.287319 4.640694 2.617617 9.43693 4.484128 14.010085 1.794879 4.393054 3.75758 8.570189 5.66093 12.607132 1.302669 2.765997 2.529613 5.380544 3.689019 8.018627 2.986007 6.803963 2.682086 9.773598 2.578732 10.349719-3.061732 3.672646-6.391571 7.238868-9.91379 11.015891-1.810229 1.943258-3.680832 3.949962-5.523807 5.980201l-22.560832 24.8909c-3.865028 4.261047-4.940522 10.365068-2.774183 15.693424 0.991584 2.426259 25.102724 60.011792 102.414531 106.400309 5.588275 3.353374 12.703323 2.701528 17.591657-1.603521l23.476691-20.682042c2.346441-2.061962 4.64888-4.336772 6.875594-6.534833 9.05319-8.93858 14.018272-12.95608 17.73185-11.576663 3.305279 1.222851 6.907317 3.166109 10.720156 5.228071 3.325745 1.794879 6.764054 3.650133 10.465352 5.288446 6.016017 2.662643 12.120039 4.688789 18.019399 6.65149 6.827499 2.266623 13.279445 4.409426 18.819624 7.275707 1.518586 0.782829 1.926886 0.994654 2.358721 7.830339 0.726547 11.496845 1.25048 23.276123 1.753947 34.672684 0.264013 5.900384 0.528026 11.803837 0.815575 17.700127 0.284479 5.743818 3.833305 10.82044 9.138124 13.05534 1.654686 0.698918 29.371958 12.063757 74.869175 12.063757 0.328481 0 3.65832 0 3.986801 0 45.497217 0 73.214489-11.364839 74.869175-12.063757 5.304819-2.234901 8.853645-7.311523 9.138124-13.05534 0.287549-5.89629 0.551562-11.799744 0.815575-17.700127 0.503467-11.396561 1.027399-23.175839 1.753947-34.672684 0.431835-6.835685 0.840134-7.04751 2.358721-7.830339 5.54018-2.866281 11.992125-5.009084 18.819624-7.275707 5.89936-1.962701 12.003382-3.988848 18.019399-6.65149 3.701299-1.638313 7.139607-3.493567 10.465352-5.288446 3.812839-2.061962 7.414877-4.00522 10.720156-5.228071 3.713578-1.379417 8.67866 2.638083 17.73185 11.576663 2.226714 2.198062 4.529153 4.472871 6.875594 6.534833l23.476691 20.682042c4.888334 4.305049 12.003382 4.956895 17.591657 1.603521 77.311807-46.388517 101.422947-103.97405 102.414531-106.400309 2.166339-5.328355 1.090844-11.432377-2.774183-15.693424l-22.560832-24.8909c-1.842974-2.030239-3.713578-4.036943-5.523807-5.980201-3.52222-3.777023-6.852058-7.343245-9.91379-11.015891-0.103354-0.576121-0.407276-3.545756 2.578732-10.349719 1.159406-2.638083 2.38635-5.252631 3.689019-8.018627 1.90335-4.036943 3.866051-8.214079 5.66093-12.607132 1.866511-4.573155 3.196809-9.369392 4.484128-14.010085 2.914376-10.492982 5.136997-17.46886 9.349949-18.763342 12.715603-3.910053 26.41051-4.261047 40.908712-4.63353 5.668093-0.143263 11.527544-0.295735 17.419741-0.667196 6.503111-0.415462 11.992125-4.984524 13.57518-11.308557C907.21518 494.340805 883.543038 436.564937 882.527918 434.149934zM643.49894 643.761929c-35.280528 35.280528-82.191954 54.711066-132.086317 54.711066s-96.806813-19.430538-132.086317-54.711066c-35.280528-35.279504-54.711066-82.191954-54.711066-132.086317 0-49.894364 19.430538-96.80272 54.711066-132.082224 35.283598-35.284621 82.191954-54.711066 132.086317-54.711066s96.80579 19.426445 132.086317 54.711066c35.279504 35.279504 54.711066 82.187861 54.711066 132.082224C698.210006 561.569976 678.782537 608.482425 643.49894 643.761929z",nt="M655.807326 287.35973m-223.989415 0a218.879 218.879 0 1 0 447.978829 0 218.879 218.879 0 1 0-447.978829 0ZM1039.955839 895.482975c-0.490184-212.177424-172.287821-384.030443-384.148513-384.030443-211.862739 0-383.660376 171.85302-384.15056 384.030443L1039.955839 895.482975z",rt="m44,60 m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",it="m47,61 m 0,3 l 10,0 m -10,3 l 10,0 m -10,3 l 10,0",ot="m 50,73 c 3.526979,0 6.386161,-2.829858 6.386161,-6.320661 0,-3.490806 -2.859182,-6.320661 -6.386161,-6.320661 -3.526978,0 -6.38616,2.829855 -6.38616,6.320661 0,1.745402 0.714797,3.325567 1.870463,4.469381 0.577834,0.571908 1.265885,1.034728 2.029916,1.35457 l -0.718163,-3.909793 m 0.718163,3.909793 -3.885211,0.802902",at=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),st=function(){return st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},st.apply(this,arguments)};function lt(e,t,n){var i=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return at(n,e),n.prototype.getShape=function(){var e=this.props.model,n=e.x,i=e.y,o=e.width,a=e.height,s=e.points,l=e.getNodeStyle();return Object(r["h"])("g",{transform:"matrix(1 0 0 1 "+(n-o/2)+" "+(i-a/2)+")"},Object(r["h"])("polygon",st(st({},l),{x:n,y:i,points:s})),"string"===typeof t?Object(r["h"])("path",st(st({d:t},l),{fill:"rgb(34, 36, 42)",strokeWidth:1})):t)},n}(r["PolygonNode"]),o=function(e){function t(t,r){var i=this;return t.id||(t.id="Gateway_"+ke()),t.text||(t.text=""),t.text&&"string"===typeof t.text&&(t.text={value:t.text,x:t.x,y:t.y+40}),t.properties=st(st({},n||{}),t.properties),i=e.call(this,t,r)||this,i.points=[[25,0],[50,25],[25,50],[0,25]],xe.call(i),i}return at(t,e),t}(r["PolygonNodeModel"]);return{type:e,view:i,model:o}}function ut(e){var t=lt("bpmn:exclusiveGateway",Je),n=lt("bpmn:parallelGateway",Qe),r=lt("bpmn:inclusiveGateway",et);e.register(t),e.register(r),e.register(n)}var ct=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ft=function(){return ft=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ft.apply(this,arguments)},ht=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},dt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ht(arguments[t]));return e},pt={parallel:rt,sequential:it,loop:ot};function gt(e,t,n){var i=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return ct(n,e),n.prototype.getLabelShape=function(){var e=this.props.model,n=e.x,i=e.y,o=e.width,a=e.height,s=e.getNodeStyle(),l=Array.isArray(t)?r["h"].apply(void 0,dt(["g",{transform:"matrix(1 0 0 1 "+(n-o/2)+" "+(i-a/2)+")"}],t)):Object(r["h"])("path",{fill:s.stroke,d:t});return Object(r["h"])("svg",{x:n-o/2+5,y:i-a/2+5,width:25,height:25,viewBox:"0 0 1274 1024"},l)},n.prototype.getShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.radius,s=e.properties,l=e.getNodeStyle();return Object(r["h"])("g",{},[Object(r["h"])("rect",ft(ft({},l),{x:t-i/2,y:n-o/2,rx:a,ry:a,width:i,height:o,opacity:.95})),this.getLabelShape(),Object(r["h"])("g",{transform:"matrix(1 0 0 1 "+(t-i/2)+" "+(n-o/2)+")"},Object(r["h"])("path",{fill:"white",strokeLinecap:"round",strokeLinejoin:"round",stroke:"rgb(34, 36, 42)",strokeWidth:"2",d:pt[s.multiInstanceType]||""}))])},n}(r["RectNode"]),o=function(e){function t(t,r){var i,o=this;t.id||(t.id="Activity_"+ke());var a=ft(ft({},n||{}),t.properties);return t.properties=a,o=e.call(this,t,r)||this,null===(i=null===a||void 0===a?void 0:a.boundaryEvents)||void 0===i||i.forEach((function(e){o.addBoundaryEvent(e)})),o.deleteProperty("boundaryEvents"),xe.call(o),o}return ct(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.isTaskNode=!0,this.boundaryEvents=[]},t.prototype.getNodeStyle=function(){var t=e.prototype.getNodeStyle.call(this),n=this.properties.isBoundaryEventTouchingTask;return n&&(t.stroke="#00acff",t.strokeWidth=2),t},t.prototype.getOutlineStyle=function(){var t=e.prototype.getOutlineStyle.call(this);return t.stroke="transparent",!t.hover&&(t.hover={}),t.hover.stroke="transparent",t},t.prototype.setTouching=function(e){this.setProperty("isBoundaryEventTouchingTask",e)},t.prototype.addBoundaryEvent=function(e){if(this.setTouching(!1),this.boundaryEvents.find((function(t){return t===e})))return!1;var t=this.graphModel.getNodeModelById(e);return null===t||void 0===t||t.setProperties({attachedToRef:this.id}),this.boundaryEvents.push(e),!0},t.prototype.deleteBoundaryEvent=function(e){this.boundaryEvents=this.boundaryEvents.filter((function(t){return t!==e}))},t}(r["RectNodeModel"]);return{type:e,view:i,model:o}}var vt,yt,mt,bt,_t,xt,wt,St,kt,Et,Ot={},Ct=[],At=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Tt=Array.isArray;function Pt(e,t){for(var n in t)e[n]=t[n];return e}function Mt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Dt(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?vt.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return It(e,a,r,i,null)}function It(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++mt:i,__i:-1,__u:0};return null==i&&null!=yt.vnode&&yt.vnode(o),o}function Lt(e){return e.children}function Rt(e,t){this.props=e,this.context=t}function jt(e,t){if(null==t)return e.__?jt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?jt(e):null}function Nt(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Nt(e)}}function Bt(e){(!e.__d&&(e.__d=!0)&&bt.push(e)&&!Ft.__r++||_t!==yt.debounceRendering)&&((_t=yt.debounceRendering)||xt)(Ft)}function Ft(){var e,t,n,r,i,o,a,s;for(bt.sort(wt);e=bt.shift();)e.__d&&(t=bt.length,r=void 0,o=(i=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Pt({},i)).__v=i.__v+1,yt.vnode&&yt.vnode(r),Xt(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,a,null==o?jt(i):o,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,Yt(a,r,s),r.__e!=o&&Nt(r)),bt.length>t&&bt.sort(wt));Ft.__r=0}function zt(e,t,n,r,i,o,a,s,l,u,c){var f,h,d,p,g,v=r&&r.__k||Ct,y=t.length;for(n.__d=l,Ut(n,t,v),l=n.__d,f=0;f<y;f++)null!=(d=n.__k[f])&&(h=-1===d.__i?Ot:v[d.__i]||Ot,d.__i=f,Xt(e,d,h,i,o,a,s,l,u,c),p=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&$t(h.ref,null,d),c.push(d.ref,d.__c||p,d)),null==g&&null!=p&&(g=p),65536&d.__u||h.__k===d.__k?l=Ht(d,l,e):"function"==typeof d.type&&void 0!==d.__d?l=d.__d:p&&(l=p.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=g}function Ut(e,t,n){var r,i,o,a,s,l=t.length,u=n.length,c=u,f=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+f,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?It(null,i,null,null,null):Tt(i)?It(Lt,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?It(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=Vt(i,n,a,c))&&(c--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&f--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?f--:s==a+1?f++:(s>a?f--:f++,i.__u|=65536))):i=e.__k[r]=null;if(c)for(r=0;r<u;r++)null!=(o=n[r])&&0==(131072&o.__u)&&(o.__e==e.__d&&(e.__d=jt(o)),Zt(o,o))}function Ht(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=Ht(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=jt(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function Vt(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&0==(131072&l.__u))return n;if(r>(null!=l&&0==(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&0==(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function Gt(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||At.test(t)?n:n+"px"}function Wt(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Gt(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Gt(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=St,e.addEventListener(t,o?Et:kt,o)):e.removeEventListener(t,o?Et:kt,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function qt(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=St++;else if(t.t<n.u)return;return n(yt.event?yt.event(t):t)}}}function Xt(e,t,n,r,i,o,a,s,l,u){var c,f,h,d,p,g,v,y,m,b,_,x,w,S,k,E,O=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(c=yt.__b)&&c(t);e:if("function"==typeof O)try{if(y=t.props,m="prototype"in O&&O.prototype.render,b=(c=O.contextType)&&r[c.__c],_=c?b?b.props.value:c.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:(m?t.__c=f=new O(y,_):(t.__c=f=new Rt(y,_),f.constructor=O,f.render=Jt),b&&b.sub(f),f.props=y,f.state||(f.state={}),f.context=_,f.__n=r,h=f.__d=!0,f.__h=[],f._sb=[]),m&&null==f.__s&&(f.__s=f.state),m&&null!=O.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=Pt({},f.__s)),Pt(f.__s,O.getDerivedStateFromProps(y,f.__s))),d=f.props,p=f.state,f.__v=t,h)m&&null==O.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),m&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(m&&null==O.getDerivedStateFromProps&&y!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(y,_),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(y,f.__s,_)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=y,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),x=0;x<f._sb.length;x++)f.__h.push(f._sb[x]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(y,f.__s,_),m&&null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,p,g)}))}if(f.context=_,f.props=y,f.__P=e,f.__e=!1,w=yt.__r,S=0,m){for(f.state=f.__s,f.__d=!1,w&&w(t),c=f.render(f.props,f.state,f.context),k=0;k<f._sb.length;k++)f.__h.push(f._sb[k]);f._sb=[]}else do{f.__d=!1,w&&w(t),c=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++S<25);f.state=f.__s,null!=f.getChildContext&&(r=Pt(Pt({},r),f.getChildContext())),m&&!h&&null!=f.getSnapshotBeforeUpdate&&(g=f.getSnapshotBeforeUpdate(d,p)),zt(e,Tt(E=null!=c&&c.type===Lt&&null==c.key?c.props.children:c)?E:[E],t,n,r,i,o,a,s,l,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),v&&(f.__E=f.__=null)}catch(e){if(t.__v=null,l||null!=o){for(t.__u|=l?160:32;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;yt.__e(e,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Kt(n.__e,t,n,r,i,o,a,l,u);(c=yt.diffed)&&c(t)}function Yt(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)$t(n[r],n[++r],n[++r]);yt.__c&&yt.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){yt.__e(e,t.__v)}}))}function Kt(e,t,n,r,i,o,a,s,l){var u,c,f,h,d,p,g,v=n.props,y=t.props,m=t.type;if("svg"===m?i="http://www.w3.org/2000/svg":"math"===m?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(u=0;u<o.length;u++)if((d=o[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:3===d.nodeType)){e=d,o[u]=null;break}if(null==e){if(null===m)return document.createTextNode(y);e=document.createElementNS(i,m,y.is&&y),s&&(yt.__m&&yt.__m(t,o),s=!1),o=null}if(null===m)v===y||s&&e.data===y||(e.data=y);else{if(o=o&&vt.call(e.childNodes),v=n.props||Ot,!s&&null!=o)for(v={},u=0;u<e.attributes.length;u++)v[(d=e.attributes[u]).name]=d.value;for(u in v)if(d=v[u],"children"==u);else if("dangerouslySetInnerHTML"==u)f=d;else if(!(u in y)){if("value"==u&&"defaultValue"in y||"checked"==u&&"defaultChecked"in y)continue;Wt(e,u,null,d,i)}for(u in y)d=y[u],"children"==u?h=d:"dangerouslySetInnerHTML"==u?c=d:"value"==u?p=d:"checked"==u?g=d:s&&"function"!=typeof d||v[u]===d||Wt(e,u,d,v[u],i);if(c)s||f&&(c.__html===f.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(f&&(e.innerHTML=""),zt(e,Tt(h)?h:[h],t,n,r,"foreignObject"===m?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&jt(n,0),s,l),null!=o)for(u=o.length;u--;)Mt(o[u]);s||(u="value","progress"===m&&null==p?e.removeAttribute("value"):void 0!==p&&(p!==e[u]||"progress"===m&&!p||"option"===m&&p!==v[u])&&Wt(e,u,p,v[u],i),u="checked",void 0!==g&&g!==e[u]&&Wt(e,u,g,v[u],i))}return e}function $t(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){yt.__e(e,n)}}function Zt(e,t,n){var r,i;if(yt.unmount&&yt.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||$t(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){yt.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Zt(r[i],t,n||"function"!=typeof e.type);n||Mt(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Jt(e,t,n){return this.constructor(e,n)}vt=Ct.slice,yt={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},mt=0,Rt.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Pt({},this.state),"function"==typeof e&&(e=e(Pt({},n),this.props)),e&&Pt(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Bt(this))},Rt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Bt(this))},Rt.prototype.render=Lt,bt=[],xt="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,wt=function(e,t){return e.__v.__b-t.__v.__b},Ft.__r=0,St=0,kt=qt(!1),Et=qt(!0);var Qt,en=function(){return en=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},en.apply(this,arguments)};function tn(e){var t=e.x,n=e.y,i=e.width,o=e.height,a=e.radius,s=e.className,l=t-i/2,u=n-o/2,c=en(en({width:10,height:10,cx:0,cy:0,rx:a||0,ry:a||0,fill:"transparent",fillOpacity:1,strokeWidth:"1px",stroke:"#000",strokeOpacity:1,className:"lf-basic-shape "+s},e),{x:l,y:u});return Object(r["h"])("rect",en({},c))}tn.defaultProps={radius:0,stroke:"",strokeDasharray:"",className:""},function(e){e["NODE"]="node",e["CIRCLE_NODE"]="circle-node",e["POLYGON_NODE"]="polygon-node",e["RECT_NODE"]="rect-node",e["HTML_NODE"]="html-node",e["TEXT_NODE"]="text-node",e["ELLIPSE_NODE"]="ellipse-node",e["DIAMOND_NODE"]="diamond-node",e["EDGE"]="edge",e["LINE_EDGE"]="line-edge",e["POLYLINE_EDGE"]="polyline-edge",e["BEZIER_EDGE"]="bezier-edge",e["GRAPH"]="graph"}(Qt||(Qt={}));var nn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rn=function(){return rn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},rn.apply(this,arguments)},on=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},an=r["LogicFlowUtil"].StepDrag,sn=function(e){function t(t){var n=e.call(this)||this;return n.updatePosition=function(e){var t=e.deltaX,r=e.deltaY,i=n.nodeModel,o=i.x,a=i.y;n.nodeModel.x=o+t/2,n.nodeModel.y=a+r/2,n.nodeModel.moveText(t/2,r/2)},n.getResize=function(e){var t=e.index,n=e.deltaX,r=e.deltaY,i=e.width,o=e.height,a=e.PCTResizeInfo,s=e.pct,l=void 0===s?1:s,u=e.freezeWidth,c=void 0!==u&&u,f=e.freezeHeight,h=void 0!==f&&f,d={width:i,height:o,deltaX:n,deltaY:r};if(a){var p=4,g=0,v=0;switch(t){case 0:v=(-1*n-r)/p;break;case 1:v=(n-r)/p;break;case 2:v=(n+r)/p;break;case 3:v=(-1*n+r)/p;break;default:break}0!==v&&(g=Math.round(v/a.ResizeBasis.basisHeight*1e5)/1e3),a.ResizePCT.widthPCT=Math.max(Math.min(a.ResizePCT.widthPCT+g,a.ScaleLimit.maxScaleLimit),a.ScaleLimit.minScaleLimit),a.ResizePCT.hightPCT=Math.max(Math.min(a.ResizePCT.hightPCT+g,a.ScaleLimit.maxScaleLimit),a.ScaleLimit.minScaleLimit);var y=Math.round(a.ResizePCT.widthPCT*a.ResizeBasis.basisWidth/100),m=Math.round(a.ResizePCT.hightPCT*a.ResizeBasis.basisHeight/100);switch(t){case 0:n=i-y,r=o-m;break;case 1:n=y-i,r=o-m;break;case 2:n=y-i,r=m-o;break;case 3:n=i-y,r=m-o;break;default:break}return d.width=y,d.height=m,d.deltaX=n/l,d.deltaY=r/l,d}switch(t){case 0:d.width=c?i:i-n*l,d.height=h?o:o-r*l;break;case 1:d.width=c?i:i+n*l,d.height=h?o:o-r*l;break;case 2:d.width=c?i:i+n*l,d.height=h?o:o+r*l;break;case 3:d.width=c?i:i-n*l,d.height=h?o:o+r*l;break;default:break}return d},n.updateEdgePointByAnchors=function(){var e=n.nodeModel,t=e.id,r=e.anchors,i=n.getNodeEdges(t);i.sourceEdges.forEach((function(e){var t=r.find((function(t){return t.id===e.sourceAnchorId}));e.updateStartPoint({x:t.x,y:t.y})})),i.targetEdges.forEach((function(e){var t=r.find((function(t){return t.id===e.targetAnchorId}));e.updateEndPoint({x:t.x,y:t.y})}))},n.updateRect=function(e){var t=e.deltaX,r=e.deltaY,i=n.nodeModel,o=i.id,a=i.x,s=i.y,l=i.width,u=i.height,c=i.radius,f=i.PCTResizeInfo,h=n.nodeModel,d=h.minWidth,p=h.minHeight,g=h.maxWidth,v=h.maxHeight,y=n.index,m=d===g,b=p===v,_=n.getResize({index:y,deltaX:t,deltaY:r,width:l,height:u,PCTResizeInfo:f,pct:1,freezeWidth:m,freezeHeight:b});if(_.width<d||_.width>g||_.height<p||_.height>v)n.dragHandler.cancelDrag();else{n.updatePosition({deltaX:m?0:_.deltaX,deltaY:b?0:_.deltaY}),n.nodeModel.width=_.width,n.nodeModel.height=_.height,n.nodeModel.setProperties({nodeSize:{width:_.width,height:_.height}});n.getNodeEdges(o);var x={x:a,y:s,width:l,height:u,radius:c},w={x:n.nodeModel.x,y:n.nodeModel.y,width:n.nodeModel.width,height:n.nodeModel.height,radius:c};n.updateEdgePointByAnchors(),n.eventEmit({beforeNode:x,afterNode:w})}},n.updateEllipse=function(e){var t=e.deltaX,r=e.deltaY,i=n.nodeModel,o=i.id,a=i.rx,s=i.ry,l=i.x,u=i.y,c=i.PCTResizeInfo,f=n.index,h=n.nodeModel,d=h.minWidth,p=h.minHeight,g=h.maxWidth,v=h.maxHeight,y=d===g,m=p===v,b=a,_=s,x=n.getResize({index:f,deltaX:t,deltaY:r,width:b,height:_,PCTResizeInfo:c,pct:.5,freezeWidth:y,freezeHeight:m});if(x.width<d/2||x.width>g/2||x.height<p/2||x.height>v/2)n.dragHandler.cancelDrag();else{n.updatePosition({deltaX:y?0:x.deltaX,deltaY:m?0:x.deltaY}),n.nodeModel.rx=x.width,n.nodeModel.ry=x.height,n.nodeModel.setProperties({nodeSize:{rx:x.width,ry:x.height}});n.getNodeEdges(o);var w={x:l,y:u},S={rx:x.width,ry:x.height,x:n.nodeModel.x,y:n.nodeModel.y};n.updateEdgePointByAnchors(),n.eventEmit({beforeNode:rn(rn({},w),{rx:a,ry:s}),afterNode:S})}},n.updateDiamond=function(e){var t=e.deltaX,r=e.deltaY,i=n.nodeModel,o=(i.id,i.rx),a=i.ry,s=i.x,l=i.y,u=i.PCTResizeInfo,c=n.index,f=n.nodeModel,h=f.minWidth,d=f.minHeight,p=f.maxWidth,g=f.maxHeight,v=h===p,y=d===g,m=o,b=a,_=n.getResize({index:c,deltaX:t,deltaY:r,width:m,height:b,PCTResizeInfo:u,pct:.5,freezeWidth:v,freezeHeight:y});if(_.width<h/2||_.width>p/2||_.height<d/2||_.height>g/2)n.dragHandler.cancelDrag();else{n.updatePosition({deltaX:v?0:_.deltaX,deltaY:y?0:_.deltaY}),n.nodeModel.rx=_.width,n.nodeModel.ry=_.height,n.nodeModel.setProperties({nodeSize:{rx:_.width,ry:_.height}});var x={x:s,y:l,rx:o,ry:a},w={rx:_.width,ry:_.height,x:n.nodeModel.x,y:n.nodeModel.y};n.updateEdgePointByAnchors(),n.eventEmit({beforeNode:x,afterNode:w})}},n.eventEmit=function(e){var t=e.beforeNode,r=e.afterNode,i=n.nodeModel,o=i.id,a=i.modelType,s=i.type,l=rn({id:o,modelType:a,type:s},t),u=rn({id:o,modelType:a,type:s},r);n.graphModel.eventCenter.emit("node:resize",{oldNodeSize:l,newNodeSize:u})},n.onDragging=function(e){var t,r=e.deltaX,i=e.deltaY,o=n.graphModel.transformModel,a=n.nodeModel.modelType;t=on(o.fixDeltaXY(r,i),2),r=t[0],i=t[1],a===Qt.RECT_NODE||a===Qt.HTML_NODE?n.updateRect({deltaX:r,deltaY:i}):a===Qt.ELLIPSE_NODE?n.updateEllipse({deltaX:r,deltaY:i}):a===Qt.DIAMOND_NODE&&n.updateDiamond({deltaX:r,deltaY:i})},n.onDragEnd=function(){var e=n.graphModel.gridSize,t=void 0===e?1:e,r=t*Math.round(n.nodeModel.x/t),i=t*Math.round(n.nodeModel.y/t);n.nodeModel.moveTo(r,i),n.updateEdgePointByAnchors()},n.index=t.index,n.nodeModel=t.model,n.graphModel=t.graphModel,n.state={},n.dragHandler=new an({onDragging:n.onDragging,onDragEnd:n.onDragEnd,step:1}),n}return nn(t,e),t.prototype.getNodeEdges=function(e){for(var t=this.graphModel,n=t.edges,r=[],i=[],o=0;o<n.length;o++){var a=n[o];a.sourceNodeId===e?r.push(a):n[o].targetNodeId===e&&i.push(a)}return{sourceEdges:r,targetEdges:i}},t.prototype.render=function(){var e=this.props,t=e.x,n=e.y,r=e.index,i=e.model,o=i.getControlPointStyle();return Dt("g",{className:"lf-resize-control-"+r},Dt(tn,rn({className:"lf-node-control"},{x:t,y:n},o,{onMouseDown:this.dragHandler.handleMouseDown})))},t}(Rt),ln=sn,un=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),cn=function(){return cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},cn.apply(this,arguments)},fn=function(e){function t(){var t=e.call(this)||this;return t.state={},t}return un(t,e),t.prototype.getResizeControl=function(){var e=this.props,t=e.model,n=e.graphModel,r=t.x,i=t.y,o=t.width,a=t.height,s={minX:r-o/2,minY:i-a/2,maxX:r+o/2,maxY:i+a/2},l=s.minX,u=s.minY,c=s.maxX,f=s.maxY,h=[{x:l,y:u},{x:c,y:u},{x:c,y:f},{x:l,y:f}];return h.map((function(e,r){return Dt(ln,cn({index:r},e,{model:t,graphModel:n}))}))},t.prototype.getGroupSolid=function(){var e=this.props.model,t=e.x,n=e.y,r=e.width,i=e.height,o=e.getResizeOutlineStyle();return Dt(tn,cn({fill:"none"},o,{x:t,y:n,width:r,height:i}))},t.prototype.render=function(){return Dt("g",{className:"lf-resize-control"},this.getGroupSolid(),this.getResizeControl())},t}(Rt),hn=fn,dn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pn=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.properties.nodeSize;return i&&(r.width=i.width,r.height=i.height),r}return dn(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3},t.prototype.getOutlineStyle=function(){var t=e.prototype.getOutlineStyle.call(this),n=this.graphModel.editConfigModel.isSilentMode;return n||(t.stroke="none",t.hover&&(t.hover.stroke="none")),t},t.prototype.getResizeOutlineStyle=function(){return{fill:"none",stroke:"transparent",strokeWidth:1,strokeDasharray:"3,3"}},t.prototype.getControlPointStyle=function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}},t.prototype.resize=function(e,t){console.log(e,t)},t.prototype.enableProportionResize=function(e){if(void 0===e&&(e=!0),e){var t={widthPCT:100,hightPCT:100},n={basisWidth:this.width,basisHeight:this.height},r={maxScaleLimit:Math.min(this.maxWidth/this.width*100,this.maxHeight/this.height*100),minScaleLimit:Math.max(this.minWidth/this.width*100,this.minHeight/this.height*100)};this.PCTResizeInfo={ResizePCT:t,ResizeBasis:n,ScaleLimit:r}}else delete this.PCTResizeInfo},t}(r["RectNodeModel"]),gn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return dn(t,e),t.prototype.getControlGroup=function(){var e=this.props,t=e.model,n=e.graphModel;return Object(r["h"])(hn,{model:t,graphModel:n})},t.prototype.getResizeShape=function(){return e.prototype.getShape.call(this)},t.prototype.getShape=function(){var e=this.props,t=e.model.isSelected,n=e.graphModel.editConfigModel.isSilentMode;return Object(r["h"])("g",null,this.getResizeShape(),t&&!n?this.getControlGroup():"")},t}(r["RectNode"]),vn={type:"rect",view:gn,model:pn},yn=vn,mn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bn=(function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.properties.nodeSize;return i&&(r.rx=i.rx,r.ry=i.ry),r}mn(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3},t.prototype.getOutlineStyle=function(){var t=e.prototype.getOutlineStyle.call(this),n=this.graphModel.editConfigModel.isSilentMode;return n||(t.stroke="none",t.hover&&(t.hover.stroke="none")),t},t.prototype.getResizeOutlineStyle=function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}},t.prototype.getControlPointStyle=function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}},t.prototype.enableProportionResize=function(e){if(void 0===e&&(e=!0),e){var t={widthPCT:100,hightPCT:100},n={basisWidth:this.rx,basisHeight:this.ry},r={maxScaleLimit:Math.min(this.maxWidth/(2*this.rx)*100,this.maxHeight/(2*this.ry)*100),minScaleLimit:Math.max(this.minWidth/(2*this.rx)*100,this.minHeight/(2*this.ry)*100)};this.PCTResizeInfo={ResizePCT:t,ResizeBasis:n,ScaleLimit:r}}else delete this.PCTResizeInfo}}(r["EllipseNodeModel"]),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}mn(t,e),t.prototype.getControlGroup=function(){var e=this.props,t=e.model,n=e.graphModel;return Object(r["h"])(hn,{model:t,graphModel:n})},t.prototype.getResizeShape=function(){return e.prototype.getShape.call(this)},t.prototype.getShape=function(){var e=this.props,t=e.model,n=e.graphModel.editConfigModel.isSilentMode;return Object(r["h"])("g",null,this.getResizeShape(),t.isSelected&&!n?this.getControlGroup():"")}}(r["EllipseNode"]),function(){return bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},bn.apply(this,arguments)});function _n(e){var t=e.fillOpacity,n=void 0===t?1:t,i=e.strokeWidth,o=void 0===i?1:i,a=e.strokeOpacity,s=void 0===a?1:a,l=e.fill,u=void 0===l?"transparent":l,c=e.stroke,f=void 0===c?"#000":c,h=e.points,d=e.className,p=void 0===d?"lf-basic-shape":d,g={fill:u,fillOpacity:n,strokeWidth:o,stroke:f,strokeOpacity:s,points:"",className:p};return g.points=h.map((function(e){return e.join(",")})).join(" "),Object(r["h"])("polygon",bn({},g))}var xn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),wn=function(){return wn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},wn.apply(this,arguments)},Sn=(function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.properties.nodeSize;return i&&(r.rx=i.rx,r.ry=i.ry),r}xn(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3,this.gridSize=1},t.prototype.getOutlineStyle=function(){var t=e.prototype.getOutlineStyle.call(this),n=this.graphModel.editConfigModel.isSilentMode;return n||(t.stroke="none",t.hover&&(t.hover.stroke="none")),t},t.prototype.getResizeOutlineStyle=function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}},t.prototype.getControlPointStyle=function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}},t.prototype.enableProportionResize=function(e){if(void 0===e&&(e=!0),e){var t={widthPCT:100,hightPCT:100},n={basisWidth:this.rx,basisHeight:this.ry},r={maxScaleLimit:Math.min(this.maxWidth/(2*this.rx)*100,this.maxHeight/(2*this.ry)*100),minScaleLimit:Math.max(this.minWidth/(2*this.rx)*100,this.minHeight/(2*this.ry)*100)};this.PCTResizeInfo={ResizePCT:t,ResizeBasis:n,ScaleLimit:r}}else delete this.PCTResizeInfo}}(r["DiamondNodeModel"]),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}xn(t,e),t.prototype.getControlGroup=function(){var e=this.props,t=e.model,n=e.graphModel;return Object(r["h"])(hn,{model:t,graphModel:n})},t.prototype.getResizeShape=function(){var e=this.props.model,t=e.points,n=e.getNodeStyle();return Object(r["h"])("g",null,Object(r["h"])(_n,wn({},n,{points:t})))},t.prototype.getShape=function(){var e=this.props,t=e.model.isSelected,n=e.graphModel.editConfigModel.isSilentMode;return Object(r["h"])("g",null,this.getResizeShape(),t&&!n?this.getControlGroup():"")}}(r["DiamondNode"]),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),kn=(function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.properties.nodeSize;return i&&(r.width=i.width,r.height=i.height),r}Sn(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.minWidth=30,this.minHeight=30,this.maxWidth=2e3,this.maxHeight=2e3},t.prototype.getOutlineStyle=function(){var t=e.prototype.getOutlineStyle.call(this),n=this.graphModel.editConfigModel.isSilentMode;return n||(t.stroke="none",t.hover&&(t.hover.stroke="none")),t},t.prototype.getResizeOutlineStyle=function(){return{stroke:"#000000",strokeWidth:1,strokeDasharray:"3,3"}},t.prototype.getControlPointStyle=function(){return{width:7,height:7,fill:"#FFFFFF",stroke:"#000000"}},t.prototype.enableProportionResize=function(e){if(void 0===e&&(e=!0),e){var t={widthPCT:100,hightPCT:100},n={basisWidth:this.width,basisHeight:this.height},r={maxScaleLimit:Math.min(this.maxWidth/this.width*100,this.maxHeight/this.height*100),minScaleLimit:Math.max(this.minWidth/this.width*100,this.minHeight/this.height*100)};this.PCTResizeInfo={ResizePCT:t,ResizeBasis:n,ScaleLimit:r}}else delete this.PCTResizeInfo}}(r["HtmlNodeModel"]),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Sn(t,e),t.prototype.getControlGroup=function(){var e=this.props,t=e.model,n=e.graphModel;return Object(r["h"])(hn,{model:t,graphModel:n})},t.prototype.getResizeShape=function(){return e.prototype.getShape.call(this)},t.prototype.getShape=function(){var e=this.props,t=e.model.isSelected,n=e.graphModel.editConfigModel.isSilentMode;return Object(r["h"])("g",null,this.getResizeShape(),t&&!n?this.getControlGroup():"")}}(r["HtmlNode"]),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),En=function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},En.apply(this,arguments)},On=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Cn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(On(arguments[t]));return e},An=500,Tn=300,Pn=-1e4,Mn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isGroup=!0,t.unfoldedWidth=An,t.unfoldedHight=Tn,t.childrenLastFoldStatus={},t}return kn(t,e),t.prototype.initNodeData=function(t){var n=this;e.prototype.initNodeData.call(this,t);var r=[];Array.isArray(t.children)&&(r=t.children),this.children=new Set(r),this.width=An,this.height=Tn,this.foldedWidth=80,this.foldedHeight=60,this.zIndex=Pn,this.radius=0,this.text.editable=!1,this.text.draggable=!1,this.isRestrict=!1,this.resizable=!1,this.autoToFront=!1,this.foldable=!1,void 0===this.properties.isFolded&&(this.properties.isFolded=!1),this.isFolded=this.properties.isFolded,setTimeout((function(){n.isFolded&&n.foldGroup(n.isFolded)}))},t.prototype.getResizeOutlineStyle=function(){var t=e.prototype.getResizeOutlineStyle.call(this);return t.stroke="none",t},t.prototype.foldGroup=function(e){var t=this;if(e!==this.isFolded){this.setProperty("isFolded",e),this.isFolded=e,e?(this.x=this.x-this.width/2+this.foldedWidth/2,this.y=this.y-this.height/2+this.foldedHeight/2,this.unfoldedWidth=this.width,this.unfoldedHight=this.height,this.width=this.foldedWidth,this.height=this.foldedHeight):(this.width=this.unfoldedWidth,this.height=this.unfoldedHight,this.x=this.x+this.width/2-this.foldedWidth/2,this.y=this.y+this.height/2-this.foldedHeight/2);var n=this.incoming.edges.concat(this.outgoing.edges);this.children.forEach((function(r){var i=t.graphModel.getElement(r),o=i.isFolded;if(i.isGroup&&!i.isFolded&&i.foldGroup(e),i.isGroup&&!e){var a=t.childrenLastFoldStatus[r];void 0!==a&&a!==i.isFolded&&i.foldGroup(a)}t.childrenLastFoldStatus[r]=o,i.visible=!e,n=n.concat(i.incoming.edges.concat(i.outgoing.edges))})),this.foldEdge(e,n)}},t.prototype.getAnchorStyle=function(t){var n=e.prototype.getAnchorStyle.call(this,t);return n.stroke="transparent",n.fill="transparent",n.hover.fill="transparent",n.hover.stroke="transparent",n},t.prototype.foldEdge=function(e,t){var n=this;t.forEach((function(t,r){var i=t.id,o=t.sourceNodeId,a=t.targetNodeId,s=t.startPoint,l=t.endPoint,u=t.type,c=t.text,f=t.getProperties(),h={id:i+"__"+r,sourceNodeId:o,targetNodeId:a,startPoint:s,endPoint:l,type:u,properties:f,text:null===c||void 0===c?void 0:c.value};t.virtual&&n.graphModel.deleteEdgeById(t.id);var d=n.graphModel.group.getNodeGroup(a);d||(d=n.graphModel.getNodeModelById(a));var p=n.graphModel.group.getNodeGroup(o);p||(p=n.graphModel.getNodeModelById(o)),e&&!1!==t.visible&&(n.children.has(o)||n.id===o?(h.startPoint=void 0,h.sourceNodeId=n.id):(h.endPoint=void 0,h.targetNodeId=n.id),d.id===n.id&&p.id===n.id||n.createVirtualEdge(h),t.visible=!1),e||!1!==t.visible||(d&&d.isGroup&&d.isFolded?(h.targetNodeId=d.id,h.endPoint=void 0,n.createVirtualEdge(h)):p&&p.isGroup&&p.isFolded?(h.sourceNodeId=p.id,h.startPoint=void 0,n.createVirtualEdge(h)):t.visible=!0)}))},t.prototype.createVirtualEdge=function(e){e.pointsList=void 0;var t=this.graphModel.addEdge(e);t.virtual=!0,t.text.editable=!1,t.isFoldedEdge=!0},t.prototype.isInRange=function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return t>=this.x-this.width/2&&r<=this.x+this.width/2&&n>=this.y-this.height/2&&i<=this.y+this.height/2},t.prototype.isAllowMoveTo=function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return{x:t>=this.x-this.width/2&&r<=this.x+this.width/2,y:n>=this.y-this.height/2&&i<=this.y+this.height/2}},t.prototype.setAllowAppendChild=function(e){this.setProperty("groupAddable",e)},t.prototype.addChild=function(e){this.children.add(e),this.graphModel.eventCenter.emit("group:add-node",{data:this.getData()})},t.prototype.removeChild=function(e){this.children.delete(e),this.graphModel.eventCenter.emit("group:remove-node",{data:this.getData()})},t.prototype.getAddableOutlineStyle=function(){return{stroke:"#FEB663",strokeWidth:2,strokeDasharray:"4 4",fill:"transparent"}},t.prototype.getData=function(){var t=this,n=e.prototype.getData.call(this);n.children=[],this.children.forEach((function(e){var r=t.graphModel.getNodeModelById(e);r&&!r.virtual&&n.children.push(e)}));var r=n.properties;return delete r.groupAddable,delete r.isFolded,n},t.prototype.getHistoryData=function(){var t=e.prototype.getData.call(this);t.children=Cn(this.children),t.isGroup=!0;var n=t.properties;return delete n.groupAddable,n.isFolded&&(t.x=t.x+this.unfoldedWidth/2-this.foldedWidth/2,t.y=t.y+this.unfoldedHight/2-this.foldedHeight/2),t},t.prototype.isAllowAppendIn=function(e){return!0},t.prototype.toBack=function(){this.zIndex--},t}(yn.model),Dn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return kn(t,e),t.prototype.getControlGroup=function(){var t=this.props.model,n=t.resizable,r=t.properties;return n&&!r.isFolded?e.prototype.getControlGroup.call(this):null},t.prototype.getAddableShape=function(){var e=this.props.model,t=e.width,n=e.height,i=e.x,o=e.y,a=e.radius,s=e.properties;if(!s.groupAddable)return null;var l=this.props.model.getNodeStyle().strokeWidth,u=this.props.model.getAddableOutlineStyle(),c=t+l+8,f=n+l+8;return Object(r["h"])("rect",En(En({},u),{width:c,height:f,x:i-c/2,y:o-f/2,rx:a,ry:a}))},t.prototype.getFoldIcon=function(){var e=this.props.model,t=e.x-e.width/2+5,n=e.y-e.height/2+5;if(!e.foldable)return null;var i=Object(r["h"])("path",{fill:"none",stroke:"#818281",strokeWidth:2,"pointer-events":"none",d:e.properties.isFolded?"M "+(t+3)+","+(n+6)+" "+(t+11)+","+(n+6)+" M"+(t+7)+","+(n+2)+" "+(t+7)+","+(n+10):"M "+(t+3)+","+(n+6)+" "+(t+11)+","+(n+6)+" "});return Object(r["h"])("g",{},[Object(r["h"])("rect",{height:12,width:14,rx:2,ry:2,strokeWidth:1,fill:"#F4F5F6",stroke:"#CECECE",cursor:"pointer",x:e.x-e.width/2+5,y:e.y-e.height/2+5,onClick:function(){e.foldGroup(!e.properties.isFolded)}}),i])},t.prototype.getResizeShape=function(){return Object(r["h"])("g",{},[this.getAddableShape(),e.prototype.getResizeShape.call(this),this.getFoldIcon()])},t}(yn.view),In={type:"group",view:Dn,model:Mn},Ln=function(){return Ln=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ln.apply(this,arguments)},Rn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},jn=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Nn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(jn(arguments[t]));return e},Bn=-1e3,Fn=-1e4,zn=(function(){function e(e){var t=this,n=e.lf;this.topGroupZIndex=Fn,this.nodeGroupMap=new Map,this.graphRendered=function(e){e&&e.nodes&&(e.nodes.forEach((function(e){e.children&&e.children.forEach((function(n){t.nodeGroupMap.set(n,e.id)}))})),t.checkAndCorrectTopGroupZIndex(e.nodes))},this.appendNodeToGroup=function(e){var n=e.data,r=t.nodeGroupMap.get(n.id);if(r){var i=t.lf.getNodeModelById(r);i.removeChild(n.id),t.nodeGroupMap.delete(n.id),i.setAllowAppendChild(!1)}var o=t.lf.getNodeModelById(n.id),a=o.getBounds(),s=t.getGroup(a,n);if(o.isGroup&&(n.children.forEach((function(e){t.nodeGroupMap.set(e,n.id)})),t.checkAndCorrectTopGroupZIndex([n]),t.nodeSelected({data:n,isSelected:!1,isMultiple:!1})),s){var l=s.isAllowAppendIn(n);l?(s.addChild(n.id),t.nodeGroupMap.set(n.id,s.id),s.setAllowAppendChild(!1)):t.lf.emit("group:not-allowed",{group:s.getData(),node:n})}},this.deleteGroupChild=function(e){var n=e.data;n.children&&n.children.forEach((function(e){t.nodeGroupMap.delete(e),t.lf.deleteNode(e)}));var r=t.nodeGroupMap.get(n.id);if(r){var i=t.lf.getNodeModelById(r);i.removeChild(n.id),t.nodeGroupMap.delete(n.id)}},this.setActiveGroup=function(e){var n=e.data,r=t.lf.getNodeModelById(n.id),i=r.getBounds(),o=t.getGroup(i,n);if(t.activeGroup&&t.activeGroup.setAllowAppendChild(!1),o&&(!r.isGroup||o.id!==n.id)){var a=o.isAllowAppendIn(n);a&&(t.activeGroup=o,t.activeGroup.setAllowAppendChild(!0))}},this.findNodeAndChildMaxZIndex=function(e){var n=Fn;return e.isGroup&&(n=e.zIndex>n?e.zIndex:n),e.children&&e.children.forEach((function(e){"object"===typeof e&&(e=e.id);var r=t.lf.getNodeModelById(e);if(r.isGroup){var i=t.findNodeAndChildMaxZIndex(r);n=i>n?i:n}})),n},this.checkAndCorrectTopGroupZIndex=function(e){var n=Fn;if(e.forEach((function(e){var r=t.lf.getNodeModelById(e.id),i=t.findNodeAndChildMaxZIndex(r);i>n&&(n=i)})),!(t.topGroupZIndex>=n)){for(var r=t.lf.graphModel.nodes.filter((function(e){return e.isGroup})),i=t.topGroupZIndex,o=0;o<r.length;o++){var a=r[o];a.zIndex>i&&(i=a.zIndex)}t.topGroupZIndex=i}},this.nodeSelected=function(e){var n=e.data,r=e.isMultiple,i=e.isSelected,o=t.lf.getNodeModelById(n.id);if(t.toFrontGroup(o),t.topGroupZIndex>Bn){t.topGroupZIndex=Fn;for(var a=t.lf.graphModel.nodes.filter((function(e){return e.isGroup})).sort((function(e,t){return e.zIndex-t.zIndex})),s=0,l=0;l<a.length;l++){var u=a[l];u.zIndex!==s&&(t.topGroupZIndex++,s=u.zIndex),u.setZIndex(t.topGroupZIndex)}}if(r&&i)if(o.isGroup)o.children.forEach((function(e){var n=t.lf.graphModel.getElement(e);n.setSelected(!1)}));else{var c=t.nodeGroupMap.get(n.id);if(c){var f=t.lf.getNodeModelById(c);f.isSelected&&o.setSelected(!1)}}},this.toFrontGroup=function(e){e&&e.isGroup&&(t.topGroupZIndex++,e.setZIndex(t.topGroupZIndex),e.children&&e.children.forEach((function(e){var n=t.lf.getNodeModelById(e);t.toFrontGroup(n)})))},n.register(In),this.lf=n,n.graphModel.addNodeMoveRules((function(e,r,i){if(e.isGroup){var o=t.getNodeAllChild(e);return n.graphModel.moveNodes(o,r,i,!0),!0}var a=n.getNodeModelById(t.nodeGroupMap.get(e.id));if(a&&a.isRestrict){var s=e.getBounds(),l=s.x1,u=s.y1,c=s.x2,f=s.y2,h=a.isAllowMoveTo({x1:l+r,y1:u+i,x2:c+r,y2:f+i});return h}return!0})),n.graphModel.group=this,n.on("node:add,node:drop,node:dnd-add",this.appendNodeToGroup),n.on("node:delete",this.deleteGroupChild),n.on("node:dnd-drag,node:drag",this.setActiveGroup),n.on("node:click",this.nodeSelected),n.on("graph:rendered",this.graphRendered),n.addElements=function(e,r){for(var i=e.nodes,o=e.edges,a={},s={nodes:[],edges:[]},l=[],u=0;u<i.length;u++){var c=i[u],f=c.id,h=c.children,d=Rn(c,["children"]),p=n.addNode(d);if(!p)return{nodes:[],edges:[]};f&&(a[f]=p.id),s.nodes.push(p);var g=t.createAllChildNodes(a,h,p,r).edgesArray;l.push.apply(l,Nn(g))}return l.forEach((function(e){t.createEdgeModel(e,a,r)})),o.forEach((function(e){var n=t.createEdgeModel(e,a,0);s.edges.push(n)})),s}}e.prototype.createAllChildNodes=function(e,t,n,i){var o=this,a=this.lf,s=[],l=[],u=[];null===t||void 0===t||t.forEach((function(t){var c=a.getNodeModelById(t),f=c.x,h=c.y,d=c.properties,p=c.type,g=c.text,v=c.rotate,y=c.children,m=(c.incoming,c.outgoing,r["EventType"].NODE_GROUP_COPY||"node:group-copy-add"),b=a.addNode({x:f+i,y:h+i,properties:d,type:p,text:Ln(Ln({},g),{x:g.x+i,y:g.y+i}),rotate:v},m);if(n.addChild(b.id),e[t]=b.id,u.push(b),c.incoming.edges.forEach((function(e){l.push(e)})),c.outgoing.edges.forEach((function(e){l.push(e)})),y instanceof Set){var _=o.createAllChildNodes(e,y,b,i),x=_.nodesArray,w=_.edgesArray;u.push.apply(u,Nn(x)),s.push.apply(s,Nn(w))}}));var c=l.filter((function(t){return e[t.sourceNodeId]&&e[t.targetNodeId]})),f=c.map((function(e){return e.getData()}));return{nodesArray:u,edgesArray:s.concat(f)}},e.prototype.createEdgeModel=function(e,t,n){var r=this.lf,i=e.sourceNodeId,o=e.targetNodeId;t[i]&&(i=t[i]),t[o]&&(o=t[o]);var a=e.type,s=e.startPoint,l=e.endPoint,u=e.pointsList,c=e.text,f=(Rn(e,["type","startPoint","endPoint","pointsList","text"]),{x:s.x+n,y:s.y+n}),h={x:l.x+n,y:l.y+n},d=[];u&&u.length>0&&(d=u.map((function(e){return e.x+=n,e.y+=n,e})));var p=c;c&&"string"!==typeof c&&(p.x=c.x+n,p.y=c.y+n);var g=r.graphModel.addEdge({type:a,startPoint:f,endPoint:h,sourceNodeId:i,targetNodeId:o,pointsList:d,text:p});return g},e.prototype.getNodeAllChild=function(e){var t=this,n=[];return e.children&&e.children.forEach((function(e){n.push(e);var r=t.lf.getNodeModelById(e);r.isGroup&&(n=n.concat(t.getNodeAllChild(r)))})),n},e.prototype.getGroup=function(e,t){var n=this.lf.graphModel.nodes,r=n.filter((function(n){return n.isGroup&&n.isInRange(e)&&n.id!==t.id}));if(0!==r.length){if(1===r.length)return r[0];for(var i=r[r.length-1],o=r.length-2;o>=0;o--)r[o].zIndex>i.zIndex&&(i=r[o]);return i}},e.prototype.getNodeGroup=function(e){var t=this.nodeGroupMap.get(e);if(t)return this.lf.getNodeModelById(t)},e.pluginName="group"}(),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Un=function(){return Un=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Un.apply(this,arguments)};function Hn(){var e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zn(t,e),t.prototype.getFoldIcon=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.properties,s=e.foldable,l=e.x-e.width/2+5,u=e.y-e.height/2+5;if(!s)return null;var c=Object(r["h"])("path",{fill:"none",stroke:"#818281",strokeWidth:2,"pointer-events":"none",d:a.isFolded?"M "+(l+3)+","+(u+6)+" "+(l+11)+","+(u+6)+" M"+(l+7)+","+(u+2)+" "+(l+7)+","+(u+10):"M "+(l+3)+","+(u+6)+" "+(l+11)+","+(u+6)+" "});return Object(r["h"])("g",{},[Object(r["h"])("rect",{height:12,width:14,rx:2,ry:2,strokeWidth:1,fill:"#F4F5F6",stroke:"#CECECE",cursor:"pointer",x:t-i/2+5,y:n-o/2+5,onClick:function(t){t.stopPropagation(),e.foldGroup(!a.isFolded)}}),c])},t.prototype.getResizeShape=function(){var e=this.props.model,t=e.x,n=e.y,i=e.width,o=e.height,a=e.getNodeStyle(),s=Un(Un({},a),{x:t-i/2,y:n-o/2,width:i,height:o,stroke:"black",strokeWidth:2,strokeDasharray:"0 0"});return Object(r["h"])("g",{},[Object(r["h"])("rect",Un({},s)),this.getFoldIcon()])},t}(In.view),t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zn(t,e),t.prototype.initNodeData=function(t){e.prototype.initNodeData.call(this,t),this.foldable=!0,this.resizable=!0,this.width=400,this.height=200,this.resetWidthHeight(),this.isTaskNode=!0,this.boundaryEvents=[]},t.prototype.resetWidthHeight=function(){var e,t,n=null===(e=this.properties.iniProp)||void 0===e?void 0:e.width,r=null===(t=this.properties.iniProp)||void 0===t?void 0:t.height;n&&(this.width=n),r&&(this.height=r)},t.prototype.getNodeStyle=function(){var t=e.prototype.getNodeStyle.call(this);t.stroke="#989891",t.strokeWidth=1,t.strokeDasharray="3 3",this.isSelected&&(t.stroke="rgb(124, 15, 255)");var n=this.properties.isBoundaryEventTouchingTask;return n&&(t.stroke="#00acff",t.strokeWidth=2),t},t.prototype.addChild=function(t){var n=this.graphModel.getElement(t);n.setProperties({parent:this.id}),e.prototype.addChild.call(this,t)},t.prototype.getAnchorStyle=function(){var t=e.prototype.getAnchorStyle.call(this,{});return t.stroke="#000",t.fill="#fff",t.hover.stroke="transparent",t},t.prototype.getOutlineStyle=function(){var t=e.prototype.getOutlineStyle.call(this);return t.stroke="transparent",!t.hover&&(t.hover={}),t.hover.stroke="transparent",t},t.prototype.setTouching=function(e){this.setProperty("isBoundaryEventTouchingTask",e)},t.prototype.addBoundaryEvent=function(e){if(this.setTouching(!1),this.boundaryEvents.find((function(t){return t===e})))return!1;var t=this.graphModel.getNodeModelById(e);return null===t||void 0===t||t.setProperties({attachedToRef:this.id}),this.boundaryEvents.push(e),!0},t.prototype.deleteBoundaryEvent=function(e){this.boundaryEvents=this.boundaryEvents.filter((function(t){return t!==e}))},t}(In.model);return{type:"bpmn:subProcess",view:e,model:t}}var Vn=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Gn(e){function t(t){var n,i,o=t.data,a=o.type,s=o.id;if("bpmn:boundaryEvent"===a){var l=e.graphModel.nodes;try{for(var u=Vn(l),c=u.next();!c.done;c=u.next()){var f=c.value;if(f.isTaskNode){var h=null;if(null!==(h=r(f,o))){var d=e.graphModel.getNodeModelById(s),p=e.graphModel.getNodeModelById(h),g=d.properties.attachedToRef;return g&&g!==h&&e.graphModel.getNodeModelById(g).deleteBoundaryEvent(s),void p.addBoundaryEvent(s)}}}}catch(v){n={error:v}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}function n(t){var n,i,o=t.data,a=o.type;if("bpmn:boundaryEvent"===a){var s=e.graphModel.nodes;try{for(var l=Vn(s),u=l.next();!u.done;u=l.next()){var c=u.value;c.isTaskNode&&(r(c,o)?c.setTouching(!0):c.setTouching(!1))}}catch(f){n={error:f}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}}function r(e,t){var n=5,r=e.x,i=e.y,o=e.width,a=e.height,s=e.id,l={minX:r-o/2,maxX:r+o/2,minY:i-a/2,maxY:i+a/2},u=t.x,c=t.y,f={minX:l.minX-n,maxX:l.maxX+n,minY:l.minY-n,maxY:l.maxY+n},h={minX:l.minX+n,maxX:l.maxX-n,minY:l.minY+n,maxY:l.maxY-n};return u>f.minX&&u<f.maxX&&c>f.minY&&c<f.maxY&&!(u>h.minX&&u<h.maxX&&c>h.minY&&c<h.maxY)?s:null}e.on("node:drag,node:dnd-drag",n),e.on("node:drop,node:dnd-add",t),e.graphModel.addNodeMoveRules((function(t,n,r){if(t.isTaskNode){var i=t.boundaryEvents;return e.graphModel.moveNodes(i,n,r,!0),!0}return!0}))}function Wn(e){var t=gt("bpmn:serviceTask",tt),n=gt("bpmn:userTask",nt);e.register(t),e.register(n),e.register(Hn()),Gn(e)}var qn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Xn=function(){return Xn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xn.apply(this,arguments)};function Yn(e){var t=function(t){function n(n,r){var i=this;n.id||(n.id="Flow_"+ke());var o=Xn(Xn(Xn({},e||{}),n.properties),{isDefaultFlow:!1});return n.properties=o,i=t.call(this,n,r)||this,i}return qn(n,t),n.extendKey="SequenceFlowModel",n}(r["PolylineEdgeModel"]),n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return qn(t,e),t.prototype.getStartArrow=function(){var e=this.props.model,t=e.properties.isDefaultFlow;return t?Object(r["h"])("path",{refX:15,stroke:"#000000",strokeWidth:2,d:"M 20 5 10 -5 z"}):Object(r["h"])("path",{d:""})},t.extendKey="SequenceFlowEdge",t}(r["PolylineEdge"]);return{type:"bpmn:sequenceFlow",view:n,model:t}}var Kn=Yn();function $n(e){e.register(Kn)}var Zn=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Jn=[{nodes:["startEvent","intermediateCatchEvent","boundaryEvent"],definition:[{type:"bpmn:timerEventDefinition",icon:Ze,properties:{definitionType:"bpmn:timerEventDefinition",timerValue:"",timerType:""}}]}];function Qn(e){function t(t){function n(t,n){return t.forEach((function(t){(null===e||void 0===e?void 0:e[t])||(e[t]=new Map);var r=null===e||void 0===e?void 0:e[t];n.forEach((function(e){r.set(e.type,e)}))})),e}t.forEach((function(e){n(e.nodes,e.definition)}))}return function(){return[e,t]}}(function(){function e(e){var t=e.lf;t.definition={},t.useDefinition=Qn(t.definition);var n=Zn(t.useDefinition(),2),r=(n[0],n[1]);r(Jn),$e(t),ut(t),$n(t),Wn(t),t.setDefaultEdgeType("bpmn:sequenceFlow")}e.pluginName="BpmnElementsPlugin"})();function er(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;var o=Array(i);while(++r<i)o[r]=e[r+t];return o}var tr=er;function nr(e,t){return e===t||e!==e&&t!==t}var rr=nr,ir=n("26ee"),or=ir["a"].Symbol,ar=or,sr=Object.prototype,lr=sr.hasOwnProperty,ur=sr.toString,cr=ar?ar.toStringTag:void 0;function fr(e){var t=lr.call(e,cr),n=e[cr];try{e[cr]=void 0;var r=!0}catch(o){}var i=ur.call(e);return r&&(t?e[cr]=n:delete e[cr]),i}var hr=fr,dr=Object.prototype,pr=dr.toString;function gr(e){return pr.call(e)}var vr=gr,yr="[object Null]",mr="[object Undefined]",br=ar?ar.toStringTag:void 0;function _r(e){return null==e?void 0===e?mr:yr:br&&br in Object(e)?hr(e):vr(e)}var xr=_r;function wr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Sr=wr,kr="[object AsyncFunction]",Er="[object Function]",Or="[object GeneratorFunction]",Cr="[object Proxy]";function Ar(e){if(!Sr(e))return!1;var t=xr(e);return t==Er||t==Or||t==kr||t==Cr}var Tr=Ar,Pr=9007199254740991;function Mr(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Pr}var Dr=Mr;function Ir(e){return null!=e&&Dr(e.length)&&!Tr(e)}var Lr=Ir,Rr=9007199254740991,jr=/^(?:0|[1-9]\d*)$/;function Nr(e,t){var n=typeof e;return t=null==t?Rr:t,!!t&&("number"==n||"symbol"!=n&&jr.test(e))&&e>-1&&e%1==0&&e<t}var Br=Nr;function Fr(e,t,n){if(!Sr(n))return!1;var r=typeof t;return!!("number"==r?Lr(n)&&Br(t,n.length):"string"==r&&t in n)&&rr(n[t],e)}var zr=Fr,Ur=/\s/;function Hr(e){var t=e.length;while(t--&&Ur.test(e.charAt(t)));return t}var Vr=Hr,Gr=/^\s+/;function Wr(e){return e?e.slice(0,Vr(e)+1).replace(Gr,""):e}var qr=Wr;function Xr(e){return null!=e&&"object"==typeof e}var Yr=Xr,Kr="[object Symbol]";function $r(e){return"symbol"==typeof e||Yr(e)&&xr(e)==Kr}var Zr=$r,Jr=NaN,Qr=/^[-+]0x[0-9a-f]+$/i,ei=/^0b[01]+$/i,ti=/^0o[0-7]+$/i,ni=parseInt;function ri(e){if("number"==typeof e)return e;if(Zr(e))return Jr;if(Sr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Sr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=qr(e);var n=ei.test(e);return n||ti.test(e)?ni(e.slice(2),n?2:8):Qr.test(e)?Jr:+e}var ii=ri,oi=1/0,ai=17976931348623157e292;function si(e){if(!e)return 0===e?e:0;if(e=ii(e),e===oi||e===-oi){var t=e<0?-1:1;return t*ai}return e===e?e:0}var li=si;function ui(e){var t=li(e),n=t%1;return t===t?n?t-n:t:0}var ci=ui,fi=Math.ceil,hi=Math.max;function di(e,t,n){t=(n?zr(e,t,n):void 0===t)?1:hi(ci(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];var i=0,o=0,a=Array(fi(r/t));while(i<r)a[o++]=tr(e,i,i+=t);return a}var pi=di;function gi(e){var t=-1,n=null==e?0:e.length,r=0,i=[];while(++t<n){var o=e[t];o&&(i[r++]=o)}return i}var vi=gi;function yi(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}var mi=yi,bi="[object Arguments]";function _i(e){return Yr(e)&&xr(e)==bi}var xi=_i,wi=Object.prototype,Si=wi.hasOwnProperty,ki=wi.propertyIsEnumerable,Ei=xi(function(){return arguments}())?xi:function(e){return Yr(e)&&Si.call(e,"callee")&&!ki.call(e,"callee")},Oi=Ei,Ci=Array.isArray,Ai=Ci,Ti=ar?ar.isConcatSpreadable:void 0;function Pi(e){return Ai(e)||Oi(e)||!!(Ti&&e&&e[Ti])}var Mi=Pi;function Di(e,t,n,r,i){var o=-1,a=e.length;n||(n=Mi),i||(i=[]);while(++o<a){var s=e[o];t>0&&n(s)?t>1?Di(s,t-1,n,r,i):mi(i,s):r||(i[i.length]=s)}return i}var Ii=Di;function Li(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n<r)t[n]=e[n];return t}var Ri=Li;function ji(){var e=arguments.length;if(!e)return[];var t=Array(e-1),n=arguments[0],r=e;while(r--)t[r-1]=arguments[r];return mi(Ai(n)?Ri(n):[n],Ii(t,1))}var Ni=ji,Bi=ir["a"]["__core-js_shared__"],Fi=Bi,zi=function(){var e=/[^.]+$/.exec(Fi&&Fi.keys&&Fi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ui(e){return!!zi&&zi in e}var Hi=Ui,Vi=Function.prototype,Gi=Vi.toString;function Wi(e){if(null!=e){try{return Gi.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var qi=Wi,Xi=/[\\^$.*+?()[\]{}|]/g,Yi=/^\[object .+?Constructor\]$/,Ki=Function.prototype,$i=Object.prototype,Zi=Ki.toString,Ji=$i.hasOwnProperty,Qi=RegExp("^"+Zi.call(Ji).replace(Xi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function eo(e){if(!Sr(e)||Hi(e))return!1;var t=Tr(e)?Qi:Yi;return t.test(qi(e))}var to=eo;function no(e,t){return null==e?void 0:e[t]}var ro=no;function io(e,t){var n=ro(e,t);return to(n)?n:void 0}var oo=io,ao=oo(Object,"create"),so=ao;function lo(){this.__data__=so?so(null):{},this.size=0}var uo=lo;function co(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fo=co,ho="__lodash_hash_undefined__",po=Object.prototype,go=po.hasOwnProperty;function vo(e){var t=this.__data__;if(so){var n=t[e];return n===ho?void 0:n}return go.call(t,e)?t[e]:void 0}var yo=vo,mo=Object.prototype,bo=mo.hasOwnProperty;function _o(e){var t=this.__data__;return so?void 0!==t[e]:bo.call(t,e)}var xo=_o,wo="__lodash_hash_undefined__";function So(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=so&&void 0===t?wo:t,this}var ko=So;function Eo(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}Eo.prototype.clear=uo,Eo.prototype["delete"]=fo,Eo.prototype.get=yo,Eo.prototype.has=xo,Eo.prototype.set=ko;var Oo=Eo;function Co(){this.__data__=[],this.size=0}var Ao=Co;function To(e,t){var n=e.length;while(n--)if(rr(e[n][0],t))return n;return-1}var Po=To,Mo=Array.prototype,Do=Mo.splice;function Io(e){var t=this.__data__,n=Po(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Do.call(t,n,1),--this.size,!0}var Lo=Io;function Ro(e){var t=this.__data__,n=Po(t,e);return n<0?void 0:t[n][1]}var jo=Ro;function No(e){return Po(this.__data__,e)>-1}var Bo=No;function Fo(e,t){var n=this.__data__,r=Po(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var zo=Fo;function Uo(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}Uo.prototype.clear=Ao,Uo.prototype["delete"]=Lo,Uo.prototype.get=jo,Uo.prototype.has=Bo,Uo.prototype.set=zo;var Ho=Uo,Vo=oo(ir["a"],"Map"),Go=Vo;function Wo(){this.size=0,this.__data__={hash:new Oo,map:new(Go||Ho),string:new Oo}}var qo=Wo;function Xo(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var Yo=Xo;function Ko(e,t){var n=e.__data__;return Yo(t)?n["string"==typeof t?"string":"hash"]:n.map}var $o=Ko;function Zo(e){var t=$o(this,e)["delete"](e);return this.size-=t?1:0,t}var Jo=Zo;function Qo(e){return $o(this,e).get(e)}var ea=Qo;function ta(e){return $o(this,e).has(e)}var na=ta;function ra(e,t){var n=$o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var ia=ra;function oa(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}oa.prototype.clear=qo,oa.prototype["delete"]=Jo,oa.prototype.get=ea,oa.prototype.has=na,oa.prototype.set=ia;var aa=oa,sa="__lodash_hash_undefined__";function la(e){return this.__data__.set(e,sa),this}var ua=la;function ca(e){return this.__data__.has(e)}var fa=ca;function ha(e){var t=-1,n=null==e?0:e.length;this.__data__=new aa;while(++t<n)this.add(e[t])}ha.prototype.add=ha.prototype.push=ua,ha.prototype.has=fa;var da=ha;function pa(e,t,n,r){var i=e.length,o=n+(r?1:-1);while(r?o--:++o<i)if(t(e[o],o,e))return o;return-1}var ga=pa;function va(e){return e!==e}var ya=va;function ma(e,t,n){var r=n-1,i=e.length;while(++r<i)if(e[r]===t)return r;return-1}var ba=ma;function _a(e,t,n){return t===t?ba(e,t,n):ga(e,ya,n)}var xa=_a;function wa(e,t){var n=null==e?0:e.length;return!!n&&xa(e,t,0)>-1}var Sa=wa;function ka(e,t,n){var r=-1,i=null==e?0:e.length;while(++r<i)if(n(t,e[r]))return!0;return!1}var Ea=ka;function Oa(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}var Ca=Oa;function Aa(e){return function(t){return e(t)}}var Ta=Aa;function Pa(e,t){return e.has(t)}var Ma=Pa,Da=200;function Ia(e,t,n,r){var i=-1,o=Sa,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Ca(t,Ta(n))),r?(o=Ea,a=!1):t.length>=Da&&(o=Ma,a=!1,t=new da(t));e:while(++i<s){var c=e[i],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f===f){var h=u;while(h--)if(t[h]===f)continue e;l.push(c)}else o(t,f,r)||l.push(c)}return l}var La=Ia;function Ra(e){return e}var ja=Ra;function Na(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Ba=Na,Fa=Math.max;function za(e,t,n){return t=Fa(void 0===t?e.length-1:t,0),function(){var r=arguments,i=-1,o=Fa(r.length-t,0),a=Array(o);while(++i<o)a[i]=r[t+i];i=-1;var s=Array(t+1);while(++i<t)s[i]=r[i];return s[t]=n(a),Ba(e,this,s)}}var Ua=za;function Ha(e){return function(){return e}}var Va=Ha,Ga=function(){try{var e=oo(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Wa=Ga,qa=Wa?function(e,t){return Wa(e,"toString",{configurable:!0,enumerable:!1,value:Va(t),writable:!0})}:ja,Xa=qa,Ya=800,Ka=16,$a=Date.now;function Za(e){var t=0,n=0;return function(){var r=$a(),i=Ka-(r-n);if(n=r,i>0){if(++t>=Ya)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ja=Za,Qa=Ja(Xa),es=Qa;function ts(e,t){return es(Ua(e,t,ja),e+"")}var ns=ts;function rs(e){return Yr(e)&&Lr(e)}var is=rs,os=ns((function(e,t){return is(e)?La(e,Ii(t,1,is,!0)):[]})),as=os;function ss(){this.__data__=new Ho,this.size=0}var ls=ss;function us(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}var cs=us;function fs(e){return this.__data__.get(e)}var hs=fs;function ds(e){return this.__data__.has(e)}var ps=ds,gs=200;function vs(e,t){var n=this.__data__;if(n instanceof Ho){var r=n.__data__;if(!Go||r.length<gs-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new aa(r)}return n.set(e,t),this.size=n.size,this}var ys=vs;function ms(e){var t=this.__data__=new Ho(e);this.size=t.size}ms.prototype.clear=ls,ms.prototype["delete"]=cs,ms.prototype.get=hs,ms.prototype.has=ps,ms.prototype.set=ys;var bs=ms;function _s(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var xs=_s,ws=1,Ss=2;function ks(e,t,n,r,i,o){var a=n&ws,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,d=n&Ss?new da:void 0;o.set(e,t),o.set(t,e);while(++f<s){var p=e[f],g=t[f];if(r)var v=a?r(g,p,f,t,e,o):r(p,g,f,e,t,o);if(void 0!==v){if(v)continue;h=!1;break}if(d){if(!xs(t,(function(e,t){if(!Ma(d,t)&&(p===e||i(p,e,n,r,o)))return d.push(t)}))){h=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){h=!1;break}}return o["delete"](e),o["delete"](t),h}var Es=ks,Os=ir["a"].Uint8Array,Cs=Os;function As(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}var Ts=As;function Ps(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Ms=Ps,Ds=1,Is=2,Ls="[object Boolean]",Rs="[object Date]",js="[object Error]",Ns="[object Map]",Bs="[object Number]",Fs="[object RegExp]",zs="[object Set]",Us="[object String]",Hs="[object Symbol]",Vs="[object ArrayBuffer]",Gs="[object DataView]",Ws=ar?ar.prototype:void 0,qs=Ws?Ws.valueOf:void 0;function Xs(e,t,n,r,i,o,a){switch(n){case Gs:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Vs:return!(e.byteLength!=t.byteLength||!o(new Cs(e),new Cs(t)));case Ls:case Rs:case Bs:return rr(+e,+t);case js:return e.name==t.name&&e.message==t.message;case Fs:case Us:return e==t+"";case Ns:var s=Ts;case zs:var l=r&Ds;if(s||(s=Ms),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=Is,a.set(e,t);var c=Es(s(e),s(t),r,i,o,a);return a["delete"](e),c;case Hs:if(qs)return qs.call(e)==qs.call(t)}return!1}var Ys=Xs;function Ks(e,t,n){var r=t(e);return Ai(e)?r:mi(r,n(e))}var $s=Ks;function Zs(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}var Js=Zs;function Qs(){return[]}var el=Qs,tl=Object.prototype,nl=tl.propertyIsEnumerable,rl=Object.getOwnPropertySymbols,il=rl?function(e){return null==e?[]:(e=Object(e),Js(rl(e),(function(t){return nl.call(e,t)})))}:el,ol=il;function al(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}var sl=al,ll=n("58e0"),ul="[object Arguments]",cl="[object Array]",fl="[object Boolean]",hl="[object Date]",dl="[object Error]",pl="[object Function]",gl="[object Map]",vl="[object Number]",yl="[object Object]",ml="[object RegExp]",bl="[object Set]",_l="[object String]",xl="[object WeakMap]",wl="[object ArrayBuffer]",Sl="[object DataView]",kl="[object Float32Array]",El="[object Float64Array]",Ol="[object Int8Array]",Cl="[object Int16Array]",Al="[object Int32Array]",Tl="[object Uint8Array]",Pl="[object Uint8ClampedArray]",Ml="[object Uint16Array]",Dl="[object Uint32Array]",Il={};function Ll(e){return Yr(e)&&Dr(e.length)&&!!Il[xr(e)]}Il[kl]=Il[El]=Il[Ol]=Il[Cl]=Il[Al]=Il[Tl]=Il[Pl]=Il[Ml]=Il[Dl]=!0,Il[ul]=Il[cl]=Il[wl]=Il[fl]=Il[Sl]=Il[hl]=Il[dl]=Il[pl]=Il[gl]=Il[vl]=Il[yl]=Il[ml]=Il[bl]=Il[_l]=Il[xl]=!1;var Rl=Ll,jl=n("c6eb"),Nl=jl["a"]&&jl["a"].isTypedArray,Bl=Nl?Ta(Nl):Rl,Fl=Bl,zl=Object.prototype,Ul=zl.hasOwnProperty;function Hl(e,t){var n=Ai(e),r=!n&&Oi(e),i=!n&&!r&&Object(ll["a"])(e),o=!n&&!r&&!i&&Fl(e),a=n||r||i||o,s=a?sl(e.length,String):[],l=s.length;for(var u in e)!t&&!Ul.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Br(u,l))||s.push(u);return s}var Vl=Hl,Gl=Object.prototype;function Wl(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Gl;return e===n}var ql=Wl;function Xl(e,t){return function(n){return e(t(n))}}var Yl=Xl,Kl=Yl(Object.keys,Object),$l=Kl,Zl=Object.prototype,Jl=Zl.hasOwnProperty;function Ql(e){if(!ql(e))return $l(e);var t=[];for(var n in Object(e))Jl.call(e,n)&&"constructor"!=n&&t.push(n);return t}var eu=Ql;function tu(e){return Lr(e)?Vl(e):eu(e)}var nu=tu;function ru(e){return $s(e,nu,ol)}var iu=ru,ou=1,au=Object.prototype,su=au.hasOwnProperty;function lu(e,t,n,r,i,o){var a=n&ou,s=iu(e),l=s.length,u=iu(t),c=u.length;if(l!=c&&!a)return!1;var f=l;while(f--){var h=s[f];if(!(a?h in t:su.call(t,h)))return!1}var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var g=!0;o.set(e,t),o.set(t,e);var v=a;while(++f<l){h=s[f];var y=e[h],m=t[h];if(r)var b=a?r(m,y,h,t,e,o):r(y,m,h,e,t,o);if(!(void 0===b?y===m||i(y,m,n,r,o):b)){g=!1;break}v||(v="constructor"==h)}if(g&&!v){var _=e.constructor,x=t.constructor;_==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(g=!1)}return o["delete"](e),o["delete"](t),g}var uu=lu,cu=oo(ir["a"],"DataView"),fu=cu,hu=oo(ir["a"],"Promise"),du=hu,pu=oo(ir["a"],"Set"),gu=pu,vu=oo(ir["a"],"WeakMap"),yu=vu,mu="[object Map]",bu="[object Object]",_u="[object Promise]",xu="[object Set]",wu="[object WeakMap]",Su="[object DataView]",ku=qi(fu),Eu=qi(Go),Ou=qi(du),Cu=qi(gu),Au=qi(yu),Tu=xr;(fu&&Tu(new fu(new ArrayBuffer(1)))!=Su||Go&&Tu(new Go)!=mu||du&&Tu(du.resolve())!=_u||gu&&Tu(new gu)!=xu||yu&&Tu(new yu)!=wu)&&(Tu=function(e){var t=xr(e),n=t==bu?e.constructor:void 0,r=n?qi(n):"";if(r)switch(r){case ku:return Su;case Eu:return mu;case Ou:return _u;case Cu:return xu;case Au:return wu}return t});var Pu=Tu,Mu=1,Du="[object Arguments]",Iu="[object Array]",Lu="[object Object]",Ru=Object.prototype,ju=Ru.hasOwnProperty;function Nu(e,t,n,r,i,o){var a=Ai(e),s=Ai(t),l=a?Iu:Pu(e),u=s?Iu:Pu(t);l=l==Du?Lu:l,u=u==Du?Lu:u;var c=l==Lu,f=u==Lu,h=l==u;if(h&&Object(ll["a"])(e)){if(!Object(ll["a"])(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new bs),a||Fl(e)?Es(e,t,n,r,i,o):Ys(e,t,l,n,r,i,o);if(!(n&Mu)){var d=c&&ju.call(e,"__wrapped__"),p=f&&ju.call(t,"__wrapped__");if(d||p){var g=d?e.value():e,v=p?t.value():t;return o||(o=new bs),i(g,v,n,r,o)}}return!!h&&(o||(o=new bs),uu(e,t,n,r,i,o))}var Bu=Nu;function Fu(e,t,n,r,i){return e===t||(null==e||null==t||!Yr(e)&&!Yr(t)?e!==e&&t!==t:Bu(e,t,n,r,Fu,i))}var zu=Fu,Uu=1,Hu=2;function Vu(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;e=Object(e);while(i--){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}while(++i<o){s=n[i];var l=s[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var f=new bs;if(r)var h=r(u,c,l,e,t,f);if(!(void 0===h?zu(c,u,Uu|Hu,r,f):h))return!1}}return!0}var Gu=Vu;function Wu(e){return e===e&&!Sr(e)}var qu=Wu;function Xu(e){var t=nu(e),n=t.length;while(n--){var r=t[n],i=e[r];t[n]=[r,i,qu(i)]}return t}var Yu=Xu;function Ku(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}var $u=Ku;function Zu(e){var t=Yu(e);return 1==t.length&&t[0][2]?$u(t[0][0],t[0][1]):function(n){return n===e||Gu(n,e,t)}}var Ju=Zu,Qu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ec=/^\w*$/;function tc(e,t){if(Ai(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Zr(e))||(ec.test(e)||!Qu.test(e)||null!=t&&e in Object(t))}var nc=tc,rc="Expected a function";function ic(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(rc);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ic.Cache||aa),n}ic.Cache=aa;var oc=ic,ac=500;function sc(e){var t=oc(e,(function(e){return n.size===ac&&n.clear(),e})),n=t.cache;return t}var lc=sc,uc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cc=/\\(\\)?/g,fc=lc((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(uc,(function(e,n,r,i){t.push(r?i.replace(cc,"$1"):n||e)})),t})),hc=fc,dc=1/0,pc=ar?ar.prototype:void 0,gc=pc?pc.toString:void 0;function vc(e){if("string"==typeof e)return e;if(Ai(e))return Ca(e,vc)+"";if(Zr(e))return gc?gc.call(e):"";var t=e+"";return"0"==t&&1/e==-dc?"-0":t}var yc=vc;function mc(e){return null==e?"":yc(e)}var bc=mc;function _c(e,t){return Ai(e)?e:nc(e,t)?[e]:hc(bc(e))}var xc=_c,wc=1/0;function Sc(e){if("string"==typeof e||Zr(e))return e;var t=e+"";return"0"==t&&1/e==-wc?"-0":t}var kc=Sc;function Ec(e,t){t=xc(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[kc(t[n++])];return n&&n==r?e:void 0}var Oc=Ec;function Cc(e,t,n){var r=null==e?void 0:Oc(e,t);return void 0===r?n:r}var Ac=Cc;function Tc(e,t){return null!=e&&t in Object(e)}var Pc=Tc;function Mc(e,t,n){t=xc(t,e);var r=-1,i=t.length,o=!1;while(++r<i){var a=kc(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:(i=null==e?0:e.length,!!i&&Dr(i)&&Br(a,i)&&(Ai(e)||Oi(e)))}var Dc=Mc;function Ic(e,t){return null!=e&&Dc(e,t,Pc)}var Lc=Ic,Rc=1,jc=2;function Nc(e,t){return nc(e)&&qu(t)?$u(kc(e),t):function(n){var r=Ac(n,e);return void 0===r&&r===t?Lc(n,e):zu(t,r,Rc|jc)}}var Bc=Nc;function Fc(e){return function(t){return null==t?void 0:t[e]}}var zc=Fc;function Uc(e){return function(t){return Oc(t,e)}}var Hc=Uc;function Vc(e){return nc(e)?zc(kc(e)):Hc(e)}var Gc=Vc;function Wc(e){return"function"==typeof e?e:null==e?ja:"object"==typeof e?Ai(e)?Bc(e[0],e[1]):Ju(e):Gc(e)}var qc=Wc;function Xc(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Yc=Xc,Kc=ns((function(e,t){var n=Yc(t);return is(n)&&(n=void 0),is(e)?La(e,Ii(t,1,is,!0),qc(n,2)):[]})),$c=Kc,Zc=ns((function(e,t){var n=Yc(t);return is(n)&&(n=void 0),is(e)?La(e,Ii(t,1,is,!0),void 0,n):[]})),Jc=Zc;function Qc(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:ci(t),tr(e,t<0?0:t,r)):[]}var ef=Qc;function tf(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:ci(t),t=r-t,tr(e,0,t<0?0:t)):[]}var nf=tf;function rf(e,t,n,r){var i=e.length,o=r?i:-1;while((r?o--:++o<i)&&t(e[o],o,e));return n?tr(e,r?0:o,r?o+1:i):tr(e,r?o+1:0,r?i:o)}var of=rf;function af(e,t){return e&&e.length?of(e,qc(t,3),!0,!0):[]}var sf=af;function lf(e,t){return e&&e.length?of(e,qc(t,3),!0):[]}var uf=lf;function cf(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}var ff=cf,hf=4294967295;function df(e){return e?ff(ci(e),0,hf):0}var pf=df;function gf(e,t,n,r){var i=e.length;n=ci(n),n<0&&(n=-n>i?0:i+n),r=void 0===r||r>i?i:ci(r),r<0&&(r+=i),r=n>r?0:pf(r);while(n<r)e[n++]=t;return e}var vf=gf;function yf(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&zr(e,t,n)&&(n=0,r=i),vf(e,t,n,r)):[]}var mf=yf,bf=Math.max;function _f(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ci(n);return i<0&&(i=bf(r+i,0)),ga(e,qc(t,3),i)}var xf=_f,wf=Math.max,Sf=Math.min;function kf(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ci(n),i=n<0?wf(r+i,0):Sf(i,r-1)),ga(e,qc(t,3),i,!0)}var Ef=kf;function Of(e){return e&&e.length?e[0]:void 0}var Cf=Of;function Af(e){var t=null==e?0:e.length;return t?Ii(e,1):[]}var Tf=Af,Pf=1/0;function Mf(e){var t=null==e?0:e.length;return t?Ii(e,Pf):[]}var Df=Mf;function If(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:ci(t),Ii(e,t)):[]}var Lf=If;function Rf(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var i=e[t];r[i[0]]=i[1]}return r}var jf=Rf,Nf=Math.max;function Bf(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ci(n);return i<0&&(i=Nf(r+i,0)),xa(e,t,i)}var Ff=Bf;function zf(e){var t=null==e?0:e.length;return t?tr(e,0,-1):[]}var Uf=zf,Hf=Math.min;function Vf(e,t,n){var r=n?Ea:Sa,i=e[0].length,o=e.length,a=o,s=Array(o),l=1/0,u=[];while(a--){var c=e[a];a&&t&&(c=Ca(c,Ta(t))),l=Hf(c.length,l),s[a]=!n&&(t||i>=120&&c.length>=120)?new da(a&&c):void 0}c=e[0];var f=-1,h=s[0];e:while(++f<i&&u.length<l){var d=c[f],p=t?t(d):d;if(d=n||0!==d?d:0,!(h?Ma(h,p):r(u,p,n))){a=o;while(--a){var g=s[a];if(!(g?Ma(g,p):r(e[a],p,n)))continue e}h&&h.push(p),u.push(d)}}return u}var Gf=Vf;function Wf(e){return is(e)?e:[]}var qf=Wf,Xf=ns((function(e){var t=Ca(e,qf);return t.length&&t[0]===e[0]?Gf(t):[]})),Yf=Xf,Kf=ns((function(e){var t=Yc(e),n=Ca(e,qf);return t===Yc(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?Gf(n,qc(t,2)):[]})),$f=Kf,Zf=ns((function(e){var t=Yc(e),n=Ca(e,qf);return t="function"==typeof t?t:void 0,t&&n.pop(),n.length&&n[0]===e[0]?Gf(n,void 0,t):[]})),Jf=Zf,Qf=Array.prototype,eh=Qf.join;function th(e,t){return null==e?"":eh.call(e,t)}var nh=th;function rh(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}var ih=rh,oh=Math.max,ah=Math.min;function sh(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=ci(n),i=i<0?oh(r+i,0):ah(i,r-1)),t===t?ih(e,t,i):ga(e,ya,i,!0)}var lh=sh;function uh(e,t){var n=e.length;if(n)return t+=t<0?n:0,Br(t,n)?e[t]:void 0}var ch=uh;function fh(e,t){return e&&e.length?ch(e,ci(t)):void 0}var hh=fh;function dh(e,t,n,r){var i=n-1,o=e.length;while(++i<o)if(r(e[i],t))return i;return-1}var ph=dh,gh=Array.prototype,vh=gh.splice;function yh(e,t,n,r){var i=r?ph:xa,o=-1,a=t.length,s=e;e===t&&(t=Ri(t)),n&&(s=Ca(e,Ta(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=i(s,c,l,r))>-1)s!==e&&vh.call(s,l,1),vh.call(e,l,1)}return e}var mh=yh;function bh(e,t){return e&&e.length&&t&&t.length?mh(e,t):e}var _h=bh,xh=ns(_h),wh=xh;function Sh(e,t,n){return e&&e.length&&t&&t.length?mh(e,t,qc(n,2)):e}var kh=Sh;function Eh(e,t,n){return e&&e.length&&t&&t.length?mh(e,t,void 0,n):e}var Oh=Eh;function Ch(e,t){var n=-1,r=t.length,i=Array(r),o=null==e;while(++n<r)i[n]=o?void 0:Ac(e,t[n]);return i}var Ah=Ch;function Th(e,t){return t.length<2?e:Oc(e,tr(t,0,-1))}var Ph=Th;function Mh(e,t){return t=xc(t,e),e=Ph(e,t),null==e||delete e[kc(Yc(t))]}var Dh=Mh,Ih=Array.prototype,Lh=Ih.splice;function Rh(e,t){var n=e?t.length:0,r=n-1;while(n--){var i=t[n];if(n==r||i!==o){var o=i;Br(i)?Lh.call(e,i,1):Dh(e,i)}}return e}var jh=Rh;function Nh(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,o=Zr(e),a=void 0!==t,s=null===t,l=t===t,u=Zr(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}var Bh=Nh;function Fh(e){return es(Ua(e,void 0,Tf),e+"")}var zh=Fh,Uh=zh((function(e,t){var n=null==e?0:e.length,r=Ah(e,t);return jh(e,Ca(t,(function(e){return Br(e,n)?+e:e})).sort(Bh)),r})),Hh=Uh;function Vh(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;t=qc(t,3);while(++r<o){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return jh(e,i),n}var Gh=Vh,Wh=Array.prototype,qh=Wh.reverse;function Xh(e){return null==e?e:qh.call(e)}var Yh=Xh;function Kh(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&zr(e,t,n)?(t=0,n=r):(t=null==t?0:ci(t),n=void 0===n?r:ci(n)),tr(e,t,n)):[]}var $h=Kh,Zh=4294967295,Jh=Zh-1,Qh=Math.floor,ed=Math.min;function td(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;t=n(t);var a=t!==t,s=null===t,l=Zr(t),u=void 0===t;while(i<o){var c=Qh((i+o)/2),f=n(e[c]),h=void 0!==f,d=null===f,p=f===f,g=Zr(f);if(a)var v=r||p;else v=u?p&&(r||h):s?p&&h&&(r||!d):l?p&&h&&!d&&(r||!g):!d&&!g&&(r?f<=t:f<t);v?i=c+1:o=c}return ed(o,Jh)}var nd=td,rd=4294967295,id=rd>>>1;function od(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=id){while(r<i){var o=r+i>>>1,a=e[o];null!==a&&!Zr(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return nd(e,t,ja,n)}var ad=od;function sd(e,t){return ad(e,t)}var ld=sd;function ud(e,t,n){return nd(e,t,qc(n,2))}var cd=ud;function fd(e,t){var n=null==e?0:e.length;if(n){var r=ad(e,t);if(r<n&&rr(e[r],t))return r}return-1}var hd=fd;function dd(e,t){return ad(e,t,!0)}var pd=dd;function gd(e,t,n){return nd(e,t,qc(n,2),!0)}var vd=gd;function yd(e,t){var n=null==e?0:e.length;if(n){var r=ad(e,t,!0)-1;if(rr(e[r],t))return r}return-1}var md=yd;function bd(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n],s=t?t(a):a;if(!n||!rr(s,l)){var l=s;o[i++]=0===a?0:a}}return o}var _d=bd;function xd(e){return e&&e.length?_d(e):[]}var wd=xd;function Sd(e,t){return e&&e.length?_d(e,qc(t,2)):[]}var kd=Sd;function Ed(e){var t=null==e?0:e.length;return t?tr(e,1,t):[]}var Od=Ed;function Cd(e,t,n){return e&&e.length?(t=n||void 0===t?1:ci(t),tr(e,0,t<0?0:t)):[]}var Ad=Cd;function Td(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:ci(t),t=r-t,tr(e,t<0?0:t,r)):[]}var Pd=Td;function Md(e,t){return e&&e.length?of(e,qc(t,3),!1,!0):[]}var Dd=Md;function Id(e,t){return e&&e.length?of(e,qc(t,3)):[]}var Ld=Id;function Rd(){}var jd=Rd,Nd=1/0,Bd=gu&&1/Ms(new gu([,-0]))[1]==Nd?function(e){return new gu(e)}:jd,Fd=Bd,zd=200;function Ud(e,t,n){var r=-1,i=Sa,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Ea;else if(o>=zd){var u=t?null:Fd(e);if(u)return Ms(u);a=!1,i=Ma,l=new da}else l=t?[]:s;e:while(++r<o){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,a&&f===f){var h=l.length;while(h--)if(l[h]===f)continue e;t&&l.push(f),s.push(c)}else i(l,f,n)||(l!==s&&l.push(f),s.push(c))}return s}var Hd=Ud,Vd=ns((function(e){return Hd(Ii(e,1,is,!0))})),Gd=Vd,Wd=ns((function(e){var t=Yc(e);return is(t)&&(t=void 0),Hd(Ii(e,1,is,!0),qc(t,2))})),qd=Wd,Xd=ns((function(e){var t=Yc(e);return t="function"==typeof t?t:void 0,Hd(Ii(e,1,is,!0),void 0,t)})),Yd=Xd;function Kd(e){return e&&e.length?Hd(e):[]}var $d=Kd;function Zd(e,t){return e&&e.length?Hd(e,qc(t,2)):[]}var Jd=Zd;function Qd(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Hd(e,void 0,t):[]}var ep=Qd,tp=Math.max;function np(e){if(!e||!e.length)return[];var t=0;return e=Js(e,(function(e){if(is(e))return t=tp(e.length,t),!0})),sl(t,(function(t){return Ca(e,zc(t))}))}var rp=np;function ip(e,t){if(!e||!e.length)return[];var n=rp(e);return null==t?n:Ca(n,(function(e){return Ba(t,void 0,e)}))}var op=ip,ap=ns((function(e,t){return is(e)?La(e,t):[]})),sp=ap;function lp(e,t,n){var r=e.length;if(r<2)return r?Hd(e[0]):[];var i=-1,o=Array(r);while(++i<r){var a=e[i],s=-1;while(++s<r)s!=i&&(o[i]=La(o[i]||a,e[s],t,n))}return Hd(Ii(o,1),t,n)}var up=lp,cp=ns((function(e){return up(Js(e,is))})),fp=cp,hp=ns((function(e){var t=Yc(e);return is(t)&&(t=void 0),up(Js(e,is),qc(t,2))})),dp=hp,pp=ns((function(e){var t=Yc(e);return t="function"==typeof t?t:void 0,up(Js(e,is),void 0,t)})),gp=pp,vp=ns(rp),yp=vp;function mp(e,t,n){"__proto__"==t&&Wa?Wa(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var bp=mp,_p=Object.prototype,xp=_p.hasOwnProperty;function wp(e,t,n){var r=e[t];xp.call(e,t)&&rr(r,n)&&(void 0!==n||t in e)||bp(e,t,n)}var Sp=wp;function kp(e,t,n){var r=-1,i=e.length,o=t.length,a={};while(++r<i){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}var Ep=kp;function Op(e,t){return Ep(e||[],t||[],Sp)}var Cp=Op;function Ap(e,t,n,r){if(!Sr(e))return e;t=xc(t,e);var i=-1,o=t.length,a=o-1,s=e;while(null!=s&&++i<o){var l=kc(t[i]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var c=s[l];u=r?r(c,l,s):void 0,void 0===u&&(u=Sr(c)?c:Br(t[i+1])?[]:{})}Sp(s,l,u),s=s[l]}return e}var Tp=Ap;function Pp(e,t){return Ep(e||[],t||[],Tp)}var Mp=Pp,Dp=ns((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,op(e,n)})),Ip=Dp,Lp={chunk:pi,compact:vi,concat:Ni,difference:as,differenceBy:$c,differenceWith:Jc,drop:ef,dropRight:nf,dropRightWhile:sf,dropWhile:uf,fill:mf,findIndex:xf,findLastIndex:Ef,first:Cf,flatten:Tf,flattenDeep:Df,flattenDepth:Lf,fromPairs:jf,head:Cf,indexOf:Ff,initial:Uf,intersection:Yf,intersectionBy:$f,intersectionWith:Jf,join:nh,last:Yc,lastIndexOf:lh,nth:hh,pull:wh,pullAll:_h,pullAllBy:kh,pullAllWith:Oh,pullAt:Hh,remove:Gh,reverse:Yh,slice:$h,sortedIndex:ld,sortedIndexBy:cd,sortedIndexOf:hd,sortedLastIndex:pd,sortedLastIndexBy:vd,sortedLastIndexOf:md,sortedUniq:wd,sortedUniqBy:kd,tail:Od,take:Ad,takeRight:Pd,takeRightWhile:Dd,takeWhile:Ld,union:Gd,unionBy:qd,unionWith:Yd,uniq:$d,uniqBy:Jd,uniqWith:ep,unzip:rp,unzipWith:op,without:sp,xor:fp,xorBy:dp,xorWith:gp,zip:yp,zipObject:Cp,zipObjectDeep:Mp,zipWith:Ip};function Rp(e,t,n,r){var i=-1,o=null==e?0:e.length;while(++i<o){var a=e[i];t(r,a,n(a),e)}return r}var jp=Rp;function Np(e){return function(t,n,r){var i=-1,o=Object(t),a=r(t),s=a.length;while(s--){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}var Bp=Np,Fp=Bp(),zp=Fp;function Up(e,t){return e&&zp(e,t,nu)}var Hp=Up;function Vp(e,t){return function(n,r){if(null==n)return n;if(!Lr(n))return e(n,r);var i=n.length,o=t?i:-1,a=Object(n);while(t?o--:++o<i)if(!1===r(a[o],o,a))break;return n}}var Gp=Vp,Wp=Gp(Hp),qp=Wp;function Xp(e,t,n,r){return qp(e,(function(e,i,o){t(r,e,n(e),o)})),r}var Yp=Xp;function Kp(e,t){return function(n,r){var i=Ai(n)?jp:Yp,o=t?t():{};return i(n,e,qc(r,2),o)}}var $p=Kp,Zp=Object.prototype,Jp=Zp.hasOwnProperty,Qp=$p((function(e,t,n){Jp.call(e,n)?++e[n]:bp(e,n,1)})),eg=Qp;function tg(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}var ng=tg;function rg(e){return"function"==typeof e?e:ja}var ig=rg;function og(e,t){var n=Ai(e)?ng:qp;return n(e,ig(t))}var ag=og;function sg(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}var lg=sg,ug=Bp(!0),cg=ug;function fg(e,t){return e&&cg(e,t,nu)}var hg=fg,dg=Gp(hg,!0),pg=dg;function gg(e,t){var n=Ai(e)?lg:pg;return n(e,ig(t))}var vg=gg;function yg(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}var mg=yg;function bg(e,t){var n=!0;return qp(e,(function(e,r,i){return n=!!t(e,r,i),n})),n}var _g=bg;function xg(e,t,n){var r=Ai(e)?mg:_g;return n&&zr(e,t,n)&&(t=void 0),r(e,qc(t,3))}var wg=xg;function Sg(e,t){var n=[];return qp(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}var kg=Sg;function Eg(e,t){var n=Ai(e)?Js:kg;return n(e,qc(t,3))}var Og=Eg;function Cg(e){return function(t,n,r){var i=Object(t);if(!Lr(t)){var o=qc(n,3);t=nu(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:void 0}}var Ag=Cg,Tg=Ag(xf),Pg=Tg,Mg=Ag(Ef),Dg=Mg;function Ig(e,t){var n=-1,r=Lr(e)?Array(e.length):[];return qp(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}var Lg=Ig;function Rg(e,t){var n=Ai(e)?Ca:Lg;return n(e,qc(t,3))}var jg=Rg;function Ng(e,t){return Ii(jg(e,t),1)}var Bg=Ng,Fg=1/0;function zg(e,t){return Ii(jg(e,t),Fg)}var Ug=zg;function Hg(e,t,n){return n=void 0===n?1:ci(n),Ii(jg(e,t),n)}var Vg=Hg,Gg=Object.prototype,Wg=Gg.hasOwnProperty,qg=$p((function(e,t,n){Wg.call(e,n)?e[n].push(t):bp(e,n,[t])})),Xg=qg,Yg="[object String]";function Kg(e){return"string"==typeof e||!Ai(e)&&Yr(e)&&xr(e)==Yg}var $g=Kg;function Zg(e,t){return Ca(t,(function(t){return e[t]}))}var Jg=Zg;function Qg(e){return null==e?[]:Jg(e,nu(e))}var ev=Qg,tv=Math.max;function nv(e,t,n,r){e=Lr(e)?e:ev(e),n=n&&!r?ci(n):0;var i=e.length;return n<0&&(n=tv(i+n,0)),$g(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&xa(e,t,n)>-1}var rv=nv;function iv(e,t,n){t=xc(t,e),e=Ph(e,t);var r=null==e?e:e[kc(Yc(t))];return null==r?void 0:Ba(r,e,n)}var ov=iv,av=ns((function(e,t,n){var r=-1,i="function"==typeof t,o=Lr(e)?Array(e.length):[];return qp(e,(function(e){o[++r]=i?Ba(t,e,n):ov(e,t,n)})),o})),sv=av,lv=$p((function(e,t,n){bp(e,n,t)})),uv=lv;function cv(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}var fv=cv;function hv(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;while(++r<a){var l=Bh(i[r],o[r]);if(l){if(r>=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}var dv=hv;function pv(e,t,n){t=t.length?Ca(t,(function(e){return Ai(e)?function(t){return Oc(t,1===e.length?e[0]:e)}:e})):[ja];var r=-1;t=Ca(t,Ta(qc));var i=Lg(e,(function(e,n,i){var o=Ca(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return fv(i,(function(e,t){return dv(e,t,n)}))}var gv=pv;function vv(e,t,n,r){return null==e?[]:(Ai(t)||(t=null==t?[]:[t]),n=r?void 0:n,Ai(n)||(n=null==n?[]:[n]),gv(e,t,n))}var yv=vv,mv=$p((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),bv=mv;function _v(e,t,n,r){var i=-1,o=null==e?0:e.length;r&&o&&(n=e[++i]);while(++i<o)n=t(n,e[i],i,e);return n}var xv=_v;function wv(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}var Sv=wv;function kv(e,t,n){var r=Ai(e)?xv:Sv,i=arguments.length<3;return r(e,qc(t,4),n,i,qp)}var Ev=kv;function Ov(e,t,n,r){var i=null==e?0:e.length;r&&i&&(n=e[--i]);while(i--)n=t(n,e[i],i,e);return n}var Cv=Ov;function Av(e,t,n){var r=Ai(e)?Cv:Sv,i=arguments.length<3;return r(e,qc(t,4),n,i,pg)}var Tv=Av,Pv="Expected a function";function Mv(e){if("function"!=typeof e)throw new TypeError(Pv);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Dv=Mv;function Iv(e,t){var n=Ai(e)?Js:kg;return n(e,Dv(qc(t,3)))}var Lv=Iv,Rv=Math.floor,jv=Math.random;function Nv(e,t){return e+Rv(jv()*(t-e+1))}var Bv=Nv;function Fv(e){var t=e.length;return t?e[Bv(0,t-1)]:void 0}var zv=Fv;function Uv(e){return zv(ev(e))}var Hv=Uv;function Vv(e){var t=Ai(e)?zv:Hv;return t(e)}var Gv=Vv;function Wv(e,t){var n=-1,r=e.length,i=r-1;t=void 0===t?r:t;while(++n<t){var o=Bv(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var qv=Wv;function Xv(e,t){return qv(Ri(e),ff(t,0,e.length))}var Yv=Xv;function Kv(e,t){var n=ev(e);return qv(n,ff(t,0,n.length))}var $v=Kv;function Zv(e,t,n){t=(n?zr(e,t,n):void 0===t)?1:ci(t);var r=Ai(e)?Yv:$v;return r(e,t)}var Jv=Zv;function Qv(e){return qv(Ri(e))}var ey=Qv;function ty(e){return qv(ev(e))}var ny=ty;function ry(e){var t=Ai(e)?ey:ny;return t(e)}var iy=ry,oy=zc("length"),ay=oy,sy="\\ud800-\\udfff",ly="\\u0300-\\u036f",uy="\\ufe20-\\ufe2f",cy="\\u20d0-\\u20ff",fy=ly+uy+cy,hy="\\ufe0e\\ufe0f",dy="\\u200d",py=RegExp("["+dy+sy+fy+hy+"]");function gy(e){return py.test(e)}var vy=gy,yy="\\ud800-\\udfff",my="\\u0300-\\u036f",by="\\ufe20-\\ufe2f",_y="\\u20d0-\\u20ff",xy=my+by+_y,wy="\\ufe0e\\ufe0f",Sy="["+yy+"]",ky="["+xy+"]",Ey="\\ud83c[\\udffb-\\udfff]",Oy="(?:"+ky+"|"+Ey+")",Cy="[^"+yy+"]",Ay="(?:\\ud83c[\\udde6-\\uddff]){2}",Ty="[\\ud800-\\udbff][\\udc00-\\udfff]",Py="\\u200d",My=Oy+"?",Dy="["+wy+"]?",Iy="(?:"+Py+"(?:"+[Cy,Ay,Ty].join("|")+")"+Dy+My+")*",Ly=Dy+My+Iy,Ry="(?:"+[Cy+ky+"?",ky,Ay,Ty,Sy].join("|")+")",jy=RegExp(Ey+"(?="+Ey+")|"+Ry+Ly,"g");function Ny(e){var t=jy.lastIndex=0;while(jy.test(e))++t;return t}var By=Ny;function Fy(e){return vy(e)?By(e):ay(e)}var zy=Fy,Uy="[object Map]",Hy="[object Set]";function Vy(e){if(null==e)return 0;if(Lr(e))return $g(e)?zy(e):e.length;var t=Pu(e);return t==Uy||t==Hy?e.size:eu(e).length}var Gy=Vy;function Wy(e,t){var n;return qp(e,(function(e,r,i){return n=t(e,r,i),!n})),!!n}var qy=Wy;function Xy(e,t,n){var r=Ai(e)?xs:qy;return n&&zr(e,t,n)&&(t=void 0),r(e,qc(t,3))}var Yy=Xy,Ky=ns((function(e,t){if(null==e)return[];var n=t.length;return n>1&&zr(e,t[0],t[1])?t=[]:n>2&&zr(t[0],t[1],t[2])&&(t=[t[0]]),gv(e,Ii(t,1),[])})),$y=Ky,Zy={countBy:eg,each:ag,eachRight:vg,every:wg,filter:Og,find:Pg,findLast:Dg,flatMap:Bg,flatMapDeep:Ug,flatMapDepth:Vg,forEach:ag,forEachRight:vg,groupBy:Xg,includes:rv,invokeMap:sv,keyBy:uv,map:jg,orderBy:yv,partition:bv,reduce:Ev,reduceRight:Tv,reject:Lv,sample:Gv,sampleSize:Jv,shuffle:iy,size:Gy,some:Yy,sortBy:$y},Jy=function(){return ir["a"].Date.now()},Qy=Jy,em={now:Qy},tm="Expected a function";function nm(e,t){if("function"!=typeof t)throw new TypeError(tm);return e=ci(e),function(){if(--e<1)return t.apply(this,arguments)}}var rm=nm,im=yu&&new yu,om=im,am=om?function(e,t){return om.set(e,t),e}:ja,sm=am,lm=Object.create,um=function(){function e(){}return function(t){if(!Sr(t))return{};if(lm)return lm(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),cm=um;function fm(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=cm(e.prototype),r=e.apply(n,t);return Sr(r)?r:n}}var hm=fm,dm=1;function pm(e,t,n){var r=t&dm,i=hm(e);function o(){var t=this&&this!==ir["a"]&&this instanceof o?i:e;return t.apply(r?n:this,arguments)}return o}var gm=pm,vm=Math.max;function ym(e,t,n,r){var i=-1,o=e.length,a=n.length,s=-1,l=t.length,u=vm(o-a,0),c=Array(l+u),f=!r;while(++s<l)c[s]=t[s];while(++i<a)(f||i<o)&&(c[n[i]]=e[i]);while(u--)c[s++]=e[i++];return c}var mm=ym,bm=Math.max;function _m(e,t,n,r){var i=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=bm(o-s,0),f=Array(c+u),h=!r;while(++i<c)f[i]=e[i];var d=i;while(++l<u)f[d+l]=t[l];while(++a<s)(h||i<o)&&(f[d+n[a]]=e[i++]);return f}var xm=_m;function wm(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var Sm=wm;function km(){}var Em=km,Om=4294967295;function Cm(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Om,this.__views__=[]}Cm.prototype=cm(Em.prototype),Cm.prototype.constructor=Cm;var Am=Cm,Tm=om?function(e){return om.get(e)}:jd,Pm=Tm,Mm={},Dm=Mm,Im=Object.prototype,Lm=Im.hasOwnProperty;function Rm(e){var t=e.name+"",n=Dm[t],r=Lm.call(Dm,t)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}var jm=Rm;function Nm(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Nm.prototype=cm(Em.prototype),Nm.prototype.constructor=Nm;var Bm=Nm;function Fm(e){if(e instanceof Am)return e.clone();var t=new Bm(e.__wrapped__,e.__chain__);return t.__actions__=Ri(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zm=Fm,Um=Object.prototype,Hm=Um.hasOwnProperty;function Vm(e){if(Yr(e)&&!Ai(e)&&!(e instanceof Am)){if(e instanceof Bm)return e;if(Hm.call(e,"__wrapped__"))return zm(e)}return new Bm(e)}Vm.prototype=Em.prototype,Vm.prototype.constructor=Vm;var Gm=Vm;function Wm(e){var t=jm(e),n=Gm[t];if("function"!=typeof n||!(t in Am.prototype))return!1;if(e===n)return!0;var r=Pm(n);return!!r&&e===r[0]}var qm=Wm,Xm=Ja(sm),Ym=Xm,Km=/\{\n\/\* \[wrapped with (.+)\] \*/,$m=/,? & /;function Zm(e){var t=e.match(Km);return t?t[1].split($m):[]}var Jm=Zm,Qm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function eb(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Qm,"{\n/* [wrapped with "+t+"] */\n")}var tb=eb,nb=1,rb=2,ib=8,ob=16,ab=32,sb=64,lb=128,ub=256,cb=512,fb=[["ary",lb],["bind",nb],["bindKey",rb],["curry",ib],["curryRight",ob],["flip",cb],["partial",ab],["partialRight",sb],["rearg",ub]];function hb(e,t){return ng(fb,(function(n){var r="_."+n[0];t&n[1]&&!Sa(e,r)&&e.push(r)})),e.sort()}var db=hb;function pb(e,t,n){var r=t+"";return es(e,tb(r,db(Jm(r),n)))}var gb=pb,vb=1,yb=2,mb=4,bb=8,_b=32,xb=64;function wb(e,t,n,r,i,o,a,s,l,u){var c=t&bb,f=c?a:void 0,h=c?void 0:a,d=c?o:void 0,p=c?void 0:o;t|=c?_b:xb,t&=~(c?xb:_b),t&mb||(t&=~(vb|yb));var g=[e,t,i,d,f,p,h,s,l,u],v=n.apply(void 0,g);return qm(e)&&Ym(v,g),v.placeholder=r,gb(v,e,t)}var Sb=wb;function kb(e){var t=e;return t.placeholder}var Eb=kb,Ob=Math.min;function Cb(e,t){var n=e.length,r=Ob(t.length,n),i=Ri(e);while(r--){var o=t[r];e[r]=Br(o,n)?i[o]:void 0}return e}var Ab=Cb,Tb="__lodash_placeholder__";function Pb(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n];a!==t&&a!==Tb||(e[n]=Tb,o[i++]=n)}return o}var Mb=Pb,Db=1,Ib=2,Lb=8,Rb=16,jb=128,Nb=512;function Bb(e,t,n,r,i,o,a,s,l,u){var c=t&jb,f=t&Db,h=t&Ib,d=t&(Lb|Rb),p=t&Nb,g=h?void 0:hm(e);function v(){var y=arguments.length,m=Array(y),b=y;while(b--)m[b]=arguments[b];if(d)var _=Eb(v),x=Sm(m,_);if(r&&(m=mm(m,r,i,d)),o&&(m=xm(m,o,a,d)),y-=x,d&&y<u){var w=Mb(m,_);return Sb(e,t,Bb,v.placeholder,n,m,w,s,l,u-y)}var S=f?n:this,k=h?S[e]:e;return y=m.length,s?m=Ab(m,s):p&&y>1&&m.reverse(),c&&l<y&&(m.length=l),this&&this!==ir["a"]&&this instanceof v&&(k=g||hm(k)),k.apply(S,m)}return v}var Fb=Bb;function zb(e,t,n){var r=hm(e);function i(){var o=arguments.length,a=Array(o),s=o,l=Eb(i);while(s--)a[s]=arguments[s];var u=o<3&&a[0]!==l&&a[o-1]!==l?[]:Mb(a,l);if(o-=u.length,o<n)return Sb(e,t,Fb,i.placeholder,void 0,a,u,void 0,void 0,n-o);var c=this&&this!==ir["a"]&&this instanceof i?r:e;return Ba(c,this,a)}return i}var Ub=zb,Hb=1;function Vb(e,t,n,r){var i=t&Hb,o=hm(e);function a(){var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),f=this&&this!==ir["a"]&&this instanceof a?o:e;while(++l<u)c[l]=r[l];while(s--)c[l++]=arguments[++t];return Ba(f,i?n:this,c)}return a}var Gb=Vb,Wb="__lodash_placeholder__",qb=1,Xb=2,Yb=4,Kb=8,$b=128,Zb=256,Jb=Math.min;function Qb(e,t){var n=e[1],r=t[1],i=n|r,o=i<(qb|Xb|$b),a=r==$b&&n==Kb||r==$b&&n==Zb&&e[7].length<=t[8]||r==($b|Zb)&&t[7].length<=t[8]&&n==Kb;if(!o&&!a)return e;r&qb&&(e[2]=t[2],i|=n&qb?0:Yb);var s=t[3];if(s){var l=e[3];e[3]=l?mm(l,s,t[4]):s,e[4]=l?Mb(e[3],Wb):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?xm(l,s,t[6]):s,e[6]=l?Mb(e[5],Wb):t[6]),s=t[7],s&&(e[7]=s),r&$b&&(e[8]=null==e[8]?t[8]:Jb(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}var e_=Qb,t_="Expected a function",n_=1,r_=2,i_=8,o_=16,a_=32,s_=64,l_=Math.max;function u_(e,t,n,r,i,o,a,s){var l=t&r_;if(!l&&"function"!=typeof e)throw new TypeError(t_);var u=r?r.length:0;if(u||(t&=~(a_|s_),r=i=void 0),a=void 0===a?a:l_(ci(a),0),s=void 0===s?s:ci(s),u-=i?i.length:0,t&s_){var c=r,f=i;r=i=void 0}var h=l?void 0:Pm(e),d=[e,t,n,r,i,c,f,o,a,s];if(h&&e_(d,h),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=void 0===d[9]?l?0:e.length:l_(d[9]-u,0),!s&&t&(i_|o_)&&(t&=~(i_|o_)),t&&t!=n_)p=t==i_||t==o_?Ub(e,t,s):t!=a_&&t!=(n_|a_)||i.length?Fb.apply(void 0,d):Gb(e,t,n,r);else var p=gm(e,t,n);var g=h?sm:Ym;return gb(g(p,d),e,t)}var c_=u_,f_=128;function h_(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,c_(e,f_,void 0,void 0,void 0,void 0,t)}var d_=h_,p_="Expected a function";function g_(e,t){var n;if("function"!=typeof t)throw new TypeError(p_);return e=ci(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var v_=g_,y_=1,m_=32,b_=ns((function(e,t,n){var r=y_;if(n.length){var i=Mb(n,Eb(b_));r|=m_}return c_(e,r,t,n,i)}));b_.placeholder={};var __=b_,x_=1,w_=2,S_=32,k_=ns((function(e,t,n){var r=x_|w_;if(n.length){var i=Mb(n,Eb(k_));r|=S_}return c_(t,r,e,n,i)}));k_.placeholder={};var E_=k_,O_=8;function C_(e,t,n){t=n?void 0:t;var r=c_(e,O_,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=C_.placeholder,r}C_.placeholder={};var A_=C_,T_=16;function P_(e,t,n){t=n?void 0:t;var r=c_(e,T_,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=P_.placeholder,r}P_.placeholder={};var M_=P_,D_="Expected a function",I_=Math.max,L_=Math.min;function R_(e,t,n){var r,i,o,a,s,l,u=0,c=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError(D_);function d(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n),a}function p(e){return u=e,s=setTimeout(y,t),c?d(e):a}function g(e){var n=e-l,r=e-u,i=t-n;return f?L_(i,o-r):i}function v(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||f&&r>=o}function y(){var e=Qy();if(v(e))return m(e);s=setTimeout(y,g(e))}function m(e){return s=void 0,h&&r?d(e):(r=i=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0}function _(){return void 0===s?a:m(Qy())}function x(){var e=Qy(),n=v(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return p(l);if(f)return clearTimeout(s),s=setTimeout(y,t),d(l)}return void 0===s&&(s=setTimeout(y,t)),a}return t=ii(t)||0,Sr(n)&&(c=!!n.leading,f="maxWait"in n,o=f?I_(ii(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),x.cancel=b,x.flush=_,x}var j_=R_,N_="Expected a function";function B_(e,t,n){if("function"!=typeof e)throw new TypeError(N_);return setTimeout((function(){e.apply(void 0,n)}),t)}var F_=B_,z_=ns((function(e,t){return F_(e,1,t)})),U_=z_,H_=ns((function(e,t,n){return F_(e,ii(t)||0,n)})),V_=H_,G_=512;function W_(e){return c_(e,G_)}var q_=W_;function X_(e){return v_(2,e)}var Y_=X_,K_=ns,$_=K_,Z_=Math.min,J_=$_((function(e,t){t=1==t.length&&Ai(t[0])?Ca(t[0],Ta(qc)):Ca(Ii(t,1),Ta(qc));var n=t.length;return ns((function(r){var i=-1,o=Z_(r.length,n);while(++i<o)r[i]=t[i].call(this,r[i]);return Ba(e,this,r)}))})),Q_=J_,ex=32,tx=ns((function(e,t){var n=Mb(t,Eb(tx));return c_(e,ex,void 0,t,n)}));tx.placeholder={};var nx=tx,rx=64,ix=ns((function(e,t){var n=Mb(t,Eb(ix));return c_(e,rx,void 0,t,n)}));ix.placeholder={};var ox=ix,ax=256,sx=zh((function(e,t){return c_(e,ax,void 0,void 0,void 0,t)})),lx=sx,ux="Expected a function";function cx(e,t){if("function"!=typeof e)throw new TypeError(ux);return t=void 0===t?t:ci(t),ns(e,t)}var fx=cx;function hx(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:tr(e,t,n)}var dx=hx,px="Expected a function",gx=Math.max;function vx(e,t){if("function"!=typeof e)throw new TypeError(px);return t=null==t?0:gx(ci(t),0),ns((function(n){var r=n[t],i=dx(n,0,t);return r&&mi(i,r),Ba(e,this,i)}))}var yx=vx,mx="Expected a function";function bx(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError(mx);return Sr(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),j_(e,t,{leading:r,maxWait:t,trailing:i})}var _x=bx;function xx(e){return d_(e,1)}var wx=xx;function Sx(e,t){return nx(ig(t),e)}var kx=Sx,Ex={after:rm,ary:d_,before:v_,bind:__,bindKey:E_,curry:A_,curryRight:M_,debounce:j_,defer:U_,delay:V_,flip:q_,memoize:oc,negate:Dv,once:Y_,overArgs:Q_,partial:nx,partialRight:ox,rearg:lx,rest:fx,spread:yx,throttle:_x,unary:wx,wrap:kx};function Ox(){if(!arguments.length)return[];var e=arguments[0];return Ai(e)?e:[e]}var Cx=Ox;function Ax(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;while(++o<a){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?bp(n,s,l):Sp(n,s,l)}return n}var Tx=Ax;function Px(e,t){return e&&Tx(t,nu(t),e)}var Mx=Px;function Dx(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var Ix=Dx,Lx=Object.prototype,Rx=Lx.hasOwnProperty;function jx(e){if(!Sr(e))return Ix(e);var t=ql(e),n=[];for(var r in e)("constructor"!=r||!t&&Rx.call(e,r))&&n.push(r);return n}var Nx=jx;function Bx(e){return Lr(e)?Vl(e,!0):Nx(e)}var Fx=Bx;function zx(e,t){return e&&Tx(t,Fx(t),e)}var Ux=zx,Hx=n("dff1");function Vx(e,t){return Tx(e,ol(e),t)}var Gx=Vx,Wx=Yl(Object.getPrototypeOf,Object),qx=Wx,Xx=Object.getOwnPropertySymbols,Yx=Xx?function(e){var t=[];while(e)mi(t,ol(e)),e=qx(e);return t}:el,Kx=Yx;function $x(e,t){return Tx(e,Kx(e),t)}var Zx=$x;function Jx(e){return $s(e,Fx,Kx)}var Qx=Jx,ew=Object.prototype,tw=ew.hasOwnProperty;function nw(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&tw.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var rw=nw;function iw(e){var t=new e.constructor(e.byteLength);return new Cs(t).set(new Cs(e)),t}var ow=iw;function aw(e,t){var n=t?ow(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var sw=aw,lw=/\w*$/;function uw(e){var t=new e.constructor(e.source,lw.exec(e));return t.lastIndex=e.lastIndex,t}var cw=uw,fw=ar?ar.prototype:void 0,hw=fw?fw.valueOf:void 0;function dw(e){return hw?Object(hw.call(e)):{}}var pw=dw;function gw(e,t){var n=t?ow(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var vw=gw,yw="[object Boolean]",mw="[object Date]",bw="[object Map]",_w="[object Number]",xw="[object RegExp]",ww="[object Set]",Sw="[object String]",kw="[object Symbol]",Ew="[object ArrayBuffer]",Ow="[object DataView]",Cw="[object Float32Array]",Aw="[object Float64Array]",Tw="[object Int8Array]",Pw="[object Int16Array]",Mw="[object Int32Array]",Dw="[object Uint8Array]",Iw="[object Uint8ClampedArray]",Lw="[object Uint16Array]",Rw="[object Uint32Array]";function jw(e,t,n){var r=e.constructor;switch(t){case Ew:return ow(e);case yw:case mw:return new r(+e);case Ow:return sw(e,n);case Cw:case Aw:case Tw:case Pw:case Mw:case Dw:case Iw:case Lw:case Rw:return vw(e,n);case bw:return new r;case _w:case Sw:return new r(e);case xw:return cw(e);case ww:return new r;case kw:return pw(e)}}var Nw=jw;function Bw(e){return"function"!=typeof e.constructor||ql(e)?{}:cm(qx(e))}var Fw=Bw,zw="[object Map]";function Uw(e){return Yr(e)&&Pu(e)==zw}var Hw=Uw,Vw=jl["a"]&&jl["a"].isMap,Gw=Vw?Ta(Vw):Hw,Ww=Gw,qw="[object Set]";function Xw(e){return Yr(e)&&Pu(e)==qw}var Yw=Xw,Kw=jl["a"]&&jl["a"].isSet,$w=Kw?Ta(Kw):Yw,Zw=$w,Jw=1,Qw=2,eS=4,tS="[object Arguments]",nS="[object Array]",rS="[object Boolean]",iS="[object Date]",oS="[object Error]",aS="[object Function]",sS="[object GeneratorFunction]",lS="[object Map]",uS="[object Number]",cS="[object Object]",fS="[object RegExp]",hS="[object Set]",dS="[object String]",pS="[object Symbol]",gS="[object WeakMap]",vS="[object ArrayBuffer]",yS="[object DataView]",mS="[object Float32Array]",bS="[object Float64Array]",_S="[object Int8Array]",xS="[object Int16Array]",wS="[object Int32Array]",SS="[object Uint8Array]",kS="[object Uint8ClampedArray]",ES="[object Uint16Array]",OS="[object Uint32Array]",CS={};function AS(e,t,n,r,i,o){var a,s=t&Jw,l=t&Qw,u=t&eS;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!Sr(e))return e;var c=Ai(e);if(c){if(a=rw(e),!s)return Ri(e,a)}else{var f=Pu(e),h=f==aS||f==sS;if(Object(ll["a"])(e))return Object(Hx["a"])(e,s);if(f==cS||f==tS||h&&!i){if(a=l||h?{}:Fw(e),!s)return l?Zx(e,Ux(a,e)):Gx(e,Mx(a,e))}else{if(!CS[f])return i?e:{};a=Nw(e,f,s)}}o||(o=new bs);var d=o.get(e);if(d)return d;o.set(e,a),Zw(e)?e.forEach((function(r){a.add(AS(r,t,n,r,e,o))})):Ww(e)&&e.forEach((function(r,i){a.set(i,AS(r,t,n,i,e,o))}));var p=u?l?Qx:iu:l?Fx:nu,g=c?void 0:p(e);return ng(g||e,(function(r,i){g&&(i=r,r=e[i]),Sp(a,i,AS(r,t,n,i,e,o))})),a}CS[tS]=CS[nS]=CS[vS]=CS[yS]=CS[rS]=CS[iS]=CS[mS]=CS[bS]=CS[_S]=CS[xS]=CS[wS]=CS[lS]=CS[uS]=CS[cS]=CS[fS]=CS[hS]=CS[dS]=CS[pS]=CS[SS]=CS[kS]=CS[ES]=CS[OS]=!0,CS[oS]=CS[aS]=CS[gS]=!1;var TS=AS,PS=4;function MS(e){return TS(e,PS)}var DS=MS,IS=1,LS=4;function RS(e){return TS(e,IS|LS)}var jS=RS,NS=1,BS=4;function FS(e,t){return t="function"==typeof t?t:void 0,TS(e,NS|BS,t)}var zS=FS,US=4;function HS(e,t){return t="function"==typeof t?t:void 0,TS(e,US,t)}var VS=HS;function GS(e,t,n){var r=n.length;if(null==e)return!r;e=Object(e);while(r--){var i=n[r],o=t[i],a=e[i];if(void 0===a&&!(i in e)||!o(a))return!1}return!0}var WS=GS;function qS(e,t){return null==t||WS(e,t,nu(t))}var XS=qS;function YS(e,t){return e>t}var KS=YS;function $S(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ii(t),n=ii(n)),e(t,n)}}var ZS=$S,JS=ZS(KS),QS=JS,ek=ZS((function(e,t){return e>=t})),tk=ek,nk="[object ArrayBuffer]";function rk(e){return Yr(e)&&xr(e)==nk}var ik=rk,ok=jl["a"]&&jl["a"].isArrayBuffer,ak=ok?Ta(ok):ik,sk=ak,lk="[object Boolean]";function uk(e){return!0===e||!1===e||Yr(e)&&xr(e)==lk}var ck=uk,fk="[object Date]";function hk(e){return Yr(e)&&xr(e)==fk}var dk=hk,pk=jl["a"]&&jl["a"].isDate,gk=pk?Ta(pk):dk,vk=gk,yk="[object Object]",mk=Function.prototype,bk=Object.prototype,_k=mk.toString,xk=bk.hasOwnProperty,wk=_k.call(Object);function Sk(e){if(!Yr(e)||xr(e)!=yk)return!1;var t=qx(e);if(null===t)return!0;var n=xk.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_k.call(n)==wk}var kk=Sk;function Ek(e){return Yr(e)&&1===e.nodeType&&!kk(e)}var Ok=Ek,Ck="[object Map]",Ak="[object Set]",Tk=Object.prototype,Pk=Tk.hasOwnProperty;function Mk(e){if(null==e)return!0;if(Lr(e)&&(Ai(e)||"string"==typeof e||"function"==typeof e.splice||Object(ll["a"])(e)||Fl(e)||Oi(e)))return!e.length;var t=Pu(e);if(t==Ck||t==Ak)return!e.size;if(ql(e))return!eu(e).length;for(var n in e)if(Pk.call(e,n))return!1;return!0}var Dk=Mk;function Ik(e,t){return zu(e,t)}var Lk=Ik;function Rk(e,t,n){n="function"==typeof n?n:void 0;var r=n?n(e,t):void 0;return void 0===r?zu(e,t,void 0,n):!!r}var jk=Rk,Nk="[object DOMException]",Bk="[object Error]";function Fk(e){if(!Yr(e))return!1;var t=xr(e);return t==Bk||t==Nk||"string"==typeof e.message&&"string"==typeof e.name&&!kk(e)}var zk=Fk,Uk=ir["a"].isFinite;function Hk(e){return"number"==typeof e&&Uk(e)}var Vk=Hk;function Gk(e){return"number"==typeof e&&e==ci(e)}var Wk=Gk;function qk(e,t){return e===t||Gu(e,t,Yu(t))}var Xk=qk;function Yk(e,t,n){return n="function"==typeof n?n:void 0,Gu(e,t,Yu(t),n)}var Kk=Yk,$k="[object Number]";function Zk(e){return"number"==typeof e||Yr(e)&&xr(e)==$k}var Jk=Zk;function Qk(e){return Jk(e)&&e!=+e}var eE=Qk,tE=n("2f74"),nE=Fi?Tr:tE["a"],rE=nE,iE="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function oE(e){if(rE(e))throw new Error(iE);return to(e)}var aE=oE;function sE(e){return null==e}var lE=sE;function uE(e){return null===e}var cE=uE,fE="[object RegExp]";function hE(e){return Yr(e)&&xr(e)==fE}var dE=hE,pE=jl["a"]&&jl["a"].isRegExp,gE=pE?Ta(pE):dE,vE=gE,yE=9007199254740991;function mE(e){return Wk(e)&&e>=-yE&&e<=yE}var bE=mE;function _E(e){return void 0===e}var xE=_E,wE="[object WeakMap]";function SE(e){return Yr(e)&&Pu(e)==wE}var kE=SE,EE="[object WeakSet]";function OE(e){return Yr(e)&&xr(e)==EE}var CE=OE;function AE(e,t){return e<t}var TE=AE,PE=ZS(TE),ME=PE,DE=ZS((function(e,t){return e<=t})),IE=DE;function LE(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}var RE=LE;function jE(e){return e.split("")}var NE=jE,BE="\\ud800-\\udfff",FE="\\u0300-\\u036f",zE="\\ufe20-\\ufe2f",UE="\\u20d0-\\u20ff",HE=FE+zE+UE,VE="\\ufe0e\\ufe0f",GE="["+BE+"]",WE="["+HE+"]",qE="\\ud83c[\\udffb-\\udfff]",XE="(?:"+WE+"|"+qE+")",YE="[^"+BE+"]",KE="(?:\\ud83c[\\udde6-\\uddff]){2}",$E="[\\ud800-\\udbff][\\udc00-\\udfff]",ZE="\\u200d",JE=XE+"?",QE="["+VE+"]?",eO="(?:"+ZE+"(?:"+[YE,KE,$E].join("|")+")"+QE+JE+")*",tO=QE+JE+eO,nO="(?:"+[YE+WE+"?",WE,KE,$E,GE].join("|")+")",rO=RegExp(qE+"(?="+qE+")|"+nO+tO,"g");function iO(e){return e.match(rO)||[]}var oO=iO;function aO(e){return vy(e)?oO(e):NE(e)}var sO=aO,lO="[object Map]",uO="[object Set]",cO=ar?ar.iterator:void 0;function fO(e){if(!e)return[];if(Lr(e))return $g(e)?sO(e):Ri(e);if(cO&&e[cO])return RE(e[cO]());var t=Pu(e),n=t==lO?Ts:t==uO?Ms:ev;return n(e)}var hO=fO;function dO(e){return Tx(e,Fx(e))}var pO=dO,gO=9007199254740991;function vO(e){return e?ff(ci(e),-gO,gO):0===e?e:0}var yO=vO,mO={castArray:Cx,clone:DS,cloneDeep:jS,cloneDeepWith:zS,cloneWith:VS,conformsTo:XS,eq:rr,gt:QS,gte:tk,isArguments:Oi,isArray:Ai,isArrayBuffer:sk,isArrayLike:Lr,isArrayLikeObject:is,isBoolean:ck,isBuffer:ll["a"],isDate:vk,isElement:Ok,isEmpty:Dk,isEqual:Lk,isEqualWith:jk,isError:zk,isFinite:Vk,isFunction:Tr,isInteger:Wk,isLength:Dr,isMap:Ww,isMatch:Xk,isMatchWith:Kk,isNaN:eE,isNative:aE,isNil:lE,isNull:cE,isNumber:Jk,isObject:Sr,isObjectLike:Yr,isPlainObject:kk,isRegExp:vE,isSafeInteger:bE,isSet:Zw,isString:$g,isSymbol:Zr,isTypedArray:Fl,isUndefined:xE,isWeakMap:kE,isWeakSet:CE,lt:ME,lte:IE,toArray:hO,toFinite:li,toInteger:ci,toLength:pf,toNumber:ii,toPlainObject:pO,toSafeInteger:yO,toString:bc},bO=NaN;function _O(e){return"number"==typeof e?e:Zr(e)?bO:+e}var xO=_O;function wO(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=yc(n),r=yc(r)):(n=xO(n),r=xO(r)),i=e(n,r)}return i}}var SO=wO,kO=SO((function(e,t){return e+t}),0),EO=kO,OO=ir["a"].isFinite,CO=Math.min;function AO(e){var t=Math[e];return function(e,n){if(e=ii(e),n=null==n?0:CO(ci(n),292),n&&OO(e)){var r=(bc(e)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+n));return r=(bc(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var TO=AO,PO=TO("ceil"),MO=PO,DO=SO((function(e,t){return e/t}),1),IO=DO,LO=TO("floor"),RO=LO;function jO(e,t,n){var r=-1,i=e.length;while(++r<i){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a===a&&!Zr(a):n(a,s)))var s=a,l=o}return l}var NO=jO;function BO(e){return e&&e.length?NO(e,ja,KS):void 0}var FO=BO;function zO(e,t){return e&&e.length?NO(e,qc(t,2),KS):void 0}var UO=zO;function HO(e,t){var n,r=-1,i=e.length;while(++r<i){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}var VO=HO,GO=NaN;function WO(e,t){var n=null==e?0:e.length;return n?VO(e,t)/n:GO}var qO=WO;function XO(e){return qO(e,ja)}var YO=XO;function KO(e,t){return qO(e,qc(t,2))}var $O=KO;function ZO(e){return e&&e.length?NO(e,ja,TE):void 0}var JO=ZO;function QO(e,t){return e&&e.length?NO(e,qc(t,2),TE):void 0}var eC=QO,tC=SO((function(e,t){return e*t}),1),nC=tC,rC=TO("round"),iC=rC,oC=SO((function(e,t){return e-t}),0),aC=oC;function sC(e){return e&&e.length?VO(e,ja):0}var lC=sC;function uC(e,t){return e&&e.length?VO(e,qc(t,2)):0}var cC=uC,fC={add:EO,ceil:MO,divide:IO,floor:RO,max:FO,maxBy:UO,mean:YO,meanBy:$O,min:JO,minBy:eC,multiply:nC,round:iC,subtract:aC,sum:lC,sumBy:cC};function hC(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=ii(n),n=n===n?n:0),void 0!==t&&(t=ii(t),t=t===t?t:0),ff(ii(e),t,n)}var dC=hC,pC=Math.max,gC=Math.min;function vC(e,t,n){return e>=gC(t,n)&&e<pC(t,n)}var yC=vC;function mC(e,t,n){return t=li(t),void 0===n?(n=t,t=0):n=li(n),e=ii(e),yC(e,t,n)}var bC=mC,_C=parseFloat,xC=Math.min,wC=Math.random;function SC(e,t,n){if(n&&"boolean"!=typeof n&&zr(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=li(e),void 0===t?(t=e,e=0):t=li(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=wC();return xC(e+i*(t-e+_C("1e-"+((i+"").length-1))),t)}return Bv(e,t)}var kC=SC,EC={clamp:dC,inRange:bC,random:kC};function OC(e){return ns((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&zr(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++r<i){var s=n[r];s&&e(t,s,r,o)}return t}))}var CC=OC,AC=Object.prototype,TC=AC.hasOwnProperty,PC=CC((function(e,t){if(ql(t)||Lr(t))Tx(t,nu(t),e);else for(var n in t)TC.call(t,n)&&Sp(e,n,t[n])})),MC=PC,DC=CC((function(e,t){Tx(t,Fx(t),e)})),IC=DC,LC=CC((function(e,t,n,r){Tx(t,Fx(t),e,r)})),RC=LC,jC=CC((function(e,t,n,r){Tx(t,nu(t),e,r)})),NC=jC,BC=zh(Ah),FC=BC;function zC(e,t){var n=cm(e);return null==t?n:Mx(n,t)}var UC=zC,HC=Object.prototype,VC=HC.hasOwnProperty,GC=ns((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;i&&zr(t[0],t[1],i)&&(r=1);while(++n<r){var o=t[n],a=Fx(o),s=-1,l=a.length;while(++s<l){var u=a[s],c=e[u];(void 0===c||rr(c,HC[u])&&!VC.call(e,u))&&(e[u]=o[u])}}return e})),WC=GC;function qC(e,t,n){(void 0!==n&&!rr(e[t],n)||void 0===n&&!(t in e))&&bp(e,t,n)}var XC=qC;function YC(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var KC=YC;function $C(e,t,n,r,i,o,a){var s=KC(e,n),l=KC(t,n),u=a.get(l);if(u)XC(e,n,u);else{var c=o?o(s,l,n+"",e,t,a):void 0,f=void 0===c;if(f){var h=Ai(l),d=!h&&Object(ll["a"])(l),p=!h&&!d&&Fl(l);c=l,h||d||p?Ai(s)?c=s:is(s)?c=Ri(s):d?(f=!1,c=Object(Hx["a"])(l,!0)):p?(f=!1,c=vw(l,!0)):c=[]:kk(l)||Oi(l)?(c=s,Oi(s)?c=pO(s):Sr(s)&&!Tr(s)||(c=Fw(l))):f=!1}f&&(a.set(l,c),i(c,l,r,o,a),a["delete"](l)),XC(e,n,c)}}var ZC=$C;function JC(e,t,n,r,i){e!==t&&zp(t,(function(o,a){if(i||(i=new bs),Sr(o))ZC(e,t,a,n,JC,r,i);else{var s=r?r(KC(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),XC(e,a,s)}}),Fx)}var QC=JC;function eA(e,t,n,r,i,o){return Sr(e)&&Sr(t)&&(o.set(t,e),QC(e,t,void 0,eA,o),o["delete"](t)),e}var tA=eA,nA=CC((function(e,t,n,r){QC(e,t,n,r)})),rA=nA,iA=ns((function(e){return e.push(void 0,tA),Ba(rA,void 0,e)})),oA=iA;function aA(e,t){return Ca(t,(function(t){return[t,e[t]]}))}var sA=aA;function lA(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}var uA=lA,cA="[object Map]",fA="[object Set]";function hA(e){return function(t){var n=Pu(t);return n==cA?Ts(t):n==fA?uA(t):sA(t,e(t))}}var dA=hA,pA=dA(nu),gA=pA,vA=dA(Fx),yA=vA;function mA(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}var bA=mA;function _A(e,t){return bA(e,qc(t,3),Hp)}var xA=_A;function wA(e,t){return bA(e,qc(t,3),hg)}var SA=wA;function kA(e,t){return null==e?e:zp(e,ig(t),Fx)}var EA=kA;function OA(e,t){return null==e?e:cg(e,ig(t),Fx)}var CA=OA;function AA(e,t){return e&&Hp(e,ig(t))}var TA=AA;function PA(e,t){return e&&hg(e,ig(t))}var MA=PA;function DA(e,t){return Js(t,(function(t){return Tr(e[t])}))}var IA=DA;function LA(e){return null==e?[]:IA(e,nu(e))}var RA=LA;function jA(e){return null==e?[]:IA(e,Fx(e))}var NA=jA,BA=Object.prototype,FA=BA.hasOwnProperty;function zA(e,t){return null!=e&&FA.call(e,t)}var UA=zA;function HA(e,t){return null!=e&&Dc(e,t,UA)}var VA=HA;function GA(e,t,n,r){return Hp(e,(function(e,i,o){t(r,n(e),i,o)})),r}var WA=GA;function qA(e,t){return function(n,r){return WA(n,e,t(r),{})}}var XA=qA,YA=Object.prototype,KA=YA.toString,$A=XA((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=KA.call(t)),e[t]=n}),Va(ja)),ZA=$A,JA=Object.prototype,QA=JA.hasOwnProperty,eT=JA.toString,tT=XA((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=eT.call(t)),QA.call(e,t)?e[t].push(n):e[t]=[n]}),qc),nT=tT,rT=ns(ov),iT=rT;function oT(e,t){var n={};return t=qc(t,3),Hp(e,(function(e,r,i){bp(n,t(e,r,i),e)})),n}var aT=oT;function sT(e,t){var n={};return t=qc(t,3),Hp(e,(function(e,r,i){bp(n,r,t(e,r,i))})),n}var lT=sT,uT=CC((function(e,t,n){QC(e,t,n)})),cT=uT;function fT(e){return kk(e)?void 0:e}var hT=fT,dT=1,pT=2,gT=4,vT=zh((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ca(t,(function(t){return t=xc(t,e),r||(r=t.length>1),t})),Tx(e,Qx(e),n),r&&(n=TS(n,dT|pT|gT,hT));var i=t.length;while(i--)Dh(n,t[i]);return n})),yT=vT;function mT(e,t,n){var r=-1,i=t.length,o={};while(++r<i){var a=t[r],s=Oc(e,a);n(s,a)&&Tp(o,xc(a,e),s)}return o}var bT=mT;function _T(e,t){if(null==e)return{};var n=Ca(Qx(e),(function(e){return[e]}));return t=qc(t),bT(e,n,(function(e,n){return t(e,n[0])}))}var xT=_T;function wT(e,t){return xT(e,Dv(qc(t)))}var ST=wT;function kT(e,t){return bT(e,t,(function(t,n){return Lc(e,n)}))}var ET=kT,OT=zh((function(e,t){return null==e?{}:ET(e,t)})),CT=OT;function AT(e,t,n){t=xc(t,e);var r=-1,i=t.length;i||(i=1,e=void 0);while(++r<i){var o=null==e?void 0:e[kc(t[r])];void 0===o&&(r=i,o=n),e=Tr(o)?o.call(e):o}return e}var TT=AT;function PT(e,t,n){return null==e?e:Tp(e,t,n)}var MT=PT;function DT(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Tp(e,t,n,r)}var IT=DT;function LT(e,t,n){var r=Ai(e),i=r||Object(ll["a"])(e)||Fl(e);if(t=qc(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Sr(e)&&Tr(o)?cm(qx(e)):{}}return(i?ng:Hp)(e,(function(e,r,i){return t(n,e,r,i)})),n}var RT=LT;function jT(e,t){return null==e||Dh(e,t)}var NT=jT;function BT(e,t,n,r){return Tp(e,t,n(Oc(e,t)),r)}var FT=BT;function zT(e,t,n){return null==e?e:FT(e,t,ig(n))}var UT=zT;function HT(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:FT(e,t,ig(n),r)}var VT=HT;function GT(e){return null==e?[]:Jg(e,Fx(e))}var WT=GT,qT={assign:MC,assignIn:IC,assignInWith:RC,assignWith:NC,at:FC,create:UC,defaults:WC,defaultsDeep:oA,entries:gA,entriesIn:yA,extend:IC,extendWith:RC,findKey:xA,findLastKey:SA,forIn:EA,forInRight:CA,forOwn:TA,forOwnRight:MA,functions:RA,functionsIn:NA,get:Ac,has:VA,hasIn:Lc,invert:ZA,invertBy:nT,invoke:iT,keys:nu,keysIn:Fx,mapKeys:aT,mapValues:lT,merge:cT,mergeWith:rA,omit:yT,omitBy:ST,pick:CT,pickBy:xT,result:TT,set:MT,setWith:IT,toPairs:gA,toPairsIn:yA,transform:RT,unset:NT,update:UT,updateWith:VT,values:ev,valuesIn:WT};function XT(e,t){return t(e)}var YT=XT,KT=zh((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Ah(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Am&&Br(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:YT,args:[i],thisArg:void 0}),new Bm(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)})),$T=KT;function ZT(e){var t=Gm(e);return t.__chain__=!0,t}var JT=ZT;function QT(){return new Bm(this.value(),this.__chain__)}var eP=QT;function tP(){void 0===this.__values__&&(this.__values__=hO(this.value()));var e=this.__index__>=this.__values__.length,t=e?void 0:this.__values__[this.__index__++];return{done:e,value:t}}var nP=tP;function rP(e){var t,n=this;while(n instanceof Em){var r=zm(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}var iP=rP;function oP(){var e=this.__wrapped__;if(e instanceof Am){var t=e;return this.__actions__.length&&(t=new Am(this)),t=t.reverse(),t.__actions__.push({func:YT,args:[Yh],thisArg:void 0}),new Bm(t,this.__chain__)}return this.thru(Yh)}var aP=oP;function sP(e,t){return t(e),e}var lP=sP;function uP(){return this}var cP=uP;function fP(e,t){var n=e;return n instanceof Am&&(n=n.value()),xv(t,(function(e,t){return t.func.apply(t.thisArg,mi([e],t.args))}),n)}var hP=fP;function dP(){return hP(this.__wrapped__,this.__actions__)}var pP=dP;function gP(){return JT(this)}var vP=gP,yP={at:$T,chain:JT,commit:eP,lodash:Gm,next:nP,plant:iP,reverse:aP,tap:lP,thru:YT,toIterator:cP,toJSON:pP,value:pP,valueOf:pP,wrapperChain:vP};function mP(e){return function(t){t=bc(t);var n=vy(t)?sO(t):void 0,r=n?n[0]:t.charAt(0),i=n?dx(n,1).join(""):t.slice(1);return r[e]()+i}}var bP=mP,_P=bP("toUpperCase"),xP=_P;function wP(e){return xP(bc(e).toLowerCase())}var SP=wP;function kP(e){return function(t){return null==e?void 0:e[t]}}var EP=kP,OP={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},CP=EP(OP),AP=CP,TP=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,PP="\\u0300-\\u036f",MP="\\ufe20-\\ufe2f",DP="\\u20d0-\\u20ff",IP=PP+MP+DP,LP="["+IP+"]",RP=RegExp(LP,"g");function jP(e){return e=bc(e),e&&e.replace(TP,AP).replace(RP,"")}var NP=jP,BP=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function FP(e){return e.match(BP)||[]}var zP=FP,UP=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function HP(e){return UP.test(e)}var VP=HP,GP="\\ud800-\\udfff",WP="\\u0300-\\u036f",qP="\\ufe20-\\ufe2f",XP="\\u20d0-\\u20ff",YP=WP+qP+XP,KP="\\u2700-\\u27bf",$P="a-z\\xdf-\\xf6\\xf8-\\xff",ZP="\\xac\\xb1\\xd7\\xf7",JP="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",QP="\\u2000-\\u206f",eM=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tM="A-Z\\xc0-\\xd6\\xd8-\\xde",nM="\\ufe0e\\ufe0f",rM=ZP+JP+QP+eM,iM="[']",oM="["+rM+"]",aM="["+YP+"]",sM="\\d+",lM="["+KP+"]",uM="["+$P+"]",cM="[^"+GP+rM+sM+KP+$P+tM+"]",fM="\\ud83c[\\udffb-\\udfff]",hM="(?:"+aM+"|"+fM+")",dM="[^"+GP+"]",pM="(?:\\ud83c[\\udde6-\\uddff]){2}",gM="[\\ud800-\\udbff][\\udc00-\\udfff]",vM="["+tM+"]",yM="\\u200d",mM="(?:"+uM+"|"+cM+")",bM="(?:"+vM+"|"+cM+")",_M="(?:"+iM+"(?:d|ll|m|re|s|t|ve))?",xM="(?:"+iM+"(?:D|LL|M|RE|S|T|VE))?",wM=hM+"?",SM="["+nM+"]?",kM="(?:"+yM+"(?:"+[dM,pM,gM].join("|")+")"+SM+wM+")*",EM="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",OM="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",CM=SM+wM+kM,AM="(?:"+[lM,pM,gM].join("|")+")"+CM,TM=RegExp([vM+"?"+uM+"+"+_M+"(?="+[oM,vM,"$"].join("|")+")",bM+"+"+xM+"(?="+[oM,vM+mM,"$"].join("|")+")",vM+"?"+mM+"+"+_M,vM+"+"+xM,OM,EM,sM,AM].join("|"),"g");function PM(e){return e.match(TM)||[]}var MM=PM;function DM(e,t,n){return e=bc(e),t=n?void 0:t,void 0===t?VP(e)?MM(e):zP(e):e.match(t)||[]}var IM=DM,LM="[']",RM=RegExp(LM,"g");function jM(e){return function(t){return xv(IM(NP(t).replace(RM,"")),e,"")}}var NM=jM,BM=NM((function(e,t,n){return t=t.toLowerCase(),e+(n?SP(t):t)})),FM=BM;function zM(e,t,n){e=bc(e),t=yc(t);var r=e.length;n=void 0===n?r:ff(ci(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}var UM=zM,HM={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},VM=EP(HM),GM=VM,WM=/[&<>"']/g,qM=RegExp(WM.source);function XM(e){return e=bc(e),e&&qM.test(e)?e.replace(WM,GM):e}var YM=XM,KM=/[\\^$.*+?()[\]{}|]/g,$M=RegExp(KM.source);function ZM(e){return e=bc(e),e&&$M.test(e)?e.replace(KM,"\\$&"):e}var JM=ZM,QM=NM((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),eD=QM,tD=NM((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),nD=tD,rD=bP("toLowerCase"),iD=rD,oD=9007199254740991,aD=Math.floor;function sD(e,t){var n="";if(!e||t<1||t>oD)return n;do{t%2&&(n+=e),t=aD(t/2),t&&(e+=e)}while(t);return n}var lD=sD,uD=Math.ceil;function cD(e,t){t=void 0===t?" ":yc(t);var n=t.length;if(n<2)return n?lD(t,e):t;var r=lD(t,uD(e/zy(t)));return vy(t)?dx(sO(r),0,e).join(""):r.slice(0,e)}var fD=cD,hD=Math.ceil,dD=Math.floor;function pD(e,t,n){e=bc(e),t=ci(t);var r=t?zy(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return fD(dD(i),n)+e+fD(hD(i),n)}var gD=pD;function vD(e,t,n){e=bc(e),t=ci(t);var r=t?zy(e):0;return t&&r<t?e+fD(t-r,n):e}var yD=vD;function mD(e,t,n){e=bc(e),t=ci(t);var r=t?zy(e):0;return t&&r<t?fD(t-r,n)+e:e}var bD=mD,_D=/^\s+/,xD=ir["a"].parseInt;function wD(e,t,n){return n||null==t?t=0:t&&(t=+t),xD(bc(e).replace(_D,""),t||0)}var SD=wD;function kD(e,t,n){return t=(n?zr(e,t,n):void 0===t)?1:ci(t),lD(bc(e),t)}var ED=kD;function OD(){var e=arguments,t=bc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var CD=OD,AD=NM((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),TD=AD,PD=4294967295;function MD(e,t,n){return n&&"number"!=typeof n&&zr(e,t,n)&&(t=n=void 0),n=void 0===n?PD:n>>>0,n?(e=bc(e),e&&("string"==typeof t||null!=t&&!vE(t))&&(t=yc(t),!t&&vy(e))?dx(sO(e),0,n):e.split(t,n)):[]}var DD=MD,ID=NM((function(e,t,n){return e+(n?" ":"")+xP(t)})),LD=ID;function RD(e,t,n){return e=bc(e),n=null==n?0:ff(ci(n),0,e.length),t=yc(t),e.slice(n,n+t.length)==t}var jD=RD,ND=ns((function(e,t){try{return Ba(e,void 0,t)}catch(n){return zk(n)?n:new Error(n)}})),BD=ND,FD=Object.prototype,zD=FD.hasOwnProperty;function UD(e,t,n,r){return void 0===e||rr(e,FD[n])&&!zD.call(r,n)?t:e}var HD=UD,VD={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function GD(e){return"\\"+VD[e]}var WD=GD,qD=/<%=([\s\S]+?)%>/g,XD=qD,YD=/<%-([\s\S]+?)%>/g,KD=YD,$D=/<%([\s\S]+?)%>/g,ZD=$D,JD={escape:KD,evaluate:ZD,interpolate:XD,variable:"",imports:{_:{escape:YM}}},QD=JD,eI="Invalid `variable` option passed into `_.template`",tI=/\b__p \+= '';/g,nI=/\b(__p \+=) '' \+/g,rI=/(__e\(.*?\)|\b__t\)) \+\n'';/g,iI=/[()=,{}\[\]\/\s]/,oI=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,aI=/($^)/,sI=/['\n\r\u2028\u2029\\]/g,lI=Object.prototype,uI=lI.hasOwnProperty;function cI(e,t,n){var r=QD.imports._.templateSettings||QD;n&&zr(e,t,n)&&(t=void 0),e=bc(e),t=RC({},t,r,HD);var i,o,a=RC({},t.imports,r.imports,HD),s=nu(a),l=Jg(a,s),u=0,c=t.interpolate||aI,f="__p += '",h=RegExp((t.escape||aI).source+"|"+c.source+"|"+(c===XD?oI:aI).source+"|"+(t.evaluate||aI).source+"|$","g"),d=uI.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(h,(function(t,n,r,a,s,l){return r||(r=a),f+=e.slice(u,l).replace(sI,WD),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(o=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var p=uI.call(t,"variable")&&t.variable;if(p){if(iI.test(p))throw new Error(eI)}else f="with (obj) {\n"+f+"\n}\n";f=(o?f.replace(tI,""):f).replace(nI,"$1").replace(rI,"$1;"),f="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=BD((function(){return Function(s,d+"return "+f).apply(void 0,l)}));if(g.source=f,zk(g))throw g;return g}var fI=cI;function hI(e){return bc(e).toLowerCase()}var dI=hI;function pI(e){return bc(e).toUpperCase()}var gI=pI;function vI(e,t){var n=e.length;while(n--&&xa(t,e[n],0)>-1);return n}var yI=vI;function mI(e,t){var n=-1,r=e.length;while(++n<r&&xa(t,e[n],0)>-1);return n}var bI=mI;function _I(e,t,n){if(e=bc(e),e&&(n||void 0===t))return qr(e);if(!e||!(t=yc(t)))return e;var r=sO(e),i=sO(t),o=bI(r,i),a=yI(r,i)+1;return dx(r,o,a).join("")}var xI=_I;function wI(e,t,n){if(e=bc(e),e&&(n||void 0===t))return e.slice(0,Vr(e)+1);if(!e||!(t=yc(t)))return e;var r=sO(e),i=yI(r,sO(t))+1;return dx(r,0,i).join("")}var SI=wI,kI=/^\s+/;function EI(e,t,n){if(e=bc(e),e&&(n||void 0===t))return e.replace(kI,"");if(!e||!(t=yc(t)))return e;var r=sO(e),i=bI(r,sO(t));return dx(r,i).join("")}var OI=EI,CI=30,AI="...",TI=/\w*$/;function PI(e,t){var n=CI,r=AI;if(Sr(t)){var i="separator"in t?t.separator:i;n="length"in t?ci(t.length):n,r="omission"in t?yc(t.omission):r}e=bc(e);var o=e.length;if(vy(e)){var a=sO(e);o=a.length}if(n>=o)return e;var s=n-zy(r);if(s<1)return r;var l=a?dx(a,0,s).join(""):e.slice(0,s);if(void 0===i)return l+r;if(a&&(s+=l.length-s),vE(i)){if(e.slice(s).search(i)){var u,c=l;i.global||(i=RegExp(i.source,bc(TI.exec(i))+"g")),i.lastIndex=0;while(u=i.exec(c))var f=u.index;l=l.slice(0,void 0===f?s:f)}}else if(e.indexOf(yc(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}var MI=PI,DI={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},II=EP(DI),LI=II,RI=/&(?:amp|lt|gt|quot|#39);/g,jI=RegExp(RI.source);function NI(e){return e=bc(e),e&&jI.test(e)?e.replace(RI,LI):e}var BI=NI,FI=NM((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),zI=FI,UI={camelCase:FM,capitalize:SP,deburr:NP,endsWith:UM,escape:YM,escapeRegExp:JM,kebabCase:eD,lowerCase:nD,lowerFirst:iD,pad:gD,padEnd:yD,padStart:bD,parseInt:SD,repeat:ED,replace:CD,snakeCase:TD,split:DD,startCase:LD,startsWith:jD,template:fI,templateSettings:QD,toLower:dI,toUpper:gI,trim:xI,trimEnd:SI,trimStart:OI,truncate:MI,unescape:BI,upperCase:zI,upperFirst:xP,words:IM},HI=zh((function(e,t){return ng(t,(function(t){t=kc(t),bp(e,t,__(e[t],e))})),e})),VI=HI,GI="Expected a function";function WI(e){var t=null==e?0:e.length,n=qc;return e=t?Ca(e,(function(e){if("function"!=typeof e[1])throw new TypeError(GI);return[n(e[0]),e[1]]})):[],ns((function(n){var r=-1;while(++r<t){var i=e[r];if(Ba(i[0],this,n))return Ba(i[1],this,n)}}))}var qI=WI;function XI(e){var t=nu(e);return function(n){return WS(n,e,t)}}var YI=XI,KI=1;function $I(e){return YI(TS(e,KI))}var ZI=$I;function JI(e,t){return null==e||e!==e?t:e}var QI=JI,eL="Expected a function",tL=8,nL=32,rL=128,iL=256;function oL(e){return zh((function(t){var n=t.length,r=n,i=Bm.prototype.thru;e&&t.reverse();while(r--){var o=t[r];if("function"!=typeof o)throw new TypeError(eL);if(i&&!a&&"wrapper"==jm(o))var a=new Bm([],!0)}r=a?r:n;while(++r<n){o=t[r];var s=jm(o),l="wrapper"==s?Pm(o):void 0;a=l&&qm(l[0])&&l[1]==(rL|tL|nL|iL)&&!l[4].length&&1==l[9]?a[jm(l[0])].apply(a,l[3]):1==o.length&&qm(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Ai(r))return a.plant(r).value();var i=0,o=n?t[i].apply(this,e):r;while(++i<n)o=t[i].call(this,o);return o}}))}var aL=oL,sL=aL(),lL=sL,uL=aL(!0),cL=uL,fL=1;function hL(e){return qc("function"==typeof e?e:TS(e,fL))}var dL=hL,pL=1;function gL(e){return Ju(TS(e,pL))}var vL=gL,yL=1;function mL(e,t){return Bc(e,TS(t,yL))}var bL=mL,_L=ns((function(e,t){return function(n){return ov(n,e,t)}})),xL=_L,wL=ns((function(e,t){return function(n){return ov(e,n,t)}})),SL=wL;function kL(e,t,n){var r=nu(t),i=IA(t,r),o=!(Sr(n)&&"chain"in n)||!!n.chain,a=Tr(e);return ng(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Ri(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mi([this.value()],arguments))})})),e}var EL=kL;function OL(e){return e=ci(e),ns((function(t){return ch(t,e)}))}var CL=OL;function AL(e){return zh((function(t){return t=Ca(t,Ta(qc)),ns((function(n){var r=this;return e(t,(function(e){return Ba(e,r,n)}))}))}))}var TL=AL,PL=TL(Ca),ML=PL,DL=TL(mg),IL=DL,LL=TL(xs),RL=LL;function jL(e){return function(t){return null==e?void 0:Oc(e,t)}}var NL=jL,BL=Math.ceil,FL=Math.max;function zL(e,t,n,r){var i=-1,o=FL(BL((t-e)/(n||1)),0),a=Array(o);while(o--)a[r?o:++i]=e,e+=n;return a}var UL=zL;function HL(e){return function(t,n,r){return r&&"number"!=typeof r&&zr(t,n,r)&&(n=r=void 0),t=li(t),void 0===n?(n=t,t=0):n=li(n),r=void 0===r?t<n?1:-1:li(r),UL(t,n,r,e)}}var VL=HL,GL=VL(),WL=GL,qL=VL(!0),XL=qL;function YL(){return{}}var KL=YL;function $L(){return""}var ZL=$L;function JL(){return!0}var QL=JL,eR=9007199254740991,tR=4294967295,nR=Math.min;function rR(e,t){if(e=ci(e),e<1||e>eR)return[];var n=tR,r=nR(e,tR);t=ig(t),e-=tR;var i=sl(r,t);while(++n<e)t(n);return i}var iR=rR;function oR(e){return Ai(e)?Ca(e,kc):Zr(e)?[e]:Ri(hc(bc(e)))}var aR=oR,sR=0;function lR(e){var t=++sR;return bc(e)+t}var uR=lR,cR={attempt:BD,bindAll:VI,cond:qI,conforms:ZI,constant:Va,defaultTo:QI,flow:lL,flowRight:cL,identity:ja,iteratee:dL,matches:vL,matchesProperty:bL,method:xL,methodOf:SL,mixin:EL,noop:jd,nthArg:CL,over:ML,overEvery:IL,overSome:RL,property:Gc,propertyOf:NL,range:WL,rangeRight:XL,stubArray:el,stubFalse:tE["a"],stubObject:KL,stubString:ZL,stubTrue:QL,times:iR,toPath:aR,uniqueId:uR};function fR(){var e=new Am(this.__wrapped__);return e.__actions__=Ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ri(this.__views__),e}var hR=fR;function dR(){if(this.__filtered__){var e=new Am(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}var pR=dR,gR=Math.max,vR=Math.min;function yR(e,t,n){var r=-1,i=n.length;while(++r<i){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=vR(t,e+a);break;case"takeRight":e=gR(e,t-a);break}}return{start:e,end:t}}var mR=yR,bR=1,_R=2,xR=Math.min;function wR(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ai(e),r=t<0,i=n?e.length:0,o=mR(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,h=0,d=xR(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return hP(e,this.__actions__);var p=[];e:while(l--&&h<d){u+=t;var g=-1,v=e[u];while(++g<f){var y=c[g],m=y.iteratee,b=y.type,_=m(v);if(b==_R)v=_;else if(!_){if(b==bR)continue e;break e}}p[h++]=v}return p}var SR=wR,kR="4.17.21",ER=2,OR=1,CR=3,AR=4294967295,TR=Array.prototype,PR=Object.prototype,MR=PR.hasOwnProperty,DR=ar?ar.iterator:void 0,IR=Math.max,LR=Math.min,RR=function(e){return function(t,n,r){if(null==r){var i=Sr(n),o=i&&nu(n),a=o&&o.length&&IA(n,o);(a?a.length:i)||(r=n,n=t,t=this)}return e(t,n,r)}}(EL);
/**
* @license
* Lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/Gm.after=Ex.after,Gm.ary=Ex.ary,Gm.assign=qT.assign,Gm.assignIn=qT.assignIn,Gm.assignInWith=qT.assignInWith,Gm.assignWith=qT.assignWith,Gm.at=qT.at,Gm.before=Ex.before,Gm.bind=Ex.bind,Gm.bindAll=cR.bindAll,Gm.bindKey=Ex.bindKey,Gm.castArray=mO.castArray,Gm.chain=yP.chain,Gm.chunk=Lp.chunk,Gm.compact=Lp.compact,Gm.concat=Lp.concat,Gm.cond=cR.cond,Gm.conforms=cR.conforms,Gm.constant=cR.constant,Gm.countBy=Zy.countBy,Gm.create=qT.create,Gm.curry=Ex.curry,Gm.curryRight=Ex.curryRight,Gm.debounce=Ex.debounce,Gm.defaults=qT.defaults,Gm.defaultsDeep=qT.defaultsDeep,Gm.defer=Ex.defer,Gm.delay=Ex.delay,Gm.difference=Lp.difference,Gm.differenceBy=Lp.differenceBy,Gm.differenceWith=Lp.differenceWith,Gm.drop=Lp.drop,Gm.dropRight=Lp.dropRight,Gm.dropRightWhile=Lp.dropRightWhile,Gm.dropWhile=Lp.dropWhile,Gm.fill=Lp.fill,Gm.filter=Zy.filter,Gm.flatMap=Zy.flatMap,Gm.flatMapDeep=Zy.flatMapDeep,Gm.flatMapDepth=Zy.flatMapDepth,Gm.flatten=Lp.flatten,Gm.flattenDeep=Lp.flattenDeep,Gm.flattenDepth=Lp.flattenDepth,Gm.flip=Ex.flip,Gm.flow=cR.flow,Gm.flowRight=cR.flowRight,Gm.fromPairs=Lp.fromPairs,Gm.functions=qT.functions,Gm.functionsIn=qT.functionsIn,Gm.groupBy=Zy.groupBy,Gm.initial=Lp.initial,Gm.intersection=Lp.intersection,Gm.intersectionBy=Lp.intersectionBy,Gm.intersectionWith=Lp.intersectionWith,Gm.invert=qT.invert,Gm.invertBy=qT.invertBy,Gm.invokeMap=Zy.invokeMap,Gm.iteratee=cR.iteratee,Gm.keyBy=Zy.keyBy,Gm.keys=nu,Gm.keysIn=qT.keysIn,Gm.map=Zy.map,Gm.mapKeys=qT.mapKeys,Gm.mapValues=qT.mapValues,Gm.matches=cR.matches,Gm.matchesProperty=cR.matchesProperty,Gm.memoize=Ex.memoize,Gm.merge=qT.merge,Gm.mergeWith=qT.mergeWith,Gm.method=cR.method,Gm.methodOf=cR.methodOf,Gm.mixin=RR,Gm.negate=Dv,Gm.nthArg=cR.nthArg,Gm.omit=qT.omit,Gm.omitBy=qT.omitBy,Gm.once=Ex.once,Gm.orderBy=Zy.orderBy,Gm.over=cR.over,Gm.overArgs=Ex.overArgs,Gm.overEvery=cR.overEvery,Gm.overSome=cR.overSome,Gm.partial=Ex.partial,Gm.partialRight=Ex.partialRight,Gm.partition=Zy.partition,Gm.pick=qT.pick,Gm.pickBy=qT.pickBy,Gm.property=cR.property,Gm.propertyOf=cR.propertyOf,Gm.pull=Lp.pull,Gm.pullAll=Lp.pullAll,Gm.pullAllBy=Lp.pullAllBy,Gm.pullAllWith=Lp.pullAllWith,Gm.pullAt=Lp.pullAt,Gm.range=cR.range,Gm.rangeRight=cR.rangeRight,Gm.rearg=Ex.rearg,Gm.reject=Zy.reject,Gm.remove=Lp.remove,Gm.rest=Ex.rest,Gm.reverse=Lp.reverse,Gm.sampleSize=Zy.sampleSize,Gm.set=qT.set,Gm.setWith=qT.setWith,Gm.shuffle=Zy.shuffle,Gm.slice=Lp.slice,Gm.sortBy=Zy.sortBy,Gm.sortedUniq=Lp.sortedUniq,Gm.sortedUniqBy=Lp.sortedUniqBy,Gm.split=UI.split,Gm.spread=Ex.spread,Gm.tail=Lp.tail,Gm.take=Lp.take,Gm.takeRight=Lp.takeRight,Gm.takeRightWhile=Lp.takeRightWhile,Gm.takeWhile=Lp.takeWhile,Gm.tap=yP.tap,Gm.throttle=Ex.throttle,Gm.thru=YT,Gm.toArray=mO.toArray,Gm.toPairs=qT.toPairs,Gm.toPairsIn=qT.toPairsIn,Gm.toPath=cR.toPath,Gm.toPlainObject=mO.toPlainObject,Gm.transform=qT.transform,Gm.unary=Ex.unary,Gm.union=Lp.union,Gm.unionBy=Lp.unionBy,Gm.unionWith=Lp.unionWith,Gm.uniq=Lp.uniq,Gm.uniqBy=Lp.uniqBy,Gm.uniqWith=Lp.uniqWith,Gm.unset=qT.unset,Gm.unzip=Lp.unzip,Gm.unzipWith=Lp.unzipWith,Gm.update=qT.update,Gm.updateWith=qT.updateWith,Gm.values=qT.values,Gm.valuesIn=qT.valuesIn,Gm.without=Lp.without,Gm.words=UI.words,Gm.wrap=Ex.wrap,Gm.xor=Lp.xor,Gm.xorBy=Lp.xorBy,Gm.xorWith=Lp.xorWith,Gm.zip=Lp.zip,Gm.zipObject=Lp.zipObject,Gm.zipObjectDeep=Lp.zipObjectDeep,Gm.zipWith=Lp.zipWith,Gm.entries=qT.toPairs,Gm.entriesIn=qT.toPairsIn,Gm.extend=qT.assignIn,Gm.extendWith=qT.assignInWith,RR(Gm,Gm),Gm.add=fC.add,Gm.attempt=cR.attempt,Gm.camelCase=UI.camelCase,Gm.capitalize=UI.capitalize,Gm.ceil=fC.ceil,Gm.clamp=EC.clamp,Gm.clone=mO.clone,Gm.cloneDeep=mO.cloneDeep,Gm.cloneDeepWith=mO.cloneDeepWith,Gm.cloneWith=mO.cloneWith,Gm.conformsTo=mO.conformsTo,Gm.deburr=UI.deburr,Gm.defaultTo=cR.defaultTo,Gm.divide=fC.divide,Gm.endsWith=UI.endsWith,Gm.eq=mO.eq,Gm.escape=UI.escape,Gm.escapeRegExp=UI.escapeRegExp,Gm.every=Zy.every,Gm.find=Zy.find,Gm.findIndex=Lp.findIndex,Gm.findKey=qT.findKey,Gm.findLast=Zy.findLast,Gm.findLastIndex=Lp.findLastIndex,Gm.findLastKey=qT.findLastKey,Gm.floor=fC.floor,Gm.forEach=Zy.forEach,Gm.forEachRight=Zy.forEachRight,Gm.forIn=qT.forIn,Gm.forInRight=qT.forInRight,Gm.forOwn=qT.forOwn,Gm.forOwnRight=qT.forOwnRight,Gm.get=qT.get,Gm.gt=mO.gt,Gm.gte=mO.gte,Gm.has=qT.has,Gm.hasIn=qT.hasIn,Gm.head=Lp.head,Gm.identity=ja,Gm.includes=Zy.includes,Gm.indexOf=Lp.indexOf,Gm.inRange=EC.inRange,Gm.invoke=qT.invoke,Gm.isArguments=mO.isArguments,Gm.isArray=Ai,Gm.isArrayBuffer=mO.isArrayBuffer,Gm.isArrayLike=mO.isArrayLike,Gm.isArrayLikeObject=mO.isArrayLikeObject,Gm.isBoolean=mO.isBoolean,Gm.isBuffer=mO.isBuffer,Gm.isDate=mO.isDate,Gm.isElement=mO.isElement,Gm.isEmpty=mO.isEmpty,Gm.isEqual=mO.isEqual,Gm.isEqualWith=mO.isEqualWith,Gm.isError=mO.isError,Gm.isFinite=mO.isFinite,Gm.isFunction=mO.isFunction,Gm.isInteger=mO.isInteger,Gm.isLength=mO.isLength,Gm.isMap=mO.isMap,Gm.isMatch=mO.isMatch,Gm.isMatchWith=mO.isMatchWith,Gm.isNaN=mO.isNaN,Gm.isNative=mO.isNative,Gm.isNil=mO.isNil,Gm.isNull=mO.isNull,Gm.isNumber=mO.isNumber,Gm.isObject=Sr,Gm.isObjectLike=mO.isObjectLike,Gm.isPlainObject=mO.isPlainObject,Gm.isRegExp=mO.isRegExp,Gm.isSafeInteger=mO.isSafeInteger,Gm.isSet=mO.isSet,Gm.isString=mO.isString,Gm.isSymbol=mO.isSymbol,Gm.isTypedArray=mO.isTypedArray,Gm.isUndefined=mO.isUndefined,Gm.isWeakMap=mO.isWeakMap,Gm.isWeakSet=mO.isWeakSet,Gm.join=Lp.join,Gm.kebabCase=UI.kebabCase,Gm.last=Yc,Gm.lastIndexOf=Lp.lastIndexOf,Gm.lowerCase=UI.lowerCase,Gm.lowerFirst=UI.lowerFirst,Gm.lt=mO.lt,Gm.lte=mO.lte,Gm.max=fC.max,Gm.maxBy=fC.maxBy,Gm.mean=fC.mean,Gm.meanBy=fC.meanBy,Gm.min=fC.min,Gm.minBy=fC.minBy,Gm.stubArray=cR.stubArray,Gm.stubFalse=cR.stubFalse,Gm.stubObject=cR.stubObject,Gm.stubString=cR.stubString,Gm.stubTrue=cR.stubTrue,Gm.multiply=fC.multiply,Gm.nth=Lp.nth,Gm.noop=cR.noop,Gm.now=em.now,Gm.pad=UI.pad,Gm.padEnd=UI.padEnd,Gm.padStart=UI.padStart,Gm.parseInt=UI.parseInt,Gm.random=EC.random,Gm.reduce=Zy.reduce,Gm.reduceRight=Zy.reduceRight,Gm.repeat=UI.repeat,Gm.replace=UI.replace,Gm.result=qT.result,Gm.round=fC.round,Gm.sample=Zy.sample,Gm.size=Zy.size,Gm.snakeCase=UI.snakeCase,Gm.some=Zy.some,Gm.sortedIndex=Lp.sortedIndex,Gm.sortedIndexBy=Lp.sortedIndexBy,Gm.sortedIndexOf=Lp.sortedIndexOf,Gm.sortedLastIndex=Lp.sortedLastIndex,Gm.sortedLastIndexBy=Lp.sortedLastIndexBy,Gm.sortedLastIndexOf=Lp.sortedLastIndexOf,Gm.startCase=UI.startCase,Gm.startsWith=UI.startsWith,Gm.subtract=fC.subtract,Gm.sum=fC.sum,Gm.sumBy=fC.sumBy,Gm.template=UI.template,Gm.times=cR.times,Gm.toFinite=mO.toFinite,Gm.toInteger=ci,Gm.toLength=mO.toLength,Gm.toLower=UI.toLower,Gm.toNumber=mO.toNumber,Gm.toSafeInteger=mO.toSafeInteger,Gm.toString=mO.toString,Gm.toUpper=UI.toUpper,Gm.trim=UI.trim,Gm.trimEnd=UI.trimEnd,Gm.trimStart=UI.trimStart,Gm.truncate=UI.truncate,Gm.unescape=UI.unescape,Gm.uniqueId=cR.uniqueId,Gm.upperCase=UI.upperCase,Gm.upperFirst=UI.upperFirst,Gm.each=Zy.forEach,Gm.eachRight=Zy.forEachRight,Gm.first=Lp.head,RR(Gm,function(){var e={};return Hp(Gm,(function(t,n){MR.call(Gm.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Gm.VERSION=kR,(Gm.templateSettings=UI.templateSettings).imports._=Gm,ng(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Gm[e].placeholder=Gm})),ng(["drop","take"],(function(e,t){Am.prototype[e]=function(n){n=void 0===n?1:IR(ci(n),0);var r=this.__filtered__&&!t?new Am(this):this.clone();return r.__filtered__?r.__takeCount__=LR(n,r.__takeCount__):r.__views__.push({size:LR(n,AR),type:e+(r.__dir__<0?"Right":"")}),r},Am.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ng(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==OR||n==CR;Am.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:qc(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ng(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Am.prototype[e]=function(){return this[n](1).value()[0]}})),ng(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Am.prototype[e]=function(){return this.__filtered__?new Am(this):this[n](1)}})),Am.prototype.compact=function(){return this.filter(ja)},Am.prototype.find=function(e){return this.filter(e).head()},Am.prototype.findLast=function(e){return this.reverse().find(e)},Am.prototype.invokeMap=ns((function(e,t){return"function"==typeof e?new Am(this):this.map((function(n){return ov(n,e,t)}))})),Am.prototype.reject=function(e){return this.filter(Dv(qc(e)))},Am.prototype.slice=function(e,t){e=ci(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Am(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(t=ci(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Am.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Am.prototype.toArray=function(){return this.take(AR)},Hp(Am.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Gm[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Gm.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Am,l=a[0],u=s||Ai(t),c=function(e){var t=i.apply(Gm,mi([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var f=this.__chain__,h=!!this.__actions__.length,d=o&&!f,p=s&&!h;if(!o&&u){t=p?t:new Am(this);var g=e.apply(t,a);return g.__actions__.push({func:YT,args:[c],thisArg:void 0}),new Bm(g,f)}return d&&p?e.apply(this,a):(g=this.thru(c),d?r?g.value()[0]:g.value():g)})})),ng(["pop","push","shift","sort","splice","unshift"],(function(e){var t=TR[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Gm.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ai(i)?i:[],e)}return this[n]((function(n){return t.apply(Ai(n)?n:[],e)}))}})),Hp(Am.prototype,(function(e,t){var n=Gm[t];if(n){var r=n.name+"";MR.call(Dm,r)||(Dm[r]=[]),Dm[r].push({name:t,func:n})}})),Dm[Fb(void 0,ER).name]=[{name:"wrapper",func:void 0}],Am.prototype.clone=hR,Am.prototype.reverse=pR,Am.prototype.value=SR,Gm.prototype.at=yP.at,Gm.prototype.chain=yP.wrapperChain,Gm.prototype.commit=yP.commit,Gm.prototype.next=yP.next,Gm.prototype.plant=yP.plant,Gm.prototype.reverse=yP.reverse,Gm.prototype.toJSON=Gm.prototype.valueOf=Gm.prototype.value=yP.value,Gm.prototype.first=Gm.prototype.head,DR&&(Gm.prototype[DR]=yP.toIterator);var jR=Gm,NR={width:40,height:40},BR={width:40,height:40},FR={width:100,height:80},zR={width:100,height:80},UR={width:100,height:80},HR={width:100,height:80},VR={width:100,height:80},GR={width:100,height:80},WR={width:100,height:80},qR={width:100,height:80},XR=function(){};XR.ObjTree=function(){return this},XR.ObjTree.VERSION="0.23",XR.ObjTree.prototype.xmlDecl='<?xml version="1.0" encoding="UTF-8" ?>\n',XR.ObjTree.prototype.attr_prefix="-",XR.ObjTree.prototype.parseXML=function(e){var t;if(window.DOMParser){var n=new DOMParser,r=n.parseFromString(e,"application/xml");if(!r)return;t=r.documentElement}else window.ActiveXObject&&(n=new ActiveXObject("Microsoft.XMLDOM"),n.async=!1,n.loadXML(e),t=n.documentElement);if(t){var i=this.parseDOM(t);return i}},XR.ObjTree.prototype.parseHTTP=function(e,t,n){var r,i={};for(var o in t)i[o]=t[o];if(i.method||("undefined"===typeof i.postBody&&"undefined"===typeof i.postbody&&"undefined"===typeof i.parameters?i.method="get":i.method="post"),n){i.asynchronous=!0;var a=this,s=n,l=i.onComplete;i.onComplete=function(e){var t;e&&e.responseXML&&e.responseXML.documentElement&&(t=a.parseDOM(e.responseXML.documentElement)),s(t,e),l&&l(e)}}else i.asynchronous=!1;if("undefined"!==typeof HTTP&&HTTP.Request){i.uri=e;var u=new HTTP.Request(i);u&&(r=u.transport)}else if("undefined"!==typeof Ajax&&Ajax.Request){u=new Ajax.Request(e,i);u&&(r=u.transport)}return n?r:r&&r.responseXML&&r.responseXML.documentElement?this.parseDOM(r.responseXML.documentElement):void 0},XR.ObjTree.prototype.parseDOM=function(e){if(e){if(this.__force_array={},this.force_array)for(var t=0;t<this.force_array.length;t++)this.__force_array[this.force_array[t]]=1;var n=this.parseElement(e);if(this.__force_array[e.nodeName]&&(n=[n]),11!==e.nodeType){var r={};r[e.nodeName]=n,n=r}return n}},XR.ObjTree.prototype.parseElement=function(e){if(7!==e.nodeType){if(3===e.nodeType||4===e.nodeType||8===e.nodeType){var t=e.nodeValue.match(/[^\x00-\x20]/);if(null==t)return;return e.nodeValue}var n=null,r={};if(e.attributes&&e.attributes.length){n={};for(var i=0;i<e.attributes.length;i++){var o=e.attributes[i].nodeName;if("string"===typeof o){var a=e.attributes[i].nodeValue;try{a=JSON.parse(e.attributes[i].nodeValue.replace(/'/g,'"'))}catch(u){a=e.attributes[i].nodeValue}null!==a&&void 0!==a&&(o=this.attr_prefix+o,"undefined"===typeof r[o]&&(r[o]=0),r[o]++,this.addNode(n,o,r[o],a))}}}if(e.childNodes&&e.childNodes.length){var s=!0;n&&(s=!1);for(i=0;i<e.childNodes.length&&s;i++){var l=e.childNodes[i].nodeType;3!==l&&4!==l&&8!==l&&(s=!1)}if(s){n||(n="");for(i=0;i<e.childNodes.length;i++)n+=e.childNodes[i].nodeValue}else{n||(n={});for(i=0;i<e.childNodes.length;i++){o=e.childNodes[i].nodeName;if("string"===typeof o){a=this.parseElement(e.childNodes[i]);a&&("undefined"===typeof r[o]&&(r[o]=0),r[o]++,this.addNode(n,o,r[o],a))}}}}else null===n&&(n={});return n}},XR.ObjTree.prototype.addNode=function(e,t,n,r){this.__force_array[t]?(1===n&&(e[t]=[]),e[t][e[t].length]=r):1===n?e[t]=r:2===n?e[t]=[e[t],r]:e[t][e[t].length]=r},XR.ObjTree.prototype.writeXML=function(e){var t=this.hash_to_xml(null,e);return this.xmlDecl+t},XR.ObjTree.prototype.hash_to_xml=function(e,t){var n=[],r=[];for(var i in t)if(null===t||void 0===t?void 0:t.hasOwnProperty(i)){var o=t[i];i.charAt(0)!==this.attr_prefix?"undefined"===typeof o||null==o?n[n.length]="<"+i+" />":"object"===typeof o&&o.constructor===Array?n[n.length]=this.array_to_xml(i,o):n[n.length]="object"===typeof o?this.hash_to_xml(i,o):this.scalar_to_xml(i,o):r[r.length]=" "+i.substring(1)+'="'+this.xml_escape(o)+'"'}var a=r.join(""),s=n.join("");return"undefined"===typeof e||null==e||(s=n.length>0?s.match(/\n/)?"<"+e+a+">\n"+s+"</"+e+">\n":"<"+e+a+">"+s+"</"+e+">\n":"<"+e+a+" />\n"),s},XR.ObjTree.prototype.array_to_xml=function(e,t){for(var n=[],r=0;r<t.length;r++){var i=t[r];"undefined"===typeof i||null==i?n[n.length]="<"+e+" />":"object"===typeof i&&i.constructor===Array?n[n.length]=this.array_to_xml(e,i):n[n.length]="object"===typeof i?this.hash_to_xml(e,i):this.scalar_to_xml(e,i)}return n.join("")},XR.ObjTree.prototype.scalar_to_xml=function(e,t){return"#text"===e?this.xml_escape(t):"<"+e+">"+this.xml_escape(t)+"</"+e+">\n"},XR.ObjTree.prototype.xml_escape=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"')};var YR=function(e){return(new XR.ObjTree).parseXML(e)};function KR(e){return Object.prototype.toString.call(e)}function $R(e){return" ".repeat(e)}function ZR(e){return"[object Object]"===KR(e)?Object.keys(e).reduce((function(t,n){var r=n;return"-"===n.charAt(0)&&(r=n.substring(1)),t[r]=ZR(e[n]),t}),{}):Array.isArray(e)?e.map((function(e){return ZR(e)})):e}function JR(e){var t=e;try{"string"!==typeof t&&(t=JSON.parse(e))}catch(n){t=JSON.stringify(ZR(e)).replace(/"/g,"'")}return t}var QR="\t\n";function ej(e,t,n){var r=$R(n),i="",o=QR+r;if("-json"===t)return"";if("#text"===t)return o+e;if("#cdata-section"===t)return o+"<![CDATA["+e+"]]>";if("#comment"===t)return o+"\x3c!--"+e+"--\x3e";if("-"===(""+t).charAt(0))return" "+t.substring(1)+'="'+JR(e)+'"';if(Array.isArray(e))i+=e.map((function(e){return ej(e,t,n+1)})).join("");else if("[object Object]"===KR(e)){var a=Object.keys(e),s="",l=e["-json"]?QR+$R(n+1)+e["-json"]:"";i+=(0===n?"":o)+"<"+t,a.forEach((function(t){"-"===t.charAt(0)?s+=ej(e[t],t,n+1):l+=ej(e[t],t,n+1)})),i+=s+(""!==l?">"+l+o+"</"+t+">":" />")}else i+=o+"<"+t+">"+e.toString()+"</"+t+">";return i}function tj(e){var t="";for(var n in e)t+=ej(e[n],n,0);return t}var nj,rj=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ij=function(){return ij=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ij.apply(this,arguments)},oj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},aj=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},sj=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},lj=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(sj(arguments[t]));return e};(function(e){e["START"]="bpmn:startEvent",e["END"]="bpmn:endEvent",e["INTERMEDIATE_CATCH"]="bpmn:intermediateCatchEvent",e["INTERMEDIATE_THROW"]="bpmn:intermediateThrowEvent",e["BOUNDARY"]="bpmn:boundaryEvent",e["PARALLEL_GATEWAY"]="bpmn:parallelGateway",e["INCLUSIVE_GATEWAY"]="bpmn:inclusiveGateway",e["EXCLUSIVE_GATEWAY"]="bpmn:exclusiveGateway",e["USER"]="bpmn:userTask",e["SYSTEM"]="bpmn:serviceTask",e["FLOW"]="bpmn:sequenceFlow",e["SUBPROCESS"]="bpmn:subProcess"})(nj||(nj={}));var uj=["-name","-id","bpmn:incoming","bpmn:outgoing","-sourceRef","-targetRef","-children"],cj=["properties","startPoint","endPoint","pointsList"],fj={in:[],out:["properties.panels","properties.nodeSize","properties.definitionId","properties.timerValue","properties.timerType","properties.definitionType","properties.parent","properties.isBoundaryEventTouchingTask"]},hj=function(e,t){var n=Object.keys(t||{});return n.forEach((function(n){if(e[n]){var r=t[n],i=r.in,o=r.out;i&&(e[n].in=i),o&&(e[n].out=o)}else e[n]=t[n]})),e},dj={"bpmn:startEvent":{out:function(e){var t,n,r=e.properties;return(null===(n=null===(t=dj[r.definitionType])||void 0===t?void 0:t.out)||void 0===n?void 0:n.call(t,e))||{}}},"bpmn:intermediateCatchEvent":{out:function(e){var t,n,r=e.properties;return(null===(n=null===(t=dj[r.definitionType])||void 0===t?void 0:t.out)||void 0===n?void 0:n.call(t,e))||{}}},"bpmn:intermediateThrowEvent":{out:function(e){var t,n,r=e.properties;return(null===(n=null===(t=dj[r.definitionType])||void 0===t?void 0:t.out)||void 0===n?void 0:n.call(t,e))||{}}},"bpmn:boundaryEvent":{out:function(e){var t,n,r=e.properties;return(null===(n=null===(t=dj[r.definitionType])||void 0===t?void 0:t.out)||void 0===n?void 0:n.call(t,e))||{}}},"bpmn:sequenceFlow":{out:function(e){var t=e.properties,n=t.expressionType,r=t.condition;return r?"cdata"===n?{json:'<bpmn:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[${'+r+"}]]></bpmn:conditionExpression>"}:{json:'<bpmn:conditionExpression xsi:type="bpmn2:tFormalExpression">'+r+"</bpmn:conditionExpression>"}:{json:""}}},"bpmn:timerEventDefinition":{out:function(e){var t=e.properties,n=t.timerType,r=t.timerValue,i=t.definitionId,o=function(){return"<bpmn:"+n+' xsi:type="bpmn:tFormalExpression">'+r+"</bpmn:"+n+">"};return{json:'<bpmn:timerEventDefinition id="'+i+'"'+(n&&r?">"+o()+"</bpmn:timerEventDefinition>":"/>")}},in:function(e,t){var n,r,i,o,a=e,s=t["-id"],l="",u="";try{for(var c=aj(Object.keys(t)),f=c.next();!f.done;f=c.next()){var h=f.value;h.includes("bpmn:")&&(i=sj(h.split(":"),2),l=i[1],u=null===(o=t[h])||void 0===o?void 0:o["#text"])}}catch(d){n={error:d}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return{"-definitionId":s,"-definitionType":a,"-timerType":l,"-timerValue":u}}},"bpmn:conditionExpression":{in:function(e,t){var n,r="",i="";return t["#cdata-section"]?(i="cdata",r=(null===(n=/^\$\{(.*)\}$/g.exec(t["#cdata-section"]))||void 0===n?void 0:n[1])||""):t["#text"]&&(i="normal",r=t["#text"]),{"-condition":r,"-expressionType":i}}}};function pj(e){var t=null!==e&&void 0!==e?e:{},n=t.retainedAttrsFields,r=t.excludeFields,i=t.transformer,o=new Set(lj(cj,n||[])),a={in:new Set(lj(fj.in,(null===r||void 0===r?void 0:r.in)||[])),out:new Set(lj(fj.out,(null===r||void 0===r?void 0:r.out)||[]))};return dj=hj(dj,i),function(e){var t=e.nodes,n=e.edges;function r(e,i){var s,l,u;if(1!==(null===e||void 0===e?void 0:e.flag)){var c;if((c=dj[e.type])&&c.out){var f=c.out(e),h=Object.keys(f);h.length>0&&h.forEach((function(t){e[t]=f[t]}))}(null===e||void 0===e?void 0:e.children)&&(e.children=e.children.map((function(e){var r=t.find((function(t){return t.id===e}))||n.find((function(t){return t.id===e}));return r||{}})));var d={};if("string"===typeof e)return e;if(Array.isArray(e))return e.map((function(e){return r(e,"")})).filter((function(e){return void 0!=e}));try{for(var p=aj(Object.entries(e)),g=p.next();!g.done;g=p.next()){var v=sj(g.value,2),y=v[0],m=v[1];if(1===(null===(u=m)||void 0===u?void 0:u["flag"]))return;var b=[i,y].filter((function(e){return e})).join(".");a.out.has(b)||("object"!==typeof m?0===y.indexOf("-")||["#text","#cdata-section","#comment"].includes(y)?d[y]=m:d["-"+y]=m:o.has(b)?d["-"+y]=r(m,b):d[y]=r(m,b))}}catch(_){s={error:_}}finally{try{g&&!g.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}return d}}return r(e,"")}}function gj(e){var t,n,r={};try{for(var i=aj(Object.entries(e)),o=i.next();!o.done;o=i.next()){var a=sj(o.value,2),s=a[0],l=a[1];0===s.indexOf("-")?r[s.substring(1)]=ZR(l):"string"===typeof l?r[s]=l:"[object Object]"===Object.prototype.toString.call(l)?r[s]=gj(l):Array.isArray(l)?r[s]=l.map((function(e){return gj(e)})):r[s]=l}}catch(u){t={error:u}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function vj(e,t,n){var r,i=new Map,o=pj(n)(t);o.nodes.forEach((function(t){var n=t["-id"],r=t["-type"],o=t.text,a=t.children,s=oj(t,["-id","-type","text","children"]),l={"-id":n};(null===o||void 0===o?void 0:o["-value"])&&(l["-name"]=o["-value"]),s["-json"]&&(l["-json"]=s["-json"]),s["-properties"]&&Object.assign(l,s["-properties"]),a&&(l.children=a),e[r]||(e[r]=[]),e[r].push(l),i.set(n,l)}));var a=o.edges.map((function(e){var t=e["-id"],n=(e["-type"],e["-sourceNodeId"]),r=e["-targetNodeId"],o=e.text,a=oj(e,["-id","-type","-sourceNodeId","-targetNodeId","text"]),s=i.get(r);s["bpmn:incoming"]||(s["bpmn:incoming"]=[]),s["bpmn:incoming"].push(t);var l={"-id":t,"-sourceRef":n,"-targetRef":r};return(null===o||void 0===o?void 0:o["-value"])&&(l["-name"]=o["-value"]),a["-json"]&&(l["-json"]=a["-json"]),a["-properties"]&&Object.assign(l,a["-properties"]),l}));return t.edges.forEach((function(e){var t=e.sourceNodeId,n=e.id,r=i.get(t);r["bpmn:outgoing"]||(r["bpmn:outgoing"]=[]),r["bpmn:outgoing"].push(n)})),null===(r=e["bpmn:subProcess"])||void 0===r||r.forEach((function(t){var n={"bpmn:incoming":new Set,"bpmn:outgoing":new Set},r=[];t.children.forEach((function(r){var o,a=i.get(r["-id"]);["bpmn:incoming","bpmn:outgoing"].forEach((function(e){a[e]&&a[e].forEach((function(t){n[e].add(t)}))}));var s=null===(o=e[r["-type"]])||void 0===o?void 0:o.findIndex((function(e){return e["-id"]===r["-id"]}));s>=0&&e[r["-type"]].splice(s,1),i.delete(r["-id"]),t[r["-type"]]||(t[r["-type"]]=[]),t[r["-type"]].push(a)}));var o=n["bpmn:incoming"],s=n["bpmn:outgoing"];s.forEach((function(e){o.has(e)&&r.push(e)}));for(var l,u=function(e){var n=a.findIndex((function(t){return t["-id"]===r[e]}));n>=0?(t["bpmn:sequenceFlow"]||(t["bpmn:sequenceFlow"]=[]),t["bpmn:sequenceFlow"].push(a[n]),a.splice(n,1)):e++,l=e},c=0;c<r.length;)u(c),c=l;delete t.children})),e[nj.FLOW]=a,e}function yj(e,t){e["bpmndi:BPMNEdge"]=t.edges.map((function(e){var t,n=e.id,r=e.pointsList.map((function(e){var t=e.x,n=e.y;return{"-x":t,"-y":n}})),i={"-id":n+"_di","-bpmnElement":n,"di:waypoint":r};return(null===(t=e.text)||void 0===t?void 0:t.value)&&(i["bpmndi:BPMNLabel"]={"dc:Bounds":{"-x":e.text.x-10*e.text.value.length/2,"-y":e.text.y-7,"-width":10*e.text.value.length,"-height":14}}),i})),e["bpmndi:BPMNShape"]=t.nodes.map((function(e){var t,n=e.id,r=100,i=80,o=e.x,a=e.y,s=kj.shapeConfigMap.get(e.type);s&&(r=s.width,i=s.height),o-=r/2,a-=i/2;var l={"-id":n+"_di","-bpmnElement":n,"dc:Bounds":{"-x":o,"-y":a,"-width":r,"-height":i}};return(null===(t=e.text)||void 0===t?void 0:t.value)&&(l["bpmndi:BPMNLabel"]={"dc:Bounds":{"-x":e.text.x-10*e.text.value.length/2,"-y":e.text.y-7,"-width":10*e.text.value.length,"-height":14}}),l}))}var mj=["bpmn:incoming","bpmn:outgoing"];function bj(e,t){var n=[],r=[],i=new Map,o=null!==t&&void 0!==t?t:{},a=o.transformer,s=o.excludeFields,l={in:new Set(lj(fj.in,(null===s||void 0===s?void 0:s.in)||[])),out:new Set(lj(fj.out,(null===s||void 0===s?void 0:s.out)||[]))};dj=hj(dj,a);var u=e["bpmn:definitions"];if(u){var c=u["bpmn:process"];(function(e,t){t.forEach((function(t){try{Object.keys(e).forEach((function(e){try{t(e)}catch(n){console.error(n)}}))}catch(n){console.error(n)}}))})(c,[function(e){function t(e){e["-children"]||(e["-children"]=[]),Object.keys(e).forEach((function(t){var n;0!==t.indexOf("bpmn:")||mj.includes(t)||(c[t]||(c[t]=[]),!Array.isArray(c[t])&&(c[t]=[c[t]]),Array.isArray(e[t])?(n=c[t]).push.apply(n,lj(e[t])):c[t].push(e[t]),Array.isArray(e[t])?e[t].forEach((function(n){!t.includes("Flow")&&e["-children"].push(n["-id"])})):!t.includes("Flow")&&e["-children"].push(e[t]["-id"]),delete e[t])}))}if("bpmn:subProcess"===e){var n=c[e];Array.isArray(n)?n.forEach((function(n){"bpmn:subProcess"===e&&t(n)})):t(n)}},function(e){var t=function(e){Object.keys(e).forEach((function(t){var r,i;if(t.includes("bpmn:")){var o={};dj[t]&&dj[t].in?(o=null===(i=(r=dj[t]).in)||void 0===i?void 0:i.call(r,t,jR.cloneDeep(e[t])),delete e[t]):n(e[t]);var a=void 0;(a=Reflect.ownKeys(o)).length>0&&a.forEach((function(t){Reflect.set(e,t,o[t])}))}}))};function n(e){i.set(e["-id"],e),Array.isArray(e)?e.forEach((function(e){n(e)})):"object"===typeof e&&t(e)}n(c[e])},function(e){if(0===e.indexOf("bpmn:")){var t=c[e];if("bpmn:sequenceFlow"===e){var o=u["bpmndi:BPMNDiagram"]["bpmndi:BPMNPlane"]["bpmndi:BPMNEdge"];r=wj(t,o)}else{var a=u["bpmndi:BPMNDiagram"]["bpmndi:BPMNPlane"]["bpmndi:BPMNShape"];if("bpmn:boundaryEvent"===e){var s=c[e],l=function(e){var t=e["-attachedToRef"],n=i.get(t);n["-boundaryEvents"]||(n["-boundaryEvents"]=[]),n["-boundaryEvents"].push(e["-id"])};Array.isArray(s)?s.forEach((function(e){l(e)})):l(s)}n=n.concat(_j(t,a,e))}}}])}var f=function(e,t,n){Object.keys(e).forEach((function(r){var i=n?n+"."+r:r;t.has(i)?delete e[r]:"object"===typeof e[r]&&f(e[r],t,i)}))};return n.forEach((function(e){var n,r;if(null===(n=null===t||void 0===t?void 0:t.mapping)||void 0===n?void 0:n.in){var i=null===(r=null===t||void 0===t?void 0:t.mapping)||void 0===r?void 0:r.in,o=e.type;i[o]&&(e.type=i[o])}f(e,l.in,"")})),r.forEach((function(e){var n,r;if(null===(n=null===t||void 0===t?void 0:t.mapping)||void 0===n?void 0:n.in){var i=null===(r=null===t||void 0===t?void 0:t.mapping)||void 0===r?void 0:r.in,o=e.type;i[o]&&(e.type=i[o])}f(e,l.in,"")})),{nodes:n,edges:r}}function _j(e,t,n){var r=[];if(Array.isArray(e))e.forEach((function(e){var i;i=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t;var o=xj(i,n,e);r.push(o)}));else{var i=void 0;i=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t;var o=xj(i,n,e);r.push(o)}return r}function xj(e,t,n){var r=Number(e["dc:Bounds"]["-x"]),i=Number(e["dc:Bounds"]["-y"]),o=n["-children"],a=n["-name"],s=kj.shapeConfigMap.get(t);s&&(r+=s.width/2,i+=s.height/2);var l,u={};if(Object.entries(n).forEach((function(e){var t=sj(e,2),n=t[0],r=t[1];uj.includes(n)||(u[n]=r)})),u=gj(u),a&&(l={x:r,y:i,value:a},e["bpmndi:BPMNLabel"]&&e["bpmndi:BPMNLabel"]["dc:Bounds"])){var c=e["bpmndi:BPMNLabel"]["dc:Bounds"];l.x=Number(c["-x"])+Number(c["-width"])/2,l.y=Number(c["-y"])+Number(c["-height"])/2}var f={id:e["-bpmnElement"],type:t,x:r,y:i,properties:u};return o&&(f.children=o),l&&(f.text=l),f}function wj(e,t){var n=[];if(Array.isArray(e))e.forEach((function(e){var r;r=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t,n.push(Sj(r,e))}));else{var r=void 0;r=Array.isArray(t)?t.find((function(t){return t["-bpmnElement"]===e["-id"]})):t,n.push(Sj(r,e))}return n}function Sj(e,t){var n,r=t["-name"];if(r){var i=e["bpmndi:BPMNLabel"]["dc:Bounds"],o=0;r.split("\n").forEach((function(e){o<e.length&&(o=e.length)})),n={value:r,x:Number(i["-x"])+10*o/2,y:Number(i["-y"])+7}}var a={};Object.entries(t).forEach((function(e){var t=sj(e,2),n=t[0],r=t[1];uj.includes(n)||(a[n]=r)})),a=gj(a);var s=e["di:waypoint"].map((function(e){return{x:Number(e["-x"]),y:Number(e["-y"])}})),l={id:t["-id"],type:nj.FLOW,pointsList:s,sourceNodeId:t["-sourceRef"],targetNodeId:t["-targetRef"],properties:a};return n&&(l.text=n),l}var kj=function(){function e(e){var t=this,n=e.lf;this.adapterOut=function(e,n){var r,i,o=ij({},t.processAttributes);vj(o,e,n);var a={"-id":"BPMNPlane_1","-bpmnElement":o["-id"]};yj(a,e);var s=t.definitionAttributes;s["bpmn:process"]=o,s["bpmndi:BPMNDiagram"]={"-id":"BPMNDiagram_1","bpmndi:BPMNPlane":a};var l={"bpmn:definitions":s};if(null===(r=null===n||void 0===n?void 0:n.mapping)||void 0===r?void 0:r.out){var u=null===(i=null===n||void 0===n?void 0:n.mapping)||void 0===i?void 0:i.out,c=function(e){Array.isArray(e)&&e.forEach((function(e){return c(e)})),"object"===typeof e&&Object.keys(e).forEach((function(t){var n;(n=u[t])?(e[n]=jR.cloneDeep(e[t]),delete e[t],c(e[n])):c(e[t])}))};c(l)}return l},this.adapterIn=function(e,t){if(e)return bj(e,t)},n.adapterIn=this.adapterIn,n.adapterOut=this.adapterOut,this.processAttributes={"-isExecutable":"true","-id":"Process"},this.definitionAttributes={"-id":"Definitions","-xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","-xmlns:bpmn":"http://www.omg.org/spec/BPMN/20100524/MODEL","-xmlns:bpmndi":"http://www.omg.org/spec/BPMN/20100524/DI","-xmlns:dc":"http://www.omg.org/spec/DD/20100524/DC","-xmlns:di":"http://www.omg.org/spec/DD/20100524/DI","-targetNamespace":"http://logic-flow.org","-exporter":"logicflow","-exporterVersion":"1.2.10"}}return e.prototype.setCustomShape=function(t,n){e.shapeConfigMap.set(t,n)},e.pluginName="bpmn-adapter",e.shapeConfigMap=new Map,e}();kj.shapeConfigMap.set(nj.START,{width:NR.width,height:NR.height}),kj.shapeConfigMap.set(nj.END,{width:BR.width,height:BR.height}),kj.shapeConfigMap.set(nj.INTERMEDIATE_CATCH,{width:zR.width,height:zR.height}),kj.shapeConfigMap.set(nj.INTERMEDIATE_THROW,{width:zR.width,height:zR.height}),kj.shapeConfigMap.set(nj.BOUNDARY,{width:FR.width,height:FR.height}),kj.shapeConfigMap.set(nj.PARALLEL_GATEWAY,{width:UR.width,height:UR.height}),kj.shapeConfigMap.set(nj.INCLUSIVE_GATEWAY,{width:HR.width,height:HR.height}),kj.shapeConfigMap.set(nj.EXCLUSIVE_GATEWAY,{width:VR.width,height:VR.height}),kj.shapeConfigMap.set(nj.SYSTEM,{width:GR.width,height:GR.height}),kj.shapeConfigMap.set(nj.USER,{width:WR.width,height:WR.height}),kj.shapeConfigMap.set(nj.SUBPROCESS,{width:qR.width,height:qR.height});(function(e){function t(t){var n=e.call(this,t)||this;n.adapterXmlIn=function(e){var t=YR(e);return n.adapterIn(t,n.props)},n.adapterXmlOut=function(e){var t=n.adapterOut(e,n.props);return tj(t)};var r=t.lf,i=t.props;return r.adapterIn=n.adapterXmlIn,r.adapterOut=n.adapterXmlOut,n.props=i,n}rj(t,e),t.pluginName="BPMNAdapter"})(kj);var Ej=function(){function e(e){var t=this,n=e.lf;this.lf=n,this.customCssRules="",this.useGlobalRules=!0,n.getSnapshot=function(e,n){t.getSnapshot(e,n)},n.getSnapshotBlob=function(e){return t.getSnapshotBlob(e)},n.getSnapshotBase64=function(e){return t.getSnapshotBase64(e)}}return e.prototype.getSvgRootElement=function(e){var t=e.container.querySelector(".lf-canvas-overlay");return t},e.prototype.triggerDownload=function(e){var t=new MouseEvent("click",{view:document.defaultView,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",this.fileName),n.setAttribute("href",e),n.setAttribute("target","_blank"),n.dispatchEvent(t)},e.prototype.removeAnchor=function(e){for(var t=e.childNodes,n=e.childNodes&&e.childNodes.length,r=0;r<n;r++){var i=t[r],o=i.classList&&Array.from(i.classList)||[];o.indexOf("lf-anchor")>-1&&(e.removeChild(e.childNodes[r]),n--,r--)}},e.prototype.removeRotateControl=function(e){for(var t=e.childNodes,n=e.childNodes&&e.childNodes.length,r=0;r<n;r++){var i=t[r],o=i.classList&&Array.from(i.classList)||[];o.indexOf("lf-rotate-control")>-1&&(e.removeChild(e.childNodes[r]),n--,r--)}},e.prototype.getSnapshot=function(e,t){var n=this;this.fileName=e||"logic-flow."+Date.now()+".png";var r=this.getSvgRootElement(this.lf);this.getCanvasData(r,t).then((function(e){var t=e.toDataURL("image/png").replace("image/png","image/octet-stream");n.triggerDownload(t)}))},e.prototype.getSnapshotBase64=function(e){var t=this,n=this.getSvgRootElement(this.lf);return new Promise((function(r){t.getCanvasData(n,e).then((function(e){var t=e.toDataURL("image/png");r({data:t,width:e.width,height:e.height})}))}))},e.prototype.getSnapshotBlob=function(e){var t=this,n=this.getSvgRootElement(this.lf);return new Promise((function(r){t.getCanvasData(n,e).then((function(e){e.toBlob((function(t){r({data:t,width:e.width,height:e.height})}),"image/png")}))}))},e.prototype.getClassRules=function(){var e="";if(this.useGlobalRules)for(var t=document.styleSheets,n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.cssRules.length;i++)e+=r.cssRules[i].cssText;return this.customCssRules&&(e+=this.customCssRules),e},e.prototype.getCanvasData=function(e,t){var n=this,r=e.cloneNode(!0),i=r.lastChild,o=i.childNodes&&i.childNodes.length;if(o)for(var a=0;a<o;a++){var s=i.childNodes[a],l=s.classList&&Array.from(s.classList);if(l&&l.indexOf("lf-base")<0)i.removeChild(i.childNodes[a]),o--,a--;else{var u=i.childNodes[a];u&&u.childNodes.forEach((function(e){var t=e;n.removeAnchor(t.firstChild),n.removeRotateControl(t.firstChild)}))}}var c=window.devicePixelRatio||1;c<1&&(c=1);var f=document.createElement("canvas"),h=this.lf.graphModel.rootEl.querySelector(".lf-base"),d=h.getBoundingClientRect(),p=this.lf.container.querySelector(".lf-canvas-overlay").getBoundingClientRect(),g=d.x-p.x,v=d.y-p.y,y=this.lf.graphModel,m=y.transformModel,b=m.SCALE_X,_=m.SCALE_Y,x=m.TRANSLATE_X,w=m.TRANSLATE_Y;r.lastChild.style.transform="matrix(1, 0, 0, 1, "+((-g+x)*(1/b)+10)+", "+((-v+w)*(1/_)+10)+")";var S=Math.ceil(d.width/b),k=Math.ceil(d.height/_);f.style.width=S+"px",f.style.height=k+"px",f.width=S*c+80,f.height=k*c+80;var E=f.getContext("2d");E.clearRect(0,0,f.width,f.height),E.scale(c,c),t?(E.fillStyle=t,E.fillRect(0,0,S*c+80,k*c+80)):E.clearRect(0,0,S,k);var O=new Image,C=document.createElement("style");C.innerHTML=this.getClassRules();var A=document.createElement("foreignObject");return A.appendChild(C),r.appendChild(A),new Promise((function(e){O.onload=function(){var t=navigator.userAgent.indexOf("Firefox")>-1;try{t?createImageBitmap(O,{resizeWidth:f.width,resizeHeight:f.height}).then((function(t){E.drawImage(t,0,0),e(f)})):(E.drawImage(O,0,0),e(f))}catch(n){E.drawImage(O,0,0),e(f)}};var t="data:image/svg+xml;charset=utf-8,"+(new XMLSerializer).serializeToString(r),n=t.replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");O.src=n}))},e.pluginName="snapshot",e}(),Oj=function(){return Oj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Oj.apply(this,arguments)},Cj=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Aj={SEQUENCE_FLOW:1,START_EVENT:2,END_EVENT:3,USER_TASK:4,EXCLUSIVE_GATEWAY:6},Tj={1:"bpmn:sequenceFlow",2:"bpmn:startEvent",3:"bpmn:endEvent",4:"bpmn:userTask",6:"bpmn:exclusiveGateway"};function Pj(e){switch(e){case"bpmn:sequenceFlow":return Aj.SEQUENCE_FLOW;case"bpmn:startEvent":return Aj.START_EVENT;case"bpmn:endEvent":return Aj.END_EVENT;case"bpmn:userTask":return Aj.USER_TASK;case"bpmn:exclusiveGateway":return Aj.EXCLUSIVE_GATEWAY;default:return e}}function Mj(e){var t=e.id,n=(e.type,e.x),r=e.y,i=e.text,o=void 0===i?"":i,a=e.properties;return{incoming:[],outgoing:[],dockers:[],type:Pj(e.type),properties:Oj(Oj({},a),{name:o&&o.value||"",x:n,y:r,text:o}),key:t}}function Dj(e){var t=e.id,n=e.type,r=e.sourceNodeId,i=e.targetNodeId,o=e.startPoint,a=e.endPoint,s=e.pointsList,l=e.text,u=void 0===l?"":l,c=e.properties;return{incoming:[r],outgoing:[i],type:Pj(n),dockers:[],properties:Oj(Oj({},c),{name:u&&u.value||"",text:u,startPoint:JSON.stringify(o),endPoint:JSON.stringify(a),pointsList:JSON.stringify(s)}),key:t}}function Ij(e){var t=new Map,n={flowElementList:[]};return e.nodes.forEach((function(e){var r=Mj(e);n.flowElementList.push(r),t.set(e.id,r)})),e.edges.forEach((function(e){var r=Dj(e),i=t.get(e.sourceNodeId);i.outgoing.push(r.key);var o=t.get(e.targetNodeId);o.incoming.push(r.key),n.flowElementList.push(r)})),n}function Lj(e){var t=e.incoming,n=e.outgoing,r=e.properties,i=e.key,o=e.type,a=r.text,s=r.name,l=r.startPoint,u=r.endPoint,c=r.pointsList,f={id:i,type:Tj[o],sourceNodeId:t[0],targetNodeId:n[0],text:a||s,properties:{}};l&&(f.startPoint=JSON.parse(l)),u&&(f.endPoint=JSON.parse(u)),c&&(f.pointsList=JSON.parse(c));var h=["startPoint","endPoint","pointsList","text"];return Object.keys(e.properties).forEach((function(t){-1===h.indexOf(t)&&(f.properties[t]=e.properties[t])})),f}function Rj(e){var t=e.properties,n=e.key,r=e.type,i=e.bounds,o=t.x,a=t.y,s=t.text;if(void 0===o){var l=Cj(i,2),u=l[0],c=u.x,f=u.y,h=l[1],d=h.x,p=h.y;o=(c+d)/2,a=(f+p)/2}var g={id:n,type:Tj[r],x:o,y:a,text:s,properties:{}},v=["x","y","text"];return Object.keys(e.properties).forEach((function(t){-1===v.indexOf(t)&&(g.properties[t]=e.properties[t])})),g}function jj(e){var t={nodes:[],edges:[]},n=e.flowElementList;return n&&n.length>0&&n.forEach((function(e){if(e.type===Aj.SEQUENCE_FLOW){var n=Lj(e);t.edges.push(n)}else{var r=Rj(e);t.nodes.push(r)}})),t}var Nj;(function(){function e(e){var t=e.lf;t.adapterIn=this.adapterIn,t.adapterOut=this.adapterOut}e.prototype.adapterOut=function(e){if(e)return Ij(e)},e.prototype.adapterIn=function(e){if(e)return jj(e)},e.pluginName="turboAdapter"})();(function(e){e["HORIZONTAL"]="horizontal",e["VERTICAL"]="vertical"})(Nj||(Nj={}));var Bj=function(e,t,n,r){void 0===r&&(r=0);var i=Hj(e,t,n);return i<=r};function Fj(e){return e*e}function zj(e,t){return Fj(e.x-t.x)+Fj(e.y-t.y)}var Uj=function(e,t,n){var r=zj(t,n);if(0===r)return zj(e,t);var i=((e.x-t.x)*(n.x-t.x)+(e.y-t.y)*(n.y-t.y))/r;return i=Math.max(0,Math.min(1,i)),zj(e,{x:t.x+i*(n.x-t.x),y:t.y+i*(n.y-t.y)})},Hj=function(e,t,n){return Math.sqrt(Uj(e,t,n))},Vj=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o={minX:t-r/2,minY:n-i/2,maxX:t+r/2,maxY:n+i/2,x:t,y:n,width:r,height:i,centerX:t,centerY:n};return o},Gj=function(e,t){var n;return e.x===t.x?n=Nj.VERTICAL:e.y===t.y&&(n=Nj.HORIZONTAL),n},Wj=function(e,t,n){var r=Vj(e),i=Gj(t,n),o=Math.max(t.x,n.x),a=Math.min(t.x,n.x),s=Math.max(t.y,n.y),l=Math.min(t.y,n.y),u=e.x,c=e.y,f=e.width,h=e.height;if(i===Nj.HORIZONTAL){if(o>=r.maxX&&a<=r.minX)return{startCrossPoint:{x:t.x>n.x?u+f/2:u-f/2,y:t.y},endCrossPoint:{x:t.x>n.x?u-f/2:u+f/2,y:t.y}}}else if(i===Nj.VERTICAL&&s>=r.maxY&&l<=r.minY)return{startCrossPoint:{x:t.x,y:t.y>n.y?c+h/2:c-h/2},endCrossPoint:{x:t.x,y:t.y>n.y?c-h/2:c+h/2}}},qj=function(e,t,n){void 0===n&&(n=0);for(var r=e.x,i=e.y,o=t.pointsList,a=0;a<o.length-1;a++)if(Bj({x:r,y:i},o[a],o[a+1],n)){var s=Wj(e,o[a],o[a+1]);if(s)return{crossIndex:a+1,crossPoints:s}}return{crossIndex:-1,crossPoints:{startCrossPoint:{x:0,y:0},endCrossPoint:{x:0,y:0}}}},Xj=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Yj=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Xj(arguments[t]));return e},Kj=(function(){function e(e){var t=e.lf;this._lf=t,this.deviation=20,this.dndAdd=!0,this.dropAdd=!0,this.eventHandler()}e.prototype.eventHandler=function(){var e=this;this.dndAdd&&this._lf.on("node:dnd-add",(function(t){var n=t.data;e.insetNode(n)})),this.dropAdd&&this._lf.on("node:drop",(function(t){for(var n=t.data,r=e._lf.graphModel.edges,i=n.id,o=!0,a=0;a<r.length;a++)if(r[a].sourceNodeId===i||r[a].targetNodeId===i){o=!1;break}o&&e.insetNode(n)}))},e.prototype.checkRuleBeforeInsetNode=function(e,t,n,i,o){var a=this._lf.getNodeModelById(e),s=this._lf.getNodeModelById(t),l=a.getAnchorInfo(n),u=s.getAnchorInfo(i),c=a.isAllowConnectedAsSource(o,l,u),f=s.isAllowConnectedAsTarget(o,l,u),h=Object(r["formateAnchorConnectValidateData"])(c),d=h.isAllPass,p=h.msg,g=Object(r["formateAnchorConnectValidateData"])(f),v=g.isAllPass,y=g.msg;return{isPass:d&&v,sourceMsg:p,targetMsg:y}},e.prototype.insetNode=function(e){var t=this,n=this._lf.graphModel.edges,i=this._lf.getNodeModelById(e.id),o=i.getDefaultAnchor(),a=!o||0===o.length;if(a)this._lf.graphModel.eventCenter.emit(r["EventType"].CONNECTION_NOT_ALLOWED,{data:e,msg:"自定义类型节点不显示锚点,也不允许其他节点连接到此节点"});else for(var s=0;s<n.length;s++){var l=qj(i,n[s],this.deviation),u=l.crossIndex,c=l.crossPoints;if(u>=0){var f=n[s],h=f.sourceNodeId,d=f.targetNodeId,p=f.id,g=f.type,v=f.pointsList,y=f.sourceAnchorId,m=f.targetAnchorId,b=jS(v[0]),_=jS(c.startCrossPoint);this._lf.deleteEdge(p);var x=this.checkRuleBeforeInsetNode(h,d,y,m,e);if(this._lf.addEdge({type:g,sourceNodeId:h,targetNodeId:e.id,startPoint:b,endPoint:_,pointsList:Yj(v.slice(0,u),[c.startCrossPoint])}),this._lf.addEdge({type:g,sourceNodeId:e.id,targetNodeId:d,startPoint:jS(c.endCrossPoint),endPoint:jS(v[v.length-1]),pointsList:Yj([c.endCrossPoint],v.slice(u))}),x.isPass)break;this._lf.graphModel.eventCenter.emit(r["EventType"].CONNECTION_NOT_ALLOWED,{data:e,msg:x.targetMsg||x.sourceMsg}),setTimeout((function(){t._lf.undo()}),200);break}}},e.pluginName="insertNodeInPolyline"}(),function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}),$j=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Kj(arguments[t]));return e},Zj=(function(){function e(e){var t=this,n=e.lf;this.controlItems=[{key:"zoom-out",iconClass:"lf-control-zoomOut",title:"缩小流程图",text:"缩小",onClick:function(){t.lf.zoom(!1)}},{key:"zoom-in",iconClass:"lf-control-zoomIn",title:"放大流程图",text:"放大",onClick:function(){t.lf.zoom(!0)}},{key:"reset",iconClass:"lf-control-fit",title:"恢复流程原有尺寸",text:"适应",onClick:function(){t.lf.resetZoom()}},{key:"undo",iconClass:"lf-control-undo",title:"回到上一步",text:"上一步",onClick:function(){t.lf.undo()}},{key:"redo",iconClass:"lf-control-redo",title:"移到下一步",text:"下一步",onClick:function(){t.lf.redo()}}],this.lf=n}e.prototype.render=function(e,t){this.destroy();var n=this.getControlTool();this.toolEl=n,t.appendChild(n),this.domContainer=t},e.prototype.destroy=function(){this.domContainer&&this.toolEl&&this.domContainer.contains(this.toolEl)&&this.domContainer.removeChild(this.toolEl)},e.prototype.addItem=function(e){this.controlItems.push(e)},e.prototype.removeItem=function(e){var t=this.controlItems.findIndex((function(t){return t.key===e}));return-1==t?null:this.controlItems.splice(t,1)[0]},e.prototype.getControlTool=function(){var e=this,t="lf-control-item",n="lf-control-item disabled",r=document.createElement("div"),i=[];return r.className="lf-control",this.controlItems.forEach((function(r){var o=document.createElement("div"),a=document.createElement("i"),s=document.createElement("span");switch(o.className=n,r.onClick&&(o.onclick=r.onClick.bind(null,e.lf)),r.onMouseEnter&&(o.onmouseenter=r.onMouseEnter.bind(null,e.lf)),r.onMouseLeave&&(o.onmouseleave=r.onMouseLeave.bind(null,e.lf)),a.className=r.iconClass,s.className="lf-control-text",s.title=r.title,s.innerText=r.text,o.append(a,s),r.text){case"上一步":e.lf.on("history:change",(function(e){var r=e.data.undoAble;o.className=r?t:n}));break;case"下一步":e.lf.on("history:change",(function(e){var r=e.data.redoAble;o.className=r?t:n}));break;default:o.className=t;break}i.push(o)})),r.append.apply(r,$j(i)),r},e.pluginName="control"}(),function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}),Jj=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Zj(arguments[t]));return e},Qj="lf:defaultNodeMenu",eN="lf:defaultEdgeMenu",tN="lf:defaultGraphMenu",nN="lf:defaultSelectionMenu",rN=function(){function e(e){var t=this,n=e.lf;this.lf=n;var r=n.options.isSilentMode;r||(this.__menuDOM=document.createElement("ul"),this.menuTypeMap=new Map,this.init(),this.lf.setMenuConfig=function(e){t.setMenuConfig(e)},this.lf.addMenuConfig=function(e){t.addMenuConfig(e)},this.lf.setMenuByType=function(e){t.setMenuByType(e)})}return e.prototype.init=function(){var e=this,t=[{text:"删除",callback:function(t){e.lf.deleteNode(t.id)}},{text:"编辑文本",callback:function(t){e.lf.graphModel.editText(t.id)}},{text:"复制",callback:function(t){e.lf.cloneNode(t.id)}}];this.menuTypeMap.set(Qj,t);var n=[{text:"删除",callback:function(t){e.lf.deleteEdge(t.id)}},{text:"编辑文本",callback:function(t){e.lf.graphModel.editText(t.id)}}];this.menuTypeMap.set(eN,n),this.menuTypeMap.set(tN,[]);var r=[{text:"删除",callback:function(t){e.lf.clearSelectElements(),t.edges.forEach((function(t){return e.lf.deleteEdge(t.id)})),t.nodes.forEach((function(t){return e.lf.deleteNode(t.id)}))}}];this.menuTypeMap.set(nN,r)},e.prototype.render=function(e,t){var n=this;e.options.isSilentMode||(this.__container=t,this.__currentData=null,this.__menuDOM.className="lf-menu",t.appendChild(this.__menuDOM),this.__menuDOM.addEventListener("click",(function(e){e.stopPropagation();var t=e.target;while(-1===Array.from(t.classList).indexOf("lf-menu-item")&&-1===Array.from(t.classList).indexOf("lf-menu"))t=t.parentElement;Array.from(t.classList).indexOf("lf-menu-item")>-1?(t.onclickCallback(n.__currentData),n.__menuDOM.style.display="none",n.__currentData=null):console.warn("点击区域不在菜单项内,请检查代码!")}),!0),this.lf.on("node:contextmenu",(function(e){var t=e.data,r=e.position,i=e.e,o=r.domOverlayPosition,a=o.x,s=o.y,l=t.id,u=n.lf.graphModel.getNodeModelById(l),c=[],f=n.menuTypeMap.get(u.type);c=u&&u.menu&&Array.isArray(u.menu)?u.menu:f||n.menuTypeMap.get(Qj),n.__currentData=t,n.showMenu(a,s,c,{width:u.width,height:u.height,clientX:i.clientX,clientY:i.clientY})})),this.lf.on("edge:contextmenu",(function(e){var t=e.data,r=e.position,i=e.e,o=r.domOverlayPosition,a=o.x,s=o.y,l=t.id,u=n.lf.graphModel.getEdgeModelById(l),c=[],f=n.menuTypeMap.get(u.type);c=u&&u.menu&&Array.isArray(u.menu)?u.menu:f||n.menuTypeMap.get(eN),n.__currentData=t,n.showMenu(a,s,c,{width:u.width,height:u.height,clientX:i.clientX,clientY:i.clientY})})),this.lf.on("blank:contextmenu",(function(e){var t=e.position,r=n.menuTypeMap.get(tN),i=t.domOverlayPosition,o=i.x,a=i.y;n.showMenu(o,a,r)})),this.lf.on("selection:contextmenu",(function(e){var t=e.data,r=e.position,i=n.menuTypeMap.get(nN),o=r.domOverlayPosition,a=o.x,s=o.y;n.__currentData=t,n.showMenu(a,s,i)})),this.lf.on("node:mousedown",(function(){n.__menuDOM.style.display="none"})),this.lf.on("edge:click",(function(){n.__menuDOM.style.display="none"})),this.lf.on("blank:click",(function(){n.__menuDOM.style.display="none"})))},e.prototype.destroy=function(){var e;null===(e=null===this||void 0===this?void 0:this.__container)||void 0===e||e.removeChild(this.__menuDOM),this.__menuDOM=null},e.prototype.showMenu=function(e,t,n,r){if(n&&n.length){var i=this.__menuDOM;if(i.innerHTML="",i.append.apply(i,Jj(this.__getMenuDom(n))),i.children.length){if(i.style.display="block",!r)return i.style.top=t+"px",void(i.style.left=e+"px");var o=r.width,a=r.height,s=r.clientX,l=r.clientY,u=this.lf.graphModel,c=i.offsetWidth,f=!0,h=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,d=h-s,p=u.rootEl.getBoundingClientRect(),g=p.left+p.width;g<h&&(d=g-s),d<c&&(f=!1),i.style.left=f?e+"px":e-o+"px";var v=i.offsetHeight,y=!0,m=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,b=m-l,_=p.top+p.height;_<m&&(b=_-l),b<v&&(y=!1),i.style.top=y?t+"px":t-a+"px"}}},e.prototype.setMenuByType=function(e){e.type&&e.menu&&this.menuTypeMap.set(e.type,e.menu)},e.prototype.__getMenuDom=function(e){var t=[];return e&&e.length>0&&e.forEach((function(e){var n=document.createElement("li");if(e.className?n.className="lf-menu-item "+e.className:n.className="lf-menu-item",!0===e.icon){var r=document.createElement("span");r.className="lf-menu-item-icon",n.appendChild(r)}var i=document.createElement("span");i.className="lf-menu-item-text",e.text&&(i.innerText=e.text),n.appendChild(i),n.onclickCallback=e.callback,t.push(n)})),t},e.prototype.setMenuConfig=function(e){e&&(void 0!==e.nodeMenu&&this.menuTypeMap.set(Qj,e.nodeMenu?e.nodeMenu:[]),void 0!==e.edgeMenu&&this.menuTypeMap.set(eN,e.edgeMenu?e.edgeMenu:[]),void 0!==e.graphMenu&&this.menuTypeMap.set(tN,e.graphMenu?e.graphMenu:[]))},e.prototype.addMenuConfig=function(e){if(e){if(Array.isArray(e.nodeMenu)){var t=this.menuTypeMap.get(Qj);this.menuTypeMap.set(Qj,t.concat(e.nodeMenu))}if(Array.isArray(e.edgeMenu)){t=this.menuTypeMap.get(eN);this.menuTypeMap.set(eN,t.concat(e.edgeMenu))}if(Array.isArray(e.graphMenu)){t=this.menuTypeMap.get(tN);this.menuTypeMap.set(tN,t.concat(e.graphMenu))}}},e.prototype.changeMenuItem=function(e,t){if("add"===e)this.addMenuConfig(t);else{if("reset"!==e)throw new Error("The first parameter of changeMenuConfig should be 'add' or 'reset'");this.setMenuConfig(t)}},e.pluginName="menu",e}(),iN=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},oN="menu-common",aN=200,sN=100,lN=(function(){function e(e){var t=this,n=e.lf;this.menuTypeMap=new Map,this.listenDelete=function(){t.hideContextMenu()},this.lf=n,this.__menuDOM=document.createElement("div"),this.__menuDOM.className="lf-inner-context",this.menuTypeMap.set(oN,[]),this.lf.setContextMenuByType=function(e,n){t.setContextMenuByType(e,n)},this.lf.setContextMenuItems=function(e){t.setContextMenuItems(e)},this.lf.showContextMenu=function(e){t.showContextMenu(e)},this.lf.hideContextMenu=function(){t.hideContextMenu()}}e.prototype.render=function(e,t){var n=this;this.container=t,e.on("node:click",(function(e){var t=e.data;n._activeData=t,n.createContextMenu()})),e.on("edge:click",(function(e){var t=e.data;n._activeData=t,n.createContextMenu()})),e.on("blank:click",(function(){n.hideContextMenu()}))},e.prototype.setContextMenuByType=function(e,t){this.menuTypeMap.set(e,t)},e.prototype.hideContextMenu=function(){this.__menuDOM.innerHTML="",this.__menuDOM.style.display="none",this.isShow&&this.container.removeChild(this.__menuDOM),this.lf.off("node:delete,edge:delete,node:drag,graph:transform",this.listenDelete),this.isShow=!1},e.prototype.showContextMenu=function(e){e&&e.id?(this._activeData=e,this.createContextMenu()):console.warn("请检查传入的参数")},e.prototype.setContextMenuItems=function(e){this.menuTypeMap.set(oN,e)},e.prototype.getContextMenuPosition=function(){var e=this._activeData,t=this.lf.graphModel.getElement(e.id);if(t){var n,r;if("edge"===t.BaseType){n=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER;var i=t.getData();n=Math.max(i.startPoint.x,n),r=Math.min(i.startPoint.y,r),n=Math.max(i.endPoint.x,n),r=Math.min(i.endPoint.y,r),i.pointsList&&i.pointsList.forEach((function(e){n=Math.max(e.x,n),r=Math.min(e.y,r)}))}return"node"===t.BaseType&&(n=e.x+t.width/2,r=e.y-t.height/2),this.lf.graphModel.transformModel.CanvasPointToHtmlPoint([n,r])}console.warn("找不到元素"+e.id)},e.prototype.createContextMenu=function(){var e=this,t=this.lf.options.isSilentMode;if(!t){var n=this.menuTypeMap.get(this._activeData.type)||[];n=n.concat(this.menuTypeMap.get(oN));var r=document.createDocumentFragment();n.forEach((function(t){var n=document.createElement("div");n.className="lf-context-item";var i=document.createElement("img");i.src=t.icon,i.className="lf-context-img",t.className&&(n.className=n.className+" "+t.className),i.addEventListener("click",(function(){e.hideContextMenu(),t.callback?t.callback(e._activeData):e.addNode({sourceId:e._activeData.id,x:e._activeData.x,y:e._activeData.y,properties:t.properties,type:t.type})})),n.appendChild(i),r.appendChild(n)})),this.__menuDOM.innerHTML="",this.__menuDOM.appendChild(r),this.showMenu()}},e.prototype.addNode=function(e,t){var n=void 0!==t;void 0===t&&(t=e.y);var r=this.lf.getNodeModelById(e.sourceId),i=e.x-r.width+aN,o=t-e.y/2-20,a=e.x+r.width+aN,s=t+e.y/2+20,l=this.lf.getAreaElement([i,o],[a,s]);if(l.length)return t+=sN,void this.addNode(e,t);var u,c,f=this.lf.addNode({type:e.type,x:e.x+200,y:t,properties:e.properties});n&&(u={x:e.x,y:e.y+r.height/2},c={x:f.x-f.width/2,y:f.y}),this.lf.addEdge({sourceNodeId:e.sourceId,targetNodeId:f.id,startPoint:u,endPoint:c})},e.prototype.showMenu=function(){var e=iN(this.getContextMenuPosition(),2),t=e[0],n=e[1];this.__menuDOM.style.display="flex",this.__menuDOM.style.top=n+"px",this.__menuDOM.style.left=t+10+"px",this.container.appendChild(this.__menuDOM),!this.isShow&&this.lf.on("node:delete,edge:delete,node:drag,graph:transform",this.listenDelete),this.isShow=!0},e.pluginName="contextMenu"}(),function(){function e(e){var t=this,n=e.lf;this.lf=n,this.lf.setPatternItems=function(e){t.setPatternItems(e)}}e.prototype.render=function(e,t){var n=this;this.destroy(),this.shapeList&&0!==this.shapeList.length?(this.panelEl=document.createElement("div"),this.panelEl.className="lf-dndpanel",this.shapeList.forEach((function(e){n.panelEl.appendChild(n.createDndItem(e))})),t.appendChild(this.panelEl),this.domContainer=t):this.domContainer=t},e.prototype.destroy=function(){this.domContainer&&this.panelEl&&this.domContainer.contains(this.panelEl)&&this.domContainer.removeChild(this.panelEl)},e.prototype.setPatternItems=function(e){this.shapeList=e,this.domContainer&&this.render(this.lf,this.domContainer)},e.prototype.createDndItem=function(e){var t=this,n=document.createElement("div");n.className=e.className?"lf-dnd-item "+e.className:"lf-dnd-item";var r=document.createElement("div");if(r.className="lf-dnd-shape",e.icon&&(r.style.backgroundImage="url("+e.icon+")"),n.appendChild(r),e.label){var i=document.createElement("div");i.innerText=e.label,i.className="lf-dnd-text",n.appendChild(i)}return e.disabled?(n.classList.add("disabled"),n.onmousedown=function(){e.callback&&e.callback(t.lf,t.domContainer)},n):(n.onmousedown=function(){e.type&&t.lf.dnd.startDrag({type:e.type,properties:e.properties,text:e.text}),e.callback&&e.callback(t.lf,t.domContainer)},n.ondblclick=function(n){t.lf.graphModel.eventCenter.emit("dnd:panel-dbclick",{e:n,data:e})},n.onclick=function(n){t.lf.graphModel.eventCenter.emit("dnd:panel-click",{e:n,data:e})},n.oncontextmenu=function(n){t.lf.graphModel.eventCenter.emit("dnd:panel-contextmenu",{e:n,data:e})},n)},e.pluginName="dndPanel"}(),function(){function e(e){var t=this,n=e.lf;this.__disabled=!1,this.isDefaultStopMoveGraph=!1,this.isWholeNode=!0,this.isWholeEdge=!0,this.__draw=function(e){var n=t.lf.getPointByClient(e.clientX,e.clientY).domOverlayPosition,r=n.x,i=n.y;t.endPoint={x:r,y:i};var o=t.startPoint,a=o.x,s=o.y,l=t.wrapper.style,u=a,c=s,f=r-a,h=i-s;r<a&&(u=r,f=a-r),i<s&&(c=i,h=s-i),l.left=u+"px",l.top=c+"px",l.width=f+"px",l.height=h+"px"},this.__drawOff=function(){document.removeEventListener("mousemove",t.__draw),document.removeEventListener("mouseup",t.__drawOff),t.wrapper.oncontextmenu=null,t.__domContainer.removeChild(t.wrapper);var e=t.startPoint,n=e.x,r=e.y,i=t.endPoint,o=i.x,a=i.y;if(!(Math.abs(o-n)<10&&Math.abs(a-r)<10)){var s=[Math.min(n,o),Math.min(r,a)],l=[Math.max(n,o),Math.max(r,a)],u=t.lf.graphModel.getAreaElement(s,l,t.isWholeEdge,t.isWholeNode,!0),c=t.lf.graphModel.group;u.forEach((function(e){c&&c.getNodeGroup(e.id)||t.lf.selectElementById(e.id,!0)})),t.lf.emit("selection:selected",u)}},this.lf=n;var r=n.getEditConfig().stopMoveGraph;this.isDefaultStopMoveGraph=r,n.openSelectionSelect=function(){t.openSelectionSelect()},n.closeSelectionSelect=function(){t.closeSelectionSelect()}}e.prototype.render=function(e,t){var n=this;this.__domContainer=t,e.on("blank:mousedown",(function(r){var i=r.e,o=e.getEditConfig();if(o.stopMoveGraph&&!n.__disabled){var a=2===i.button;if(!a){var s=e.getPointByClient(i.clientX,i.clientY).domOverlayPosition,l=s.x,u=s.y;n.startPoint={x:l,y:u},n.endPoint={x:l,y:u};var c=document.createElement("div");c.className="lf-selection-select",c.oncontextmenu=function(e){e.preventDefault()},c.style.top=n.startPoint.y+"px",c.style.left=n.startPoint.x+"px",t.appendChild(c),n.wrapper=c,document.addEventListener("mousemove",n.__draw),document.addEventListener("mouseup",n.__drawOff)}}}))},e.prototype.setSelectionSense=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.isWholeEdge=e,this.isWholeNode=t},e.prototype.openSelectionSelect=function(){var e=this.lf.getEditConfig().stopMoveGraph;e||(this.isDefaultStopMoveGraph=!1,this.lf.updateEditConfig({stopMoveGraph:!0})),this.open()},e.prototype.closeSelectionSelect=function(){this.isDefaultStopMoveGraph||this.lf.updateEditConfig({stopMoveGraph:!1}),this.close()},e.prototype.open=function(){this.__disabled=!1},e.prototype.close=function(){this.__disabled=!0},e.pluginName="selectionSelect"}(),function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}),uN=(function(){function e(e){var t=this,n=e.lf,r=e.LogicFlow,i=e.options;this.lf=null,this.container=null,this.miniMapWrap=null,this.miniMapContainer=null,this.lfMap=null,this.viewport=null,this.width=150,this.height=220,this.leftPosition=void 0,this.topPosition=void 0,this.rightPosition=void 0,this.bottomPosition=void 0,this.miniMapWidth=450,this.miniMapHeight=660,this.viewPortTop=0,this.viewPortLeft=0,this.startPosition=null,this.viewPortScale=1,this.viewPortWidth=150,this.viewPortHeight=75,this.resetDataX=0,this.resetDataY=0,this.LogicFlow=null,this.isShow=!1,this.isShowHeader=!0,this.isShowCloseIcon=!0,this.dragging=!1,this.disabledPlugins=["miniMap","control","selectionSelect"],this.show=function(e,n){t.setView(),t.isShow||t.createMiniMap(e,n),t.isShow=!0},this.hide=function(){t.isShow&&t.removeMiniMap(),t.isShow=!1},this.reset=function(){t.lf.resetTranslate(),t.lf.resetZoom(),t.hide(),t.show()},this.startDrag=function(e){document.addEventListener("mousemove",t.drag),document.addEventListener("mouseup",t.drop),t.startPosition={x:e.x,y:e.y}},this.moveViewport=function(e,n){var r=t.viewport.style;t.viewPortTop=e,t.viewPortLeft=n,r.top=t.viewPortTop+"px",r.left=t.viewPortLeft+"px"},this.drag=function(e){t.dragging=!0;var n=t.viewPortTop+e.y-t.startPosition.y,r=t.viewPortLeft+e.x-t.startPosition.x;t.moveViewport(n,r),t.startPosition={x:e.x,y:e.y};var i=(t.viewPortLeft+t.viewPortWidth/2)/t.viewPortScale,o=(t.viewPortTop+t.viewPortHeight/2)/t.viewPortScale;t.lf.focusOn({coordinate:{x:i+t.resetDataX,y:o+t.resetDataY}})},this.drop=function(){document.removeEventListener("mousemove",t.drag),document.removeEventListener("mouseup",t.drop);var e=t.viewPortTop,n=t.viewPortLeft;t.viewPortLeft>t.width&&(n=t.width-t.viewPortWidth),t.viewPortTop>t.height&&(e=t.height-t.viewPortHeight),t.viewPortLeft<-t.width&&(n=0),t.viewPortTop<-t.height&&(e=0),t.moveViewport(e,n)},this.mapClick=function(e){if(t.dragging)t.dragging=!1;else{var n=e.layerX,r=e.layerY,i=n,o=r,a=t.lf.getGraphRawData(),s=t.getBounds(a),l=s.left,u=s.top,c=l+i/t.viewPortScale,f=u+o/t.viewPortScale;t.lf.focusOn({coordinate:{x:c,y:f}})}},this.lf=n,i&&i.MiniMap&&this.setOption(i),this.miniMapWidth=n.graphModel.width,this.miniMapHeight=n.graphModel.width*this.height/this.width,this.LogicFlow=r,this.initMiniMap()}e.prototype.render=function(e,t){var n=this;this.container=t,this.lf.on("history:change",(function(){n.isShow&&n.setView()})),this.lf.on("graph:transform",_x((function(){n.isShow&&!n.dragging&&n.setView()}),300))},e.prototype.init=function(e){this.disabledPlugins=this.disabledPlugins.concat(e.disabledPlugins||[])},e.prototype.setOption=function(e){var t=e.MiniMap,n=t.width,r=void 0===n?150:n,i=t.height,o=void 0===i?220:i,a=t.isShowHeader,s=void 0===a||a,l=t.isShowCloseIcon,u=void 0===l||l,c=t.leftPosition,f=void 0===c?0:c,h=t.topPosition,d=void 0===h?0:h,p=t.rightPosition,g=t.bottomPosition;this.width=r,this.height=o,this.isShowHeader=s,this.isShowCloseIcon=u,this.viewPortWidth=r,this.leftPosition=f,this.topPosition=d,this.rightPosition=p,this.bottomPosition=g},e.prototype.initMiniMap=function(){var e=document.createElement("div");e.className="lf-mini-map-graph",e.style.width=this.width+4+"px",e.style.height=this.height+"px",this.lfMap=new this.LogicFlow({container:e,isSilentMode:!0,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,hideAnchors:!0,hoverOutline:!1,disabledPlugins:this.disabledPlugins}),this.lfMap.adapterIn=function(e){return e},this.lfMap.adapterOut=function(e){return e},this.miniMapWrap=e,this.createViewPort(),e.addEventListener("click",this.mapClick)},e.prototype.createMiniMap=function(t,n){var r=document.createElement("div");r.appendChild(this.miniMapWrap),"undefined"!==typeof t||"undefined"!==typeof n?(r.style.left=(t||0)+"px",r.style.top=(n||0)+"px"):("undefined"!==typeof this.rightPosition?r.style.right=this.rightPosition+"px":"undefined"!==typeof this.leftPosition&&(r.style.left=this.leftPosition+"px"),"undefined"!==typeof this.bottomPosition?r.style.bottom=this.bottomPosition+"px":"undefined"!==typeof this.topPosition&&(r.style.top=this.topPosition+"px")),r.style.position="absolute",r.className="lf-mini-map",this.isShowCloseIcon||r.classList.add("lf-mini-map-no-close-icon"),this.isShowHeader||r.classList.add("lf-mini-map-no-header"),this.container.appendChild(r),this.miniMapWrap.appendChild(this.viewport);var i=document.createElement("div");i.className="lf-mini-map-header",i.innerText=e.headerTitle,r.appendChild(i);var o=document.createElement("span");o.className="lf-mini-map-close",o.addEventListener("click",this.hide),r.appendChild(o),this.miniMapContainer=r},e.prototype.removeMiniMap=function(){this.container.removeChild(this.miniMapContainer)},e.prototype.getBounds=function(e){var t=0,n=this.miniMapWidth,r=0,i=this.miniMapHeight,o=e.nodes;return o&&o.length>0&&o.forEach((function(e){var o=e.x,a=e.y,s=e.width,l=void 0===s?200:s,u=e.height,c=void 0===u?200:u,f=o-l/2,h=o+l/2,d=a-c/2,p=a+c/2;t=f<t?f:t,n=h>n?h:n,r=d<r?d:r,i=p>i?p:i})),{left:t,top:r,bottom:i,right:n}},e.prototype.resetData=function(e){var t=e.nodes,n=e.edges,r=0,i=0;return t&&t.length>0&&(t.forEach((function(e){var t=e.x,n=e.y,o=e.width,a=void 0===o?200:o,s=e.height,l=void 0===s?200:s,u=t-a/2,c=n-l/2;r=u<r?u:r,i=c<i?c:i})),(r<0||i<0)&&(this.resetDataX=r,this.resetDataY=i,t.forEach((function(e){e.x=e.x-r,e.y=e.y-i,e.text&&(e.text.x=e.text.x-r,e.text.y=e.text.y-i)})),n.forEach((function(e){e.startPoint&&(e.startPoint.x=e.startPoint.x-r,e.startPoint.y=e.startPoint.y-i),e.endPoint&&(e.endPoint.x=e.endPoint.x-r,e.endPoint.y=e.endPoint.y-i),e.text&&(e.text.x=e.text.x-r,e.text.y=e.text.y-i),e.pointsList&&e.pointsList.forEach((function(e){e.x=e.x-r,e.y=e.y-i}))})))),e},e.prototype.setView=function(){var e,t,n=this.lf.getGraphRawData(),r=this.resetData(n),i=this.lf.viewMap,o=this.lf.graphModel.modelMap,a=this.lfMap.viewMap;try{for(var s=lN(i.keys()),l=s.next();!l.done;l=s.next()){var u=l.value;a.has(u)||(this.lfMap.setView(u,i.get(u)),this.lfMap.graphModel.modelMap.set(u,o.get(u)))}}catch(b){e={error:b}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}this.lfMap.render(r);var c=this.getBounds(r),f=c.left,h=c.top,d=c.right,p=c.bottom,g=this.width/(d-f),v=this.height/(p-h),y=this.miniMapWrap.firstChild.style,m=Math.min(g,v);y.pointerEvents="none",y.transform="matrix("+m+", 0, 0, "+m+", 0, 0)",y.transformOrigin="left top",y.height=p-Math.min(h,0)+"px",y.width=d-Math.min(f,0)+"px",this.viewPortScale=m,this.setViewPort(m,{left:f,top:h,right:d,bottom:p})},e.prototype.setViewPort=function(e,t){var n=t.left,r=t.right,i=(t.top,t.bottom,this.viewport.style);i.width=this.viewPortWidth+"px",i.height=this.viewPortWidth/(this.lf.graphModel.width/this.lf.graphModel.height)+"px";var o=this.lf.getTransform(),a=o.TRANSLATE_X,s=o.TRANSLATE_Y,l=o.SCALE_X,u=o.SCALE_Y,c=r-n,f=this.width/(c/this.lf.graphModel.width),h=this.width*(f/this.width),d=this.lf.graphModel.width/this.lf.graphModel.height,p=h/d,g=this.lf.getGraphRawData(),v=this.getBounds(g),y=v.left,m=v.top,b=y,_=m;b+=a/l,_+=s/u,this.viewPortTop=_>0?0:-_*e,this.viewPortLeft=b>0?0:-b*e,this.viewPortWidth=h,this.viewPortHeight=p,i.top=this.viewPortTop+"px",i.left=this.viewPortLeft+"px",i.width=h/l+"px",i.height=p/u+"px"},e.prototype.createViewPort=function(){var e=document.createElement("div");e.className="lf-minimap-viewport",e.addEventListener("mousedown",this.startDrag),this.viewport=e},e.pluginName="miniMap",e.width=150,e.height=220,e.viewPortWidth=150,e.viewPortHeight=75,e.isShowHeader=!0,e.isShowCloseIcon=!0,e.leftPosition=0,e.topPosition=0,e.rightPosition=null,e.bottomPosition=null,e.headerTitle="导航"}(),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),cN=function(){return cN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},cN.apply(this,arguments)},fN=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},hN={tr:"tl",lb:"tl",tl:"tr",rb:"tr",br:"bl",lt:"bl",bl:"br",rt:"br"};function dN(e){var t=e,n=1;while(n<t.length-1){var r=fN(t[n-1],2),i=r[0],o=r[1],a=fN(t[n],2),s=a[0],l=a[1],u=fN(t[n+1],2),c=u[0],f=u[1];i===s&&s===c||o===l&&l===f?t.splice(n,1):n++}return t}function pN(e,t,n,r){var i=[e[0],e[1]],o=[e[0],e[1]];switch(n){case"tl":return"tr"===t?(i[1]+=r,o[0]+=r):"lb"===t&&(i[0]+=r,o[1]+=r),[i,o];case"tr":return"tl"===t?(i[1]+=r,o[0]-=r):"rb"===t&&(i[0]-=r,o[1]+=r),[i,o];case"bl":return"br"===t?(i[1]-=r,o[0]+=r):"lt"===t&&(i[0]+=r,o[1]-=r),[i,o];case"br":return"bl"===t?(i[1]-=r,o[0]-=r):"rt"===t&&(i[0]-=r,o[1]-=r),[i,o];default:return[]}}function gN(e,t,n,r){var i,o="",a="";e[0]===t[0]?o=e[1]>t[1]?"t":"b":e[1]===t[1]&&(o=e[0]>t[0]?"l":"r"),t[0]===n[0]?a=t[1]>n[1]?"t":"b":t[1]===n[1]&&(a=t[0]>n[0]?"l":"r");var s=Math.min(Math.hypot(t[0]-e[0],t[1]-e[1])/2,Math.hypot(n[0]-t[0],n[1]-t[1])/2,r)||.2*r,l=""+o+a,u=hN[l]||"-",c="L "+e[0]+" "+e[1];if("-"===u)c+="L "+t[0]+" "+t[1]+" L "+n[0]+" "+n[1];else{var f=fN(pN(t,l,u,s),2),h=f[0],d=f[1];h&&d&&(c+="L "+h[0]+" "+h[1]+" Q "+t[0]+" "+t[1]+" "+d[0]+" "+d[1],i=fN(d,2),t[0]=i[0],t[1]=i[1])}return c}function vN(e,t){var n=0,r="";if(2===e.length)r+="M"+e[n][0]+" "+e[n++][1]+" L "+e[n][0]+" "+e[n][1];else{for(r+="M"+e[n][0]+" "+e[n++][1];n+1<e.length;){var i=e[n-1],o=e[n],a=e[1+n++];r+=gN(i,o,a,t)}r+="L "+e[n][0]+" "+e[n][1]}return r}(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}uN(t,e),t.prototype.getEdge=function(){var e=this.props.model,t=e.points,n=e.isAnimation,i=e.arrowConfig,o=e.radius,a=void 0===o?5:o,s=e.getEdgeStyle(),l=e.getEdgeAnimationStyle(),u=dN(t.split(" ").map((function(e){return e.split(",").map((function(e){return+e}))}))),c=vN(u,a),f=cN(cN(cN({style:n?l:{}},s),i),{fill:"none"});return Object(r["h"])("path",cN({d:c},f))}})(r["PolylineEdge"]),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}uN(t,e)}(r["PolylineEdgeModel"]);var yN=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},mN=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(yN(arguments[t]));return e},bN=(function(){function e(e){var t=this,n=e.lf;this.lf=n,this.pathes=[],n.getPathes=function(){if(!t.startNodeType)throw new Error("需要预先指定开始节点类型");return t.getPathes()},n.setRawPathes=function(e){t.setPathes(e)},n.getRawPathes=function(){return t.pathes},n.setStartNodeType=function(e){t.startNodeType=e}}e.prototype.setPathes=function(e){this.pathes=e.map((function(e){var t=e.routeId,n=e.name,r=e.elements,i=e.type;return{routeId:t,name:n,elements:r,type:i,similarElement:null,weight:0}}))},e.prototype.getPathes=function(){var e=this,t=this.lf.getGraphRawData(),n=new Map,r=[];t.nodes.forEach((function(t){n.set(t.id,{id:t.id,data:t,nextNodes:[]}),t.type===e.startNodeType&&r.push(t.id)})),t.edges.forEach((function(e){var t=n.get(e.sourceNodeId);t.nextNodes.push(e.targetNodeId)}));var i=[];return r.forEach((function(t){i=i.concat(e.findPathElements(n.get(t),n,[]))})),this.getNewPathes(i)},e.prototype.findPathElements=function(e,t,n){void 0===n&&(n=[]);var r=mN(n);if(r.push(e.id),0===e.nextNodes.length)return[r];for(var i=[],o=0;o<e.nextNodes.length;o++){var a=t.get(e.nextNodes[o]),s=void 0,l=r.indexOf(a.id);s=-1!==l?[mN(r.slice(l),[a.id])]:this.findPathElements(a,t,mN(r)),i=i.concat(s)}return i},e.prototype.getNewPathes=function(e){var t=this,n=[],r=new Set;e.forEach((function(e){var i=t.getNewId("path"),o=t.getNewId("路径"),a=t.isLoopPath(e),s=e.join(",");r.has(s)||(r.add(s),n.push({routeId:i,name:o,elements:e,type:a,weight:0,similarElement:""}))}));var i=JSON.parse(JSON.stringify(this.pathes));return n.forEach((function(e){for(var n=0;n<i.length;n++){var r=i[n],o=t.similar2Path(mN(e.elements),mN(r.elements));o>e.weight&&r.weight<=o&&(e.weight=o,e.similarElement=r,o===r.weight&&r.similarElement?(r.similarElement.similarElement=null,r.similarElement.weight=0,r.similarElement=null,r.weight=0):(r.similarElement=e,r.weight=o))}})),n.forEach((function(e){e.similarElement&&e.similarElement.similarElement===e&&(e.routeId=e.similarElement.routeId,e.name=e.similarElement.name),delete e.similarElement,delete e.weight})),this.setPathes(n),n},e.prototype.similar2Path=function(e,t){var n=0,r=e.length+t.length;e.sort(),t.sort();var i=e.shift(),o=t.shift();while(void 0!==i&&void 0!==o)i===o?(n++,i=e.shift(),o=t.shift()):i<o?i=e.shift():i>o&&(o=t.shift());return n/r*200},e.prototype.getNewId=function(e){return e+"_"+a()},e.prototype.isLoopPath=function(e){var t=e.length;return e.indexOf(e[t-1])!==t-1?1:0},e.pluginName="flowPath"}(),function(){return bN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},bN.apply(this,arguments)}),_N={LEFT_TOP:-1,LEFT:0,LEFT_BOTTOM:1},xN=(function(){function e(e){var t=this,n=e.lf;this.lf=n,this.trunk=[],n.layout=function(e){var n=t.lf.getGraphRawData();t.lf.setStartNodeType(e);var r=t.lf.getPathes();return t.levelHeight=[],t.newNodeMap=new Map,t.layout(n,r)}}e.prototype.layout=function(e,t){var n=this,r=[];t.forEach((function(e){var t=e.elements;t.length>r.length?r=t:t.length===r.length&&JSON.stringify(t)===JSON.stringify(n.trunk)&&(r=n.trunk)})),this.trunk=r;for(var i=this.formatData(e),o={nodes:[],edges:[]},a=r.length-1;a>=0;a--)this.setNodePosition(r[a],i,o,a,1);this.lf.graphModel.graphDataToModel(o)},e.prototype.setNodePosition=function(e,t,n,r,i){var o=this,a=t[e],s=a.text,l=a.type,u=a.next,c=a.properties,f=160*r+40,h=120*i,d={id:e,x:f,text:s,y:h,type:l,properties:c};return s&&"object"===typeof s&&(d.text=bN(bN({},s),{x:f+s.x,y:h+s.y})),this.newNodeMap.set(d.id,{x:d.x,y:d.y,type:l}),n.nodes.push(d),a.isFixed=!0,this.addLevelHeight(r,1),u&&u.length>0&&u.forEach((function(i){var a=t[i.nodeId];if(!a.isFixed){var s=o.getLevelHeight(r+1);o.addLevelHeight(r,1),o.setNodePosition(i.nodeId,t,n,r+1,s+1)}n.edges.push(bN({id:i.edgeId,type:i.edgeType,sourceNodeId:e,targetNodeId:i.nodeId,properties:i.properties,text:i.text},o.getEdgeDataPoints(e,i.nodeId)))})),d},e.prototype.getEdgeDataPoints=function(e,t){var n=this.newNodeMap.get(e),r=this.newNodeMap.get(t),i=this.getShape(e),o=i.width,a=i.height,s=this.getShape(t),l=s.width,u=s.height,c=this.getRelativePosition(n,r),f={x:n.x,y:n.y},h={x:r.x,y:r.y};switch(c){case _N.LEFT:f.x=n.x+o/2,h.x=r.x-l/2;break;case _N.LEFT_TOP:f.y=n.y+a/2,h.x=r.x-l/2;break;case _N.LEFT_BOTTOM:f.x=n.x+o/2,h.y=r.y+u/2;break;default:break}return{startPoint:f,endPoint:h}},e.prototype.getRelativePosition=function(e,t){var n,r=e.y,i=t.y;return n=r<i?-1:r===i?0:1,n},e.prototype.getShape=function(e){var t=this.lf.getNodeModelById(e);return{height:t.height,width:t.width}},e.prototype.formatData=function(e){var t=e.nodes.reduce((function(e,t){var n=t.type,r=t.properties,i=t.text,o=t.x,a=t.y;return i&&"object"===typeof i&&(i.x=i.x-o,i.y=i.y-a),e[t.id]={type:n,properties:r,text:i,prev:[],next:[]},e}),{});return e.edges.forEach((function(e){var n=e.sourceNodeId,r=e.targetNodeId,i=e.id,o=e.properties,a=e.text,s=a;"object"===typeof a&&(s=a.value),t[n].next.push({edgeId:i,nodeId:r,edgeType:e.type,properties:o,text:s}),t[r].prev.push({edgeId:i,nodeId:n,properties:o,text:s})})),t},e.prototype.addLevelHeight=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!1);var r=this.levelHeight[e];r||(r={positiveHeight:0,negativeHeight:0},this.levelHeight[e]=r),n?r.negativeHeight-=t:r.positiveHeight+=t},e.prototype.getLevelHeight=function(e,t){void 0===t&&(t=!1);var n=this.levelHeight[e];return n?t?n.negativeHeight:n.positiveHeight:0},e.pluginName="AutoLayout"}(),function(){return xN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},xN.apply(this,arguments)}),wN=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},SN=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(wN(arguments[t]));return e},kN=function(e,t){var n=t.getModelById(e);return EN("node"===n.BaseType?n:n.targetNode,t)},EN=function(e,t){var n=[],r=[],i=function(e,r,o){void 0===o&&(o=null),o&&r.unshift.apply(r,SN(t.getEdgeModels({sourceNodeId:e.id,targetNodeId:o.id}).map((function(e){return e.id})))),r.includes(e.id)?n.push(r):(r.unshift(e.id),e.incoming.nodes.length?e.incoming.nodes.forEach((function(t){i(t,r.slice(),e)})):n.push(r))},o=function(e,n,i){void 0===i&&(i=null),i&&n.push.apply(n,SN(t.getEdgeModels({sourceNodeId:i.id,targetNodeId:e.id}).map((function(e){return e.id})))),n.includes(e.id)?r.push(n):(n.push(e.id),e.outgoing.nodes.length?e.outgoing.nodes.forEach((function(t){o(t,n.slice(),e)})):r.push(n))};return i(e,[]),o(e,[]),SN(new Set(SN(n.flat(),r.flat())))};(function(){function e(e){var t=e.lf;this.mode="path",this.manual=!1,this.tempStyles={},this.lf=t}e.prototype.setMode=function(e){this.mode=e},e.prototype.setManual=function(e){this.manual=e},e.prototype.highlightSingle=function(e){var t=this.lf.getModelById(e);"node"===t.BaseType?t.updateStyles(this.tempStyles[e]):"edge"===t.BaseType&&(t.updateStyles(this.tempStyles[e]),t.sourceNode.updateStyles(this.tempStyles[t.sourceNode.id]),t.targetNode.updateStyles(this.tempStyles[t.targetNode.id]))},e.prototype.highlightPath=function(e){var t=this,n=kN(e,this.lf);n.forEach((function(e){t.lf.getModelById(e).updateStyles(t.tempStyles[e])}))},e.prototype.highlight=function(e,t){var n=this;if(void 0===t&&(t=this.mode),!this.manual){Object.keys(this.tempStyles).length&&this.restoreHighlight(),Object.values(this.lf.graphModel.modelsMap).forEach((function(e){var t="node"===e.BaseType?e.getNodeStyle():e.getEdgeStyle();n.tempStyles[e.id]=xN({},t),e.setStyles({opacity:.1})}));var r={single:this.highlightSingle.bind(this),path:this.highlightPath.bind(this)};r[t](e)}},e.prototype.restoreHighlight=function(){var e=this;Object.keys(this.tempStyles).length&&(Object.values(this.lf.graphModel.modelsMap).forEach((function(t){var n,r=null!==(n=e.tempStyles[t.id])&&void 0!==n?n:{};t.updateStyles(xN({},r))})),this.tempStyles={})},e.prototype.render=function(e,t){var n=this;this.lf.on("node:mouseenter",(function(e){var t=e.data;return n.highlight(t.id)})),this.lf.on("edge:mouseenter",(function(e){var t=e.data;return n.highlight(t.id)})),this.lf.on("node:mouseleave",this.restoreHighlight.bind(this)),this.lf.on("edge:mouseleave",this.restoreHighlight.bind(this)),this.lf.on("history:change",this.restoreHighlight.bind(this))},e.prototype.destroy=function(){},e.pluginName="highlight"})()},ebb5:function(e,t,n){"use strict";var r,i,o,a=n("4b11"),s=n("83ab"),l=n("cfe9"),u=n("1626"),c=n("861d"),f=n("1a2d"),h=n("f5df"),d=n("0d51"),p=n("9112"),g=n("cb2d"),v=n("edd0"),y=n("3a9b"),m=n("e163"),b=n("d2bb"),_=n("b622"),x=n("90e3"),w=n("69f3"),S=w.enforce,k=w.get,E=l.Int8Array,O=E&&E.prototype,C=l.Uint8ClampedArray,A=C&&C.prototype,T=E&&m(E),P=O&&m(O),M=Object.prototype,D=l.TypeError,I=_("toStringTag"),L=x("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",j=a&&!!b&&"Opera"!==h(l.opera),N=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!c(e))return!1;var t=h(e);return"DataView"===t||f(B,t)||f(F,t)},U=function(e){var t=m(e);if(c(t)){var n=k(t);return n&&f(n,R)?n[R]:U(t)}},H=function(e){if(!c(e))return!1;var t=h(e);return f(B,t)||f(F,t)},V=function(e){if(H(e))return e;throw new D("Target is not a typed array")},G=function(e){if(u(e)&&(!b||y(T,e)))return e;throw new D(d(e)+" is not a typed array constructor")},W=function(e,t,n,r){if(s){if(n)for(var i in B){var o=l[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(a){try{o.prototype[e]=t}catch(u){}}}P[e]&&!n||g(P,e,n?t:j&&O[e]||t,r)}},q=function(e,t,n){var r,i;if(s){if(b){if(n)for(r in B)if(i=l[r],i&&f(i,e))try{delete i[e]}catch(o){}if(T[e]&&!n)return;try{return g(T,e,n?t:j&&T[e]||t)}catch(o){}}for(r in B)i=l[r],!i||i[e]&&!n||g(i,e,t)}};for(r in B)i=l[r],o=i&&i.prototype,o?S(o)[R]=i:j=!1;for(r in F)i=l[r],o=i&&i.prototype,o&&(S(o)[R]=i);if((!j||!u(T)||T===Function.prototype)&&(T=function(){throw new D("Incorrect invocation")},j))for(r in B)l[r]&&b(l[r],T);if((!j||!P||P===M)&&(P=T.prototype,j))for(r in B)l[r]&&b(l[r].prototype,P);if(j&&m(A)!==P&&b(A,P),s&&!f(P,I))for(r in N=!0,v(P,I,{configurable:!0,get:function(){return c(this)?this[L]:void 0}}),B)l[r]&&p(l[r],L,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:N&&L,aTypedArray:V,aTypedArrayConstructor:G,exportTypedArrayMethod:W,exportTypedArrayStaticMethod:q,getTypedArrayConstructor:U,isView:z,isTypedArray:H,TypedArray:T,TypedArrayPrototype:P}},edd0:function(e,t,n){"use strict";var r=n("13d2"),i=n("9bf2");e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},f495:function(e,t,n){"use strict";var r=n("c04e"),i=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},f8cd:function(e,t,n){"use strict";var r=n("5926"),i=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new i("The argument can't be less than 0");return t}},ff73:function(e,t,n){},ffd6:function(e,t,n){var r=n("3729"),i=n("1310"),o="[object Symbol]";function a(e){return"symbol"==typeof e||i(e)&&r(e)==o}e.exports=a}}]);